/* PflegeBob – Landingpage
   Schriften selbst gehostet (fonts/), keine externen Ressourcen. Animationen: GSAP (vendor/), Startzustände setzt site.js. */

@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: 'PL Text'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/PLText-400.woff2) format('woff2'); }
@font-face { font-family: 'PL Text'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/PLText-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);

  /* Bühne: Kopf + Hero in den Farben der Icon-Kachel */
  --stage-a: #116577;
  --stage-b: #0A4351;
  --on-stage: #FFFFFF;
  --on-stage-2: #CFE6EA;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'PL 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);
    --stage-a: #0D4855;
    --stage-b: #0A2A33;
    --bob-scrubs: #2A9DB1;
    color-scheme: dark;
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- 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.15 var(--display); letter-spacing: .005em;
  text-decoration: none; text-align: center; 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: 8px 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 #1E8A74; }
.btn-mint:hover { background: #5BD8BF; }
.btn-mint.btn-sm { box-shadow: 0 2px 0 #1E8A74; }
.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 #1E8A74; }
  .btn-mint:hover { background: #5BD8BF; }
  .btn-ghost-light { background: transparent; box-shadow: none; }
  .btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
}

:root { --night: #072A33; --night-2: #0C3945; --head-h: 64px; }
html { scroll-padding-top: 84px; }
.sprite { position: absolute; }
.ic { width: 24px; height: 24px; flex: none; }

/* ---------- Kopf (auf der Bühne) ----------
   Ruhig gehalten: Marke links, vier Ziele in der Mitte, rechts nur Schul-Login und ein Knopf. */
.top { position: relative; z-index: 40; background: var(--stage-a); color: var(--on-stage); padding: 10px 0 0; transition: box-shadow .25s ease; }
.js .top { position: sticky; top: 0; }
.top.is-stuck { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .6); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-stage); font: 800 1.3rem/1 var(--display); letter-spacing: -.022em; }
/* Bildmarke „Bob schaut rein“ (brand/logo/mark-light.svg, viewBox 96×84) */
.brand-mark { width: 46px; height: 40.25px; flex: none; display: block; }
.brand-txt { display: inline-flex; flex-direction: column; gap: 3px; }
.brand-txt small { font: 700 .66rem/1 var(--text); letter-spacing: .02em; color: var(--on-stage-2); }
.top .brand:not(.brand-foot) .brand-txt small { display: none; } /* Claim steht im Fuß – im Kopf nur die Marke */
.top .brand-mark { width: 41px; height: 36px; }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.link-quiet { display: none; color: rgba(255, 255, 255, .84); font: 500 1rem/1 var(--display); text-decoration: none; }
.link-quiet:hover { color: #fff; }
/* Ohne JavaScript: Navigation als wischbare Zeile unter der Marke */
.nav {
  order: 3; flex: 1 0 100%; display: flex; gap: 4px; margin: 0 calc(var(--gutter) * -1); padding: 0 calc(var(--gutter) - 10px);
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; color: rgba(255, 255, 255, .84); text-decoration: none; font: 500 1rem/1 var(--display); padding: 12px 10px; border-radius: 8px; transition: color .15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.top :focus-visible { outline-color: var(--amber); }
.nav-toggle { display: none; }
@media (max-width: 479px) {
  .brand { font-size: 1.2rem; gap: 8px; }
  .top-cta { gap: 8px; }
  .top-cta .btn-sm { padding: 0 14px; }
}
/* Mit JavaScript: Menüknopf + ausklappbare Liste */
@media (max-width: 899px) {
  .top.nav-js { padding-bottom: 10px; }
  .nav-js .top-cta { gap: 10px; }
  .nav-js .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 40px; padding: 0; border-radius: 12px;
    border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
  .is-open .nav-toggle span { background: transparent; }
  .is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 6px var(--gutter) 22px;
    flex-direction: column; gap: 0; white-space: normal; overflow: visible;
    background: var(--stage-a); border-top: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6);
  }
  .nav-js.is-open .nav { display: flex; }
  .nav-js .nav a { padding: 17px 4px; font: 700 1.25rem/1.2 var(--display); color: #fff; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-js .nav a.nav-extra { font-weight: 500; font-size: 1.05rem; color: rgba(255, 255, 255, .84); border-bottom: 0; padding-top: 20px; }
}
@media (min-width: 900px) {
  .top { padding: 13px 0; }
  .top-in { flex-wrap: nowrap; gap: 24px; }
  .link-quiet { display: inline; }
  .nav { order: 0; flex: 1; justify-content: center; gap: clamp(10px, 2.6vw, 34px); margin: 0; padding: 0; overflow: visible; }
  .nav a { padding: 10px 2px; }
  .nav a::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s ease; }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav .nav-extra { display: none; }
  .top-cta { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-stage); padding: 30px 0 150px;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(90% 70% at 85% 10%, rgba(67, 205, 178, .22), transparent 60%),
    linear-gradient(180deg, var(--stage-a), var(--stage-b));
}
/* EKG-Linie: eigener Streifen unter dem Inhalt; Höhe wächst mit der Breite (viewBox 1440×164), damit die Zacken nie angeschnitten werden */
.ekg { position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 116px; pointer-events: none; }
.ekg path { fill: none; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; }
.ekg-ghost { stroke: rgba(255, 255, 255, .09); stroke-width: 2; }
.ekg-line { stroke: var(--mint); stroke-width: 2.6; opacity: .85; }
.ekg-blip { stroke: #EFFFFB; stroke-width: 3.6; opacity: 0; }
.hero-in { position: relative; display: grid; gap: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-weight: 700; font-size: .92rem; line-height: 1.25; color: #E6F5F3;
}
.eyebrow::before { content: ''; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(67, 205, 178, .7); animation: pulse-dot 2.2s ease-out infinite; }
@keyframes pulse-dot { 70%, 100% { box-shadow: 0 0 0 9px rgba(67, 205, 178, 0); } }
.hero h1 {
  color: var(--on-stage); font-weight: 800; font-size: clamp(2.45rem, 1.2rem + 5.6vw, 4.9rem);
  line-height: .98; letter-spacing: -.032em; max-width: 12ch; hyphens: manual;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .w > span { display: inline-block; will-change: transform; }
.lead { margin-top: 22px; font-size: 1.16rem; line-height: 1.55; color: var(--on-stage-2); max-width: 40ch; }
.doors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .98rem; color: var(--on-stage-2); }
.hero-note a { color: var(--on-stage); font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 30rem; }
.facts div { display: flex; flex-direction: column-reverse; gap: 4px; }
.facts dt { font-size: .9rem; font-weight: 700; color: var(--on-stage-2); }
.facts dd { margin: 0; font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/1 var(--display); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.facts dd small { font: 700 .8rem/1 var(--text); letter-spacing: 0; color: var(--mint); }
.hero :focus-visible { outline-color: var(--amber); }
@media (min-width: 960px) {
  .hero { padding: 40px 0 calc(clamp(130px, 11.4vw, 290px) + 44px); }
  .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .hero h1 { font-size: clamp(3rem, 1rem + 4.2vw, 4.5rem); max-width: 14ch; }
  .lead { font-size: 1.22rem; margin-top: 18px; }
  .facts { margin-top: 24px; padding-top: 18px; }
  .ekg { bottom: 22px; height: clamp(130px, 11.4vw, 290px); }
}
/* Startzustände der Hero-Inszenierung: nur mit JavaScript und ohne „weniger Bewegung“ (Klasse setzt boot.js).
   Notanker: lädt site.js nicht, blendet die Animation nach 5 s alles ein. */
.motion [data-hero], .motion [data-hero-h], .motion [data-hero-phone], .motion [data-hero-dock] { opacity: 0; animation: hero-failsafe .01s 5s forwards; }
@keyframes hero-failsafe { to { opacity: 1; } }

/* ---------- Probefragen: Handy + Bob mit Sprechblase ----------
   Alle Fragen und alle Rückmeldungen liegen im selben Rasterfeld übereinander.
   Die Höhe richtet sich nach dem längsten Inhalt – beim Antworten verschiebt sich nichts. */
.stage { position: relative; width: min(100%, 372px); margin: 0 auto; }
.phone {
  position: relative; padding: 11px; border-radius: 44px;
  background: #13242C;
  box-shadow: 0 0 0 1.5px #2E4651 inset, 0 34px 60px -26px rgba(0, 0, 0, .65);
}
.phone::before { /* Kamera-Insel */
  content: ''; position: absolute; top: 21px; left: 50%; width: 78px; height: 21px; margin-left: -39px;
  background: #13242C; border-radius: 999px; z-index: 2;
}
.phone-screen { border-radius: 34px; overflow: hidden; background: var(--paper); color: var(--ink); padding: 48px 15px 52px; }
@media (prefers-color-scheme: dark) {
  .phone { background: #04090B; box-shadow: 0 0 0 1.5px #2A434D inset, 0 34px 60px -26px rgba(0, 0, 0, .85); }
  .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: #8A5200; } .ph-streak svg { fill: var(--amber); }
.ph-xp { color: var(--mint-ink); }
@media (prefers-color-scheme: dark) { .ph-streak { color: var(--amber); } }
.ph-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 14px; }
.ph-steps span { height: 9px; border-radius: 999px; background: var(--paper-2); transition: background-color .2s ease; }
.ph-steps .is-now { background: var(--line); box-shadow: inset 0 0 0 2px var(--mint); }
.ph-steps .is-right { background: var(--mint); }
.ph-steps .is-wrong { background: var(--coral); }

.q-stack { display: grid; }
.q-panel { grid-area: 1 / 1; visibility: hidden; display: flex; flex-direction: column; }
.q-panel.is-on { visibility: visible; }
.ph-kicker { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.ph-q { margin: 8px 0 14px; font: 700 1.08rem/1.32 var(--display); color: var(--ink); }
.ph-answers { display: grid; gap: 8px; margin-top: auto; }
.ans {
  min-height: 48px; 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, opacity .12s ease;
}
.ans:hover:not([aria-disabled="true"]) { border-color: var(--petrol-ink); }
.ans[aria-disabled="true"] { cursor: default; }
.ans.is-right { background: var(--mint-soft); border-color: var(--mint); }
.ans.is-wrong { background: var(--coral-soft); border-color: var(--coral); }
.ans.is-dim { opacity: .72; }
.ph-next {
  margin-top: 12px; width: 100%; min-height: 46px; border-radius: 14px; border: 0;
  background: var(--petrol); color: #fff; font: 700 1rem/1 var(--display); cursor: pointer;
  visibility: hidden;
}
.ph-next.is-on { visibility: visible; }
@media (prefers-color-scheme: dark) { .ph-next { background: #1B7C90; } }

.dock { position: relative; z-index: 3; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: end; gap: 12px; margin: -46px -4px 0 -10px; }
.ph-bob { width: 104px; height: 127px; margin-bottom: -6px; }
.ph-bob .b-shadow { opacity: .3; }
.bubble {
  position: relative; display: grid; align-items: center;
  background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-radius: 18px;
  padding: 12px 14px; font-size: .94rem; line-height: 1.4;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55);
}
.bubble::before {
  content: ''; position: absolute; left: -8px; bottom: 34px; width: 13px; height: 13px;
  background: var(--surface); border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg);
}
.bubble.ok, .bubble.ok::before { border-color: var(--mint); }
.bubble.no, .bubble.no::before { border-color: var(--coral); }
.msg { grid-area: 1 / 1; visibility: hidden; }
.msg.is-on { visibility: visible; }
.msg b { display: block; font-family: var(--display); font-size: 1rem; line-height: 1.25; margin-bottom: 3px; }
.msg-ok b { color: var(--mint-ink); }
.msg-no b { color: var(--coral-ink); }

/* ---------- Abschnitte ---------- */
.band { padding: 76px 0; }
.sec-head { max-width: 46rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 .95rem/1.2 var(--display); letter-spacing: .01em; color: var(--mint-ink); }
.kicker::before { /* EKG-Zacke als Markenzeichen */
  content: ''; width: 34px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 16'%3E%3Cpath d='M1 9h9l2-3 3 9 4-14 3 10 2-2h9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 16'%3E%3Cpath d='M1 9h9l2-3 3 9 4-14 3 10 2-2h9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section-h { font-weight: 800; font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.04; letter-spacing: -.025em; max-width: 20ch; hyphens: manual; }
.section-lead { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.section-lead + .section-lead { margin-top: 10px; }
@media (min-width: 900px) { .band { padding: 112px 0; } }

/* ---------- So lernst du ---------- */
.learn { background: var(--paper); border-radius: 36px 36px 0 0; margin-top: -36px; position: relative; }
.scrolly { margin-top: 36px; }
.scrolly-phone { display: none; }
/* Handy und ohne JavaScript: Karten zum Wischen */
.scrolly-steps { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scrolly-steps::-webkit-scrollbar { display: none; }
.step { flex: 0 0 min(84%, 330px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 18px; padding: 14px 14px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-shot { margin: 0; aspect-ratio: 600 / 700; border-radius: 16px; overflow: hidden; background: #EEF4F5; border: 1px solid var(--line); }
.step-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.step-text { padding: 0 6px; }
.step-no { display: flex; align-items: center; gap: 10px; font: 700 .95rem/1 var(--display); color: var(--mint-ink); }
.step-no span { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--mint-soft); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 12px; font-weight: 800; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.35rem); line-height: 1.08; letter-spacing: -.02em; }
.step-text > p:not(.step-no) { margin-top: 10px; color: var(--ink-2); }
.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .86rem; color: var(--ink-2); background: var(--surface); }
.device { width: min(100%, 320px, calc((100vh - 150px) / 2)); margin-inline: auto; padding: 10px; border-radius: 44px; background: #13242C; box-shadow: 0 0 0 1.5px #2E4651 inset, 0 44px 70px -34px rgba(14, 90, 107, .55); }
.device-screen { position: relative; aspect-ratio: 1 / 2; border-radius: 34px; overflow: hidden; background: #EEF4F5; }
.device-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.device-screen img.is-on { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) { .device { background: #04090B; box-shadow: 0 0 0 1.5px #2A434D inset, 0 44px 70px -34px rgba(0, 0, 0, .9); } }
@media (min-width: 900px) {
  .scrolly { margin-top: 56px; }
  .scrolly-steps { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step { flex: none; }
  /* Mit JavaScript: Handy bleibt stehen, die Schritte laufen daran vorbei */
  .js .scrolly { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; margin-top: 0; }
  .js .scrolly-phone { display: block; position: sticky; top: max(92px, calc(50vh - 320px)); padding: 56px 0 24px; }
  .js .scrolly-steps { display: block; padding: 4vh 0 10vh; }
  .js .step { min-height: 66vh; justify-content: center; max-width: 31rem; padding: 0; background: none; border: 0; border-radius: 0; }
  .js .step-shot { display: none; }
  .js .step-text { padding: 0; }
  .js .step-text > p:not(.step-no) { font-size: 1.14rem; }
  .scrolly.is-live .step { opacity: .28; transition: opacity .4s ease; }
  .scrolly.is-live .step.is-on { opacity: 1; }
}

/* ---------- Sammeln (Nachtdienst-Bühne) ---------- */
.collect {
  position: relative; overflow: hidden; padding-bottom: 0; color: #E3F1F3;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(67, 205, 178, .16), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(245, 165, 36, .1), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night));
}
.collect .section-h, .collect h3 { color: #fff; }
.collect .section-lead { color: #B9D6DC; }
.collect .kicker { color: var(--mint); }
.collect :focus-visible { outline-color: var(--amber); }
.collect-in { display: grid; gap: 28px; }
.rewards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; max-width: 34rem; }
.rewards li { display: flex; gap: 14px; }
.rewards .ic { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: rgba(67, 205, 178, .14); color: var(--mint); }
.rewards h3 { font-weight: 800; font-size: 1.16rem; line-height: 1.2; }
.rewards p { margin-top: 3px; color: #B9D6DC; }
.rar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.rar span { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .82rem; color: #fff; border: 1.5px solid currentColor; }
.rar .r-g { color: #B4C2C9; } .rar .r-s { color: #7DB8F5; } .rar .r-e { color: #C7A2F7; } .rar .r-l { color: #F7C35A; }
.collect-stage { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(67, 205, 178, .34), rgba(67, 205, 178, 0) 68%); }
.collect-bob { position: absolute; left: 28%; top: 21%; width: 44%; height: auto; aspect-ratio: 120 / 146; }
.collect-bob .b-shadow { opacity: .35; }
.organ { position: absolute; left: var(--x); top: var(--y); width: 19%; height: auto; aspect-ratio: 1; rotate: var(--r, 0deg); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); will-change: transform; }
.o1 { --x: 5%; --y: 8%; --r: -10deg; } .o2 { --x: 70%; --y: 2%; --r: 8deg; } .o3 { --x: -1%; --y: 44%; --r: 6deg; }
.o4 { --x: 83%; --y: 52%; --r: -8deg; } .o5 { --x: 7%; --y: 71%; --r: 12deg; width: 17%; } .o6 { --x: 74%; --y: 73%; --r: -6deg; }
.medal {
  position: absolute; left: 50%; bottom: -2%; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px 8px 10px; border-radius: 999px; background: linear-gradient(#F9D169, #EFB12C); color: #3A2600; font: 800 .98rem/1 var(--display);
  box-shadow: 0 4px 0 #B67E0C, 0 18px 30px -12px rgba(0, 0, 0, .6);
}
.medal .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #E5484D; color: #fff; }
.spark { position: absolute; left: 50%; top: 46%; width: 10px; height: 10px; margin: -5px; border-radius: 3px; opacity: 0; background: var(--mint); }
.spark.k2, .spark.k6 { background: var(--amber); } .spark.k3, .spark.k7 { background: #FF8FA3; } .spark.k4, .spark.k8 { background: #7DB8F5; border-radius: 50%; }
@media (min-width: 960px) { .collect-in { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }

.wardrobe { margin-top: 64px; padding-bottom: 76px; }
.wardrobe-text h3 { font-weight: 800; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); line-height: 1.1; letter-spacing: -.018em; }
.wardrobe-text p { margin-top: 10px; color: #B9D6DC; max-width: 60ch; }
.skins { list-style: none; margin: 26px 0 0; padding: 6px var(--gutter) 14px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.skins::-webkit-scrollbar { display: none; }
.skins.is-scrub { overflow: visible; width: max-content; will-change: transform; }
.skins li { flex: 0 0 128px; padding: 14px 8px 12px; text-align: center; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.skins img { width: 100%; height: auto; }
.skins span { display: block; margin-top: 4px; font-weight: 700; font-size: .88rem; color: #CFE6EA; }
@media (min-width: 900px) { .wardrobe { margin-top: 96px; padding-bottom: 112px; } .skins { gap: 16px; } .skins li { flex-basis: 156px; } }

/* ---------- Gemeinsam ---------- */
.together-in { display: grid; gap: 28px; margin-top: 40px; }
.podium-card { margin: 0; padding: 26px 16px 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--paper-2)); box-shadow: var(--shadow); }
.podium { list-style: none; margin: 0 auto; padding: 0; max-width: 420px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.podium li { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.podium img { width: 84%; height: auto; }
.podium .p1 img { width: 104%; max-width: none; }
.podium b { font: 800 1.08rem/1.2 var(--display); }
.p-xp { font-size: .9rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.p-xp i { font-style: normal; }
.p-block { margin-top: 8px; width: 100%; display: grid; place-items: center; border-radius: 14px 14px 4px 4px; font: 800 2rem/1 var(--display); color: #13242C; transform-origin: 50% 100%; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .08), inset 0 2px 0 rgba(255, 255, 255, .5); }
.p1 .p-block { height: 132px; background: linear-gradient(#F9D169, #EFB12C); }
.p2 .p-block { height: 94px; background: linear-gradient(#DCE5E9, #BAC8CF); }
.p3 .p-block { height: 66px; background: linear-gradient(#EBB58D, #D08B58); }
.podium-card figcaption { margin-top: 12px; text-align: center; font-size: .86rem; color: var(--ink-2); }
.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.modes li { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.modes .ic { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--mint-soft); color: var(--mint-ink); }
.modes h3 { font-weight: 800; font-size: 1.12rem; line-height: 1.2; }
.modes p { margin-top: 4px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) { .modes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .together-in { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; margin-top: 56px; } .podium-card { padding: 40px 28px 18px; } }

/* ---------- Preise / Zugang ---------- */
.pricing { background: var(--paper-2); }
.plans { display: grid; gap: 22px; margin-top: 44px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-weight: 800; font-size: 1.4rem; line-height: 1.15; letter-spacing: -.012em; }
.price { font-weight: 700; color: var(--ink-2); }
.price b { margin-right: 6px; font: 800 2.5rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.price-alt { margin-top: -6px; font-size: .98rem; }
.plan .ticks { margin-top: 6px; gap: 9px; }
.plan-acts { margin-top: auto; padding-top: 12px; display: grid; gap: 10px; }
.plan-acts .btn { width: 100%; }
.plan-link { text-align: center; font-weight: 700; padding: 6px; }
.copy-msg { font-size: .92rem; font-weight: 700; color: var(--mint-ink); }
.copy-msg:empty { display: none; }
.plan-plus { color: #DDEFF1; border-color: transparent; background: radial-gradient(90% 60% at 100% 0%, rgba(67, 205, 178, .28), transparent 60%), linear-gradient(165deg, #116577, #0A3E4A); box-shadow: 0 30px 50px -28px rgba(14, 90, 107, .7); }
.plan-plus h3, .plan-plus .price b, .plan-plus .price-alt b { color: #fff; }
.plan-plus .price, .plan-plus .price-alt { color: #CFE6EA; }
.plan-plus .ticks 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"); }
.plan-plus :focus-visible { outline-color: var(--amber); }
.plan-schools { margin-top: 26px; display: grid; gap: 18px; align-items: center; padding: 24px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--petrol); }
.plan-schools h3 { margin: 4px 0 8px; font: 800 clamp(1.25rem, 1.05rem + .8vw, 1.6rem)/1.15 var(--display); color: var(--petrol-ink, var(--ink)); }
.plan-schools p { margin: 0; max-width: 62ch; }
.ps-kicker { font: 800 .82rem/1 var(--display); color: var(--mint-ink); letter-spacing: .01em; }
.ps-acts { display: grid; gap: 8px; }
.ps-link { text-align: center; font-weight: 700; padding: 6px; }
@media (min-width: 860px) { .plan-schools { grid-template-columns: 1fr auto; gap: 32px; padding: 28px 32px; } .ps-acts { min-width: 230px; } }
.plan-flag { position: absolute; top: -15px; left: 20px; padding: 7px 13px; border-radius: 999px; background: var(--amber); color: #3A2600; font: 800 .86rem/1 var(--display); box-shadow: 0 3px 0 #B67E0C; }
.plan-fine { font-size: .85rem; line-height: 1.45; color: #B9D6DC; }
.plan-fine a { color: #fff; }
.platforms { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-md); border: 2px dashed var(--line); color: var(--ink-2); }
.platforms p { max-width: 76ch; }
.platforms strong { color: var(--ink); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; } .plan { padding: 32px 28px 28px; } }

.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"); }
}

/* ---------- Schulen ---------- */
.schools { background: var(--surface); }
@media (prefers-color-scheme: dark) { .schools { background: var(--paper); } }
.browser { margin: 44px 0 0; perspective: 1400px; }
.browser-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #EEF4F5; transform-origin: 50% 100%; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar b { margin-left: 10px; font: 700 .8rem/1 var(--text); color: var(--ink-2); }
.browser img { width: 100%; height: auto; }
.browser figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
.caps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 30px 48px; }
.caps .ic { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 12px; }
.caps h3 { font-weight: 800; font-size: 1.22rem; line-height: 1.2; }
.caps p { margin-top: 6px; color: var(--ink-2); max-width: 44ch; }
@media (min-width: 680px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.trust { margin-top: 56px; padding: 26px 20px; border-radius: var(--r-lg); background: var(--petrol-deep); color: #E3F1F3; display: grid; gap: 22px; }
.trust h3 { color: #fff; font-weight: 800; font-size: 1.25rem; }
.trust ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.trust li { position: relative; padding-left: 30px; }
.trust li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(67, 205, 178, .2) 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") center/100% no-repeat;
}
.trust-acts { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.trust :focus-visible { outline-color: var(--amber); }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr auto; gap: 48px; padding: 36px 44px; align-items: center; } .trust ul { grid-template-columns: 1fr 1fr; gap: 8px 32px; } }

/* Pilot */
.pilot { margin-top: 72px; }
.pilot-h { font-weight: 800; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); line-height: 1.1; letter-spacing: -.018em; }
.steps { list-style: none; padding: 0; margin: 32px 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 { content: ''; position: absolute; left: 21px; top: 46px; bottom: -26px; width: 2px; background: var(--line); }
.steps h4 { margin: 0; font: 800 1.3rem/1.2 var(--display); color: var(--ink); }
.steps p { margin-top: 6px; color: var(--ink-2); max-width: 44ch; }
@media (min-width: 900px) {
  .pilot { margin-top: 104px; }
  .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-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;
}
.faq summary h3 { font: 700 1.14rem/1.3 var(--display); display: inline; color: inherit; }
.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; }
.faq details p + p { margin-top: -10px; }

/* ---------- Kontakt ---------- */
.contact { background: var(--petrol-deep); color: #E3F1F3; }
.contact .section-h { color: #fff; }
.contact .section-lead { color: #B9D6DC; }
.contact-in { display: grid; gap: 36px; }
.contact-bob { width: 120px; height: 146px; margin-top: 28px; display: none; }
.contact :focus-visible { outline-color: var(--amber); }
@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); color: var(--ink); border-radius: var(--r-lg); padding: 22px 18px; display: grid; gap: 16px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); }
@media (min-width: 560px) { .form { padding: 30px 28px; } }
.role { border: 0; margin: 0; padding: 0; min-width: 0; }
.role legend { padding: 0; font-weight: 700; margin-bottom: 6px; }
.role-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--paper); border: 2px solid var(--line); }
.role-opts label { position: relative; display: grid; place-items: center; min-height: 44px; padding: 6px 8px; border-radius: 11px; font: 700 1rem/1.15 var(--display); text-align: center; cursor: pointer; color: var(--ink-2); }
.role-opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.role-opts label:has(input:checked) { background: var(--petrol); color: #fff; }
.role-opts label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-color-scheme: dark) { .role-opts label:has(input:checked) { background: #1B7C90; } }
.role-hint { display: grid; margin-top: 10px; color: var(--ink-2); font-size: .98rem; }
.role-hint span { grid-area: 1 / 1; visibility: hidden; }
.form[data-role="schule"] .role-hint [data-for="schule"], .form[data-role="azubi"] .role-hint [data-for="azubi"] { visibility: visible; }
.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 ::placeholder { color: var(--ink-2); opacity: 1; }
.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); }

/* ---------- Fuß ---------- */
.foot { background: var(--ink); color: #C9DADF; padding: 48px 0 44px; }
@media (prefers-color-scheme: dark) { .foot { background: #071114; } }
.foot-in { display: grid; gap: 32px; }
.brand-foot { color: #fff; align-self: start; }
.brand-foot .brand-txt small { color: rgba(255, 255, 255, .75); }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.foot-nav h2 { font: 700 .95rem/1.2 var(--text); color: #9FBBC3; margin-bottom: 8px; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-nav a { display: inline-block; padding: 5px 0; color: #fff; font-weight: 700; text-decoration: none; }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { text-decoration: underline; }
.foot-note { font-size: .92rem; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; }
.foot :focus-visible { outline-color: var(--amber); }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1fr 2fr; } .foot-nav { grid-template-columns: repeat(3, 1fr); } .foot-note { grid-column: 1 / -1; } }

/* ---------- Kontakt (überarbeitet: kompaktes Formular, zwei Spalten, nur freiwillige Felder markiert) ---------- */
.contact { position: relative; overflow: hidden; background: radial-gradient(70% 70% at 0% 100%, rgba(67, 205, 178, .16), transparent 70%), var(--petrol-deep); }
.contact .kicker { color: var(--mint); }
.contact-in { gap: 28px; }
.contact-aside { display: flex; align-items: flex-end; gap: 14px; margin-top: 30px; max-width: 30rem; }
.contact-bob { display: block; flex: none; width: 84px; height: 102px; margin: 0; }
.contact-bob .b-shadow { opacity: .3; }
.contact-bubble { display: block; margin-bottom: 14px; padding: 12px 16px; font-size: .98rem; line-height: 1.45; border-width: 0; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6); }
.contact-bubble::before { bottom: 22px; border-width: 0; }
.contact-bubble b { font-family: var(--display); }
.contact-bubble a { font-weight: 700; }
.form { gap: 20px; padding: 22px 18px 20px; border-radius: 28px; box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .7); }
.role legend { margin-bottom: 8px; font: 700 .9rem/1.2 var(--display); color: var(--ink-2); }
.role-opts { padding: 4px; border-width: 1.5px; border-radius: 999px; }
.role-opts label { min-height: 42px; border-radius: 999px; font-size: .96rem; transition: background-color .15s ease, color .15s ease; }
.role-hint { margin-top: 10px; font-size: .94rem; line-height: 1.45; }
.field-grid { display: grid; gap: 14px; }
.field { gap: 5px; align-content: start; }
.field label { justify-content: flex-start; gap: 8px; font-size: .94rem; }
.opt { padding: 1px 8px; border-radius: 999px; background: var(--paper-2); font-size: .76rem; font-weight: 700; }
.field input, .field textarea { min-height: 48px; padding: 10px 14px; border-width: 1.5px; border-radius: 13px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.field textarea { min-height: 96px; }
.field input:focus, .field textarea:focus { background: var(--surface); border-color: var(--mint-ink); box-shadow: 0 0 0 3px rgba(67, 205, 178, .4); }
.field ::placeholder { font-size: .98rem; }
.form-foot { display: grid; gap: 12px; align-items: center; }
.form-foot .btn { width: 100%; }
.form-legal { font-size: .84rem; line-height: 1.45; }
@media (min-width: 560px) {
  .form { padding: 30px 30px 26px; }
  .field-grid { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .field-wide { grid-column: 1 / -1; }
  .form-foot { grid-template-columns: auto 1fr; gap: 20px; }
  .form-foot .btn { width: auto; }
}
@media (min-width: 960px) { .contact-in { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; } }

/* ---------- FAQ (überarbeitet: zwei Spalten nach Zielgruppe) ---------- */
.faq-cols { display: grid; gap: 40px; margin-top: 36px; }
.faq-group > h3 { margin-bottom: 14px; font: 800 1.2rem/1.2 var(--display); color: var(--mint-ink); }
.faq summary { padding: 18px 44px 18px 0; }
.faq summary h4 { display: inline; margin: 0; font: 700 1.1rem/1.3 var(--display); color: inherit; }
.faq details p { padding-bottom: 20px; font-size: 1.02rem; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 52px; } }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 32px 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; }
.legal-stand { margin-top: 40px; color: var(--ink-2); }
.missing { color: var(--coral-ink); font-weight: 700; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
[data-co-opt][hidden] { display: none !important; }

/* ---------- 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; }
}

/* Kündigungsbutton */
.cancel-form { display: grid; gap: 16px; max-width: 560px; margin: 24px 0 8px; padding: 22px 20px; border: 2px solid var(--line); border-radius: 18px; background: var(--surface); }
.cancel-form .field { display: grid; gap: 6px; }
.cancel-form .field > span { font-weight: 700; }
.cancel-form select { 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); }
.cancel-form .btn { justify-self: start; }
.cancel-err { color: #C2353A; font-weight: 700; margin: 0; }
.cancel-ok { max-width: 560px; margin: 24px 0; padding: 22px 20px; border-radius: 18px; background: color-mix(in srgb, #2FA36B 12%, var(--surface)); border: 2px solid color-mix(in srgb, #2FA36B 45%, transparent); }
.cancel-ok h2 { margin-top: 0; }
@media print { .top, .foot, .back { display: none !important; } }
.cancel-form[hidden], .cancel-ok[hidden] { display: none !important; }
.cancel-ok .linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* PflegeBob winkt (Hero) */
.bob[data-mood="wave"] .mo-idle { display: none; }
.bob[data-mood="wave"] .mo-happy { display: inline; }
.bob[data-mood="wave"] .b-arm-r { animation: bob-wave 1.1s ease-in-out 3; }
@keyframes bob-wave { 0%, 100% { transform: rotate(-130deg); } 50% { transform: rotate(-160deg); } }
@media (prefers-reduced-motion: reduce) { .eyebrow::before { animation: none; } }

/* Rechtsseiten: lange Wörter in der Überschrift umbrechen statt aus dem Bild zu ragen */
.legal h1 { overflow-wrap: anywhere; hyphens: auto; }
