/*
  Entwurf für Vita Care GmbH. Erstellt von Brandwatcher.
  Formen: Buttons voll abgerundet (Pill), Bilder und Flächen 20px, Eingabefelder 12px.
  Akzent: Vita-Care-Grün aus Logo und Anzeigen (#9BC34E). Text auf Grün immer dunkel.
  Produktion: Schrift selbst hosten, Icons lokal einbinden, Hosting in der EU (Coolify/Hetzner).
*/
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-700.woff2") format("woff2"); }
:root {
  --bg: #fbfcf8;
  --surface: #ffffff;
  --tint: #eef6e1;
  --tint-strong: #dcecc0;
  --ink: #1c2418;
  --muted: #465242;
  --line: #d3dcc8;
  --green: #9bc34e;
  --green-ink: #2e4a12;
  --focus: #1f5fbf;
  --danger: #a3261b;
  --r-surface: 20px;
  --r-input: 12px;
  --shadow: 0 18px 40px -24px rgba(46, 74, 18, .45);
  --max: 1200px;
}
@media (min-width: 99999px) /* Dunkelmodus deaktiviert: Seite bleibt immer hell */ {
  :root {
    --bg: #11170f;
    --surface: #182016;
    --tint: #1e2a1a;
    --tint-strong: #2a3a22;
    --ink: #eaf1e3;
    --muted: #c3cdbb;
    --line: #34432e;
    --green: #a8cf5c;
    --green-ink: #c3e48a;
    --focus: #8ab8ff;
    --danger: #ff9c90;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.1875rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 1.25rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 62ch; }
.muted { color: var(--muted); }
section { padding: 72px 0; }
@media (min-width: 1024px) { section { padding: 96px 0; } }

/* Entwurfsleiste und Platzhalter */
.draftbar {
  background: #fff4cf; color: #3d2f00; font-size: 1rem; padding: 8px 0;
  border-bottom: 1px solid #e8d48a;
}
.draftbar .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.draftbar button {
  font: inherit; font-size: .95rem; background: transparent; border: 2px solid #8a6d00; color: #3d2f00;
  border-radius: 999px; padding: 4px 14px; cursor: pointer; min-height: 40px;
}
.tbd { background: #fff1b8; color: #3d2f00; border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hide-ph .tbd { background: transparent; color: inherit; padding: 0; }
.hide-ph .draft-only { display: none; }
@media (min-width: 99999px) /* Dunkelmodus deaktiviert: Seite bleibt immer hell */ {
  .draftbar { background: #3a3110; color: #fff1c2; border-color: #5c4d18; }
  .draftbar button { color: #fff1c2; border-color: #d9bd55; }
  .tbd { background: #4a3f12; color: #fff1c2; }
}

/* Navigation */
header.nav {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--ink);
  display: grid; place-items: center; font-size: 22px; flex: none;
}
.brand-name { font-weight: 700; font-size: 1.3rem; letter-spacing: .06em; }
.brand-name span { font-weight: 400; }
.nav ul { list-style: none; display: none; gap: 24px; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-size: 1.05rem; padding: 8px 2px; }
.nav ul a:hover { text-decoration: underline; }
.nav nav { margin-left: auto; }
.nav .btn { margin-left: 8px; }
@media (min-width: 1024px) { .nav ul { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 56px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1.15rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn i { font-size: 1.4em; }
.btn-primary { background: var(--green); color: #172010; box-shadow: var(--shadow); }
.btn-primary:hover { background: color-mix(in srgb, var(--green) 85%, #ffffff); }
.btn-secondary { background: transparent; color: var(--green-ink); border-color: var(--green-ink); }
.btn-secondary:hover { background: var(--tint); }
.nav .btn { min-height: 48px; padding: 0 18px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 40px 0 56px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 88px; min-height: calc(100dvh - 72px - 41px); display: flex; align-items: center; }
  .hero .wrap { grid-template-columns: 1fr 1.08fr; gap: 56px; width: 100%; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-ink); font-size: 1.05rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--green-ink); }
.hero .lead { margin-top: 22px; font-size: clamp(1.25rem, 1.8vw, 1.45rem); max-width: 30ch; color: var(--muted); }
.hero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; inset: -8% -14% -10% 8%;
  background: radial-gradient(closest-side, var(--tint-strong), transparent 72%);
  border-radius: 50%;
}
.hero-visual figure { position: relative; z-index: 1; margin: 0; }
.hero-visual img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 38% 50%;
  border-radius: 28px 28px 28px 120px; box-shadow: var(--shadow);
}
.hero-visual figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: right; }
.hero-badge {
  position: absolute; z-index: 2; left: -18px; bottom: 54px; background: var(--surface); color: var(--ink);
  border-radius: var(--r-surface); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 290px;
}
.hero-badge i { font-size: 30px; color: var(--green-ink); }
.hero-badge strong { display: block; font-size: 1.05rem; }
.hero-badge span { font-size: .95rem; color: var(--muted); }
@media (max-width: 899px) { .hero-badge { position: static; margin-top: 14px; max-width: none; } }

/* Sorgen: Bento */
.worries { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.worries h2 { max-width: 20ch; }
.bento { margin-top: 40px; display: grid; gap: 18px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; }
  .bento .big { grid-row: span 2; }
}
.cell { border-radius: var(--r-surface); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cell .q { font-size: 1.45rem; font-weight: 700; line-height: 1.25; }
.cell .a { color: var(--muted); }
.cell.big { padding: 0; overflow: hidden; background: var(--ink); color: #f3f7ee; position: relative; min-height: 420px; justify-content: flex-end; }
.cell.big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.cell.big .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,23,15,0) 30%, rgba(17,23,15,.92) 82%); }
.cell.big .txt { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cell.big .a { color: #dfe8d6; }
.cell.green { background: var(--tint); }
.cell.line { border: 2px solid var(--line); background: var(--bg); }
.cell i.ico { font-size: 34px; color: var(--green-ink); }

/* Angebote */
.offers-grid { margin-top: 44px; display: grid; gap: 0; }
@media (min-width: 900px) { .offers-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.offer { border-top: 2px solid var(--line); padding: 28px 0 32px; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.offer > div { display: grid; gap: 6px; }
.offer .ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--tint);
  display: grid; place-items: center; font-size: 28px; color: var(--green-ink);
}
.offer p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.chips li { background: var(--tint); border-radius: 999px; padding: 4px 14px; font-size: 1rem; }
.offer.new .ico { background: var(--green); color: #172010; }

/* Ablauf */
.steps-sec { background: var(--tint); }
.steps { margin-top: 48px; display: grid; gap: 28px; list-style: none; padding: 0; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 3px; background: var(--green); opacity: .7; }
}
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.steps .dot {
  width: 72px; height: 72px; border-radius: 50%; background: var(--surface); border: 3px solid var(--green);
  display: grid; place-items: center; font-size: 32px; color: var(--green-ink); position: relative; z-index: 1;
}
.steps p { color: var(--muted); max-width: 34ch; }

/* Kosten: Wer zahlt was */
.payflow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.payrow {
  display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-surface); padding: 22px 24px; align-items: center;
}
@media (min-width: 900px) {
  .payrow { grid-template-columns: 1.15fr 40px .9fr 1.15fr; gap: 24px; padding: 24px 28px; }
}
.payrow .lbl { display: block; font-size: .95rem; color: var(--muted); margin-bottom: 2px; }
.payrow .need p { font-weight: 700; }
.payrow .arrow { font-size: 30px; color: var(--green-ink); justify-self: center; }
@media (max-width: 899px) { .payrow .arrow { transform: rotate(90deg); justify-self: start; } }
.payer { background: var(--tint); border-radius: 14px; padding: 14px 16px; }
.who-pays { font-size: 1.35rem; font-weight: 700; display: flex; gap: 10px; align-items: center; color: var(--green-ink); }
.who-pays i { font-size: 1.4em; }
.todo p { color: var(--muted); }
.paybar {
  margin-top: 22px; background: var(--green); color: #172010; border-radius: var(--r-surface);
  padding: 24px 28px; display: grid; gap: 16px; align-items: center;
}
.paybar > i { font-size: 44px; }
.paybar .muted { color: #24331a; }
.pb-title { font-size: 1.4rem; font-weight: 700; }
.paybar .btn-primary { background: #172010; color: #f4f9ec; box-shadow: none; }
.paybar .btn-primary:hover { background: #2a3a1e; }
@media (min-width: 900px) { .paybar { grid-template-columns: 52px 1fr auto; } }

/* Wer wir sind */
.team .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .team .wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.slot {
  aspect-ratio: 4 / 3; border-radius: var(--r-surface); border: 3px dashed var(--line); background: var(--tint);
  display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 1.05rem;
}
.slot i { font-size: 44px; display: block; margin: 0 auto 10px; color: var(--green-ink); }
.statement { font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.35; font-weight: 700; }
.who { margin-top: 14px; color: var(--muted); }
.facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.facts li { display: inline-flex; gap: 8px; align-items: center; border: 2px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 1.02rem; }
.facts i { color: var(--green-ink); font-size: 1.3em; }

/* Standorte */
.places { background: var(--surface); border-top: 1px solid var(--line); }
.places-grid { margin-top: 40px; display: grid; gap: 18px; }
@media (min-width: 720px) { .places-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .places-grid { grid-template-columns: repeat(4, 1fr); } }
.place { border-radius: var(--r-surface); padding: 24px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.place .kind { font-size: 1rem; font-weight: 700; color: var(--green-ink); display: flex; gap: 8px; align-items: center; }
.place .kind i { font-size: 1.4em; }
.place address { font-style: normal; color: var(--muted); }
.place a.route { margin-top: auto; padding-top: 8px; font-weight: 700; }
.place.soon { background: var(--tint); border-color: var(--tint-strong); }

/* FAQ */
.faq-list { margin-top: 36px; max-width: 860px; }
.faq-list details { border-top: 2px solid var(--line); }
.faq-list details:last-child { border-bottom: 2px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.25rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-size: 28px; color: var(--green-ink); transition: transform .2s ease; flex: none; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list .ans { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* Rückruf */
.callback { background: var(--tint); }
.callback .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .callback .wrap { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.phone-big { margin-top: 26px; display: inline-flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.phone-big span { font-size: 1rem; color: var(--muted); }
.phone-big strong { font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: .01em; }
form.cb { background: var(--surface); border-radius: var(--r-surface); padding: 28px; border: 1px solid var(--line); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; }
.field .help { font-size: 1rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 2px solid #8a9781; border-radius: var(--r-input);
  padding: 12px 14px; min-height: 56px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field .err { color: var(--danger); font-weight: 700; font-size: 1rem; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.times { display: flex; flex-wrap: wrap; gap: 10px; }
.times label { font-weight: 400; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 48px; }
.times input { width: 22px; height: 22px; min-height: 0; accent-color: var(--green-ink); }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 1rem; }
.consent input { width: 24px; height: 24px; margin-top: 3px; accent-color: var(--green-ink); }
.ok { display: none; background: var(--surface); border-radius: var(--r-surface); padding: 32px; border: 2px solid var(--green); }
.ok i { font-size: 44px; color: var(--green-ink); }
.ok h3 { margin: 10px 0 8px; }

/* Footer */
footer { padding: 48px 0 120px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { footer { padding-bottom: 48px; } }
footer .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
footer address { font-style: normal; color: var(--muted); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.claim { margin-top: 10px; color: var(--green-ink); font-weight: 700; }

/* Anrufleiste mobil */
.callbar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.callbar .btn { min-height: 54px; padding: 0 12px; font-size: 1.05rem; }
@media (min-width: 900px) { .callbar { display: none; } }

/* Bewegung: nur wenn erwünscht */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual figure { animation: rise .9s cubic-bezier(.16,1,.3,1) both .1s; }
  .hero-text > * { animation: fade .7s ease both; }
  .hero-text > *:nth-child(2) { animation-delay: .08s; }
  .hero-text > *:nth-child(3) { animation-delay: .16s; }
  .hero-text > *:nth-child(4) { animation-delay: .24s; }
  .hero-badge { animation: fade .6s ease both .6s; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Launch-Check: Skip-Link, Honeypot, Bilder */
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
picture { display: block; }
.cell.big picture { position: absolute; inset: 0; }
/* Launch-Check: kleine Bildschirme, Klickflächen, Mindestschriftgröße */
.wrap > * { min-width: 0; }
.brand { min-height: 44px; }
.place a.route { display: inline-flex; align-items: center; min-height: 44px; }
.draftbar button { min-height: 44px; font-size: 1rem; }
.payrow .lbl { font-size: 1rem; }
.hero-visual figcaption { font-size: 1rem; }
@media (max-width: 400px) {
  .nav .btn { display: none; } /* Anrufen bleibt über die feste Leiste unten erreichbar */
  .phone-big strong { font-size: 1.7rem; }
}

h2, h3, .q { hyphens: auto; -webkit-hyphens: auto; }
h1 { hyphens: manual; -webkit-hyphens: manual; }
