/* Zeichenroboter sales page – system fonts only, mobile first */
:root {
  --ink: #1d1b2f; --muted: #4a4760; --paper: #fffdf6; --cream: #fff6d6;
  --sun: #ffd43b; --pink: #d6336c; --blue: #1864ab; --green: #237032; --line: #e7dfc4;
  --radius: 1rem; --max: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gap { margin-top: 2rem; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* Top bar */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; font-size: .95rem; }
.brand { font-weight: 800; text-decoration: none; color: var(--ink); }
.lang a { margin-left: .75rem; }
.lang [aria-current] { font-weight: 700; color: var(--ink); text-decoration: none; }

/* Slim page header on the landing pages: stays at the top while scrolling (CSS only) */
.sitebar { position: sticky; top: 0; z-index: 5; background: var(--cream); border-bottom: 1px solid var(--line); }
.sitebar .topbar { padding: .45rem 0; }
.sitebar .topbar { gap: .6rem; }
.sitebar .brand { margin-right: auto; }
.sitebar .brand, .sitebar .button { white-space: nowrap; }
.sitebar .lang a { margin-left: .5rem; }
.sitebar .lang a:first-child { margin-left: 0; }

/* Hero: speaks to parents – headline, the two buttons, then the picture */
.hero { background: var(--cream); border-bottom: 4px dashed var(--sun); overflow: hidden; }
.hero .wrap { display: grid; gap: .75rem 2rem; padding-top: .75rem; padding-bottom: 2rem;
  grid-template-areas: "intro" "cta" "robot" "doodles"; }
.hero .intro { grid-area: intro; } .hero .stage { grid-area: robot; }
.hero .doodles { grid-area: doodles; } .hero .cta { grid-area: cta; margin: 0 0 .5rem; }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: 1.05; margin: .5rem 0 .25rem; letter-spacing: -.02em; }
.hero h1 span { color: var(--pink); }
.hero .kicker { font-size: clamp(1.05rem, 4.2vw, 1.25rem); margin: 0 0 .5rem; color: var(--muted); }
.stage { position: relative; }
.stage .robot { width: auto; max-width: min(80%, 26rem); max-height: min(30rem, 62vh); margin: 0 auto; padding-top: .5rem; }
.doodles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; max-width: 26rem; margin: 0; padding: 0; list-style: none; }
.doodles li { background: #fff; border-radius: .75rem; padding: .5rem; box-shadow: 0 2px 0 var(--line); text-align: center; font-size: .85rem; color: var(--muted); }
.doodles img { width: 100%; max-width: 4.5rem; aspect-ratio: 1; height: auto; object-fit: contain; margin: 0 auto .25rem; }

/* Buttons and price */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 1rem 0; }
.button { display: inline-block; background: var(--pink); color: #fff; font-weight: 700; font-size: 1.1rem;
  padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none; text-align: center; box-shadow: 0 3px 0 #a61e4d; }
.button:hover { background: #c2255c; }
.button.small { font-size: .9rem; padding: .4rem .9rem; box-shadow: 0 2px 0 #a61e4d; }
.button.ghost { background: #fff; color: #a61e4d; box-shadow: inset 0 0 0 2px var(--pink), 0 3px 0 var(--line); }
.button.ghost:hover { background: #fff0f5; }
.button.ghost:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cta .price { flex-basis: 100%; }
.price { font-size: 1rem; color: var(--muted); }

/* Sections */
section { padding: 2.5rem 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.2; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.lead { font-size: 1.15rem; max-width: 42rem; }
.cards { display: grid; gap: 1rem; padding: 0; list-style: none; margin: 1.5rem 0 0; }
.cards li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.cards li p { margin: 0; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-bottom: .25rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 1.25rem 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
/* "What you need": checklist with ticks next to the short facts */
.needs { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.needs > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.needs .facts { margin: .75rem 0 0; }
.checks { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: "✓"; content: "✓" / ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.35rem; text-align: center; }
/* Collapsible blocks (<details>, no JS): FAQ and the specs for makers */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
details + details { margin-top: .6rem; }
summary { cursor: pointer; font-weight: 700; padding: .85rem 0; }
summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
details[open] > summary { border-bottom: 1px solid var(--line); }
details > p:last-child { margin-bottom: 1rem; }
details .specs { margin: 0 0 .75rem; table-layout: fixed; }
details .specs th, details .specs td { overflow-wrap: break-word; hyphens: auto; }
.faq { max-width: 46rem; }
.diagram { border: 1px solid var(--line); border-radius: var(--radius); }
.split { display: grid; gap: 1.5rem; align-items: center; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.phone { max-width: 16rem; margin: 0 auto; border: 10px solid var(--ink); border-radius: 1.6rem; overflow: hidden; background: #fff; }
.specs { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 1rem; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
.specs th { width: 34%; }
.editions li h3 { color: var(--blue); }
/* Film (js/film.js): poster with a link; with JS a play button that loads the YouTube player on click */
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.film-poster { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.film-poster img, .film-frame iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.film-poster:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }
.film-cta { position: absolute; left: 50%; top: .75rem; transform: translateX(-50%); background: var(--pink); color: #fff; font-weight: 700;
  font-size: 1.1rem; padding: .8rem 1.4rem; border-radius: 999px; box-shadow: 0 3px 0 #a61e4d; width: max-content; max-width: 90%; text-align: center; }
.film-cta::before { content: "▶"; content: "▶" / ""; margin-right: .5em; }
.film-poster:hover .film-cta { background: #c2255c; }
.film-note { font-size: .9rem; color: var(--muted); margin: .5rem 0 0; }
.final { background: var(--cream); text-align: center; }
.final .cta { justify-content: center; }
footer { font-size: .9rem; color: var(--muted); padding: 2rem 0 3rem; }

@media (min-width: 48rem) {
  .hero .wrap { grid-template-columns: 1.1fr 1fr; align-items: start;
    grid-template-areas: "intro robot" "cta robot" "doodles robot"; }
  .hero .wrap { padding-top: 1.5rem; }
  .hero .stage { align-self: center; }
  .needs { grid-template-columns: 1fr 1fr; align-items: start; }
  .stage .robot { max-width: min(100%, 32rem); max-height: min(34rem, 72vh); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip > :first-child { order: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .doodles li { transition: transform .2s; }
  .doodles li:hover { transform: rotate(-3deg) scale(1.05); }
}

/* Turntable (js/drehscheibe.js): set up by JS */
.turntable-pending picture { display: block; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: var(--radius); }
.turntable-pending picture:active { cursor: grabbing; }
.turntable-pending picture:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.spin-hint { margin: .25rem 0 0; text-align: center; font-size: .9rem; font-weight: 700; color: var(--pink); }
.spin-hint::before, .spin-hint::after { content: "↔"; content: "↔" / ""; margin: 0 .4em; }

/* Mailing-list sign-up (plain HTML form, no third-party script) */
.signup { display: grid; gap: .75rem; max-width: 32rem; margin: 1.5rem auto 0; text-align: left; }
.signup-label { font-weight: 700; }
.signup input[type=email] { font: inherit; padding: .75rem 1rem; border: 2px solid var(--muted); border-radius: .75rem; background: #fff; width: 100%; }
.signup input[type=email]:focus-visible, .consent input:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .95rem; }
.consent input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: var(--pink); }
.signup .button { border: 0; cursor: pointer; font-family: inherit; justify-self: start; }
.signup .note { margin: 0; font-size: .9rem; color: var(--muted); }

/* Footer links and legal pages */
.legal-links { display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.draft { background: var(--cream); border-left: 4px solid var(--sun); padding: .75rem 1rem; }

/* Flasher pages (de/flashen.html, en/flash.html) */
.flash-box { background: var(--cream); border-left: 4px solid var(--sun); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.flash-box p { margin: .5rem 0 0; }
.flash-box .flash-warn { margin: 0 0 .9rem; }
.flash-steps li { margin-bottom: .5rem; }
