/* Bodensee Seelotse — Startseite
   Umsetzung von Startseite.dc.html (Claude-Design-Projekt „Bodensee Seelotse
   Website Redesign"). Farben, Masse und Texte 1:1 aus dem Design.

   Bewusste Abweichungen vom Design, jede mit Grund:
   - Schriften selbst gehostet statt von fonts.googleapis.com. Das Design lädt
     sie per CDN, behauptet im eigenen Text aber „lädt nichts von fremden
     Servern" — und in DE ist die CDN-Einbindung ein DSGVO-Problem.
   - Media Queries ergänzt. Das Design hat keine und bricht unter ~1100 px.
   - Impressum/Datenschutz zeigen auf die echten Rechtstexte statt auf #top. */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('font/bricolage-grotesque.woff2') format('woff2-variations'),
       url('font/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;            /* Variable Font, Achse wght */
  font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('font/source-sans-3-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('font/source-sans-3-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('font/source-sans-3-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #eef3f4;
  --ink: #10333c;
  --muted: #476772;
  /* Design: #7d99a1 bzw. #9db3ba. Beide liegen als Kleintext unter 4.5:1 —
     auf dem Seitenhintergrund #eef3f4 nur 3.0 bzw. 2.3. #556f79 kommt dort auf
     4.77:1 und auf Weiss auf 5.34:1, deckt also beide Vorkommen ab. */
  --faint: #556f79;
  --faintest: #556f79;
  --teal: #14666b;
  --teal-dark: #0d4a4e;
  --deep: #0d3b47;
  --deep2: #0b2c34;
  --card: #fff;
  --line: rgba(13, 59, 71, .1);
  --shadow-card: 0 2px 6px rgba(13, 59, 71, .05), 0 16px 40px rgba(13, 59, 71, .06);
  --maxw: 1200px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: 'Bricolage Grotesque', 'Source Sans 3', sans-serif; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 49, 60, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--pad); display: flex; align-items: center; gap: 28px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.nav-brand:hover { color: #fff; }
.nav-brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-brand span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; font-size: 15px; font-weight: 600; }
.nav-links a { color: rgba(255, 255, 255, .82); }
.nav-links a:hover { color: #fff; }
.nav-cta { background: #fff; color: #0d3b47 !important; padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { background: #d8ecec; }

/* Zweite Menüebene: die Themenseiten. Sie hängen nicht unter einem Punkt des
   Hauptmenüs, sondern bilden eine eigene Reihe — ein Aufklappmenü bräuchte
   JavaScript und wäre auf dem Telefon der schlechtere Weg.
   Auf Mobil blendet die 780-px-Regel die Hauptmenü-Anker aus; diese Reihe
   bleibt und wird stattdessen horizontal wischbar. Damit sind die Themenseiten
   auf dem Telefon sogar besser erreichbar als vorher. */
.subnav { background: rgba(6, 35, 43, .94); border-top: 1px solid rgba(255, 255, 255, .07); }
.subnav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: stretch; gap: 4px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-label {
  display: flex; align-items: center; flex: none;
  margin-right: 14px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .66);   /* gemessen 7.69:1 gegen den effektiven Grund */
}
.subnav a {
  flex: none; white-space: nowrap;
  padding: 12px 14px; font-size: 14.5px; font-weight: 600;
  color: rgba(255, 255, 255, .8);
  border-bottom: 2px solid transparent;
}
.subnav a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .3); }
.subnav a[aria-current="page"] { color: #fff; border-bottom-color: #6ee7a8; }
.subnav a:focus-visible { outline: 2px solid #6ee7a8; outline-offset: -4px; }

@media (max-width: 780px) {
  /* Der Kicker frisst auf schmalen Geräten zu viel von der Wischreihe. */
  .subnav-label { display: none; }
  .subnav-inner { padding-left: calc(var(--pad) - 4px); }
  .subnav a { padding: 11px 12px; font-size: 14px; }
}

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

.hero {
  background: linear-gradient(160deg, #0a3540 0%, #0f4552 55%, #14555f 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero-grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: 96px var(--pad) 110px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  gap: 40px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse-dot 2.2s ease-in-out infinite; flex: none; }
.hero h1 {
  font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 64px); line-height: 1.04;
  margin: 0; letter-spacing: -.02em; text-wrap: balance;
}
/* Die Design-Zeile trägt kein Keyword. Statt sie zu ersetzen, bekommt die H1
   eine zweite Zeile: der Anspruch bleibt die Schlagzeile, das Thema steht
   trotzdem in der H1. Der Vorspann darunter wurde entsprechend umformuliert,
   damit er die Begriffe nicht ein drittes Mal wiederholt. */
.hero h1 .h1-claim { display: block; }
.hero h1 .h1-key {
  display: block; margin-top: 18px;
  font-size: clamp(1.05rem, 2vw, 23px); font-weight: 600; line-height: 1.35;
  letter-spacing: 0; color: rgba(255, 255, 255, .82);
}
.hero-lead { font-size: clamp(1.05rem, 2vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .86); margin: 0; max-width: 52ch; text-wrap: pretty; }
.hero-note { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .72); }

.btn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.btn { display: flex; flex-direction: column; padding: 12px 26px; border-radius: 14px; line-height: 1.25; }
.btn .kicker { font-size: 12px; font-weight: 600; }
.btn .label { font-size: 19px; font-weight: 700; }
.btn-light { background: #fff; color: #0d3b47; }
.btn-light:hover { background: #d8ecec; color: #0d3b47; }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-soon { border: 1.5px dashed rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .82); cursor: default; }

.hero-art { position: relative; justify-self: center; min-width: 0; }
.phone { width: 320px; max-width: 78vw; border-radius: 48px; background: var(--deep2); padding: 12px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.phone img { width: 100%; border-radius: 38px; }
.float {
  position: absolute; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.float-wind {
  top: 42px; left: -58px; background: #fff; color: var(--ink);
  padding: 16px 20px; width: 190px; animation: floaty 5s ease-in-out infinite;
}
/* Design: #7d99a1 — bei 11 px auf Weiss nur 3.0:1. */
.float-wind .cap { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--faint); }
.float-wind .val { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.float-wind .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 36px; font-weight: 800; }
.float-wind .unit { font-size: 14px; font-weight: 600; color: var(--muted); }
.float-wind .gust { margin-top: 6px; font-size: 13px; font-weight: 600; color: #9a4708; }
.float-wind .gust:empty { display: none; }
.float-wind .stand { margin-top: 8px; font-size: 11.5px; color: var(--faint); }
.float-wind .stand:empty { display: none; }
.float-wind.is-unavailable .num { font-size: 26px; }
.float-warn {
  bottom: 60px; left: -70px; background: var(--deep); color: #fff;
  border: 1px solid rgba(255, 255, 255, .14); padding: 14px 18px; width: 200px;
  animation: floaty 6s ease-in-out .8s infinite;
}
.float-warn .row { display: flex; align-items: center; gap: 8px; }
.float-warn .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; flex: none; }
.float-warn .ttl { font-weight: 700; font-size: 15px; }
.float-warn .sub { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .72); }

/* ---------- Abschnitte ---------- */

.section { max-width: var(--maxw); margin: 0 auto; padding: 110px var(--pad) 0; }
.sec-head { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.section h2 { font-size: clamp(1.9rem, 4vw, 42px); font-weight: 800; margin: 0; letter-spacing: -.015em; }
.sec-lead { font-size: clamp(1rem, 1.6vw, 19px); line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { background: var(--card); border-radius: 22px; padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); }
.card .badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
/* Design: #15803d — auf #dcf3e4 nur 4.30:1 bei 12 px. #137236 gibt 5.16:1. */
.badge-gratis { background: #dcf3e4; color: #137236; }
.badge-premium { background: #e3eef0; color: var(--teal); }
.card h3 { font-size: 23px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px; align-items: start; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shot-frame { border-radius: 26px; background: var(--deep2); padding: 7px; box-shadow: 0 14px 36px rgba(13, 59, 71, .18); transition: transform .25s ease; }
.shot-frame:hover { transform: translateY(-6px); }
.shot-frame img { width: 100%; border-radius: 20px; }
.shot figcaption { font-size: 14.5px; font-weight: 600; color: var(--muted); text-align: center; }

/* Preis */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; align-items: stretch; }
.tier { border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.tier-free { background: var(--card); box-shadow: var(--shadow-card); }
.tier-pro { background: var(--deep); color: #fff; box-shadow: 0 24px 60px rgba(13, 59, 71, .3); }
.tier h3 { font-size: 26px; font-weight: 700; margin: 0; }
.tier-sub { margin: 6px 0 0; font-size: 15.5px; color: var(--faint); }
.tier-pro .tier-sub { color: rgba(255, 255, 255, .75); }
.tier-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-pill { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tier li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.45; }
.tier li .tick { font-weight: 700; flex: none; }
.tier-free .tick { color: #15803d; }
.tier-pro .tick { color: #6ee7a8; }

/* Daten */
.data-col { border-top: 3px solid var(--teal); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.data-col h3 { font-size: 20px; font-weight: 700; margin: 0; }
.data-col p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.disclaimer { margin-top: 48px; background: #dfeaec; border-radius: 18px; padding: 22px 28px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.disclaimer strong { color: #9a4708; }   /* Design: #b45309 — auf 4.5:1 gegen #dfeaec gebracht */

/* CTA */
.cta-outer { max-width: var(--maxw); margin: 110px auto 0; padding: 0 var(--pad); }
.cta {
  background: linear-gradient(150deg, #0a3540, #14555f); border-radius: 28px;
  padding: 72px 64px; color: #fff; display: flex; align-items: center;
  justify-content: space-between; gap: 48px; flex-wrap: wrap; overflow: hidden; position: relative;
}
.cta-copy { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 44px); font-weight: 800; margin: 0; letter-spacing: -.015em; }
.cta p { font-size: clamp(1rem, 1.6vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .85); margin: 0; }
.cta-icon { width: 148px; height: 148px; border-radius: 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* Fuss */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--pad) 56px; display: flex; flex-direction: column; gap: 18px; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.footer p { margin: 0; font-size: 14px; color: var(--faint); }
.footer .fine { font-size: 13px; color: var(--faintest); }

/* ---------- Responsiv (im Design nicht vorhanden) ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-top: 72px; padding-bottom: 80px; }
  .hero-copy { align-items: flex-start; }
  .hero-art { justify-self: start; margin-left: 70px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .cta { padding: 56px 44px; }
}

@media (max-width: 780px) {
  :root { --pad: 20px; }
  .section, .cta-outer { padding-top: 76px; }
  .cta-outer { margin-top: 76px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }   /* Ankerlinks weichen dem CTA */
  .grid-3, .tiers { grid-template-columns: 1fr; }
  .cta { padding: 44px 28px; gap: 32px; }
  .cta-icon { width: 104px; height: 104px; border-radius: 24px; }
  .footer nav { gap: 14px 20px; }

  /* Schwebekarten würden aus dem Bild laufen — in den Fluss holen */
  .hero-art { justify-self: stretch; margin-left: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .phone { order: 1; }
  .float { position: static; animation: none; width: 100%; max-width: 320px; }
  .float-wind { order: 2; }
  .float-warn { order: 3; }

  /* Screenshots als wischbare Reihe */
  .shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62vw;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px var(--pad) 18px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1);
  }
  .shot { scroll-snap-align: center; }
  .shot-frame:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .hero-badge .dot { animation: none; }
  .shot-frame { transition: none; }
}

/* ---------- Presseseite (Umsetzung von Presse.dc.html) ---------- */

.hero-presse { background: linear-gradient(160deg, #0a3540 0%, #0f4552 60%, #14555f 100%); color: #fff; }
.hero-presse .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 88px var(--pad) 80px; display: flex; flex-direction: column; gap: 20px;
}
.hero-presse img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.hero-presse h1 { font-size: clamp(2.2rem, 5vw, 56px); font-weight: 800; margin: 0; letter-spacing: -.02em; }
.hero-presse p { font-size: clamp(1rem, 1.7vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .85); margin: 0; max-width: 56ch; }
.hero-presse a { color: #a9e0e0; text-decoration: underline; }
.hero-presse a:hover { color: #fff; }

.section h2.solo { margin-bottom: 40px; }

/* Fakten */
.fakten { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); }
.fakten .row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 18px 32px; border-bottom: 1px solid #e8eff0; align-items: baseline;
}
.fakten .row:last-child { border-bottom: 0; }
.fakten dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--faint); margin: 0; }
.fakten dd { font-size: 16.5px; margin: 0; }

/* Kurzbeschreibungen */
.texte { display: flex; flex-direction: column; gap: 24px; }
.textblock { background: var(--card); border-radius: 20px; padding: 30px 34px; box-shadow: var(--shadow-card); }
.textblock header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.textblock h3 { font-size: 20px; font-weight: 700; margin: 0; }
.textblock .len { font-size: 12.5px; font-weight: 700; background: #e3eef0; color: var(--teal); padding: 4px 12px; border-radius: 999px; }
.textblock .body { font-size: 16.5px; line-height: 1.65; color: #2c4b55; white-space: pre-line; }

/* Zitate */
.zitate { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.zitat {
  margin: 0; background: var(--card); border-left: 4px solid var(--teal); border-radius: 18px;
  padding: 30px 34px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 16px;
}
.zitat p { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--ink); }
.zitat footer { font-size: 14.5px; color: var(--faint); }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 48px; }
.dl {
  display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 16px;
  padding: 18px 24px; font-weight: 700; font-size: 16px;
  box-shadow: 0 2px 6px rgba(13, 59, 71, .05), 0 12px 30px rgba(13, 59, 71, .06);
  transition: transform .2s ease; color: var(--ink);
}
.dl:hover { transform: translateY(-3px); color: var(--teal-dark); }
.dl .ic {
  width: 38px; height: 38px; border-radius: 10px; background: #e3eef0; color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none;
}

.presse-shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: start; }
.presse-shots figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.presse-shots .frame { border-radius: 24px; background: var(--deep2); padding: 6px; box-shadow: 0 12px 32px rgba(13, 59, 71, .16); }
.presse-shots img { width: 100%; border-radius: 19px; }
.presse-shots figcaption { font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; }

@media (max-width: 1080px) {
  .zitate, .downloads { grid-template-columns: 1fr; }
  .presse-shots { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .fakten .row { grid-template-columns: 1fr; gap: 4px; padding: 16px 22px; }
  .textblock { padding: 24px 22px; }
  .zitat { padding: 24px 22px; }
  .presse-shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62vw;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px var(--pad) 18px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1);
  }
  .presse-shots figure { scroll-snap-align: center; }
  .dl:hover { transform: none; }
}

/* ---------- SEO-Ergänzungen (31.07.2026) --------------------------------
   FAQ-Block, Brotkrümel und die Textseite /sturmwarnung-bodensee/. Nicht Teil
   des ursprünglichen Designs — deshalb bewusst aus vorhandenen Bausteinen
   (Karten, Abschnittsköpfe, Farbtoken) zusammengesetzt statt neu erfunden.
   Jede neue Farbe ist gegen ihren effektiven Hintergrund auf >= 4.5:1 geprüft. */

/* Brotkrümel im dunklen Seitenkopf */
.brotkrume { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.brotkrume a { color: #a9e0e0; text-decoration: underline; }
.brotkrume a:hover { color: #fff; }
.brotkrume span[aria-hidden] { padding: 0 4px; }

/* Weiterführender Link in einer Funktionskarte */
.card-more { margin-top: auto !important; padding-top: 4px; font-weight: 600; }
.card-more a { color: var(--teal); }
.card-more a:hover { color: var(--teal-dark); text-decoration: underline; }

/* ---------- FAQ ---------- */

.faq { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 26px; padding-right: 56px; position: relative;
  font-family: 'Bricolage Grotesque', 'Source Sans 3', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 26px; top: 27px;
  width: 10px; height: 10px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq summary:hover { color: var(--teal-dark); }
.faq summary:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.faq-body { padding: 0 26px 22px; }
.faq-body p { margin: 0; font-size: 16.5px; line-height: 1.65; color: #2c4b55; }
.faq-body a { text-decoration: underline; }

/* ---------- Textseite ---------- */

.prose { max-width: 720px; margin-top: 32px; }
.prose > :first-child { margin-top: 0; }
.prose p { font-size: 17px; line-height: 1.7; color: #2c4b55; margin: 0 0 20px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose p.lead { font-size: clamp(1.05rem, 1.8vw, 20px); line-height: 1.6; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; }
.prose .disclaimer { margin-top: 32px; }

.liste { margin: 0 0 20px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.liste li { font-size: 17px; line-height: 1.6; color: #2c4b55; }
.liste li::marker { color: var(--teal); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }

/* Warnstufen-Karten */
.signal .signal-head { display: flex; align-items: flex-start; gap: 16px; }
.signal .signal-head h3 { margin-top: 8px; }
.signal .badge { display: inline-block; }
/* Design-Orange #b45309 wäre als 12-px-Text zu schwach; #8f4405 auf #fbead4
   ergibt 6.3:1, #a01b1b auf #fbe0e0 ergibt 6.6:1. */
.badge-warn { background: #fbead4; color: #8f4405; }
.badge-danger { background: #fbe0e0; color: #a01b1b; }
.blink {
  width: 34px; height: 34px; border-radius: 50%; flex: none; margin-top: 2px;
  background: #f59e0b; box-shadow: 0 0 0 6px rgba(245, 158, 11, .16);
}
.blink-40 { animation: blinky 1.5s steps(1, end) infinite; }
.blink-90 { animation: blinky .66s steps(1, end) infinite; }
@keyframes blinky { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .22; } }

/* Knöpfe auf hellem Grund (der Hero-Stil setzt Weiss auf Dunkel voraus) */
.btn-row-dark { margin-top: 28px; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost {
  border: 1.5px solid var(--teal); color: var(--teal);
  justify-content: center; font-weight: 700; font-size: 17px; padding: 16px 26px;
}
.btn-ghost:hover { background: #e3eef0; color: var(--teal-dark); }

/* Querverweise zwischen den Themenseiten. Ohne diesen Block hinge jede Seite
   allein am Fussmenü — für Leser wie für Crawler zu wenig. */
.weiter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.weiter-4 { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
.weiter a {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border-radius: 18px; padding: 24px 26px;
  box-shadow: var(--shadow-card); color: var(--ink);
  border-top: 3px solid var(--teal); transition: transform .2s ease;
}
.weiter a:hover { transform: translateY(-3px); color: var(--ink); }
.weiter .w-ttl { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 18px; color: var(--teal); }
.weiter a:hover .w-ttl { color: var(--teal-dark); }
.weiter .w-sub { font-size: 15px; line-height: 1.5; color: var(--muted); }

@media (max-width: 1080px) {
  .weiter { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .grid-2 { grid-template-columns: 1fr; }
  .weiter a:hover { transform: none; }
  .faq summary { font-size: 16.5px; padding: 18px 22px; padding-right: 50px; }
  .faq summary::after { right: 22px; }
  .faq-body { padding: 0 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .blink-40, .blink-90 { animation: none; }
  .faq summary::after { transition: none; }
}

/* ---------- QR-Code für den Wechsel Desktop → Handy ---------- */
/*
   Wer die Seite am Rechner liest, kann die App dort nicht installieren. Der
   QR-Code überbrückt genau diesen Sprung. Auf dem Handy ist er sinnlos — man
   scannt nicht den eigenen Bildschirm — und wird deshalb ausgeblendet.
   Ziel ist immer /app; die Weiche dort entscheidet App Store oder Play Store.
*/

.qr-hint {
  display: none;                  /* Standard: aus. Erst ab Tablet/Desktop an. */
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.qr-hint .qr-box {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  line-height: 0;                 /* kein Zeilenabstand unter dem SVG */
  flex: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.qr-hint .qr-box img { display: block; width: 88px; height: 88px; }
.qr-hint .qr-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qr-hint .qr-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.qr-hint .qr-sub { font-size: 13.5px; line-height: 1.4; }

/* Auf dunklem Grund (Hero, CTA-Kasten, Themenseiten-CTA) */
.qr-hint .qr-title { color: #fff; }
.qr-hint .qr-sub { color: rgba(255, 255, 255, .78); }

/* Auf hellem Grund (Presseseite, Themenseiten-Fliesstext) */
.qr-hint.on-light .qr-title { color: var(--ink); }
.qr-hint.on-light .qr-sub { color: var(--muted); }
.qr-hint.on-light .qr-box { box-shadow: 0 4px 14px rgba(13, 59, 71, .12); border: 1px solid var(--line); }

@media (min-width: 781px) {
  .qr-hint { display: flex; }
}
