/* posan.de – gemeinsames Stylesheet (Pedalglobe-Marke, docs/marke.md der App).
   Versioniert: Bei Änderungen Dateinamen hochzählen (site.v15.css) und in allen Seiten ersetzen,
   weil die .htaccess CSS ein Jahr lang cachen lässt. */

:root {
  color-scheme: light dark;
  /* Marke */
  --indigo: #1b1e4b;
  --navy: #12143a;
  --amber: #ffc76a;
  --coral: #ff7d64;
  --teal: #2a9d97;
  --teal-deep: #1b7676;
  --cream: #fff0e0;
  /* Rollen, hell */
  --bg: #fbf7f2;
  --surface: #f3ece3;
  --surface-2: #ece3d8;
  --card: #ffffff;
  --text: #12143a;
  --muted: #5b5d78;
  --border: #e6ddd2;
  --accent: #176e6c;          /* 6,0:1 auf Weiß */
  --accent-text: #ffffff;
  --band: #1b1e4b;
  --band-text: #fff0e0;
  --band-muted: #d9cfe0;
  --band-link: #ffc76a;
  --mark-bg: #ffe08a;
  --mark-text: #1b1e4b;
  --note-bg: #fff4e8;
  --note-border: #c2410c;
  --shadow: 0 1px 2px rgba(18, 20, 58, .06), 0 12px 32px rgba(18, 20, 58, .10);
  --shadow-1: 0 1px 2px rgba(18, 20, 58, .06), 0 2px 8px rgba(18, 20, 58, .05);
  --radius: 1rem;
  --wrap: 72rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1130;
    --surface: #181b44;
    --card: #1c1f4c;
    --surface-2: #22265a;
    --text: #f3e4d0;
    --muted: #c9bfb6;
    --border: #343a72;
    --accent: #4cc1b8;        /* 8,3:1 auf #0f1130 */
    --accent-text: #0f1130;
    --band: #0b0d26;
    --band-text: #fff0e0;
    --band-muted: #cfc6d8;
    --band-link: #f2b660;
    --mark-bg: #5a4300;
    --mark-text: #fff0e0;
    --note-bg: #2a1d16;
    --note-border: #f2b660;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

/* Fraunces (SIL OFL 1.1, assets/fonts/OFL-Fraunces.txt): selbst gehostet, Teilmenge Latin/Latin-Ext, wght 500–700,
   SOFT 100 und WONK 0 fest eingebaut (tools: fonttools varLib.instancer + pyftsubset, README „Schrift“) */
@font-face {
  font-family: "Fraunces"; src: url("fonts/fraunces.v1.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 var(--font);
  overflow-wrap: break-word;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.band :focus-visible, .hero :focus-visible, .skip:focus-visible { outline-color: var(--amber); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 1.5rem; } }
.narrow { max-width: 50rem; }

.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 30;
  background: var(--band); color: var(--band-text); padding: .6rem 1rem; border-radius: .5rem;
}
.skip:focus { top: .5rem; position: fixed; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Kopf ---------- */
.band { background: var(--band); color: var(--band-text); }
.band a { color: var(--band-text); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4rem; padding-top: .4rem; padding-bottom: .4rem; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font: 700 1.25rem/1.2 var(--font-display); text-decoration: none; letter-spacing: .01em;
}
.brand img { width: 2.5rem; height: 2.5rem; border-radius: .6rem; }
.brand small { font: 500 .85rem/1 var(--font); color: var(--band-muted); }
.site-nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .3rem; align-items: center;
}
.site-nav a {
  display: inline-block; padding: .55rem .6rem; text-decoration: none; border-radius: .5rem; font-weight: 600;
  font-size: .97rem; line-height: 1.2;
}
.site-nav a:hover { background: rgba(255, 240, 224, .12); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.site-nav .lang a { border: 1px solid rgba(255, 240, 224, .45); }
/* Leichte Sprache als Knopf neben dem Sprachschalter (Nutzer 7.11.2026), gleich gestaltet wie „DE ▾“ */
.site-nav .easy-btn { margin-left: .5rem; }
.site-nav .easy-btn a { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid rgba(255, 240, 224, .45); padding: .5rem .7rem; }
.site-nav .easy-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.nav-menu > ul > li.sep { border-top: 1px solid rgba(255, 240, 224, .2); margin-top: .3rem; padding-top: .3rem; }
.help-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .2rem 0 1.2rem; }
.help-links a { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--card); text-decoration: none; font-weight: 600; color: var(--accent); }
.help-links a:hover { border-color: var(--accent); }
@media (max-width: 40rem) {
  .site-header .bar { padding-bottom: .6rem; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 0 .1rem; margin-left: -.6rem; }
  .site-nav a { padding: .55rem .6rem; font-size: .93rem; }
}

/* ---------- Held ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--band-text);
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 199, 106, .95) 0, rgba(255, 125, 100, .9) 17rem, rgba(255, 125, 100, 0) 17.1rem),
    linear-gradient(180deg, var(--indigo) 0%, var(--navy) 100%);
}
.hero::after { /* Planetenbogen */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -78rem; height: 82rem; border-radius: 50%;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 12%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 5.5rem; }
@media (min-width: 52rem) {
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 3.5rem; padding-bottom: 6rem; }
}
@media (max-width: 51.99rem) {
  .hero {
    background:
      radial-gradient(circle at 50% 72%, rgba(255, 199, 106, .95) 0, rgba(255, 125, 100, .9) 11.5rem, rgba(255, 125, 100, 0) 11.6rem),
      linear-gradient(180deg, var(--indigo) 0%, var(--navy) 100%);
  }
}
.hero .app-icon { width: 5.5rem; height: 5.5rem; border-radius: 1.25rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.hero h1 {
  font: 800 clamp(2.4rem, 7vw, 3.6rem)/1.05 var(--font-display); margin: 1rem 0 .3rem; letter-spacing: -.01em;
}
.hero .subtitle { font: 700 clamp(1.15rem, 3.2vw, 1.5rem)/1.3 var(--font-display); color: var(--amber); margin: 0 0 1rem; }
.hero .lead { font-size: 1.15rem; max-width: 36rem; margin: 0 0 1.5rem; }
.hero .meta { color: var(--band-muted); font-size: .95rem; margin: 1rem 0 0; }
.hero a { color: var(--band-text); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem;
  padding: .75rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent;
}
.button.primary { background: var(--accent); color: var(--accent-text); }
.button.primary:hover { filter: brightness(1.08); }
.button.ghost { border-color: currentColor; color: inherit; }
.button.ghost:hover { background: rgba(255, 240, 224, .1); }
.button svg { width: 1.25rem; height: 1.25rem; flex: none; }
/* Vor dem Start: reiner Text statt Badge (kein Link, kein Knopf-Aussehen) */
.store-soon {
  display: inline-flex; align-items: center; min-height: 3rem; padding: .7rem 1.2rem; border-radius: .75rem;
  border: 1px dashed rgba(255, 240, 224, .55); color: var(--band-text); font-weight: 600; line-height: 1.2;
}
/* Ab dem Start: offizielles Badge, unverändert, 48 px hoch (Apple: mindestens 40 px, Freiraum ¼ der Höhe = 12 px) */
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 48px; width: auto; }
.hero .beta-note { margin-top: .6rem; }

/* Bildschirmfoto im Gerät: Rahmen nur aus CSS (keine Apple-Grafik, siehe README „Gerätrahmen“).
   Alle Maße in cqw = Prozent der Rahmenbreite, damit Rahmen, Ecken und Dynamic Island mit jeder Größe mitskalieren.
   iPhone (Bildschirm 402 × 874 pt): Seitenknöpfe 0,7 · Metallkante 1,0 · schwarzer Rand 2,1 → Bildschirm 92,4 breit,
   Ecken 13,7 % der Bildschirmbreite, Dynamic Island 126 × 37 pt, 11 pt unter der Oberkante. Die Bildschirmfotos
   haben ihre Statusleiste an Originalposition, Uhrzeit und Symbole liegen deshalb links und rechts der Insel. */
.device {
  --metal-1: #2c2f37; --metal-2: #a3a8b3; --metal-3: #5d626d; --button: #5f6470;
  container-type: inline-size; position: relative; isolation: isolate;
  margin: 0 auto; width: min(100%, 17.5rem); padding: 0;
  /* Seitenknöpfe: Aktionstaste, Lauter, Leiser links, Seitentaste rechts (liegen unter dem Rahmen) */
  background:
    linear-gradient(var(--button), var(--button)) left 0 top 17.2% / 1.6% 3.6% no-repeat,
    linear-gradient(var(--button), var(--button)) left 0 top 25% / 1.6% 6.4% no-repeat,
    linear-gradient(var(--button), var(--button)) left 0 top 34.4% / 1.6% 6.4% no-repeat,
    linear-gradient(var(--button), var(--button)) right 0 top 28.4% / 1.6% 10.2% no-repeat;
}
.device::before {                     /* Gehäuse mit Metallkante und Schatten */
  content: ""; position: absolute; z-index: -1; inset: 0 .7cqw; border-radius: 15.8cqw;
  background:
    linear-gradient(180deg, var(--metal-2) 0, var(--metal-3) .35%, transparent 1.1%, transparent 98.9%, var(--metal-3) 99.65%, var(--metal-2) 100%),
    linear-gradient(90deg, var(--metal-1) 0%, var(--metal-2) .9%, var(--metal-3) 2.2%, var(--metal-1) 6%,
                    var(--metal-1) 94%, var(--metal-3) 97.8%, var(--metal-2) 99.1%, var(--metal-1) 100%);
  box-shadow:
    inset 0 0 0 .22cqw rgba(255, 255, 255, .22), inset 0 .5cqw .6cqw rgba(255, 255, 255, .12),
    0 .6cqw 1.2cqw rgba(0, 0, 0, .22), 0 4cqw 9cqw rgba(8, 10, 30, .32);
}
.device::after {                      /* Dynamic Island mit angedeuteter Kamera */
  content: ""; position: absolute; z-index: 1; top: 5.63cqw; left: 50%; width: 28.96cqw; height: 8.5cqw;
  transform: translateX(-50%); border-radius: 999px;
  background: radial-gradient(circle at calc(100% - 4.25cqw) 50%, #1d2436 0, #0c101b 1.3cqw, #000 1.9cqw);
}
.device picture { display: block; }
.device img, .device video {
  display: block; width: 100%; width: 92.4cqw; margin: 3.1cqw 3.8cqw; aspect-ratio: 600 / 1304; object-fit: cover;
  border-radius: 12.7cqw; background: #000;
  box-shadow: 0 0 0 2.1cqw #050507, 0 0 0 2.25cqw #17181d;   /* schwarzer Rand und feine Fuge zum Metall */
}
/* iPad im Querformat: Metallkante 0,45 · Rand 2,0 · Ecken 1,6, Frontkamera mittig an der langen Kante, keine Knöpfe */
.device.tablet { width: min(100%, 46rem); background: none; }
.device.tablet::before {
  inset: 0; border-radius: 4.05cqw;
  background:
    linear-gradient(180deg, var(--metal-2) 0, var(--metal-3) .3%, transparent .7%, transparent 99.3%, var(--metal-3) 99.7%, var(--metal-2) 100%),
    linear-gradient(90deg, var(--metal-2) 0, var(--metal-3) .2%, var(--metal-1) .6%, var(--metal-1) 99.4%, var(--metal-3) 99.8%, var(--metal-2) 100%);
}
.device.tablet::after {
  top: 1.22cqw; width: .55cqw; height: .55cqw;
  background: radial-gradient(circle at 40% 40%, #2a3350 0, #0b0e18 60%, #000 100%);
}
.device.tablet img { width: 95.1cqw; margin: 2.45cqw; aspect-ratio: auto; height: auto; border-radius: 1.6cqw; box-shadow: 0 0 0 2cqw #050507, 0 0 0 2.12cqw #17181d; }
.hero .device { width: min(78%, 17rem); }

/* ---------- Abschnitte ---------- */
main { display: block; }
.section { padding: 3.5rem 0; }
.section.alt { background: var(--surface); }
.section h2 {
  font: 800 clamp(1.6rem, 4.5vw, 2.2rem)/1.15 var(--font-display); margin: 0 0 .8rem; letter-spacing: -.005em;
}
.section .intro { font-size: 1.12rem; color: var(--muted); max-width: 44rem; margin: 0 0 2rem; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .5rem;
}
.feature { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) {
  .feature { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .feature.reverse .media { order: 2; }
}
.feature + .feature { margin-top: 4rem; }
.feature h3 { font: 800 clamp(1.35rem, 3.6vw, 1.75rem)/1.2 var(--font-display); margin: 0 0 .6rem; }
.feature p, .feature li { max-width: 36rem; }
.feature ul { padding-left: 1.2rem; margin: .8rem 0; }
.feature li { margin: .35rem 0; }
.feature li::marker { color: var(--accent); }
.media figure { margin: 0; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .93rem; margin-top: .7rem; text-align: center; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.media-pair .device { width: 100%; }
.small { font-size: .93rem; color: var(--muted); }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0 !important; margin: 1rem 0; }
.pill-list li { margin: 0 !important; background: var(--surface-2); border-radius: 999px; padding: .3rem .8rem; font-size: .95rem; }
.section.alt .pill-list li { background: var(--bg); }

/* Kurzüberblick */
.highlights { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.highlights li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.highlights strong { display: block; font: 700 1.1rem/1.3 var(--font-display); margin-bottom: .25rem; }

/* Preise */
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.plan.pro { border: 2px solid var(--accent); }
.plan h3 { font: 800 1.5rem/1.2 var(--font-display); margin: 0; }
.plan .price { font: 800 1.9rem/1.2 var(--font-display); margin: .4rem 0 .2rem; }
.plan .price-note { color: var(--muted); margin: 0 0 1rem; font-size: .95rem; }
.plan ul { padding-left: 0; list-style: none; margin: 0; }
.plan li { padding: .45rem 0 .45rem 1.8rem; border-top: 1px solid var(--border); position: relative; }
.plan li::before {
  content: ""; position: absolute; left: .2rem; top: .95rem; width: .9rem; height: .5rem;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}

/* FAQ und aufklappbare Abschnitte */
details { border: 1px solid var(--border); border-radius: .75rem; margin: .6rem 0; background: var(--bg); }
summary { cursor: pointer; padding: .85rem 1.1rem; font-weight: 700; min-height: 44px; list-style-position: inside; }
summary::marker { color: var(--accent); }
details > div { padding: 0 1.1rem .9rem; }
details[open] > summary { border-bottom: 1px solid var(--border); margin-bottom: .7rem; }
details p { margin: .5rem 0; }

/* Projektkarten (Startseite) */
.projects { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .projects { grid-template-columns: repeat(2, 1fr); } .project.featured { grid-column: 1 / -1; } }
.project {
  background: var(--bg); border: 1px solid var(--border); border-radius: 1.25rem; box-shadow: var(--shadow);
  padding: 1.5rem; display: grid; gap: 1.25rem; align-content: start; position: relative;
}
.project.featured { background: var(--surface); }
@media (min-width: 52rem) { .project.featured { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 2.25rem; } }
.project .head { display: flex; gap: 1rem; align-items: center; }
.project .icon { width: 4rem; height: 4rem; border-radius: .95rem; flex: none; }
.project.featured .icon { width: 5rem; height: 5rem; border-radius: 1.15rem; }
.project h3 { font: 800 1.6rem/1.15 var(--font-display); margin: 0; }
.project.featured h3 { font-size: 2rem; }
.project .kind { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.project .tagline { font: 700 1.15rem/1.35 var(--font-display); margin: 0; color: var(--accent); }
.project p { margin: 0; }
.project .device { width: min(100%, 15rem); }

/* Posan-Einleitung */
.intro-hero { background: linear-gradient(180deg, var(--indigo), var(--navy)); color: var(--band-text); position: relative; overflow: hidden; }
.intro-hero .wrap { padding-top: 3rem; padding-bottom: 3.5rem; position: relative; z-index: 1; }
.intro-hero h1 { font: 800 clamp(2.4rem, 8vw, 3.8rem)/1.05 var(--font-display); margin: 0 0 .6rem; }
.intro-hero .lead { font-size: clamp(1.1rem, 3vw, 1.3rem); max-width: 40rem; margin: 0; }
.intro-hero .sub { color: var(--band-muted); max-width: 40rem; margin: 1rem 0 0; }
.intro-hero .sun {
  position: absolute; right: -6rem; top: -5rem; width: 20rem; height: 20rem; border-radius: 50%;
  background: linear-gradient(180deg, var(--amber), var(--coral)); opacity: .9;
}
@media (max-width: 40rem) { .intro-hero .sun { width: 12rem; height: 12rem; right: -4rem; top: -4rem; opacity: .55; } }

/* ---------- Textseiten (Rechtliches, Support, Lizenzen) ---------- */
.doc { padding: 2rem 0 3rem; }
.doc .wrap { max-width: 52rem; }
.doc h1 { font: 800 clamp(1.9rem, 6vw, 2.5rem)/1.15 var(--font-display); margin: .3rem 0 .4rem; }
.doc h2 { font: 800 1.4rem/1.3 var(--font-display); margin: 2.4rem 0 .6rem; padding-top: .6rem; border-top: 1px solid var(--border); }
.doc h3 { font-size: 1.12rem; line-height: 1.35; margin: 1.4rem 0 .4rem; }
.doc .box h3 { margin-top: .2rem; }
/* Kasten vor dem ersten Abschnitt: h2 für die Gliederung, aussehend wie h3 */
.doc h2.box-title { font-size: 1.12rem; line-height: 1.35; margin: .2rem 0 .4rem; padding-top: 0; border-top: 0; }
.stand { color: var(--muted); margin-top: 0; }
.lead { font-size: 1.12rem; }
.doc ul, .doc ol { padding-left: 1.4rem; }
.doc li { margin: .3rem 0; }
address { font-style: normal; }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; padding: .9rem 1.1rem; margin: 1rem 0; }
.note { background: var(--note-bg); border-left: 4px solid var(--note-border); border-radius: .3rem; padding: .8rem 1rem; margin: 1rem 0; }
.note p { margin: .3rem 0; }
mark.placeholder {
  background: var(--mark-bg); color: var(--mark-text); outline: 2px dashed currentColor; outline-offset: 1px;
  padding: 0 .25em; border-radius: .2em; font-weight: 600;
}
blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: .3rem; }
.table { overflow-x: auto; margin: 1rem 0; }
.table:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .65rem; border-bottom: 1px solid var(--border); }
th { background: var(--surface); }
caption { text-align: left; font-weight: 700; padding: .3rem 0; }
pre {
  white-space: pre-wrap; overflow-wrap: anywhere; font: .85rem/1.5 var(--mono);
  background: var(--surface); padding: .8rem; border-radius: .4rem; max-width: 100%;
}
code { font: .92em var(--mono); overflow-wrap: anywhere; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.cols h2 { border-top: 0; margin-top: .5rem; }

/* ---------- Fuß ---------- */
.site-footer { padding: 2rem 0 2.5rem; font-size: .95rem; }
.site-footer .cols-foot { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.site-footer h2 { font: 700 1rem/1.3 var(--font-display); margin: 0 0 .5rem; color: var(--band-text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; padding: .3rem 0; }
.site-footer p { margin: .3rem 0; color: var(--band-muted); }
.site-footer .legal { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 240, 224, .2); }

.error-page { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.error-page .code { font: 800 4rem/1 var(--font-display); color: var(--accent); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .band, .hero, .intro-hero { background: none !important; color: #000 !important; }
  .band a, .hero a { color: #000 !important; }
  .skip, .site-nav, .hero::after, .intro-hero .sun { display: none !important; }
  details { border: 0; } details > div { display: block; }
}

/* Hilfsklassen (statt style-Attributen, die die CSP verbietet) */
.mt { margin-top: 1.2rem; }
.mt-l { margin-top: 2rem; }
.actions.center { justify-content: center; }
.doc h2.plain { border-top: 0; margin-top: 0; }
@media (min-width: 52rem) { .feature.single { grid-template-columns: 1fr; } }

/* Rasterspalten dürfen schmaler werden als ihr Inhalt (Video/Bilder mit width-Attribut) */
.hero .wrap > *, .feature > *, .media-pair > *, .plans > *, .projects > *, .project > *, .highlights > * { min-width: 0; }
.media-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* Nachjustierung nach Review */
.project > div > * + * { margin-top: .7rem; }
@media (max-width: 40rem) { .intro-hero .sun { right: -6rem; top: -7rem; opacity: .45; } }
figure.device, .media .device { margin-left: auto; margin-right: auto; }
@media (min-width: 52rem) { .feature .media { max-width: 26rem; justify-self: center; width: 100%; } .feature .media.media-pair { max-width: 32rem; } }

/* ---------- Stufe 1 (21.10.2026): Glas-Anmutung wie in der App (Liquid Glass), Radtyp-Symbole, Vergleich ---------- */
:root {
  --glass-bg: rgba(255, 255, 255, .64);
  --glass-border: rgba(255, 255, 255, .8);
  --glass-hi: rgba(255, 255, 255, .7);
  --glass-edge: rgba(18, 20, 58, .09);
  --glass-shadow: 0 1px 2px rgba(18, 20, 58, .05), 0 12px 32px rgba(18, 20, 58, .09);
  --glow-1: rgba(42, 157, 151, .20);
  --glow-2: rgba(255, 125, 100, .17);
  --glow-3: rgba(255, 199, 106, .22);
  --sun: linear-gradient(135deg, var(--amber), var(--coral));
  --planet: linear-gradient(135deg, var(--teal), var(--teal-deep));
}
@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(36, 40, 96, .52);
    --glass-border: rgba(255, 240, 224, .13);
    --glass-hi: rgba(255, 240, 224, .10);
    --glass-edge: rgba(0, 0, 0, .25);
    --glass-shadow: 0 12px 32px rgba(0, 0, 0, .32);
    --glow-1: rgba(47, 163, 155, .22);
    --glow-2: rgba(232, 112, 90, .16);
    --glow-3: rgba(242, 182, 96, .10);
  }
}

/* Kopfzeile ab Tablet-Breite angeheftet, durchscheinend wie die Leisten der App */
@media (min-width: 40rem) {
  .site-header {
    position: sticky; top: 0; z-index: 20; background: rgba(27, 30, 75, .84);
    -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: 1px solid rgba(255, 240, 224, .10);
  }
  main [id] { scroll-margin-top: 5rem; }
  html { scroll-padding-top: 5rem; }
}
@media (min-width: 40rem) and (prefers-color-scheme: dark) { .site-header { background: rgba(11, 13, 38, .80); } }

.glass {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.4rem;
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-edge), var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
}
/* Abschnitt mit weichem Leuchten in Sonnen- und Planetenfarben, darauf Glas */
.section.glow {
  background:
    radial-gradient(40rem 26rem at 6% 8%, var(--glow-1), transparent 70%),
    radial-gradient(34rem 24rem at 96% 30%, var(--glow-2), transparent 70%),
    radial-gradient(42rem 28rem at 45% 105%, var(--glow-3), transparent 70%),
    var(--surface);
}

/* Held: Chips unter dem Lead */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.chips li {
  font-size: .9rem; font-weight: 600; line-height: 1.2; padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255, 240, 224, .12); border: 1px solid rgba(255, 240, 224, .28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hero .button.ghost { background: rgba(255, 240, 224, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero .button.primary { box-shadow: 0 6px 20px rgba(0, 0, 0, .28); }

/* Kurzüberblick als Glaskarten mit Farbmarke */
.section.glow .highlights li { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.4rem;
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-edge), var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); padding: 1.2rem 1.3rem; }
.highlights li::before {
  content: ""; display: block; width: 2.2rem; height: .32rem; border-radius: 999px; margin-bottom: .8rem;
  background: var(--planet);
}
.highlights li:nth-child(even)::before { background: var(--sun); }

/* Die sechs Radtypen mit den Symbolen der App (SF Symbols aus RouteUI, Strichstärke Regular), eingefärbt per Maske */
.bikes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; list-style: none;
  padding: 0 !important; margin: 1.1rem 0 1.3rem; max-width: 30rem;
}
.bikes li {
  margin: 0 !important; display: grid; justify-items: center; gap: .4rem; padding: .75rem .25rem .65rem;
  font-size: .88rem; font-weight: 600; text-align: center; line-height: 1.2; border-radius: 1rem;
}
.bike {
  display: block; width: 2.7rem; height: 1.8rem; background: var(--accent);
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.bike.touring { -webkit-mask-image: url(/img/bike-touring.v1.svg); mask-image: url(/img/bike-touring.v1.svg); }
.bike.gravel { -webkit-mask-image: url(/img/bike-gravel.v1.svg); mask-image: url(/img/bike-gravel.v1.svg); }
.bike.road { -webkit-mask-image: url(/img/bike-road.v1.svg); mask-image: url(/img/bike-road.v1.svg); }
.bike.bikepacking { -webkit-mask-image: url(/img/bike-bikepacking.v1.svg); mask-image: url(/img/bike-bikepacking.v1.svg); }
.bike.mountain { -webkit-mask-image: url(/img/bike-mountain.v1.svg); mask-image: url(/img/bike-mountain.v1.svg); }
.bike.electric { -webkit-mask-image: url(/img/bike-electric.v1.svg); mask-image: url(/img/bike-electric.v1.svg); }

/* Kleine Marken an Texten */
.tag {
  display: inline-block; font: 700 .72rem/1.4 var(--font); letter-spacing: .04em; text-transform: uppercase;
  padding: .1rem .5rem; border-radius: 999px; vertical-align: .2em; margin-left: .3rem;
  background: var(--surface-2); color: var(--muted);
}
.tag.pro { background: var(--accent); color: var(--accent-text); }

/* Kostenlos und Pro: Karten als Glas, Pro mit Verlaufskante */
.section.glow .plan { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.4rem;
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--glass-edge), var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
.section.glow .plan.pro {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(var(--teal), var(--teal)) border-box;
}
.plan .price small { font: 600 1rem/1 var(--font); color: var(--muted); margin-left: .3rem; }

.compare { margin-top: 2.5rem; padding: .4rem 1rem 1rem; }
.compare h3 { font: 800 1.3rem/1.3 var(--font-display); margin: .9rem .2rem .4rem; }
.compare .table { margin: 0; }
.compare table { font-size: .95rem; }
.compare th, .compare td { border-bottom-color: var(--border); padding: .6rem .5rem; }
.compare thead th { background: transparent; font: 700 .95rem/1.3 var(--font-display); text-align: center; vertical-align: bottom; }
.compare thead th:first-child { text-align: left; }
.compare tbody th { background: transparent; font-weight: 500; }
.compare tbody td { text-align: center; width: 30%; color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }
@media (min-width: 40rem) { .compare tbody td { width: 12rem; } }
.compare .y, .compare .n { position: relative; }
.compare .y > span, .compare .n > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.compare .y::before { content: "✓"; content: "✓" / ""; color: var(--accent); font-weight: 800; font-size: 1.1rem; }
.compare .n::before { content: "–"; content: "–" / ""; color: var(--muted); }
.compare .pro-col { color: var(--text); font-weight: 600; }
@media (max-width: 40rem) {
  .compare { padding: .3rem .4rem .6rem; }
  .compare table { font-size: .84rem; -webkit-hyphens: auto; hyphens: auto; }
  .compare th, .compare td { padding: .5rem .3rem; }
  .compare tbody td { width: 28%; }
  .compare h3 { margin-left: .4rem; }
}

/* MacBook Air mit Kerbe (Bildschirm 2560 × 1664) als Rahmen nur aus CSS, wie .device ohne Apple-Grafik (README „Gerätrahmen“).
   Maße in cqw = Prozent der Rahmenbreite: Deckel 94 breit mit schmalem, gleichmäßigem Rand (1,3, unten 1,7), oben im
   Bildschirm die Menüleiste (2,13 % der Bildschirmbreite) mit der Kerbe, darunter der Schreibtisch mit dem Fenster. Unterschale flach über die volle Breite mit Griffmulde. */
.macbook { container-type: inline-size; position: relative; width: min(100%, 48rem); margin: 2.5rem auto 0; }
.macbook .screen {
  position: relative; margin: 0 3cqw 1.5cqw; padding: 1.3cqw 1.3cqw 1.7cqw; background: #08080a;
  border-radius: 2.6cqw 2.6cqw .6cqw .6cqw;
  box-shadow: inset 0 0 0 .18cqw #4a4d55, inset 0 0 0 .32cqw #101114, 0 3cqw 7cqw rgba(8, 10, 30, .24);
}
.macbook .screen::before {            /* Kerbe, so hoch wie die Menüleiste */
  content: ""; position: absolute; z-index: 1; top: 1.3cqw; left: 50%; width: 8.6cqw; height: 1.95cqw;
  transform: translateX(-50%); background: #08080a; border-radius: 0 0 .7cqw .7cqw;
}
.macbook .screen::after {             /* Unterschale */
  content: ""; position: absolute; left: -3cqw; right: -3cqw; top: 100%; height: 1.5cqw;
  border-radius: .15cqw .15cqw 2cqw 2cqw / .15cqw .15cqw 1.4cqw 1.4cqw;
  background: linear-gradient(180deg, #eef0f3 0, #d3d6db 30%, #aeb2b9 75%, #868a92 100%);
  box-shadow: 0 1.2cqw 2.2cqw rgba(8, 10, 30, .22);
}
.macbook::after {                     /* Griffmulde vorn in der Mitte */
  content: ""; position: absolute; z-index: 1; bottom: 1cqw; left: 50%; width: 12cqw; height: .5cqw;
  transform: translateX(-50%); border-radius: 0 0 .7cqw .7cqw;
  background: linear-gradient(180deg, #9a9ea6, #c2c5cb);
}
.macbook .display { overflow: hidden; border-radius: .9cqw .9cqw 0 0; background: #e3e8ee; }
/* Menüleiste (tools/build.py, menubar): 2,13 % der Bildschirmbreite hoch, Schrift wie macOS (13 pt bei 1470 pt Breite),
   links App-Name und Menüs, rechts Batterie, WLAN, Datum und 9:41. Die Kerbe liegt mittig darüber. */
.macbook .menubar {
  display: flex; align-items: center; gap: 1.15cqw; height: 1.95cqw; padding: 0 1.3cqw 0 1.5cqw;
  font: 500 .74cqw/1 var(--font); color: #1d1d1f; white-space: nowrap; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .35)), #dfe5ec;
}
.macbook .menubar .app { font-weight: 700; }
.macbook .menubar .status { margin-left: auto; display: flex; align-items: center; gap: .85cqw; }
.macbook .menubar svg { display: block; width: .95cqw; height: auto; }
.macbook .menubar .battery {
  position: relative; width: 1.45cqw; height: .68cqw; border: .07cqw solid rgba(29, 29, 31, .55); border-radius: .2cqw;
  background: linear-gradient(#1d1d1f, #1d1d1f) .1cqw 50% / calc(100% - .2cqw) calc(100% - .2cqw) no-repeat;
}
.macbook .menubar .battery::after {
  content: ""; position: absolute; right: -.2cqw; top: 50%; width: .1cqw; height: .26cqw; transform: translateY(-50%);
  border-radius: 0 .1cqw .1cqw 0; background: rgba(29, 29, 31, .55);
}
/* Schreibtisch unter der Menüleiste (Seitenverhältnis 2560 × 1610), darauf das Fenster aus der UI-Test-Aufnahme mit
   transparenten Ecken und Schatten wie unter macOS */
.macbook .desk {
  display: grid; place-items: center; aspect-ratio: 2560 / 1610;
  background:
    radial-gradient(60% 70% at 78% 85%, rgba(255, 199, 106, .75), rgba(255, 125, 100, .35) 45%, transparent 75%),
    linear-gradient(160deg, #2a9d97 0%, #1b5f74 40%, #1b1e4b 100%);
}
.macbook .desk img {
  display: block; width: 90%; height: auto;
  filter: drop-shadow(0 .9cqw 1.6cqw rgba(0, 0, 0, .35)) drop-shadow(0 0 .08cqw rgba(0, 0, 0, .35));
}
.macbook figcaption { margin-top: 1rem; }

/* „Dieselbe Reise auf Mac, iPad und iPhone“ (Marker @mac): die drei CSS-Rahmen auf einer Bühne, Maße in cqw der Bühne.
   MacBook hinten links, iPad in der Mitte davor, iPhone vorn rechts, alle unten bündig. */
.trio { margin: 2.5rem auto 0; width: 100%; max-width: 60rem; }
.trio .stage { position: relative; container-type: inline-size; aspect-ratio: 100 / 38; }
.trio .stage > * { position: absolute; margin: 0; }
.trio .macbook { left: 2.5cqw; bottom: 1cqw; width: 60cqw; }
.trio .macbook .screen { box-shadow: inset 0 0 0 .18cqw #4a4d55, inset 0 0 0 .32cqw #101114, 0 2cqw 5cqw rgba(8, 10, 30, .2); }
.trio .device.tablet { left: 47.5cqw; bottom: 1.6cqw; width: 40cqw; z-index: 1; }
.trio .device:not(.tablet) { left: 83.5cqw; bottom: 0; width: 14cqw; z-index: 2; }
.trio.no-mac .stage { aspect-ratio: 100 / 46; }
.trio.no-mac .device.tablet { left: 10cqw; width: 60cqw; bottom: 3cqw; }
.trio.no-mac .device:not(.tablet) { left: 66cqw; width: 20cqw; }
.trio figcaption { margin-top: 1rem; }

/* ---------- Sprachen (22.10.2026) ---------- */
/* Sprachvorschlag: verborgen, /hint.css (je nach Browsersprache, .htaccess) blendet den passenden ein. Nie Weiterleitung. */
.lang-hint { display: none; margin: 0; padding: .55rem 1rem; text-align: center; font-weight: 600; font-size: .95rem;
  background: var(--surface-2); border-bottom: 1px solid var(--border); }
.lang-hint a { color: var(--text); }
/* Sprachmenü ab drei Sprachen: <details>, ohne JavaScript */
.lang-menu { position: relative; margin: 0; border: 0; border-radius: 0; background: none; }
.lang-menu[open] > summary { border-bottom: 1px solid rgba(255, 240, 224, .45); margin-bottom: 0; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: inline-block; padding: .55rem .7rem; border-radius: .5rem; font-weight: 700;
  font-size: .97rem; line-height: 1.2; border: 1px solid rgba(255, 240, 224, .45); min-height: 0; color: var(--band-text);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: " ▾"; font-size: .8em; }
.lang-menu[open] summary { background: rgba(255, 240, 224, .12); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + .35rem); z-index: 30; display: block !important; min-width: 11rem;
  margin: 0 !important; padding: .35rem !important; list-style: none; border-radius: .9rem;
  background: var(--band); border: 1px solid rgba(255, 240, 224, .18); box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}
.lang-menu li { margin: 0; }
.site-nav .lang-menu a, .lang-menu span { display: block; padding: .5rem .75rem !important; border: 0; border-radius: .5rem;
  font-weight: 600; color: var(--band-text); }
.site-nav .lang-menu a:hover { background: rgba(255, 240, 224, .12); }
@media (max-width: 40rem) { .lang-menu ul { left: auto; right: 0; } }
.lang-menu span[aria-current] { opacity: .65; }
.band .lang-menu summary:focus-visible { outline-color: var(--amber); }
/* Hinweis auf übersetzten Rechtstexten: maßgeblich ist die deutsche Fassung */
.legal-note { margin-top: 1rem; }

/* ================= Horizont (K284, Schrift K287) =================
   Überschriften in Fraunces, Zahlen und Knöpfe in SF Pro Rounded (ui-rounded), Text in der Systemschrift.
   Szenen: img/scene-*.v1.svg (Stilrahmen Horizont der App), Stempel: img/stamps-*.v1.svg. */
h1, h2, h3, .hero h1, .section h2, .feature h3, .plan h3, .doc h1, .doc h2, .intro-hero h1, .project h3,
.site-footer h2.claim, .tone h3 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -.012em; font-optical-sizing: auto;
}
.brand span { font: 650 1.35rem/1.2 var(--font-serif); letter-spacing: 0; }
.plan .price, .figures b, .button, .store-soon, .eyebrow, .tone .say, .site-nav a { font-family: var(--font-display); }
.button { font-weight: 650; }

/* Held: Leitsatz in Fraunces, Szene mit Sonne und Hügeln */
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 4.6rem); line-height: 1.02; margin: .6rem 0 1.1rem; font-weight: 620; }
.hero .kicker { font: 700 .85rem/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--amber); margin: 0; }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: #f3e4d0; max-width: 34rem; }
.hero::after {
  bottom: 0; height: 9rem; border-radius: 0; left: 0; right: 0;
  background: url("/img/scene-ridge.v1.svg") center bottom / 100% 100% no-repeat;
}

/* Zwei Tonlagen */
.tones { display: grid; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 52rem) { .tones { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.tone { background: var(--card); border-radius: 1.6rem; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tone img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; object-position: center 62%; }
.tone .body { padding: 1.4rem 1.6rem 1.7rem; }
.tone h3 { font-size: clamp(1.5rem, 3.4vw, 1.9rem); line-height: 1.15; margin: .2rem 0 .5rem; }
.tone p { margin: 0; color: var(--muted); }
.tone .say { color: var(--text); background: var(--surface); border-radius: 1rem; padding: .8rem 1rem; margin: 1rem 0 0; font-weight: 650; font-size: 1.08rem; line-height: 1.35; }
.tone.adventure .eyebrow { color: #a8461b; }
@media (prefers-color-scheme: dark) { .tone.adventure .eyebrow { color: #f2b660; } }

/* Abschnitte und Funktionen als Karten */
.section h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.08; }
.section.glow { background: var(--surface); }
.feature { background: var(--card); border-radius: 1.6rem; box-shadow: var(--shadow-1); padding: 1.5rem; }
@media (min-width: 52rem) { .feature { padding: 2.5rem 3rem; } }
.feature + .feature { margin-top: 1.5rem; }
.feature h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.15; }
.feature.single { background: var(--card); }
.bikes .glass { background: var(--surface); }

/* Weltreise: Panorama mit Stempeln */
.panorama img { width: 100%; border-radius: 1.6rem; box-shadow: var(--shadow); }
.panorama .stamps { margin-top: 1.5rem; max-width: 52rem; }
.figures { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.figures li { color: var(--muted); font-size: .95rem; }
.figures b { display: block; color: var(--text); font-size: 1.6rem; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Preise und Versprechen */
.plan { background: var(--card); border: 0; box-shadow: var(--shadow-1); border-radius: 1.6rem; padding: 1.8rem 2rem; }
.plan.pro { border: 2.5px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(var(--teal), var(--teal)) border-box; }
.plan .price { font-weight: 650; font-variant-numeric: tabular-nums; }
.promise { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); list-style: none; padding: 0; margin: 1.75rem 0 0; }
.promise li { background: var(--card); border-radius: 1.25rem; padding: 1.1rem 1.25rem; box-shadow: var(--shadow-1); color: var(--muted); font-size: .95rem; }
.promise strong { display: block; color: var(--text); font: 650 1.1rem/1.3 var(--font-display); margin-bottom: .2rem; }
details { background: var(--card); border-color: var(--border); border-radius: 1rem; }

/* Fuß als Nachtszene mit Mond: der Mond geht am oberen Rand auf und bleibt über dem Text (Kontrast) */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, #0f1130, var(--indigo)); padding-top: 5rem; }
.site-footer::before {
  content: ""; position: absolute; right: 8%; top: -8.5rem; width: 12rem; height: 12rem; border-radius: 50%;
  background: linear-gradient(180deg, #f6ead8, #d8c6b0); opacity: .9; pointer-events: none;
}
.site-footer .wrap { position: relative; }
@media (max-width: 40rem) { .site-footer { padding-top: 4rem; } .site-footer::before { width: 8rem; height: 8rem; right: 1.5rem; top: -5.5rem; opacity: .75; } }
.section.glow .plan, .section.glow .compare.glass { background: var(--card); border: 0; box-shadow: var(--shadow-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
.section.glow .plan.pro { border: 2.5px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(var(--teal), var(--teal)) border-box; }

/* Kopf-Szene der Startseite (img/scene-hero*.v1.svg): ganz oben, vor dem Text, auch auf dem iPhone im ersten Blick */
.hero { background: linear-gradient(180deg, var(--indigo) 0%, var(--navy) 100%); }
.hero::after { display: none; }
.hero-scene { display: block; }
.hero-scene img { width: 100%; height: clamp(15rem, 40vw, 34rem); object-fit: cover; object-position: 50% 100%; }
.hero .wrap { padding-top: 1.75rem; }
@media (min-width: 52rem) { .hero .wrap { padding-top: 2.5rem; } }

/* Menü-Symbol im Kopf: nur auf schmalen Bildschirmen, dort statt der Linkliste */
.site-nav .nav-more { display: none; }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; cursor: pointer; display: block; position: relative; width: 2.75rem; height: 2.75rem;
  padding: 0; margin: 0; border-radius: .6rem; border: 1px solid rgba(255, 240, 224, .45); }
.nav-menu > summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 1.15rem; height: 2px; border-radius: 1px; background: var(--band-text); }
.burger { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }   /* Safari lässt summary kein grid, deshalb absolut mittig */
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav-menu[open] > summary { background: rgba(255, 240, 224, .12); }
.nav-menu > ul { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 20; min-width: 13rem; margin: 0; padding: .4rem;
  list-style: none; display: grid !important; gap: 0; background: var(--band); border: 1px solid rgba(255, 240, 224, .2);
  border-radius: .9rem; box-shadow: var(--shadow); }
.nav-menu > ul a { display: block; padding: .7rem .8rem; }
/* Menü-Symbol bis 56 rem: die deutsche Leiste mit vier Einträgen, Knopf Leichte Sprache und Sprachschalter braucht
   etwa 860 px (gemessen 7.11.2026), die übrigen Sprachen weniger */
@media (max-width: 56rem) {
  .site-header .bar { flex-wrap: nowrap; min-height: 3.6rem; padding-top: .35rem; padding-bottom: .35rem; }
  .site-nav { width: auto; }
  .site-nav > ul { margin-left: 0; gap: .4rem; flex-wrap: nowrap; }
  .site-nav > ul > li:not(.lang):not(.nav-more) { display: none; }
  .site-nav .nav-more { display: block; }
  .brand span { font-size: 1.2rem; }
  .brand img { width: 2.2rem; height: 2.2rem; }
}
details.nav-menu { background: none; border: 0; border-radius: 0; margin: 0; }
details.nav-menu[open] > summary { border-bottom: 1px solid rgba(255, 240, 224, .45); margin-bottom: 0; }

/* Kopf der Startseite als Bildpaar: breit links die Abendrunde, rechts der Globus mit der Beispielreise, auf dem
   Handy erst Globus, dann Abendrunde (Entscheidung des Nutzers 24.10.2026). Bilder: iphone-evening-loop und
   iphone-globe-trip (Build 25), bis dahin Platzhalter. */
@media (min-width: 52rem) { .hero.pair .wrap { grid-template-columns: 1fr 1fr; } }
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.hero-pair .device { width: 100%; max-width: 15rem; margin: 0 auto; }
@media (max-width: 51.99rem) {
  .hero-pair { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-pair .device { width: min(78%, 17rem); }
  .hero-pair .device.globe { order: -1; }
}

/* Teilen-Bild (9:16) ohne Gerät, so breit wie ein iPhone-Rahmen */
.share-image { width: min(100%, 17.5rem); margin: 0 auto; }
.share-image img { width: 100%; aspect-ratio: 9 / 16; border-radius: 1.4rem; box-shadow: var(--shadow); }

/* Leichte Sprache (leichte-sprache.html, <l>/easy-read.html): größere Schrift, jeder Satz eine Zeile, Kästen für schwere Wörter */
.easy { font-size: 1.15rem; line-height: 1.65; }
.easy p { margin: 0 0 .45rem; max-width: 40rem; }
.easy h3 { margin-top: 1.9rem; }
.easy li { margin: .3rem 0; }
.easy .box.word { max-width: 38rem; border-left: 4px solid var(--accent); }
.easy .box.word p { margin: .2rem 0; }

/* ---------- iPad und 3D-Landschaften (Version 9) ---------- */
.tablet-stage { margin: 2rem auto 0; max-width: 58rem; }
.tablet-stage .device.tablet { width: 100%; margin: 0 auto; }
.tablet-row { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.75rem auto 0; max-width: 58rem; }
.tablet-row figure, .landscapes figure { margin: 0; min-width: 0; }
.tablet-row .device.tablet { width: 100%; }
.tablet-row figcaption, .tablet-stage figcaption, .landscapes figcaption { margin-top: .55rem; font-size: .92rem; line-height: 1.4; color: var(--muted); text-align: center; }
.landscapes { display: grid; gap: 1.25rem 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin: 2rem 0 0; padding: 0; list-style: none; }
.landscapes img { display: block; width: 100%; height: auto; border-radius: .9rem; background: var(--surface-2); box-shadow: var(--shadow); }
.feature-tablet { margin: 2rem auto 0; max-width: 46rem; }
.feature-tablet .device.tablet { width: 100%; margin: 0 auto; }
.feature-tablet figcaption { margin-top: .55rem; font-size: .92rem; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- Reiseseiten, Gestaltung Runde 2 (G1–G9, tools/reisen.py) */
/* G1 Kopf mit Foto: Foto über die ganze Breite, unten dunkler Verlauf, Titel darauf */
.trip-hero { position: relative; min-height: min(70vh, 38rem); display: flex; align-items: flex-end; color: #fff; background: var(--band); overflow: hidden; }
.trip-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 13, 38, .88) 0%, rgba(11, 13, 38, .35) 45%, rgba(11, 13, 38, 0) 75%); }
.trip-hero .wrap { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 2.2rem; }
.trip-hero h1 { color: #fff; font-family: var(--font-serif); font-size: clamp(2.6rem, 7.4vw, 4.6rem); line-height: 1.02; margin: .6rem 0 .8rem; font-weight: 620; }
.trip-hero .lead { color: #fff0e0; max-width: 40rem; }
.trip-hero .kicker { font: 700 .85rem/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--amber); margin: 0; }
.trip-hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
.trip-hero .credit { position: absolute; right: .8rem; bottom: .5rem; z-index: 1; font-size: .75rem; color: rgba(255, 240, 224, .85); }
.trip-hero .credit a { color: inherit; }

/* G2 Kennzahlen als Mini-Grafiken aus den Daten der Reise (Nachtrag ÖA 7.11.2026): eine Zeile, mobil 2 × 3, ohne Rahmen */
.figures-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 1.2rem .8rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.figures-row li { display: grid; gap: .2rem; align-content: start; }
.figures-row svg { width: 1.6rem; height: 1.6rem; color: var(--accent); }
.figures-row svg.mg { width: 4.5rem; height: 1.75rem; }
.figures-row b { font: 800 1.25rem/1.15 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
@media (min-width: 30rem) { .figures-row b { font-size: 1.45rem; } }
.figures-row b.nowrap { white-space: nowrap; font-size: .92rem; line-height: 1.75; }
.figures-row span { font-size: .85rem; color: var(--muted); }
@media (min-width: 48rem) { .figures-row { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 1.2rem .7rem; } }
.mg .mg-line { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.mg .mg-area { fill: var(--accent); opacity: .15; }
.mg .mg-start { fill: var(--bg); stroke: var(--accent); stroke-width: 1.6; }
.mg .mg-pin { fill: #e8604a; }
.mg .mg-dot { fill: var(--accent); } .mg .mg-dot.rest { fill: none; stroke: var(--accent); stroke-width: 1.3; }
.mg .mg-axis { stroke: var(--border); stroke-width: 1.5; } .mg .mg-bar { fill: var(--accent); opacity: .45; } .mg .mg-mark { stroke: var(--accent); stroke-width: 2.2; }
.mg .mg-m { fill: var(--border); } .mg .mg-m.on { fill: var(--accent); }

/* G3 Pedalglobe-Skala: je Merkmal eine Linie von leicht bis fordernd im Türkis-Verlauf der App (HorizontColors.progress), Markierung an der Stufe */
.scale-sentence { font-size: 1.1rem; margin: 0 0 1rem; }
.scale { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.scale li { display: grid; grid-template-columns: minmax(7rem, 10rem) minmax(8rem, 14rem) 1fr; gap: .3rem 1rem; align-items: center; }
.scale .name { font-weight: 700; }
.scale .track { position: relative; height: .5rem; border-radius: 999px; background: linear-gradient(90deg, #2a9d97, #1b7676); }
.scale .mark { position: absolute; top: 50%; width: 1.1rem; height: 1.1rem; margin: -.55rem 0 0 -.55rem; border-radius: 50%; background: var(--card); border: 3px solid var(--text); }
.scale .mark.p1 { left: 10%; } .scale .mark.p2 { left: 30%; } .scale .mark.p3 { left: 50%; } .scale .mark.p4 { left: 70%; } .scale .mark.p5 { left: 90%; }
.scale .why { color: var(--muted); font-size: .95rem; }
.scale .scale-head { margin-bottom: -.5rem; }
.scale .ends { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-weight: 600; }
@media (max-width: 40rem) { .scale li { grid-template-columns: 8.8rem 1fr; gap: .3rem .7rem; } .scale .why { grid-column: 2; } .scale .scale-head > span:last-child { display: none; } }

/* G4 Jahresband: SVG aus tools/reisen.py, Farben über Klassen (hell und dunkel) */
.year-band { margin: 1rem 0; }
.year-band svg { width: 100%; height: auto; display: block; }
.year-band .gut { fill: #23793f; } .year-band .mittel { fill: #9a5f00; } .year-band .schlecht { fill: #b8352a; } .year-band .leer { fill: var(--surface); }
.year-band text.mk { fill: #fff; font: 800 15px var(--font-display); }
.year-band .best { fill: none; stroke: var(--accent); stroke-width: 3; }
.year-band .tag { fill: none; stroke: var(--text); stroke-width: 2.5; }
.year-band .nacht { fill: none; stroke: var(--teal); stroke-width: 2.5; }
.year-band .regen { fill: #7fb4d8; opacity: .75; }
.year-band text { fill: var(--muted); font: 600 11px var(--font); }
.year-band .legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .85rem; color: var(--muted); list-style: none; padding: 0; margin: .5rem 0 0; }
.year-band .legend i { display: inline-block; width: .9rem; height: .9rem; border-radius: .2rem; vertical-align: -.1rem; margin-right: .35rem; }
.year-band .legend .l-gut { background: #23793f; } .year-band .legend .l-mittel { background: #9a5f00; } .year-band .legend .l-schlecht { background: #b8352a; }
.year-band .legend i[class^="l-"]:not(:empty) { width: 1.05rem; height: 1.05rem; color: #fff; font: 800 .72rem/1.05rem var(--font-display); text-align: center; font-style: normal; }
.year-band .legend .l-tag { background: var(--text); height: .25rem; } .year-band .legend .l-nacht { background: var(--teal); height: .25rem; } .year-band .legend .l-regen { background: #7fb4d8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .year-band .gut { fill: #4cc38a; } :root:not([data-theme="light"]) .year-band .mittel { fill: #ed9e1a; } :root:not([data-theme="light"]) .year-band .schlecht { fill: #ff8a7a; } :root:not([data-theme="light"]) .year-band text.mk { fill: #0b0c1f; } :root:not([data-theme="light"]) .year-band .legend .l-gut { background: #4cc38a; color: #0b0c1f; } :root:not([data-theme="light"]) .year-band .legend .l-mittel { background: #ed9e1a; color: #0b0c1f; } :root:not([data-theme="light"]) .year-band .legend .l-schlecht { background: #ff8a7a; color: #0b0c1f; } }

/* G6 Etappen als Karten */
.stages { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); list-style: none; padding: 0; margin: 1rem 0; }
.stages > li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; scroll-margin-top: 5rem; }
.stages h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.stages .nums { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.stages .nums b { color: var(--text); font: 800 1.15rem var(--font-display); font-variant-numeric: tabular-nums; }
.stages img { width: 100%; height: auto; margin: .2rem 0 .5rem; }
.stages p { margin: .4rem 0; }

/* G7 Ziele mit Fotos */
.places { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); list-style: none; padding: 0; margin: 1rem 0; }
.places > li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.places figure { margin: 0; }
.places img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.places figcaption { font-size: .72rem; color: var(--muted); padding: .3rem .8rem 0; }
.places strong { display: block; font: 700 1.1rem/1.3 var(--font-display); padding: .6rem .9rem 0; }
.places p { margin: .2rem .9rem .9rem; }

/* G9 Fotonachweis unter Bildern */
.credit { font-size: .75rem; color: var(--muted); }

/* Tagesprofil mit Belagsband (wie in der App, Farben HorizontSurfaces, K294) */
.day-profile { width: 100%; height: auto; display: block; margin: .3rem 0 .5rem; }
.day-profile .pa { fill: #176e6c; opacity: .14; } .day-profile .pl { fill: none; stroke: #176e6c; stroke-width: 2; }
.day-profile text { fill: var(--muted); font: 600 11px var(--font); }
.sf-asphalt { fill: #2a9d97; background: #2a9d97; } .sf-paved { fill: #7cc4be; background: #7cc4be; }
.sf-cobbles { fill: #8a86b8; background: #8a86b8; } .sf-compacted { fill: #c9a26b; background: #c9a26b; }
.sf-loose { fill: #b5803f; background: #b5803f; } .sf-ground { fill: #a8461b; background: #a8461b; }
.sf-unknown { fill: #e6ddd2; background: #e6ddd2; }
.surface-km { display: flex; flex-wrap: wrap; gap: .2rem .9rem; list-style: none; padding: 0; margin: .1rem 0 .6rem; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.surface-km i { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .3rem; vertical-align: .02rem; }
.surface-km.total { font-size: .88rem; margin: 0 0 1rem; }
.surface-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; padding: 0; margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.surface-legend i { display: inline-block; width: .9rem; height: .55rem; border-radius: .15rem; margin-right: .35rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .day-profile .pa { fill: #4cc1b8; opacity: .18; } :root:not([data-theme="light"]) .day-profile .pl { stroke: #4cc1b8; }
  :root:not([data-theme="light"]) .sf-unknown { fill: #2e3160; background: #2e3160; }
}
.stage-photo { margin: -1rem -1.1rem .8rem; } .stage-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--radius) var(--radius) 0 0; } .stage-photo figcaption { padding: .3rem 1.1rem 0; }

/* ---------------------------------------------------------------- Reiseseiten mit Skript (J1–J6, assets/js/reisen.v1.js) */
/* Alles hier entsteht erst durch das Skript. Ohne Skript gibt es diese Elemente nicht. */
.stage-picker, .month-picker { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; }
.stage-picker button, .month-picker button { font: 700 .9rem/1 var(--font-display); padding: .55rem .8rem; min-height: 2.5rem; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; }
.stage-picker button[aria-pressed="true"], .month-picker button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.stage-picker button:focus-visible, .month-picker button:focus-visible, .route-profile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.trip-map-svg { width: 100%; height: auto; display: block; border-radius: var(--radius); background: var(--surface); }
.trip-map-svg .map-sel, .trip-map-svg .map-sel-case { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trip-map-svg .map-sel { stroke: #1b1e4b; stroke-width: 4; } .trip-map-svg .map-sel-case { stroke: #fff; stroke-width: 9; }
.trip-map-svg .map-runner { fill: #12143a; stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.route-profile { margin: .8rem 0 .2rem; touch-action: pan-y; cursor: crosshair; border-radius: .5rem; }
.route-profile svg { width: 100%; height: 9rem; display: block; }
.route-profile .pa { fill: #176e6c; opacity: .14; } .route-profile .pl { fill: none; stroke: #176e6c; stroke-width: 2; vector-effect: non-scaling-stroke; }
.route-profile .trenn line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: .6; }
.route-profile .cur { stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.route-profile .dot { fill: var(--accent); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.route-profile-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0 0 1rem; }
.runner-readout { margin: 0; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .95rem; min-height: 1.5em; }
.year-band svg .hit { fill: transparent; cursor: pointer; }
.year-band svg .sel { fill: var(--accent); opacity: .12; }
.month-picker { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .2rem; margin: .4rem 0 0; }
.month-picker button { padding: .5rem 0; font-size: .78rem; border-radius: .5rem; }
.month-info, .start-info { min-height: 1.5em; font-weight: 600; }
.start-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.start-picker label { font-weight: 700; }
.start-picker input { font: inherit; padding: .45rem .6rem; border: 1px solid var(--border); border-radius: .5rem; background: var(--card); color: var(--text); min-height: 2.5rem; }
.stage-date { margin: 0 0 .2rem; font: 700 .85rem/1.3 var(--font-display); color: var(--accent); text-transform: none; }
.share-row { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; }
.photo-link { display: block; cursor: zoom-in; }
dialog.gallery { width: min(96vw, 70rem); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--band); color: var(--band-text); overflow: hidden; }
dialog.gallery::backdrop { background: rgba(11, 13, 38, .82); }
dialog.gallery figure { margin: 0; }
dialog.gallery img { display: block; width: 100%; max-height: 80vh; object-fit: contain; background: #000; touch-action: pan-y; }
dialog.gallery figcaption { padding: .5rem 1rem .8rem; display: flex; flex-wrap: wrap; gap: .2rem 1rem; justify-content: space-between; }
dialog.gallery .count, dialog.gallery .credit { margin: 0; font-size: .8rem; color: var(--band-muted); }
dialog.gallery a { color: var(--band-link); }
dialog.gallery button { position: absolute; z-index: 1; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(11, 13, 38, .7); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
dialog.gallery button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
dialog.gallery .close { top: .6rem; right: .6rem; }
dialog.gallery .prev { left: .6rem; top: 40%; } dialog.gallery .next { right: .6rem; top: 40%; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .route-profile .pa { fill: #4cc1b8; opacity: .18; } :root:not([data-theme="light"]) .route-profile .pl { stroke: #4cc1b8; }
}
@media (prefers-reduced-motion: reduce) { .trip-map-svg * { transition: none; } }
@media (max-width: 40rem) { .stage-picker { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; } .stage-picker button { flex: none; } }

/* Feste Leiste unten auf den Reiseseiten: auf dem Handy mit „Inhalt“ (Verzeichnis als Blatt, ohne Skript über :target),
   auf Geräten mit Touch auch in iPad-Breiten nur mit „In Pedalglobe öffnen“ (Nutzer 8.11.2026). Am Mac mit Maus keine
   Leiste, dort führt der Weg über die Tour-Datei. */
.toc-close, .trip-bar { display: none; }
@media (max-width: 47.99rem) {
  .toc:not(:target) { display: none; }
  .toc:target { position: fixed; left: .75rem; right: .75rem; bottom: 4.4rem; z-index: 40; max-height: 70vh; overflow: auto; margin: 0; box-shadow: var(--shadow); }
  .toc .toc-close { display: inline-block; float: right; font-size: 1.5rem; line-height: 1; padding: 0 .3rem; text-decoration: none; color: var(--text); }
}
@media (max-width: 47.99rem), (hover: none) and (pointer: coarse) {
  .trip-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: .6rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(18, 20, 58, .08); }
  .trip-bar a { flex: 1; text-align: center; padding: .7rem .5rem; border-radius: 999px; font: 700 .95rem/1.2 var(--font-display); text-decoration: none; border: 1px solid var(--border); color: var(--text); }
  .trip-bar a.primary { flex: 1.6; background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
  body:has(.trip-bar) { padding-bottom: 4.5rem; }
}
@media (min-width: 48rem) and (hover: none) and (pointer: coarse) {
  .trip-bar { justify-content: center; }
  .trip-bar a:not(.primary) { display: none; }
  .trip-bar a.primary { flex: 0 1 26rem; }
}

/* Übersicht der Radreisen: Karte mit Titelfoto wie die Titelfolie auf Instagram (Nutzer 8.11.2026). Text liegt nur
   auf dem Foto, wenn die Lizenz es erlaubt (tools/reisen.py text_auf_foto), sonst steht er darunter. */
.trip-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0 0 1.5rem; box-shadow: var(--shadow); }
.trip-card .tc-photo { position: relative; aspect-ratio: 4 / 5; background: var(--band); }
.trip-card .tc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-card.on-photo .tc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 13, 38, .9) 0%, rgba(11, 13, 38, .45) 42%, rgba(11, 13, 38, 0) 70%); }
.trip-card .tc-title { padding: 1.1rem 1.2rem 0; }
.trip-card.on-photo .tc-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.2rem 1.3rem 1.3rem; color: #fff; }
.trip-card .kicker { font: 700 .8rem/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin: 0 0 .3rem; }
.trip-card.on-photo .kicker { color: var(--amber); }
.trip-card h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.05; margin: 0 0 .4rem; font-weight: 620; }
.trip-card h2 a { color: inherit; text-decoration: none; }
.trip-card h2 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }   /* ganze Karte klickbar */
.trip-card h2 a:focus-visible { outline: none; } .trip-card:has(h2 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.trip-card .lead { margin: 0; font-size: 1.05rem; }
.trip-card.on-photo .lead { color: #fff0e0; }
.trip-card .tc-body { padding: 1rem 1.2rem 1.1rem; }
.trip-card .pill-list { margin: 0 0 .6rem; }
.trip-card .credit { position: relative; z-index: 3; margin: 0; }
@media (min-width: 40rem) { .trip-card .tc-photo { aspect-ratio: 16 / 10; } }
.trip-card.on-photo .pill-list { margin: .7rem 0 0; }
.trip-card.on-photo .pill-list li { background: rgba(255, 240, 224, .16); border-color: rgba(255, 240, 224, .28); color: #fff; }
.trip-card .credit { font-size: .72rem; }
.trip-card.on-photo .tc-body .lead { margin: 0 0 .5rem; color: var(--text); }

/* Eckdaten als ruhige Zeile auf dem Foto (Übersicht und Kopf der Reiseseite, Nutzer 8.11.2026), weiß auf dem dunklen
   Verlauf, ohne Kästen, Ziffern gerundet und gleich breit wie in der App. tools/reisen.py FAKTEN_STIL wählt die Form. */
.trip-facts { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; align-items: center; color: #fff; }
.trip-facts li { display: inline-flex; align-items: center; gap: .4rem; }
.trip-facts b { font: 650 1rem/1.25 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trip-facts svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--amber); }
/* A: Symbol und Wert, feine senkrechte Trenner, Beschriftung nur für Screenreader */
.trip-facts.symbole { gap: .45rem 0; }
.trip-facts.symbole li + li::before { content: ""; width: 1px; height: 1.05rem; background: rgba(255, 240, 224, .45); margin: 0 .8rem 0 .75rem; }
.trip-facts.symbole span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* B: großer Wert, kleine Beschriftung darunter, ohne Symbole, Trenner als feine Linie links */
.trip-facts.zahlen { gap: .7rem 0; align-items: stretch; }
.trip-facts.zahlen svg { display: none; }
.trip-facts.zahlen li { flex-direction: column; align-items: flex-start; gap: .1rem; padding: 0 1rem; border-left: 1px solid rgba(255, 240, 224, .4); }
.trip-facts.zahlen li:first-child { padding-left: 0; border-left: 0; }
.trip-facts.zahlen b { font-size: 1.3rem; font-weight: 750; }
.trip-facts.zahlen span { font: 700 .68rem/1.2 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 240, 224, .82); }
@media (max-width: 30rem) { .trip-facts.zahlen li { padding: 0 .7rem; } .trip-facts.zahlen b { font-size: 1.1rem; } }
/* Schmal: zwei Spalten statt Umbruch mitten in der Zeile, ohne Trenner am Zeilenanfang */
@media (max-width: 40rem) {
  .trip-facts.symbole, .trip-facts.zahlen { display: grid; grid-template-columns: auto auto; justify-content: start; gap: .55rem 1.4rem; }
  .trip-facts.symbole li + li::before { content: none; }
  .trip-facts.zahlen li, .trip-facts.zahlen li:first-child { padding: 0; border-left: 0; }
  .trip-hero .wrap { padding-bottom: 2.9rem; }
}
@media (max-width: 40rem) { .trip-facts.zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; } }

/* Reiseseiten nach Handschrift und Designsystem der App (Festlegung 8.11.2026): Hintergrund dunkel wie HZBackground */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):has(.trip-hero, .trip-card) { --bg: #0b0c1f; } }
@media (prefers-color-scheme: light) { :root:has(.trip-hero, .trip-card) { --glass-bg: rgba(255, 251, 246, .95); } }

/* Karte im App-Stil (Karten-Chat 8.11.2026): Bild ohne Route, Route und Orte als SVG darüber, Farben wie in der App */
.map-stage { position: relative; }
.map-stage img { display: block; width: 100%; height: auto; }
.map-stage svg.map-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-route .route, .map-route .route-case { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map-route .route { stroke: #e8604a; stroke-width: 3.5; } .map-route .route-case { stroke: #fff; stroke-width: 6.5; }
.map-route .map-dot { fill: #fff; stroke: #e8604a; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.map-route .map-start.a, .map-route .map-start.c { fill: #12143a; } .map-route .map-start.b { fill: #fff; }
.map-route .map-pin path { fill: #e8604a; stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; } .map-route .map-pin circle { fill: #fff; }
.map-route .map-names { font: 700 34px var(--font-display); }
.map-route .map-names text { fill: #12143a; stroke: rgba(255, 255, 255, .85); stroke-width: .22em; paint-order: stroke; stroke-linejoin: round; }
@media (max-width: 40rem) { .map-route .map-names { font-size: 44px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-route .map-names text { fill: #fff; stroke: rgba(11, 12, 31, .85); } }

/* Block „Aktuell“ oben auf der Reiseseite (reise.json aktuell_hinweise) */
.trip-current { margin: 0 0 1.4rem; } .trip-current p:last-child { margin-bottom: 0; }

/* Filter der Radreisen-Übersicht (reisen-filter.v3.js, sichtbar ab FILTER_AB Reisen). Ohne Skript gibt es sie nicht. */
.trip-card[hidden], article[data-f-monat][hidden] { display: none; }
.filter-bar { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; }
.filter-bar span { color: var(--muted); font-size: .9rem; }
.filter-bar button::after { content: ""; display: inline-block; width: .45em; height: .45em; margin: 0 0 .2em .55em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.filter-bar button[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: -.05em; }
.filter-panel { margin: 0 0 1.4rem; display: none; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.filter-panel.auf { display: grid; }
.filter-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-panel legend { padding: 0; font: 700 1rem/1.3 var(--font-serif); margin-bottom: .4rem; }
.filter-opts { display: flex; flex-wrap: wrap; gap: .35rem; }
.filter-opts.monate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .2rem; }
.filter-opts button { font: 700 .88rem/1.1 var(--font-display); padding: .5rem .75rem; min-height: 2.5rem; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; }
.filter-opts.monate button { padding: .5rem 0; border-radius: .5rem; font-size: .78rem; }
.filter-opts button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.filter-opts button.blass { opacity: .5; }
.filter-opts button:focus-visible, .filter-foot button:focus-visible, .filter-bar button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.filter-count { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.filter-foot button, .filter-bar button { font: 700 .9rem/1.1 var(--font-display); padding: .5rem .85rem; min-height: 2.5rem; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; }
.filter-fertig { display: none; }
.filter-empty { margin: 0 0 1.4rem; }
@media (max-width: 47.99rem) {
  .filter-panel.auf { margin: 0; border: 0; display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 82vh; overflow: auto; padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom)); background: var(--bg); border-radius: 1.4rem 1.4rem 0 0; box-shadow: 0 0 0 100vmax rgba(11, 13, 38, .55); }
  .filter-fertig { display: inline-block; }
  .filter-opts.monate { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.filter-panel { grid-template-columns: minmax(0, 1fr); }
/* Eckdaten am Handy: lange Länderlisten brechen um, statt die Seite zu verbreitern */
@media (max-width: 40rem) {
  .trip-facts.symbole { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; }
  .trip-facts li { min-width: 0; max-width: 100%; }
  .trip-facts li:last-child b { white-space: normal; }
}

/* ---------- Doclight: Symbolsprache (App-Repo docs/symbolsprache.md, Status Vorschlag) ----------
   „Schnitt“ farbig als <img> ab 32 px (hier 64 px und mehr), „Linie“ als inline-SVG mit currentColor für Kleines.
   Nie beide Fassungen desselben Motivs im selben Blickfeld. */
.story-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem .75rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.story-row li { position: relative; text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.story-row img { display: block; width: 6rem; height: 6rem; margin: 0 auto .5rem; }
.story-row b { display: block; color: var(--text); font: 650 1.15rem/1.3 var(--font-display); }
/* Pfeilspitze zwischen den Schritten: das Blatt wandert von links nach rechts */
.story-row li + li::before {
  content: ""; position: absolute; left: -.75rem; top: 2.6rem; width: .7rem; height: .7rem;
  border-top: 3px solid var(--border); border-right: 3px solid var(--border); transform: translateX(-50%) rotate(45deg);
}
@media (max-width: 44rem) {
  .story-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .story-row li { grid-column: span 2; }
  .story-row li:nth-child(4) { grid-column: 2 / span 2; }
  .story-row img { width: 5rem; height: 5rem; }
  .story-row li + li::before { display: none; }
}
.sym { display: block; width: 4rem; height: 4rem; margin: 0 0 .7rem; }
.sym-pair { display: flex; gap: .75rem; }
.sym-line { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.24em; margin-right: .45em; color: var(--accent); flex: none; }

/* Doclight: Linien-Symbol in einer getönten Marke über dem Kartentitel */
.sym-badge { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin: 0 0 .85rem; color: var(--accent); background: rgba(42, 157, 151, .14); }
.sym-badge svg { width: 2rem; height: 2rem; }

/* Strecke ohne Rad (Zug, Fähre, profil.json luecke): Route dort gestrichelt, Profil getrennt */
.map-route .route-gap, .map-route .route-gap-case { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map-route .route-gap-case { stroke: #fff; stroke-width: 5; } .map-route .route-gap { stroke: #12143a; stroke-width: 2.5; stroke-dasharray: 2 6; }
.map-route .map-gap-label { font: 700 26px var(--font-display); fill: #12143a; stroke: rgba(255, 255, 255, .85); stroke-width: .22em; paint-order: stroke; stroke-linejoin: round; }
.day-profile .gap, .route-profile .trenn line.gap { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 2 4; opacity: 1; vector-effect: non-scaling-stroke; }
.day-profile .gap-label { fill: var(--text); font: 700 11px var(--font-display); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-route .map-gap-label { fill: #fff; stroke: rgba(11, 12, 31, .85); } :root:not([data-theme="light"]) .map-route .route-gap { stroke: #fff; } :root:not([data-theme="light"]) .map-route .route-gap-case { stroke: #0b0c1f; } }

/* Lagekarte (Karten-Chat, Natural Earth): ohne Skript unter der Karte, mit Skript klein in einer Ecke der Karte
   (reise.json lage_ecke), Antippen öffnet sie groß (Galerie) */
.trip-map { position: relative; }
.map-locator { display: block; max-width: 20rem; margin: .7rem 0 0; }
.map-locator img { display: block; width: 100%; height: auto; }
.trip-map.js .map-locator { position: absolute; z-index: 2; width: 27%; max-width: 13.5rem; min-width: 5.6rem; margin: 0; border-radius: .9rem; box-shadow: 0 2px 10px rgba(18, 20, 58, .28); outline: 2px solid rgba(255, 255, 255, .9); outline-offset: -1px; overflow: hidden; }
.trip-map.js .map-locator.ecke-oben-links { top: .6rem; left: .6rem; } .trip-map.js .map-locator.ecke-oben-rechts { top: .6rem; right: .6rem; }
.trip-map.js .map-locator.ecke-unten-links { bottom: 1.9rem; left: .6rem; } .trip-map.js .map-locator.ecke-unten-rechts { bottom: 1.9rem; right: .6rem; }
.trip-map.js .map-locator:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.trip-map.js.tag .map-locator { display: none; }

/* Profile von Pedalglobe bei Instagram, TikTok und YouTube: Knöpfe mit Zeichen und Namen (v31) */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: .8rem 0 0; }
.social li { margin: 0; }
.social a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .45rem 1rem .45rem .8rem;
  border: 1.5px solid currentColor; border-radius: 999px; font-weight: 600; text-decoration: none; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.social svg { flex: none; }
.social-band { text-align: center; }
.social-band .social { justify-content: center; }
.site-footer .social-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; margin-bottom: 1.8rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 240, 224, .2); }
.site-footer .social-foot h2 { margin: 0; }
.site-footer .social-foot .social { margin: 0; }
.site-footer .social a { display: inline-flex; padding: .45rem 1rem .45rem .8rem; color: var(--band-text); text-decoration: none; }
.site-footer .social a:hover { background: var(--band-text); border-color: var(--band-text); color: #0f1130; }

/* Übersichtskarte aller Radreisen (v31, Flaggen und eingeklappte Filter darüber v32): Linien und Namensschilder führen zur Reise, reisen-filter.v3.js blendet ab */
.all-trips-map { margin: 0 0 1.6rem; }
.all-trips-map .map-stage { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.all-trips-map .map-stage picture, .all-trips-map .map-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.all-trips-map svg.map-route { position: relative; display: block; width: 100%; height: auto; pointer-events: auto; }
.all-trips-map svg a { cursor: pointer; }
.all-trips-map .hit { fill: none; stroke: transparent; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: stroke; }
.all-trips-map .inset { fill: none; } .all-trips-map .inset.leer { fill: var(--card); }
.all-trips-map .inset-rand { fill: none; stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.all-trips-map image.dunkel { display: none; }
@media (prefers-color-scheme: dark) { .all-trips-map image.hell { display: none; } .all-trips-map image.dunkel { display: inline; } .all-trips-map .inset-rand { stroke: #4a4f8a; } }
.all-trips-map svg a:hover .route, .all-trips-map svg a.an .route { stroke: #1b1e4b; stroke-width: 5; }
.all-trips-map .map-mark { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font: 700 .78rem/1 var(--font-display);
  padding: .4rem .65rem; border-radius: 999px; background: var(--card); color: var(--text); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); text-decoration: none; }
.all-trips-map .map-mark:hover, .all-trips-map .map-mark.an { background: #1b1e4b; border-color: #1b1e4b; color: #fff; }
.all-trips-map .aus { opacity: .25; pointer-events: none; }
.all-trips-map .map-mark .flags { display: flex; justify-content: center; gap: .2rem; margin-top: .28rem; }
.all-trips-map .map-mark .flags svg { display: block; width: 1.05rem; height: .7rem; border-radius: 1.5px; }
.all-trips-map .map-mark .flags .rand { stroke: rgba(0, 0, 0, .28); stroke-width: .5; }
.all-trips-map .map-mark { border-radius: .8rem; text-align: center; }
.all-trips-map .map-mark.aus { filter: grayscale(1); }
.all-trips-map svg a.aus .route { stroke: #8a8a8a; } .all-trips-map svg a.aus .map-dot { stroke: #8a8a8a; }
.all-trips-map .aus { opacity: .4; }
.all-trips-map .aus .hit { pointer-events: none; }
.all-trips-map figcaption { margin-top: .5rem; }
article[data-reise].an { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
@media (max-width: 40rem) {
  /* am Handy stehen die Flaggen neben dem Namen, sonst verdecken die Schilder die Routen */
  .all-trips-map .map-mark { font-size: .68rem; padding: .32rem .5rem; display: flex; align-items: center; gap: .3rem; border-radius: 999px; }
  .all-trips-map .map-mark[hidden] { display: none; }
  .all-trips-map .map-mark .flags { margin-top: 0; gap: .12rem; }
  .all-trips-map .map-mark .flags svg { width: .8rem; height: .53rem; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .all-trips-map svg a:hover .route, :root:not([data-theme="light"]) .all-trips-map svg a.an .route { stroke: #4cc1b8; }
  :root:not([data-theme="light"]) .all-trips-map .map-mark:hover, :root:not([data-theme="light"]) .all-trips-map .map-mark.an { background: #4cc1b8; border-color: #4cc1b8; color: #0f1130; }
}

/* Titelbild im Kopf der Radreisen-Übersicht (v32): Foto hinter dem Titel, links abgedunkelt für die Schrift */
.hero.hero-photo { background: var(--navy); }
.hero.hero-photo::after { display: none; }
/* v33: Das Foto ist 3:2, die Radler reichen bis an den unteren Rand. Der Kopf ist deshalb mindestens so hoch, dass sie ganz zu sehen sind, und das Bild sitzt unten an. */
.hero.hero-photo { display: flex; align-items: center; min-height: clamp(20rem, 40vw, 46rem); }
.hero.hero-photo .wrap { width: 100%; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 100%; }
.hero.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 13, 38, .9) 0%, rgba(11, 13, 38, .68) 42%, rgba(11, 13, 38, .12) 78%, rgba(11, 13, 38, 0) 100%),
    linear-gradient(180deg, rgba(11, 13, 38, .55) 0%, rgba(11, 13, 38, 0) 35%); }
.hero.hero-photo .wrap { z-index: 2; }
.hero-credit { position: absolute; right: 1rem; bottom: .5rem; z-index: 2; margin: 0; font-size: .72rem; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.hero-credit a { color: #fff; }
@media (max-width: 51.99rem) {
  .hero.hero-photo { background: var(--navy); }
  .hero.hero-photo { align-items: flex-start; }
  .hero-bg img { object-position: 80% 100%; }
  .hero.hero-photo::before { background: linear-gradient(180deg, rgba(11, 13, 38, .86) 0%, rgba(11, 13, 38, .7) 55%, rgba(11, 13, 38, .25) 100%); }
  .hero.hero-photo .wrap { padding-bottom: 9rem; }
}

/* Karte im Vollbild mit Zoom (kartenzoom.v1.js, Nutzer 15.11.2026): Knopf in der Ecke, Dialog über den ganzen Schirm */
.all-trips-map { position: relative; }
.zoombar .trip-map-svg, .zoombar .map-stage { cursor: zoom-in; }
.map-zoom-open { position: absolute; z-index: 3; top: .6rem; right: .6rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 13, 38, .72); color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(11, 13, 38, .3); }
.map-zoom-open.links { right: auto; left: .6rem; }
.map-zoom-open svg, .map-zoom-knoepfe svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.map-zoom-open:hover { background: rgba(11, 13, 38, .9); }
.map-zoom-open:focus-visible, .map-zoom-knoepfe button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.map-zoom-platz { border-radius: var(--radius); background: var(--surface); }
dialog.map-zoom { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--surface); color: var(--text); overflow: hidden; }
dialog.map-zoom::backdrop { background: rgba(11, 13, 38, .9); }
.map-zoom-flaeche { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.map-zoom-flaeche.zieht { cursor: grabbing; }
.map-zoom-inhalt { position: absolute; left: 0; top: 0; margin: 0; }
.map-zoom-inhalt > svg, .map-zoom-inhalt > .map-stage { width: 100%; height: 100%; border-radius: 0; border: 0; }
.map-zoom-inhalt .map-stage img { -webkit-user-drag: none; }
.map-zoom-knoepfe { position: absolute; z-index: 2; top: max(.7rem, env(safe-area-inset-top)); right: max(.7rem, env(safe-area-inset-right)); display: flex; flex-direction: column; gap: .5rem; }
.map-zoom-knoepfe button { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 13, 38, .78); color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(11, 13, 38, .3); }
.map-zoom-knoepfe button:disabled { opacity: .4; cursor: default; }
.map-zoom-knoepfe .zu { margin-bottom: .4rem; }
.map-zoom-hinweis { position: absolute; z-index: 2; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0; padding: .45rem .9rem; max-width: calc(100% - 2rem); border-radius: 999px; background: rgba(11, 13, 38, .78); color: #fff; font-size: .82rem; text-align: center; pointer-events: none; transition: opacity .6s; }
.map-zoom-hinweis.weg { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .map-zoom-hinweis { transition: none; } }

/* Übersichtskarte am schmalen Handy: kurze Namen ohne Flaggen, damit die Schilder keine Route verdecken (Nutzer 16.11.2026) */
.all-trips-map .map-mark .name-kurz { display: none; }
@media (max-width: 30rem) {
  .all-trips-map .map-mark { font-size: .62rem; padding: .26rem .42rem; }
  .all-trips-map .map-mark .name-lang, .all-trips-map .map-mark .flags { display: none; }
  .all-trips-map .map-mark .name-kurz { display: inline; }
}

/* Kartenkritik 18.11.2026 (Nutzer über die ÖA): am Telefon dünnere Routenlinien, sichtbare Startpunkte, kleinere Lagekarte,
   kleinere Namensschilder mit Flaggen, Vollbildknopf der Übersicht links neben dem Nebenfeld oben rechts */
.all-trips-map .map-zoom-open { right: calc(26% + .9rem); }
.all-trips-map .inset-rand { stroke-width: 2; }
.all-trips-map .map-mark { font-size: .72rem; padding: .32rem .55rem; }
@media (max-width: 40rem) {
  .map-route .route { stroke-width: 2.25; } .map-route .route-case { stroke-width: 4.25; }
  .map-route .route-gap { stroke-width: 1.75; } .map-route .route-gap-case { stroke-width: 3.5; }
  .trip-map-svg .map-sel { stroke-width: 2.75; } .trip-map-svg .map-sel-case { stroke-width: 6; }
  .all-trips-map .map-dot { r: 13px; stroke-width: 1.75; }
  .all-trips-map svg a:hover .route, .all-trips-map svg a.an .route { stroke-width: 3.25; }
  .all-trips-map .map-mark { font-size: .64rem; padding: .26rem .45rem; }
  .trip-map.js .map-locator { width: 21%; min-width: 4.3rem; border-radius: .6rem; }
}
@media (max-width: 30rem) {
  .all-trips-map .map-mark { font-size: .58rem; padding: .2rem .36rem; gap: .22rem; }
  .all-trips-map .map-mark .flags { display: flex; gap: .1rem; }
  .all-trips-map .map-mark .flags svg { width: .66rem; height: .44rem; }
  .all-trips-map .map-zoom-open { width: 2.2rem; height: 2.2rem; top: .45rem; right: calc(26% + .55rem); }
}
/* Tag gewählt: die übrigen Tage treten zurück */
.trip-map-svg:has(.map-sel[d^="M"]) > .route, .trip-map-svg:has(.map-sel[d^="M"]) > .route-case { opacity: .45; }
/* Namensschilder überall einzeilig, die Flaggen neben dem Namen: so verdecken sie weniger Karte */
.all-trips-map .map-mark { display: flex; align-items: center; gap: .32rem; border-radius: 999px; }
.all-trips-map .map-mark[hidden] { display: none; }
.all-trips-map .map-mark .flags { margin-top: 0; gap: .14rem; }
.all-trips-map .map-mark .flags svg { width: .9rem; height: .6rem; }
@media (max-width: 30rem) { .all-trips-map .map-mark { gap: .22rem; } .all-trips-map .map-mark .flags svg { width: .66rem; height: .44rem; } }

/* Pfeil nach oben (Nutzer 18.11.2026): erscheint beim Scrollen, ohne Skript. Browser ohne scrollgesteuerte Animation
   und Menschen mit reduzierter Bewegung sehen ihn immer. Auf Reiseseiten sitzt er am Telefon über der Leiste unten. */
.to-top { position: fixed; z-index: 39; right: max(.9rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-1); text-decoration: none; }
.to-top svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
body:has(.trip-bar) .to-top { bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
@supports (animation-timeline: scroll()) {
  @keyframes to-top-ein { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
  .to-top { animation: to-top-ein linear both; animation-timeline: scroll(root); animation-range: 320px 520px; }
}
@media print { .to-top { display: none; } }

/* Radreisen-Übersicht als Raster schöner Kacheln (Nutzer 18.11.2026): runde Ecken überall, Handy eine Spalte,
   Tablet zwei, Rechner drei. Hochformat wie die Titelfolie auf Instagram, Schwierigkeit als Etikett, beim Zeigen hebt
   sich die Kachel leicht und das Foto zoomt sanft. Karte und Filter laufen über die volle Breite des Rasters. */
.trips-wrap .filter-bar, .trips-wrap .filter-panel { max-width: none; }
.trip-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin: 0 0 2rem; }
@media (min-width: 44rem) { .trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 66rem) { .trip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; } }
.trip-grid .trip-card { margin: 0; display: flex; flex-direction: column; border-radius: 1.25rem; border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(18, 20, 58, .06), 0 10px 28px rgba(18, 20, 58, .10); transition: transform .25s ease, box-shadow .25s ease; isolation: isolate; }
.trip-grid .trip-card .tc-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.trip-grid .trip-card .tc-photo img { transition: transform .6s ease; }
@media (hover: hover) {
  .trip-grid .trip-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(18, 20, 58, .08), 0 18px 40px rgba(18, 20, 58, .16); }
  .trip-grid .trip-card:hover .tc-photo img { transform: scale(1.04); }
}
.trip-grid .trip-card.on-photo .tc-photo::after { background: linear-gradient(to top, rgba(11, 13, 38, .92) 0%, rgba(11, 13, 38, .55) 38%, rgba(11, 13, 38, 0) 66%); }
.trip-grid .trip-card.on-photo .tc-title { padding: 1rem 1.1rem 1.1rem; }
.trip-grid .trip-card h2 { font-size: clamp(1.5rem, 2.2vw + .9rem, 2rem); line-height: 1.08; margin: 0 0 .1rem; text-wrap: balance; }
.trip-grid .trip-card .trip-facts.symbole { display: grid; grid-template-columns: auto auto; justify-content: start; gap: .45rem 1.2rem; margin-top: .65rem; }
.trip-grid .trip-card .trip-facts.symbole li + li::before { content: none; }
.trip-grid .trip-card .trip-facts b { font-size: .92rem; }
.trip-grid .trip-card .trip-facts svg { width: 1rem; height: 1rem; }
.trip-grid .trip-card .tc-body { flex: 1; display: flex; flex-direction: column; padding: .95rem 1.1rem 1rem; }
.trip-grid .trip-card.on-photo .tc-body .lead { font-size: 1rem; line-height: 1.5; margin: 0 0 .7rem; flex: 1; }
.trip-grid .trip-card .credit { color: var(--muted); }
.tc-stufe { position: absolute; z-index: 1; top: .85rem; left: .85rem; margin: 0; padding: .3rem .7rem; border-radius: 999px;
  font: 700 .78rem/1.2 var(--font-display); letter-spacing: .02em; background: rgba(255, 251, 246, .92); color: #12143a;
  box-shadow: 0 1px 6px rgba(11, 13, 38, .22); }
.tc-stufe::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .4rem; background: #2f9e6e; vertical-align: .05em; }
.tc-stufe.stufe-mittel::before { background: #e3a21a; } .tc-stufe.stufe-anspruchsvoll::before { background: #d4533b; }
article[data-reise].an { border-radius: 1.25rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .trip-grid .trip-card { box-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .4); }
  :root:not([data-theme="light"]) .tc-stufe { background: rgba(18, 20, 58, .88); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .trip-grid .trip-card, .trip-grid .trip-card .tc-photo img { transition: none; } .trip-grid .trip-card:hover { transform: none; } }
.tc-ober { display: block; font: 700 .8rem/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin: 0 0 .3rem; }
.trip-card:not(.on-photo) .tc-ober { color: var(--accent); }
.trip-grid .trip-card .trip-facts.symbole { grid-template-columns: auto minmax(0, 1fr); }
.trip-grid .trip-card .trip-facts li { align-items: flex-start; min-width: 0; }
.trip-grid .trip-card .trip-facts b { white-space: normal; overflow-wrap: anywhere; }

/* Weitere Radreisen am Ende jeder Reiseseite (Nutzer 18.11.2026): drei Kacheln wie in der Übersicht, kein Filter */
.more-trips { border-top: 1px solid var(--border); }
.more-trips h2 { font-family: var(--font-serif); margin: 0 0 1.2rem; }
.more-trips .trip-grid { margin-bottom: 1.2rem; }
.more-trips-all { margin: 0; text-align: center; }
.more-trips .trip-card h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.2vw + .9rem, 2rem); line-height: 1.08; margin: 0 0 .1rem; font-weight: 620; color: inherit; text-wrap: balance; }
.more-trips .trip-card h3 a { color: inherit; text-decoration: none; }
.more-trips .trip-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.more-trips .trip-card h3 a:focus-visible { outline: none; } .more-trips .trip-card:has(h3 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
/* Am Handy nebeneinander zum Wischen statt drei hohe Kacheln untereinander, die nächste schaut am Rand hervor */
@media (max-width: 43.99rem) {
  .more-trips .trip-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -1rem 1.2rem; padding: .3rem 1rem 1rem; scroll-padding-inline: 1rem; overscroll-behavior-x: contain; scrollbar-width: none; }
  .more-trips .trip-grid::-webkit-scrollbar { display: none; }
  .more-trips .trip-grid .trip-card { scroll-snap-align: start; }
}
/* Ländernamen nicht mitten im Wort umbrechen („Frankreic h“), sondern mit Trennstrich, Spalten etwas enger */
.trip-grid .trip-card .trip-facts.symbole { gap: .45rem .9rem; }
.trip-grid .trip-card .trip-facts b { overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
/* Eckdaten der Kachel: Strecke und Tage nebeneinander, beste Monate und Länder je über die volle Breite */
.trip-grid .trip-card .trip-facts.symbole { grid-template-columns: auto auto; justify-content: start; gap: .4rem 1.3rem; }
.trip-grid .trip-card .trip-facts.symbole li:nth-child(n+3) { grid-column: 1 / -1; }

/* Vollbildknopf der Übersicht unten links auf der Karte (Nutzer 18.11.2026: „liegt an schlechter Stelle“): dort liegt
   Atlantik, keine Route und kein Nebenfeld. Die Höhe der Karte folgt der Breite (4 : 3), daher Containereinheiten. */
.all-trips-map { container-type: inline-size; }
.all-trips-map .map-zoom-open { top: calc(75cqw - 3.35rem); right: auto; left: .6rem; bottom: auto; }
@media (max-width: 30rem) { .all-trips-map .map-zoom-open { top: calc(75cqw - 2.65rem); left: .45rem; right: auto; } }

/* Dauer als Regler mit zwei Griffen und Balken der Reisen je Tageszahl (reisen-filter.v4.js, Nutzer 18.11.2026) */
.filter-tage .tage-wert { margin: 0 0 .6rem; font: 700 1.05rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.tage-balken { display: flex; align-items: flex-end; gap: 3px; height: 3.2rem; padding: 0 .7rem; }
.tage-balken span { flex: 1; height: var(--h, 0%); min-height: 0; border-radius: 3px 3px 0 0; background: var(--accent); opacity: .55; transition: height .2s ease, opacity .2s ease; }
.tage-balken span.aus { background: var(--border); opacity: 1; }
.tage-regler { position: relative; height: 2.6rem; margin: 0 .7rem; }
.tage-spur { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--border); }
.tage-fuellung { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--accent); }
.tage-regler input[type="range"] { position: absolute; left: -.7rem; right: -.7rem; width: calc(100% + 1.4rem); top: 0; height: 100%; margin: 0; padding: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.tage-regler input[type="range"]::-webkit-slider-runnable-track { background: none; height: 100%; }
.tage-regler input[type="range"]::-moz-range-track { background: none; }
.tage-regler input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 1.6rem; height: 1.6rem; margin-top: .5rem; border-radius: 50%;
  background: var(--card); border: 3px solid var(--accent); box-shadow: 0 1px 4px rgba(18, 20, 58, .3); cursor: grab; }
.tage-regler input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--card); border: 3px solid var(--accent);
  box-shadow: 0 1px 4px rgba(18, 20, 58, .3); cursor: grab; }
.tage-regler input[type="range"]:focus-visible { outline: none; }
.tage-regler input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--accent); outline-offset: 2px; }
.tage-regler input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tage-balken span { transition: none; } }
.filter-tage { max-width: 34rem; }

/* Teaser „Reisevorschläge“ auf der Startseite (Nutzer 19.11.2026): klein unter der ersten App-Sektion, die App bleibt
   Hauptsache. Drei schmale Kacheln, am Handy zum Wischen, dazu das Etikett „Neu“ auf allen Kacheln */
.start-trips { padding: 1.5rem 0 2.5rem; }
.start-trips-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; margin: 0 0 1rem; }
.start-trips-kopf h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw + .6rem, 1.9rem); margin: 0; }
.start-trips-kopf a { font: 700 .95rem/1.3 var(--font-display); color: var(--accent); text-decoration: none; }
.start-trips-kopf a::after { content: " →"; }
.start-trips-kopf a:hover { text-decoration: underline; }
.teaser-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.trip-teaser { margin: 0; display: flex; flex-direction: column; border-radius: 1rem; }
.trip-teaser .tc-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.trip-teaser .tc-photo img { transition: transform .6s ease; }
.trip-teaser .tc-stufe { top: .6rem; left: .6rem; font-size: .72rem; padding: .25rem .6rem; }
.trip-teaser .tc-body { padding: .75rem .9rem .8rem; }
.trip-teaser h3 { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.15; margin: 0 0 .25rem; }
.trip-teaser h3 a { color: inherit; text-decoration: none; }
.trip-teaser h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.trip-teaser:has(h3 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; } .trip-teaser h3 a:focus-visible { outline: none; }
.trip-teaser .tc-ober { color: var(--accent); font-size: .72rem; margin-bottom: .15rem; }
.trip-teaser .tc-meta { margin: 0 0 .35rem; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.trip-teaser .credit { font-size: .68rem; color: var(--muted); }
@media (hover: hover) { .trip-teaser:hover .tc-photo img { transform: scale(1.04); } }
@media (max-width: 43.99rem) {
  .teaser-reihe { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -1rem; padding: .2rem 1rem .8rem; scroll-padding-inline: 1rem; overscroll-behavior-x: contain; scrollbar-width: none; }
  .teaser-reihe::-webkit-scrollbar { display: none; }
  .trip-teaser { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .trip-teaser .tc-photo img { transition: none; } }
.tc-neu { margin-left: .5rem; padding-left: .5rem; border-left: 1px solid currentColor; color: #b5481f; }
.tc-nur-neu .tc-neu { margin: 0; padding: 0; border: 0; }
.tc-stufe.tc-nur-neu::before { content: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tc-neu { color: var(--amber); } }
