@charset "utf-8";
/* ==========================================================================
   Harald & Silvia Paul – Expeditionen & Entdeckertouren
   Design-System. Keine Fremd-Ressourcen, keine Tracker, keine Cookies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Gestaltungsvariablen
   -------------------------------------------------------------------------- */
:root {
  /* Farbwelt Arktis: kühle Blaugrautöne, Eisblau als Akzent, Messing als Kontrast */
  --ink-900: #0a1017;
  --ink-800: #111a24;
  --ink-700: #1a2530;
  --ink-600: #26333f;
  --ink-400: #5d6d7c;
  --ink-300: #8a99a8;
  --ink-200: #c3ced8;
  --ink-100: #e4eaf0;
  --ink-050: #f2f5f8;

  --sea-700: #12457f;
  --sea-600: #1a5aa3;
  --sea-500: #2a72c4;
  --sea-400: #5b9ae0;
  --sea-300: #93bff0;
  --sea-100: #dceafa;

  --brass-600: #985920;   /* 5,07:1 auf hellem Grund – erfüllt WCAG AA */
  --brass-500: #c87f3c;
  --brass-400: #e0a166;

  --ice: #eaf4fb;

  /* Semantische Zuweisung – hell */
  --bg: var(--ink-050);
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: var(--ink-050);
  --surface-inset: #f7f9fb;
  --text: var(--ink-900);
  --text-soft: var(--ink-600);
  --text-muted: var(--ink-400);
  --border: #dde4ec;
  --border-strong: #c4d0dc;
  --accent: var(--sea-700);
  --accent-hover: var(--sea-600);
  --accent-contrast: #ffffff;
  --accent-soft: var(--sea-100);
  --highlight: var(--brass-600);
  --shadow-1: 0 1px 2px rgba(10, 16, 23, .06), 0 1px 3px rgba(10, 16, 23, .04);
  --shadow-2: 0 4px 12px rgba(10, 16, 23, .07), 0 2px 4px rgba(10, 16, 23, .04);
  --shadow-3: 0 18px 44px rgba(10, 16, 23, .16), 0 4px 12px rgba(10, 16, 23, .08);
  --header-bg: rgba(255, 255, 255, .82);
  --scrim: rgba(10, 16, 23, .55);

  /* Typografie */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --step--2: clamp(.72rem, .70rem + .1vw, .78rem);
  --step--1: clamp(.83rem, .80rem + .15vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.09rem);
  --step-1:  clamp(1.17rem, 1.10rem + .32vw, 1.36rem);
  --step-2:  clamp(1.37rem, 1.25rem + .56vw, 1.7rem);
  --step-3:  clamp(1.6rem, 1.4rem + .9vw, 2.13rem);
  --step-4:  clamp(1.88rem, 1.56rem + 1.4vw, 2.66rem);
  --step-5:  clamp(2.2rem, 1.7rem + 2.2vw, 3.33rem);

  /* Maße */
  --measure: 68ch;
  --wrap: 74rem;
  --wrap-narrow: 48rem;
  --wrap-wide: 90rem;
  --wrap-reading: 62rem;
  --gutter: clamp(1rem, .5rem + 2.4vw, 2.5rem);
  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 18px;
  --header-h: 4.5rem;

  --ease: cubic-bezier(.32, .72, .28, 1);
  --dur: .22s;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: var(--ink-900);
  --bg-alt: var(--ink-800);
  --surface: var(--ink-800);
  --surface-2: var(--ink-700);
  --surface-inset: #0e1620;
  --text: #eaf1f8;
  --text-soft: #c2cfdb;
  --text-muted: #8fa0b1;
  --border: #223040;
  --border-strong: #2f4152;
  --accent: var(--sea-400);
  --accent-hover: var(--sea-300);
  --accent-contrast: var(--ink-900);
  --accent-soft: #14293f;
  --highlight: var(--brass-400);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 4px 14px rgba(0, 0, 0, .45);
  --shadow-3: 0 20px 48px rgba(0, 0, 0, .6);
  --header-bg: rgba(17, 26, 36, .84);
  --scrim: rgba(5, 9, 13, .65);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: var(--ink-900);
    --bg-alt: var(--ink-800);
    --surface: var(--ink-800);
    --surface-2: var(--ink-700);
    --surface-inset: #0e1620;
    --text: #eaf1f8;
    --text-soft: #c2cfdb;
    --text-muted: #8fa0b1;
    --border: #223040;
    --border-strong: #2f4152;
    --accent: var(--sea-400);
    --accent-hover: var(--sea-300);
    --accent-contrast: var(--ink-900);
    --accent-soft: #14293f;
    --highlight: var(--brass-400);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 4px 14px rgba(0, 0, 0, .45);
    --shadow-3: 0 20px 48px rgba(0, 0, 0, .6);
    --header-bg: rgba(17, 26, 36, .84);
    --scrim: rgba(5, 9, 13, .65);
    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   2. Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  /* „clip“ statt „hidden“: verhindert waagerechtes Scrollen durch die
     ausgeblendete Menüschublade, ohne einen eigenen Scrollbereich zu
     erzeugen – die klebende Kopfzeile bleibt dadurch funktionsfähig. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

img, video { max-width: 100%; height: auto; display: block; }
/* SVG-Icons nicht wie Bilder auf 100 % Breite aufblasen */
svg { max-width: none; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li + li { margin-top: .3em; }

strong, b { font-weight: 650; }
small { font-size: var(--step--1); }

table { border-collapse: collapse; }
figure { margin: 0; }
.portrait img { display: block; max-width: 100%; height: auto; }
.portrait--end { justify-self: end; margin-inline-start: auto; }

::selection { background: var(--accent); color: var(--accent-contrast); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: .5rem; left: .5rem; z-index: 200;
  transform: translateY(-200%);
  background: var(--accent); color: var(--accent-contrast);
  padding: .7rem 1.1rem; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--accent-contrast); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, var(--wrap-narrow)); }
.wrap--wide { width: min(100% - var(--gutter) * 2, var(--wrap-wide)); }
/* Lesespalte plus Bilderspalte – so breit, dass beide Platz haben,
   aber nichts leer bleibt. */
.wrap--reading { width: min(100% - var(--gutter) * 2, var(--wrap-reading)); }

.section { padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); }
.section--tight { padding-block: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

/* Nach Seitenbanner: Intro nicht zu tief hängen lassen */
.page-header + .section {
  padding-top: clamp(1.75rem, 1.15rem + 2vw, 3.25rem);
}

.section-head { margin-bottom: 1.5rem; max-width: min(100%, 48rem); }
.section-head--wide { max-width: min(100%, 70rem); }
.section-head p {
  color: var(--text-soft); margin-top: .15em; margin-bottom: 0;
  text-wrap: pretty;
}
.section-head--wide > p:last-child {
  text-wrap: nowrap;
}
@media (max-width: 52rem) {
  .section-head--wide > p:last-child { text-wrap: pretty; }
}
.section-head h2 { margin-bottom: .35em; }

/* Abschnitt-CTAs: klarer Abstand zum Inhalt darüber */
.section-cta {
  margin-top: 2.5rem;
}
.link-list + .section-cta {
  margin-top: 2.75rem;
}
/* Presse: CTA unter der Beitragsliste – auf schmalen Screens mehr Luft */
#presseliste + .empty-state + .section-cta {
  margin-top: 3.25rem;
}
@media (max-width: 40rem) {
  #presseliste + .empty-state + .section-cta {
    margin-top: 4rem;
  }
}
.section-cta--contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.callout + .section-cta--contact {
  margin-top: 2.5rem;
}

/* Intro-Callout: näher an der Überschrift, mehr Luft zur nächsten */
.section-head + .callout { margin-top: 0; }
.callout + h2,
.callout + h3 {
  margin-top: 2.75rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--highlight); margin-bottom: .6rem;
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px;
}

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

/* --------------------------------------------------------------------------
   4. Kopfzeile & Navigation
   -------------------------------------------------------------------------- */
/* Der Weichzeichner sitzt bewusst auf einem Pseudoelement: läge er auf der
   Kopfzeile selbst, würde sie zum Bezugsrahmen für das fest positionierte
   Mobilmenü und dieses auf Kopfzeilenhöhe zusammenschrumpfen. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header::before { backdrop-filter: saturate(180%) blur(14px); }
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-1); }

.site-header__inner {
  display: flex; align-items: center; gap: .65rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; color: inherit;
  flex: 1 1 auto; min-width: 0;
}
.brand__mark {
  width: 2.35rem; height: 2.35rem; flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sea-600), var(--ink-800) 78%);
  display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-1);
}
.brand__mark svg { width: 1.3rem; height: 1.3rem; }
.brand__text {
  display: flex; flex-direction: column; justify-content: center;
  gap: .12em; line-height: 1.12;
  min-width: 0; flex: 1 1 auto;
}
.brand__name {
  font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em;
}
.brand__sub {
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}

.nav-toggle {
  position: relative;
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  flex: 0 0 auto;
  min-width: 2.75rem; min-height: 2.75rem;
  background: none; border: 1px solid var(--border-strong); color: inherit;
  border-radius: var(--radius-s); padding: .55rem .75rem;
  font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle .icon-open,
.nav-toggle .icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex: 0 0 auto;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }
.nav-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.nav-toggle > span:last-child:not([class]) {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Mobil zuerst: die Navigation ist eine einblendbare Schublade. */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  z-index: 95;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 1.25rem var(--gutter) 3rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur);
}
.site-nav.is-open { transform: translateX(0); visibility: visible; }

/* Scroll-Sperre ohne Sticky zu zerstören: Body wird fixiert, Kopfzeile
   bleibt per fixed am oberen Viewportrand (sonst verschwindet der Toggle). */
body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
body.nav-open .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-1);
}

.nav-scrim {
  position: fixed; inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: var(--scrim);
  opacity: 0; visibility: hidden; pointer-events: none;
  border: 0; padding: 0; cursor: pointer;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
body.nav-open .nav-scrim {
  opacity: 1; visibility: visible; pointer-events: auto;
}

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: stretch; gap: .1rem;
}
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: block; padding: .95rem .9rem;
  color: var(--text-soft); text-decoration: none;
  font-size: var(--step-0); font-weight: 600;
  border-bottom: 1px solid var(--border);
  min-height: 2.75rem;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--accent); }

.theme-toggle {
  flex: 0 0 auto; margin-left: .15rem;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 1px solid var(--border-strong); border-radius: 50%;
  background: none; color: var(--text-soft); cursor: pointer;
}
.theme-toggle:hover { color: var(--text); background: var(--surface-2); }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
  html:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
}

/* Schmale Phones: Menü nur Icon. */
@media (max-width: 40rem) {
  .site-header__inner { gap: .4rem; }
  .nav-toggle {
    width: 2.75rem; padding: 0; gap: 0;
  }
  /* Sichtbares „Menü“-Label ausblenden, für Screenreader behalten. */
  .nav-toggle > span:last-child:not([class]) {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}

/* ≤320–374px: nur Logo */
@media (max-width: 374px) {
  .brand__text { display: none; }
}

/* Ab 375px bis Tablet: Brand zweizeilig, skaliert in die verfügbare Lücke */
@media (min-width: 375px) and (max-width: 47.99rem) {
  .brand__text {
    /* Breite = verfügbare Lücke (nicht Inhaltsbreite), damit cqi greift */
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    container-type: inline-size;
    container-name: brand-text;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .12em;
    line-height: 1.12;
    overflow: hidden;
  }
  .brand__name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    font-size: clamp(.58rem, 7.4cqi, .98rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
  }
  .brand__sub {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    font-size: clamp(.48rem, 5.2cqi, .68rem);
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.15;
  }
}

/* Ab 768px: etwas mehr Abstand zwischen Name und „Expeditionen“ */
@media (min-width: 48rem) {
  .brand__text { gap: .22em; }
}

/* Ab Tabletbreite wieder eine waagerechte Leiste. */
@media (min-width: 64em) {
  .site-header__inner { gap: 1rem; }
  .brand { flex: 0 0 auto; }
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }
  .site-nav {
    position: static; inset: auto; margin-left: auto; z-index: auto;
    background: none; border-top: 0; padding: 0; overflow: visible;
    transform: none; visibility: visible; transition: none;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: .15rem; flex-wrap: wrap; }
  .site-nav a {
    padding: .5rem .68rem; border-radius: var(--radius-s); border-bottom: 0;
    font-size: var(--step--1); white-space: nowrap; min-height: 0;
  }
  .site-nav a[aria-current="page"] { background: var(--accent-soft); }
}

/* --------------------------------------------------------------------------
   5. Hero & Seitenkopf
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(78vh, 40rem);
  min-height: min(78dvh, 40rem);
  /* minmax(0,1fr) statt „auto“: sonst bemisst sich die Spalte am
     Maximalinhalt und der Textblock läuft auf schmalen Geräten heraus. */
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
  padding-block: clamp(3rem, 2rem + 6vw, 7rem);
  color: #fff;
  background: var(--ink-900);
}
.hero__media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(6, 11, 16, .93) 0%, rgba(6, 11, 16, .62) 38%, rgba(6, 11, 16, .18) 72%, rgba(6, 11, 16, .35) 100%);
}
.hero__inner { max-width: 46rem; }
.hero h1 { font-size: var(--step-5); margin-bottom: .4em; color: #fff; }
.hero__lead {
  font-size: var(--step-1); color: rgba(255, 255, 255, .9);
  max-width: 40rem; margin-bottom: 1.6rem;
}
.hero .eyebrow { color: var(--brass-400); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__facts {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  max-width: 52rem;
}
@media (max-width: 36rem) {
  .hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem .85rem;
  }
  .hero__fact dt { font-size: .68rem; letter-spacing: .06em; }
  .hero__fact dd { font-size: var(--step-1); }
}
.hero__fact dt {
  font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .68); font-weight: 600; margin-bottom: .15rem;
}
.hero__fact dd { margin: 0; font-size: var(--step-2); font-weight: 700; letter-spacing: -.02em; }

.page-header {
  position: relative; isolation: isolate;
  display: grid;
  background: var(--ink-800); color: #fff;
  overflow: hidden;
  min-height: 12rem;
}
/* Grid-Stapel: Text bestimmt die Höhe, Bild füllt die Zelle – kein Clipping. */
.page-header__media {
  grid-area: 1 / 1;
  display: block; line-height: 0;
  width: 100%; height: 100%;
  min-height: 12rem;
  align-self: stretch; justify-self: stretch;
}
.page-header__media img {
  width: 100%; height: 100%; min-height: 12rem;
  object-fit: cover; object-position: center bottom;
  display: block;
  filter: saturate(.85) contrast(1.05);
}
.page-header::after {
  content: ""; grid-area: 1 / 1; z-index: 1;
  pointer-events: none;
  width: 100%; height: 100%;
  align-self: stretch; justify-self: stretch;
  background: linear-gradient(105deg, rgba(8, 14, 20, .93) 0%, rgba(8, 14, 20, .78) 45%, rgba(8, 14, 20, .55) 100%);
}
.page-header > .wrap {
  grid-area: 1 / 1; z-index: 2;
  position: relative;
  align-self: start;
  justify-self: stretch;
  min-width: 0;
  padding-block: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  box-sizing: border-box;
}
.page-header h1 { color: #fff; margin-bottom: .3em; }
.page-header__lead {
  color: rgba(255, 255, 255, .86); max-width: var(--measure);
  font-size: var(--step-1); margin-bottom: 0;
}
.page-header .eyebrow { color: var(--brass-400); }

@media (max-width: 40rem) {
  .page-header { min-height: 15rem; }
  .page-header__media,
  .page-header__media img { min-height: 15rem; }
  .page-header > .wrap {
    padding-block: clamp(1.75rem, 1.25rem + 2.5vw, 2.75rem);
  }
}

.breadcrumb { margin-bottom: 1rem; font-size: var(--step--1); }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .3rem .55rem; align-items: center;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .55rem; }
.breadcrumb li + li::before { content: "›"; color: rgba(255, 255, 255, .45); }
.breadcrumb a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .6); }

/* --------------------------------------------------------------------------
   6. Schaltflächen & Chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem;
  padding: .72rem 1.35rem; border-radius: 999px;
  border: 1px solid transparent;
  font: inherit; font-size: var(--step--1); font-weight: 650;
  text-decoration: none; cursor: pointer;
  /* Lange Beschriftungen dürfen umbrechen, statt aus dem Bild zu laufen. */
  max-width: 100%; text-align: center; text-wrap: balance;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg {
  width: .9em; height: .9em;
  flex: 0 0 auto;
  display: block;
}

.btn--primary { background: var(--accent); color: var(--accent-contrast); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-contrast); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; }
.btn--soft { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn--soft:hover { background: var(--accent-soft); color: var(--accent); }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.05rem; font-size: var(--step--2); }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chip-row li { margin: 0; max-width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  max-width: 100%;
  padding: .4rem .75rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: var(--step--2); font-weight: 600; color: var(--text-soft);
  white-space: normal; overflow-wrap: anywhere; text-wrap: balance;
}
.chip[title] { cursor: help; }
.chip svg { width: .95em; height: .95em; color: var(--text-muted); flex: 0 0 auto; }
.chip--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

.station-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  row-gap: 0;
}
.station-list > li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  margin: 0;
  padding: 1.05rem 0;
  border-top: 1px solid var(--border);
}
.station-list__num {
  font-size: var(--step--1);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  color: var(--highlight);
  line-height: 1.55;
}
.station-list__body { min-width: 0; }
.station-list__title {
  display: block;
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  line-height: 1.35;
}
.station-list__text {
  margin: .35rem 0 0;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--text-soft);
}
.station-list__text:first-child { margin-top: 0; }
.station-list__text a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
.station-list__text a:hover { color: var(--accent-hover); }

/* --------------------------------------------------------------------------
   7. Karten
   -------------------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:has(a:hover), .card:has(a:focus-visible) {
  box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: var(--border-strong);
}
.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:has(a:hover) .card__media img { transform: scale(1.04); }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; gap: .55rem; }
.card__title { font-size: var(--step-1); margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__meta { font-size: var(--step--2); color: var(--text-muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.card__text { color: var(--text-soft); font-size: var(--step--1); margin: 0; }
.card__footer {
  margin-top: auto; padding-top: .6rem;
  font-size: var(--step--1); font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: .35em;
}
.card__footer svg {
  width: .85em; height: .85em;
  flex: 0 0 auto;
  display: block;
  transition: transform var(--dur) var(--ease);
}
.card:has(a:hover) .card__footer svg,
.card:has(a:focus-visible) .card__footer svg {
  transform: translateX(2px);
}

/* Produktkarte: auf Lesebreite begrenzt, damit der Beschreibungstext die
   Karte ausfüllt, statt rechts eine leere Fläche zu lassen. */
.product-card {
  width: 100%; max-width: 56rem; margin-inline: auto;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.product-card__actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.product-card__actions .btn {
  padding: .65rem 1.2rem;
  font-size: var(--step--1);
  font-weight: 650;
}
.product-card__actions .btn svg {
  width: 1em;
  height: 1em;
}

/* Dienstleistungen: Reparatur als Fokus, weitere Angebote darunter */
.service-feature {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  padding: clamp(1.35rem, 2.5vw, 2.5rem);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--sea-100) 55%, transparent), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
}
@media (min-width: 860px) {
  .service-feature {
    grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  }
}
@media (min-width: 1100px) {
  .service-feature {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  }
}
.service-feature__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-feature__body h3 {
  font-size: var(--step-3);
  line-height: 1.15;
  margin: .25rem 0 1rem;
  color: var(--text);
}
.service-feature__body .prose {
  max-width: none;
  font-size: var(--step-0);
  color: var(--text);
}
.service-feature__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.service-more {
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
.service-aside {
  padding: 1rem 1.1rem 1.15rem;
  margin: 0 -.35rem;
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  background: transparent;
  transition:
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.service-aside:hover {
  background: var(--surface);
  border-top-color: var(--highlight);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .service-aside { transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
  .service-aside:hover { transform: none; }
}
.service-aside h3 {
  font-size: var(--step-1);
  margin: 0 0 .55rem;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.service-aside:hover h3 { color: var(--accent); }
.service-aside .prose {
  max-width: none;
  font-size: var(--step--1);
  color: var(--text-soft);
}
.service-aside .prose > * + * { margin-top: .75em; }

/* --------------------------------------------------------------------------
   8. Fließtext
   -------------------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius-s); margin-block: 1.5em; }
.prose hr { margin-block: 2.25em; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--accent); }
.prose a { font-weight: 550; }

.lead { font-size: var(--step-1); color: var(--text-soft); max-width: var(--measure); }

.callout {
  border-left: 4px solid var(--highlight);
  background: var(--surface-inset);
  padding: 1.1rem 1.35rem; border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--text-soft);
}
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout p + p { margin-top: .75rem; }
.callout--warn { border-left-color: #c0392b; }
.callout strong { color: var(--text); }

.spec-list { display: grid; gap: 0; margin: 0; }
.spec-list div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .62rem 0; border-bottom: 1px solid var(--border);
}
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--text-soft); }
.spec-list dd { margin: 0; font-weight: 650; text-align: right; }

/* --------------------------------------------------------------------------
   9. Zeitleiste (Expeditionen)
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 2px;
  background: linear-gradient(var(--border), var(--border-strong), var(--border));
}
.timeline > li { position: relative; margin: 0 0 clamp(2rem, 1rem + 3vw, 3.5rem); padding-left: clamp(1.5rem, .8rem + 2.4vw, 2.75rem); }
.timeline > li:last-child { margin-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -6px; top: .55rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border-strong);
}
.timeline__year {
  display: inline-block; font-size: var(--step--1); font-weight: 700;
  letter-spacing: .09em; color: var(--highlight); margin-bottom: .3rem;
  white-space: nowrap;
}
.timeline__title { font-size: var(--step-2); margin-bottom: .6rem; }
.tour-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1rem;
}
.tour-item .timeline__year { margin-bottom: 0; flex: 0 0 auto; min-width: 6.5rem; }
.tour-item__text { margin: 0; flex: 1 1 12rem; }
.timeline__grid {
  display: grid;
  gap: clamp(1rem, .6rem + 1.2vw, 1.75rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
/* Schmal: Bild direkt unter der Überschrift, darüber dem Fließtext. */
.timeline__grid > figure {
  order: -1;
  margin: 0;
  max-width: 100%;
}
.timeline__grid > figure img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-s);
}
.timeline__grid > figure .figure-zoom {
  width: fit-content;
  max-width: 100%;
}
.timeline__grid > figure .figure-zoom img {
  width: auto;
  max-width: 100%;
}
.timeline__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.timeline__side .media-strip { margin-top: 0; }
.timeline__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
}
/* Desktop: Text links, Bild rechts. */
@media (min-width: 48rem) {
  .timeline__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(12rem, .9fr);
  }
  .timeline__grid > figure { order: 0; }
}

/* --------------------------------------------------------------------------
   10. Logbuch
   -------------------------------------------------------------------------- */
.log-list { display: grid; gap: clamp(1.25rem, .75rem + 1.6vw, 2rem); margin: 0; padding: 0; list-style: none; }
.log-list > li { margin: 0; }

.log-entry {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.log-entry__head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem;
  padding: .85rem 1.25rem;
  background: var(--surface-inset); border-bottom: 1px solid var(--border);
}
.log-entry__date {
  margin: 0;
  font-weight: 700; font-size: var(--step--1); letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: .45rem;
}
.log-entry__date svg { width: 1.05em; height: 1.05em; color: var(--accent); }
.log-entry__body { padding: 1.25rem; }
.log-entry__text { max-width: var(--measure); }
.log-entry__text p { margin-bottom: 1em; }
.log-entry__note {
  margin: 1.1rem 0 0;
  padding: 0;
  max-width: var(--measure);
  font-size: var(--step--2);
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 450;
}
.log-entry__note a {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, var(--text-muted) 55%, transparent);
}
.log-entry__note a:hover,
.log-entry__note a:focus-visible {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  outline: none;
}
.log-entry__heading { font-size: var(--step-2); margin-bottom: .75rem; }

/* Bilderspalte: Fotos stehen neben dem Text, statt die Karte halb leer zu
   lassen. Die Lesebreite von rund 70 Zeichen bleibt dabei unangetastet. */
.log-entry__media { display: grid; gap: .75rem; margin-top: 1.35rem; }
.log-entry__media figure { margin: 0; }
.log-entry__media img {
  width: 100%; height: auto;
  border-radius: var(--radius-s); background: var(--surface-2);
}
.log-entry__media .media-card { width: 100%; }
.log-entry__media .media-card__thumb { aspect-ratio: 3 / 2; }
.log-entry__more-photos {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 223 / 149;
  margin: 0;
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, var(--surface-2)), var(--surface-2));
  color: var(--text);
  text-decoration: none;
  text-align: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.log-entry__more-photos__inner {
  display: grid;
  gap: .35rem;
  justify-items: center;
}
.log-entry__more-photos__icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--accent);
}
.log-entry__more-photos__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.log-entry__more-photos__label {
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.25;
  max-width: 12em;
}
.log-entry__more-photos__hint {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--muted, color-mix(in srgb, var(--text) 62%, transparent));
}
.log-entry__more-photos:hover,
.log-entry__more-photos:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
  outline: none;
}
.log-entry__more-photos:hover .log-entry__more-photos__hint,
.log-entry__more-photos:focus-visible .log-entry__more-photos__hint {
  color: inherit;
}
.log-entry__wide { margin-top: 1.35rem; }

@media (max-width: 51.99em) {
  /* Schmale Geräte: Fotos unter dem Text, mehrere nebeneinander */
  .log-entry__media {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  }
}

@media (min-width: 52em) {
  .log-entry__body--split {
    display: grid;
    grid-template-columns: minmax(0, var(--measure)) minmax(11rem, 1fr);
    gap: 0 clamp(1.25rem, .5rem + 1.6vw, 2.25rem);
    align-items: start;
  }
  .log-entry__body--split .log-entry__heading { grid-column: 1 / -1; }
  .log-entry__body--split .log-entry__media { margin-top: .35rem; }
}

.log-entry__video { margin: 0; max-width: none; }
.log-entry__video video {
  width: 100%; aspect-ratio: 3 / 2; display: block;
  background: #000; border-radius: var(--radius-s);
}
.log-entry__video p { color: #fff; padding: 1rem; margin: 0; }
.log-entry__video a { color: var(--sea-300); }

.log-nav {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: 1rem 0 0;
}

.log-tiles {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .5rem;
  align-items: stretch;
  margin-bottom: 1.75rem !important;
}
.log-tiles__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: .5rem;
  min-width: 0;
}
.log-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 0;
  padding: .7rem .9rem;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: .01em;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.log-tile span { line-height: 1.25; }
.log-tile svg {
  width: 1.15rem; height: 1.15rem; flex: 0 0 auto;
  stroke: currentColor;
}
.log-tile:hover,
.log-tile:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  transform: translateY(-1px);
  outline: none;
}
.log-tile--arrow {
  width: 2.75rem;
  min-width: 2.75rem;
  padding: .7rem .35rem;
  justify-content: center;
  text-align: center;
}
.log-tile--arrow svg {
  width: 1.35rem; height: 1.35rem;
}
.log-tile--arrow.is-empty {
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 36rem) {
  .log-tiles {
    gap: .4rem;
    margin-bottom: 1.5rem !important;
  }
  .log-tiles__actions {
    gap: .4rem;
    grid-template-columns: 1fr;
  }
  .log-tile {
    min-height: 2.75rem;
    padding: .65rem .75rem;
    font-size: var(--step--2);
    justify-content: flex-start;
  }
  .log-tile--arrow {
    width: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   11. Galerie & Lightbox
   -------------------------------------------------------------------------- */
.gallery {
  display: grid; gap: clamp(.5rem, .3rem + .7vw, 1rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  margin: 0; padding: 0; list-style: none;
}
.gallery > li { margin: 0; }
.gallery__item {
  display: block; position: relative; width: 100%; padding: 0; border: 0;
  background: var(--surface-2); border-radius: var(--radius-s);
  overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 2;
  scroll-margin-top: calc(var(--header-h) + 2rem);
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease), opacity var(--dur) var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 14, 20, .45), transparent 55%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute; left: .55rem; right: .55rem; bottom: .45rem; z-index: 1;
  color: #fff; font-size: var(--step--2); font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-align: left;
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption { opacity: 1; transform: translateY(0); }

.gallery__video {
  position: relative; margin: 0;
  border-radius: var(--radius-s); overflow: hidden;
  aspect-ratio: 3 / 2; background: #000;
}
.gallery__video video {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  background: #000;
}
.gallery__video .gallery__caption {
  top: .45rem; bottom: auto;
  opacity: 1; transform: none;
  pointer-events: none;
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  background: rgba(6, 10, 14, .96);
  color: #fff;
  display: grid; grid-template-rows: auto 1fr auto;
}
.lightbox::backdrop { background: rgba(6, 10, 14, .96); }
.lightbox:not([open]) { display: none; }
.lightbox__bar {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem clamp(.75rem, .5rem + 1vw, 1.5rem);
}
.lightbox__count { font-size: var(--step--1); font-weight: 600; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.lightbox__stage {
  position: relative; display: grid; place-items: center;
  padding: 0 clamp(.5rem, .25rem + 2vw, 4rem); min-height: 0;
}
.lightbox__stage img,
.lightbox__video {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 4px;
}
.lightbox__video { width: min(100%, 64rem); aspect-ratio: 16 / 9; background: #000; }
.lightbox__stage img[hidden], .lightbox__video[hidden] { display: none; }
.lightbox__foot {
  padding: .85rem clamp(.75rem, .5rem + 1vw, 1.5rem) 1.25rem;
  text-align: center; font-size: var(--step--1); color: rgba(255, 255, 255, .8);
  min-height: 3rem;
}
.lightbox__btn {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn svg { width: 1.25rem; height: 1.25rem; }
.lightbox__btn[disabled] { opacity: .3; cursor: default; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
}
.lightbox__nav--prev { left: max(.35rem, env(safe-area-inset-left, 0px)); }
.lightbox__nav--next { right: max(.35rem, env(safe-area-inset-right, 0px)); }
.lightbox__close { margin-left: auto; }

/* Einzelbild, das sich per Klick vergrößern lässt */
.figure-zoom {
  display: block; width: 100%; padding: 0; border: 1px solid var(--border);
  background: var(--surface-2); border-radius: var(--radius-s); overflow: hidden;
  cursor: zoom-in; font: inherit; color: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.figure-zoom img { width: 100%; height: auto; display: block; transition: transform .45s var(--ease); }
.figure-zoom:hover, .figure-zoom:focus-visible { border-color: var(--accent); box-shadow: var(--shadow-2); }
.figure-zoom:hover img { transform: scale(1.03); }

/* --------------------------------------------------------------------------
   11b. Medienleiste (Karten, Trailer und Clips beim Reisebericht)
   -------------------------------------------------------------------------- */
.media-strip {
  display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  margin: 1.75rem 0 0; padding: 0; list-style: none;
}
.media-strip > li { margin: 0; }

.media-card {
  display: flex; flex-direction: column; gap: .55rem;
  width: 100%; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: zoom-in;
}
.media-card[data-type="video"] { cursor: pointer; }
.media-card__thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius-s); border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.media-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.media-card:hover .media-card__thumb,
.media-card:focus-visible .media-card__thumb {
  border-color: var(--accent); box-shadow: var(--shadow-2);
}
.media-card:hover .media-card__thumb img { transform: scale(1.05); }

.media-card__badge {
  position: absolute; top: .5rem; left: .5rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .22rem .55rem; border-radius: 999px;
  background: rgba(8, 14, 20, .82); color: #fff;
  font-size: var(--step--2); font-weight: 650; letter-spacing: .02em;
}
.media-card__badge svg { width: .9em; height: .9em; }

.media-card__play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  background: linear-gradient(to top, rgba(8, 14, 20, .5), transparent 60%);
}
.media-card__play span {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink-900);
  box-shadow: var(--shadow-2);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.media-card__play svg { width: 1.25rem; height: 1.25rem; margin-left: .12rem; }
.media-card:hover .media-card__play span { transform: scale(1.08); background: #fff; }

.media-card__label { font-size: var(--step--1); font-weight: 650; line-height: 1.35; }
.media-card__hint { font-size: var(--step--2); color: var(--text-muted); }

.map-grid {
  display: grid;
  gap: clamp(1rem, .75rem + 1.2vw, 1.5rem);
  margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.map-embed {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.map-embed figcaption {
  margin: 0;
  padding: .8rem 1rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.map-embed__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink-800);
}
.map-embed__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

.map-modal {
  width: min(96vw, 72rem);
  height: min(92vh, 52rem);
  height: min(92dvh, 52rem);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-modal::backdrop { background: rgba(6, 10, 14, .72); }
.map-modal:not([open]) { display: none; }
.map-modal__bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .65rem .75rem .65rem .9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  flex: 0 0 auto;
}
.map-modal__heading {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.map-modal__title {
  margin: 0;
  font-size: var(--step-0);
  font-weight: 650;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.map-modal__count {
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.map-modal__nav,
.map-modal__close {
  flex: 0 0 auto;
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
}
.map-modal__nav:hover,
.map-modal__close:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.map-modal__nav[disabled] { opacity: .35; cursor: default; }
.map-modal__nav[hidden] { display: none; }
.map-modal__nav svg,
.map-modal__close svg { width: 1.2rem; height: 1.2rem; }
.map-modal__frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--ink-800, #1a222c);
}
.map-modal__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* --------------------------------------------------------------------------
   12. Medienplayer
   -------------------------------------------------------------------------- */
.media-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.media-item__player { background: #000; }
.media-item__player video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
/* Ersatztext, falls der Browser das Video nicht abspielen kann */
.media-item__player p { color: #fff; padding: 1.25rem; margin: 0; }
.media-item__player a { color: var(--sea-300); }
.media-item__audio { padding: 1.1rem 1.25rem 0; }
.media-item__audio audio { width: 100%; }
.media-item__audio a { color: var(--accent); }
.media-item__body { padding: 1.25rem; }
.media-item__body h3 { margin-bottom: .5rem; }
/* In der Karte begrenzt schon die Kartenbreite die Zeilenlänge –
   eine zusätzliche Lesebreite ließe die Karte halb leer wirken. */
.media-item__body .prose { font-size: var(--step--1); color: var(--text-soft); max-width: none; }
.media-item__cover { aspect-ratio: 16 / 9; background: var(--surface-2); }
.media-item__cover img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   13. Filter / Suche
   -------------------------------------------------------------------------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  padding: 1rem 1.15rem; margin-bottom: 1.75rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.toolbar__field { position: relative; flex: 1 1 15rem; min-width: 0; }
.toolbar__field svg {
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 1.05rem; height: 1.05rem; color: var(--text-muted); pointer-events: none;
}
.toolbar input[type="search"] {
  width: 100%; min-height: 2.75rem; padding: .62rem .85rem .62rem 2.4rem;
  font: inherit; font-size: var(--step--1); color: var(--text);
  background: var(--surface-inset); border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.toolbar input[type="search"]::placeholder { color: var(--text-muted); }
.toolbar select {
  font: inherit; font-size: var(--step--1); color: var(--text);
  min-height: 2.75rem;
  padding: .62rem 2rem .62rem .8rem;
  background: var(--surface-inset); border: 1px solid var(--border);
  border-radius: var(--radius-s); cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a99a8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; background-size: 1rem;
}
.toolbar__count { margin-left: auto; font-size: var(--step--2); color: var(--text-muted); font-weight: 600; }
.is-hidden { display: none !important; }
.empty-state {
  padding: 2.5rem 1rem; text-align: center; color: var(--text-muted);
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   14. Verweislisten (Presse, Downloads)
   -------------------------------------------------------------------------- */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.link-list > li { margin: 0; }
.link-list a {
  display: flex; align-items: center; gap: .85rem;
  padding: .8rem 1rem; border-radius: var(--radius-s);
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  min-height: 2.75rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.link-list a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.link-list__icon {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border-radius: var(--radius-s); background: var(--surface-2); color: var(--accent);
}
.link-list__icon svg { width: 1.1rem; height: 1.1rem; }
.link-list__label {
  flex: 1; font-weight: 600; font-size: var(--step--1); min-width: 0;
  overflow-wrap: anywhere;
}
.link-list__hint { font-size: var(--step--2); color: var(--text-muted); white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 36rem) {
  .link-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: .85rem;
    row-gap: .15rem;
    align-items: center;
  }
  .link-list__icon { grid-row: 1 / span 2; align-self: center; }
  .link-list__hint {
    grid-column: 2;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   15. Zitate (Leserstimmen)
   -------------------------------------------------------------------------- */
.quote-grid { columns: 2 22rem; column-gap: clamp(1rem, .6rem + 1.2vw, 1.75rem); }
.quote {
  break-inside: avoid; margin: 0 0 clamp(1rem, .6rem + 1.2vw, 1.75rem);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-1);
}
.quote__date {
  font-size: var(--step--2); font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--highlight); margin-bottom: .65rem;
}
.quote blockquote { margin: 0; font-family: var(--font-serif); font-size: var(--step-0); line-height: 1.7; color: var(--text-soft); }
.quote blockquote p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Fußzeile
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
  background: var(--ink-900); color: var(--ink-200);
  padding-block: clamp(2.5rem, 1.75rem + 3vw, 4rem) 1.5rem;
}
html[data-theme="dark"] .site-footer { border-top: 1px solid var(--border); }
.site-footer a { color: var(--ink-100); text-decoration-color: rgba(255, 255, 255, .3); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid; gap: 2rem clamp(1.5rem, 1rem + 2vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.site-footer h2 {
  font-size: var(--step--1); letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-300); margin-bottom: .9rem; font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer li { margin: 0; }
.site-footer__brand p { color: var(--ink-300); font-size: var(--step--1); max-width: 26rem; }
.site-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: var(--step--2); color: var(--ink-300);
}
.site-footer__bottom > p { margin: 0; }
.site-footer__bottom nav ul {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .6rem 1.25rem;
}
.site-footer__bottom nav li + li { margin-top: 0; }

.to-top {
  position: fixed;
  right: max(clamp(.75rem, .5rem + 1vw, 1.75rem), env(safe-area-inset-right, 0px));
  bottom: max(clamp(.75rem, .5rem + 1vw, 1.75rem), env(safe-area-inset-bottom, 0px));
  z-index: 90; width: 2.9rem; height: 2.9rem; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text-soft);
  box-shadow: var(--shadow-2); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(.5rem);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--accent); border-color: var(--accent); }
.to-top svg { width: 1.2rem; height: 1.2rem; }

/* --------------------------------------------------------------------------
   17. Einblenden beim Scrollen
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

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

/* --------------------------------------------------------------------------
   18. Druckausgabe
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .to-top, .toolbar, .lightbox, .map-modal, .nav-toggle, .theme-toggle,
  .lang-switch, .lang-banner, .hero__actions, .breadcrumb { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-header { background: none; color: #000; min-height: 0; padding-block: 0 1rem; }
  .hero::after, .page-header::after, .hero__media, .page-header__media { display: none; }
  .page-header > .wrap { position: static; padding-block: 0; }
  .hero h1, .page-header h1, .hero__lead, .page-header__lead { color: #000; }
  .card, .log-entry, .quote, .media-item { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ---------------------------------------------------------------
   Sprachhinweis (Browsersprache ≠ Seitensprache)
   --------------------------------------------------------------- */
.lang-banner {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: var(--step--1);
}
.lang-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding-block: .7rem;
}
.lang-banner__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text-soft);
  line-height: 1.45;
}
.lang-banner__link {
  font-weight: 650;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .15em;
  white-space: nowrap;
}
.lang-banner__link:hover { color: var(--accent-hover); }
.lang-banner__close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.lang-banner__close:hover {
  color: var(--text);
  background: var(--surface);
}
.lang-banner__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------
   Sprachumschalter – Dropdown mit Länderflaggen
   --------------------------------------------------------------- */
.lang-switch {
  position: relative;
  flex: 0 0 auto;
  margin-left: .25rem;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .35rem .55rem .35rem .45rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  background: none;
  color: var(--text-soft);
  font: inherit;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang-switch__btn:hover {
  color: var(--text);
  background: var(--surface-2);
}
.lang-switch__btn[aria-expanded="true"] {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border);
}
.lang-switch__flag {
  width: 1.25rem;
  height: .85rem;
  flex: 0 0 auto;
  display: block;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  overflow: hidden;
}
.lang-switch__code {
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lang-switch__caret {
  width: .85rem;
  height: .85rem;
  flex: 0 0 auto;
  opacity: .7;
  transition: transform var(--dur) var(--ease);
}
.lang-switch__btn[aria-expanded="true"] .lang-switch__caret {
  transform: rotate(180deg);
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + .35rem);
  right: 0;
  z-index: 120;
  list-style: none;
  margin: 0;
  padding: .35rem;
  min-width: 11.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: .15rem;
}
.lang-switch__menu[hidden] { display: none; }
.lang-switch__menu > li { margin: 0; }
.lang-switch__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  min-height: 2.5rem;
  padding: .4rem .55rem;
  border-radius: calc(var(--radius-s) - 1px);
  color: var(--text-soft);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  box-sizing: border-box;
  transition: color .15s, background-color .15s;
}
.lang-switch__item:hover {
  color: var(--text);
  background: var(--surface-2);
}
.lang-switch__item[aria-current="true"] {
  color: var(--accent);
  background: var(--accent-soft);
  cursor: default;
}
.lang-switch__label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.2;
}
.lang-switch__item .lang-switch__code {
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .04em;
}
.lang-switch__item[aria-current="true"] .lang-switch__code {
  color: var(--accent);
}
.lang-switch__btn:focus-visible,
.lang-switch__item:focus-visible {
  outline: 2px solid var(--sea-500);
  outline-offset: 2px;
}

@media (max-width: 34rem) {
  .lang-switch { margin-left: .1rem; }
  .lang-switch__btn {
    min-height: 2.5rem;
    padding: .3rem .45rem .3rem .35rem;
    gap: .3rem;
  }
  .lang-switch__menu {
    min-width: 10.5rem;
  }
}
