/* posan.de – gemeinsames Stylesheet (Pedalglobe-Marke, docs/marke.md der App).
   Versioniert: Bei Änderungen Dateinamen hochzählen (site.v9.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: #fffdf9;
  --surface: #f7f1e9;
  --surface-2: #efe7dc;
  --text: #14163a;
  --muted: #4b4e66;
  --border: #ddd3c6;
  --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, .08), 0 8px 24px rgba(18, 20, 58, .10);
  --radius: 1rem;
  --wrap: 72rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-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;
    --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);
  }
}

*, *::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: 10;
  background: var(--band); color: var(--band-text); padding: .6rem 1rem; border-radius: .5rem;
}
.skip:focus { top: .5rem; }
.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); }
@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; }
.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 { 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; }
}
@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(135deg, var(--teal), var(--amber), var(--coral)) 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: 0; right: auto; } }
.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; }
