/* Autism Nova - Website (2026-10-28). Reines CSS, keine Skripte, keine externen
   Dateien: Schrift Nunito liegt lokal (SIL Open Font License, assets/fonts/OFL.txt).
   Ruhig wie die App: warmes Papier, tiefes Nachtblau, ein Akzent. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/Nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/Nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fbf5ea;
  --surface: #fffdf8;
  --ink: #232744;
  --ink-2: #4a5070;
  --line: #e7dcc7;
  --accent: #4651c4;
  --accent-ink: #ffffff;
  --accent-soft: #e9ebfb;
  --night: #1b1f3b;
  --night-2: #2a2f5a;
  --gold: #f0c987;
  --green: #2f7d5b;
  --green-soft: #e3f3ea;
  --warn-bg: #fff2c2;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(35, 39, 68, 0.12);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Kopf ---------- */
.site-head { background: var(--night); color: #eceefc; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.nav a { color: #d6daf5; text-decoration: none; font-weight: 700; padding: 8px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Held ---------- */
.hero {
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(150, 140, 230, 0.35), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #232852 100%);
  color: #f2f3ff;
  padding-block: 56px 72px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: 1.08; margin: 0 0 14px; font-weight: 900; letter-spacing: -0.01em; }
.hero .lead { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.45; color: #e1e4fb; margin: 0 0 14px; font-weight: 700; }
.hero p { color: #cfd3f2; margin: 0 0 22px; max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.95rem; color: #f0f1ff; }
.status {
  display: inline-block; background: var(--gold); color: #3b2a07; border-radius: 14px;
  padding: 12px 18px; font-weight: 800;
}
.hero-phone { justify-self: center; }

.phone {
  width: min(250px, 62vw);
  border: 8px solid #12152c;
  border-radius: 38px;
  background: #12152c;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone img { width: 100%; border-radius: 28px; }
.hero .phone { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

/* ---------- Abschnitte ---------- */
section { padding-block: 64px; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.2; margin: 0 0 12px; font-weight: 900; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 8px; font-weight: 800; }
.intro { color: var(--ink-2); max-width: 40em; margin: 0 0 30px; font-size: 1.12rem; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
section.alt .card { background: var(--bg); }
.card .tag { display: inline-block; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-2); }
.card ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.panel h3 { font-size: 1.35rem; }
.panel.kid { background: #fff7e3; border-color: #f0dba5; }
.panel.parent { background: var(--accent-soft); border-color: #cfd3f4; }
.panel ul { margin: 10px 0 0; padding-left: 1.2em; }
.panel li { margin-bottom: 8px; }
.panel li strong { font-weight: 800; }

.shots { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.shots figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; text-align: center; }
.shots figcaption { margin-top: 12px; font-weight: 700; color: var(--ink-2); font-size: 0.98rem; }
.shots .phone { width: 220px; }

.gallery { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.gallery figure { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--accent-soft); }
.gallery figcaption { padding: 14px 18px 16px; color: var(--ink-2); }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 800; margin-bottom: 2px; }

.values { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value { padding: 4px 4px 0; }
.value h3 { display: flex; align-items: center; gap: 10px; }
.value .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); flex: none; }
.value p { margin: 0; color: var(--ink-2); }

.evidence { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 22px; }
.evidence div { border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line); background: var(--surface); }
.evidence b { display: block; margin-bottom: 4px; }
.evidence .g { background: var(--green-soft); border-color: #bfe2cf; }
.evidence .y { background: #fff4d6; border-color: #f0dba5; }
.evidence .n { background: #eef0f6; border-color: #d6d9e6; }

.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.privacy-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 52px; position: relative; }
.privacy-list li::before { content: "✓"; position: absolute; left: 18px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 900; display: grid; place-items: center; font-size: 0.95rem; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 12px; }
details[open] { padding-bottom: 14px; }
summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style-position: outside; }
details p { margin: 0 0 8px; color: var(--ink-2); }

.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 800; padding: 14px 24px; border-radius: 14px; min-height: 48px;
}
.button:hover { background: #3943a8; }

/* ---------- Rechtsseiten ---------- */
.page { padding-block: 44px 72px; }
.page h1 { font-size: clamp(2rem, 4.5vw, 2.7rem); margin: 0 0 8px; font-weight: 900; line-height: 1.15; }
.page h2 { font-size: 1.45rem; margin: 36px 0 8px; }
.page h3 { margin-top: 22px; }
.page p, .page li { color: #2f3453; }
.page ul { padding-left: 1.3em; }
.prose { max-width: 46em; }
.todo { background: var(--warn-bg); border-radius: 6px; padding: 0 6px; font-weight: 800; color: #5c4300; }
.draft-banner { background: var(--warn-bg); border: 2px solid #e5c24a; border-radius: 14px; padding: 14px 18px; margin: 18px 0 8px; font-weight: 700; color: #5c4300; max-width: 46em; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 12px 56px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 900; display: grid; place-items: center; }

table.lic { border-collapse: collapse; width: 100%; font-size: 0.96rem; }
table.lic th, table.lic td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.lic th { color: var(--ink-2); }

/* ---------- Fuß ---------- */
.site-foot { background: var(--night); color: #cfd3f2; padding-block: 36px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; }
.site-foot a { color: #e5e8ff; }
.site-foot nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.site-foot small { display: block; color: #aeb3dc; max-width: 36em; }
/* Widerrufs-Knopf (§ 356a BGB): gleich wie die anderen Fußzeilen-Links, gut lesbar (Wunsch 2026-11-07) */
.site-foot a.foot-button { color: #e5e8ff; }

/* ---------- Widerruf ---------- */
[hidden] { display: none !important; }
.wform { display: grid; gap: 8px; max-width: 34em; margin: 22px 0 8px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.wform label { font-weight: 800; margin-top: 6px; }
.wform input[type="text"], .wform input[type="email"] {
  font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px; width: 100%;
}
.wform input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.wform .wform-lead { margin: 0 0 4px; color: var(--ink-2); }
.wform button.button { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.wdone { max-width: 34em; padding: 18px 22px; background: var(--green-soft); border: 1px solid #bfe2cf; border-radius: var(--radius); }
.wdone h2 { margin-top: 0; font-size: 1.3rem; }

@media (max-width: 820px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero { padding-block: 36px 52px; }
  section { padding-block: 48px; }
}

@media print {
  .site-head, .site-foot, .skip { display: none; }
  body { background: #fff; font-size: 11pt; }
  .draft-banner { border-color: #000; }
}
