/* ============================================================
   Bodenova Bad — Landingpage
   Brand: warm, vertrauensvoll, medizinisch-seriös
   Display: Boska (Serif) · Body: Switzer (Sans)
   ============================================================ */

:root {
  --font-display: "Boska", Georgia, serif;
  --font-body: "Switzer", system-ui, -apple-system, sans-serif;

  /* Light — warmes Off-White, ruhiges Grün-Türkis als Vertrauensakzent */
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-2: #f1ede6;
  --text: #1c1a17;
  --muted: #5f5a52;
  --accent: #0e7c66;        /* gedämpftes Pflege-/Vertrauensgrün */
  --accent-deep: #0a5d4c;
  --accent-soft: #e3f0ec;
  --gold: #b08d4f;          /* dezenter Premium-Akzent */
  --line: #e4ded4;
  --shadow: 0 1px 3px rgba(28,26,23,.05), 0 12px 40px rgba(28,26,23,.07);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1140px;
}

:root.dark {
  --bg: #121512;
  --surface: #1a1e1a;
  --surface-2: #202622;
  --text: #eef0ec;
  --muted: #9aa49b;
  --accent: #2ea98c;
  --accent-deep: #1f8a72;
  --accent-soft: #16332b;
  --gold: #cda85f;
  --line: #2a302a;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 12px 40px rgba(0,0,0,.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Sprachumschalter ---------- */
.lang-switch{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:999px;padding:3px;background:var(--surface);}
.lang-switch a{font-size:12px;font-weight:600;letter-spacing:.03em;padding:5px 9px;border-radius:999px;color:var(--muted);line-height:1;text-transform:uppercase;transition:.15s;}
.lang-switch a:hover{color:var(--text);}
.lang-switch a.active{background:var(--accent);color:#fff;}
@media(max-width:980px){.lang-switch{display:none;}}
.lang-switch-mobile{display:none;}
@media(max-width:980px){.lang-switch-mobile{display:flex;justify-content:center;gap:4px;padding:14px 0 0;}
.lang-switch-mobile a{font-size:13px;font-weight:600;padding:7px 14px;border-radius:999px;border:1px solid var(--line);color:var(--muted);text-transform:uppercase;}
.lang-switch-mobile a.active{background:var(--accent);color:#fff;border-color:var(--accent);}}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 7px 14px; border-radius: 100px;
}
:root.dark .eyebrow { color: var(--accent); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
  padding: 15px 28px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(14,124,102,.28); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14,124,102,.36); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--text); text-decoration: none; margin-right: 26px; }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; white-space: nowrap; }
.brand-name .bn-line { white-space: nowrap; }
.brand-name small { font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; opacity: .58; margin-top: 2px; white-space: nowrap; }
.brand b { color: var(--accent-deep); font-weight: 600; }
:root.dark .brand b { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .96rem; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-deep); }
:root.dark .nav-tel { color: var(--accent); }
.theme-toggle { background: var(--surface-2); border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--text); transition: background .15s; }
.theme-toggle:hover { background: var(--line); }
.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); margin: 20px 0 18px; }
.hero h1 .hl { color: var(--accent-deep); }
:root.dark .hero h1 .hl { color: var(--accent); }
.hero p.lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--accent); flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.hero-badge .big { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--accent-deep); line-height: 1; }
:root.dark .hero-badge .big { color: var(--accent); }
.hero-badge .sub { font-size: .82rem; color: var(--muted); }

/* ---------- Trust bar ---------- */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.trust-item { display: flex; gap: 13px; align-items: flex-start; }
.trust-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.trust-item b { display: block; font-size: .98rem; font-weight: 600; }
.trust-item span { font-size: .86rem; color: var(--muted); }

/* ---------- Section headers ---------- */
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 16px 0 14px; }

/* ---------- Förder-Highlight / Rechner ---------- */
.foerder { background: linear-gradient(160deg, var(--accent-soft), var(--surface)); }
:root.dark .foerder { background: linear-gradient(160deg, var(--accent-soft), var(--surface)); }
.foerder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.calc h3 { font-size: 1.4rem; margin-bottom: 6px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.calc-row:last-of-type { border-bottom: none; }
.calc-row .lbl { font-size: .98rem; }
.calc-row .val { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.calc-row.total { background: var(--accent-soft); margin: 12px -20px 0; padding: 18px 20px; border-radius: var(--radius); }
.calc-row.total .lbl { font-weight: 600; }
.calc-row.total .val { color: var(--accent-deep); font-size: 1.8rem; }
:root.dark .calc-row.total .val { color: var(--accent); }
.calc select, .calc input[type="range"] { width: 100%; }
.calc-field { margin-bottom: 18px; }
.calc-field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.calc-field select {
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface-2); color: var(--text); font-family: var(--font-body); font-size: 1rem;
}
.calc-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.foerder-points li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 1.04rem; }
.foerder-points svg { color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.foerder-points b { font-weight: 600; }
ul { list-style: none; }

/* ---------- Leistungen cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 18px; }
:root.dark .card .ico { color: var(--accent); }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: .96rem; color: var(--muted); }

/* ---------- Ablauf / Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step .n {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--accent);
  line-height: 1; opacity: .85; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--muted); }

/* ---------- Split image section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 1.02rem; }
.split-list svg { color: var(--accent); flex-shrink: 0; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--text); }
.faq-q svg { flex-shrink: 0; color: var(--accent); transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; color: var(--muted); font-size: 1rem; }

/* ---------- CTA / Kontakt ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.contact-info .lead { margin-bottom: 28px; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.contact-channel { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.contact-channel .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; }
:root.dark .contact-channel .ico { color: var(--accent); }
.contact-channel .lbl { font-size: .82rem; color: var(--muted); }
.contact-channel .v { font-weight: 600; font-size: 1.06rem; }

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: 1rem;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.consent a { color: var(--accent-deep); text-decoration: underline; }
:root.dark .consent a { color: var(--accent); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success svg { color: var(--accent); margin: 0 auto 16px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand p { color: var(--muted); font-size: .94rem; margin-top: 14px; max-width: 36ch; }
.foot-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.foot-col a { display: block; color: var(--text); font-size: .96rem; margin-bottom: 11px; opacity: .85; }
.foot-col a:hover { opacity: 1; color: var(--accent-deep); }
:root.dark .foot-col a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: var(--muted); }
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--text); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .foerder-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav-tel span { display: none; }
}

@media (max-width: 700px) {
  .dsk-block { grid-template-columns: 1fr !important; text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .cards, .steps, .trust-grid, .foot-grid, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 70px; }
  .hero-badge { left: 0; bottom: -18px; padding: 13px 16px; }
  .nav-actions .btn { display: none; }
  body { padding-bottom: 72px; }
  .sticky-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--surface); border-top: 1px solid var(--line); padding: 10px 14px; gap: 10px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }
  .sticky-cta .btn { flex: 1; padding: 13px; font-size: .98rem; }
}

/* ============================================================
   Legal pages (Impressum / Datenschutz)
   ============================================================ */
.legal { max-width: 800px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; font-size: 1rem; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--accent-deep); text-decoration: underline; }
:root.dark .legal a { color: var(--accent); }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-weight: 600; color: var(--accent-deep); }
:root.dark .legal .back { color: var(--accent); }
