/* =====================================================================
   AnfrageStudio Landingpage
   Baut auf tokens.css auf (Farbsystem "Tinte & Limette").
   Mobile first: die Grundwerte gelten für das Handy, ab 880px wird
   auf zwei Spalten aufgeklappt.
   ===================================================================== */

/* ---- Schrift, selbst gehostet (kein Google-CDN, DSGVO) ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2"),
       url("../fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }

a { color: var(--accent); text-decoration: underline; transition: color .2s; }
a:hover { color: var(--accent-bright); }

img { max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nur für Screenreader */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Sprungmarke für die Tastaturbedienung */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 12px 20px;
  border-radius: var(--r-md); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ---- Wortmarke: "Anfrage" fett, "Studio" leicht ---- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; letter-spacing: -0.025em; line-height: 1;
  text-decoration: none; color: var(--wordmark-on-light);
}
.brand:hover { color: var(--wordmark-on-light); }
.brand img { width: 30px; height: 30px; display: block; }
.brand b { font-weight: 600; }
.brand span { font-weight: 400; color: var(--accent-bright); }

/* ---- Kopfzeile: nur die Wortmarke, bewusst ohne Menü ---- */
.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

/* ---- Bausteine ---- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.eyebrow-dark { color: var(--accent-deep); }

.section { padding: 56px 0; }
.section-band {
  background: var(--band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }

.lead { font-size: 17px; line-height: 1.7; max-width: 560px; }

.cards { display: grid; gap: 14px; margin-top: 28px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.card-on-band { background: var(--surface); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; font-size: 13.5px; line-height: 1.65; }

/* Nummernkachel der Drei-Schritte-Karten */
.step-num {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* ---- Knopf ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 26px;
  font-family: inherit; font-size: 15.5px; font-weight: 600; line-height: 1;
  border: 0; border-radius: var(--r-md); cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--c2); color: var(--c2-ink); box-shadow: var(--shadow-cta); }
/* Beim Überfahren NICHT --c2-bright: die helle Stufe trägt keine weiße Schrift (3.1:1). */
.btn-primary:hover { background: var(--c2-deep); color: var(--c2-ink); }
.btn:focus-visible { outline: 2px solid var(--c2); outline-offset: 2px; }

/* ---- Anmeldefeld: ein Feld, ein Knopf ---- */
.signup { margin-top: 26px; max-width: 520px; }
.signup-row { display: grid; gap: 10px; }
.signup input[type="email"] {
  width: 100%; min-height: 48px; padding: 13px 16px;
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color .2s;
}
.signup input[type="email"]:focus-visible {
  outline: 2px solid var(--c2); outline-offset: 2px; border-color: var(--c2);
}
.signup input[type="email"][aria-invalid="true"] { border-color: var(--err); }

.field-note { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.field-error {
  margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: var(--err);
  display: none;
}
.field-error.is-visible { display: block; }

.form-ok {
  margin: 14px 0 0; padding: 14px 16px;
  background: var(--c2-soft); border: 1px solid var(--c2-line); border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; color: var(--c2-deep);
  display: none;
}
.form-ok.is-visible { display: block; }

/* Die Werbe-Einwilligung ist getrennt, freiwillig und nicht vorausgewählt. */
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.consent input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; }
.consent label { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* Fangfeld gegen automatische Einträge. Bewusst nicht nur display:none,
   weil manche Programme genau darauf prüfen. */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden; opacity: 0;
}

/* ---- Hero ---- */
.hero { padding: 44px 0 52px; }
.hero h1 {
  font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  margin: 0 0 16px;
}
.hero .lead { margin: 0; }

.hero-figure {
  margin-top: 36px; height: 240px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--surface-2);
  background-image: repeating-linear-gradient(45deg,
    var(--accent-soft) 0 10px, transparent 10px 20px);
  display: flex; align-items: flex-end; padding: 16px;
}
/* min-width:0 als Absicherung: ein Flex-Element schrumpft sonst nie unter seine
   Textbreite. Ein langer Platzhalter- oder Bildtitel würde sonst die ganze
   Seite breiter machen als das Handy. */
.hero-figure span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px; color: var(--muted);
}

/* ---- Kurzantwort: der Absatz, den eine KI-Suche zitiert ---- */
.answer { padding: 32px 0; border-bottom: 1px solid var(--border-2); }
.answer p { font-size: 17px; line-height: 1.7; color: var(--ink); max-width: 780px; margin: 0; }

/* ---- Aufzählung mit Haken ---- */
.check-list { list-style: none; margin: 24px 0 0; padding: 0; max-width: 680px; }
.check-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  font-size: 15.5px; line-height: 1.6;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 11px;
  border-left: 2.5px solid var(--c2); border-bottom: 2.5px solid var(--c2);
  transform: rotate(-45deg);
}

/* ---- Video-Plätze ---- */
.videos { display: grid; gap: 16px; margin-top: 28px; }
.video-slot {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface-2); overflow: hidden;
}
.video-slot .frame {
  height: 200px; display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(45deg,
    var(--accent-soft) 0 10px, transparent 10px 20px);
  color: var(--muted); font-size: 13.5px;
}
.video-slot .cap { padding: 14px 18px; font-size: 13.5px; color: var(--body); }

/* ---- Preis ---- */
.price-card {
  border: 1px solid var(--c2-line); border-radius: var(--r-lg);
  background: var(--surface); padding: 28px; max-width: 560px; margin-top: 24px;
}
.price-now { font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.price-now small { font-size: 17px; font-weight: 600; color: var(--body); }
.price-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

/* ---- FAQ ---- */
.faq { margin-top: 28px; max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq summary {
  font-size: 16px; font-weight: 700; color: var(--ink);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
  min-height: 32px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); flex: 0 0 auto;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:focus-visible { outline: 2px solid var(--c2); outline-offset: 2px; }
.faq p { margin: 12px 0 0; font-size: 15px; line-height: 1.7; }

/* ---- Dunkles Abschlussband ---- */
.band-dark { background: var(--band-dark); padding: 52px 0; }
.band-dark h2 { color: var(--band-dark-ink); font-size: 28px; line-height: 1.25; max-width: 620px; }
.band-dark p { color: var(--band-dark-body); font-size: 15.5px; max-width: 560px; }
.band-dark .field-note { color: var(--band-dark-body); }
.band-dark .consent label { color: var(--band-dark-body); }
.band-dark .brand { color: var(--wordmark-on-dark); }
.band-dark .brand span { color: rgba(255,255,255,0.72); }
.band-dark a { color: var(--band-dark-ink); }

/* ---- Fuß ---- */
.site-foot {
  border-top: 1px solid var(--border);
  padding: 26px 0; font-size: 13px; color: var(--muted);
}
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* =====================================================================
   Ab 880px: zwei Spalten
   ===================================================================== */
@media (min-width: 880px) {
  .hero { padding: 60px 0 66px; }
  .hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 44px; align-items: center; }
  .hero h1 { font-size: 44px; }
  .hero-figure { margin-top: 0; height: 330px; }
  .section { padding: 58px 0; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .signup-row { grid-template-columns: 1fr auto; }
  .band-dark .band-inner { display: flex; gap: 36px; align-items: center; justify-content: space-between; }
}

/* Wer weniger Bewegung möchte, bekommt keine. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
