/* Tauchschule Kreidesee – Gestaltung wie die diveops-App (Buchungsseite):
   nachtblauer Ozean mit Lichtflächen, Glaskarten mit Lichtkante, schwebende Navigation,
   Schrift Geist (selbst gehostet), blauer Akzent. Bewegung nach dem apple-design-Skill:
   sofortiges Druck-Feedback, Federn statt fester Dauern (animations.js), Rücksicht auf
   reduced-motion / reduced-transparency / contrast. Keine Tracker, keine Bibliotheken. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --ink: #050a1a;          /* Nachtblau der App */
  --ink-2: #0d1630;        /* feste Flächen */
  --ink-3: #1b2744;        /* Linien */
  --deep: #03060f;         /* Tiefe */
  --paper: #e6eaf2;        /* Schrift */
  --paper-2: #cbd5e1;
  --paper-dim: #a8b3c7;
  --paper-mute: #7d8aa3;
  --flag: #2563eb;         /* Akzent (Knöpfe, Marker) – das Blau der App */
  --flag-dark: #1d4ed8;
  --flag-soft: rgba(37, 99, 235, 0.16);
  --red: #f87171;          /* nur Signale: 40-m-Grenze */
  --chill: #38bdf8;        /* helles Blau (Logo/App) */
  --sea: #60a5fa;          /* Links */
  --lagoon: #3b82f6;
  --text-dark: #e6eaf2;
  --max: 1180px;
  --radius: 1.1rem;
  --serif: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1); /* keine Überschwinger ohne Schwung (Skill) */
  --depth: 0;              /* 0 … 1, wird beim Scrollen gesetzt */
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 17px/1.6 var(--sans);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.12; letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.014em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.small { font-size: 0.88rem; color: var(--paper-mute); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--flag); outline-offset: 3px; }
::selection { background: var(--chill); color: var(--ink); }

/* Seitengrund wird beim Abtauchen dunkler */
.sea-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 181, 254, calc(0.10 - var(--depth) * 0.08)), transparent 60%),
    linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) calc(100% - var(--depth) * 70%), var(--deep)));
}

/* --- Logo (Ebenen aus tauchschule-app: Schrift + schwebender Taucher) ------------------------ */
.ks-logo { position: relative; display: block; aspect-ratio: 1400 / 272; perspective: 900px; animation: ks-in 0.9s var(--ease-out) backwards; }
.ks-logo-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.7s var(--ease-out); }
.ks-logo-stage img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; pointer-events: none; }
.ks-logo-text { transform: translateZ(0); filter: drop-shadow(0 1px 0 rgba(8, 40, 74, 0.8)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3)); }
.ks-logo-diver { transform-origin: 88% 72%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35)); animation: ks-float 9s ease-in-out infinite; }
.ks-logo-sm .ks-logo-text, .ks-logo-sm .ks-logo-diver { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45)); }
@keyframes ks-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes ks-float {
  0%, 100% { transform: translate3d(0, 0, 40px) rotate(0deg); }
  25% { transform: translate3d(-0.6%, -3%, 40px) rotate(-1.5deg); }
  50% { transform: translate3d(0.4%, -5%, 40px) rotate(1deg); }
  75% { transform: translate3d(0.8%, -2%, 40px) rotate(2deg); }
}
/* Luftblasen aus dem Atemregler des Logo-Tauchers */
.ks-logo-bubbles { position: absolute; left: 86.5%; top: 52%; width: 4%; height: 50%; transform: translateZ(50px); pointer-events: none; }
.ks-logo-bubbles i { position: absolute; bottom: 0; left: 30%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(190, 236, 255, 0.85); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.8), transparent 45%); opacity: 0; animation: logo-bubble 3.2s ease-in infinite; }
.ks-logo-bubbles i:nth-child(2) { left: 60%; width: 15%; animation-delay: 1.1s; }
.ks-logo-bubbles i:nth-child(3) { left: 10%; width: 12%; animation-delay: 2.2s; }
.ks-logo-sm .ks-logo-bubbles, .ks-logo-footer .ks-logo-bubbles { display: none; }
@keyframes logo-bubble {
  0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(-40%, -260%) scale(1.1); opacity: 0; }
}
/* Einschwimmen des Tauchers im großen Logo */
.ks-logo-hero .ks-logo-diver { animation: ks-swim-in 1.8s var(--ease-out) 0.2s backwards, ks-float 9s ease-in-out 2s infinite; }
.ks-logo-hero .ks-logo-text { animation: ks-text-in 1.2s var(--ease-out) backwards; }
@keyframes ks-swim-in { from { transform: translate3d(-70%, 18%, 40px) rotate(-10deg); opacity: 0; } 40% { opacity: 1; } }
@keyframes ks-text-in { from { opacity: 0; filter: blur(8px); transform: translateY(14px); } }

/* --- Kopf ------------------------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(12, 23, 36, 0.82);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--ink-3);
  transition: padding 0.3s var(--ease-out), background 0.3s;
}
.page-home .site-header:not(.scrolled) { background: rgba(12, 23, 36, 0.25); border-bottom-color: transparent; }
.site-header.scrolled { padding-top: 6px; padding-bottom: 6px; }
.brand { display: block; flex: none; }
.brand .ks-logo { width: 230px; transition: width 0.35s var(--ease-out); }
.site-header.scrolled .brand .ks-logo { width: 190px; }
.site-nav { display: flex; align-items: center; gap: 10px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { text-decoration: none; color: var(--paper-dim); font-size: 0.93rem; padding: 8px 10px; border-radius: 6px; transition: color 0.2s; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--paper); }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--flag); border-radius: 0; }
.sub-toggle { background: none; border: 0; color: var(--paper-mute); padding: 4px; margin-left: -8px; cursor: pointer; display: grid; place-items: center; }
.sub-toggle svg { width: 12px; height: 12px; transition: transform 0.25s; }
.has-sub:hover .sub-toggle svg, .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 230px; list-style: none; margin: 0; padding: 8px;
  background: rgba(16, 32, 48, 0.97); border: 1px solid var(--ink-3); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top left;
  transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0.2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub.open { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 8px 12px; font-size: 0.92rem; }
.sub a:hover { background: var(--ink-3); color: var(--paper); }
.nav-extra { display: flex; align-items: center; gap: 12px; }
.nav-contact { display: none; }
.menu-toggle { display: none; }

/* --- Knöpfe (mit Blasen) ----------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.25s var(--ease-spring), background 0.2s, border-color 0.2s, box-shadow 0.25s;
  overflow: hidden; isolation: isolate;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--flag); color: #fff; box-shadow: 0 10px 26px -12px rgba(216, 66, 58, 0.9); }
.btn-primary:hover { background: var(--flag-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(216, 66, 58, 0.9); }
.btn-quiet { color: var(--paper); border-color: var(--paper-mute); }
.btn-quiet:hover { border-color: var(--paper); transform: translateY(-2px); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn-lg { font-size: 1.08rem; padding: 16px 28px; }
.btn-sm { font-size: 0.9rem; padding: 9px 16px; }
.btn-block { width: 100%; margin-top: 10px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn .pop { position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.7); pointer-events: none; animation: pop-up 0.9s ease-out forwards; }
@keyframes pop-up { from { transform: translateY(0) scale(0.4); opacity: 1; } to { transform: translateY(-46px) scale(1); opacity: 0; } }
.link-cta { color: var(--paper); font-weight: 600; text-decoration-color: var(--flag); text-underline-offset: 4px; }
.link-cta .ico { width: 16px; height: 16px; vertical-align: -3px; }

/* --- Kicker + wehende Taucherflagge ------------------------------------------------------------ */
.kicker { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: 18px; }
.kicker-center { justify-content: center; }
.kicker-dark { color: #5b6573; }
.flag {
  width: 24px; height: 16px; border-radius: 2px; flex: none; transform-origin: left center;
  background: linear-gradient(135deg, var(--flag) 0 38%, #fff 38% 58%, var(--flag) 58% 100%);
  animation: flag-wave 2.6s ease-in-out infinite;
}
@keyframes flag-wave { 0%, 100% { transform: perspective(60px) rotateY(0deg) skewY(0deg); } 50% { transform: perspective(60px) rotateY(-18deg) skewY(-3deg); } }
.ico { width: 20px; height: 20px; flex: none; }

/* --- Tiefenmesser ------------------------------------------------------------------------------ */
.depth-gauge {
  position: fixed; right: 14px; top: 50%; z-index: 40; height: 46vh; width: 44px; transform: translateY(-50%);
  pointer-events: none; opacity: 0; transition: opacity 0.4s;
}
.depth-gauge.on { opacity: 1; }
.dg-scale { position: absolute; right: 0; top: 0; bottom: 0; width: 8px; border-radius: 4px; background: linear-gradient(180deg, rgba(0, 181, 254, 0.55), rgba(12, 23, 36, 0.9)); border: 1px solid rgba(255, 255, 255, 0.15); display: flex; flex-direction: column; justify-content: space-between; }
.dg-scale i { position: relative; font: 600 0.62rem var(--mono); font-style: normal; color: var(--paper-mute); right: 14px; text-align: right; line-height: 0; }
.dg-scale i::after { content: ""; position: absolute; right: -14px; top: 0; width: 6px; height: 1px; background: rgba(255, 255, 255, 0.4); }
.dg-marker {
  position: absolute; right: 12px; top: calc(var(--depth) * 100%); transform: translateY(-50%);
  font: 600 0.72rem var(--mono); color: #fff; background: var(--flag); padding: 3px 7px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(216, 66, 58, 0.9);
}
.dg-marker::after { content: ""; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--flag); }

/* --- Einstieg unter Wasser --------------------------------------------------------------------- */
.hero-sea { position: relative; margin-top: -76px; --p: 0; }
/* Abtauch-Szene: Der Einstieg bleibt stehen, während man scrollt (--p läuft 0 → 1, animations.js) */
.js .hero-sea { height: 300svh; }
.hero-sticky {
  position: sticky; top: 0; height: 100svh; min-height: 620px; padding: 100px 20px 90px;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(160, 230, 255, 0.55), transparent 65%),
    linear-gradient(180deg, #2a8fbf 0%, #17698f 22%, #0f4664 50%, #0c2a40 78%, var(--ink) 100%);
}
.hero-dark { position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, #0a2233 0%, #06131f 55%, #050c15 100%); opacity: calc(var(--p) * 1.25); }
.hero-sticky .rays { opacity: calc(1 - var(--p) * 1.8); }
.dive-stage-1, .dive-fade { opacity: clamp(0, 1 - var(--p) * 4.5, 1); }
.dive-stage-1 { transform: translateY(calc(var(--p) * -170px)) scale(calc(1 - var(--p) * 0.45)); }
.hero-sea.past-intro .dive-stage-1, .hero-sea.past-intro .dive-fade { pointer-events: none; visibility: hidden; }
.dive-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; pointer-events: none; }
.dive-stage-2 { opacity: clamp(0, min((var(--p) - 0.18) * 7, (0.56 - var(--p)) * 7), 1); transform: translateY(calc((0.37 - var(--p)) * 140px)); }
.dive-big { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 8vw, 6.6rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; text-shadow: 0 4px 40px rgba(0, 20, 40, 0.5); }
.dive-big em { font-style: normal; background: linear-gradient(transparent 64%, rgba(216, 66, 58, 0.85) 64% 90%, transparent 90%); }
.dive-stage-3 { opacity: clamp(0, (var(--p) - 0.56) * 7, 1); transform: translateY(calc((0.7 - var(--p)) * 90px)); }
.dive-depth { display: flex; align-items: baseline; gap: 0.1em; margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(6rem, 22vw, 16rem); line-height: 0.95; color: #fff; font-variant-numeric: tabular-nums; }
.dive-depth span { font-size: 0.3em; color: var(--paper-dim); }
.dive-caption { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.8rem); color: var(--paper-dim); }
.bubbles-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.rays { position: absolute; inset: -10% -20% 30%; z-index: -2; pointer-events: none; mix-blend-mode: screen; }
.rays i {
  position: absolute; top: -10%; width: 12%; height: 120%; left: calc(var(--x) * 1%);
  background: linear-gradient(180deg, rgba(220, 248, 255, 0.45), rgba(220, 248, 255, 0) 80%);
  filter: blur(14px); transform-origin: top center; transform: rotate(var(--r));
  animation: ray-sway var(--d) ease-in-out infinite alternate;
}
.rays i:nth-child(1) { --x: 18; --r: 14deg; --d: 7s; }
.rays i:nth-child(2) { --x: 34; --r: 8deg; --d: 9s; width: 7%; }
.rays i:nth-child(3) { --x: 50; --r: 2deg; --d: 6s; width: 16%; }
.rays i:nth-child(4) { --x: 66; --r: -6deg; --d: 8s; width: 8%; }
.rays i:nth-child(5) { --x: 82; --r: -13deg; --d: 10s; }
@keyframes ray-sway { from { transform: rotate(var(--r)) scaleX(1); opacity: 0.55; } to { transform: rotate(calc(var(--r) - 5deg)) scaleX(1.4); opacity: 1; } }
.shark { position: absolute; z-index: -1; width: 220px; top: 58%; left: -260px; fill: rgba(6, 22, 36, 0.55); filter: blur(1.5px); animation: shark-swim 38s linear 4s infinite; }
@keyframes shark-swim {
  0% { transform: translate(0, 0) scaleX(-1); }
  45% { transform: translate(calc(100vw + 520px), -60px) scaleX(-1); }
  50% { transform: translate(calc(100vw + 520px), -60px) scaleX(1); }
  95% { transform: translate(0, 20px) scaleX(1); }
  100% { transform: translate(0, 0) scaleX(-1); }
}
.fish { position: absolute; z-index: -1; width: 26px; fill: rgba(200, 240, 255, 0.5); }
.fish-a { top: 30%; left: -40px; animation: fish-swim 22s linear infinite; }
.fish-b { top: 38%; left: -40px; width: 18px; animation: fish-swim 26s linear 6s infinite; }
@keyframes fish-swim { from { transform: translate(0, 0) scaleX(-1); } 50% { transform: translate(55vw, -30px) scaleX(-1); } to { transform: translate(calc(100vw + 80px), 10px) scaleX(-1); } }
.hero-inner { position: relative; text-align: center; max-width: 980px; width: 100%; }
.hero-logo { width: min(880px, 92vw); margin: 0 auto 26px; }
.hero-claim { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; color: #eaf7ff; margin: 0 auto 30px; max-width: 30em; text-shadow: 0 2px 20px rgba(0, 30, 50, 0.6); }
.hero-claim em { font-style: normal; color: #fff; background: linear-gradient(transparent 62%, rgba(216, 66, 58, 0.75) 62% 92%, transparent 92%); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-center { justify-content: center; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; margin: 52px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.hero-stats dt { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1; color: #fff; }
.hero-stats dd { margin: 6px 0 0; font-size: 0.86rem; color: rgba(234, 247, 255, 0.75); }
.scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(234, 247, 255, 0.8); text-decoration: none; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; }
.scroll-hint i { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; pointer-events: none; }
.hero-wave svg { width: 100%; height: 100%; display: block; }
.hero-wave path { fill: var(--ink); }
.hero-wave .w1 { opacity: 0.45; animation: wave-move 9s ease-in-out infinite alternate; }
.hero-wave .w2 { animation: wave-move 12s ease-in-out infinite alternate-reverse; }
@keyframes wave-move { from { transform: translateX(-2%); } to { transform: translateX(2%); } }

/* --- Erscheinen beim Scrollen ------------------------------------------------------------------- */
/* eigene translate-Eigenschaft, damit transform frei für die Federn (Kippen) bleibt */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.8s var(--ease-out), translate 0.8s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* --- Willkommen ----------------------------------------------------------------------------------- */
.welcome { max-width: var(--max); margin: 0 auto; padding: 96px 20px 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.welcome-text > p:not(.kicker) { color: var(--paper-dim); }
.welcome a, .instructor a, .course-main a, .legal a, .chapter a:not(.btn), .profile-lead a { color: var(--sea); text-underline-offset: 3px; }
.visibility { margin-top: 30px; padding: 20px 22px 16px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); }
.vis-title { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 14px; }
.vis-bar { position: relative; height: 34px; border-radius: 999px; background: linear-gradient(90deg, rgba(0, 181, 254, 0.9), rgba(0, 181, 254, 0.15)); overflow: hidden; }
.vis-avg { position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from)); background: rgba(255, 255, 255, 0.22); border-left: 2px solid #fff; border-right: 2px solid #fff; display: grid; place-items: center; font-size: 0.8rem; white-space: nowrap; }
.vis-max { position: absolute; right: 10px; top: 0; bottom: 0; display: grid; place-items: center; font-size: 0.8rem; color: var(--paper-dim); }
.js .vis-bar { clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 1.6s var(--ease-out) 0.3s; }
.js .visibility.in .vis-bar { clip-path: inset(0 0 0 0 round 999px); }
.vis-scale { display: flex; justify-content: space-between; margin-top: 6px; font: 0.72rem var(--mono); color: var(--paper-mute); }
.vis-scale i { font-style: normal; }
.welcome-shots { position: relative; margin: 0; padding-bottom: 80px; }
.frame {
  display: block; width: 100%; padding: 0; cursor: zoom-in; color: inherit;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s var(--ease-out), border-color 0.2s;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.frame:hover { border-color: #2f4a66; transform: translateY(-3px) rotate(-0.4deg); }
.frame:hover img { transform: scale(1.04); }
.frame-big { aspect-ratio: 4 / 3; width: 88%; }
.frame-small { position: absolute; right: -10px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 6px solid #1d2a38; border-radius: 14px; transform: rotate(3deg); }
.frame-small:hover { transform: rotate(1deg) translateY(-3px); }
.sticker {
  position: absolute; left: -14px; bottom: 40px; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--flag); color: #fff; font: 700 1.25rem var(--serif); transform: rotate(-14deg);
  box-shadow: 0 14px 30px -10px rgba(216, 66, 58, 0.8); animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(-8px); } }

/* --- Tauchprofil (helles Band) -------------------------------------------------------------- */
.profile { background: var(--paper); color: var(--ink); position: relative; }
.profile-inner { max-width: var(--max); margin: 0 auto; padding: 92px 20px 110px; }
.profile h2 { color: var(--ink); }
.profile-lead { color: #4b5563; font-size: 1.1rem; max-width: 40em; margin-bottom: 50px; }
.dive-profile { position: relative; height: clamp(280px, 34vw, 380px); }
.dive-profile svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dive-profile .surface { stroke: var(--lagoon); stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.dive-profile .grid { stroke: #d7d0c3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dive-profile .grid-40 { stroke: var(--flag); stroke-dasharray: 4 5; }
.dive-profile .area { opacity: calc(0.15 + var(--p, 1) * 0.85); }
.dive-profile .line { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 1)); }
.depth-label { position: absolute; right: 0; transform: translateY(-130%); font: 600 0.72rem var(--mono); color: var(--flag); letter-spacing: 0.06em; }
.profile-stops { list-style: none; margin: 0; padding: 0; }
.profile-stops li { position: absolute; transform: translate(-50%, -50%); opacity: calc((var(--p, 1) - var(--at, 0)) * 8); transition: opacity 0.2s; }
.profile-stops a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.stop-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--flag); box-shadow: 0 0 0 6px rgba(216, 66, 58, 0.15); transition: transform 0.3s var(--ease-spring); }
.profile-stops a:hover .stop-dot { transform: scale(1.35); }
.stop-text { position: absolute; top: 28px; width: 150px; text-align: center; line-height: 1.25; padding: 4px 6px; border-radius: 8px; background: rgba(241, 236, 226, 0.88); }
.stop-text b { display: block; font-family: var(--serif); font-size: 1.02rem; }
.stop-text small { font: 0.72rem var(--mono); color: #5b6573; }
.profile-stops li:nth-child(even) .stop-text { top: auto; bottom: 28px; }
.profile-stops a:hover b { color: var(--flag); }

/* --- Angebot: Kategorien + Karten ------------------------------------------------------------- */
.offer { max-width: var(--max); margin: 0 auto; padding: 100px 20px 80px; }
.offer-head { margin-bottom: 34px; }
.offer-sub { font-size: 1.4rem; margin: 64px 0 22px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 20px;
  border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate;
  border: 1px solid var(--ink-3);
}
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform 0.9s var(--ease-out); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 23, 36, 0.05) 20%, rgba(12, 23, 36, 0.92)); transition: background 0.4s; }
.cat-tile:hover::before { transform: scale(1.08); }
.cat-tile:hover::after { background: linear-gradient(180deg, rgba(0, 120, 170, 0.15) 0%, rgba(12, 23, 36, 0.9)); }
.cat-tile-k { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.cat-tile-t { font: 600 1.45rem/1.15 var(--serif); margin: 4px 0 10px; }
.cat-tile-n { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--chill); font-weight: 600; }
.cat-tile-n .ico { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.cat-tile:hover .cat-tile-n .ico { transform: translateX(4px); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: 14px; text-decoration: none; color: var(--paper);
  background: linear-gradient(160deg, rgba(27, 46, 66, 0.9), rgba(16, 32, 48, 0.95)); border: 1px solid var(--ink-3);
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform 0.4s var(--ease-out), border-color 0.25s, box-shadow 0.3s, opacity 0.8s var(--ease-out);
  overflow: hidden; isolation: isolate;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(0, 181, 254, 0.16), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.card:hover { border-color: rgba(0, 181, 254, 0.5); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 181, 254, 0.2); --ty: -4px; }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.agency { font: 700 0.72rem var(--mono); letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; }
.agency-sdi { background: rgba(0, 181, 254, 0.16); color: var(--chill); }
.agency-tdi { background: var(--flag-soft); color: #ff7b72; }
.card-cat { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-mute); }
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card p { color: var(--paper-dim); font-size: 0.94rem; flex: 1; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 12px; border-top: 1px solid var(--ink-3); font-size: 0.86rem; color: var(--paper-dim); }
.card-facts span { display: inline-flex; align-items: center; gap: 6px; }
.card-facts .ico { width: 16px; height: 16px; color: var(--chill); }
.card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.9rem; font-weight: 600; color: var(--paper); }
.card-go .ico { width: 16px; height: 16px; color: var(--flag); transition: transform 0.3s var(--ease-out); }
.card:hover .card-go .ico { transform: translateX(5px); }
.card-bubbles { position: absolute; right: 18px; bottom: 0; width: 40px; height: 100%; pointer-events: none; z-index: -1; }
.card-bubbles i { position: absolute; bottom: -12px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(0, 181, 254, 0.6); opacity: 0; }
.card-bubbles i:nth-child(1) { left: 4px; }
.card-bubbles i:nth-child(2) { left: 18px; width: 7px; height: 7px; }
.card-bubbles i:nth-child(3) { left: 28px; width: 12px; height: 12px; }
.card-bubbles i:nth-child(4) { left: 10px; width: 6px; height: 6px; }
.card:hover .card-bubbles i { animation: card-bubble 1.6s ease-in infinite; }
.card:hover .card-bubbles i:nth-child(2) { animation-delay: 0.3s; }
.card:hover .card-bubbles i:nth-child(3) { animation-delay: 0.65s; }
.card:hover .card-bubbles i:nth-child(4) { animation-delay: 1s; }
@keyframes card-bubble { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-260px) translateX(-8px) scale(1.1); opacity: 0; } }
.card.is-hidden { display: none; }
.card.pop-in { animation: card-pop 0.5s var(--ease-spring) both; }
@keyframes card-pop { from { opacity: 0; transform: scale(0.92) translateY(10px); } }

/* --- Laufband ------------------------------------------------------------------------------------ */
.marquee { overflow: hidden; padding: 30px 0 90px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-item { flex: none; width: 320px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--ink-2); transition: transform 0.4s var(--ease-out); }
.m-item:nth-child(odd) { transform: rotate(-1.5deg) translateY(8px); }
.m-item:nth-child(even) { transform: rotate(1.5deg); }
.m-item:hover { transform: scale(1.04) rotate(0deg); }
.m-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* --- Instructor -------------------------------------------------------------------------------- */
.instructor { background: var(--deep); border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); }
.instructor-inner { max-width: var(--max); margin: 0 auto; padding: 96px 20px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.rob { position: relative; margin: 0; }
.rob img { border-radius: 200px 200px 14px 14px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border: 1px solid var(--ink-3); }
.rob-tag { position: absolute; right: -10px; top: 40px; background: var(--chill); color: var(--ink); font: 700 1.3rem var(--serif); padding: 8px 18px; border-radius: 999px; transform: rotate(8deg); animation: bob 5s ease-in-out infinite; }
.instructor-text > p:not(.kicker) { color: var(--paper-dim); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(0, 181, 254, 0.45); color: var(--chill); font-size: 0.88rem; font-weight: 600; }
.sdi-logo { width: 220px; border-radius: 8px; margin-top: 10px; background: #fff; padding: 6px 10px; }

/* --- Verleih + Gutschein ---------------------------------------------------------------------- */
.duo { max-width: var(--max); margin: 0 auto; padding: 100px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card {
  position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 34px; border-radius: 18px; text-decoration: none; overflow: hidden; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease-out), opacity 0.8s var(--ease-out);
}
.duo-rent { color: #fff; background: linear-gradient(140deg, rgba(12, 23, 36, 0.35), rgba(12, 23, 36, 0.9)), url("/assets/photos/img-3936.webp") center 30% / cover; }
.duo-gift { color: var(--ink); background: var(--paper); }
.duo-k { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.duo-t { font: 600 clamp(1.7rem, 2.8vw, 2.3rem)/1.1 var(--serif); margin: 10px 0 14px; max-width: 13em; }
.duo-p { flex: 1; max-width: 28em; opacity: 0.88; }
.duo-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 18px; }
.duo-go .ico { transition: transform 0.3s var(--ease-out); }
.duo-card:hover .duo-go .ico { transform: translateX(6px); }
.duo-gift { padding-right: 120px; }
.gift-ribbon { position: absolute; z-index: -1; right: 44px; top: 0; bottom: 0; width: 30px; background: var(--flag); }
.gift-ribbon::after { content: "🎁"; position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-size: 2.2rem; animation: wiggle 3s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: translateX(-50%) rotate(0); } 85% { transform: translateX(-50%) rotate(-14deg); } 90% { transform: translateX(-50%) rotate(12deg); } 95% { transform: translateX(-50%) rotate(-6deg); } }

/* --- Bewertungen (helles Band) ----------------------------------------------------------------- */
.reviews { background: var(--paper); color: var(--ink); padding: 92px 0 100px; overflow: hidden; }
.reviews-head { max-width: var(--max); margin: 0 auto 40px; padding: 0 20px; }
.reviews-head h2 { color: var(--ink); }
.reviews-head a { color: var(--lagoon); }
.stars { color: #f5a623; letter-spacing: 0.06em; }
.rev-track { display: flex; gap: 18px; width: max-content; padding: 10px 0; animation: marquee 80s linear infinite; }
.rev-track:hover { animation-play-state: paused; }
.rev { flex: none; width: 360px; margin: 0; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid #e2dacb; box-shadow: 0 18px 36px -26px rgba(12, 23, 36, 0.5); display: flex; flex-direction: column; }
.rev:nth-child(3n + 2) { transform: rotate(-1deg); }
.rev:nth-child(3n) { transform: rotate(1deg); }
.rev blockquote { margin: 10px 0 14px; color: #3c4654; font-size: 0.97rem; flex: 1; }
.rev figcaption { font-weight: 600; font-size: 0.9rem; color: var(--ink); }

/* --- Partner-Logos ----------------------------------------------------------------------------- */
.partner-strip { max-width: var(--max); margin: 0 auto; padding: 96px 20px 40px; text-align: center; }
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 30px 0; }
.logo-tile { display: grid; place-items: center; gap: 8px; aspect-ratio: 16 / 10; padding: 14px; background: #fff; border-radius: 12px; text-decoration: none; color: var(--ink); transition: transform 0.3s var(--ease-spring), box-shadow 0.3s; transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.logo-tile.is-dark { background: #222a33; color: var(--paper); }
.logo-tile img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(0.2); transition: filter 0.3s; }
.logo-tile:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.7); }
.logo-tile:hover img { filter: none; }

/* --- Start + Kontakt (wie diveops) ------------------------------------------------------------ */
.start-inner { max-width: var(--max); margin: 0 auto; padding: 80px 20px 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: center; }
.start-lead { color: var(--paper-dim); font-size: 1.1rem; }
.contact-lines { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-lines li { border-top: 1px solid var(--ink-3); }
.contact-lines a { display: flex; align-items: center; gap: 12px; padding: 13px 0; text-decoration: none; color: var(--paper-dim); transition: color 0.2s, padding 0.3s var(--ease-out); }
.contact-lines a:hover { color: var(--paper); padding-left: 6px; }
.contact-lines .ico { color: var(--chill); }
.contact { background: var(--ink-2); border: 1px solid var(--ink-3); border-left: 4px solid var(--flag); border-radius: var(--radius); padding: 30px 32px; }
.contact > p:first-child { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 18px; }
.contact .small { margin: 12px 0 0; }
.contact-alt { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--paper-dim); text-decoration: none; font-size: 0.95rem; }
.contact-alt:hover { color: var(--paper); }
.contact-alt .ico { width: 16px; height: 16px; }
.contact-qr { display: flex; gap: 24px; align-items: center; }
.contact-qr img { border-radius: 8px; background: #fff; padding: 6px; flex: none; }

/* --- Fuß ------------------------------------------------------------------------------------------ */
.site-footer { position: relative; margin-top: 60px; background: var(--deep); color: var(--paper-mute); font-size: 0.92rem; }
.footer-wave { position: absolute; left: 0; right: 0; top: -59px; height: 60px; }
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-wave path { fill: var(--deep); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 40px 20px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .ks-logo { width: 240px; margin-bottom: 16px; }
.footer-brand p { max-width: 26em; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-3); color: var(--paper-dim); transition: transform 0.3s var(--ease-spring), color 0.2s, border-color 0.2s; }
.footer-social a:hover { transform: translateY(-4px) rotate(-8deg); color: var(--paper); border-color: var(--chill); }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-title { color: var(--paper); font-weight: 600; margin-bottom: 6px; }
.footer-col a { color: var(--paper-mute); text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding: 18px 20px 6px; border-top: 1px solid var(--ink-3); }
.footer-legal a { color: var(--paper-dim); text-decoration: none; }
.footer-legal a:hover { color: var(--paper); }
.copyright { margin: 0; padding: 4px 20px 30px; text-align: center; font-size: 0.8rem; }

/* --- Seitenköpfe (Kategorien, Seiten, Kurse) -------------------------------------------------- */
.page-hero, .course-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -1px; }
.page-hero::before, .course-hero::before { content: ""; position: absolute; inset: -40px 0; z-index: -2; background: var(--hero) center / cover; transform: translateY(calc(var(--scroll, 0) * 0.25px)) scale(1.08); }
.page-hero::after, .course-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 23, 36, 0.94) 0%, rgba(12, 23, 36, 0.78) 50%, rgba(12, 23, 36, 0.35) 100%), linear-gradient(180deg, transparent 60%, rgba(12, 23, 36, 0.7)); }
.page-hero-inner, .course-hero-inner { max-width: var(--max); margin: 0 auto; padding: 84px 20px 130px; }
.page-hero-inner > *, .course-hero-inner > * { max-width: 760px; }
.page-hero-short .page-hero-inner { padding-bottom: 110px; }
.lead { font-size: 1.14rem; color: var(--paper-dim); margin: 18px 0 26px; }
.lead a { color: var(--sea); }
.lead-2 { font-size: 1rem; margin-top: -10px; }
.crumbs { display: flex; gap: 8px; font-size: 0.86rem; color: var(--paper-mute); margin-bottom: 26px; }
.crumbs a { color: var(--paper-dim); text-decoration: none; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; }
.count-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--paper-dim); }
.count-line b { font: 600 1.6rem var(--serif); color: var(--paper); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; }
.badges li { padding: 6px 14px 6px 30px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: rgba(0, 181, 254, 0.14); color: #bfeaff; border: 1px solid rgba(0, 181, 254, 0.35); position: relative; }
.badges li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 1.5px solid var(--chill); animation: badge-bubble 2.4s ease-in-out infinite; }
.badges li:nth-child(2)::before { animation-delay: 0.6s; }
.badges li:nth-child(3)::before { animation-delay: 1.2s; }
@keyframes badge-bubble { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(0.8); } }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.hero-facts dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-mute); }
.hero-facts dd { margin: 2px 0 0; font: 600 1.15rem var(--serif); }

/* --- Kursseite ---------------------------------------------------------------------------------- */
.course-body { max-width: var(--max); margin: 0 auto; padding: 40px 20px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.intro-p { font-size: 1.12rem; color: var(--paper-dim); }
.csec { padding: 30px 0; border-bottom: 1px solid var(--ink-3); }
.csec:last-of-type { border-bottom: 0; }
.csec h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.csec p { color: var(--paper-dim); }
.ref { font: 600 0.8rem var(--sans); color: var(--chill) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ref .ico { width: 14px; height: 14px; }
.ticks { list-style: none; margin: 10px 0 18px; padding: 0; }
.ticks li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--ink-3); font-size: 0.98rem; color: var(--paper-dim); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 12px; height: 2px; background: var(--flag); }
.sec-req .ticks li::before, .sec-gear .ticks li::before { width: 10px; height: 10px; top: 0.95em; border-radius: 50%; background: none; border: 2px solid var(--chill); }
.sec-note { margin: 18px 0; padding: 22px 26px; border: 1px solid rgba(216, 66, 58, 0.4); border-left: 4px solid var(--flag); border-radius: var(--radius); background: var(--flag-soft); }
.sec-note h2 { font-size: 1.2rem; }
.sec-note p:last-child { margin: 0; }
.sec-flow p { position: relative; }
.course-pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 26px 0; }
.course-pics .frame { aspect-ratio: 4 / 3; }
.callout { margin-top: 30px; padding: 26px 28px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; }
.callout h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.callout h2 .ico { color: var(--chill); }
.callout p { color: var(--paper-dim); }
.course-aside { position: sticky; top: 90px; display: grid; gap: 18px; }
.details { background: linear-gradient(170deg, #142739, var(--ink-2)); border: 1px solid var(--ink-3); border-top: 4px solid var(--flag); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9); }
.details-alt { border-top-color: var(--chill); }
.details h2 { font-size: 1.35rem; }
.facts-list { margin: 0 0 14px; display: grid; gap: 10px; }
.fact { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--ink-3); }
.fact .ico { grid-row: span 2; color: var(--chill); margin-top: 2px; }
.fact dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-mute); }
.fact dd { margin: 0; font-size: 0.97rem; }
.fact-preis dd, .fact-preis-ab dd, .fact-pro-tag dd { font: 600 1.2rem var(--serif); color: #fff; }
.fact-vip-kurs .ico { color: #f5a623; }
.list-title { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-mute); margin: 16px 0 6px; }
.inc, .exc { list-style: none; padding: 0; margin: 0; font-size: 0.93rem; }
.inc li, .exc li { display: flex; gap: 10px; padding: 5px 0; color: var(--paper-dim); }
.inc .ico { width: 18px; height: 18px; color: #4fd18b; margin-top: 3px; }
.exc .ico { width: 18px; height: 18px; color: var(--flag); margin-top: 3px; }
.inc a, .exc a, .detail-note a { color: var(--sea); }
.detail-note { font-size: 0.88rem; color: var(--paper-mute); margin: 10px 0 0; }
.details .btn-primary { margin-top: 20px; }
.next-steps { background: var(--paper); color: var(--ink); }
.next-inner { max-width: var(--max); margin: 0 auto; padding: 80px 20px 90px; }
.next-inner h2 { color: var(--ink); }
.steps-row { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); counter-reset: s; }
.steps-row li { padding: 24px 26px 10px 0; }
.steps-row li + li { padding-left: 26px; border-left: 1px solid #d7d0c3; }
.steps-row span { font: 600 0.9rem var(--mono); color: var(--flag); }
.steps-row h3 { margin: 6px 0 8px; }
.steps-row p { color: #3c4654; font-size: 0.97rem; }
.steps-row a { color: var(--lagoon); }
.related { max-width: var(--max); margin: 0 auto; padding: 90px 20px 40px; }
.related .center { margin-top: 30px; }

/* --- Übersicht, Filter, Flowcharts --------------------------------------------------------------- */
.cards-section { max-width: var(--max); margin: 0 auto; padding: 30px 20px 60px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; position: sticky; top: 70px; z-index: 5; padding: 10px 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink-3); background: rgba(16, 32, 48, 0.9); backdrop-filter: blur(8px); color: var(--paper-dim); font: 600 0.9rem var(--sans); cursor: pointer; text-decoration: none; transition: all 0.25s var(--ease-out); }
.chip span { font: 0.75rem var(--mono); padding: 1px 7px; border-radius: 999px; background: var(--ink-3); }
.chip:hover { color: var(--paper); border-color: var(--paper-mute); transform: translateY(-2px); }
.chip.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip.is-on span { background: var(--flag); color: #fff; }
.chip-link { color: var(--chill); }
.flowcharts { background: var(--paper); color: var(--ink); }
.flow-inner { max-width: var(--max); margin: 0 auto; padding: 80px 20px 90px; }
.flow-inner h2 { color: var(--ink); }
.flow-inner > p { color: #4b5563; }
.flow-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.flow-pics .frame { background: #fff; border-color: #e2dacb; }
.flow-pics img { object-fit: contain; max-height: 640px; }
.cat-strip { max-width: var(--max); margin: 0 auto; padding: 80px 20px 40px; }

/* --- Professional ------------------------------------------------------------------------------- */
.prose-wide { max-width: var(--max); margin: 0 auto; padding: 40px 20px 60px; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.two-col p { color: var(--paper-dim); font-size: 1.06rem; }
.frame-figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--ink-3); position: relative; }
.frame-figure img { width: 100%; }
.pro-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 70px; }
.pro-step { padding: 30px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; }
.pro-step p { color: var(--paper-dim); }
.num { font: 600 0.85rem var(--mono); color: var(--flag); letter-spacing: 0.1em; margin-bottom: 10px; }
.packages { background: var(--paper); color: var(--ink); }
.packages-inner { max-width: var(--max); margin: 0 auto; padding: 90px 20px 100px; }
.packages h2 { color: var(--ink); }
.packages-inner > p { color: #4b5563; }
.packages .small { color: #5b6573; }
.pkg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.pkg { position: relative; padding: 34px 28px 28px; border-radius: 18px; background: #fff; border: 1px solid #e2dacb; box-shadow: 0 24px 40px -30px rgba(12, 23, 36, 0.6); transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease-out), opacity 0.8s var(--ease-out); }
.pkg h3 { font-size: 1.6rem; color: var(--ink); }
.pkg-price { font: 600 2.4rem var(--serif); color: var(--ink); margin: 0 0 16px; }
.pkg ul { list-style: none; padding: 0; margin: 0; }
.pkg li { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid #eee6d8; color: #3c4654; font-size: 0.95rem; }
.pkg .ico { width: 18px; height: 18px; color: var(--flag); margin-top: 3px; }
.medal { position: absolute; right: 22px; top: -18px; width: 54px; height: 54px; border-radius: 50%; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15), 0 10px 20px -8px rgba(0, 0, 0, 0.5); animation: medal-spin 6s ease-in-out infinite; }
.pkg-bronze .medal { background: radial-gradient(circle at 35% 30%, #f3c49a, #b06a2f 70%); }
.pkg-silber .medal { background: radial-gradient(circle at 35% 30%, #ffffff, #9aa4ad 70%); animation-delay: 0.6s; }
.pkg-gold .medal { background: radial-gradient(circle at 35% 30%, #fff3b0, #d4a017 70%); animation-delay: 1.2s; }
.pkg-gold { border: 2px solid #d4a017; }
@keyframes medal-spin { 0%, 70%, 100% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } }
.packages .btn-quiet { color: var(--ink); border-color: var(--ink); }

/* --- Leihausrüstung ---------------------------------------------------------------------------- */
.brands { max-width: var(--max); margin: 0 auto; padding: 30px 20px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); text-decoration: none; color: var(--paper-dim); transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease-out), border-color 0.2s, opacity 0.8s var(--ease-out); }
.brand-card:hover { border-color: var(--chill); color: var(--paper); }
.brand-card img { width: 90px; height: 64px; object-fit: contain; border-radius: 8px; background: #222a33; flex: none; }
.rental { max-width: var(--max); margin: 0 auto; padding: 50px 20px 60px; }
.rental-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 20px; align-items: stretch; }
#klein { grid-column: 1 / -1; }
#klein .price-list { columns: 2 300px; column-gap: 36px; }
#klein .price-list li { break-inside: avoid; }
.rent-card { break-inside: avoid; position: relative; margin-bottom: 20px; padding: 26px 26px 18px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; }
.rent-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.rent-card h2 { font-size: 1.35rem; margin: 0; }
.rent-ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(0, 181, 254, 0.12); color: var(--chill); flex: none; transition: transform 0.5s var(--ease-spring); }
.rent-card:hover .rent-ico { transform: rotate(-12deg) scale(1.1); }
.rent-hl { background: linear-gradient(150deg, #1c3550, var(--ink-2)); border-color: rgba(0, 181, 254, 0.45); }
.rent-badge { position: absolute; top: -12px; right: 20px; background: var(--flag); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; transform: rotate(3deg); }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; }
.pl-name { color: var(--paper-dim); }
.pl-name a { color: var(--paper-dim); text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
.pl-name a:hover { color: var(--paper); text-decoration-color: var(--chill); }
.pl-dots { flex: 1; border-bottom: 2px dotted var(--ink-3); transform: translateY(-4px); min-width: 20px; }
.pl-price { font: 600 1.02rem var(--mono); color: #fff; white-space: nowrap; }
.rent-note { font-size: 0.86rem; color: var(--paper-mute); margin: 10px 0 0; }
.rent-note a { color: var(--sea); }

/* --- Services ---------------------------------------------------------------------------------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); text-decoration: none; font-size: 0.88rem; color: var(--paper-dim); background: rgba(12, 23, 36, 0.4); transition: all 0.2s; }
.jump a:hover { color: var(--paper); border-color: var(--chill); transform: translateY(-2px); }
.chapters { max-width: var(--max); margin: 0 auto; padding: 20px 20px 24px; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--ink-3); }
.chapter:last-child { border-bottom: 0; }
.chapter-flip .chapter-text { order: 2; }
.chapter-text > p:not(.num) { color: var(--paper-dim); }
.hours { display: flex; align-items: center; gap: 10px; color: var(--paper) !important; font-weight: 600; }
.hours .ico { color: var(--chill); }
.price-boxes { display: grid; gap: 16px; }
.pbox { padding: 24px 26px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease-out), opacity 0.8s var(--ease-out); }
.pbox-deep { background: linear-gradient(160deg, #0d2236, var(--deep)); border-color: rgba(216, 66, 58, 0.4); }
.pbox h3 small { font: 0.78rem var(--mono); color: var(--flag); margin-left: 6px; }
.pbox-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; margin: 0; border-top: 1px solid var(--ink-3); }
.pbox-row b { font: 600 1.15rem var(--mono); }
.pbox .small { margin: 10px 0 0; }
.refs { padding: 26px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); }
.refs-title { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-mute); }
.ref-item { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ink-3); text-decoration: none; color: var(--paper-dim); transition: padding 0.3s var(--ease-out); }
.ref-item:hover { padding-left: 6px; color: var(--paper); }
.ref-item img { width: 70px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; flex: none; }
.ref-item b { display: block; color: var(--paper); }
.ref-yt { width: 70px; height: 44px; display: grid; place-items: center; border-radius: 6px; background: #e62117; color: #fff; flex: none; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { padding: 14px 0; border-top: 1px solid var(--ink-3); color: var(--paper-dim); font-size: 0.97rem; }
.ledger strong { display: block; margin-bottom: 2px; color: var(--paper); }
.ledger a { color: var(--sea); }
.topic-bubbles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.topic-bubbles li { display: grid; place-items: center; text-align: center; width: 128px; height: 128px; border-radius: 50%; padding: 10px; font: 600 1rem var(--serif); background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.35), rgba(0, 181, 254, 0.18) 40%, rgba(0, 181, 254, 0.05) 70%); border: 1.5px solid rgba(0, 181, 254, 0.5); animation: float-b 6s ease-in-out infinite; }
.topic-bubbles li:nth-child(2n) { animation-delay: -2s; width: 108px; height: 108px; }
.topic-bubbles li:nth-child(3n) { animation-delay: -4s; }
.topic-bubbles li:last-child { background: var(--flag); border-color: var(--flag); color: #fff; }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.lift { overflow: visible; }
.lift-bag { position: absolute; right: 18%; top: -20px; width: 46px; height: 64px; border-radius: 50% 50% 40% 40%; background: linear-gradient(160deg, #ffd23f, #f5a623); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.6); animation: float-b 3.5s ease-in-out infinite; }
.lift-bag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 60px; background: rgba(255, 255, 255, 0.6); }
.cta-band { max-width: var(--max); margin: 0 auto; padding: 40px 20px 80px; }
.cta-inner { padding: 44px; border-radius: 18px; background: linear-gradient(130deg, var(--lagoon), #0e3550); text-align: center; }
.cta-inner p { color: #d7eefa; max-width: 36em; margin: 0 auto 22px; }
.cta-inner a:not(.btn) { color: #fff; }

/* --- Partner-Seite ------------------------------------------------------------------------------ */
.partner-grid-section { max-width: var(--max); margin: 0 auto; padding: 40px 20px 60px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 30px; }
.logo-tile-lg { aspect-ratio: 1; grid-template-rows: 1fr auto; }
.logo-tile-lg img { max-height: 110px; }
.logo-tile-lg span { font-size: 0.85rem; font-weight: 600; opacity: 0.8; }
.logo-more { background: var(--ink-2); color: var(--paper); border: 1px dashed var(--paper-mute); }
.more-big { font: 600 3.4rem var(--serif); color: var(--chill); opacity: 1 !important; }
.partner-grid-section a:not(.logo-tile) { color: var(--sea); }

/* --- News ---------------------------------------------------------------------------------------- */
.news-list { max-width: 860px; margin: 0 auto; padding: 40px 20px 60px; display: grid; gap: 20px; }
.news-insta { padding-top: 0; padding-bottom: 0; }
.page-hero-short:has(+ .news-insta) .page-hero-inner { padding-bottom: 48px; }
@media (max-width: 600px) { .news-insta .insta-grid { grid-template-columns: repeat(2, 1fr); } }
.news-item { padding: 28px 30px; background: var(--ink-2); border: 1px solid var(--ink-3); border-left: 4px solid var(--chill); border-radius: 12px; }
.news-item time { font: 600 0.8rem var(--mono); color: var(--flag); }
.news-item h2 { font-size: 1.5rem; margin-top: 6px; }
.news-item p { color: var(--paper-dim); margin: 0; }
.insta-card { display: block; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease-out), opacity 0.8s var(--ease-out); }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.insta-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.insta-text { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 10px; padding: 18px 22px; font-weight: 700; background: linear-gradient(90deg, rgba(131, 58, 180, 0.92), rgba(253, 29, 29, 0.88), rgba(252, 176, 69, 0.92)); }
.btn-insta { background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045); box-shadow: none; }

/* --- Kontaktseite ------------------------------------------------------------------------------- */
.contact-page { max-width: var(--max); margin: 0 auto; padding: 30px 20px 80px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-cards a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--ink-3); text-decoration: none; color: var(--paper-dim); transition: transform 0.3s var(--ease-out), border-color 0.2s; }
.contact-cards a:hover { transform: translateX(6px); border-color: var(--chill); }
.contact-cards .ico { width: 26px; height: 26px; color: var(--chill); }
.contact-cards b { display: block; color: var(--paper); font-size: 0.9rem; }
.contact-cards span { font-size: 0.92rem; word-break: break-word; }
.qr { margin: 0; display: flex; gap: 16px; align-items: center; color: var(--paper-mute); font-size: 0.9rem; }
.qr img { background: #fff; padding: 6px; border-radius: 8px; }
.contact-form { padding: 34px; background: var(--paper); color: var(--ink); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.contact-form h2 { color: var(--ink); }
.or { color: #4b5563; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.field small { font-weight: 400; color: #6b7280; }
.field input, .field select, .field textarea {
  font: 1rem var(--sans); color: var(--ink); width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #d7d0c3; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px rgba(29, 109, 143, 0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.field.invalid input, .field.invalid textarea { border-color: var(--flag); }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: #3c4654; margin: 6px 0 20px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--flag); flex: none; }
.check a { color: var(--lagoon); }
.check.invalid { color: var(--flag); }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: #0f7a46; }
.form-status.err { color: var(--flag-dark); }
.contact-form.sent .btn { animation: sent 0.8s var(--ease-spring); }
@keyframes sent { 40% { transform: translateY(-8px) scale(1.04); } }

/* --- Rechtliches ---------------------------------------------------------------------------------- */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 20px 88px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--paper-dim); }
.legal li { margin-bottom: 4px; }
.lead-sub { color: var(--paper-mute); }
.back { display: inline-block; margin-bottom: 26px; text-decoration: none; color: var(--paper-dim) !important; }
.back:hover { color: var(--paper) !important; }
.toc { margin: 24px 0 30px; padding: 20px 24px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; }
.toc-title { font-weight: 600; margin-bottom: 6px; color: var(--paper); }
.toc ol { margin: 0; padding-left: 22px; columns: 2 220px; }
.toc a { color: var(--sea); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* --- 404 ---------------------------------------------------------------------------------------- */
.lost { position: relative; min-height: 72vh; display: grid; place-content: center; text-align: center; padding: 80px 20px; isolation: isolate; overflow: hidden; }
.lost-code { font: 600 clamp(6rem, 22vw, 14rem)/1 var(--serif); margin: 0; color: transparent; -webkit-text-stroke: 2px rgba(0, 181, 254, 0.6); animation: float-b 5s ease-in-out infinite; }
.lost-code span { font-size: 0.35em; -webkit-text-stroke: 1px rgba(0, 181, 254, 0.6); }
.lost p { color: var(--paper-dim); max-width: 32em; margin-left: auto; margin-right: auto; }

/* --- Großansicht (wie diveops) --------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 10, 16, 0.94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; animation: lb-in 0.3s var(--ease-out); }
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 8px; border: 1px solid var(--ink-3); animation: lb-zoom 0.4s var(--ease-out); }
@keyframes lb-zoom { from { transform: scale(0.94); opacity: 0; } }
.lb-figure figcaption { margin-top: 14px; color: var(--paper-dim); font-size: 0.95rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: none; border: 1px solid var(--ink-3); color: var(--paper); border-radius: 6px; cursor: pointer; }
.lb-close { top: 16px; right: 16px; width: 42px; height: 42px; font-size: 1.1rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 64px; font-size: 1.8rem; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-close:hover, .lb-nav:hover { border-color: var(--paper-mute); }

/* Cursor-Blasen (Desktop) */
.cursor-bubble { position: fixed; z-index: 80; pointer-events: none; border-radius: 50%; border: 1.5px solid rgba(160, 225, 255, 0.75); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.6), transparent 50%); animation: cursor-bubble 1.4s ease-out forwards; }
@keyframes cursor-bubble { from { transform: translate(-50%, -50%) scale(0.4); opacity: 0.9; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% - 70px)) scale(1); opacity: 0; } }

/* --- Schmalere Bildschirme ------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .nav-list a { padding: 8px 7px; font-size: 0.88rem; }
  .brand .ks-logo { width: 190px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; padding: 90px 24px 40px; overflow-y: auto;
    background: radial-gradient(800px 400px at 50% 0%, rgba(0, 181, 254, 0.25), transparent 60%), var(--ink);
    clip-path: circle(0 at calc(100% - 40px) 36px); visibility: hidden; transition: clip-path 0.6s var(--ease-out), visibility 0.6s;
  }
  .nav-open .site-nav { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
  /* backdrop-filter würde das fixierte Menü auf die Kopfzeile begrenzen */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 23, 36, 0.94); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--ink-3); }
  .nav-list > li > a { flex: 1; font: 600 1.5rem var(--serif); color: var(--paper); padding: 14px 0; }
  .nav-list > li > a[aria-current="page"] { box-shadow: none; color: var(--chill); }
  .sub-toggle { margin: 0; width: 44px; height: 44px; }
  .sub-toggle svg { width: 16px; height: 16px; }
  .has-sub:hover .sub-toggle svg { transform: none; }
  .has-sub .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; min-width: 0; background: none; border: 0; box-shadow: none; padding: 0 0 12px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .sub.open, .has-sub:focus-within > .sub.open, .has-sub:hover > .sub.open { display: block; }
  .nav-extra { flex-direction: column; align-items: stretch; }
  .nav-cta { font-size: 1.05rem; padding: 14px; }
  .nav-contact { display: flex; justify-content: center; gap: 22px; }
  .nav-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--paper-dim); text-decoration: none; }
  .menu-toggle { display: grid; place-items: center; position: relative; z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink-3); background: rgba(12, 23, 36, 0.6); color: var(--paper); cursor: pointer; }
  .menu-lines { position: relative; width: 20px; height: 14px; }
  .menu-lines i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease-out), opacity 0.2s; }
  .menu-lines i:nth-child(1) { top: 0; }
  .menu-lines i:nth-child(2) { top: 6px; }
  .menu-lines i:nth-child(3) { top: 12px; }
  .nav-open .menu-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-lines i:nth-child(2) { opacity: 0; }
  .nav-open .menu-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
  .brand { position: relative; z-index: 70; }

  .welcome, .instructor-inner, .start-inner, .chapter, .two-col, .contact-page, .course-body { grid-template-columns: 1fr; gap: 40px; }
  .chapter-flip .chapter-text { order: 0; }
  .course-aside { position: static; }
  .duo, .pro-steps, .flow-pics { grid-template-columns: 1fr; }
  .pkg-row { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .brands { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .rob { max-width: 380px; }
  .depth-gauge { right: 6px; width: 34px; height: 36vh; }
  .stop-text { width: 110px; }
  .stop-text b { font-size: 0.88rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand .ks-logo, .site-header.scrolled .brand .ks-logo { width: 170px; }
  .hero-sticky { padding: 90px 16px 70px; min-height: 560px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .hero-stats dd { font-size: 0.74rem; }
  .scroll-hint { display: none; }
  .welcome, .offer, .duo, .partner-strip, .start-inner, .related, .cards-section, .chapters, .rental, .prose-wide, .cat-strip { padding-left: 16px; padding-right: 16px; }
  .welcome { padding-top: 60px; }
  .frame-small { right: 0; }
  .sticker { width: 70px; height: 70px; font-size: 1rem; left: 0; }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row li + li { padding-left: 0; border-left: 0; border-top: 1px solid #d7d0c3; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .contact { padding: 24px 20px; }
  .contact-qr { flex-direction: column; align-items: flex-start; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .m-item { width: 240px; }
  .rev { width: 290px; }
  .footer-inner { grid-template-columns: 1fr; }
  .lightbox { padding: 56px 8px; }
  .lb-nav { display: none; }
  .depth-gauge { display: none; }
  .duo-card { padding: 26px; min-height: 280px; }
  .duo-gift { padding-right: 76px; }
  .gift-ribbon { right: 22px; width: 22px; }
  .hero-claim br { display: none; }
  .vis-avg b { font-size: 0.68rem; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { min-height: 170px; padding: 14px; }
  .cat-tile-t { font-size: 1.15rem; }
  .cat-tile-k { display: none; }
  .dive-profile { height: auto; }
  .dive-profile svg { position: relative; height: 170px; }
  .depth-label { display: none; }
  .profile-stops { counter-reset: none; margin-top: 18px; border-top: 2px solid var(--ink); }
  .profile-stops li { position: static; transform: none; opacity: 1; border-bottom: 1px solid #d7d0c3; }
  .profile-stops a { flex-direction: row; gap: 14px; padding: 12px 0; }
  .stop-text { padding: 0; background: none; }
  .stop-dot { width: 14px; height: 14px; border-width: 3px; flex: none; margin-left: calc(var(--d, 0) * 1px); }
  .profile-stops li:nth-child(n) .stop-text, .profile-stops li:nth-child(n+5) .stop-text { position: static; transform: none; width: auto; text-align: left; display: flex; justify-content: space-between; align-items: baseline; flex: 1; gap: 10px; }
  .cta-inner { padding: 30px 20px; }
  .topic-bubbles li { width: 100px; height: 100px; font-size: 0.88rem; }
}

/* =============================================================================================
   diveops-Glas – dieselbe Material-Sprache wie die App (tauchschule-app/src/app/globals.css):
   farbiger Ozean im Hintergrund, durchscheinende Karten mit Glanz und heller Oberkante,
   schwebende Leisten mit stärkerer Unschärfe. Liegt bewusst als Schicht über den Grundregeln.
   ============================================================================================= */
:root {
  --glass-tint: rgba(9, 16, 38, 0.5);
  --glass-sheen: linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.02) 62%, rgba(255, 255, 255, 0.07) 100%);
  --glass-sheen-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.03) 62%, rgba(255, 255, 255, 0.1) 100%);
  --glass-blur: blur(20px) saturate(185%);
  --glass-border: rgba(120, 160, 255, 0.14);
  --glass-border-top: rgba(160, 190, 255, 0.3);
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  --glass-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7), 0 2px 8px -4px rgba(0, 0, 0, 0.35);
  --chrome-bg: rgba(5, 10, 26, 0.5);
  --float-bg: rgba(12, 20, 44, 0.72);
  --float-blur: blur(32px) saturate(190%);
}

/* Ozean: feste Farbflächen, der Inhalt gleitet darüber; beim Abtauchen wird es dunkler */
html { background: linear-gradient(180deg, #050a1a 0%, #03060f 100%) fixed; }
body { background: transparent; }
.sea-bg {
  background:
    radial-gradient(ellipse 60% 45% at 58% 108%, rgba(37, 99, 235, 0.55), rgba(37, 99, 235, 0) 70%),
    radial-gradient(ellipse 38% 32% at 92% -4%, rgba(56, 189, 248, 0.28), rgba(56, 189, 248, 0) 70%),
    radial-gradient(ellipse 32% 30% at 4% 30%, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0) 70%),
    radial-gradient(ellipse 25% 22% at 30% 62%, rgba(99, 102, 241, 0.16), rgba(99, 102, 241, 0) 70%),
    linear-gradient(118deg, rgba(96, 165, 250, 0) 42%, rgba(96, 165, 250, 0.07) 50%, rgba(96, 165, 250, 0) 58%),
    linear-gradient(180deg, #050a1a 0%, #03060f 100%);
}
.sea-bg::after { content: ""; position: absolute; inset: 0; background: #01030a; opacity: calc(var(--depth) * 0.55); }

/* Glaskarten */
.card, .contact, .details, .rent-card, .pbox, .refs, .news-item, .pro-step, .callout, .visibility,
.brand-card, .contact-cards a, .toc, .rev, .pkg, .duo-gift, .contact-form, .steps-row li, .cta-inner,
.logo-more, .insta-card {
  background-color: var(--glass-tint);
  background-image: var(--glass-sheen);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-rim), var(--glass-shadow);
  color: var(--paper);
}
@media (hover: hover) {
  .card:hover, .brand-card:hover, .contact-cards a:hover, .pkg:hover, .duo-gift:hover {
    background-image: var(--glass-sheen-hover);
    border-color: rgba(255, 255, 255, 0.22);
    border-top-color: rgba(255, 255, 255, 0.42);
    box-shadow: var(--glass-rim), 0 30px 60px -28px rgba(0, 0, 0, 0.8);
  }
}
/* Druck-Feedback sofort beim Antippen (Skill: auf pointer-down, nicht erst beim Loslassen) */
.card:active, .cat-tile:active, .brand-card:active, .contact-cards a:active, .duo-card:active, .logo-tile:active { scale: 0.985; transition: scale 80ms ease-out; }
.card::before { display: none; }
.card-bubbles { display: none; }

/* Schwebende Leisten und Menüs */
.site-header, .page-home .site-header:not(.scrolled) {
  background-color: var(--chrome-bg);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  -webkit-backdrop-filter: var(--float-blur);
  backdrop-filter: var(--float-blur);
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -20px rgba(0, 0, 0, 0.9);
}
.page-home .site-header:not(.scrolled) { background-color: rgba(5, 10, 26, 0.2); box-shadow: none; }
.nav-list > li > a[aria-current="page"] { box-shadow: none; color: #fff; }
.sub {
  background-color: var(--float-bg); background-image: var(--glass-sheen);
  -webkit-backdrop-filter: var(--float-blur); backdrop-filter: var(--float-blur);
  border: 1px solid rgba(255, 255, 255, 0.14); border-top-color: rgba(255, 255, 255, 0.32); border-radius: var(--radius);
  box-shadow: var(--glass-rim), 0 30px 60px -24px rgba(0, 0, 0, 0.8);
}
.sub a:hover { background: rgba(255, 255, 255, 0.07); border-radius: 0.6rem; }

/* Knöpfe: Rechteck mit großzügiger Rundung wie in der App, keine Pillen */
.btn { border-radius: 0.8rem; font-weight: 600; letter-spacing: -0.01em; transition: transform 100ms ease-out, background-color 0.2s, border-color 0.2s, box-shadow 0.25s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: #2563eb; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 24px -12px rgba(37, 99, 235, 0.9); }
.btn-primary:hover { background: #1d4ed8; transform: none; }
.btn-quiet, .btn-glass { color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-top-color: rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-quiet:hover, .btn-glass:hover { background: rgba(255, 255, 255, 0.1); transform: none; }
.btn .pop { display: none; }
.link-cta { text-decoration: none; color: var(--sea); }

/* Schlichte Überzeile: ohne Flagge, ohne Großbuchstaben */
.eyebrow { display: block; margin: 0 0 12px; font-size: 0.95rem; font-weight: 500; color: var(--paper-dim); letter-spacing: -0.005em; }
.eyebrow-center { text-align: center; }
.hero-sticky .eyebrow { color: rgba(226, 240, 255, 0.85); margin-bottom: 18px; }

/* Einstieg + Abtauch-Szene im App-Ozean */
.hero-sticky {
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(147, 220, 255, 0.5), transparent 65%),
    radial-gradient(ellipse 60% 45% at 58% 110%, rgba(37, 99, 235, 0.45), transparent 70%),
    linear-gradient(180deg, #1e6fa8 0%, #134b7d 26%, #0b2c55 55%, #071633 80%, var(--ink) 100%);
}
.hero-dark { background: linear-gradient(180deg, #071330 0%, #040a1c 60%, #03060f 100%); }
.hero-wave path { fill: #050a1a; }
.hero-claim { font-weight: 500; letter-spacing: -0.015em; }
.dive-big { font-weight: 700; letter-spacing: -0.04em; }
.dive-depth { font-weight: 700; letter-spacing: -0.06em; }
.dive-caption { font-weight: 500; letter-spacing: -0.015em; }

/* Helle Bänder werden zu Glas auf dem Ozean */
.profile, .reviews, .next-steps, .flowcharts, .packages { background: transparent; color: var(--paper); }
.profile h2, .reviews-head h2, .next-inner h2, .flow-inner h2, .packages h2 { color: var(--paper); }
.profile-lead, .flow-inner > p, .packages-inner > p, .packages .small, .steps-row p { color: var(--paper-dim); }
.reviews-head a, .steps-row a { color: var(--sea); }
.dive-profile .surface { stroke: var(--chill); }
.dive-profile .grid { stroke: rgba(255, 255, 255, 0.07); }
.dive-profile .grid-40 { stroke: var(--red); }
.dive-profile .line { stroke: #e6eaf2; }
.depth-label { color: var(--red); font-family: var(--sans); }
.stop-dot { background: #050a1a; border-color: var(--sea); box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.15); }
.stop-text { background: rgba(5, 10, 26, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.profile-stops a { color: var(--paper); }
.profile-stops a:hover b { color: var(--sea); }
.stop-text small { color: var(--paper-dim); }
.profile-stops li { border-color: rgba(255, 255, 255, 0.08) !important; }
.steps-row { border-top: 0; gap: 16px; }
.steps-row li, .steps-row li + li { padding: 26px 26px 22px; border-left: 1px solid var(--glass-border); }
.steps-row span { color: var(--sea); font-family: var(--sans); }
.rev { transform: none !important; }
.rev blockquote { color: var(--paper-2); }
.rev figcaption { color: var(--paper); }
.pkg h3, .pkg-price { color: var(--paper); }
.pkg li { color: var(--paper-2); border-top-color: rgba(255, 255, 255, 0.08); }
.pkg .ico { color: var(--sea); }
.pkg-gold { border-color: rgba(212, 160, 23, 0.6); }
.packages .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.duo-gift { color: var(--paper); }
.duo-k { letter-spacing: 0; text-transform: none; font-size: 0.9rem; font-weight: 500; }
.contact-alt { display: flex; }
.flow-pics .frame { background: #fff; }

/* Inhalte ohne Pillen und Icon-Reihen */
.card { border-radius: var(--radius); }
.agency { padding: 0; background: none !important; font: 600 0.78rem var(--sans); letter-spacing: 0; }
.agency-sdi { color: var(--chill); }
.agency-tdi { color: #a5b4fc; }
.card-cat { letter-spacing: 0; text-transform: none; font-size: 0.8rem; }
.card-meta { display: block; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.86rem; color: var(--paper-2); font-weight: 500; }
.card-go { color: var(--sea); font-weight: 600; }
.cat-tile { border-radius: var(--radius); border-color: var(--glass-border); }
.cat-tile-k { letter-spacing: 0; text-transform: none; font-size: 0.8rem; }
.cat-tile-n { color: #fff; }
.hero-badges, .hero-meta { margin: 0 0 10px; font-size: 0.95rem; color: var(--paper-2); }
.hero-meta { margin-bottom: 28px; color: #fff; font-weight: 600; }
.rob-tags { margin: -4px 0 20px; color: var(--chill); font-weight: 600; }
.rob-tag { background: #2563eb; color: #fff; font-family: var(--sans); }
.jump { gap: 4px 18px; }
.jump a { padding: 2px 0; border: 0; border-radius: 0; background: none; color: var(--paper-2); }
.jump a:hover { color: #fff; transform: none; text-decoration: underline; text-underline-offset: 4px; }
.contact-lines a { padding-left: 0; }
.contact-cards a { gap: 0; }
.chips li, .badges li { border-radius: 0.6rem; }
.fact { grid-template-columns: 1fr; }
.fact dt { letter-spacing: 0; text-transform: none; font-size: 0.82rem; }
.list-title, .vis-title, .refs-title, .toc-title { letter-spacing: 0; text-transform: none; font-size: 0.86rem; font-weight: 600; }
.ticks li::before { width: 6px; height: 6px; top: 1.15em; border-radius: 50%; background: var(--sea); }
.num { font-family: var(--sans); color: var(--sea); letter-spacing: 0; }
.details { border-top: 1px solid var(--glass-border-top); }
.details-alt { border-top-color: var(--glass-border-top); }
.contact { border-left: 1px solid var(--glass-border); }
.news-item { border-left: 1px solid var(--glass-border); }
.sec-note { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.35); border-radius: var(--radius); }
.callout { border-radius: var(--radius); }
.rent-hl { background-color: rgba(37, 99, 235, 0.16); border-color: rgba(96, 165, 250, 0.4); }
.rent-badge { border-radius: 0.6rem; transform: none; background: #2563eb; }
.pl-price { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.pbox-row b { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.pbox-deep { background-color: rgba(30, 10, 60, 0.4); }
.dg-marker { font-family: var(--sans); border-radius: 0.5rem; }
.dg-marker::after { border-left-color: var(--flag); }
.vis-scale, .stop-text small { font-family: var(--sans); }
.sticker { background: #2563eb; font-family: var(--sans); font-weight: 700; box-shadow: 0 14px 30px -10px rgba(37, 99, 235, 0.8); }
.filter { display: inline-flex; width: auto; max-width: 100%; overflow-x: auto; gap: 2px; padding: 4px; border-radius: 0.9rem; background: rgba(5, 10, 26, 0.6); -webkit-backdrop-filter: var(--float-blur); backdrop-filter: var(--float-blur); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); scrollbar-width: none; }
.chip { border: 0; background: none; border-radius: 0.65rem; padding: 8px 14px; color: var(--paper-dim); font-family: var(--sans); white-space: nowrap; backdrop-filter: none; }
.chip:hover { transform: none; color: #fff; }
.chip.is-on { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.field input, .field select, .field textarea { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--paper); border-radius: 0.8rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sea); box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2); }
.field small, .or, .check { color: var(--paper-dim); }
.contact-form h2 { color: var(--paper); }
.check a { color: var(--sea); }
.form-status.ok { color: #4ade80; }
.form-status.err { color: var(--red); }
.cta-inner { background-color: rgba(37, 99, 235, 0.18); }
.frame { border-radius: var(--radius); border-color: var(--glass-border); }
.logo-tile { border-radius: 0.9rem; }
.legal a, .welcome a, .instructor a, .course-main a, .chapter a:not(.btn), .lead a { color: var(--sea); }
.instructor { background: rgba(3, 6, 15, 0.45); border-color: rgba(255, 255, 255, 0.06); }

/* Seitenköpfe: Foto läuft weich in den Ozean aus statt Wellenkante */
.page-hero .hero-wave, .course-hero .hero-wave { display: none; }
.page-hero::before, .course-hero::before { -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%); }
.page-hero::after, .course-hero::after { background: linear-gradient(90deg, rgba(5, 10, 26, 0.92) 0%, rgba(5, 10, 26, 0.7) 50%, rgba(5, 10, 26, 0.2) 100%); -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%); }

/* Partner-Logos: einfarbig hell auf Glas, optisch gleich groß (Dateien in doppelter Auflösung) */
.logo-row { grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 34px 0 30px; }
.logo-tile, .logo-tile.is-dark {
  display: grid; place-items: center; aspect-ratio: auto; min-height: 112px; padding: 22px 18px;
  background-color: var(--glass-tint); background-image: var(--glass-sheen);
  border: 1px solid var(--glass-border); border-top-color: var(--glass-border-top); border-radius: var(--radius);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-rim), var(--glass-shadow); color: var(--paper-dim);
  transform: none; transition: background-image 0.2s, border-color 0.2s, scale 80ms ease-out;
}
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: none; filter: none; opacity: 0.78; transition: opacity 0.25s var(--ease-out); }
@media (hover: hover) {
  .logo-tile:hover { background-image: var(--glass-sheen-hover); border-color: rgba(255, 255, 255, 0.22); border-top-color: rgba(255, 255, 255, 0.42); box-shadow: var(--glass-rim), var(--glass-shadow); transform: none; }
  .logo-tile:hover img { opacity: 1; }
}
.partner-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.logo-tile-lg { aspect-ratio: auto; min-height: 0; grid-template-rows: 120px auto; gap: 6px; padding: 18px 18px 16px; }
.logo-box { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.logo-box img { max-height: 88%; }
.logo-name { font-size: 0.86rem; font-weight: 500; color: var(--paper-dim); opacity: 1 !important; }
.logo-more { border-style: solid; }
.more-big { font: 300 2.8rem/1 var(--sans) !important; color: var(--paper) !important; opacity: 0.7; }
.brand-card { gap: 18px; }
.brand-logo { display: grid; place-items: center; flex: none; width: 150px; height: 64px; }
.brand-logo img { max-width: 100%; height: auto; opacity: 0.9; }
.brand-card img { background: none; border-radius: 0; width: auto; height: auto; object-fit: initial; }
.ref-logo { display: grid; place-items: center; flex: none; width: 110px; height: 44px; }
.ref-logo img, .ref-item .ref-logo img { width: auto; height: auto; max-width: 100%; max-height: 44px; background: none; padding: 0; border-radius: 0; opacity: 0.85; }
.ref-yt { width: 110px; height: 44px; border-radius: 0.6rem; }
@media (max-width: 980px) { .logo-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .logo-tile { min-height: 96px; } .logo-tile img { max-width: 82%; } .partner-grid { grid-template-columns: repeat(2, 1fr); } .logo-tile-lg { grid-template-rows: 84px auto; } .logo-box img { max-height: 72px; max-width: 80%; } }

/* Fuß: Glas statt Wellenkante */
.site-footer { background: rgba(3, 6, 15, 0.55); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.footer-wave { display: none; }
.footer-social a { border-color: rgba(255, 255, 255, 0.14); }

/* Großansicht: Material erscheint (Blur), statt nur einzublenden */
.lightbox { background: rgba(3, 6, 15, 0.72); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); }
.lb-close, .lb-nav { border-radius: 50%; border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); }

@media (max-width: 980px) {
  .site-nav { background: var(--float-bg); -webkit-backdrop-filter: var(--float-blur); backdrop-filter: var(--float-blur); }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(5, 10, 26, 0.92); }
  .nav-list > li > a { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; }
}
@media (max-width: 640px) {
  .steps-row li, .steps-row li + li { border-top: 1px solid var(--glass-border); }
}
@media (prefers-reduced-transparency: reduce) {
  .card, .contact, .details, .rent-card, .pbox, .refs, .news-item, .pro-step, .callout, .visibility, .brand-card, .contact-cards a, .toc, .rev, .pkg, .duo-gift, .contact-form, .steps-row li, .cta-inner, .sub, .site-header, .site-nav, .site-footer, .lightbox {
    -webkit-backdrop-filter: none; backdrop-filter: none; background-color: #0d1630; background-image: none;
  }
}
@media (prefers-contrast: more) {
  .card, .contact, .details, .rent-card, .pbox, .refs, .news-item, .pro-step, .callout, .visibility, .brand-card, .contact-cards a, .rev, .pkg, .contact-form { border-color: rgba(255, 255, 255, 0.5); }
  :root { --paper-dim: #d3dae6; --paper-mute: #b4bfd2; }
}

/* =============================================================================================
   Buchungs-App-Stil – Werte 1:1 aus tauchschule-app (Tailwind-Klassen der Buchungsseiten):
   Schrift Geist, Text slate-300/400/500, Überschriften text-3xl/xl font-semibold, Karten
   rounded-2xl (1,5rem) Glas, Knöpfe rounded-xl bg-blue-600 px-5 py-2.5 text-sm font-semibold,
   Umschalter .seg, Auswahl-Zeilen .opt-row, Felder wie in der App, Fußzeile „Zur Verfügung
   gestellt von diveops“. Aufbau und Inhalte der Website bleiben unverändert.
   ============================================================================================= */
:root {
  --slate-200: #e2e8f0; --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569;
  --sky-400: #38bdf8; --teal-400: #2dd4bf; --amber-300: #fcd34d; --blue-500: #3b82f6; --blue-600: #2563eb;
  --paper: #e6eaf2; --paper-2: var(--slate-300); --paper-dim: var(--slate-400); --paper-mute: var(--slate-500);
  --sea: var(--sky-400); --chill: var(--sky-400);
  --r-lg: 0.8rem; --r-xl: 1.1rem; --r-2xl: 1.5rem;
  --radius: var(--r-2xl);
}
body { font-size: 15px; line-height: 1.6; letter-spacing: 0; color: var(--slate-300); }
h1, h2, h3 { color: #fff; font-weight: 600; }
h1 { font-size: clamp(1.875rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.014em; }
h3 { font-size: 1rem; line-height: 1.4; letter-spacing: 0; }
.small { font-size: 0.875rem; color: var(--slate-400); }
p { color: inherit; }
a { text-underline-offset: 4px; }
.lead, .start-lead, .profile-lead, .intro-p { font-size: 15px; line-height: 1.6; color: var(--slate-400); }
.page-hero .lead, .course-hero .lead { font-size: 1.0625rem; color: var(--slate-300); }
.eyebrow { font-size: 0.875rem; font-weight: 400; color: var(--slate-400); margin-bottom: 10px; }

/* Knöpfe wie „Weiter“/„Jetzt kaufen“ in der App */
.btn, .btn-lg, .btn-sm { min-height: 0; padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 600; line-height: 1.25rem; border-radius: var(--r-xl); gap: 6px; }
.btn-primary {
  background-color: var(--blue-600);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 10px 24px -10px rgba(37, 99, 235, 0.75);
}
.btn-primary:hover { background-color: var(--blue-500); }
.btn-quiet, .btn-glass { background-color: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-top-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-quiet:hover, .btn-glass:hover { background-color: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.24); }
.btn-block { width: 100%; }
.link-cta, .card-go, .duo-go, .contact-alt, .cat-tile-n { font-size: 0.875rem; font-weight: 500; color: var(--sky-400); }

/* Kopfzeile: wie BackToHome – Logo links, leise Links; Glas erst beim Scrollen */
.site-header { padding-top: 14px; padding-bottom: 14px; }
.site-header, .page-home .site-header:not(.scrolled) { background-color: transparent; background-image: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.scrolled {
  padding-top: 8px; padding-bottom: 8px;
  background-color: var(--chrome-bg); background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  -webkit-backdrop-filter: var(--float-blur); backdrop-filter: var(--float-blur);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -20px rgba(0, 0, 0, 0.9);
}
.brand .ks-logo { width: 226px; }                  /* Logo-Höhe 44px wie sm:h-11 */
.site-header.scrolled .brand .ks-logo { width: 186px; }
.nav-list a { font-size: 0.875rem; color: var(--slate-400); padding: 8px 10px; }
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-list > li > a[aria-current="page"] { color: #fff; }
.sub a { font-size: 0.875rem; color: var(--slate-300); }
.nav-cta { padding: 0.5rem 1rem; }
/* Über dem hellen Wasser des Einstiegs: helle Links, bis die Leiste zu Glas wird */
.page-home .site-header:not(.scrolled) .nav-list a { color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 8px rgba(0, 30, 60, 0.45); }
.page-home .site-header:not(.scrolled) .sub-toggle { color: rgba(255, 255, 255, 0.8); }

/* Karten wie die Startkarten der App: rounded-2xl, p-6, Titel font-semibold, Text text-sm slate-400 */
.card, .contact, .details, .rent-card, .pbox, .refs, .news-item, .pro-step, .callout, .visibility, .brand-card,
.toc, .rev, .pkg, .duo-gift, .contact-form, .steps-row li, .cta-inner, .logo-tile, .insta-card, .cat-tile, .duo-card, .frame, .m-item {
  border-radius: var(--r-2xl);
}
.card { padding: 24px; }
@media (hover: hover) {
  .card:hover, .brand-card:hover, .contact-cards a:hover, .pkg:hover, .duo-gift:hover, .logo-tile:hover { border-color: rgba(56, 189, 248, 0.4); }
}
.card h3 { font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.card p { font-size: 0.875rem; color: var(--slate-400); }
.card-top { margin-bottom: 10px; }
.agency, .card-cat { font-size: 0.75rem; }
.card-cat { color: var(--slate-500); }
.card-meta { font-size: 0.875rem; color: var(--slate-200); font-variant-numeric: tabular-nums; border-top-color: rgba(255, 255, 255, 0.07); }
.card-go { margin-top: 10px; }
.cat-tile-t { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.cat-tile-k { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }

/* Auswahl-Zeilen wie .opt-list/.opt-row (Preislisten, Kursdetails, Kontaktzeilen) */
.price-list li, .pbox-row, .contact-lines li a, .fact { border-color: rgba(255, 255, 255, 0.07); }
.price-list li { padding: 0.85rem 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.price-list li:first-child { border-top: 0; }
.pl-name, .pl-name a { font-size: 15px; color: #fff; text-decoration: none; }
.pl-name a:hover { color: var(--sky-400); }
.pl-dots { display: none; }
.pl-price { margin-left: auto; font-size: 15px; font-weight: 400; color: var(--slate-200); font-variant-numeric: tabular-nums; }
.rent-card { padding: 22px 24px 14px; }
.rent-card h2, .pbox h3, .details h2, .callout h2, .pro-step h2, .news-item h2 { font-size: 1.25rem; font-weight: 600; }
.rent-hl { background-color: rgba(37, 99, 235, 0.16); border-color: rgba(59, 130, 246, 0.45); }
.pbox-row span { color: #fff; font-size: 15px; }
.pbox-row b { font-weight: 400; color: var(--slate-200); font-size: 15px; }
.fact dt { font-size: 0.875rem; color: var(--slate-400); }
.fact dd { font-size: 15px; color: #fff; }
.fact-preis dd, .fact-preis-ab dd, .fact-pro-tag dd { font-size: 1.125rem; font-weight: 600; font-family: var(--sans); }
.inc li, .exc li { font-size: 0.875rem; color: var(--slate-300); }
.list-title { font-size: 0.875rem; font-weight: 500; color: #fff; }
.detail-note { font-size: 0.75rem; color: var(--slate-500); }
.ticks li { font-size: 15px; color: var(--slate-300); border-top-color: rgba(255, 255, 255, 0.07); }

/* Umschalter wie .seg in der App */
.filter { border-radius: var(--r-xl); padding: 4px; gap: 4px; background-color: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.chip { border-radius: var(--r-lg); padding: 0.375rem 0.875rem; font-size: 0.875rem; color: var(--slate-400); }
.chip.is-on { color: #fff; background-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }

/* Felder wie in der App */
.field { font-size: 0.875rem; font-weight: 400; color: var(--slate-300); gap: 4px; }
.field input, .field select, .field textarea {
  font-size: 15px; padding: 0.5rem 0.75rem; color: #fff;
  background-color: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-lg);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
.field input:focus, .field select:focus, .field textarea:focus {
  background-color: rgba(255, 255, 255, 0.1); border-color: rgba(56, 189, 248, 0.8);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(56, 189, 248, 0.2), 0 0 24px -4px rgba(56, 189, 248, 0.45);
}
.contact-form { padding: 24px 32px 28px; }
.contact-form h2 { font-size: 1.25rem; }
.check { font-size: 0.875rem; }
.check input { accent-color: var(--blue-500); }

/* Überschriften der Abschnitte ruhiger */
.welcome h2, .profile h2, .offer h2, .reviews-head h2, .partner-strip h2, .start-inner h2, .related h2, .cat-strip h2, .next-inner h2, .flow-inner h2, .packages h2, .chapter h2, .instructor-text h2, .two-col h2 { font-size: 1.5rem; }
.offer-sub { font-size: 1.125rem; }
.hero-claim { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 400; color: var(--slate-300); text-shadow: none; }
.duo-t { font-size: 1.5rem; font-weight: 600; }
.duo-p { font-size: 0.875rem; color: var(--slate-300); }
.contact > p:first-child { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: #fff; }
.rev blockquote { font-size: 0.875rem; color: var(--slate-300); }
.rev figcaption { font-size: 0.875rem; }
.pkg-price { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.02em; }
.pkg h3 { font-size: 1.125rem; }
.pkg li { font-size: 0.875rem; }
.steps-row h3 { font-size: 1rem; }
.steps-row p { font-size: 0.875rem; }
.chapter-text > p:not(.num), .welcome-text > p, .instructor-text > p, .two-col p, .csec p { font-size: 15px; color: var(--slate-300); }
.course-main .csec h2 { font-size: 1.25rem; }
.legal p, .legal li { font-size: 15px; color: var(--slate-300); }
.legal h1 { font-size: 1.875rem; }
.legal h2 { font-size: 1.25rem; }
.legal h3 { font-size: 1rem; }
.num { font-size: 0.875rem; }

/* Fußzeile wie SiteFooter der App */
.site-footer { margin-top: 48px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; color: var(--slate-400); }
.footer-inner { padding-top: 32px; }
.footer-title { color: #fff; font-weight: 500; }
.footer-col a { color: var(--slate-400); }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: var(--slate-400); }
.footer-legal { border-top: 0; padding-top: 4px; }
.footer-legal a { color: var(--slate-500); font-size: 0.75rem; text-decoration: underline; }
.footer-legal a:hover { color: var(--slate-400); }
.copyright { font-size: 0.75rem; color: var(--slate-600); }

/* Weich erscheinen wie .page-enter in der App */
@keyframes app-rise { from { opacity: 0; transform: translateY(8px); } }
main > section:first-child .page-hero-inner, main > section:first-child .course-hero-inner { animation: app-rise 0.5s var(--ease-out) backwards; }

/* =============================================================================================
   App-Rahmen – Seitenaufbau wie die Buchungsseiten der App: schmale, zentrierte Spalte
   (max-w-3xl für Kursseiten, max-w-5xl sonst), schlichte Überschrift statt Foto-Kopf,
   Inhalt in einem Glas-Körper (rounded-3xl), Fotos als abgerundete Bilder in der Spalte.
   ============================================================================================= */
:root { --max: 1024px; --col: 768px; }

/* Seitenköpfe: Überschrift + Einleitung, Foto darunter als Bild */
.page-hero, .course-hero { overflow: visible; isolation: auto; margin: 0; }
.page-hero::before, .course-hero::before, .page-hero::after, .course-hero::after { display: none; }
.page-hero-inner, .course-hero-inner { max-width: var(--col); padding: 40px 20px 0; animation: none; }
.page-hero-inner > *, .course-hero-inner > * { max-width: none; }
.page-hero-inner::after, .course-hero-inner::after {
  content: ""; display: block; aspect-ratio: 16 / 7; margin-top: 28px;
  border-radius: var(--r-2xl); background: var(--hero) center / cover;
  border: 1px solid var(--glass-border); border-top-color: var(--glass-border-top);
  box-shadow: var(--glass-rim), var(--glass-shadow);
}
.page-hero-inner { max-width: var(--max); }
.page-hero-inner::after { aspect-ratio: 21 / 8; }
.page-hero h1, .course-hero h1 { font-size: 1.875rem; margin-bottom: 8px; }
.page-hero .lead { max-width: 46rem; }
.page-hero .lead, .course-hero .lead { margin: 0 0 16px; font-size: 15px; color: var(--slate-400); }
.page-hero .lead-2 { margin-top: -6px; }
.crumbs { margin-bottom: 18px; font-size: 0.875rem; }
.crumbs a { color: var(--slate-400); }
.crumbs a:hover { color: #fff; text-decoration: none; }
.page-hero .actions, .course-hero .actions { margin-top: 4px; }
.count-line b { font-size: 1.125rem; font-weight: 600; color: #fff; }

/* Kursseite: eine Spalte, Inhalt im Glas-Körper, Kursdetails darunter */
.course-body { max-width: var(--col); grid-template-columns: 1fr; gap: 20px; padding: 24px 20px 32px; }
.course-main {
  padding: 8px 32px 24px; border-radius: var(--r-2xl);
  background-color: rgba(9, 16, 38, 0.55); background-image: var(--glass-sheen);
  border: 1px solid var(--glass-border); border-top-color: var(--glass-border-top);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-rim), var(--glass-shadow);
}
.course-main > .intro-p:first-child { margin-top: 24px; }
.csec { padding: 24px 0; border-bottom-color: rgba(255, 255, 255, 0.07); }
.course-aside { position: static; }
/* kein Glas auf Glas (Skill): Hinweise im Körper als ruhige Fläche */
.course-main .callout, .course-main .sec-note { -webkit-backdrop-filter: none; backdrop-filter: none; background-image: none; box-shadow: none; }
.course-main .callout { background-color: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1); }
.course-pics { gap: 12px; }
.course-pics .frame { border-radius: var(--r-xl); }
.next-steps .next-inner, .related { max-width: var(--col); }
.next-inner { padding: 48px 20px 24px; }
.related { padding-top: 48px; }
.related .cards-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Übrige Seiten: Spalten wie in der App, kompaktere Abstände */
.news-list, .legal { max-width: var(--col); }
.welcome, .offer, .duo, .partner-strip, .cards-section, .cat-strip, .prose-wide, .rental, .chapters, .partner-grid-section, .contact-page, .brands, .flow-inner, .packages-inner, .profile-inner, .instructor-inner, .start-inner { padding-top: 56px; padding-bottom: 56px; }
.welcome { gap: 40px; }
.instructor { background: none; border: 0; }
.chapter { padding: 48px 0; gap: 40px; }
.marquee { padding: 8px 0 40px; }
.reviews { padding: 56px 0; }
.reviews-head { max-width: var(--max); }
.start-inner { padding-bottom: 72px; }
.cta-band { max-width: var(--max); }

@media (max-width: 980px) {
  .related .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero-inner, .course-hero-inner { padding-top: 28px; }
  .page-hero-inner::after, .course-hero-inner::after { aspect-ratio: 16 / 9; margin-top: 22px; }
  .course-main { padding: 4px 20px 16px; }
}

/* --- Startseite: Kacheln in zwei Reihen (4 oben, Tec + Rebreather mittig darunter) --- */
@media (min-width: 900px) {
  .cat-tiles-home { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .cat-tiles-home .cat-tile { grid-column: span 2; }
  .cat-tiles-home .cat-tile-low:nth-last-child(2) { grid-column: 3 / span 2; }
}
@media (min-width: 641px) and (max-width: 899px) {
  .cat-tiles-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Startseite: eigenes Video als unterste Ebene der Abtauch-Szene ---
   Beim Scrollen legt sich .hero-dark (z -3) darüber: das Video geht in die Abtauch-Szene über. */
.hv-layer { position: absolute; inset: 0; z-index: -4; overflow: hidden; }
.hv-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(calc(1 + var(--p) * 0.12)); transform-origin: 50% 60%; }
/* Abdunkeln: oben für die Navigation, unten für die Wellenkante, Mitte leicht für die Schrift */
.hv-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(3, 6, 15, 0.55) 0%, rgba(3, 6, 15, 0.12) 22%, rgba(3, 6, 15, 0.18) 60%, rgba(5, 10, 26, 0.85) 100%),
  radial-gradient(ellipse 70% 55% at 50% 50%, rgba(3, 6, 15, 0.38), transparent 75%); }
.hero-has-video .rays { display: none; }
.hero-has-video .hero-sticky { background: #071633; }
.hero-has-video .hero-claim { color: #e6eefb; text-shadow: 0 2px 24px rgba(0, 10, 30, 0.6); }
.hv-toggle { position: absolute; right: 20px; bottom: 24px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(5, 10, 26, 0.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; cursor: pointer; transition: transform 100ms ease-out, background-color 0.15s; }
.hv-toggle:hover { background: rgba(5, 10, 26, 0.65); }
.hv-toggle:active { transform: scale(0.94); }
.hv-toggle:focus-visible { outline: 2px solid var(--sky-400, #38bdf8); outline-offset: 2px; }
.hv-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hv-toggle .hv-play { display: none; fill: currentColor; stroke-width: 1.5; }
.hv-toggle[aria-pressed="true"] .hv-pause { display: none; }
.hv-toggle[aria-pressed="true"] .hv-play { display: inline; }
@media (prefers-reduced-motion: reduce) { .hv-media { transform: none; } }
@media (max-width: 640px) { .hv-toggle { right: 14px; bottom: 16px; } }

/* „Bock auf Blubbern?“: ein Block, ein Knopf */
.start-inner.start-solo { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.start-solo .start-lead { max-width: 38em; margin-left: auto; margin-right: auto; }
.start-solo .btn { margin-top: 24px; }

/* --- News/Blog --- */
.news-item.has-img { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.news-img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
@media (hover: hover) { .news-item:hover .news-img img { transform: scale(1.04); } }
.news-item h2 a { color: inherit; text-decoration: none; }
.news-item h2 a:hover { color: var(--sky-400, #38bdf8); }
.news-item .news-body p { margin-bottom: 10px; }
.news-more { font-size: 0.875rem; font-weight: 500; color: var(--sky-400, #38bdf8); text-decoration: none; }
.news-empty { color: var(--paper-dim); }
@media (max-width: 640px) { .news-item.has-img { grid-template-columns: 1fr; gap: 14px; } .news-img { aspect-ratio: 16 / 9; } }

.post-inner { max-width: var(--col, 768px); margin: 0 auto; padding: 40px 20px 64px; }
.post time { display: block; margin-top: 18px; font-size: 0.875rem; color: var(--sky-400, #38bdf8); font-weight: 500; }
.post h1 { margin: 6px 0 22px; }
.post-img { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border, rgba(120, 160, 255, 0.14)); }
.post-img img { display: block; width: 100%; height: auto; }
.post-text { font-size: 1.05rem; line-height: 1.75; color: var(--paper-2, #cbd5e1); }
.post-text a { color: var(--sea); text-underline-offset: 3px; word-break: break-word; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 24px; }
.post-nav a { display: block; padding: 14px 16px; border-radius: 12px; text-decoration: none; color: var(--paper); background: var(--glass-tint, rgba(9, 16, 38, 0.5)); border: 1px solid var(--glass-border, rgba(120, 160, 255, 0.14)); font-weight: 500; }
.post-nav a span { display: block; font-size: 0.75rem; color: var(--paper-mute); font-weight: 400; margin-bottom: 2px; }
.post-nav .post-older { text-align: right; }
@media (hover: hover) { .post-nav a:hover { border-color: rgba(56, 189, 248, 0.4); } }

/* --- Startseite: SDI/TDI (früher im Rob-Abschnitt) --- */
.sdi-home-inner { max-width: var(--max); margin: 0 auto; padding: 72px 20px 8px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: 48px; align-items: center; }
.sdi-home-text h2 { margin-top: 0; }
.sdi-home-text p:not(.rob-tags) { color: var(--paper-dim); }
.sdi-home-text a { color: var(--sea); text-underline-offset: 3px; }
.sdi-home .sdi-logo { justify-self: center; width: 100%; max-width: 280px; margin: 0; }
@media (max-width: 760px) {
  .sdi-home-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; }
  .sdi-home .sdi-logo { justify-self: start; max-width: 220px; }
}

/* --- Team (Profile aus diveops) --- */
.avatar { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--slate-800, #1e293b); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 28px -14px rgba(0, 0, 0, 0.8); }
.avatar-empty { display: grid; place-items: center; font-weight: 600; font-size: 1.6rem; letter-spacing: 0.02em; color: var(--slate-300, #cbd5e1); background: linear-gradient(160deg, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.9)); }
.avatar-lg { width: 128px; height: 128px; }
.avatar-xl { width: 168px; height: 168px; }
.avatar-lg.avatar-empty { font-size: 2rem; }
.avatar-xl.avatar-empty { font-size: 2.6rem; }

.team-home { max-width: var(--max); margin: 0 auto; padding: 72px 20px; }
.team-home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.team-home-head h2 { margin: 0; }
.team-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 36px; }
.team-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 140px; text-align: center; text-decoration: none; color: var(--paper); }
.team-chip .avatar { width: 112px; height: 112px; margin-bottom: 10px; transition: transform 0.35s var(--ease-out), box-shadow 0.25s; }
.team-chip-name { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }
.team-chip-title { font-size: 0.8rem; color: var(--paper-dim); line-height: 1.35; }
@media (hover: hover) {
  .team-chip:hover .avatar { transform: translateY(-3px); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.55), 0 16px 30px -14px rgba(0, 0, 0, 0.8); }
}
.team-chip:active .avatar { transform: scale(0.97); transition-duration: 0.1s; }

.team-section { max-width: var(--max); margin: 0 auto; padding: 32px 20px 72px; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.team-grid > .team-card { flex: 0 1 300px; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 22px 22px; border-radius: var(--radius); text-decoration: none; color: var(--paper);
  background: var(--glass-tint, rgba(9, 16, 38, 0.5)); border: 1px solid var(--glass-border, rgba(120, 160, 255, 0.14)); box-shadow: var(--glass-rim), var(--glass-shadow); transition: border-color 0.2s, transform 0.1s ease-out; }
.team-card .avatar { margin-bottom: 12px; }
.team-name { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.team-title { font-size: 0.85rem; color: var(--sky-400, #38bdf8); }
.team-bio { font-size: 0.875rem; line-height: 1.55; color: var(--paper-dim); margin-top: 6px; }
.team-more { margin-top: auto; padding-top: 12px; font-size: 0.875rem; font-weight: 500; color: var(--sky-400, #38bdf8); }
@media (hover: hover) { .team-card:hover { border-color: rgba(56, 189, 248, 0.4); } }
.team-card:active { transform: scale(0.985); }
.team-soon { color: var(--paper-dim); }
.team-sdi { max-width: var(--col, 768px); margin: 56px auto 0; color: var(--paper-dim); }
.team-sdi a { color: var(--sea); }
.team-others { padding-top: 0; }
.team-others h2 { text-align: center; margin-bottom: 24px; font-size: 1.25rem; }

.person-inner { max-width: var(--col, 768px); margin: 0 auto; padding: 40px 20px 56px; }
.person-head { display: flex; align-items: center; gap: 28px; margin: 18px 0 28px; }
.person-head h1 { margin: 0; }
.person-title { margin: 6px 0 0; color: var(--sky-400, #38bdf8); font-weight: 500; }
.person-bio { font-size: 1.05rem; line-height: 1.7; color: var(--paper-2, #cbd5e1); }
.person-certs { margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: var(--glass-tint, rgba(9, 16, 38, 0.5)); border: 1px solid var(--glass-border, rgba(120, 160, 255, 0.14)); }
.person-certs h2 { margin: 0 0 10px; font-size: 1rem; }
.person-certs ul { margin: 0; padding-left: 1.1em; columns: 2 220px; column-gap: 28px; color: var(--paper-2, #cbd5e1); }
.person-certs li { break-inside: avoid; padding: 3px 0; }
.person .actions { margin-top: 28px; }
@media (max-width: 640px) {
  .person-head { flex-direction: column; text-align: center; gap: 16px; }
  .team-strip { gap: 22px 12px; }
  .team-chip { width: calc(50% - 6px); }
  .team-chip .avatar { width: 96px; height: 96px; }
}

/* --- Bewegung reduzieren: alles ruhig -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .vis-bar { clip-path: none; }
  .shark, .fish, .rays, .cursor-bubble, .ks-logo-bubbles { display: none; }
  .dive-profile .line { stroke-dashoffset: 0; }
  .profile-stops li { opacity: 1; }
  .marquee-track, .rev-track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 20px; }
  .marquee-track > [aria-hidden="true"], .rev-track > [aria-hidden="true"] { display: none; }
  .page-hero::before, .course-hero::before { transform: none; }
  main > section:first-child .page-hero-inner, main > section:first-child .course-hero-inner { animation: none; }
  .dive-stage-1, .dive-stage { transform: none !important; }
}

/* ---------------------------------------------------------------------------------------------
   Hinweis „Buddy-Check“ (keine Einwilligung, nur Information; siehe build.mjs / script.js)
   --------------------------------------------------------------------------------------------- */
.dive-check {
  position: fixed; z-index: 55; left: 20px; bottom: 20px; width: min(360px, calc(100vw - 40px));
  padding: 18px 20px 20px; border-radius: 22px; color: var(--paper);
  background-color: rgba(9, 16, 38, 0.72); background-image: var(--glass-sheen);
  border: 1px solid var(--glass-border); border-top-color: var(--glass-border-top);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-rim), var(--glass-shadow);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.dive-check[hidden] { display: none; }
.dive-check.is-in { opacity: 1; transform: none; }
.dive-check.is-out { opacity: 0; transform: translateY(12px); transition-duration: 0.2s; transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.dc-title { margin: 0 0 12px; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.dc-title span { display: block; margin-bottom: 2px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.01em; color: var(--chill); }
.dc-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: 0.92rem; }
.dc-list li { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.dc-list svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(56, 189, 248, 0.16); }
.dc-list path { fill: none; stroke: var(--chill); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 0.35s var(--ease-out); }
.dive-check.is-in .dc-list li { opacity: 1; transform: none; }
.dive-check.is-in .dc-list path { stroke-dashoffset: 0; }
.dive-check.is-in .dc-list li:nth-child(1), .dive-check.is-in .dc-list li:nth-child(1) path { transition-delay: 0.25s; }
.dive-check.is-in .dc-list li:nth-child(2), .dive-check.is-in .dc-list li:nth-child(2) path { transition-delay: 0.37s; }
.dive-check.is-in .dc-list li:nth-child(3), .dive-check.is-in .dc-list li:nth-child(3) path { transition-delay: 0.49s; }
.dc-text { margin: 0 0 14px; font-size: 0.84rem; line-height: 1.5; color: var(--paper-dim); }
.dc-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dc-actions a { font-size: 0.86rem; color: var(--sea); }
.dc-bubble { position: fixed; z-index: 56; pointer-events: none; border-radius: 50%; border: 1.5px solid rgba(160, 225, 255, 0.8); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 55%); animation: dc-rise 0.9s cubic-bezier(0.3, 0.6, 0.4, 1) forwards; }
@keyframes dc-rise { to { transform: translate(var(--dx), -140px) scale(1.15); opacity: 0; } }
@media (max-width: 600px) {
  .dive-check { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; padding: 14px 16px; border-radius: 20px; }
  .dc-title { margin-bottom: 8px; font-size: 1rem; }
  .dc-list { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; font-size: 0.82rem; }
  .dc-list li { gap: 6px; }
  .dc-list svg { width: 16px; height: 16px; padding: 2px; }
  .dc-list li:nth-child(2) { order: 3; }
  .dc-text { display: none; }
}
body.nav-open .dive-check { display: none; }
html.kse-editing .dive-check { display: none; }
@media (prefers-reduced-motion: reduce) {
  .dive-check, .dive-check.is-out { transform: none; }
  .dc-list li { transform: none; }
  .dc-list path { stroke-dashoffset: 0; transition: none; }
  .dc-bubble { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .dive-check { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0d1630; }
}
@media (prefers-contrast: more) {
  .dive-check { border-color: var(--paper); }
}
main:focus { outline: none; }

/* ---------------------------------------------------------------------------------------------
   Mobiles Menü auch nach dem Scrollen in voller Höhe: Beim Scrollen bekommt die Kopfzeile ihr Glas
   (backdrop-filter). Ein Element mit backdrop-filter wird zum Bezugsrahmen für position: fixed
   darin – das aufgeklappte Menü (#site-nav, fixed, inset 0) wurde so auf die Kopfzeilenhöhe
   beschnitten. Solange das Menü offen ist, braucht die Kopfzeile kein Glas: das Menü deckt alles ab.
   --------------------------------------------------------------------------------------------- */
body.nav-open .site-header, body.nav-open .site-header.scrolled {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
