:root {
  --new-green: #2fd27a; --new-green-ink: #022312;
  --bg: #03101a;
  --bg-2: #061a28;
  --surface: rgba(255, 255, 255, 0.04);
  --line: rgba(160, 210, 230, 0.14);
  --text: #e8f1f5;
  --muted: #8ea6b3;
  --accent: #4fb6ec;
  --accent-ink: #04182b;
  --radius: 18px;
  --wrap: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-2: #c3d5de;
  --nav-bg: rgba(3, 16, 26, 0.94);
  --nav-solid: rgba(3, 16, 26, 0.97);
  --glow: #0b3247;
  --accent-hover: #86cdf3;
  --shadow: rgba(0, 0, 0, .8);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --new-green: #0f9d58; --new-green-ink: #ffffff;
  --bg: #f4f7f9;
  --bg-2: #e6eef2;
  --surface: rgba(8, 40, 60, 0.035);
  --line: rgba(8, 40, 60, 0.13);
  --text: #0a1c27;
  --text-2: #2c4352;
  --muted: #546b79;
  --accent: #1f86cc;
  --accent-ink: #ffffff;
  --accent-hover: #1a71ad;
  --nav-bg: rgba(244, 247, 249, 0.96);
  --nav-solid: rgba(244, 247, 249, 0.98);
  --glow: #cfe7ef;
  --shadow: rgba(10, 40, 60, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 50% -200px, var(--glow) 0%, transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: 1180px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); border-bottom: 1px solid var(--line); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.brand, .prefs { flex-shrink: 0; }
.nav__links a:hover { color: var(--text); }
.nav__links { align-items: center; }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__cta a.btn { color: var(--accent-ink); }
.nav__toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--nav-solid); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open nav { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav__links li a { display: block; padding: 12px 4px; font-size: 1rem; }
  .nav__cta { margin-top: 8px; }
  .nav__cta a.btn { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn--small { min-height: 36px; padding: 0 16px; font-size: .9rem; }
.btn--large { min-height: 54px; padding: 0 30px; font-size: 1.05rem; margin: 10px 0 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero__figure { margin-top: 56px; }

/* Before / after slider */
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .88rem; margin-top: 12px; }
figcaption strong { color: var(--text); font-weight: 600; }
.hero figcaption { text-align: center; }

.ba { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--bg-2); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .9); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(3, 16, 26, .7); border: 2px solid rgba(255, 255, 255, .9); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.ba__handle span::before { left: 7px; border-right-color: #fff; }
.ba__handle span::after { right: 7px; border-left-color: #fff; }
.ba__label { position: absolute; top: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(3, 16, 26, .72); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba__label--l { left: 14px; }
.ba__label--r { right: 14px; color: var(--accent); }
/* Range input: keyboard + screen reader control, visually hidden */
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.ba--hero { border-radius: 22px; }
.ba.is-hinting .ba__before, .ba.is-hinting .ba__handle { transition: clip-path .9s cubic-bezier(.4, 0, .2, 1), left .9s cubic-bezier(.4, 0, .2, 1); }

/* Sections */
.section { padding: 110px 0; }
.section--tint { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.display { font-size: clamp(1.9rem, 4vw, 3rem); }
.intro p { color: var(--text-2); font-size: 1.08rem; }
.intro .display { margin-bottom: 1em; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }


@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; gap: 36px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 30px 28px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.feature-note { color: var(--muted); margin-top: 22px; font-size: .95rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: 2.2fr 1fr; gap: 28px; align-items: start; }
.showcase img { border-radius: 14px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } .showcase__side { max-width: 360px; } }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.split p { color: var(--text-2); }
.cards { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 24px 26px; }
.card p, .card li { color: var(--muted); font-size: .97rem; }
.card ul { margin: 0; padding-left: 1.1em; }
.card li + li { margin-top: 6px; }
.card p { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.cta { padding: 130px 0; }
.reqs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 36px 0 0; }
.reqs li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer__meta { text-align: right; }
.footer__meta p { margin: 0 0 .35em; }
.brand--footer { margin: 0 0 .3em; }
@media (max-width: 600px) { .footer__meta { text-align: left; } }

/* Subtle reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .section { padding: 80px 0; }
  .cta { padding: 96px 0; }
}

/* Facts strip */
.facts { padding: 10px 0 30px; }
.facts__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts__row > div { background: var(--bg); padding: 22px 22px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.02em; color: var(--accent); }
.facts span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .facts__row { grid-template-columns: repeat(2, 1fr); } }

/* Feature spotlights */
.spot { display: grid; grid-template-columns: 1fr 1.55fr; gap: 56px; align-items: center; margin: 0 0 110px; }
.spot--flip { grid-template-columns: 1.55fr 1fr; }
.spot--flip .spot__text { order: 2; }
.spot h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 650; letter-spacing: -0.02em; }
.spot__text p { color: var(--text-2); }
.spot__media img { border-radius: 14px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.spot__media figcaption { margin-top: 12px; }
.spot__media--panel { position: relative; padding-right: 12%; }
.spot__inset { position: absolute; right: 0; bottom: -28px; width: 30%; }
.spot__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.spot__media--duo img:last-child { margin-top: 40px; }
.spot__media--logbook { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: center; }
.spot__media--logbook figcaption { grid-column: 1 / -1; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.more { display: inline-block; font-weight: 600; text-decoration: none; margin-top: 4px; }
.more:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .spot, .spot--flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 80px; }
  .spot--flip .spot__text { order: 0; }
  .spot__media--panel { padding-right: 0; }
  .spot__media--panel img:first-child { display: none; }
  .spot__inset { position: static; width: 100%; max-width: 340px; margin: 0 auto; }
  .spot__media--duo { grid-template-columns: 1fr; }
  .spot__media--duo img:last-child { margin-top: 0; }
}

.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.tabs__list button { font: inherit; font-size: .88rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.tabs__list button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.tabs__list button:hover { color: var(--text); }
.tabs__list button[aria-selected="true"]:hover { color: var(--accent-ink); }

.also { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--surface); }
.also ul { columns: 2; column-gap: 40px; padding-left: 1.1em; margin: 0 0 8px; color: var(--muted); }
.also li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 700px) { .also ul { columns: 1; } .also { padding: 24px; } }

.footer__links { margin-top: .6em; }
.footer__links a { color: var(--muted); }

/* Sub pages */
.page-head { padding: 72px 0 24px; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.chips { position: sticky; top: 61px; z-index: 40; background: var(--nav-bg); border-bottom: 1px solid var(--line); }
.chips__row { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.chips__row::-webkit-scrollbar { display: none; }
.chips a { flex: none; font-size: .86rem; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.chips a:hover, .chips a.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
html:has(.chips) { scroll-padding-top: 130px; }

.fl { padding-top: 40px; padding-bottom: 60px; }
.fl__sec { padding: 56px 0; border-bottom: 1px solid var(--line); }
.fl__sec:last-child { border-bottom: 0; }
.fl__sec h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.fl__intro { color: var(--text-2); max-width: 760px; font-size: 1.05rem; }
.fl__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fl__list li { background: var(--bg); padding: 20px 22px; color: var(--muted); font-size: .96rem; }
.fl__list strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 760px) { .fl__list { grid-template-columns: 1fr; } }
.fl__shot { margin: 28px 0 8px; }
.fl__shot img, .fl__duo img, .fl__overlays img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.fl__shot--narrow { max-width: 340px; }
.fl__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 8px; align-items: start; }
.fl__overlays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 10px; }
.fl__overlays figcaption { text-align: center; margin-top: 8px; }
@media (max-width: 760px) { .fl__duo, .fl__overlays { grid-template-columns: 1fr; } }

.road { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 30px 0 40px; }
.road__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.road__col h2 { font-size: 1.3rem; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.road__col h2 .muted { font-weight: 400; font-family: var(--font); letter-spacing: 0; }
.road__col ul { list-style: none; padding: 0; margin: 18px 0 14px; }
.road__col li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.road__col li strong { display: block; color: var(--text); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.road__col--done .dot { background: #5fd38d; box-shadow: 0 0 10px #5fd38d; }
.road__col--now .dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.road__col--next .dot { background: #8fa8ff; }
.road__col--ideas .dot { background: transparent; border: 2px solid var(--muted); }
@media (max-width: 760px) { .road { grid-template-columns: 1fr; } .road__col { padding: 22px; } }
.fl__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Language + theme switches */
.prefs { display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.prefs button { font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .04em; height: 32px; min-width: 32px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.prefs button:hover { color: var(--text); }
.prefs .lang b { color: var(--text); font-weight: 700; }
.prefs svg { width: 16px; height: 16px; }
.prefs .theme .sun { display: none; }
:root[data-theme="light"] .prefs .theme .sun { display: block; }
:root[data-theme="light"] .prefs .theme .moon { display: none; }
@media (max-width: 860px) { .prefs { margin-left: auto; } .nav__toggle { margin-left: 6px; } }
:root[data-theme="light"] .ba__label { color: #e8f1f5; }
:root[data-theme="light"] .ba__label--r { color: #86cdf3; }
:root[data-theme="light"] .facts strong { color: var(--accent); }

/* Scrolling performance: isolate each slider, keep the page compositing cheap */
.ba { contain: layout paint; }
.ba img { will-change: auto; }
.reveal { will-change: auto; }

/* Hero: species lookup + dive data, like the ⓘ button in the app */
.hero-tools { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 10px; z-index: 3; }
.hero-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(4, 50, 64, .82); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.35); transition: transform .15s ease, background .15s ease; }
.hero-btn svg { width: 24px; height: 24px; }
.hero-btn:hover { transform: scale(1.06); background: rgba(6, 80, 98, .9); }
.hero-btn[aria-expanded="true"] { background: #4fb6ec; color: #04182b; }
/* Both buttons blink gently until they have been clicked once (they are the features people should try) */
.hero-btn:not(.is-seen) { animation: pulse 2.4s ease-out 1.2s infinite; }
.hero-btn--info:not(.is-seen) { animation-delay: 2.4s; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79,182,236,.75), 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.35); background: rgba(4, 50, 64, .82); }
  25% { background: rgba(20, 110, 140, .92); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(79,182,236,0), 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.35); background: rgba(4, 50, 64, .82); }
}
.hero-btn[aria-expanded="true"] { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero-btn:not(.is-seen) { animation: none; } }
.hero-card, .dive-ov { position: absolute; right: 16px; bottom: 76px; z-index: 3; color: #eef6f9; cursor: default; }
.hero-card { width: min(360px, calc(100% - 32px)); padding: 16px 18px; border-radius: 16px; background: rgba(10, 28, 38, .9); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 16px 40px rgba(0,0,0,.45); font-size: .9rem; }
.hero-card p { margin: 0 0 6px; }
.hero-card__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #a9c3cf; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-card .tag { text-transform: none; letter-spacing: 0; font-size: .75rem; color: #5fd38d; background: rgba(95,211,141,.14); padding: 2px 9px; border-radius: 999px; }
.hero-card__name { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
.hero-card__alt { color: #a9c3cf; }
.hero-card__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #cfe0e7; font-size: .84rem; }
.hero-card__info { color: #e3eef2; }
.hero-card__warn { color: #ffb347; }
.hero-card__note { color: #7f9aa6; font-size: .74rem; margin: 8px 0 0 !important; }
@media (max-width: 600px) {
  .hero-btn { width: 40px; height: 40px; } .hero-btn svg { width: 20px; height: 20px; }
  .hero-tools { right: 10px; bottom: 10px; }
  .hero-card, .dive-ov { right: 10px; bottom: 58px; font-size: .78rem; padding: 12px 14px; }
  .hero-card__name { font-size: 1.05rem; } .hero-card__info { display: none; }
}

/* Before/after clips */
.section--tight { padding-top: 40px; }
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.clips video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { .clips { grid-template-columns: repeat(2, 1fr); } }

/* DepthLight wordmark: „Depth“ semibold, „Light“ regular in azure */
.brand__icon { width: 36px; height: 36px; display: block; }
.wordmark { font-weight: 600; letter-spacing: -0.01em; }
.wordmark span { font-weight: 400; color: var(--accent); }

/* Dive data overlay (hero) */
.dive-ov { width: min(340px, calc(100% - 32px)); min-width: 0; padding: 16px 18px 14px; border-radius: 18px; background: linear-gradient(160deg, rgba(16, 52, 70, .62), rgba(3, 18, 28, .8)); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(160, 220, 240, .18), 0 18px 44px rgba(0,0,0,.45); }
.dive-ov p { margin: 0; }
.dive-ov__eyebrow { display: flex; align-items: center; justify-content: space-between; font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #86cdf3; }
.dive-ov__sample { letter-spacing: .02em; text-transform: none; font-weight: 500; color: #a9c3cf; background: rgba(255,255,255,.08); padding: 2px 8px; border-radius: 999px; }
.dive-ov__site { margin-top: 6px !important; font-size: 1.22rem; font-weight: 650; letter-spacing: -0.01em; color: #fff; }
.dive-ov__sub { display: flex; gap: 12px; font-size: .8rem; color: #a9c3cf; }
.dive-ov__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 10px; padding: 10px 0; border-top: 1px solid rgba(160,220,240,.16); border-bottom: 1px solid rgba(160,220,240,.16); }
.dive-ov__stats b { display: block; font-size: 1.15rem; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.dive-ov__stats small { font-size: .7rem; font-weight: 500; color: #a9c3cf; }
.dive-ov__stats span { display: block; margin-top: 2px; font-size: .66rem; color: #a9c3cf; line-height: 1.2; }
.dive-ov__stats p:nth-child(2) b { color: #ffd166; }
.dive-ov__chart { position: relative; height: 64px; transform: none; }
.dive-ov__profile { width: 100%; height: 64px; display: block; }
.dive-ov__mark { position: absolute; top: -2px; transform: translateX(6px); font-size: .66rem; color: #ffd166; font-weight: 600; }
.dive-ov__cam { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px !important; font-size: .74rem; color: #cfe0e7; }
.dive-ov__note { margin-top: 8px !important; font-size: .68rem; line-height: 1.4; color: #8fa9b5; text-align: left; max-width: none; }
@media (max-width: 640px) {
  .dive-ov { width: calc(100% - 20px); padding: 12px 14px; }
  .dive-ov__stats b { font-size: .98rem; }
  .dive-ov__chart, .dive-ov__profile { height: 44px; }
  .dive-ov__note, .dive-ov__cam { display: none; }
}

/* Photo in "For photographers" */
.ph-photo { margin: 24px 0 8px; }
.ph-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.ph-photo figcaption { margin-top: 8px; font-size: .8rem; color: var(--muted); }

/* ===== Startseite v4: Community & Funktionen einzeln erklärt ===== */
.slogan { font-size: clamp(2.8rem, 7.5vw, 5.6rem); background: linear-gradient(100deg, var(--text) 30%, var(--accent) 70%, #ffd166 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.facts__row--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .facts__row--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .facts__row--5 { grid-template-columns: repeat(2, 1fr); } }
.card--step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.card--step h3 { margin-bottom: .3em; }
.step { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-family: var(--font-display); }
.tour .spot { margin-bottom: 120px; scroll-margin-top: 130px; }
.tour .also, .tour .gallery { scroll-margin-top: 130px; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .8em; }
.status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .04em; text-transform: none; font-weight: 600; border: 1px solid currentColor; }
.status--ready { color: #5fd3a0; }
.status--beta { color: #ffd166; }
.status--new { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.note { border-left: 3px solid #ffd166; padding: 6px 0 6px 14px; color: var(--muted) !important; font-size: .95rem; }
.gallery--compact { margin: -40px 0 14px; }
.gallery__note { margin: 0 0 120px; }
.duo-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: -50px 0 120px; }
.duo-shots img { border-radius: 14px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.duo-shots figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .duo-shots { grid-template-columns: 1fr; } }
.spot__media--narrow { max-width: 420px; justify-self: center; }
.clips--two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clips--two video { width: 100%; height: auto; border-radius: 12px; }
.clips--app figure { margin: 0; }
.clips--app video { display: block; width: 100%; height: auto; border-radius: 12px; aspect-ratio: 1280 / 784; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.clips--app .cap { margin-top: 10px; }
.vplay { position: relative; }
.vplay__btn { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10, 20, 30, .62); box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 8px 24px rgba(0,0,0,.35); transition: transform .15s ease, background .15s ease; }
.vplay__btn::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.vplay__btn:hover, .vplay__btn:focus-visible { transform: scale(1.08); background: var(--accent, #3aa8e8); }
.vplay.is-playing .vplay__btn { display: none; }
.vplay.is-loading .vplay__btn::after { left: 50%; top: 50%; width: 30px; height: 30px; margin: -17px 0 0 -17px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: vspin .8s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .clips--app { grid-template-columns: 1fr; } }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--3 { grid-template-columns: 1fr; } }
.cards--3 + .center { margin-top: 28px; }
.living { max-width: 620px; margin: 18px auto 0; }
.cta-row.center { justify-content: center; }
.home-chips { top: 61px; }
[hidden] { display: none !important; }
.lead--small { font-size: 1.05rem; color: var(--muted); margin-top: -4px; }
/* Feature-Übersicht: Kacheln mit Icon, umbrechend */
.overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.overview a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.overview a:hover { transform: translateY(-2px); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.overview__icon { grid-row: 1 / 3; font-size: 1.7rem; line-height: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.overview b { font-size: .98rem; line-height: 1.25; }
.overview small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
/* Große Funktionsblöcke: Text oben, Bilder in voller Breite */
.feature { margin: 0 0 120px; scroll-margin-top: 90px; }
.feature h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 650; letter-spacing: -0.02em; }
.feature__cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.feature__cols p { color: var(--text-2); margin-top: 0; }
@media (max-width: 860px) { .feature__cols { grid-template-columns: 1fr; gap: 8px; } }
.feature__media--hero { margin: 28px 0 0; }
.feature__media--hero img, .feature__media--two img, .pages img { border-radius: 14px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.feature__media--hero figcaption, .feature__media--two figcaption, .pages figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.feature__media--two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.feature__media--two figure { margin: 0; }
@media (max-width: 760px) { .feature__media--two { grid-template-columns: 1fr; } }
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 28px 0 14px; }
.pages figure { margin: 0; text-align: center; }
@media (max-width: 760px) { .pages { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }
.feature--compact { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--surface); }
.feature--compact .note { margin-bottom: 0; }
.wide-shot { margin: -60px auto 120px; max-width: 820px; }
.wide-shot img { border-radius: 14px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.wide-shot figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; }
/* Hero-Bild 20 % kleiner, Arten-Steckbriefe kompakter nebeneinander */
.hero__figure.wrap--wide { max-width: min(80%, 944px); }
@media (max-width: 760px) { .hero__figure.wrap--wide { max-width: 100%; } }
#critters .feature__media--two { max-width: 820px; margin-left: auto; margin-right: auto; align-items: start; }
.pair-small { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: -70px auto 120px; }
.pair-small figure { margin: 0; text-align: center; }
.pair-small img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.pair-small figcaption { margin-top: 6px; color: var(--muted); font-size: .85rem; }
.ui-trio { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 22px; margin-top: 26px; align-items: start; max-width: 900px; margin-left: auto; margin-right: auto; }
.ui-trio figure { margin: 0; }
.ui-trio img { border-radius: 12px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); max-height: 640px; width: 100%; object-fit: cover; object-position: top; }
.ui-trio figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .ui-trio { grid-template-columns: 1fr 1fr; } .ui-trio figure:last-child { grid-column: 1 / -1; } }
.facts__row--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) { .facts__row--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .facts__row--6 { grid-template-columns: repeat(2, 1fr); } }
.facts__row > a.facts__community { display: block; padding: 22px; text-decoration: none; background: #0a84ff; transition: filter .15s ease; }
.facts__row > a.facts__community:hover { filter: brightness(1.08); }
.facts__community strong { color: #ffffff !important; }
.facts__community span { color: rgba(255,255,255,.85) !important; font-weight: 500; }
.feature__media--three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.feature__media--three figure { margin: 0; }
.feature__media--three img { border-radius: 12px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.feature__media--three figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .feature__media--three { grid-template-columns: 1fr; } }
/* Gleichmäßigere Abstände auf der Startseite (vorher addierten sich Abschnitts- und Blockabstand zu ~200–270 px) */
.section--flush { padding-top: 24px; }
#tour.section--tight { padding-bottom: 40px; }
.tour .spot { margin-bottom: 84px; }
.tour .feature { margin-bottom: 84px; }
.gallery--compact { margin-top: -30px; }
.gallery__note { margin-bottom: 84px; }
.tour .also { margin-top: 0; }
.section.tour { padding-bottom: 56px; }
#next { padding-top: 72px; padding-bottom: 72px; }
#join { padding-top: 80px; }
/* Abstände noch etwas kompakter (Nutzerwunsch 02.10.) */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--flush { padding-top: 16px; }
.tour .spot, .tour .feature { margin-bottom: 60px; }
.gallery__note { margin-bottom: 60px; }
.section.tour { padding-bottom: 40px; }
#next { padding-top: 56px; padding-bottom: 56px; }
#join { padding-top: 64px; }
.section__head { margin-bottom: 36px; }
.facts { padding-bottom: 10px; }
/* Alte Regel des früheren Funktionsrasters (.feature mit Innenabstand) gilt nicht für die großen Funktionsblöcke */
.tour .feature { padding: 0; background: none; }
.tour .feature.feature--compact { padding: 32px; background: var(--surface); }
@media (max-width: 900px) {
  .tour .spot, .tour .feature { margin-bottom: 44px; }
  .tour .spot { gap: 22px; }
  .tour .feature.feature--compact { padding: 22px; }
}
/* Abstimmungsseite */
.vote-list { display: grid; gap: 12px; margin-bottom: 28px; }
.vote-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px 22px; }
.vote-card h3 { margin-bottom: .25em; }
.vote-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.vote-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.vote-card__count { font-weight: 650; color: var(--accent) !important; font-size: 1rem !important; white-space: nowrap; }
.vote-card__count.is-zero { color: var(--muted) !important; font-weight: 500; font-size: .85rem !important; }
.vote-idea { margin-bottom: 18px; }
@media (max-width: 600px) { .vote-card { grid-template-columns: 1fr; } .vote-card__side { align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; } }
.vote-links { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* „Neu“: Testfunktion Blitz & Tiefe – Navigation und blinkender Knopf auf der Startseite */
.nav-new { display: inline-flex; align-items: center; gap: 6px; }
.nav-new__tag { padding: 1px 7px; border-radius: 999px; background: #ff8a1f; color: #1d0b00; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; animation: newpulse 2.4s ease-out infinite; }
.new-cta { display: inline-flex; align-items: center; gap: 10px; margin: -12px 0 26px; padding: 11px 20px 11px 14px; border-radius: 999px; border: 0; background: #ff8a1f; color: #1d0b00; font-size: .95rem; font-weight: 600; text-decoration: none; animation: newcta 1.8s ease-in-out infinite; }
.new-cta b { color: #1d0b00; font-weight: 800; }
.new-cta:hover { filter: brightness(1.12); animation-play-state: paused; }
.new-cta__dot { width: 9px; height: 9px; border-radius: 50%; background: #1d0b00; animation: newdot 1s steps(2, jump-none) infinite; }
@keyframes newcta { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,138,31,.8); transform: scale(1); } 50% { box-shadow: 0 0 0 16px rgba(255,138,31,0); transform: scale(1.05); } }
@keyframes newdot { 0% { opacity: 1; } 100% { opacity: .15; } }
@keyframes newpulse { 0% { box-shadow: 0 0 0 0 rgba(255,138,31,.7); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,138,31,0); } }
@media (prefers-reduced-motion: reduce) { .nav-new__tag, .new-cta, .new-cta__dot { animation: none; } }

/* „Neu“: Tauchkarte & Logbuch – grünes, ruhig pulsierendes Abzeichen (aus bei reduzierter Bewegung) */
.nav-new__tag--green { background: var(--new-green); color: var(--new-green-ink); animation: newpulse-green 2.4s ease-out infinite; }
@keyframes newpulse-green { 0% { box-shadow: 0 0 0 0 rgba(47,210,122,.7); opacity: 1; } 50% { opacity: .75; } 70%, 100% { box-shadow: 0 0 0 12px rgba(47,210,122,0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav-new__tag--green { animation: none; } }

/* Navigation mit 9 Einträgen: zwischen Handy-Menü und breitem Bildschirm etwas enger */
@media (min-width: 1081px) and (max-width: 1260px) { .nav__inner { gap: 14px; } .nav__links { gap: 12px; } .nav__links a { font-size: .88rem; } }
/* Startseite: zweiter, grüner Knopf „Neu · Tauchkarte & Logbuch“ neben dem orangen */
.new-ctas { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; margin: -12px 0 30px; }
@media (max-width: 600px) { .new-ctas { gap: 20px; } }
.new-ctas .new-cta { margin: 0; }
.new-cta--green { background: var(--new-green); color: var(--new-green-ink); animation-name: newcta-green; }
.new-cta--green b { color: var(--new-green-ink); }
.new-cta--green .new-cta__dot { background: var(--new-green-ink); }
@keyframes newcta-green { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,210,122,.75); transform: scale(1); } 50% { box-shadow: 0 0 0 16px rgba(47,210,122,0); transform: scale(1.05); } }

/* Abstände zwischen den Blöcken kleiner (Nutzerwunsch 04.10.): Abschnitte, Startseiten-Tour, neue Seiten mit Schritten */
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--flush { padding-top: 16px; }
.section__head { margin-bottom: 28px; }
.tour .spot, .tour .feature { margin-bottom: 52px; }
.gallery__note { margin-bottom: 52px; }
#next { padding-top: 48px; padding-bottom: 48px; }
#join { padding-top: 48px; }
.page--steps .section { padding: 36px 0; }
@media (max-width: 600px) { .section { padding: 40px 0; } .section--flush { padding-top: 12px; } .page--steps .section { padding: 28px 0; } }

/* ===== Seite v5: Startseite als Wegweiser, eine Seite je Thema, Changelog (Entwurf 05.10.) ===== */
/* Navigation: "Features" klappt die Themenliste auf */
.nav__drop { position: relative; }
.nav__links a.is-current { color: var(--text); }
.nav__menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: -14px; min-width: 240px; background: var(--nav-solid); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px var(--shadow); display: none; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__menu a { display: block; padding: 8px 12px; border-radius: 8px; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--surface); color: var(--text); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { display: block; }
@media (max-width: 1080px) {
  .nav__menu { display: block; position: static; min-width: 0; padding: 0 0 6px 14px; background: none; border: 0; box-shadow: none; }
  .nav__menu::before { display: none; }
  .nav__menu a { padding: 7px 4px !important; font-size: .92rem !important; }
  .nav nav { max-height: calc(100vh - 64px); overflow-y: auto; }
}

/* Startseite: Themen als Kacheln in drei Gruppen */
.topics__group { margin: 0 0 34px; }
.topics__group h3 { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); color: var(--text); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.tile__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--bg-2); }
.tile__img--icon { display: grid; place-items: center; font-size: 2.6rem; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 22%, transparent), var(--bg-2) 70%); }
.tile__body { padding: 14px 16px 16px; }
.tile b { display: block; font-size: 1.02rem; line-height: 1.25; margin-bottom: 4px; }
.tile small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.tile__tag { position: absolute; top: 10px; left: 10px; padding: 2px 9px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #ff8a1f; color: #1d0b00; }
.tile__tag--green { background: var(--new-green); color: var(--new-green-ink); }
.tile__tag--soft { background: rgba(3, 16, 26, .78); color: #ffd166; }

/* Changelog (Seite, Startseite, Themenseiten) */
.log { display: grid; gap: 14px; }
.log__group { margin-bottom: 34px; }
.log__vhead { font-size: 1.15rem; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.log__item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 22px; scroll-margin-top: 90px; margin-bottom: 12px; }
.log__item:target { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.log__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 6px; font-size: .82rem; color: var(--muted); }
.log__tag { padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 600; text-decoration: none; }
a.log__tag:hover { background: var(--accent); color: var(--accent-ink); }
.log__ver { font-weight: 700; color: var(--text); }
.log__title { font-size: 1.08rem; margin: 0 0 6px; }
.log__item > a { color: var(--text); text-decoration: none; }
.log__item > a:hover .log__title { color: var(--accent); }
.log__text { color: var(--text-2); font-size: .96rem; margin: 0; }
.log__ba { margin-top: 16px; max-width: 720px; }
.log-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.log-filter button { font: inherit; font-size: .86rem; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.log-filter button:hover { color: var(--text); }
.log-filter button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.latest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.latest .log__item { margin: 0; }
.latest .log__title { font-size: 1rem; }
@media (max-width: 860px) { .latest { grid-template-columns: 1fr; } }

/* Themenseiten: einheitliche Vorlage */
.topic-head { padding: 64px 0 20px; }
.topic-head .kicker { margin-bottom: 1em; }
.topic-media { margin: 8px auto 0; }
.topic-media img { border-radius: 14px; box-shadow: 0 18px 40px -24px var(--shadow), 0 0 0 1px var(--line); }
.topic-media figcaption { text-align: center; }
.what { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 760px; }
.how-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.how-steps li { counter-increment: s; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 20px 18px 62px; position: relative; color: var(--muted); font-size: .96rem; }
.how-steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem; }
.how-steps b { display: block; color: var(--text); margin-bottom: 2px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.points > div { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; color: var(--muted); font-size: .96rem; }
.points b { display: block; color: var(--text); }
.details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.details + .details { margin-top: 12px; }
.details > summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.details > summary::-webkit-details-marker { display: none; }
.details > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.details[open] > summary::after { content: "–"; }
.details__body { padding: 0 22px 22px; }
.details__body .fl__list { margin-top: 0; }
.details__body h4 { margin: 22px 0 10px; font-size: .95rem; }
.details__body h4:first-child { margin-top: 0; }
.history-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.history-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.tnav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.tnav a { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; text-decoration: none; color: var(--text); background: var(--surface); }
.tnav a:hover { border-color: var(--accent); }
.tnav small { display: block; color: var(--muted); font-size: .8rem; }
.tnav__next { text-align: right; }
.tnav__all { display: grid; place-items: center; color: var(--accent) !important; font-weight: 600; }
@media (max-width: 700px) { .tnav { grid-template-columns: 1fr 1fr; } .tnav__all { grid-column: 1 / -1; order: 3; } }
.draft-note { border: 1px dashed #ffd166; color: #ffd166; border-radius: 12px; padding: 8px 14px; font-size: .85rem; display: inline-block; margin: 0 0 18px; }
.soon { border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px 26px; color: var(--text-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin: 0 0 18px; }
.faq h2 { margin-top: 48px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); scroll-margin-top: 90px; }
/* Kacheln: oben die fünf Bearbeiten-Themen, darunter die beiden anderen Gruppen nebeneinander */
.topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 16px; }
.topics__group--5 { grid-column: span 5; }
.topics__group--2 { grid-column: span 2; }
.topics__group--3 { grid-column: span 3; }
.topics__group--5 .tiles { grid-template-columns: repeat(5, 1fr); }
.topics__group--2 .tiles { grid-template-columns: repeat(2, 1fr); }
.topics__group--3 .tiles { grid-template-columns: repeat(3, 1fr); }
.topics__group--edit6 .tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .topics { grid-template-columns: 1fr; }
  .topics__group--5, .topics__group--2, .topics__group--3 { grid-column: auto; }
  .topics .tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
}
@media (max-width: 480px) { .topics .tiles { grid-template-columns: 1fr 1fr !important; gap: 10px; } .tile__body { padding: 10px 12px 12px; } .tile small { font-size: .8rem; } }
.latest .log__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Übernommene Blöcke der alten Startseite auf Themenseiten: ohne alten Außenabstand und ohne Kasten */
.section > .wrap > .feature, .section > .wrap > .spot { margin: 0; padding: 0; background: none; }
.section > .wrap > .spot--overlay { margin: 0; }
.gallery__note--topic { margin: 24px 0 0 !important; }
.footer__meta { margin-left: auto; }
.tour .gallery--compact { margin-top: 18px; }
/* Startseite Variante B: Funktionsblöcke mit Abstand (die Regel für Themenseiten oben setzt ihn sonst auf 0) */
.section.tour > .wrap > .spot, .section.tour > .wrap > .feature { margin: 0 0 76px; }
.section.tour > .wrap > .feature--compact { padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.section.tour > .wrap > .gallery { margin: -36px 0 14px; }
.section.tour .gallery__note { margin-bottom: 76px; }
.section.tour .spot__media figcaption { margin-bottom: 0; }
@media (max-width: 900px) { .section.tour > .wrap > .spot, .section.tour > .wrap > .feature { margin-bottom: 52px; } .section.tour > .wrap > .feature--compact { padding: 22px; } .section.tour > .wrap > .gallery { margin-top: -20px; } }

/* License & price: two promise cards */
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .cards--2 { grid-template-columns: 1fr; } }
#license { padding-top: 24px; }
