/* PflegeLeicht – Landingpage
   Schriften selbst gehostet (fonts/), keine externen Ressourcen. */

@font-face { font-family: 'Bricolage Grotesque'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/BricolageGrotesque-500.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/BricolageGrotesque-700.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/BricolageGrotesque-800.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/AtkinsonHyperlegible-400.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/AtkinsonHyperlegible-700.woff2) format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --paper: #EEF4F5;
  --paper-2: #E2ECEE;
  --surface: #FFFFFF;
  --ink: #13242C;
  --ink-2: #44606B;
  --line: #CCDCE0;
  --petrol: #0E5A6B;
  --petrol-deep: #0A3E4A;
  --petrol-ink: #0E5A6B;      /* Petrol als Textfarbe */
  --mint: #43CDB2;
  --mint-ink: #0B7562;        /* Mint, textsicher auf Papier */
  --mint-soft: #D5F3EC;
  --coral: #E5484D;
  --coral-ink: #C3343A;
  --coral-soft: #FCE4E4;
  --amber: #F5A524;
  --amber-soft: #FDEFD3;
  --focus: #F5A524;
  --shadow: 0 1px 2px rgba(19, 36, 44, .06), 0 12px 32px -12px rgba(14, 90, 107, .28);

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --gutter: 16px;

  /* Pflegebob */
  --bob-body: #43CDB2; --bob-scrubs: #0E5A6B; --bob-line: #13242C; --bob-cap: #EAF6FF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C1A20;
    --paper-2: #10232A;
    --surface: #14282F;
    --ink: #E4EFF1;
    --ink-2: #A3BBC2;
    --line: #26424B;
    --petrol: #0E5A6B;
    --petrol-deep: #082F38;
    --petrol-ink: #6FCBDB;
    --mint-ink: #5ADBC0;
    --mint-soft: #123C38;
    --coral-ink: #FF7C80;
    --coral-soft: #3A1E22;
    --amber-soft: #3A2D12;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .7);
    --bob-scrubs: #2A9DB1;
    color-scheme: dark;
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--petrol-ink); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--petrol); color: #fff; font: 700 1rem/1 var(--display); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 var(--petrol-deep);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:hover { background: #0C6A7E; }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--petrol-deep); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; box-shadow: 0 2px 0 var(--petrol-deep); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.06rem; }
.btn-ghost { background: transparent; color: var(--petrol-ink); border-color: currentColor; box-shadow: none; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-mint { background: var(--mint); color: #082A31; box-shadow: 0 3px 0 #23977F; }
.btn-mint:hover { background: #5BD8BF; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (prefers-color-scheme: dark) {
  .btn { background: #1B7C90; box-shadow: 0 3px 0 #0A3E4A; }
  .btn:hover { background: #218DA3; }
  .btn-ghost, .btn-ghost:hover { background: transparent; box-shadow: none; }
  .btn-ghost:hover { background: var(--paper-2); }
  .btn-mint { background: var(--mint); box-shadow: 0 3px 0 #23977F; }
  .btn-ghost-light { background: transparent; box-shadow: none; }
}

/* ---------- Header ---------- */
.top { padding: 14px 0; }
.top-in { display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 800 1.3rem/1 var(--display); letter-spacing: -.015em; }
.brand-bob { width: 38px; height: 46px; }
.brand-bob .b-all { animation: none; }
.nav { display: none; gap: 26px; margin-left: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav a:hover { text-decoration: underline; }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.link-quiet { display: none; color: var(--ink); font-weight: 700; text-decoration: none; }
.link-quiet:hover { text-decoration: underline; }
@media (min-width: 560px) { .link-quiet { display: inline; } }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding: 18px 0 56px; }
.hero-in { display: grid; gap: 40px; }
.hero h1 {
  font-weight: 800; font-size: clamp(2.35rem, 1.3rem + 4.6vw, 4.4rem);
  line-height: 1.02; letter-spacing: -.028em; max-width: 13ch; hyphens: manual;
}
.lead { margin-top: 20px; font-size: 1.16rem; line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.hero-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.stage-caption { margin-top: 16px; font-size: .95rem; color: var(--ink-2); text-align: center; }

@media (min-width: 960px) {
  .hero { padding: 40px 0 96px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .lead { font-size: 1.25rem; }
}

/* ---------- Handy-Mockup ---------- */
.phone {
  position: relative; width: min(100%, 360px);
  padding: 12px; border-radius: 46px;
  background: #13242C;
  box-shadow: 0 0 0 1.5px #2E4651 inset, 0 30px 60px -24px rgba(10, 62, 74, .55), 0 8px 18px -8px rgba(10, 62, 74, .35);
}
.phone::before { /* Kamera-Insel */
  content: ''; position: absolute; top: 22px; left: 50%; width: 82px; height: 22px; margin-left: -41px;
  background: #13242C; border-radius: 999px; z-index: 2;
}
.phone-screen {
  position: relative; border-radius: 35px; overflow: hidden;
  background: var(--paper); padding: 50px 16px 18px; min-height: 590px;
  display: flex; flex-direction: column;
}
@media (prefers-color-scheme: dark) {
  .phone { background: #04090B; box-shadow: 0 0 0 1.5px #2A434D inset, 0 30px 60px -24px rgba(0, 0, 0, .8); }
  .phone::before { background: #04090B; }
}
.ph-bar { display: flex; align-items: center; justify-content: space-between; font: 800 1rem/1 var(--display); }
.ph-stat { display: inline-flex; align-items: center; gap: 5px; }
.ph-stat svg { width: 20px; height: 20px; }
.ph-lives { color: var(--coral-ink); } .ph-lives svg { fill: var(--coral); }
.ph-streak { color: #B86E00; } .ph-streak svg { fill: var(--amber); }
.ph-xp { color: var(--mint-ink); }
@media (prefers-color-scheme: dark) { .ph-streak { color: var(--amber); } }
.ph-progress { height: 10px; border-radius: 999px; background: var(--paper-2); margin: 14px 0 16px; overflow: hidden; }
.ph-progress span { display: block; height: 100%; background: var(--mint); border-radius: inherit; }
.ph-kicker { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.ph-q { margin: 8px 0 14px; font: 700 1.08rem/1.35 var(--display); color: var(--ink); }
.ph-answers { display: grid; gap: 8px; }
.ans {
  min-height: 46px; padding: 8px 14px; text-align: left;
  font: 700 1rem/1.2 var(--text); color: var(--ink);
  background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px;
  cursor: pointer; transition: border-color .12s ease, background-color .12s ease, transform .1s ease;
}
.ans:hover:not([disabled]) { border-color: var(--petrol-ink); }
.ans:active:not([disabled]) { transform: translateY(2px); border-bottom-width: 2px; }
.ans[disabled] { cursor: default; }
.ans.is-right { background: var(--mint-soft); border-color: var(--mint); color: var(--ink); }
.ans.is-wrong { background: var(--coral-soft); border-color: var(--coral); }
.ans.is-dim { opacity: .55; }
.ph-feedback { display: flex; align-items: flex-end; gap: 6px; margin-top: auto; padding-top: 14px; }
.ph-bob { width: 74px; height: 90px; flex: none; }
.ph-bubble {
  position: relative; flex: 1; margin-bottom: 18px;
  background: var(--surface); border: 2px solid var(--line); border-radius: 16px;
  padding: 10px 12px; font-size: .9rem; line-height: 1.4; font-weight: 700; color: var(--ink);
}
.ph-bubble::before {
  content: ''; position: absolute; left: -8px; bottom: 16px; width: 12px; height: 12px;
  background: var(--surface); border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg);
}
.ph-bubble.ok { border-color: var(--mint); } .ph-bubble.ok::before { border-color: var(--mint); }
.ph-bubble.no { border-color: var(--coral); } .ph-bubble.no::before { border-color: var(--coral); }
.ph-bubble b { display: block; font-family: var(--display); font-size: 1rem; margin-bottom: 2px; }
.ph-bubble.ok b { color: var(--mint-ink); }
.ph-bubble.no b { color: var(--coral-ink); }
.ph-bubble span { font-weight: 400; }
.ph-again {
  margin-top: 10px; align-self: stretch; min-height: 44px; border-radius: 14px; border: 0;
  background: var(--petrol); color: #fff; font: 700 1rem/1 var(--display); cursor: pointer;
}
.ph-again[hidden] { display: none; }

/* ---------- Abschnitts-Typo ---------- */
.section-h { font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); line-height: 1.06; letter-spacing: -.022em; max-width: 20ch; }
.section-lead { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; }

/* ---------- App-Funktionen ---------- */
.app { padding: 72px 0 80px; background: var(--surface); border-radius: 40px 40px 0 0; }
@media (prefers-color-scheme: dark) { .app { background: var(--paper-2); } }
.feat { display: grid; gap: 28px; margin-top: 64px; }
.feat h3 { font-weight: 800; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); line-height: 1.12; letter-spacing: -.015em; }
.feat-text > p { margin-top: 12px; max-width: 54ch; }
.feat-text > p + p { margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; max-width: 56ch; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%230B7562' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
@media (prefers-color-scheme: dark) {
  .ticks li::before { background-color: #1C4A44; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%235ADBC0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
@media (min-width: 900px) {
  .feat { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 96px; }
  .feat-flip .feat-text { order: 2; }
}

/* Abbildung beschriften */
.label-demo { margin: 0; position: relative; }
.label-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.label-frame img { width: 100%; height: auto; }
.label-img { position: relative; }
.slot { position: absolute; border-radius: 6px; background: #fff; border: 2px dashed #8FB4BE; }
.slot-done { background: rgba(67, 205, 178, .22); border: 2px solid #43CDB2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 12px;
  font-weight: 700; font-size: .95rem;
}
.chip-drag { border-color: var(--petrol-ink); transform: rotate(-3deg) translateY(-4px); box-shadow: var(--shadow); }
.label-demo figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }

/* Tagesplan */
.plan { display: flex; align-items: flex-end; gap: 4px; }
.plan-card { flex: 1; min-width: 0; background: var(--paper); border-radius: var(--r-lg); padding: 22px 20px 20px; border: 1px solid var(--line); max-width: 460px; }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.plan-days { font: 700 1.05rem/1.2 var(--display); }
.plan-days b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--petrol-ink); margin-right: 4px; }
.plan-streak { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .92rem; padding: 4px 10px; border-radius: 999px; background: var(--amber-soft); }
.plan-streak svg { width: 16px; height: 16px; fill: var(--amber); }
.plan-sub { margin-top: 16px; font-weight: 700; color: var(--ink-2); font-size: .92rem; }
.plan-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.plan-list li { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.plan-list .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); }
.plan-list .done { color: var(--ink-2); }
.plan-list .done .box { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3 3 7-7' fill='none' stroke='%2313242C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--mint); }
.plan-xp { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 16px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.bar { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.plan-card .bar { background: var(--line); }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
.plan-bob { display: none; flex: none; width: 112px; height: 136px; margin-bottom: -6px; }
@media (min-width: 560px) { .plan-bob { display: block; } }

/* Garderobe */
.wardrobe { background: var(--mint-soft); border-radius: var(--r-lg); padding: 28px 12px 18px; overflow: hidden; }
.wardrobe-row { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 2px; }
.wardrobe .bob { width: 100%; height: auto; aspect-ratio: 120 / 146; }
.wardrobe .w2 { transform: scale(1.14); transform-origin: 50% 100%; }
.wardrobe .b-shadow { opacity: .18; }

.runs { display: flex; align-items: center; gap: 12px; margin-top: 72px; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); font-weight: 700; }
.runs svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--petrol-ink); stroke-width: 2; stroke-linecap: round; }
@media (prefers-color-scheme: dark) { .runs { background: var(--surface); } }

/* ---------- Schulen ---------- */
.schools { background: var(--petrol-deep); color: #E3F1F3; padding: 80px 0; }
.schools .section-h { color: #fff; }
.schools .section-lead { color: #B9D6DC; }
.schools-in { display: grid; gap: 48px; }
.ticks-light li::before { background-color: rgba(67, 205, 178, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%2343CDB2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks-light strong { color: #fff; }
.trust { margin-top: 26px; }
.trust p { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-weight: 700; color: #fff; }
.trust svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.schools .btn:focus-visible { outline-color: var(--amber); }
@media (min-width: 960px) {
  .schools { padding: 112px 0; }
  .schools-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}

/* Dashboard-Muster (bleibt hell, wie das Schul-Dashboard) */
.dash { margin: 0; }
.dash-card { background: #F7FBFB; color: #13242C; border-radius: var(--r-lg); padding: 22px 20px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash-title { font: 800 1.35rem/1.15 var(--display); letter-spacing: -.01em; }
.dash-meta { margin-top: 4px; font-size: .92rem; color: #44606B; }
.code { font-family: var(--display); font-weight: 700; letter-spacing: .06em; background: #E2ECEE; padding: 1px 7px; border-radius: 6px; color: #0E5A6B; }
.dash-bob { flex: none; width: 66px; height: 80px; margin: -10px -4px -8px 0; }
.dash-bob { --bob-scrubs: #0E5A6B; }
.dash-sub { margin-top: 16px; font-weight: 700; font-size: .9rem; color: #44606B; }
.dash-bars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.dash-bars li { display: grid; grid-template-columns: 1fr 44px; grid-template-rows: auto auto; column-gap: 12px; row-gap: 5px; align-items: center; font-size: .95rem; }
.dash-bars li > span { grid-column: 1 / -1; font-weight: 700; }
.dash-bars .bar { background: #DCE7EA; height: 12px; }
.dash-bars .bar > span { background: #43CDB2; }
.dash-bars b { font-family: var(--display); text-align: right; font-size: .95rem; }
.dash-bars .weak .bar > span { background: #E5484D; }
.dash-bars .weak b { color: #C3343A; }
.dash-task { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #FDEFD3; font-size: .92rem; font-weight: 700; }
.task-tag { background: #F5A524; color: #13242C; border-radius: 999px; padding: 2px 10px; font-size: .82rem; }
.task-due { margin-left: auto; color: #7A4B00; }
.dash figcaption { margin-top: 12px; font-size: .9rem; color: #9FC3CA; }
@media (min-width: 520px) {
  .dash-bars li { grid-template-columns: minmax(0, 15em) 1fr 44px; grid-template-rows: auto; }
  .dash-bars li > span { grid-column: auto; }
  .dash-card { padding: 26px 26px; }
}

/* ---------- Pilot ---------- */
.pilot { padding: 80px 0; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 64px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--petrol); color: #fff; font: 800 1.25rem/1 var(--display);
}
.steps li:not(:last-child)::after { /* Verbindungslinie */
  content: ''; position: absolute; left: 21px; top: 46px; bottom: -26px; width: 2px; background: var(--line);
}
.steps h3 { font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.steps p { margin-top: 6px; color: var(--ink-2); max-width: 44ch; }
@media (min-width: 900px) {
  .pilot { padding: 104px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { padding-left: 0; padding-top: 64px; }
  .steps li::before { top: 0; }
  .steps li:not(:last-child)::after { left: 52px; right: -22px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; background: var(--surface); }
@media (prefers-color-scheme: dark) { .faq { background: var(--paper-2); } }
.faq-in { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.faq-list { border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font: 700 1.14rem/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: linear-gradient(currentColor, currentColor) center/14px 2.5px no-repeat, linear-gradient(currentColor, currentColor) center/2.5px 14px no-repeat;
  border-radius: 50%; color: var(--petrol-ink); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--petrol-ink); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Kontakt ---------- */
.contact { padding: 80px 0 96px; }
.contact-in { display: grid; gap: 36px; }
.contact-bob { width: 120px; height: 146px; margin-top: 28px; display: none; }
@media (min-width: 960px) {
  .contact-in { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .contact-bob { display: block; }
}
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; display: grid; gap: 16px; box-shadow: var(--shadow); }
@media (min-width: 560px) { .form { padding: 30px 28px; } }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; align-items: baseline; }
.req, .opt { font-weight: 400; font-size: .85rem; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.4 var(--text);
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--petrol-ink); box-shadow: 0 0 0 3px var(--focus); }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.field-err { color: var(--coral-ink); font-size: .92rem; font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .9rem; color: var(--ink-2); }
.form .btn { justify-self: start; }
.form-msg:empty { display: none; }
.form-msg { padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.form-msg.is-error { background: var(--coral-soft); color: var(--coral-ink); }
.form-msg.is-ok { background: var(--mint-soft); color: var(--mint-ink); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #C9DADF; padding: 40px 0 48px; }
@media (prefers-color-scheme: dark) { .foot { background: #071114; } }
.foot-in { display: grid; gap: 20px; }
.brand-foot { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a:not(.brand) { color: #fff; font-weight: 700; text-decoration: none; }
.foot a:not(.brand):hover { text-decoration: underline; }
.foot-note { font-size: .92rem; }
.foot :focus-visible { outline-color: var(--amber); }
@media (min-width: 900px) { .foot-in { grid-template-columns: auto auto 1fr; align-items: center; gap: 40px; } .foot-note { text-align: right; } }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 24px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); line-height: 1.05; letter-spacing: -.025em; margin: 20px 0 28px; }
.legal h2 { font-weight: 800; font-size: 1.4rem; line-height: 1.2; margin: 40px 0 10px; letter-spacing: -.01em; }
.legal h3 { font-weight: 700; font-size: 1.1rem; margin: 22px 0 6px; }
.legal p, .legal ul, .legal address { max-width: 66ch; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.2em; margin: 10px 0; }
.legal li + li { margin-top: 4px; }
.legal address { font-style: normal; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; line-height: 1.7; }
.missing { color: var(--coral-ink); font-weight: 700; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ---------- Pflegebob (aus der App übernommen) ---------- */
.bob { overflow: visible; }
.bob * { transform-box: view-box; }
.b-shadow { fill: var(--bob-line); opacity: .12; }
.b-body { fill: var(--bob-body); }
.b-scrubs { fill: var(--bob-scrubs); }
.b-neck { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; opacity: .85; }
.b-steth { fill: none; stroke: var(--bob-line); stroke-width: 2.6; stroke-linecap: round; }
.b-steth-head { fill: #C9D6DB; stroke: var(--bob-line); stroke-width: 2; }
.b-cap { fill: var(--bob-cap); stroke: #9CC7D6; stroke-width: 1.5; }
.b-heart { fill: #E5484D; }
.b-eye { fill: #fff; }
.b-pupil { fill: var(--bob-line); }
.b-glint { fill: #fff; }
.b-cheek { fill: #FF8FA3; opacity: .55; }
.b-line { fill: none; stroke: var(--bob-line); stroke-width: 3; stroke-linecap: round; }
.b-mouth { fill: var(--bob-line); }
.b-tongue { fill: #FF7A8A; }
.b-arm > path { fill: none; stroke: var(--bob-body); stroke-width: 9; stroke-linecap: round; }
.b-hand { transform-origin: 106px 106px; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.bob[data-mood="happy"] .b-hand { transform: rotate(125deg); }
.bob[data-mood="sad"] .b-hand { transform: rotate(-12deg); }
.b-arm-l { transform-origin: 24px 82px; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.b-arm-r { transform-origin: 96px 82px; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.b-all { transform-origin: 60px 124px; animation: bob-breathe 3.2s ease-in-out infinite; }
.e-happy, .e-sad, .mo-happy, .mo-sad { display: none; }
.e-idle { transform-origin: 60px 60px; animation: bob-blink 5s infinite; }
.bob[data-mood="happy"] .e-idle { display: none; }
.bob[data-mood="happy"] .e-happy { display: inline; }
.bob[data-mood="happy"] .mo-idle { display: none; }
.bob[data-mood="happy"] .mo-happy { display: inline; }
.bob[data-mood="sad"] .e-sad, .bob[data-mood="sad"] .mo-sad { display: inline; }
.bob[data-mood="sad"] .mo-idle { display: none; }
.bob[data-mood="sad"] .b-pupil { transform: translateY(2px); }
.bob[data-mood="happy"] .b-arm-l { transform: rotate(125deg); }
.bob[data-mood="happy"] .b-arm-r { transform: rotate(-125deg); }
.bob[data-mood="sad"] .b-arm-l { transform: rotate(-12deg); }
.bob[data-mood="sad"] .b-arm-r { transform: rotate(12deg); }
.bob.jump .b-all { animation: bob-jump .55s cubic-bezier(.3, .7, .4, 1) 2; }
.bob.droop .b-all { animation: bob-droop .5s ease-out forwards; }
/* Garderobe: nicht alle gleichzeitig atmen */
.w2 .b-all { animation-delay: -.6s; } .w3 .b-all { animation-delay: -1.3s; } .w4 .b-all { animation-delay: -2s; } .w5 .b-all { animation-delay: -2.6s; }
@keyframes bob-breathe { 50% { transform: scale(1.025, .975); } }
@keyframes bob-blink { 0%, 45%, 49%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.1); } }
@keyframes bob-jump { 0% { transform: translateY(0) scale(1.08, .9); } 40% { transform: translateY(-18px) scale(.95, 1.06); } 75% { transform: translateY(0) scale(1.06, .94); } 100% { transform: none; } }
@keyframes bob-droop { to { transform: translateY(4px) rotate(-4deg) scale(1.02, .97); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
