/* Seite „Preise“ Dive Loft Krk und Dive Center Krk (SPEC 0006, AP-006) – von Hand gepflegt, kein Build.
   Wird nur auf Seiten mit der Kennung pg-seite geladen (MU-Plugin dck-preisseite.php), auch im Divi-Editor; Version = Prüfsumme (?ver=).
   Jede Regel beginnt mit .pg…, body.pg-…, html body.pg-… oder html:has(body.pg-…) (nur scroll-padding-top). Die Gestaltung hängt an den .pg-Klassen
   der Abschnitte, nicht an body.pg-preise: Im Visual Builder fehlt die Body-Klasse, die Seite soll dort trotzdem gestaltet aussehen.
   Gegen das Child-Theme: .et_color_scheme_red .entry-content a färbt jeden Link magenta (!important) – Knöpfe und Sprungleiste setzen
   ihre Farbe mit höherer Spezifität. Gegen dck-gestaltung.php (Site 4): globaler Fokusring mit !important – hier mit html body.pg-preise überstimmt.
   Marke: Magenta (Loft); body.pg-center schaltet die Farbvariablen auf das Center-Blau (AP-002/AP-004). Bewegung: Kurve cubic-bezier(.23,1,.32,1),
   höchstens 200 ms, Schließen ohne Animation, unter „weniger Bewegung“ keine Bewegung. */

/* ---- Farbvariablen und Grundlage ---- */
.pg-hero,.pg-sprung,.pg-s{--pg-akzent:#d10a81;--pg-hover:#af076c;--pg-hell:#ff8ccb;--pg-dunkel:#a30864;--pg-flaeche:#fff2f9;--e:cubic-bezier(.23,1,.32,1);font-family:"Open Sans",Arial,sans-serif;font-size:16px;line-height:1.55;color:#fff;-webkit-font-smoothing:antialiased}
body.pg-center .pg-hero,body.pg-center .pg-sprung,body.pg-center .pg-s{--pg-akzent:#187a9f;--pg-hover:#126484;--pg-hell:#62c7f1;--pg-dunkel:#126484;--pg-flaeche:#eaf6fb}
.pg-hero *,.pg-sprung *,.pg-s *{box-sizing:border-box}
.pg-hero.et_pb_section,.pg-sprung.et_pb_section,.pg-s.et_pb_section{margin:0!important;border:0!important}
.pg-hero .et_pb_row,.pg-sprung .et_pb_row,.pg-s .et_pb_row,.pg-in{width:min(1120px,calc(100% - 2 * clamp(16px,4vw,48px)))!important;max-width:1120px!important;padding:0!important;margin:0 auto!important}
.pg-hero .et_pb_column,.pg-sprung .et_pb_column,.pg-s .et_pb_column{float:none!important;width:100%!important;margin:0!important;padding:0!important}
.pg-hero .et_pb_module,.pg-sprung .et_pb_module,.pg-s .et_pb_module{margin:0!important}
.pg-hero .et_pb_text,.pg-sprung .et_pb_text,.pg-s .et_pb_text{font-size:inherit!important;line-height:inherit!important;color:inherit!important}
.pg-hero p,.pg-sprung p,.pg-s p{margin:0;padding:0!important}
.pg-hero h1,.pg-s h2,.pg-s h3{margin:0;padding:0!important;color:inherit!important;text-wrap:balance}
.pg-hero p,.pg-s p,.pg-sprung p{text-wrap:pretty}
.pg-hero .num,.pg-s .num,.pg-sprung .num{font-variant-numeric:tabular-nums}
body.pg-preise #main-content .et-waypoint{animation:none!important;opacity:1!important;transform:none!important;transition:none!important}
html:has(body.pg-preise){scroll-padding-top:var(--pg-kopf,100px)}
.pg-s,.pg-angebot,.pg-fruehbucher{scroll-margin-top:16px}

/* ---- Knöpfe, Links ---- */
.pg-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 24px;border:0;border-radius:2px;background:var(--pg-akzent);color:#fff;font:700 15px/1.2 "Open Sans",Arial,sans-serif;text-align:center;text-decoration:none!important;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;transition:background-color 160ms var(--e),transform 160ms var(--e)}
body.pg-preise .entry-content a.pg-btn,.pg-hero a.pg-btn,.pg-s a.pg-btn{color:#fff!important;text-decoration:none!important}
.pg-btn:active{transform:scale(.97)}
.pg-btn--rand{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.pg-btn--weiss{background:#fff}
body.pg-preise .entry-content a.pg-btn--weiss,.pg-s a.pg-btn.pg-btn--weiss{color:var(--pg-dunkel)!important}
.pg-ico{display:inline-block;flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:center / contain no-repeat;mask:center / contain no-repeat}
.pg-ico--dl{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v5h16v-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v5h16v-5'/%3E%3C/svg%3E")}
.pg-ico--code{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 7-5 5 5 5m8-10 5 5-5 5M14 4l-4 16'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 7-5 5 5 5m8-10 5 5-5 5M14 4l-4 16'/%3E%3C/svg%3E")}
.pg-dl{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:15px;font-weight:600;text-decoration:underline!important;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.4);touch-action:manipulation;-webkit-tap-highlight-color:transparent}
body.pg-preise .entry-content a.pg-dl,.pg-s a.pg-dl{color:#fff!important}

/* ---- Kopf ---- */
.pg-hero.et_pb_section{position:relative;overflow:hidden;background-color:#0f2632;background-size:cover!important;background-position:60% 40%!important;padding:clamp(72px,11vw,140px) 0 clamp(56px,8vw,96px)!important;color:#fff}
.pg-hero.et_pb_section::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(15,20,24,.86) 0%,rgba(15,20,24,.62) 48%,rgba(15,20,24,.12) 100%);pointer-events:none}
.pg-hero .et_pb_row{position:relative;z-index:1}
.pg-hero h1{max-width:14ch;font-size:clamp(38px,6.2vw,72px);line-height:1.04;font-weight:800;letter-spacing:-.025em;color:#fff!important}
.pg-lead{margin:20px 0 0!important;max-width:46ch;font-size:clamp(17px,1.7vw,20px);line-height:1.5;color:rgba(255,255,255,.92)}
.pg-beispiele{margin:14px 0 0!important;max-width:58ch;font-size:15px;line-height:1.6;color:rgba(255,255,255,.88)}
.pg-akt{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px!important}

/* ---- Sprungleiste (nicht klebend) ---- */
.pg-sprung.et_pb_section{background:#171717!important;padding:0!important}
.pg-sprung nav{display:flex;flex-wrap:wrap;gap:1px;background:rgba(255,255,255,.09)}
.pg-sprung__link{display:block;flex:1 1 220px;min-height:48px;padding:22px 24px;background:#262626;text-decoration:none!important;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color 160ms var(--e)}
body.pg-preise .entry-content a.pg-sprung__link,.pg-sprung a.pg-sprung__link{color:#fff!important;text-decoration:none!important}
.pg-sprung__titel{display:block;font-size:18px;font-weight:700}
.pg-sprung__zeile{display:block;margin-top:2px;font-size:14px;color:rgba(255,255,255,.72)}

/* ---- Abschnitte ---- */
.pg-s.et_pb_section{padding:clamp(56px,8vw,104px) 0!important}
.pg-s--dunkel.et_pb_section{background:#1f1f1f!important}
.pg-s--hell.et_pb_section{background:#f3f3f3!important;color:#1f1f1f}
.pg-s--grau.et_pb_section{background:#262626!important}
.pg-s h2{font-size:clamp(30px,4vw,44px);line-height:1.1;font-weight:800;letter-spacing:-.02em}
.pg-tauchpreise .et_pb_row{max-width:960px!important}

/* ---- Tauchpreise ---- */
.pg-preisliste{margin-top:32px!important;padding:clamp(8px,2vw,24px)!important;border-radius:2px;background:#fff;color:#1f1f1f}
.pg-preisliste iframe{display:block;width:100%;max-width:100%;border:0}
.pg-gzw{margin-top:48px!important;padding-top:32px;border-top:1px solid rgba(255,255,255,.16)}
.pg-gzw h3{margin:0 0 20px;font-size:20px;line-height:1.25;font-weight:700}
.pg-gzw__liste{margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px 40px}
.pg-gzw dt{font-weight:700}
.pg-gzw dd{margin:4px 0 0;font-size:15px;color:rgba(255,255,255,.78)}
.pg-frage{margin-top:40px!important}
.pg-frage__box{padding:clamp(20px,3vw,32px);background:#2b2b2b;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px}
.pg-frage__text{flex:1 1 300px;min-width:0}
.pg-frage__titel{font-size:20px;font-weight:700;line-height:1.3}
.pg-frage__zeiten{margin-top:6px!important;font-size:15px;color:rgba(255,255,255,.78)}
.pg-frage__kontakt{margin-top:10px!important;display:flex;flex-wrap:wrap;gap:0 28px}
.pg-downloads{margin-top:24px!important;display:flex;flex-wrap:wrap;gap:4px 32px}

/* ---- Angebote & Rabatte ---- */
.pg-angebote{display:flex;flex-wrap:wrap;gap:32px clamp(32px,6vw,88px)}
.pg-angebote__links{flex:1 1 300px}
.pg-intro{margin:16px 0 0!important;max-width:40ch;font-size:17px;color:#3c3c3c}
.pg-angebote__links .pg-btn{margin-top:28px}
.pg-schluss{margin:28px 0 0!important;max-width:40ch;font-size:14px;color:#555}
.pg-angebote__liste{flex:999 1 480px;min-width:0;border-bottom:1px solid #cfcfcf}
.pg-angebot{border-top:1px solid #cfcfcf}
.pg-angebot>summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 24px;min-height:64px;padding:18px 0;list-style:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.pg-angebot>summary::-webkit-details-marker{display:none}
.pg-angebot__titel{flex:1 1 260px;min-width:0;font-size:19px!important;font-weight:700;line-height:1.3;color:#1f1f1f!important;transition:color 160ms var(--e)}
.pg-angebot__meta{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:14px;font-weight:600;color:#555}
.pg-marke{display:inline-block;padding:3px 10px;border-radius:2px;background:var(--pg-akzent);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.pg-marke--bald{background:transparent;color:var(--pg-dunkel);box-shadow:inset 0 0 0 1px var(--pg-dunkel)}
.pg-pfeil{flex:none;color:var(--pg-dunkel);transition:transform 200ms var(--e)}
.pg-angebot[open] .pg-pfeil{transform:rotate(180deg)}
.pg-klappe{padding:0 0 28px;max-width:62ch}
.pg-klappe p{margin:0 0 10px;font-size:16px;color:#2b2b2b}
.pg-klappe p.pg-klein{font-size:15px;color:#555}
.pg-klappe .pg-btn{margin-top:10px}
.pg-angebot[open] .pg-klappe{animation:pg-auf 180ms var(--e)}
@keyframes pg-auf{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.pg-angebot.dck-is-expired,.pg-fruehbucher.dck-is-expired{display:none}
.pg-fruehbucher{margin-top:clamp(48px,7vw,88px);display:flex;flex-wrap:wrap;align-items:center;gap:24px clamp(32px,6vw,80px);padding:clamp(28px,5vw,56px);background:var(--pg-akzent);color:#fff}
.pg-fruehbucher__text{flex:999 1 420px;min-width:0}
.pg-fruehbucher h3{font-size:clamp(26px,3.4vw,38px);line-height:1.12;font-weight:800;letter-spacing:-.02em;color:#fff!important}
.pg-fruehbucher p{margin:14px 0 0;max-width:62ch;font-size:17px;color:#fff}
.pg-fruehbucher .pg-btn{flex:0 0 auto}

/* ---- Gutscheine (zweite Ausgabe der Startseiten-Kachel; nicht aktive Fassungen verbirgt dieses Stylesheet selbst, auch ohne Skript) ---- */
.pg-gutschein .dck-lower__gift-variant{display:none}
.pg-gutschein .dck-lower__gift-variant.is-active{display:flex;flex-wrap:wrap;align-items:center;gap:32px clamp(32px,6vw,80px)}
.pg-gutschein__bild{position:relative;flex:1 1 320px;min-width:0;margin:0}
.pg-gutschein__bild img{display:block;width:100%;height:auto;aspect-ratio:3 / 2;object-fit:cover;border-radius:2px;outline:1px solid rgba(255,255,255,.1);outline-offset:-1px}
.pg-gutschein__marke{position:absolute;left:0;bottom:24px;padding:8px 16px;font-size:14px}
.pg-gutschein__text{flex:1 1 360px;min-width:0}
.pg-gutschein__text p{margin-top:16px!important;max-width:52ch;font-size:17px;color:rgba(255,255,255,.86)}
.pg-gutschein__liste{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;font-weight:600}
.pg-gutschein__liste li{display:flex;align-items:center;gap:12px;margin:0;padding:0}
.pg-gutschein__liste svg{flex:none;width:20px;height:20px;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;color:var(--pg-hell)}
.pg-gutschein__text p.pg-gutschein__klein{margin-top:24px!important;font-size:15px;color:rgba(255,255,255,.72)}
.pg-gutschein__text .pg-btn{margin-top:24px}
.pg-gutschein .pg-gutschein__hinweis{margin-top:clamp(8px,2vw,24px);padding-top:24px;border-top:1px solid rgba(255,255,255,.16);font-size:16px;color:rgba(255,255,255,.86)}
.pg-gutschein .pg-gutschein__hinweis strong{color:#fff}
.pg-gutschein .pg-gutschein__hinweis:empty{display:none}

/* ---- Fokus (sichtbar, auch auf farbigem Grund; überstimmt den globalen Ring von dck-gestaltung.php) ---- */
html body.pg-preise .pg-hero :focus-visible,html body.pg-preise .pg-sprung :focus-visible,html body.pg-preise .pg-s :focus-visible{outline:2px solid var(--pg-hell)!important;outline-offset:3px!important;box-shadow:none!important}
html body.pg-preise .pg-s--hell :focus-visible{outline-color:var(--pg-akzent)!important}
html body.pg-preise .pg-fruehbucher :focus-visible{outline:3px solid #fff!important;outline-offset:3px!important;box-shadow:none!important}
.pg-hero :focus-visible,.pg-sprung :focus-visible,.pg-s :focus-visible{outline:2px solid var(--pg-hell);outline-offset:3px}
.pg-s--hell :focus-visible{outline-color:var(--pg-akzent)}
.pg-fruehbucher :focus-visible{outline:3px solid #fff;outline-offset:3px}

/* ---- Hover nur mit Maus ---- */
@media (hover:hover) and (pointer:fine){
.pg-btn:hover{background:var(--pg-hover)}
.pg-btn--rand:hover{background:rgba(255,255,255,.12)}
.pg-btn--weiss:hover{background:var(--pg-flaeche)}
.pg-sprung__link:hover{background:#333}
.pg-angebot>summary:hover .pg-angebot__titel{color:var(--pg-dunkel)!important}
.pg-dl:hover{text-decoration-color:#fff}
}

/* ---- Schmale Breiten ---- */
@media (max-width:640px){
.pg-akt .pg-btn,.pg-frage__box .pg-btn,.pg-angebote__links .pg-btn,.pg-gutschein__text .pg-btn,.pg-fruehbucher .pg-btn{width:100%}
.pg-sprung__link{padding:18px 20px}
.pg-angebot__titel{font-size:18px!important}
}

/* ---- Weniger Bewegung: keine Bewegung, nur die Farbe ---- */
@media (prefers-reduced-motion:reduce){
.pg-klappe,.pg-angebot[open] .pg-klappe{animation-name:none}
.pg-pfeil{transition-duration:0s}
.pg-btn{transition-property:background-color}
.pg-btn:active{transform:none}
}
