/* Farben aus dem App-Icon: Petrol, Creme, Mint. Graphit für die Erwachsenenwelt. */
:root {
  --petrol: #0e4148;
  --petrol-deep: #082a30;
  --graphit: #141c1f;
  --cream: #f3ecdf;
  --mint: #5fe3b3;
  --ink: #121a1c;
  --muted: #a9c0c1;
  --line: rgba(243, 236, 223, .14);
  --gap-s: 10px;
  --gap-m: 22px;
  --gap-l: 64px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--petrol-deep);
  color: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1040px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

/* Kopf */
header.top { display: flex; align-items: center; gap: 14px; padding-block: 22px; flex-wrap: wrap; }
header.top img { width: 48px; height: 48px; border-radius: 11px; }
header.top .name { font-size: 1.25rem; font-weight: 700; }
header.top .sub { color: var(--muted); font-size: .88rem; }
nav.menu { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; font-size: .95rem; }
nav.menu a { color: var(--cream); opacity: .75; }
nav.menu a.active, nav.menu a:hover { opacity: 1; color: var(--mint); text-decoration: none; }

/* Bühne oben: das Bild trägt allein, die Schrift steht darunter und überdeckt nichts */
.hero { position: relative; margin: 0 auto; max-width: 1240px; }
.hero img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; object-position: 50% 35%; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(to bottom, rgba(8, 42, 48, 0), var(--petrol-deep));
  pointer-events: none;
}
.intro { padding-block: 8px 0; }
.intro h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; margin: 0 0 14px; max-width: 18ch; text-wrap: balance; }
.intro p { margin: 0; font-size: 1.15rem; max-width: 56ch; }

h2 { font-size: 1.7rem; line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
h3 { font-size: 1.05rem; margin: 22px 0 6px; }
p { margin: 0 0 14px; max-width: 64ch; }
.note { color: var(--muted); font-size: .95rem; }

section { padding-block: var(--gap-l) 0; }

/* Zwei Welten: links Kinder auf Petrol, rechts Erwachsene auf Graphit */
.welten { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 14px; overflow: hidden; margin-top: var(--gap-m); }
.welt { padding: 28px 26px 30px; min-width: 0; }
.welt.kind { background: var(--petrol); }
.welt.erw { background: var(--graphit); }
.welt h3 { margin-top: 0; font-size: 1.25rem; }
.welt ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.welt li { margin: 4px 0; }
.phones { display: flex; gap: 12px; margin-bottom: 20px; }
.phones img { width: calc(50% - 6px); max-width: 220px; }

.phone {
  display: block; height: auto; max-width: 100%; border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

/* Bild und Text nebeneinander, mal links, mal rechts */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.split.links { grid-template-columns: .85fr 1.15fr; }
.split > div { min-width: 0; }
.split .phone { width: 100%; max-width: 290px; margin-inline: auto; }
.techniken { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.techniken li { border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; font-size: .9rem; color: var(--cream); }

.preis { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 26px; display: grid; grid-template-columns: auto 1fr; gap: 10px 36px; align-items: baseline; }
.preis .betrag { font-size: 2.6rem; font-weight: 700; color: var(--mint); font-variant-numeric: tabular-nums; line-height: 1; }
.preis p { margin: 0; }

.card { background: rgba(243, 236, 223, .05); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; margin: 18px 0; }

footer { margin-top: var(--gap-l); padding-block: 18px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lang { margin-left: auto; }

/* Unterseiten (Support, Datenschutz) */
.page h1 { font-size: 2rem; line-height: 1.15; margin: 28px 0 12px; }
.page h2 { font-size: 1.25rem; margin: 34px 0 10px; }
p.lead { font-size: 1.12rem; }

@media (max-width: 820px) {
  .welten { grid-template-columns: 1fr; }
  .split, .split.links { grid-template-columns: 1fr; gap: 28px; }
  .split.links > div:first-child { order: 2; }
  .preis { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  nav.menu { margin-left: 0; width: 100%; }
  .hero img { max-height: none; }
  .intro p { font-size: 1.02rem; }
}

/* ---------- Ausbau 09.11.2026: Bänder, Roboter, Gewinn, Profile, Motive ---------- */
.band { margin-top: var(--gap-l); padding-block: 48px; }
.band.creme { background: var(--cream); color: var(--ink); }
.band.creme p, .band.creme .note { color: #3b4a4c; }
.band.graphit { background: var(--graphit); }
.band section { padding-block: 0; }

.intro-zeile { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.intro-zeile .rig { width: 170px; }

.roboter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 26px; }
.roboter figure { margin: 0; text-align: center; min-width: 0; }
.roboter .rig { max-width: 150px; }
.roboter figcaption { font-size: .9rem; color: #3b4a4c; margin-top: 4px; }

.gewinn { display: grid; grid-template-columns: auto auto 1fr; gap: 24px; align-items: center; }
.gewinn .phone { width: 230px; max-width: 100%; }
.gewinn > div { min-width: 0; }
.medaillen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.medaillen img { width: 52px; height: 52px; }
.medaillen.erw { margin-top: 6px; }

.avatare { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 22px; }
.avatare img { width: 100%; max-width: 72px; height: auto; aspect-ratio: 1; border-radius: 50%; display: block; margin: 0 auto; border: 3px solid var(--mint); }
.avatare img.kind { border-color: #ec4899; }
.avatare img.kind:nth-child(3n) { border-color: #f59e0b; }
.avatare img.kind:nth-child(4n) { border-color: #3b82f6; }
.avatare img.erw { border-color: #14b8a6; }
.avatare img.erw:nth-child(3n) { border-color: #a9c0c1; }

.motive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.motive figure { margin: 0; min-width: 0; }
.motive img { width: 100%; height: auto; border-radius: 12px; display: block; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; }
.motive figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }

.preis-zeile { display: grid; grid-template-columns: 1fr 220px; gap: 36px; align-items: center; }
.preis-zeile .phone { width: 100%; }

@media (max-width: 820px) {
  .roboter { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .gewinn { grid-template-columns: 1fr 1fr; }
  .gewinn > div { grid-column: 1 / -1; }
  .gewinn .phone { width: 100%; }
  .avatare { grid-template-columns: repeat(6, 1fr); }
  .motive { grid-template-columns: repeat(2, 1fr); }
  .preis-zeile { grid-template-columns: 1fr; }
  .preis-zeile .phone { max-width: 240px; }
}
@media (max-width: 560px) {
  .intro-zeile { grid-template-columns: 1fr; }
  .intro-zeile .rig { width: 110px; }
  .avatare { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Bewegung (09.11.2026): treibende Glaskacheln, Kamerafahrt, atmender Roboter ---------- */
.buehne { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.buehne::before {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; left: -20vmax; top: -25vmax;
  background: radial-gradient(circle, rgba(95, 227, 179, .16) 0%, rgba(95, 227, 179, 0) 62%);
  animation: schein 38s ease-in-out infinite alternate;
}
.buehne i {
  position: absolute; display: block; border-radius: 22%;
  border: 1px solid rgba(243, 236, 223, .10);
  background: linear-gradient(160deg, rgba(243, 236, 223, .07), rgba(243, 236, 223, .015));
  animation: treiben var(--d, 50s) ease-in-out infinite alternate;
}
@keyframes treiben {
  from { transform: translate(0, 0) rotate(var(--r0, 0deg)); }
  to   { transform: translate(var(--x, 40px), var(--y, -60px)) rotate(var(--r1, 12deg)); }
}
@keyframes schein {
  from { transform: translate(0, 0); }
  to   { transform: translate(60vw, 70vh); }
}
.hero { overflow: hidden; }
.hero img { animation: fahrt 26s ease-in-out infinite alternate; transform-origin: 30% 60%; }
@keyframes fahrt { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -1%); } }
@keyframes atmen { 0%, 100% { transform: scale(1, 1) rotate(-.6deg); } 50% { transform: scale(1.01, 1.035) rotate(.6deg); } }
@keyframes huepfen { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-10px) scale(.98, 1.03); } 60% { transform: translateY(0) scale(1.03, .97); } }
@keyframes winken { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg) translateY(-3px); } }
.gewinn .phone:first-child { animation: schweben 6s ease-in-out infinite; }
.gewinn .phone:nth-child(2) { animation: schweben 6s ease-in-out -3s infinite; }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.medaillen img, .avatare img { transition: transform .2s ease; }
.medaillen img:hover, .avatare img:hover { transform: scale(1.1) rotate(-4deg); }
/* Hereingleiten beim Scrollen: nur wenn das Skript läuft (.js) und das Element noch nicht sichtbar war */
.js .gleiten { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .gleiten.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .buehne::before, .buehne i, .hero img, .gewinn .phone { animation: none !important; }
  .js .gleiten { opacity: 1; transform: none; transition: none; }
}

/* ---------- Verkaufsseite (09.11.2026): Knopf, Vertrauen, Vergleich, Fragen ---------- */
.top .cta-klein { margin-left: auto; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mint); color: var(--ink); font-weight: 700; font-size: 1.08rem;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(95, 227, 179, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(95, 227, 179, .35); }
.cta.leise { background: transparent; color: var(--cream); border: 1px solid var(--line); box-shadow: none; }
.cta-klein .cta { padding: 9px 16px; font-size: .95rem; }
.cta-zeile { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.cta-hinweis { color: var(--muted); font-size: .92rem; margin-top: 10px; }

.vertrauen { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; list-style: none; color: var(--cream); font-size: .95rem; }
.vertrauen li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 8px; vertical-align: middle; }

.vergleich { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 1rem; }
.vergleich th, .vergleich td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vergleich th { font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.vergleich td:last-child { color: var(--mint); font-weight: 600; }
.vergleich td:nth-child(2) { color: var(--muted); }
.tabelle { overflow-x: auto; }

.zitat { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; font-weight: 700; max-width: 26ch; text-wrap: balance; }
.band.creme .zitat { color: var(--ink); }

.fragen details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.fragen summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; float: right; color: var(--mint); font-weight: 700; }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin: 10px 0 0; color: var(--muted); }

.schluss { text-align: left; }
.schluss .zitat { color: var(--cream); }

.roboter.drei { grid-template-columns: repeat(3, 1fr); max-width: 520px; }
@media (max-width: 820px) { .roboter.drei { grid-template-columns: repeat(3, 1fr); } }
/* Zwei Telefone nebeneinander in einer Spalte: jedes halb so breit (gewinnt gegen .split .phone) */
.split .phones { margin-bottom: 0; justify-content: center; }
.split .phones .phone { width: calc(50% - 6px); max-width: 240px; margin-inline: 0; }

/* ---------- Feinschliff (10.11.2026): Luft, Schrift, Heldbild ohne Rand, mitlaufender Kopf ---------- */
:root { --gap-l: clamp(76px, 9vw, 124px); --band: clamp(64px, 8vw, 104px); }
body { font-size: 1.0625rem; }
p { line-height: 1.68; max-width: 60ch; margin-bottom: 18px; }
.note, .cta-hinweis { line-height: 1.6; }

h1, h2, .zitat { letter-spacing: -.018em; }
.intro h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; margin-bottom: 20px; max-width: 16ch; }
.intro p { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: rgba(243, 236, 223, .86); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); line-height: 1.1; margin-bottom: 20px; max-width: 22ch; }
.zitat { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.18; max-width: 22ch; }
section { scroll-margin-top: 96px; }
.band { padding-block: var(--band); }

/* Kopf läuft mit, damit „Testen“ immer erreichbar ist */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 42, 48, .74);
  -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(243, 236, 223, .08);
}
.kopf header.top { padding-block: 12px; }
.kopf header.top img { width: 40px; height: 40px; border-radius: 9px; }
.kopf header.top .name { font-size: 1.12rem; }

/* Heldbild: keine Kante mehr, es läuft an allen Seiten weich in den Hintergrund aus */
.hero { max-width: 1440px; margin-top: 0; }
.hero::after { content: none; }
.hero {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 74%, transparent 100%);
          mask-composite: intersect;
}
.hero img { max-height: 680px; }
.intro { margin-top: -36px; position: relative; }

/* Hintergrundkacheln: leiser, damit sie nie wie ein Fehler über dem Text wirken */
.buehne i { border-color: rgba(243, 236, 223, .07); background: linear-gradient(160deg, rgba(243, 236, 223, .05), rgba(243, 236, 223, .01)); }

/* Knöpfe und Vertrauenszeile */
.cta-zeile { margin-top: 30px; gap: 14px; }
.intro .cta { padding: 16px 28px; font-size: 1.12rem; }
.vertrauen { margin-top: 28px; gap: 10px 22px; color: rgba(243, 236, 223, .82); }

/* Vergleich: Quadrino-Spalte leicht hinterlegt */
.vergleich { margin-top: 28px; font-size: 1.02rem; }
.vergleich th, .vergleich td { padding: 16px 18px; }
.vergleich tbody th { text-transform: none; letter-spacing: 0; font-size: 1.02rem; color: var(--cream); font-weight: 600; }
.vergleich thead th:last-child, .vergleich td:last-child { background: rgba(95, 227, 179, .07); }
.vergleich thead th:last-child { color: var(--mint); border-radius: 12px 12px 0 0; }
.vergleich tbody tr:last-child td:last-child { border-radius: 0 0 12px 12px; }

/* Bänder und Abschnitte */
.split { gap: clamp(36px, 6vw, 80px); }
.roboter.drei { margin-top: 30px; }
.medaillen { margin-top: 22px; gap: 10px; }
.techniken { margin-top: 22px; }
.gewinn { gap: clamp(20px, 3vw, 36px); }
.avatare { margin-top: 32px; gap: 14px; }
.preis { padding-block: 32px; margin-top: 8px; }
.preis .betrag { font-size: clamp(2.8rem, 6vw, 4rem); }
.fragen details { padding: 18px 0; }
.fragen summary { font-size: 1.1rem; }
.fragen details p { margin-top: 12px; }
.schluss .cta-hinweis { max-width: 56ch; }
footer { margin-top: var(--gap-l); padding-block: 26px 48px; }

@media (max-width: 820px) {
  .buehne i:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
  }
  .intro { margin-top: -12px; }
  .intro-zeile .rig { display: none; }
  .cta-zeile .cta { flex: 1 1 auto; justify-content: center; }
  /* Tabelle wird zu Zeilen: Merkmal oben, darunter beide Seiten nebeneinander */
  .vergleich thead { display: none; }
  .vergleich, .vergleich tbody { display: block; }
  .vergleich tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .vergleich th, .vergleich td { padding: 0; border: 0; background: none !important; }
  .vergleich tbody th { grid-column: 1 / -1; font-size: 1.05rem; }
  .vergleich td::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
  .avatare { grid-template-columns: repeat(8, 1fr); gap: 6px; }
  .avatare img { border-width: 2px; }
}

/* ---------- Ruhiger Hintergrund (10.11.2026): weiche Lichtflecken statt Kacheln, Bänder ohne harte Kante ---------- */
.buehne i {
  border: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--c), var(--a)) 0%, rgba(var(--c), 0) 68%);
  animation: treiben var(--d, 50s) ease-in-out infinite alternate;
}
@media (max-width: 820px) { .buehne i:nth-child(n+4) { display: block; } }
.band.graphit {
  background: linear-gradient(to bottom, rgba(20, 28, 31, 0) 0, var(--graphit) 22%, var(--graphit) 78%, rgba(20, 28, 31, 0) 100%);
  padding-block: calc(var(--band) * 1.4);
}
h2 { max-width: none; }
.split h2, .gewinn h2 { max-width: 20ch; }
.preis { align-items: center; }
