/* ==========================================================================
   Badewannenlift & Einstiegshilfe Info — Design System
   Barrierearm, vertrauensvoll, hoher Kontrast: Ruhiges Blau + verlässliches
   Grün auf hellem Untergrund. Große Schrift, große Klickflächen, keine
   externen Fonts, keine Frameworks, kein JS-Zwang — schnell und zugänglich
   für eine oft ältere oder sehschwächere Zielgruppe.
   ========================================================================== */

:root {
  /* Farb-Tokens */
  --blau:        #0369A1;
  --blau-dunkel: #0C4A6E;
  --blau-hell:   #38BDF8;
  --gruen:       #16A34A;
  --gruen-dunkel:#15803D;
  --gruen-hell:  #DCFCE7;
  --papier:      #FFFFFF;
  --creme:       #F0F9FF;
  --tinte:       #0C4A6E;
  --tinte-soft:  #3F5A6B;
  --flaeche:     #E7EFF5;
  --linie:       #D7E6F0;
  --warn-bg:     #FEF3E7;
  --warn-rand:   #C2650A;
  --geld-bg:     #EAFBF1;
  --geld-rand:   #15803D;
  --fehler:      #DC2626;

  /* Typografie: bewusst nur Systemschriften — kein externer Font-Request */
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Skala */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(3, 42, 71, 0.09);
  --shadow-md: 0 6px 20px rgba(3, 42, 71, 0.12);
  --shadow-lg: 0 16px 40px rgba(3, 42, 71, 0.16);
  --max-content: 1180px;
  --max-text: 42rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gruen-dunkel); }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--blau-dunkel); line-height: 1.25; margin: 0 0 var(--space-2); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.1rem); margin-top: var(--space-5); }
h3 { font-size: 1.3rem; margin-top: var(--space-3); }
p { margin: 0 0 var(--space-2); }
ul, ol { padding-left: 1.3em; margin: 0 0 var(--space-2); }
li { margin-bottom: 0.45em; }
table { border-collapse: collapse; width: 100%; }
strong { color: var(--blau-dunkel); }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blau-dunkel); color: #fff; padding: 0.8em 1.2em; z-index: 200; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--space-3); }
main { display: block; }
.abschnitt { padding: var(--space-5) 0; }
.abschnitt--eng { max-width: var(--max-text); margin: 0 auto; padding-left: var(--space-3); padding-right: var(--space-3); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gruen-dunkel);
  margin-bottom: 0.6em;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  background: var(--blau-dunkel);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 0.85rem; padding-bottom: 0.85rem; gap: var(--space-2); }
.logo { display: flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem; white-space: nowrap; line-height: 1.2; }
.logo:hover { color: #D7ECFB; }
.logo .ic { width: 32px; height: 32px; flex: none; }
.hauptnav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.hauptnav a { color: #DCEEFB; text-decoration: none; font-size: 0.97rem; font-weight: 600; padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; }
.hauptnav a:hover, .hauptnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--blau-hell); }
.nav-toggle { display: none; }
.nav-check { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
@media (max-width: 780px) {
  .hauptnav { display: none; width: 100%; flex-direction: column; gap: 0; padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.18); margin-top: 0.6rem; }
  .hauptnav a { padding: 0.75rem 0.1rem; border-bottom: 1px solid rgba(255,255,255,0.12); min-height: 44px; display: flex; align-items: center; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm); padding: 0.5rem 0.9rem; font-size: 0.92rem; font-family: var(--sans); font-weight: 700;
    min-height: 44px; cursor: pointer;
  }
  .nav-toggle .zu { display: none; }
  .nav-check:checked ~ .wrap .hauptnav { display: flex; }
  .nav-check:checked ~ .wrap .nav-toggle .auf { display: none; }
  .nav-check:checked ~ .wrap .nav-toggle .zu { display: inline; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--tinte-soft); padding: 0.9rem 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.3em; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 0.4em; color: var(--tinte-soft); }
.breadcrumb a { color: var(--tinte-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--blau); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--blau) 0%, var(--blau-dunkel) 100%); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-4); align-items: center; padding-top: var(--space-5); padding-bottom: var(--space-5); }
.hero h1 { color: #fff; }
.hero p.lead { color: #E3F2FC; font-size: 1.2rem; max-width: 34em; }
.hero .eyebrow { color: var(--blau-hell); }
.hero-bild { justify-self: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: var(--space-4); padding-bottom: var(--space-4); text-align: left; }
  .hero-bild { max-width: 280px; }
}

/* ---------- Buttons ---------- */
.btn-amazon, .btn-zweit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 800; font-size: 1.05rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  min-height: 48px; border: 2px solid transparent; transition: transform 150ms ease, box-shadow 150ms ease;
}
.btn-amazon {
  background: linear-gradient(180deg, var(--gruen) 0%, var(--gruen-dunkel) 100%);
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn-amazon:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-zweit { background: transparent; color: inherit; border-color: currentColor; opacity: 0.9; }
.btn-zweit:hover { opacity: 1; background: rgba(3,42,71,0.05); }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn-klein { font-size: 0.9rem; padding: 0.6rem 1.1rem; min-height: 40px; }

.afflink { font-size: 0.8rem; color: var(--tinte-soft); margin-top: 0.5rem; }
.afflink--hell { color: #C9DEEC; }

/* ---------- Empfehlungsbox (Antwort vor Inhalt) ---------- */
.empfehlung-box {
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: var(--space-3); box-shadow: var(--shadow-md); margin-top: calc(var(--space-4) * -1);
  position: relative; z-index: 5;
}
.empfehlung-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.empfehlung-item { text-align: left; }
.empfehlung-item .rolle { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gruen-dunkel); display: block; margin-bottom: 0.3em; }
.empfehlung-item strong { display: block; font-size: 1.18rem; color: var(--blau-dunkel); margin-bottom: 0.2em; }
.empfehlung-item p { font-size: 0.94rem; color: var(--tinte-soft); margin-bottom: 0.6em; }
@media (max-width: 780px) {
  .empfehlung-grid { grid-template-columns: 1fr; }
  .empfehlung-box { margin-top: var(--space-3); }
}

/* ---------- Belastbarkeits-Skala ---------- */
.belast-skala { margin: 0.9em 0; }
.belast-skala .balken {
  height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, #BAE6FD 0%, var(--blau-hell) 40%, var(--blau) 75%, var(--blau-dunkel) 100%);
  position: relative;
}
.belast-skala .marker {
  position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gruen-dunkel); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gruen-dunkel);
  transform: translate(-50%, -50%);
}
.belast-skala .werte { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--tinte-soft); margin-top: 0.35em; }
.belast-skala .label { font-size: 0.86rem; color: var(--tinte-soft); margin-bottom: 0.25em; display: flex; justify-content: space-between; }
.belast-skala .label strong { color: var(--blau-dunkel); }

/* ---------- Produktkarte ---------- */
.produkt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--space-3); margin: var(--space-3) 0; }
.produkt-karte {
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: var(--space-3); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
}
.produkt-karte.sieger { border: 2px solid var(--gruen); box-shadow: var(--shadow-md); }
.produkt-karte .badge {
  position: absolute; top: -14px; left: var(--space-3); background: var(--gruen);
  color: #fff; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.35em 0.85em; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.produkt-karte h3 { margin-top: 0; font-size: 1.15rem; }
.produkt-karte .tag { display: inline-block; font-size: 0.74rem; font-weight: 800; padding: 0.28em 0.75em; border-radius: 999px; margin-bottom: 0.6em; }
.tag--einsteiger { background: var(--flaeche); color: var(--tinte-soft); }
.tag--sieger { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.tag--premium { background: #DCEEFB; color: var(--blau-dunkel); }
.tag--maximal { background: #E1E7FA; color: #3730A3; }
.produkt-karte .kurz { color: var(--tinte-soft); font-size: 0.96rem; }
.plus-minus { list-style: none; padding: 0; margin: 0.8em 0; font-size: 0.92rem; }
.plus-minus li { display: flex; gap: 0.5em; margin-bottom: 0.35em; }
.plus-minus .ic { flex: none; font-weight: 800; }
.plus-minus .plus .ic { color: var(--gruen-dunkel); }
.plus-minus .minus .ic { color: var(--warn-rand); }
.produkt-karte .meta { font-size: 0.8rem; color: var(--tinte-soft); border-top: 1px dashed var(--linie); padding-top: 0.7em; margin: 0.6em 0; }
.produkt-karte .btn-amazon { margin-top: auto; width: 100%; }

/* ---------- Vergleichstabelle ---------- */
.tabelle-wrap { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--papier); box-shadow: var(--shadow-sm); }
.vergleich { min-width: 640px; font-size: 0.94rem; }
.vergleich th, .vergleich td { padding: 0.9em 1.05em; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.vergleich thead th { background: var(--flaeche); color: var(--blau-dunkel); font-weight: 800; white-space: nowrap; }
.vergleich tbody tr:last-child td { border-bottom: none; }
.vergleich tbody tr.sieger-zeile { background: var(--gruen-hell); }
.vergleich td:first-child, .vergleich th:first-child { font-weight: 700; color: var(--blau-dunkel); }

/* ---------- Info / Warn / Merk / Geld Boxen ---------- */
.info-box, .warn-box, .merk-box, .geld-box {
  border-radius: var(--radius-sm); padding: var(--space-3); margin: var(--space-3) 0;
  border-left: 5px solid; font-size: 0.98rem;
}
.info-box { background: var(--flaeche); border-color: var(--blau); }
.warn-box { background: var(--warn-bg); border-color: var(--warn-rand); }
.merk-box { background: var(--papier); border: 1px solid var(--linie); border-left: 5px solid var(--gruen); box-shadow: var(--shadow-sm); }
.geld-box { background: var(--geld-bg); border-color: var(--geld-rand); }
.info-box strong, .warn-box strong, .merk-box strong, .geld-box strong { color: inherit; font-weight: 800; }
.info-box .titel, .warn-box .titel, .merk-box .titel, .geld-box .titel { display: flex; align-items: center; gap: 0.5em; font-weight: 800; color: var(--blau-dunkel); margin-bottom: 0.4em; font-size: 1.08rem; }
.warn-box .titel { color: #92400E; }
.geld-box .titel { color: var(--gruen-dunkel); }
.merk-box .btn-amazon { margin-top: 0.8em; }

/* ---------- Kaufberatungs-Matrix ---------- */
.matrix { display: grid; gap: 0.8rem; margin: var(--space-3) 0; }
.matrix-item { display: grid; grid-template-columns: 1.4fr auto 1.2fr auto; gap: 0.8rem; align-items: center; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-sm); padding: 0.9em 1.1em; }
.matrix-item .arrow { color: var(--gruen); font-weight: 800; }
.matrix-item .du-willst { color: var(--tinte-soft); font-size: 0.94rem; }
.matrix-item .unsere-wahl { font-weight: 800; color: var(--blau-dunkel); }
.matrix-item a.mini { font-size: 0.84rem; white-space: nowrap; }
@media (max-width: 700px) {
  .matrix-item { grid-template-columns: 1fr; text-align: left; }
  .matrix-item .arrow { display: none; }
}

/* ---------- Themenkarten (Ratgeber-Hub) ---------- */
.themen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-3); }
.themen-karte {
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: var(--space-3); text-decoration: none; color: inherit; display: block;
  box-shadow: var(--shadow-sm); transition: transform 150ms ease, box-shadow 150ms ease;
}
.themen-karte:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.themen-karte .ic { width: 36px; height: 36px; color: var(--gruen); margin-bottom: 0.6em; }
.themen-karte h3 { margin-top: 0; margin-bottom: 0.35em; font-size: 1.08rem; color: var(--blau-dunkel); }
.themen-karte p { color: var(--tinte-soft); font-size: 0.92rem; margin: 0; }
.themen-kategorie { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gruen-dunkel); display: block; margin-bottom: 1em; margin-top: var(--space-4); }
.themen-kategorie:first-of-type { margin-top: 0; }

/* ---------- Banner ---------- */
.banner { border-radius: var(--radius); overflow: hidden; margin: var(--space-4) 0; background: var(--flaeche); }
.banner svg { width: 100%; display: block; }

/* ---------- TOC ---------- */
.toc { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: var(--space-3); margin: var(--space-3) 0; }
.toc .titel { font-weight: 800; color: var(--blau-dunkel); margin-bottom: 0.5em; font-size: 1.02rem; }
.toc ol { list-style: decimal; padding-left: 1.2em; margin: 0; columns: 1; font-size: 0.94rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 2rem; } }

/* ---------- FAQ (natives Accordion) ---------- */
.faq details { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-sm); margin-bottom: 0.7rem; padding: 0; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 1.05em 1.2em; font-weight: 700; color: var(--blau-dunkel);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1em; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gruen); flex: none; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--linie); }
.faq .antwort { padding: 1em 1.2em 1.2em; color: var(--tinte-soft); font-size: 0.98rem; }
.faq .antwort p:last-child { margin-bottom: 0; }

/* ---------- Autor-Box ---------- */
.autor-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--flaeche); border-radius: var(--radius); padding: var(--space-3); margin: var(--space-4) 0; }
.autor-box .avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--blau); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; }
.autor-box .name { font-weight: 800; color: var(--blau-dunkel); margin-bottom: 0.15em; }
.autor-box .rolle { font-size: 0.84rem; color: var(--tinte-soft); margin-bottom: 0.5em; }
.autor-box p { font-size: 0.92rem; color: var(--tinte-soft); margin-bottom: 0; }
.aktualisiert { font-size: 0.84rem; color: var(--tinte-soft); margin-bottom: var(--space-2); }

/* ---------- Checklisten ---------- */
.checkliste { list-style: none; padding: 0; margin: var(--space-2) 0; }
.checkliste li { display: flex; gap: 0.7em; padding: 0.55em 0; border-bottom: 1px solid var(--linie); }
.checkliste li:last-child { border-bottom: none; }
.checkliste .nr { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blau); color: #fff; font-size: 0.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blau-dunkel); color: #C9DEEC; margin-top: var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-4); padding: var(--space-5) 0 var(--space-3); }
.footer-grid h4 { color: #fff; font-size: 1.02rem; margin-bottom: 0.8em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5em; }
.footer-grid a { color: #C9DEEC; text-decoration: none; font-size: 0.94rem; }
.footer-grid a:hover { color: #fff; }
.footer-hinweis { font-size: 0.84rem; line-height: 1.6; color: #9DBAD0; max-width: 60ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: var(--space-3) 0; font-size: 0.82rem; color: #9DBAD0; display: flex; flex-wrap: wrap; gap: 0.8em 1.5em; justify-content: space-between; }
.footer-bottom a { color: #9DBAD0; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky CTA (nur Startseite, nur Mobile) ---------- */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--papier); border-top: 1px solid var(--linie); box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
  padding: 0.7rem var(--space-3); padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
}
.sticky-cta .btn-amazon { width: 100%; }
@media (max-width: 780px) { .sticky-cta.aktiv { display: block; } body.hat-sticky { padding-bottom: 82px; } }

/* ---------- Utility ---------- */
.zentriert { text-align: center; }
.max-text { max-width: var(--max-text); }
.mt-0 { margin-top: 0; }
