/* ============================================================================
   KIDZ.ME — Startseite (seit 10-11, Landingpage-Aufbau; USER mit Marketing)

   Telefon zuerst: in jedem Block zuerst das Bild, höchstens zwei Sätze Text, unten die feste Leiste (mobil.js, Preis +
   „Gestalten“). Breiter: zwei Spalten (Bild links, Text + Knopf rechts), Schrift ≥ 18 px, große Knöpfe.
   Jeder Block hat seinen eigenen hellen Grundton (ton-* aus gemeinsam.css → --ton-hauch).
   Kopf (.top/.logo) wie auf den Inhaltsseiten (dieselbe Regelmenge steht in buch.css, recht.css, seite.css, so-funktionierts.css).
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- 1 · Ansageleiste ---------- */
.ansage { background: var(--flieder-tief); color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .01em; }
.ansage ul { list-style: none; margin: 0 auto; padding: .38rem 1rem; display: flex; justify-content: center; gap: 2.2rem; flex-wrap: wrap; }

/* ---------- Kopf ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem clamp(1rem, 4vw, 3rem);
  background: rgba(250,249,253,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; }
.logo-bild { width: 132px; height: auto; }

/* ---------- Blöcke ---------- */
/* USER 10-11: „use more website width … that background colour needs to have opacity, so there are subtle background changes,
   but the consistency stays" — each block keeps its own tone, half see-through, so the wallpaper (motive.css) shows everywhere */
main > section:not(.weiter-schritt) { background: color-mix(in srgb, var(--ton-hauch, var(--sand)) 55%, transparent); padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2.5rem); }
.spalten, .innen { width: min(1360px, 100%); margin-inline: auto; }
.spalten { display: grid; gap: 1.4rem; align-items: center; }
.bild { margin: 0; min-width: 0; }
.bild img { border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.text { min-width: 0; }
h1 { font-family: var(--display); font-size: clamp(1.75rem, 4.4vw, 2.7rem); line-height: 1.12; text-wrap: balance; }
main h2 { font-family: var(--display); font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1.18; text-wrap: balance; margin-bottom: 1rem; }
.einleitung { color: var(--ink-soft); margin-bottom: 1.2rem; }
.mehr-zeile { margin-top: 1.2rem; }
.mehr { color: var(--blue); font-weight: 600; }
.mehr:hover { text-decoration: underline; text-underline-offset: 3px; }
.knopf-haupt.gross { font-size: 1.12rem; padding: .95rem 1.8rem; min-height: 54px; margin-top: 1.3rem; }

/* ---------- 2 · Held ---------- */
.held { padding-top: clamp(1.4rem, 4vw, 3.5rem) !important; }
/* Bühne für „Hoppel ist weg“ (hoppel.js/hoppel.css): .hoppel füllt ihren Rahmen, die Szenen sind in % gebaut */
.held-buehne { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.held-buehne img { box-shadow: none; background: none; border-radius: 0; }
.held .unter { margin-top: .9rem; color: var(--ink-soft); font-size: 1.08rem; }
.held .preiszeile { margin-top: .55rem; font-weight: 600; }
.held .vertrauen { margin-top: .7rem; font-size: .92rem; color: var(--ink-soft); }

/* ---------- 3 · So einfach geht's ---------- */
.drei { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.drei li { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem;
  display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
/* USER 10-11: the mascots instead of the small symbols — 1 girl painting, 2 boy with kite, 3 boy and girl reading */
.drei .figur { grid-row: span 2; width: auto; max-height: 96px; max-width: 110px; }   /* max-height: gemeinsam.css sets height:auto on img[width][height] */
.drei .marker { grid-row: span 2; font-size: 1.7rem; line-height: 1; width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--ton-hauch); color: var(--ton); font-weight: 700; }
.drei strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.drei span:last-child { color: var(--ink-soft); font-size: .95rem; }

/* ---------- 4 · Stimmen ---------- */
.stimmen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stimmen-liste li { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.stimmen-liste blockquote { margin: 0; font-family: var(--hand); font-size: 1.2rem; line-height: 1.35; }
.stimmen-liste cite { display: block; margin-top: .6rem; font-style: normal; color: var(--ink-soft); font-size: .9rem; }

/* ---------- 5 · Produkt ---------- */
.karussell { list-style: none; margin: 0; padding: 0 0 .4rem; display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.karussell li { flex: 0 0 88%; scroll-snap-align: start; position: relative; }
.karussell img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--radius); background: #fff; }
.karussell-knoepfe { display: none; justify-content: flex-end; gap: .5rem; margin-top: .5rem; }
.karussell-knoepfe button { font: inherit; font-size: 1.2rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--paper-card); color: var(--ink); }
.karussell-knoepfe button:hover { border-color: var(--ton); }
.karussell .stil { position: absolute; left: .6rem; bottom: .6rem; background: rgba(255,255,255,.92); border-radius: 999px;
  padding: .15rem .65rem; font-size: .85rem; font-weight: 600; }
.wischen { font-size: .8rem; color: var(--ink-faint); text-align: right; margin-top: .2rem; }
.haken { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; }
.haken li { padding-left: 1.7rem; position: relative; }
.haken li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--salbei-tief); font-weight: 700; }
.preis { font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.preis span { font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); }
.reihe { color: var(--ink-soft); margin-top: .25rem; }
.lieferzeit { margin-top: .7rem; font-size: .95rem; color: var(--ink-soft); }

/* ---------- 6 · Blick ins Buch ---------- */
.doppelseite { margin: 0; }
.doppelseite img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); background: #fff; }
.doppelseite figcaption { margin-top: 1rem; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.2rem; line-height: 1.7; }

/* ---------- 7 · Gefühl ---------- */
.gefuehl .bild img { max-height: 520px; width: auto; margin-inline: auto; box-shadow: none; background: none; }
.gefuehl .slogan { font-family: var(--hand); font-size: 1.5rem; color: var(--ton); margin-top: .4rem; }

/* ---------- 8 · Fragen ---------- */
.fragen details { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; }
.fragen summary { cursor: pointer; padding: .9rem 2.6rem .9rem 1.1rem; font-weight: 600; list-style: none; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--ton); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding: 0 1.1rem 1rem; color: var(--ink-soft); }
.fragen details a { color: var(--blue); text-decoration: underline; }

/* ---------- 9 · Geschenk ---------- */
.anlaesse { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.anlaesse a { display: flex; flex-direction: column; gap: .25rem; height: 100%; background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .9rem 1rem; }
.anlaesse a:hover { border-color: var(--ton); }
.anlaesse strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--ton); }
.anlaesse span { font-size: .92rem; color: var(--ink-soft); }

/* ---------- 10 · Schluss + Fuß ---------- */
.weiter-schritt { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.fuss { border-top: 1px solid var(--line); padding: 1rem 1.4rem; text-align: center; font-size: .85rem; color: var(--ink-faint); }
.fuss a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.fuss p + p { margin-top: .4rem; }

/* ---------- Platzhalter: nur in der Entwicklungskopie (start.js setzt html.ist-dev) ---------- */
.platzhalter, .platzhalter-bild { display: none !important; }
.ist-dev .platzhalter { display: block !important; font-size: .8rem; color: #8a5a00; background: #fff4d6; border: 1px dashed #d4a017;
  border-radius: var(--radius-sm); padding: .3rem .55rem; margin-top: .5rem; }
.ist-dev .platzhalter-bild { display: block !important; }
.ist-dev .platzhalter-bild span { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 2px dashed #d4a017; border-radius: var(--radius);
  background: #fff4d6; color: #8a5a00; font-size: .85rem; text-align: center; padding: 1rem; }

/* ---------- Telefon ---------- */
@media (max-width: 640px) {
  .ansage ul { display: block; position: relative; height: 1.5rem; padding: .38rem 1rem; box-sizing: content-box; text-align: center; }
  .ansage li { position: absolute; left: 0; right: 0; opacity: 0; transition: opacity .4s ease; }
  .ansage li.aktiv { opacity: 1; }
  .held .text, .produkt .text, .gefuehl .text { text-align: left; }
  .knopf-haupt.gross { width: 100%; justify-content: center; }
  .gefuehl .bild img { max-height: 340px; }
}
@media (prefers-reduced-motion: reduce) { .ansage li { transition: none; } }

/* ---------- Breiter: zwei Spalten, Bild links ---------- */
@media (min-width: 861px) {
  body { font-size: 18px; }
  .spalten { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); }
  .drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .drei li { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: .4rem; padding: 1.4rem 1.2rem; }
  .drei .marker { grid-row: auto; }
  .drei .figur { grid-row: auto; max-height: 170px; max-width: 100%; margin-bottom: .4rem; }
  .karussell li { flex-basis: 100%; }
  .karussell { scrollbar-width: none; }
  .karussell-knoepfe { display: flex; }
  .wischen { display: none; }
  .innen { width: min(1360px, 100%); }   /* USER 10-11: more width — the same as the two-column blocks */
}
