/* ============================================================
   collabDoo — Marketing-Website
   Farben (verbindlich, siehe docs/design/CONCEPT.md B.7):
     Teal #00D3CA (Akzent) · Navy #0A2D5A (Tinte auf Teal, dunkle Flächen)
     Peach #FF9E64 (Zweitakzent) · Rot #D30063 (nur Fehler) · Surface #F6F4EE
   Schrift (selbst gehostet, DSGVO): Nunito (Display) / Nunito Sans (Text)
   Dark Mode folgt dem System (prefers-color-scheme), Klasse .dark via js/main.js
   ============================================================ */
@import url("../assets/fonts/fonts.css");

:root {
  --c-accent: #00D3CA;
  --c-accent-dark: #00b3ab;
  --c-accent-soft: rgba(0, 211, 202, .14);
  --c-ink: #0A2D5A;
  --c-ink-2: #163f7a;
  --c-peach: #FF9E64;
  --c-peach-text: #B45309;
  --c-red: #D30063;
  --c-bg: #ffffff;
  --c-surface: #F6F4EE;
  --c-surface-2: #ece9e1;
  --c-text: #17213a;
  --c-muted: #5b6577;
  --c-line: #e1ded6;
  --c-dark: #0A2D5A;
  --shadow-xl: 0 24px 48px -18px rgba(10, 45, 90, .28);
  --shadow-card: 0 1px 0 rgba(10, 45, 90, .04), 0 18px 40px -28px rgba(10, 45, 90, .35);
  --r: 22px;
  --r-sm: 14px;
}
.dark {
  --c-accent: #12e3da;
  --c-accent-dark: #3eece5;
  --c-accent-soft: rgba(18, 227, 218, .14);
  --c-ink: #8FB4E8;
  --c-ink-2: #163f7a;
  --c-peach: #FFB07A;
  --c-peach-text: #FFB07A;
  --c-bg: #121412;
  --c-surface: #1a1d1a;
  --c-surface-2: #232723;
  --c-text: #e8ebe8;
  --c-muted: #a0a8a3;
  --c-line: #2e332f;
  --c-dark: #071c38;
  --shadow-xl: 0 24px 48px -18px rgba(0, 0, 0, .6);
  --shadow-card: 0 18px 40px -28px rgba(0, 0, 0, .8);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem; line-height: 1.55;
  background: var(--c-bg); color: var(--c-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .font-display { font-family: 'Nunito', 'Nunito Sans', system-ui, sans-serif; color: var(--c-text); letter-spacing: -0.015em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--c-accent); color: var(--c-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { max-width: 1180px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .container { padding-left: 2rem; padding-right: 2rem; } }
.narrow { max-width: 46rem; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--c-muted); }
.accent { color: var(--c-accent-dark); }
.dark .accent { color: var(--c-accent); }

/* ---- Sections (Rhythmus: weiß ↔ surface, Ende: dunkel) ---- */
.section { padding: 4.5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section--surface { background: var(--c-surface); }
.section--dark { background: var(--c-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .muted { color: rgba(255, 255, 255, .72); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.75rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; margin-top: .5rem; }
.section-head p { margin-top: .85rem; font-size: 1.1rem; color: var(--c-muted); }
.section--dark .section-head p { color: rgba(255,255,255,.75); }
.kicker { font-family: 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .76rem; color: var(--c-accent-dark); }
.dark .kicker, .section--dark .kicker { color: var(--c-accent); }

/* App-Icon als Abzeichen über einer Überschrift */
.app-badge { display: block; width: 120px; height: 120px; margin: 0 auto 1.5rem; border-radius: 27px; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(10,45,90,.06); }
@media (min-width: 768px) { .app-badge { width: 144px; height: 144px; border-radius: 32px; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem; line-height: 1;
  padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn-primary { background: var(--c-accent); color: #0A2D5A; box-shadow: var(--shadow-xl); }
.btn-primary:hover { background: var(--c-accent-dark); }
.btn-ink { background: #0A2D5A; color: #fff; box-shadow: var(--shadow-xl); }
.dark .btn-ink { background: #fff; color: #0A2D5A; }
.btn-outline { background: transparent; color: var(--c-text); border-color: var(--c-line); }
.btn-outline:hover { border-color: var(--c-text); }
.section--dark .btn-outline, .hero--photo .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.section--dark .btn-outline:hover, .hero--photo .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row--center { justify-content: center; }

/* Store badge (Platzhalter, bis der Store-Link da ist) */
.store-badge { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.1rem .7rem .8rem; border-radius: 14px; background: #000; color: #fff; text-decoration: none; line-height: 1.1; border: 1px solid rgba(255,255,255,.25); }
.store-badge svg { width: 28px; height: 28px; }
.store-badge small { display: block; font-size: .66rem; opacity: .8; font-weight: 600; letter-spacing: .02em; }
.store-badge b { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 800; }
.store-badge.is-soon { opacity: .92; }
.dark .store-badge { background: #fff; color: #000; border-color: transparent; }

/* ---- Cards ---- */
.card { background: var(--c-bg); border-radius: var(--r); box-shadow: var(--shadow-card); padding: 1.75rem; }
.dark .card { background: var(--c-surface-2); }
.section--surface .card { box-shadow: var(--shadow-card); }
.card--accent { border: 2px solid var(--c-accent); background: var(--c-accent-soft); }
.dark .card--accent { background: var(--c-accent-soft); }
.card--peach { border: 2px solid var(--c-peach); background: rgba(255,158,100,.10); }
.feat h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .45rem; }
.feat p { color: var(--c-muted); font-size: .98rem; line-height: 1.55; }
.ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent-dark); margin-bottom: 1rem; }
.ico svg { width: 26px; height: 26px; }
.dark .ico { color: var(--c-accent); }
.ico--peach { background: rgba(255,158,100,.16); color: var(--c-peach-text); }
.ico--ink { background: rgba(10,45,90,.1); color: var(--c-ink); }

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Highlight-Box */
.highlight { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; padding: 2.25rem; }
.highlight .ico { width: 60px; height: 60px; border-radius: 30px; background: var(--c-accent); color: #0A2D5A; margin: 0; flex-shrink: 0; }
.highlight .ico svg { width: 28px; height: 28px; }
.highlight-body { flex: 1; min-width: 16rem; }
.highlight-body h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 900; margin: .3rem 0 .6rem; }
.highlight-body p { color: var(--c-muted); font-size: 1.05rem; line-height: 1.6; }
.highlight-body b { color: var(--c-text); }

/* ---- Text-Hervorhebung (Marker) ---- */
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .04em; height: .34em; background: var(--c-accent); border-radius: 4px; z-index: -1; opacity: .9; transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.22,.61,.36,1) .15s; }
.hl.in::after { transform: scaleX(1); }
html:not(.js) .hl::after { transform: none; }
.hero--photo .hl::after, .section--dark .hl::after { opacity: 1; }
.hero--photo .hl, .section--dark .hl { color: #fff; }
.hl-ink { color: #0A2D5A; }
@media (prefers-reduced-motion: reduce) { .hl::after { transform: none; transition: none; } }

/* ---- Navbar ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease; }
.dark .nav { background: rgba(18,20,18,.86); }
.nav.is-solid { border-color: var(--c-line); box-shadow: 0 6px 22px -12px rgba(10,45,90,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4.75rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--c-text); }
.brand img { width: 44px; height: 44px; border-radius: 11px; display: block; box-shadow: 0 6px 14px -8px rgba(10,45,90,.4); }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.05; }
.brand b { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.4rem; letter-spacing: -.02em; }
.brand small { display: none; font-size: .7rem; color: var(--c-muted); font-weight: 700; letter-spacing: .02em; margin-top: .2rem; white-space: nowrap; }
@media (min-width: 420px) { .brand small { display: block; } }
.nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 920px) { .nav-links { display: flex; } }
.nav-link { font-weight: 700; font-size: .96rem; color: var(--c-text); text-decoration: none; opacity: .82; padding: 1.5rem 0; display: inline-flex; align-items: center; gap: .3rem; }
.nav-link:hover, .nav-link.active { opacity: 1; color: var(--c-accent-dark); }
.dark .nav-link:hover, .dark .nav-link.active { color: var(--c-accent); }
.nav-item { position: relative; }
.dd { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); width: 640px; max-width: 92vw; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--shadow-xl); padding: .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .75rem; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; }
.dark .dd { background: var(--c-surface-2); }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover .dd, .nav-item:focus-within .dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd--narrow { width: 420px; grid-template-columns: 1fr; }
.dd-item { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .75rem; border-radius: var(--r-sm); text-decoration: none; transition: background .12s; }
.dd-item:hover { background: var(--c-surface); }
.dark .dd-item:hover { background: var(--c-surface); }
.dd-item svg { width: 22px; height: 22px; color: var(--c-accent-dark); flex-shrink: 0; margin-top: 2px; }
.dark .dd-item svg { color: var(--c-accent); }
.dd-item b { display: block; color: var(--c-text); font-weight: 800; font-size: .95rem; }
.dd-item span { display: block; color: var(--c-muted); font-size: .82rem; line-height: 1.35; }
.nav-right { display: flex; align-items: center; gap: .5rem; }
.lang { background: transparent; border: 1px solid var(--c-line); border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .04em; color: var(--c-muted); cursor: pointer; padding: .45rem .7rem; text-decoration: none; }
.lang:hover { color: var(--c-text); border-color: var(--c-text); }
.hide-mobile { display: none !important; }
@media (min-width: 920px) { .hide-mobile { display: inline-flex !important; } }
.burger { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .6rem; cursor: pointer; }
@media (min-width: 920px) { .burger { display: none; } }
.burger span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; }
.mobile { display: none; padding: .5rem 0 1rem; border-top: 1px solid var(--c-line); }
.mobile.open { display: block; max-height: calc(100dvh - 4.75rem); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile a { display: block; padding: .6rem .25rem; font-weight: 700; color: var(--c-text); text-decoration: none; }
.mobile .mobile-group { margin-top: .6rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); font-weight: 800; padding: .5rem .25rem .1rem; }
.mobile a.sub { padding-left: 1rem; opacity: .85; font-weight: 600; }
.mobile .btn { display: flex; margin-top: .6rem; }

/* ---- Hero ---- */
.hero { padding-top: 7.5rem; padding-bottom: 3.5rem; background: linear-gradient(180deg, var(--c-surface), var(--c-bg)); overflow: hidden; position: relative; }
@media (min-width: 768px) { .hero { padding-top: 9rem; padding-bottom: 4.5rem; } }
.h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 900; line-height: 1.02; }
.lead { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--c-muted); line-height: 1.55; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); } }
.hero--photo { background: var(--c-dark); box-shadow: var(--shadow-xl); }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,28,56,.72) 0%, rgba(7,28,56,.55) 45%, rgba(7,28,56,.85) 100%); }
.hero--photo .container { position: relative; z-index: 2; }
.hero--photo .h1, .hero--photo h2 { color: #fff; }
.hero--photo .lead { color: rgba(255,255,255,.88); }
.hero--photo .kicker { color: var(--c-accent); }
.hero--photo .muted { color: rgba(255,255,255,.72); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; font-weight: 700; font-size: .86rem; }
.trust span { display: inline-flex; align-items: center; padding: .35rem .75rem; border-radius: 999px; background: var(--c-surface-2); color: var(--c-text); }
.hero--photo .trust span { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.claim { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: .01em; }
.claim span { color: var(--c-accent); }

/* Keyvisual-Hero: Text oben, Bild frei darunter (kein Scrim, Bild trägt selbst) */
.hero--kv { padding-bottom: 0; background: linear-gradient(180deg, var(--c-accent-soft), var(--c-surface) 55%, var(--c-bg)); }
.kv { margin: 2.75rem auto 0; max-width: 1180px; }
.kv img { display: block; width: 100%; height: auto; border-radius: var(--r) var(--r) 0 0; box-shadow: var(--shadow-xl); }
@media (max-width: 640px) {
  .kv { margin-left: -1.25rem; margin-right: -1.25rem; }
  .kv img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 28% center; border-radius: var(--r-sm) var(--r-sm) 0 0; }
}
.kv figcaption { text-align: center; padding: .6rem 0 1rem; }

/* Phone-Mockup (SVG-Inhalt aus dem Build) */
.phone { position: relative; width: min(340px, 84vw); max-width: 100%; margin: 0 auto; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #0b1220; padding: 12px; box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255,255,255,.06); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 34%; height: 26px; background: #0b1220; border-radius: 20px; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #F6F4EE; }
.phone-screen svg { display: block; width: 100%; height: 100%; }
.phone--sm { width: min(260px, 70vw); border-radius: 38px; padding: 9px; }
.phone--sm .phone-screen { border-radius: 30px; }
.phone--sm::before { height: 20px; top: 15px; }
.phone-row { display: flex; gap: 1.5rem; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.phone-row .phone { margin: 0; }
.tilt-l { transform: rotate(-4deg) translateY(10px); }
.tilt-r { transform: rotate(4deg) translateY(10px); }
@media (max-width: 640px) { .tilt-l, .tilt-r { transform: none; } .phone-row .phone--sm:nth-child(3) { display: none; } }

/* ---- Feature-Zeilen (Text + Bild wechselnd) ---- */
.row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4rem; } .row--flip > :first-child { order: 2; } }
.row h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin: .4rem 0 .9rem; }
.row p { color: var(--c-muted); font-size: 1.05rem; line-height: 1.6; }
.row + .row { margin-top: 4.5rem; }
.checks { list-style: none; margin-top: 1.1rem; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; color: var(--c-text); }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: .05rem; border-radius: 50%; background: var(--c-accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2D5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12l4 4 8-8'/></svg>") center / 14px no-repeat; }
.section--dark .checks li { color: #fff; }

/* ---- Modul-Karten (dunkel, Karussell) ---- */
.mods { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .mods { grid-template-columns: repeat(4, 1fr); } }
.mod { display: flex; flex-direction: column; background: var(--c-ink-2); color: #fff; border-radius: var(--r); padding: 1.7rem; text-decoration: none; transition: transform .18s ease; box-shadow: var(--shadow-card); background: linear-gradient(160deg, #0f3a73, #0A2D5A); }
.mod:nth-child(even) { background: linear-gradient(160deg, #123f7c, #0c3161); }
.mod:hover { transform: translateY(-4px); }
.mod .ico { background: rgba(0,211,202,.18); color: var(--c-accent); }
.mod h3 { color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: .5rem; }
.mod p { color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.5; margin-bottom: 1.2rem; }
.mod ul { list-style: none; margin: auto 0 0; display: grid; gap: .4rem; }
.mod li { display: flex; align-items: center; gap: .45rem; background: rgba(0,211,202,.14); padding: .4rem .65rem; border-radius: 10px; font-size: .86rem; font-weight: 700; }
.mod li::before { content: "✓"; color: var(--c-accent); font-weight: 900; }
.mod .more { margin-top: 1.1rem; font-weight: 800; color: var(--c-accent); }

/* ---- Zielgruppen-Kacheln (Bild + Text) ---- */
.tiles { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; background: var(--c-dark); box-shadow: var(--shadow-card); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.06); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.35rem; background: linear-gradient(to top, rgba(7,28,56,.92), rgba(7,28,56,.45) 60%, rgba(7,28,56,0)); }
.tile-cap h3 { color: #fff; font-size: 1.3rem; font-weight: 900; margin-bottom: .2rem; }
.tile-cap p { color: rgba(255,255,255,.86); font-size: .9rem; line-height: 1.4; }
.tile-cap .kicker { color: var(--c-accent); margin-bottom: .3rem; display: block; }

/* ---- Quest / Belohnungen (spielerisch, Peach) ---- */
.section--quest { background: linear-gradient(160deg, #FFF1E6, #FFE3CF 60%, #F6F4EE); position: relative; overflow: hidden; }
.dark .section--quest { background: linear-gradient(160deg, #2a1a10, #1f150f 60%, #1a1d1a); }
.section--quest .kicker { color: var(--c-peach-text); }
.quest-steps { list-style: none; counter-reset: q; display: grid; gap: .8rem; margin-top: 1.5rem; }
.quest-steps li { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255,255,255,.75); border-radius: var(--r-sm); padding: .9rem 1.1rem; box-shadow: var(--shadow-card); }
.dark .quest-steps li { background: rgba(255,255,255,.06); }
.quest-emoji { font-size: 1.7rem; line-height: 1; flex-shrink: 0; width: 2.4rem; text-align: center; }
.quest-steps b { display: block; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.05rem; }
.quest-steps li > div > span { display: block; color: var(--c-muted); font-size: .95rem; line-height: 1.5; margin-top: .15rem; }
.section--quest .chip { background: rgba(255,255,255,.85); border-color: rgba(180,83,9,.25); }
.dark .section--quest .chip { background: rgba(255,255,255,.08); }
.section--quest .phone { transform: rotate(3deg); }
@media (max-width: 640px) { .section--quest .phone { transform: none; } }

/* ---- Schritte / Ablauf ---- */
.steps { counter-reset: step; display: grid; gap: 1rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.5rem; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent); color: #0A2D5A; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.1rem; margin-bottom: .9rem; }
.step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .35rem; }
.step p { color: var(--c-muted); font-size: .95rem; }

/* ---- Beispiel-Chips (Katalog) ---- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); font-weight: 700; font-size: .9rem; }
.dark .chip { background: var(--c-surface-2); }
.chip::before { content: "✓"; color: var(--c-accent-dark); font-weight: 900; }
.dark .chip::before { color: var(--c-accent); }
.chip--peach::before { content: "★"; color: var(--c-peach-text); }

/* ---- Avatare ---- */
.avatars { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.avatars img { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .avatars img { width: 104px; height: 104px; } }

/* ---- Team (Raster mit runden Fotos, Musketierhut landet beim Scrollen auf dem Kopf) ---- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.team-card h4 { font-size: 1.05rem; font-weight: 900; margin-top: .6rem; }
.team-role { font-size: .85rem; font-weight: 800; color: var(--c-accent-dark); margin-top: .1rem; }
.dark .team-role { color: var(--c-accent); }
.team-card .small { margin-top: .35rem; line-height: 1.45; }
.avatar { position: relative; display: inline-block; }
.avatar > img:first-child { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; display: block; box-shadow: var(--shadow-card); }
.hat { position: absolute; left: 50%; top: 0; width: 104px; height: auto; pointer-events: none; z-index: 3; opacity: 0;
  transform-origin: 60% 85%;
  transform: translate(calc(-50% - 4px + var(--dx, 0px)), -260%) rotate(calc(var(--rot, 0deg) * .4));
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.28)); }
html.js .hat.hat-drop { animation: hatDrop .8s cubic-bezier(.34,1.4,.5,1) both; }
html:not(.js) .hat, .hat--static { opacity: 1; transform: translate(calc(-50% - 4px), -52%) rotate(-6deg); }
@keyframes hatDrop {
  0%   { opacity: 0; transform: translate(calc(-50% - 4px + var(--dx, 0px)), -260%) rotate(calc(var(--rot, 0deg) * .4)); }
  30%  { opacity: 1; }
  70%  { transform: translate(calc(-50% - 4px + var(--dx, 0px)), -46%) rotate(var(--rot, 0deg)); }
  84%  { transform: translate(calc(-50% - 4px + var(--dx, 0px)), -56%) rotate(var(--rot, 0deg)); }
  100% { opacity: 1; transform: translate(calc(-50% - 4px + var(--dx, 0px)), -52%) rotate(var(--rot, 0deg)); }
}
@media (prefers-reduced-motion: reduce) { .hat { opacity: 1; animation: none !important; transform: translate(calc(-50% - 4px), -52%) rotate(-6deg); } }

/* Personen-Band über dem Footer */
.person-band { background: var(--c-dark); color: rgba(255,255,255,.72); padding: 2.75rem 0 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.person-band .container { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.avatar--band > img:first-child { width: 140px; height: 140px; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.avatar--band .hat { width: 118px; }
.person-band-text { flex: 1; min-width: 240px; }
.person-band-name { margin: 0 0 .45rem; font-size: .9rem; }
.person-band-name b { color: #fff; font-weight: 800; }
.person-band-quote { margin: 0; font-family: 'Nunito', sans-serif; font-size: clamp(1.2rem, 2.3vw, 1.7rem); font-weight: 900; font-style: italic; line-height: 1.3; color: #fff; }
.person-band-link { display: inline-block; margin-top: .85rem; font-size: .9rem; font-weight: 800; color: var(--c-accent); text-decoration: none; }
.person-band-link:hover { text-decoration: underline; }
@media (max-width: 620px) { .person-band .container { gap: 1.25rem; } }

/* ---- FAQ ---- */
.faq { display: grid; gap: .75rem; max-width: 52rem; margin: 0 auto; }
.faq details { background: var(--c-bg); border-radius: var(--r-sm); border: 1px solid var(--c-line); padding: 1rem 1.25rem; }
.dark .faq details { background: var(--c-surface-2); }
.faq summary { cursor: pointer; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; color: var(--c-accent-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .7rem; color: var(--c-muted); line-height: 1.6; }
.faq details p a { color: var(--c-accent-dark); font-weight: 700; }

/* ---- Zitat / Kernversprechen ---- */
.promise { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(1.4rem, 3.2vw, 2.3rem); line-height: 1.25; }
.promise em { font-style: normal; color: var(--c-accent); }

/* ---- Footer ---- */
.footer { background: var(--c-dark); color: rgba(255,255,255,.65); padding: 4rem 0 2.5rem; }
.footer h4 { color: #fff; font-family: 'Nunito Sans', sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer ul { list-style: none; }
.footer li { margin-bottom: .55rem; font-size: .95rem; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; }
.footer .brand { color: #fff; }
.footer .brand img { width: 44px; height: 44px; }

/* ---- Legal ---- */
.legal { padding-top: 7.5rem; padding-bottom: 4rem; }
.legal .container { max-width: 50rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; font-weight: 800; margin: 2rem 0 .7rem; }
.legal h3 { font-size: 1.1rem; font-weight: 800; margin: 1.3rem 0 .5rem; }
.legal p, .legal li { color: var(--c-text); line-height: 1.65; }
.legal p + p { margin-top: .75rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin: .5rem 0; }
.legal a { color: var(--c-accent-dark); font-weight: 700; }
.dark .legal a { color: var(--c-accent); }
.legal .stand { color: var(--c-muted); font-size: .9rem; margin-top: 2.5rem; }
.legal .note { background: var(--c-surface); border-radius: var(--r-sm); padding: 1rem 1.25rem; color: var(--c-muted); font-size: .95rem; }

/* ---- Util ---- */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible, html:not(.js) .fade-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } .btn:hover { transform: none; } html { scroll-behavior: auto; } }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.small { font-size: .9rem; }
