/* FamilyBuddy – Landingpage. Farben und Formen aus dem FamilyBuddy-Designsystem. */
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('fonts/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('fonts/nunito-latin-900-normal.woff2') format('woff2'); }

:root {
  --sand: #F7F2EA; --sand-2: #EFE7DA; --line: #E3D9CA; --line-2: #D9C9B4;
  --ink: #2B2622; --ink-2: #4A423A; --quiet: #6B6157;
  --sage: #3F6B57; --sage-dark: #2F5D47; --sage-soft: #DCE8DF; --sage-tint: #E7F0E9;
  --coral-soft: #FBE3DB; --coral-ink: #A2412C;
  --warn-bg: #FFF4E5; --warn-line: #EBB36A; --warn-ink: #8A4B0F;
  --lila-soft: #ECE5F5; --white: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--sage); }
a:hover { color: var(--sage-dark); }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247,242,234,.94); backdrop-filter: blur(6px); border-bottom: 1px solid #EAE1D3; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 900; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.nav a { min-height: 44px; padding: 0 12px; display: flex; align-items: center; font-weight: 700; color: var(--ink-2); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 16px; border: none; font-weight: 800; text-decoration: none; }
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--sage-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn-warn { background: var(--warn-ink); color: var(--white); }

/* Abschnitte */
section { padding: 72px 0; }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage-dark); color: var(--white); }
h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); font-weight: 900; line-height: 1.05; letter-spacing: -1px; }
h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -.5px; }
h3 { margin: 0; font-size: 21px; font-weight: 900; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 540px; margin: 0; }
.pill { align-self: flex-start; display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.pill-warn { background: var(--warn-bg); color: var(--warn-ink); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; color: #5C534A; }
.checks span { display: flex; align-items: center; gap: 6px; }

/* Hero-Telefon */
.phone-zone { display: flex; justify-content: center; position: relative; padding: 20px 0; }
.phone-zone::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--sage-soft); top: 40px; }
.phone { position: relative; width: 300px; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(60,45,30,.25); }
.screen { border-radius: 34px; background: var(--sand); padding: 22px 16px 26px; display: flex; flex-direction: column; gap: 12px; }
.mini { background: var(--white); border-radius: 16px; padding: 10px; display: flex; align-items: center; gap: 10px; }
.mini i { width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; }
.mini b { display: block; font-size: 13px; }
.mini small { font-size: 11px; color: var(--quiet); }

/* Karten */
.card { background: var(--sand); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--ink-2); }
.icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.feature { display: flex; gap: 14px; padding: 20px; border-radius: 22px; background: var(--sand); }
.feature .dot { flex-shrink: 0; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; }
.feature strong { display: block; font-size: 18px; font-weight: 900; }
.feature span { font-size: 15px; color: var(--ink-2); }

/* Demo */
.conflict { background: var(--warn-bg); border: 2px solid var(--warn-line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.conflict .label { font-weight: 800; color: var(--warn-ink); }
.conflict p { margin: 0; font-size: 18px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1 1 0; }
.done { background: var(--sage-soft); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.done p { margin: 0; font-size: 18px; }
.linkbtn { align-self: flex-start; min-height: 44px; padding: 0 4px; border: none; background: none; color: var(--sage-dark); font-weight: 800; text-decoration: underline; }

/* Warteliste */
.price-box { padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.10); }
.price-box p { margin: 6px 0 0; font-size: 17px; }
.form { width: 100%; max-width: 480px; margin: 0 auto; background: var(--white); color: var(--ink); border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; border: none; margin: 0; padding: 0; }
.field legend, .field label { font-weight: 800; padding: 0; margin-bottom: 8px; }
.field legend small { font-weight: 600; color: var(--quiet); }
.input { height: 54px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--white); color: var(--ink); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.even { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }
.chip { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 800; }
.chip[aria-pressed="true"] { border: 2px solid var(--sage); background: var(--sage-tint); color: var(--sage-dark); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--sage); flex-shrink: 0; }
.check small { font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; }
.alert { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 700; font-size: 14px; }
.thanks { text-align: left; }
.thanks .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-dark); display: flex; align-items: center; justify-content: center; }
.thanks p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--white); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.steps strong { font-size: 19px; font-weight: 900; }
.steps span { font-size: 15px; color: var(--ink-2); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: var(--sand); }
.faq summary { list-style: none; min-height: 60px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 800; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid var(--quiet); border-bottom: 2.5px solid var(--quiet); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

/* Fusszeile */
.foot { background: var(--ink); color: #D8CFC3; padding: 48px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 32px; }
.foot .wrap > * { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.foot strong { color: var(--white); }
.foot a { color: #D8CFC3; font-weight: 700; min-height: 36px; display: flex; align-items: center; }

/* Rechtstexte */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .note { padding: 14px 18px; border-radius: 16px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 700; }

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .form { padding: 22px; }
  .row { flex-direction: column; }
}
