/* ==========================================================================
   Einhand um die Welt – Gestaltung
   Nautisch, ruhig, editoriell. Alles ueber Design-Tokens steuerbar.
   ========================================================================== */

:root {
  --meer-900: #061726;
  --meer-800: #0a2740;
  --meer-700: #0f3a5c;
  --meer-600: #16527f;
  --ozean: #1d7fb6;
  --himmel: #8ec6e8;
  --schaum: #e9f2f9;
  --sand: #e6dbc6;
  --sonne: #efb02b;
  --sonne-hell: #ffd06b;
  --tinte: #0f1e2c;
  --tinte-2: #3d5568;
  --tinte-3: #6b8093;
  --papier: #fbfcfd;
  --weiss: #ffffff;
  --linie: rgba(15, 30, 44, 0.13);
  --linie-hell: rgba(255, 255, 255, 0.16);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --schatten-s: 0 1px 2px rgba(6, 23, 38, .06), 0 2px 8px rgba(6, 23, 38, .05);
  --schatten-m: 0 4px 12px rgba(6, 23, 38, .08), 0 16px 40px rgba(6, 23, 38, .09);
  --schatten-l: 0 10px 30px rgba(6, 23, 38, .14), 0 30px 70px rgba(6, 23, 38, .16);

  --breite: 1180px;
  --kopfhoehe: 72px;

  --schrift-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --schritt: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --schritt-klein: .875rem;
  --schritt-leise: .8125rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tinte: #e8eef4;
    --tinte-2: #a9bccd;
    --tinte-3: #8299ac;
    --papier: #0a1c2c;
    --weiss: #11283c;
    --schaum: #102d45;
    --sand: #243a4d;
    --linie: rgba(232, 238, 244, 0.16);
    --schatten-s: 0 1px 2px rgba(0, 0, 0, .3);
    --schatten-m: 0 6px 18px rgba(0, 0, 0, .38);
    --schatten-l: 0 14px 40px rgba(0, 0, 0, .5);
  }
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopfhoehe) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: var(--schritt);
  line-height: 1.65;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--schrift-display);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }

a {
  color: var(--meer-600);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
@media (prefers-color-scheme: dark) { a { color: var(--himmel); } }
a:hover { color: var(--ozean); }

:focus-visible {
  outline: 3px solid var(--sonne);
  outline-offset: 3px;
  border-radius: 3px;
}

.sprungziel {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--weiss);
  color: var(--tinte);
  padding: .7rem 1.1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-s) 0;
}
.sprungziel:focus { left: 0; }

.nur-lieser {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */

.huelle {
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}
@media (max-width: 40rem) {
  .huelle { width: min(100% - 1.75rem, var(--breite)); }
}

.abschnitt { padding-block: clamp(3rem, 1.8rem + 5vw, 5.5rem); }
.abschnitt--eng { padding-block: clamp(2rem, 1.4rem + 3vw, 3rem); }
.abschnitt--dunkel {
  background: var(--meer-900);
  color: #e9f1f7;
  position: relative;
  overflow: hidden;
}
.abschnitt--dunkel h1, .abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: var(--weiss); }
.abschnitt--dunkel a { color: var(--himmel); }
.abschnitt--kies { background: var(--schaum); }
@media (prefers-color-scheme: dark) { .abschnitt--kies { background: #0d2338; } }

.raster {
  display: grid;
  gap: clamp(1.25rem, .8rem + 1.6vw, 2.25rem);
}
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 253, .86);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--linie);
}
@media (prefers-color-scheme: dark) {
  .kopf { background: rgba(10, 28, 44, .86); }
}

.kopf__innen {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--kopfhoehe);
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}
@media (max-width: 40rem) {
  .kopf__innen { width: min(100% - 1.75rem, var(--breite)); }
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--tinte);
  flex: 0 0 auto;
}
.marke__zeichen {
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--meer-700);
  display: grid;
  place-items: center;
  color: var(--sonne);
}
.marke__zeichen svg { width: 20px; height: 20px; }
.marke__text { display: flex; flex-direction: column; line-height: 1.05; }
.marke__zeile1 {
  font-family: var(--schrift-display);
  font-size: 1.0625rem;
  letter-spacing: .01em;
}
.marke__zeile2 {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tinte-3);
}

.nav { margin-left: auto; }
.nav__liste {
  display: flex;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__liste a {
  display: block;
  padding: .5rem .8rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--tinte-2);
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav__liste a:hover { background: var(--schaum); color: var(--tinte); }
@media (prefers-color-scheme: dark) { .nav__liste a:hover { background: #14324a; } }
.nav__liste a[aria-current="page"] { color: var(--tinte); background: var(--schaum); }
@media (prefers-color-scheme: dark) { .nav__liste a[aria-current="page"] { background: #14324a; } }

.menue-knopf {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--linie);
  border-radius: var(--radius-s);
  color: var(--tinte);
  cursor: pointer;
}
.menue-knopf svg { width: 22px; height: 22px; }

@media (max-width: 62rem) {
  .menue-knopf { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--kopfhoehe) 0 auto 0;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
    padding: .75rem 0 1.25rem;
    box-shadow: var(--schatten-m);
    display: none;
  }
  .nav[data-offen="ja"] { display: block; }
  .nav__liste { flex-direction: column; gap: .1rem; }
  .nav__liste a { padding: .75rem 1.25rem; font-size: 1rem; }
  .nav__liste li + li { border-top: 1px solid var(--linie); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--meer-900);
  overflow: hidden;
}
.hero__bild {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  width: 100%; height: 100%;
}
.hero__verlauf {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,23,38,.72) 0%, rgba(6,23,38,.28) 35%, rgba(6,23,38,.88) 100%),
    linear-gradient(105deg, rgba(6,23,38,.8) 0%, rgba(6,23,38,.18) 55%, rgba(6,23,38,.35) 100%);
}
.hero__innen {
  padding-block: clamp(4rem, 2rem + 8vw, 7rem);
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}
@media (max-width: 40rem) {
  .hero__innen { width: min(100% - 1.75rem, var(--breite)); }
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sonne-hell);
  margin-bottom: 1.25rem;
}
.hero__kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--sonne);
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero__lead {
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
  max-width: 52ch;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 2rem;
}
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Buttons ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.knopf:hover { transform: translateY(-1px); }
.knopf--haupt { background: var(--sonne); color: #21180a; }
.knopf--haupt:hover { background: var(--sonne-hell); color: #21180a; }
.knopf--glas {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  backdrop-filter: blur(6px);
}
.knopf--glas:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.knopf--rand {
  border-color: var(--linie);
  color: var(--tinte);
  background: transparent;
}
.knopf--rand:hover { border-color: var(--meer-600); color: var(--meer-600); }
.knopf svg { width: 1.1em; height: 1.1em; }

/* ---------- Kennzahlen ---------- */

.werte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1px;
  background: var(--linie-hell);
  border: 1px solid var(--linie-hell);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.wert {
  background: rgba(255, 255, 255, .04);
  padding: 1.5rem 1.25rem;
}
.wert__zahl {
  display: block;
  font-family: var(--schrift-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  line-height: 1;
  color: var(--sonne-hell);
}
.wert__text {
  display: block;
  margin-top: .5rem;
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

/* ---------- Abschnittsueberschrift ---------- */

.ueberschrift { max-width: 62ch; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.ueberschrift--mitte { margin-inline: auto; text-align: center; }
.ueberschrift p { color: var(--tinte-2); font-size: 1.0625rem; }
.abschnitt--dunkel .ueberschrift p { color: rgba(255, 255, 255, .74); }

.kicker {
  display: block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ozean);
  margin-bottom: .75rem;
  font-weight: 600;
}
.abschnitt--dunkel .kicker { color: var(--sonne); }

/* ---------- Karten ---------- */

.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--schatten-s);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-m); }
.karte__bild { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.karte__text { padding: 1.1rem 1.25rem 1.35rem; }
.karte__text h3 { margin-bottom: .35rem; }
.karte__text p { color: var(--tinte-2); font-size: .9375rem; margin-bottom: 0; }
.karte__fuss {
  margin-top: auto;
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--linie);
  font-size: .8125rem;
  color: var(--tinte-3);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
@media (prefers-color-scheme: dark) { .karte { background: var(--weiss); } }

/* ---------- Fliesstext ---------- */

.fliesstext { max-width: 68ch; font-size: 1.0625rem; line-height: 1.75; }
.fliesstext p { margin-bottom: 1.35em; }
.fliesstext h3 { margin-top: 2em; }
.fliesstext blockquote {
  margin: 1.75rem 0;
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--sonne);
  background: var(--schaum);
  font-family: var(--schrift-display);
  font-size: 1.125rem;
  font-style: italic;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
@media (prefers-color-scheme: dark) { .fliesstext blockquote { background: #102d45; } }
.fliesstext .einleitung {
  font-size: 1.1875rem;
  color: var(--tinte-2);
  border-bottom: 1px solid var(--linie);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}
.abschnitt--dunkel .fliesstext .einleitung { color: rgba(255,255,255,.76); border-color: var(--linie-hell); }

/* ---------- Zeitstrahl ---------- */

.zeitstrahl { position: relative; margin: 0; padding: 0; list-style: none; }
.zeitstrahl::before {
  content: "";
  position: absolute;
  left: 7px; top: .5rem; bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--ozean), var(--sand));
  border-radius: 2px;
}
.zeitstrahl__eintrag {
  position: relative;
  padding-left: 2.6rem;
  padding-bottom: 1.75rem;
}
.zeitstrahl__eintrag::before {
  content: "";
  position: absolute;
  left: 0; top: .45rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--papier);
  border: 3px solid var(--ozean);
  box-shadow: 0 0 0 4px var(--papier);
}
.zeitstrahl__eintrag[data-jahr] {
  padding-top: 2.5rem;
}
.zeitstrahl__eintrag[data-jahr]::after {
  content: attr(data-jahr);
  position: absolute;
  left: 2.6rem; top: 0;
  font-family: var(--schrift-display);
  font-size: 1.5rem;
  color: var(--sonne);
  letter-spacing: .02em;
}
.zeitstrahl__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
}
.zeitstrahl__kopf h3 { margin: 0; }
.zeitstrahl__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  margin-top: .5rem;
  font-size: .8125rem;
  color: var(--tinte-3);
}
.zeitstrahl__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.zeitstrahl__meta b { color: var(--tinte-2); font-weight: 600; }
.zeitstrahl__text { margin-top: .5rem; color: var(--tinte-2); font-size: .9375rem; }

.tag {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .6875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--schaum);
  color: var(--meer-700);
  border: 1px solid var(--linie);
}
@media (prefers-color-scheme: dark) { .tag { color: var(--himmel); } }
.tag--reise { background: rgba(29, 127, 182, .12); color: var(--ozean); border-color: transparent; }
.tag--boot { background: rgba(239, 176, 43, .16); color: #9a6a06; border-color: transparent; }
.tag--zusatz { background: rgba(111, 143, 122, .16); color: #3f6b4d; border-color: transparent; }
@media (prefers-color-scheme: dark) {
  .tag--boot { color: var(--sonne-hell); }
  .tag--zusatz { color: #9bc4a8; }
}

/* ---------- Filterleiste ---------- */

.filterleiste {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  margin-bottom: 1.5rem;
  box-shadow: var(--schatten-s);
}
.filterleiste--klebt {
  position: sticky;
  top: var(--kopfhoehe);
  z-index: 20;
}
@media (max-width: 48rem) { .filterleiste--klebt { position: static; } }
.filtergruppe { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.filtergruppe__label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tinte-3);
  margin-right: .25rem;
}
.chip {
  border: 1px solid var(--linie);
  background: transparent;
  color: var(--tinte-2);
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--ozean); color: var(--tinte); }
.chip[aria-pressed="true"] {
  background: var(--meer-700);
  border-color: var(--meer-700);
  color: #fff;
}
.suchfeld {
  flex: 1 1 12rem;
  min-width: 10rem;
  padding: .5rem .85rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--papier);
  color: var(--tinte);
  font: inherit;
  font-size: .875rem;
}
.suchfeld:focus { border-color: var(--ozean); }
.trefferzahl { font-size: .8125rem; color: var(--tinte-3); white-space: nowrap; }

/* ---------- Galerie ---------- */

.galerie {
  columns: 4 15rem;
  column-gap: 1rem;
}
@media (max-width: 48rem) { .galerie { columns: 2 10rem; column-gap: .7rem; } }
@media (max-width: 30rem) { .galerie { columns: 1; } }

.galerie__eintrag {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  display: block;
  width: 100%;
  border-radius: var(--radius-s);
  overflow: hidden;
  line-height: 0;
}
.galerie__eintrag img {
  width: 100%;
  height: auto;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.galerie__eintrag:hover img { transform: scale(1.035); }
.galerie__eintrag:focus-visible { outline: 3px solid var(--sonne); outline-offset: 2px; }
.galerie__beschriftung {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem .8rem .6rem;
  background: linear-gradient(180deg, transparent, rgba(6, 23, 38, .82));
  color: #fff;
  font-size: .75rem;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  transition: opacity .22s ease;
}
.galerie__eintrag:hover .galerie__beschriftung,
.galerie__eintrag:focus-visible .galerie__beschriftung { opacity: 1; }
.galerie__eintrag[hidden] { display: none; }

.leerhinweis {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--tinte-3);
  border: 1px dashed var(--linie);
  border-radius: var(--radius-m);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 14, 23, .94);
  display: none;
  grid-template-rows: auto 1fr auto;
  color: #fff;
}
.lightbox[data-offen="ja"] { display: grid; }
.lightbox__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.lightbox__zahl { font-size: .875rem; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.lightbox__werkzeuge { display: flex; gap: .4rem; }
.lichtknopf {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.lichtknopf:hover { background: rgba(255, 255, 255, .18); }
.lichtknopf svg { width: 20px; height: 20px; }
.lightbox__buehne {
  display: grid;
  place-items: center;
  padding: 1rem;
  min-height: 0;
}
.lightbox__buehne img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-s);
}
.lightbox__fuss {
  padding: .9rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.lightbox__text { font-size: .875rem; color: rgba(255,255,255,.82); }
.lightbox__text strong { color: #fff; display: block; font-weight: 600; }
.lightbox__text span { color: rgba(255,255,255,.6); }
.lightbox__downloads a {
  font-size: .8125rem; color: #ffc14d; text-decoration: none;
  border-bottom: 1px solid rgba(255, 193, 77, .45); padding-bottom: 1px;
}
.lightbox__downloads a:hover { color: #ffd684; }
.lightbox__downloads a[hidden] { display: none; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(10, 25, 40, .55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.lightbox__nav:hover { background: rgba(10, 25, 40, .85); }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
@media (max-width: 40rem) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: .4rem; }
  .lightbox__nav--next { right: .4rem; }
}

body[data-lichtbox-offen="ja"] { overflow: hidden; }

/* ---------- Tabelle ---------- */

.tabellenrahmen {
  overflow-x: auto;
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  background: var(--weiss);
}
.tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  min-width: 46rem;
}
.tabelle th, .tabelle td {
  padding: .7rem .85rem;
  text-align: left;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
.tabelle thead th {
  /* Ohne position:sticky wuerde der Kopf innerhalb des Rahmens hängen und
     die ersten Zeilen ueberdecken. Der Rahmen ist ein Scrollcontainer, deshalb
     greift der Klebevorgang erst ab der breiten Ansicht (siehe unten). */
  position: static;
  background: var(--meer-800);
  color: #fff;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Ab hier passt die Tabelle in den Container: der Rahmen braucht keinen
   horizontalen Scroll mehr, damit klebt der Kopf am Fenster fest. */
@media (min-width: 50rem) {
  .tabellenrahmen { overflow: visible; }
  .tabelle thead th {
    position: sticky;
    top: var(--kopfhoehe);
    z-index: 30;
  }
}
.tabelle thead th button {
  background: none; border: 0; color: inherit; font: inherit;
  cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: .35rem;
}
.tabelle thead th button::after { content: "↕"; opacity: .5; font-size: .8em; }
.tabelle thead th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; }
.tabelle thead th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; }
.tabelle tbody tr:hover { background: var(--schaum); }
@media (prefers-color-scheme: dark) { .tabelle tbody tr:hover { background: #102d45; } }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabelle .versteckt { display: none; }

/* ---------- Formulare ---------- */

.formular {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  box-shadow: var(--schatten-s);
}
.feld { margin-bottom: 1.15rem; }
.feld label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tinte-2);
  margin-bottom: .4rem;
}
.feld input, .feld textarea, .feld select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius-s);
  background: var(--papier);
  color: var(--tinte);
  font: inherit;
  font-size: .9375rem;
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--ozean); }
.feld__hinweis { font-size: .8125rem; color: var(--tinte-3); margin-top: .35rem; }
.feld--versteckt { position: absolute; left: -9999px; }

.meldung {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-s);
  border: 1px solid;
  margin-bottom: 1.25rem;
  font-size: .9375rem;
}
.meldung--ok { background: rgba(61, 145, 96, .1); border-color: rgba(61, 145, 96, .35); color: #2c6b45; }
.meldung--fehler { background: rgba(190, 63, 63, .1); border-color: rgba(190, 63, 63, .35); color: #a02c2c; }
.meldung__link { color: inherit; text-decoration: underline; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .meldung--ok { color: #8fd0a8; }
  .meldung--fehler { color: #f0a0a0; }
}

/* ---------- Gästebuch ---------- */

.gastbucheintraege { display: grid; gap: 1rem; }
.gastbucheintrag {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  padding: 1.15rem 1.35rem;
}
.gastbucheintrag__kopf {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: .5rem;
}
.gastbucheintrag__name { font-weight: 600; }
.gastbucheintrag__datum { font-size: .8125rem; color: var(--tinte-3); }
.gastbucheintrag p:last-child { margin-bottom: 0; }

/* ---------- Fusszeile ---------- */

.fuss {
  background: var(--meer-900);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem) 2rem;
  font-size: .9375rem;
}
.fuss__raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.fuss h2, .fuss h3 {
  color: #fff;
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: var(--schrift-text);
  font-weight: 600;
  margin-bottom: .9rem;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fuss a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.fuss a:hover { color: var(--sonne-hell); text-decoration: underline; }
.fuss__unten {
  border-top: 1px solid var(--linie-hell);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .5);
}
.fuss__marke { color: #fff; font-family: var(--schrift-display); font-size: 1.125rem; }

/* ---------- Seite mit Seitenkopf ---------- */

.seitenkopf {
  background: var(--meer-800);
  color: #fff;
  padding-block: clamp(2.5rem, 1.8rem + 4vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.seitenkopf::after {
  content: "";
  position: absolute;
  right: -8%; top: -60%;
  width: 42rem; height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 127, 182, .38), transparent 65%);
  pointer-events: none;
}
.seitenkopf h1 { color: #fff; max-width: 20ch; position: relative; }
.seitenkopf p {
  color: rgba(255, 255, 255, .78);
  max-width: 60ch;
  font-size: 1.0625rem;
  position: relative;
}
.brotkrumen {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .75rem;
}
.brotkrumen a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.brotkrumen a:hover { color: var(--sonne-hell); text-decoration: underline; }

/* ---------- Besondere Elemente ---------- */

.hinweis {
  border-left: 3px solid var(--ozean);
  background: var(--schaum);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: .9375rem;
  color: var(--tinte-2);
}
@media (prefers-color-scheme: dark) { .hinweis { background: #102d45; } }

.kennzahlzeile {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  margin-bottom: 2rem;
}
.kennzahl { display: flex; flex-direction: column; }
.kennzahl__wert { font-family: var(--schrift-display); font-size: 1.5rem; line-height: 1.1; }
.kennzahl__label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte-3); }

.spezifikationen { display: grid; gap: 0; }
.spezifikationen div {
  display: grid;
  grid-template-columns: minmax(9rem, 30%) 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--linie);
}
.spezifikationen dt { color: var(--tinte-3); font-size: .875rem; }
.spezifikationen dd { margin: 0; font-weight: 500; }
@media (max-width: 34rem) {
  .spezifikationen div { grid-template-columns: 1fr; gap: .2rem; }
}

.laden { display: grid; place-items: center; padding: 4rem 1rem; color: var(--tinte-3); }
.laden__ring {
  width: 34px; height: 34px;
  border: 3px solid var(--linie);
  border-top-color: var(--ozean);
  border-radius: 50%;
  animation: drehen .9s linear infinite;
}
@keyframes drehen { to { transform: rotate(360deg); } }

.platzhalter {
  aspect-ratio: 3 / 2;
  background: var(--schaum);
  display: grid;
  place-items: center;
  color: var(--tinte-3);
  font-size: .8125rem;
  border-radius: var(--radius-s);
}

/* ---------- Günters Stimme ---------- */

.stimme__einleitung { max-width: 68ch; }
.stimme__einleitung p { margin: 0 0 1rem; }
.stimme__hinweis {
  font-size: var(--schritt-klein);
  color: var(--tinte-3);
  border-left: 3px solid var(--sonne);
  padding-left: .9rem;
}
.stimme__ueberschrift {
  margin: 2.75rem 0 1.1rem;
  font-size: 1.25rem;
}
.stimme__raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.25rem;
}
.stimme {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  padding: 1.25rem;
  box-shadow: var(--schatten-s);
  display: flex;
  flex-direction: column;
}
.stimme__kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .75rem;
}
.stimme__kopf h3 { margin: 0; font-size: 1.0625rem; }
.stimme__dauer {
  font-size: .8125rem;
  color: var(--tinte-3);
  white-space: nowrap;
}
.stimme__text {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--tinte-2);
  margin: 0;
}
.stimme__zitat {
  margin: .9rem 0 0;
  padding-left: .9rem;
  border-left: 2px solid var(--sonne);
  font-family: var(--schrift-display);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--tinte);
}

/* Zitat auf der Startseite */
.zitat {
  border-left: 4px solid var(--sonne);
  padding: .25rem 0 .25rem 1.4rem;
  margin: 0 0 1.5rem;
}
.zitat blockquote {
  margin: 0;
  font-family: var(--schrift-display);
  font-size: clamp(1.125rem, 1rem + .7vw, 1.5rem);
  line-height: 1.45;
  color: var(--tinte);
}
.zitat cite {
  display: block;
  margin-top: .75rem;
  font-size: var(--schritt-klein);
  font-style: normal;
  color: var(--tinte-3);
}
.abschnitt--dunkel .zitat blockquote { color: #fff; }
.abschnitt--dunkel .zitat cite { color: rgba(255, 255, 255, .7); }

@media print {
  .kopf, .fuss, .filterleiste, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  .abschnitt--dunkel { background: #fff; color: #000; }
}
