/* Nestwerk – Landingpage
   EINE Farbfläche für die ganze Seite (22.09.2026). Vorher wechselten die
   Abschnitte zwischen hell, heller und dunkelgrün — das wirkte abgehackt.
   Rhythmus kommt jetzt aus Karten, Geräten und Komposition, nicht aus
   wechselnden Hintergründen.

   Zwei Farbwelten: hell = Minze, dunkel = Nacht. Beide tragen dieselben
   Werte wie die App (AppTheme.minze / AppTheme.dunkelKuehl), damit die
   Screenshots nicht aus der Seite fallen. Umgeschaltet wird oben rechts;
   die Wahl liegt in localStorage, sonst entscheidet das System. */

:root {
  --bg: #E8F2EB;
  --surface: #FFFFFF;
  --surface-soft: #F3FAF5;
  --ink: #0E3525;
  --secondary: #55796A;
  --tertiary: #8CA79A;
  --accent: #16593F;
  --accent-fg: #FFFFFF;
  --accent-bright: #238A5F;
  --accent-soft: #D3EADD;
  --hairline: rgba(14, 53, 37, 0.10);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-line: rgba(255, 255, 255, 0.6);
  --shadow-card: 0 26px 60px rgba(14, 53, 37, .14);
  --shadow-device: 0 30px 50px rgba(14, 53, 37, .24);
  --glow: rgba(35, 138, 95, .16);

  /* Personenfarben — dieselbe Palette wie in der App. */
  --salbei: #ABDBB2;
  --koralle: #F4AE9F;
  --himmel: #A3CDF0;
  --sonne: #F5D98A;
  --lavendel: #C7B6EE;
  --pink: #F3B3D6;

  /* Ruhig, aber lesbar: kleine Fußzeilentexte brauchen auf der hellen
     Minzfläche mehr Tiefe als --tertiary (2,3:1). Dieser Wert kommt auf
     5,0:1 in Hell und 8,9:1 in Dunkel. */
  --quiet: #4C6E5E;

  --page: 1180px;
}

:root[data-theme="dark"] {
  --bg: #06171C;
  --surface: #0C2229;
  --surface-soft: #163036;
  --ink: #E2F0EF;
  --secondary: #86A5A6;
  --tertiary: #577478;
  --accent: #5FE3AE;
  --accent-fg: #08110F;
  --accent-bright: #5FE3AE;
  --accent-soft: rgba(95, 227, 174, .18);
  --hairline: rgba(226, 240, 239, 0.12);
  --glass: rgba(22, 48, 54, 0.62);
  --glass-line: rgba(226, 240, 239, 0.12);
  --shadow-card: 0 26px 60px rgba(0, 0, 0, .45);
  --shadow-device: 0 30px 50px rgba(0, 0, 0, .55);
  --glow: rgba(95, 227, 174, .10);
  --quiet: #9CBABB;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .45s ease, color .45s ease;
}

h1, h2, .serif {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(42px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4.1vw, 50px); }
h3 { font-size: 18px; font-weight: 640; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 22px; }
.lead { font-size: 18px; color: var(--secondary); max-width: 46ch; margin-top: 16px; }
.small { font-size: 14px; color: var(--tertiary); }
.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: .19em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px;
}

/* Auftauchen beim Scrollen */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .float { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Kopfzeile ---------- */
.top { position: sticky; top: 0; z-index: 40; padding: 12px 0; }
.glassbar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 9px 8px 15px; border-radius: 999px;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
  border: 1px solid var(--glass-line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 30px; height: 24px; }
:root[data-theme="dark"] .brand img { filter: brightness(0) invert(1) opacity(.92); }
.brand span { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; line-height: 1; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; background: var(--accent);
  color: var(--accent-fg); text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(0,0,0,.2); }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: none; border: 1px solid var(--hairline); }
.btn.small { padding: 9px 18px; font-size: 14.5px; }

/* Hell/Dunkel: eine Glaspille mit Sonne und Mond, der Knauf wandert. */
.themeswitch {
  position: relative; flex: none;
  width: 68px; height: 34px; border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--surface-soft);
  cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.themeswitch svg { width: 15px; height: 15px; position: relative; z-index: 2; margin: 0 7px; color: var(--secondary); transition: color .35s ease; }
.themeswitch .knob {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(0,0,0,.22);
  transition: transform .38s cubic-bezier(.4,1.3,.5,1);
  z-index: 1;
}
:root[data-theme="dark"] .themeswitch .knob { transform: translateX(34px); }
:root:not([data-theme="dark"]) .themeswitch .sun { color: var(--accent); }
:root[data-theme="dark"] .themeswitch .moon { color: var(--accent); }

/* ---------- Raster ---------- */
section { padding: clamp(52px, 6.2vw, 90px) 0; position: relative; }
section.tight { padding: clamp(40px, 4.6vw, 66px) 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.4vw, 62px); align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.split.wide-right { grid-template-columns: .82fr 1.18fr; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 980px) {
  .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse > :first-child { order: 0; }
}
.checklist { margin-top: 20px; display: grid; gap: 9px; }
.checklist div { display: flex; gap: 10px; align-items: flex-start; color: var(--secondary); font-size: 16px; }
.checklist svg { width: 17px; height: 17px; color: var(--accent-bright); flex: none; margin-top: 4px; }
.sectionhead { max-width: 620px; }

/* ---------- Geräte: echte Mockups mit transparenter Scheibe ---------- */
.device { position: relative; display: block; width: 100%; filter: drop-shadow(var(--shadow-device)); }
.device .frame { display: block; width: 100%; height: auto; position: relative; z-index: 2; pointer-events: none; }
.device .viewport { position: absolute; z-index: 1; overflow: hidden; background: var(--bg); }
.device .viewport img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.phone { max-width: 330px; }
.phone .viewport { left: 5.1%; top: 2.9%; width: 89.8%; height: 94.2%; border-radius: 12% / 5.6%; }

.watch { width: 152px; }
.watch .viewport {
  left: 16%; top: 23.4%; width: 68%; height: 53.2%; border-radius: 15% / 13%;
  background: #04120C; color: #EAF5EE;
  padding: 8px 9px; display: flex; flex-direction: column; gap: 5px;
}
.watch .wtop { display: flex; font-size: 9px; color: #7FB3A0; font-weight: 700; letter-spacing: .04em; }
.watch .wtop .time { margin-left: auto; }
.watch .wrow { display: flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.1; }
.watch .wrow .wchip { margin-left: auto; font-size: 8.5px; font-variant-numeric: tabular-nums; color: #9CC9B6; }
.watch .dot { width: 5px; height: 5px; border-radius: 50%; flex: none; }

.float { animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* Zwei Geräte nebeneinander (Personenliste + eine Person) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 22px); align-items: start; }
.duo figure { margin: 0; }
.duo .phone { max-width: 100%; }
.duo .second { margin-top: clamp(18px, 3.5vw, 44px); }
.duo figcaption {
  margin-top: 11px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tertiary); text-align: center;
}
@media (max-width: 560px) {
  .duo { grid-template-columns: 1fr; gap: 26px; max-width: 280px; margin: 0 auto; }
  .duo .second { margin-top: 0; }
}

/* Ausschnitt aus der Oberfläche, ohne Gerät */
.uishot {
  border-radius: 24px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-card); border: 1px solid var(--hairline);
}
.uishot img { display: block; width: 100%; }
.caption { font-size: 13.5px; color: var(--tertiary); margin-top: 10px; }

/* Woche und Monat */
.shotpair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: start; }
.shotcard { margin: 0; }
.shotcard.offset { margin-top: clamp(16px, 3vw, 38px); }
.shotcard .uishot { aspect-ratio: 1 / 1.52; }
.shotcard .uishot img { height: 100%; object-fit: cover; object-position: top center; }
.shotcard figcaption {
  margin-top: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tertiary); text-align: center;
}
@media (max-width: 620px) {
  .shotpair { grid-template-columns: 1fr; gap: 20px; max-width: 320px; margin: 0 auto; }
  .shotcard.offset { margin-top: 0; }
}

/* ---------- Kopfbereich ---------- */
.hero { padding: clamp(18px, 2.6vw, 34px) 0 clamp(40px, 5vw, 70px); }
.hero::before {
  content: ""; position: absolute; inset: -25% 0 auto 30%; height: 95%;
  background: radial-gradient(52% 55% at 65% 35%, var(--glow), transparent 72%);
  pointer-events: none;
}
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero .lead { margin-top: 20px; font-size: 19px; }
.hero .btnrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.promises { margin-top: 18px; font-size: 15px; color: var(--secondary); }
.promises b { color: var(--ink); font-weight: 640; }

.stage { position: relative; display: flex; justify-content: center; padding: 0 0 14px 34px; }
.stage .phone { max-width: 306px; }
.stage .watch { position: absolute; left: 0; bottom: 34px; z-index: 6; }
.badge-soon {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -13px; z-index: 7;
  background: var(--accent); color: var(--accent-fg); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  box-shadow: 0 8px 16px rgba(0,0,0,.28);
}
@media (max-width: 620px) {
  .stage { padding-left: 0; }
  .stage .phone { max-width: 260px; }
  .stage .watch { width: 116px; left: -6px; bottom: 10px; }
}

/* ---------- Schreiben: Karte überlappt das Gerät ---------- */
.overlapstage { position: relative; padding-bottom: 26px; }
.overlapstage .phone { max-width: 274px; margin-left: auto; transform: rotate(-3deg); }
.overlapstage .card { position: absolute; left: 0; bottom: 0; width: min(330px, 78%); z-index: 8; }
@media (max-width: 980px) {
  .overlapstage { display: flex; flex-direction: column; align-items: center; padding-bottom: 0; }
  .overlapstage .phone { margin: 0; transform: none; }
  .overlapstage .card { position: static; width: 100%; max-width: 420px; margin-top: 20px; }
}

/* ---------- Karten und Eingabefeld ---------- */
.card { background: var(--surface); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-card); }
.cardlabel { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--tertiary); margin-bottom: 10px; }
.composer { background: var(--surface-soft); border-radius: 14px; padding: 13px 15px; font-size: 16.5px; min-height: 54px; }
.composer .mark { background: var(--accent-soft); border-radius: 6px; padding: 1px 4px; }
.caret { display: inline-block; width: 2px; height: 19px; background: var(--accent); vertical-align: -4px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.composer-out { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 11px; font-size: 13px; min-height: 28px; }
.composer-out span { background: var(--accent-soft); color: var(--accent-bright); border-radius: 999px; padding: 4px 11px; font-weight: 600; }

/* ---------- Familie: Beispielprofile ---------- */
.familyrow {
  list-style: none; margin: 24px 0 0; padding: 0 0 4px;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.familyrow::-webkit-scrollbar { display: none; }
.member { flex: none; width: 64px; text-align: center; scroll-snap-align: start; }
.face {
  position: relative; display: block; width: 64px; height: 64px;
  border-radius: 20px; overflow: hidden; background: var(--surface-soft);
  border: 2px solid var(--tint, var(--tertiary));
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
  transition: transform .25s ease;
}
.face::before {
  content: attr(data-initial); position: absolute; inset: 0;
  display: grid; place-items: center; color: var(--secondary);
  font-family: "Instrument Serif", Georgia, serif; font-size: 24px;
}
.face img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.member:hover .face { transform: translateY(-4px); }
.member b { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 640; letter-spacing: -.01em; }
.demohint { margin-top: 14px; font-size: 12.5px; color: var(--tertiary); }
@media (max-width: 420px) { .member, .face { width: 58px; } .face { height: 58px; } }

/* ---------- Widgets ---------- */
.wallpaper {
  position: relative; border-radius: 28px; padding: clamp(24px, 3.6vw, 44px);
  background:
    radial-gradient(90% 70% at 18% 8%, rgba(147,220,184,.20) 0%, transparent 60%),
    linear-gradient(160deg, #1B5540 0%, #0D3324 60%, #0A2A1E 100%);
  overflow: hidden;
}
:root[data-theme="dark"] .wallpaper {
  /* Auf dunklem Grund braucht das dunkle Widget einen helleren Untergrund,
     sonst verschwindet die Karte im Hintergrundbild. */
  background:
    radial-gradient(90% 70% at 18% 8%, rgba(147,220,184,.16) 0%, transparent 60%),
    linear-gradient(160deg, #2A5A52 0%, #1E4650 60%, #17323A 100%);
}
.widgetstack { display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 22px); }
.widgetstack img { display: block; border-radius: 22px; box-shadow: 0 24px 50px rgba(0,0,0,.42); }
.widgetstack .wmed { width: 66%; transform: rotate(-1.2deg); }
.widgetstack .wsmall { width: 31%; transform: rotate(1.6deg); }
@media (max-width: 520px) { .widgetstack { flex-direction: column; align-items: center; } .widgetstack .wmed { width: 100%; } .widgetstack .wsmall { width: 52%; } }


/* ---------- Statusschild statt Knopf ---------- */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--hairline); background: transparent;
  color: var(--secondary); font-weight: 600; font-size: 15px;
}
.status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-bright); flex: none;
}
.status.small { padding: 8px 15px; font-size: 13.5px; }

/* ---------- Sprachen ---------- */
.langgrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 4vw, 56px); align-items: stretch; }
.langgrid > :first-child { align-self: center; }
@media (max-width: 900px) { .langgrid { grid-template-columns: 1fr; gap: 26px; } }
.langflags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.langflags span {
  padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface-soft); color: var(--secondary); cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.langflags span.active { background: var(--accent); color: var(--accent-fg); }
.langcard {
  background: var(--surface); border-radius: 24px; padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; justify-content: center;
}
.langcard .cardlabel { margin-bottom: 14px; }
.langdemo {
  font-size: clamp(20px, 2.6vw, 31px); font-family: "Instrument Serif", Georgia, serif;
  line-height: 1.24; min-height: 2.5em; color: var(--ink);
}
.langdemo .mark { background: var(--accent-soft); border-radius: 7px; padding: 2px 6px; }
.langresult {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  min-height: 30px; flex-wrap: wrap;
}
.langresult .reslabel {
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--tertiary);
}
.langresult .respill {
  background: var(--accent-soft); color: var(--accent-bright);
  border-radius: 999px; padding: 5px 13px; font-weight: 600; font-size: 14px;
}
.langfoot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline);
  font-size: 13.5px; color: var(--tertiary);
}

/* ---------- Privat ---------- */
.privacy { background: #16593F; color: #EAF5EE; border-radius: 30px; padding: clamp(28px, 4.6vw, 54px); }
:root[data-theme="dark"] .privacy { background: #0F3A2A; border: 1px solid rgba(95,227,174,.18); }
.privacy h2 { color: #fff; }
.privacy .lead { color: rgba(234,245,238,.82); margin-top: 0; }
.privacy .eyebrow { color: #93DCB8; }
.privacy .checklist div { color: rgba(234,245,238,.92); }
.privacy .checklist svg { color: #93DCB8; }
.privacynote { margin-top: 20px; font-size: 14.5px; color: rgba(234,245,238,.72); }
.privacynote a { color: #93DCB8; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Funktionsliste ---------- */
.featurelist { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(26px, 4vw, 58px); }
@media (max-width: 820px) { .featurelist { grid-template-columns: 1fr; } }
.featurelist .item { padding: 16px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.featurelist .item svg { width: 21px; height: 21px; color: var(--accent-bright); margin-top: 2px; opacity: .92; }
.featurelist .item p { color: var(--secondary); margin-top: 3px; font-size: 15.5px; line-height: 1.5; }
.featurelist .item .soon {
  display: inline-block; margin-left: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-bright); vertical-align: 2px;
}

/* ---------- Über mich ---------- */
.story { display: grid; grid-template-columns: 286px 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; margin-top: 30px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story .portrait { max-width: 260px; } }
/* Der Abzug bringt seinen eigenen weissen Rand mit (24.09.2026) — eine
   zweite Hülle darum sähe aus wie ein Bild in einem Bilderrahmen in einem
   Bilderrahmen. Deshalb trägt hier das Bild selbst den Schatten. */
.portrait { border-radius: 0; background: transparent; box-shadow: none; position: relative; }
.portrait img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: var(--shadow-card); }
.portrait.empty::after { content: "Foto folgt"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--secondary); font-size: 14px; }
.story .text p { color: var(--secondary); font-size: 17px; }
.story .text p + p { margin-top: 13px; }
.story .text p.pullquote, .pullquote {
  font-family: "Instrument Serif", Georgia, serif; font-size: clamp(23px, 3vw, 33px);
  line-height: 1.2; color: var(--ink); margin: 0 0 18px;
}
.aboutlinks { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Fuß ---------- */
footer { padding: 52px 0 64px; color: var(--quiet); font-size: 15px; border-top: 1px solid var(--hairline); }
footer a { color: var(--quiet); }

.footgrid {
  display: grid; grid-template-columns: 1.6fr .7fr .7fr;
  gap: clamp(26px, 4vw, 64px); align-items: start;
}
@media (max-width: 720px) { .footgrid { grid-template-columns: 1fr 1fr; gap: 30px 24px; } .footbrand { grid-column: 1 / -1; } }

.footbrand .brand { margin-bottom: 12px; }
.footbrand .brand span { font-size: 22px; }
.footbrand p { max-width: 34ch; line-height: 1.55; }

.footcol { display: flex; flex-direction: column; align-items: flex-start; }
.foottitle {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--quiet); margin: 0 0 6px;
}
.footcol a { text-decoration: none; padding: 6px 0; }
.footcol a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.footbase {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 48px); padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
}
.footbase a {
  text-decoration: underline; text-decoration-color: var(--hairline);
  text-underline-offset: 3px; padding: 6px 0; display: inline-block;
  overflow-wrap: anywhere;
}
.footbase a:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (max-width: 720px) {
  /* Tippziele, die den Finger treffen. */
  .footcol a { display: flex; align-items: center; min-height: 44px; padding: 0; }
}
@media (max-width: 480px) {
  .footbase { flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
  .footbase a { display: flex; align-items: center; min-height: 44px; }
}

/* ---------- Unterseiten ----------
   Eine Familie mit der Startseite: gleiche Fläche, gleiche Serifentitel,
   nur schmaler gesetzt, weil hier gelesen wird. */
.page { max-width: 68ch; }
.page.wide { max-width: var(--page); }
.page h1 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -.018em; margin: 0; }
.page > .lead { margin-top: 20px; max-width: 58ch; }
.page h2 { margin-top: 40px; font-size: 23px; font-weight: 640; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em; }
.page p, .page li { color: var(--secondary); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; }
.page a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }
.page .btn, .jumplinks a { text-decoration: none; }
.page .btn { color: var(--accent-fg); }
.page .btn.ghost { color: var(--ink); }
.page .address { line-height: 1.8; }
.pagenote { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--hairline); font-size: 14.5px; color: var(--quiet); }

/* Sprunglinks */
.jumplinks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.jumplinks a {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--secondary);
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--hairline);
  background: var(--surface);
}
.jumplinks a:hover { color: var(--ink); }

/* Fragen und Antworten */
.faq { margin-top: 16px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 30px 16px 0; position: relative;
  font-size: 17px; font-weight: 640; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 24px;
  width: 9px; height: 9px; border-right: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.faq p { padding: 0 0 18px; margin: 0; max-width: 62ch; }

/* Abschluss auf Unterseiten */
.pagecta {
  margin-top: 48px; padding: clamp(24px, 3.4vw, 34px);
  border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-card);
}
.pagecta h2 { margin-top: 0; font-size: 21px; }
.pagecta p { margin-top: 8px; }
.pagecta .btn { margin-top: 18px; }

/* Unterstützen: zwei Wege nebeneinander */
.waylist { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 26px); margin-top: 34px; }
@media (max-width: 760px) { .waylist { grid-template-columns: 1fr; } }
.way { background: var(--surface); border-radius: 22px; padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-card); }
.way h2 { margin-top: 0; font-size: 20px; }
.way .btn { margin-top: 16px; }
/* QR klein und ruhig: eine Beigabe, kein Blickfang. */
.qr { margin: 20px 0 0; }
.qr img {
  width: 132px; height: 132px; display: block;
  border-radius: 12px; background: #fff; padding: 8px;
  border: 1px solid var(--hairline);
}
.qr figcaption { margin-top: 8px; font-size: 13px; color: var(--quiet); }
.way p { margin-top: 10px; }

/* Änderungen: ein ruhiger Eintrag, keine Archiv-Navigation */
.release { margin-top: 38px; }
.release header { margin-bottom: 14px; }
.release h2 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 32px; letter-spacing: -.018em; }
.reltag {
  display: inline-block; margin-left: 10px; vertical-align: 5px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-bright);
}
.reldate { margin-top: 4px; font-size: 14px; color: var(--quiet); }
.release ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.release li { font-size: 16.5px; }
.release li b { color: var(--ink); font-weight: 640; }
