/* NixTier – Webseite für Eltern. Eigene Gestaltung nach der App: Creme, Orange, Wiese/Himmel, runde Formen.
   Keine Fremd-Ressourcen. Schrift: Nunito (OFL, selbst gehostet, /assets/fonts/Nunito-OFL.txt). */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #FFF8EC;
  --bg-2: #FCEFDC;
  --surface: #FFFDF8;
  --surface-2: #F6E7D3;
  --line: #E7D3B9;
  --text: #3A2E2A;
  --muted: #65544A;
  --accent: #BF4518;
  --on-accent: #FFFFFF;
  --accent-hover: #A63A12;
  --accent-text: #A93D14;
  --accent-soft: #FFE1CF;
  --teal: #17695E;
  --teal-soft: #D2F2EB;
  --sun: #FFD27F;
  --pink: #E0526F;
  --sky-1: #BCE2FA;
  --sky-2: #FFF4E2;
  --meadow-1: #A6D985;
  --meadow-2: #79BE5F;
  --meadow-soft: #EAF5DC;
  --cloud: #FFFFFF;
  --frame: #2A211F;
  --focus: #17695E;
  --shadow-sm: 0 1px 2px rgb(58 46 42 / 0.06), 0 2px 8px rgb(58 46 42 / 0.05);
  --shadow: 0 2px 4px rgb(58 46 42 / 0.05), 0 12px 32px rgb(58 46 42 / 0.10);
  --shadow-lg: 0 4px 8px rgb(58 46 42 / 0.06), 0 24px 60px rgb(58 46 42 / 0.16);
  --radius: 24px;
  --radius-lg: 32px;
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B1E2E;
    --bg-2: #20243A;
    --surface: #252A41;
    --surface-2: #2E3350;
    --line: #424A6E;
    --text: #F3EEE6;
    --muted: #CBC4D6;
    --accent: #FFB38A;
    --on-accent: #3D1500;
    --accent-hover: #FFC8A8;
    --accent-text: #FFB993;
    --accent-soft: #4E2A1A;
    --teal: #86DDCF;
    --teal-soft: #1D4A45;
    --pink: #FF8FA3;
    --sky-1: #1C2552;
    --sky-2: #3D3D6E;
    --meadow-1: #3E7A4A;
    --meadow-2: #2C5D38;
    --meadow-soft: #1F2C2C;
    --cloud: #4A4F7A;
    --frame: #0E0F18;
    --focus: #86DDCF;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.25);
    --shadow: 0 2px 4px rgb(0 0 0 / 0.2), 0 12px 32px rgb(0 0 0 / 0.30);
    --shadow-lg: 0 4px 8px rgb(0 0 0 / 0.25), 0 24px 60px rgb(0 0 0 / 0.45);
  }
}
:root[data-theme="dark"] {
  --bg: #1B1E2E; --bg-2: #20243A; --surface: #252A41; --surface-2: #2E3350; --line: #424A6E;
  --text: #F3EEE6; --muted: #CBC4D6; --accent: #FFB38A; --on-accent: #3D1500; --accent-hover: #FFC8A8;
  --accent-text: #FFB993; --accent-soft: #4E2A1A; --teal: #86DDCF; --teal-soft: #1D4A45; --pink: #FF8FA3;
  --sky-1: #1C2552; --sky-2: #3D3D6E; --meadow-1: #3E7A4A; --meadow-2: #2C5D38; --meadow-soft: #1F2C2C;
  --cloud: #4A4F7A; --frame: #0E0F18; --focus: #86DDCF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 450;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { max-width: 100%; }
img { height: auto; }
h1, h2, h3 { line-height: 1.15; font-weight: 850; letter-spacing: -0.012em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 7.2vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 4.8vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 800; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--surface); color: var(--text); padding: 0.6rem 1rem; border-radius: 999px; box-shadow: var(--shadow); font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- Kopf ---------- */
.head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.head .wrap { display: flex; align-items: center; gap: 0.75rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); text-decoration: none; font-weight: 900; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-sub { display: none; font-weight: 600; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 1100px) { .brand-sub { display: inline; } }
.nav-main { display: none; margin-left: auto; }
.nav-main ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-main ul { display: flex; gap: 0.25rem; }
.nav-main a, .menu nav a { display: block; padding: 0.5rem 0.8rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 750; }
.nav-main a:hover, .menu nav a:hover { background: var(--surface-2); }
.nav-main a[aria-current="page"] { background: var(--surface-2); }
.head-tools { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav-main + .head-tools { margin-left: 0.5rem; }
.lang { display: flex; gap: 0.15rem; }
.lang a { display: inline-block; padding: 0.35rem 0.55rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; }
.lang a:hover { color: var(--text); background: var(--surface-2); }
.lang a[aria-current="true"] { color: var(--text); background: var(--surface-2); }
.head .btn { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.98rem; }
.head .btn .icon { width: 1.1em; height: 1.1em; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .icon { width: 22px; height: 22px; }
.menu[open] summary { background: var(--accent-soft); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0.5rem; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) {
  .nav-main { display: block; }
  .menu { display: none; }
  .head-tools { margin-left: 0; }
}
@media (max-width: 380px) { .head .btn-label { display: none; } .head .btn { padding: 0.5rem 0.75rem; } }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px; padding: 0.8rem 1.5rem; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 850; font-size: 1.06rem; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: 0 2px 0 color-mix(in srgb, var(--accent) 60%, #000), var(--shadow-sm); transition: background-color .15s ease, transform .15s ease; text-align: center; }
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-lg { min-height: 58px; padding: 0.95rem 1.8rem; font-size: 1.15rem; }
.btn-soft { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn-soft:hover { background: var(--surface-2); }
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.meta { color: var(--muted); font-size: 0.95rem; margin: 0.75rem 0 0; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Abschnitte ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 0.75rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 850; font-size: 0.92rem; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.28rem); color: var(--muted); line-height: 1.55; }
.alt { background: var(--bg-2); }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 48px; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 56px 0 88px; } .hero .wrap { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }
.hero-qr { display: none; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.9rem; font-weight: 700; flex-basis: 100%; }
.hero-qr img { width: 84px; height: 84px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); }
@media (min-width: 1000px) and (hover: hover) { .hero-qr { display: flex; } }
.stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(var(--sky-1), var(--sky-2)); aspect-ratio: 600 / 430; isolation: isolate; }
.stage svg.scene { display: block; width: 100%; height: 100%; }
.bubble { position: absolute; left: 6%; top: 7%; z-index: 2; max-width: 62%; margin: 0; padding: 0.65rem 1rem; background: var(--surface); color: var(--text); border-radius: 20px; font-weight: 800; font-size: clamp(0.95rem, 2.6vw, 1.15rem); line-height: 1.3; box-shadow: var(--shadow); animation: pop 0.6s 0.4s cubic-bezier(.2,1.4,.4,1) both; }
.bubble::after { content: ""; position: absolute; left: 22%; bottom: -10px; border: 10px solid transparent; border-top-color: var(--surface); border-bottom: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.92); } to { opacity: 1; transform: none; } }

/* Szene (inline-SVG): Farben über Klassen, damit Hell/Dunkel greift */
.sky-a { stop-color: var(--sky-1); }
.sky-b { stop-color: var(--sky-2); }
.hill-back { fill: var(--meadow-1); }
.hill-front { fill: var(--meadow-2); }
.cloud { fill: var(--cloud); opacity: 0.92; }
.sun { fill: #FFD27F; }
.moon, .stars { display: none; }
.stars circle { fill: #FFF6D8; }
.moon { fill: #FFF1B8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sun { display: none; }
  :root:not([data-theme="light"]) .moon, :root:not([data-theme="light"]) .stars { display: inline; }
}
.shadow { fill: rgb(40 60 20 / 0.22); }

.pet .tail { transform-box: fill-box; transform-origin: 0% 100%; }
.dog .tail { animation: wag 0.55s ease-in-out infinite alternate; }
.cat .tail { transform-origin: 0% 100%; animation: sway 3.2s ease-in-out infinite alternate; }
.pet .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5.2s infinite; }
.cat .eyes { animation-delay: 1.9s; animation-duration: 6.4s; }
.pet .head { transform-box: fill-box; transform-origin: 50% 90%; animation: tilt 6s ease-in-out infinite; }
.cat .head { animation-delay: -2.5s; animation-duration: 7s; }
.pet .torso { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; }
.dog .ear-l { transform-box: fill-box; transform-origin: 70% 5%; animation: ear 4.5s ease-in-out infinite; }
.dog .ear-r { transform-box: fill-box; transform-origin: 30% 5%; animation: ear 4.5s ease-in-out infinite reverse; }
.cat .ear-r { transform-box: fill-box; transform-origin: 30% 100%; animation: twitch 7s ease-in-out infinite; }
.heart { fill: var(--pink); opacity: 0; transform-box: fill-box; transform-origin: center; animation: float 4.2s ease-out infinite; }
.heart.h2 { animation-delay: 1.4s; }
.heart.h3 { animation-delay: 2.8s; }
.cloud-1 { animation: drift 26s ease-in-out infinite alternate; }
.cloud-2 { animation: drift 34s ease-in-out infinite alternate-reverse; }
.stars circle { animation: twinkle 3s ease-in-out infinite alternate; }
.stars circle:nth-child(2n) { animation-delay: 1.2s; }
.stars circle:nth-child(3n) { animation-delay: 2.1s; }
.pet.hop { animation: hop 0.6s cubic-bezier(.3,.7,.4,1); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes wag { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes sway { from { transform: rotate(-10deg); } to { transform: rotate(12deg); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(0.08); } }
@keyframes tilt { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-3deg); } 60% { transform: rotate(2.5deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, 1.03); } }
@keyframes ear { 0%, 80%, 100% { transform: rotate(0deg); } 86% { transform: rotate(-7deg); } 92% { transform: rotate(4deg); } }
@keyframes twitch { 0%, 88%, 100% { transform: rotate(0deg); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(5deg); } }
@keyframes float { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 15% { opacity: 1; } 70% { opacity: 0.85; } 100% { opacity: 0; transform: translateY(-46px) scale(1.1); } }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(26px); } }
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 1; } }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(0) scale(1.06, 0.92); } 55% { transform: translateY(-28px) scale(0.96, 1.05); } 85% { transform: translateY(0) scale(1.05, 0.95); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .heart { opacity: 0; }
}

/* ---------- Versprechen ---------- */
.promises { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .promises { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card { background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card h3 { margin: 0.75rem 0 0.35rem; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); }
.badge-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-text); }
.badge-icon .icon { width: 28px; height: 28px; }
.promises li:nth-child(2) .badge-icon, .grid-cards li:nth-child(2) .badge-icon { background: var(--teal-soft); color: var(--teal); }
.promises li:nth-child(3) .badge-icon, .grid-cards li:nth-child(3) .badge-icon { background: color-mix(in srgb, var(--sun) 45%, var(--surface)); color: var(--text); }
.promises li:nth-child(4) .badge-icon, .grid-cards li:nth-child(4) .badge-icon { background: color-mix(in srgb, var(--pink) 22%, var(--surface)); color: var(--text); }

/* ---------- Telefon-Rahmen und Bildschirmfotos ---------- */
.phone { position: relative; width: 100%; max-width: 270px; margin: 0; padding: 22px 10px 12px; background: var(--frame); border-radius: 40px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgb(255 255 255 / 0.06); }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 46px; height: 6px; margin-left: -23px; border-radius: 6px; background: rgb(255 255 255 / 0.14); }
.phone img { display: block; width: 100%; border-radius: 28px; background: var(--bg); }
.phones { position: relative; display: flex; justify-content: center; padding: 8px 0 8px; }
.phones .phone-back { position: absolute; width: 58%; max-width: 200px; right: 2%; bottom: -4%; transform: rotate(6deg); opacity: 0.98; }
.phones .phone-front { width: 74%; max-width: 270px; transform: translateX(-12%); }
@media (min-width: 900px) { .phones .phone-front { transform: translateX(-16%); } }
.phones.single .phone-front { transform: none; }

.feature { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; padding: 40px 0; }
  .feature:nth-child(even) .feature-media { order: 2; }
}
.feature h3 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.feature p { color: var(--muted); font-size: 1.08rem; }
.say { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; margin: 0.5rem 0 0; padding: 0.7rem 1.05rem; background: var(--surface); border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; font-weight: 800; color: var(--text); box-shadow: var(--shadow-sm); }
.say .icon { width: 20px; height: 20px; color: var(--accent-text); flex: none; }

/* ---------- Bewegung (Wiese) ---------- */
.meadow { background: linear-gradient(var(--bg), var(--meadow-soft) 40%, var(--meadow-soft)); position: relative; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.checks { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.85rem; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 0.7rem; align-items: start; }
.checks .icon { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); stroke-width: 3; margin-top: 1px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.trio .phone { padding: 14px 6px 8px; border-radius: 26px; }
.trio .phone img { border-radius: 19px; }
.trio .phone::before { top: 5px; width: 30px; height: 4px; margin-left: -15px; }
.trio .phone:nth-child(2) { transform: translateY(-18px); }

/* ---------- Eltern ---------- */
.grid-cards { display: grid; gap: 14px; margin: 0 0 2rem; padding: 0; list-style: none; }
@media (min-width: 600px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
.quad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 520px; margin: 0 auto; }
@media (min-width: 600px) { .quad { grid-template-columns: repeat(4, 1fr); max-width: none; } }
.quad .phone { padding: 14px 6px 8px; border-radius: 26px; max-width: none; }
.quad .phone img { border-radius: 19px; }
.quad .phone::before { top: 5px; width: 30px; height: 4px; margin-left: -15px; }
.quad figcaption { margin-top: 0.6rem; text-align: center; font-size: 0.9rem; color: var(--muted); font-weight: 700; }
.quad figure { margin: 0; }

/* ---------- Sicherheit ---------- */
.safety { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .safety { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .safety { grid-template-columns: repeat(3, 1fr); } }
.safety .card h3 { display: flex; align-items: center; gap: 0.55rem; margin-top: 0; }
.safety .card h3 .icon { color: var(--teal); flex: none; stroke-width: 2.6; }

/* ---------- Extras / Preise ---------- */
.prices { display: grid; gap: 14px; margin: 0 0 1rem; padding: 0; list-style: none; }
@media (min-width: 640px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .prices { grid-template-columns: repeat(4, 1fr); } }
.price-card { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; }
.price-card .name { font-weight: 900; font-size: 1.2rem; margin-top: 0.6rem; }
.price-card .items { color: var(--muted); flex: 1; }
.price-card .price { font-weight: 900; font-size: 1.6rem; color: var(--text); margin-top: 0.5rem; }
.price-card.best { border: 2px solid var(--accent); position: relative; }
.price-card .tag { position: absolute; top: -12px; right: 18px; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 850; font-size: 0.85rem; }
.locked { display: inline-flex; align-items: center; gap: 0.5rem; }
.steps { counter-reset: step; list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: 0.9rem; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 0.8rem; align-items: start; }
.steps > li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 900; }
.steps h3 { margin: 0.25rem 0 0.25rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }
.note { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; font-weight: 850; font-size: 1.08rem; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2) center / 14px no-repeat; background-image: linear-gradient(var(--text), var(--text)), linear-gradient(var(--text), var(--text)); background-size: 12px 2.5px, 2.5px 12px; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq ol { margin: 0 0 1em; padding-left: 1.3rem; }
.faq ol li { margin-bottom: 0.35rem; }

/* ---------- Band (Download) ---------- */
.band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 36px 22px; background: linear-gradient(160deg, var(--sky-1), var(--sky-2) 70%); box-shadow: var(--shadow); display: grid; gap: 24px; align-items: center; }
.band h2 { margin-bottom: 0.3em; }
.band p { color: var(--text); opacity: 0.85; max-width: 34rem; }
.band .qr-card { justify-self: start; display: flex; align-items: center; gap: 1rem; padding: 12px 16px 12px 12px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-sm); font-weight: 750; font-size: 0.95rem; max-width: 22rem; }
.band .qr-card img { width: 108px; height: 108px; padding: 6px; background: #fff; border-radius: 12px; flex: none; }
@media (min-width: 900px) { .band { grid-template-columns: 1.4fr 1fr; padding: 56px; } .band .qr-card { justify-self: end; } }

/* ---------- Unterseiten ---------- */
.page { padding: 36px 0 72px; }
@media (min-width: 900px) { .page { padding: 64px 0 96px; } }
.narrow { max-width: 44rem; }
.page-hero { margin-bottom: 2rem; }
.panel { background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
@media (min-width: 700px) { .panel { padding: 32px; } }
.dl-card { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .dl-card { grid-template-columns: 1fr auto; } }
.dl-card .qr-card img { width: 132px; height: 132px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); }
.dl-card .qr-card p { font-size: 0.9rem; color: var(--muted); max-width: 12rem; margin: 0 0 0.5rem; }
.kv { display: grid; gap: 0.6rem; margin: 0; }
.kv dt { font-weight: 800; }
.kv dd { margin: 0; font-family: var(--mono); font-size: 0.85rem; overflow-wrap: anywhere; color: var(--muted); }
.perms { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.perms strong { display: block; }

/* Formulare */
.form { display: grid; gap: 1.1rem; }
.field label, .legend { display: block; font-weight: 800; margin-bottom: 0.35rem; }
.field input[type=email], .field input[type=text], .field textarea { width: 100%; min-height: 52px; padding: 0.75rem 1rem; border: 2px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--text); font: inherit; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field .opt { font-weight: 600; color: var(--muted); }
.hint { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }
.field-error, .form-error { color: #B3261E; font-weight: 750; margin: 0.35rem 0 0; }
.form-error:empty { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error, :root:not([data-theme="light"]) .form-error { color: #FFB4AB; } }
[aria-invalid="true"] { border-color: #B3261E !important; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 850; font-size: 1.15rem; margin-bottom: 0.75rem; }
.packs { display: grid; gap: 12px; }
@media (min-width: 640px) { .packs { grid-template-columns: 1fr 1fr; } }
.pack { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.25rem 0.85rem; align-items: center; padding: 16px 18px; background: var(--bg); border: 2px solid var(--line); border-radius: 20px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.pack:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.pack input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); grid-row: span 2; }
.pack .name { font-weight: 900; }
.pack .items { grid-column: 2 / 4; color: var(--muted); font-size: 0.93rem; line-height: 1.4; }
.pack .price { font-weight: 900; justify-self: end; grid-row: 1; grid-column: 3; }
.pack:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pack:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 0.7rem; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-weight: 600; }
.check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nojs { padding: 1rem 1.2rem; border-radius: 16px; background: var(--surface-2); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 0 0 1.5rem; padding: 0; color: var(--muted); font-weight: 750; }
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust .icon { width: 20px; height: 20px; color: var(--teal); stroke-width: 2.6; }
.done { padding: 1.25rem; border-radius: 20px; background: var(--teal-soft); color: var(--text); font-weight: 700; }

/* Code-Seite */
.code-text { font-family: var(--mono); font-size: clamp(0.72rem, 3.2vw, 1.12rem); line-height: 1.8; letter-spacing: 0; padding: 1rem; border-radius: 16px; background: var(--surface-2); text-align: center; overflow-wrap: anywhere; word-break: break-all; }
.qr-box { display: inline-block; padding: 12px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); margin: 0; }
.qr-box svg { display: block; width: 220px; height: 220px; max-width: 100%; }
.qr-box figcaption { max-width: 220px; margin-top: 0.5rem; color: #3A2E2A; font-size: 0.88rem; }
.copy { font: inherit; font-weight: 800; padding: 0.55rem 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; min-height: 44px; }
.copy:hover { background: var(--surface-2); }
.switch { font: inherit; font-weight: 800; padding: 0.35rem 0.8rem; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; }

/* Rechtstexte */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-top: 2.2rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35rem; }
.prose .lines { margin: 0 0 1em; }
.prose .stand { color: var(--muted); }
.prose .box { padding: 1.2rem 1.4rem; border: 2px dashed var(--line); border-radius: 18px; background: var(--surface); }
.prose .box p { margin-bottom: 0.7rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2rem; border-radius: 16px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 850; }
tr:last-child td { border-bottom: 0; }
.prose a { overflow-wrap: anywhere; }

/* 404 */
.nf { text-align: center; }
.nf .stage { max-width: 520px; margin: 0 auto 2rem; }

/* ---------- Fuß ---------- */
.foot { background: var(--surface-2); padding: 48px 0 32px; margin-top: 0; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h2 { font-size: 1.05rem; margin: 0 0 0.75rem; }
.foot .brand { margin-bottom: 0.75rem; }
.foot p { color: var(--muted); max-width: 26rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot a { color: var(--text); text-decoration: none; font-weight: 700; }
.foot a:hover { text-decoration: underline; }
.foot .withdraw-btn { display: inline-block; margin-top: 0.35rem; padding: 0.4rem 0.9rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: 0.92rem; }
.foot-bottom p { margin: 0; }

/* Kopf auf schmalen Geräten: Sprachwahl im Menü statt in der Leiste */
.lang-menu { display: none; border-top: 1px solid var(--line); margin-top: 0.4rem; padding: 0.5rem 0.4rem 0.2rem; }
@media (max-width: 479px) {
  .head-tools > .lang { display: none; }
  .lang-menu { display: flex; }
}
.safety + .note { margin-top: 1.25rem; }
