/* FluxDance — Stylesheet der statischen SEO-Landingpages.
 *
 * Werte 1:1 aus packages/design-tokens/globals.css (dort ist die Quelle der
 * Wahrheit). Die statischen Seiten liegen ausserhalb des Vite-Builds und
 * koennen das Package nicht importieren, darum hier gespiegelt — als HSL-
 * Tripel in derselben Schreibweise, damit ein Abgleich trivial bleibt.
 * Aendert sich das Brand, ist DIESE Datei nachzuziehen (nicht 8 HTML-Dateien).
 *
 * Body-Schrift Montserrat kommt aus /fonts/fonts.css. Anton (Display) wird
 * hier deklariert, weil fonts.css es nicht enthaelt — die woff2 liegen bereits
 * unter /fonts/. */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/anton-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/anton-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: 280 40% 10%;
  --foreground: 280 10% 98%;
  --card: 280 40% 14%;
  --muted: 280 20% 12%;
  --border: 280 25% 22%;
  --primary: 10 90% 72%;
  --primary-foreground: 10 90% 10%;
  --muted-foreground: 280 10% 70%;
}

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

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
}

/* ---------- Layout ---------- */
.wrap   { max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.narrow { max-width: 820px;  margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.module { padding-block: clamp(56px, 7vw, 96px); }
.hero-pad { padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Typografie ---------- */
.section-title {
  font-family: 'Anton', 'Archivo Narrow', sans-serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  color: hsl(var(--foreground));
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.hero-title { font-size: clamp(2.25rem, 6vw, 4rem); }
/* Im Hero traegt .hero-sub bereits den Abstand */
.hero-pad .hero-title { margin-bottom: 0; }
/* Akzent im Titel: Koralle, ohne Kursive (Anton hat keine) */
.section-title em { color: hsl(var(--primary)); font-style: normal; }

.hero-sub {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: hsl(var(--muted-foreground));
  max-width: 52ch;
  margin-top: clamp(20px, 2.5vw, 32px);
  text-wrap: pretty;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 14px;
}

/* Fliesstext */
.prose p, .prose li {
  color: hsl(var(--muted-foreground));
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 68ch;
}
.prose p { margin-bottom: 1.25rem; }
.prose > h2 { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 1rem; }
.prose > h3 {
  font-size: 1.1875rem; font-weight: 700; color: hsl(var(--foreground));
  margin-top: 2rem; margin-bottom: .6rem; letter-spacing: -0.01em;
}
.prose strong { color: hsl(var(--foreground)); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.5rem 1.25rem; }
.prose li { margin-bottom: .6rem; }
.prose a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }

a { color: inherit; text-decoration: none; transition: color 180ms ease, border-color 180ms ease; }

/* ---------- Karten ---------- */
.card-grid { display: grid; gap: 1.5rem; margin: clamp(32px, 4vw, 48px) 0; }
@media (min-width: 760px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: clamp(24px, 3vw, 34px);
  transition: border-color 200ms cubic-bezier(.2,.6,.2,1);
}
.card:hover { border-color: hsl(var(--primary) / 0.35); }
.card h3 { font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: .65rem; letter-spacing: -0.01em; }
.card p  { color: hsl(var(--muted-foreground)); font-size: 1rem; line-height: 1.65; margin: 0; }
.card a  { color: hsl(var(--primary)); font-weight: 600; }

/* Nummerierte Schritte: Alternative zum Kartenraster */
.steps { list-style: none; margin: clamp(32px,4vw,48px) 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.75rem;
  color: hsl(var(--muted-foreground));
  max-width: 68ch;
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -.15rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  color: hsl(var(--primary) / 0.45);
}
.steps strong { display: block; color: hsl(var(--foreground)); font-weight: 600; margin-bottom: .25rem; }

/* Zwei-Spalten-Split: Alternative zum Kartenraster */
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }

/* Ruhiger Textblock, bewusst ohne Karte */
.statement {
  border-left: 2px solid hsl(var(--primary) / 0.5);
  padding-left: clamp(18px, 2.5vw, 28px);
  margin: clamp(36px, 4vw, 56px) 0;
}
.statement p { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: hsl(var(--foreground)); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  padding: 15px 26px; min-height: 44px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1;
  transition: background 200ms cubic-bezier(.4,0,.2,1), color 200ms cubic-bezier(.4,0,.2,1), border-color 200ms cubic-bezier(.4,0,.2,1);
}
.btn-pill-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-pill-primary:hover { background: hsl(var(--primary) / 0.9); color: hsl(var(--primary-foreground)); }
.btn-pill-outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
.btn-pill-outline:hover { border-color: hsl(var(--foreground)); background: hsl(var(--foreground) / 0.04); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }

/* ---------- FAQ (Typografie statt Icons) ---------- */
.faq { margin: clamp(28px, 3.5vw, 44px) 0; max-width: 820px; }
.faq-item { border-bottom: 1px solid hsl(var(--border)); padding: 1.4rem 0; }
.faq-item:first-of-type { border-top: 1px solid hsl(var(--border)); }
.faq-item dt { font-weight: 700; font-size: 1.0625rem; color: hsl(var(--foreground)); margin-bottom: .5rem; letter-spacing: -0.01em; }
.faq-item dd { color: hsl(var(--muted-foreground)); line-height: 1.7; max-width: 68ch; }

/* ---------- Weiterlesen ---------- */
.readmore { margin: clamp(40px, 5vw, 64px) 0 0; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid hsl(var(--border)); }
.readmore h2 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.readmore ul { list-style: none; margin: 0; padding: 0; }
.readmore li { margin-bottom: .7rem; }
.readmore a { color: hsl(var(--primary)); font-weight: 600; }
.readmore a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta { margin: clamp(48px, 6vw, 80px) 0 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid hsl(var(--border)); text-align: center; }
.cta p { color: hsl(var(--muted-foreground)); margin: 1rem auto 0; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid hsl(var(--border)); margin-top: clamp(56px, 7vw, 96px); padding: clamp(32px, 4vw, 48px) 0; }
.site-footer p { color: hsl(var(--muted-foreground)); font-size: .875rem; text-align: center; }
.footer-links { margin-top: 1.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; }
.footer-links a { color: hsl(var(--muted-foreground)); font-size: .875rem; }
.footer-links a:hover { color: hsl(var(--foreground)); }

/* ---------- Zugaenglichkeit ---------- */
a:focus-visible, .btn-pill:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
