/* ============================================================
   nyx lightwork — gemeinsames Stylesheet für alle Seiten
   ------------------------------------------------------------
   WICHTIG: Keine externen Ressourcen einbinden (keine Google
   Fonts, kein CDN). Die Datenschutzerklärung sagt zu, dass beim
   Seitenaufruf keine Daten an Dritte übertragen werden — ein
   einziger externer Request macht diese Aussage unwahr.

   Daraus folgt die Schriftwahl: die Seite setzt bewusst auf die
   Systemschrift, nicht auf eine Wunschschrift. Hier stand früher
   'Inter' an erster Stelle des Stacks, ohne dass die Schrift je
   geladen wurde — sie wäre nur bei den wenigen Besuchern
   erschienen, die sie zufällig installiert haben, alle anderen
   sahen den Fallback. Wer das ändern will, muss eine .woff2
   selbst mitliefern (@font-face auf eine lokale Datei); ein
   Google-Fonts-@import bricht die Zusage oben.
   ============================================================ */

:root {
  --bg:            #0f1117;
  --bg-raised:     #161b27;
  --bg-sunken:     #0a0c12;
  --border:        #2d3748;
  --border-light:  #4a5568;

  --gold:          #f7c948;
  --gold-soft:     #f6ad55;

  --text:          #e2e8f0;
  --text-sec:      #a0aec0;
  --text-muted:    #8b97a8;   /* Fließtext — bewusst heller als früher (#718096), AA auf --bg-raised */
  --text-dim:      #7a869a;   /* Kleingedrucktes, Footer */

  --radius:        8px;
  --radius-sm:     6px;

  --maxw:          1060px;
  --maxw-text:     760px;

  /* system-ui zuerst (SF Pro auf macOS, Segoe UI auf Windows); die beiden
     -apple-/Blink-Namen dahinter fangen ältere Safari/Chrome ab, die
     system-ui noch nicht kennen. */
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* ui-monospace zuerst — nur darüber ist SF Mono auf macOS erreichbar;
     unter dem Namen 'SFMono-Regular' ist sie es nicht zuverlässig. */
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Der Icon-Sprite steht als erstes Element im body und darf keinen
   Platz beanspruchen — display:none wuerde die Symbole in manchen
   Browsern unreferenzierbar machen, deshalb aus dem Fluss nehmen. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
}

/* ── Header ─────────────────────────────────────────────── */

/* Klebrig, damit der „Frueher Zugang"-CTA auf der langen Funktionsliste
   nie ausser Reichweite geraet — der einzige Aufruf lag vorher im Hero
   und danach erst wieder ~2500px weiter unten. */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 2rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand .mark {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
}

.badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.nav-links a { color: var(--text-sec); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--gold); }

.nav-links a.nav-cta {
  color: var(--gold);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
}
.nav-links a.nav-cta:hover {
  border-color: var(--gold);
  background: rgba(247, 201, 72, 0.08);
  color: var(--gold);
}

/* ── Main / Hero ────────────────────────────────────────── */

main { flex: 1; }

/* .hero ist die gemeinsame Basis fuer alle Seiten; die Startseite ergaenzt
   .hero-home. Ohne diese Trennung erben How-To und FAQ die grosse Polsterung,
   den Schein und die weisse Ueberschrift der Startseite — dort soll der Titel
   aber gold bleiben, wie .page-title im Impressum. */
.hero {
  position: relative;
  padding: 4rem 2rem 2.5rem;
  max-width: var(--maxw-text);
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-wrap: balance;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-sec);
  max-width: 620px;
  margin: 0 auto 1.8rem;
  text-wrap: pretty;
}

/* ── Hero, nur Startseite ───────────────────────────────── */

.hero-home {
  padding: 5.5rem 2rem 4rem;
  max-width: 900px;
}

/* Zurueckhaltender Schein hinter dem Hero — der einzige „Effekt" auf der
   Seite. Rein dekorativ, deshalb pointer-events:none und hinter allem. */
.hero-home::before {
  content: '';
  position: absolute;
  inset: -2rem 0 40%;
  background: radial-gradient(ellipse 60% 100% at 50% 20%, rgba(247, 201, 72, 0.07), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}

/* Zweifarbige Zeile: Aussage weiss, Bezug gold — gibt der Startseite eine
   Hierarchie, die eine durchgehend goldene H1 nicht hat. */
.hero-home h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-home h1 .h1-accent { color: var(--gold); }

.hero-home p.lead {
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  /* min. 44px hohe Trefferflaeche (Touch-Richtwert) */
  min-height: 44px;
  padding: 0.65rem 1.5rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover { background: #ffe066; }

.btn-secondary {
  background: transparent;
  color: var(--text-sec);
  border-color: var(--border-light);
}
.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta .sep { color: var(--border-light); }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48bb78;
  display: inline-block;
  flex-shrink: 0;
}

/* ── Screenshots ────────────────────────────────────────── */

/* Gemeinsamer Rahmen fuer alle Produktbilder. Die Bilder tragen im Markup
   width/height, damit der Platz vor dem Laden reserviert ist und die Seite
   beim Nachladen nicht springt. */
.shot img,
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-sunken);
}

.shot figcaption,
.hero-shot figcaption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.hero-shot {
  max-width: var(--maxw);
  margin: 0 auto 4.5rem;
  padding: 0 2rem;
}

.hero-shot img { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }

/* ── Bebilderte Abschnitte ──────────────────────────────── */

.showcase {
  max-width: var(--maxw);
  margin: 0 auto 4.5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 2.5rem;
  align-items: center;
}

/* Abwechselnde Seiten. Nur die Spaltenzuweisung wird getauscht, nicht die
   Reihenfolge im Markup — so bleibt Text vor Bild fuer Screenreader und
   fuer den einspaltigen Umbruch.
   WICHTIG: Die Spurbreiten muessen mitgetauscht werden. Wird nur die
   Position getauscht, landet das Bild in der schmalen Textspalte und
   schrumpft — die breite Spur gehoert immer zum Bild. */
.showcase-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.showcase-flip .showcase-text { grid-column: 2; grid-row: 1; }
.showcase-flip .shot          { grid-column: 1; grid-row: 1; }

.showcase-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.showcase-text h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  text-wrap: balance;
}

.showcase-text p {
  font-size: 0.98rem;
  color: var(--text-sec);
  line-height: 1.65;
  text-wrap: pretty;
}

.shot figcaption { text-align: left; }

/* ── Features ───────────────────────────────────────────── */

.features-head {
  max-width: var(--maxw-text);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.features-head h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.features-head p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.features {
  padding: 1rem 2rem 3rem;
  max-width: var(--maxw);
  margin: 0 auto;
  /* Der Header klebt — sonst verschwindet das Sprungziel #features darunter. */
  scroll-margin-top: 5rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 1.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.section-label::before {
  content: '';
  width: 3px;
  height: 0.85em;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.feature-group { margin-bottom: 3rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  background: #19202f;
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.feature-card .icon {
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.feature-card h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: -0.005em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Hinweis-Banner ─────────────────────────────────────── */

.notice {
  max-width: var(--maxw-text);
  margin: 0 auto 3.5rem;
  background: #1a1600;
  border: 1px solid #3d3000;
  border-left: 3px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.notice .notice-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-soft);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.notice h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}

.notice p {
  font-size: 0.9rem;
  color: #c2a367;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice a { color: var(--gold-soft); font-weight: 600; }

.notice .notice-cta {
  margin-top: 1rem;
  color: var(--bg);
}
.notice .notice-cta:hover { text-decoration: none; }

/* ── Schritte (How-To) ──────────────────────────────────── */

.steps-section {
  padding: 1rem 2rem 3rem;
  max-width: var(--maxw-text);
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  align-items: flex-start;
}

.step-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.15rem;
  min-width: 2rem;
}

.step-body { min-width: 0; flex: 1; }

.step-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.step-body p, .step-body li {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-body ul, .step-body ol { margin: 0.5rem 0 0 1.1rem; }
.step-body li { margin-bottom: 0.25rem; }

.platform-tabs { margin-top: 0.75rem; }

.platform-tabs details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  overflow: hidden;
}

.platform-tabs summary {
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sec);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.platform-tabs summary::-webkit-details-marker { display: none; }

.platform-tabs summary::before {
  content: '▶';
  font-size: 0.6rem;
  color: var(--text-dim);
}

.platform-tabs details[open] summary::before {
  content: '▼';
  color: var(--gold);
}

.platform-tabs details[open] summary { color: var(--text); }

.platform-body {
  padding: 0.6rem 0.9rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border);
}

.platform-body ol { margin-left: 1.1rem; }
.platform-body li { margin-bottom: 0.25rem; }

code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  color: var(--text-sec);
  word-break: break-word;
}

.note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
}

.subhead {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

/* ── Tabellen ───────────────────────────────────────────── */

.trouble-section {
  padding: 0 2rem 3.5rem;
  max-width: var(--maxw-text);
  margin: 0 auto;
}

.table-wrap {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  /* Schmale Viewports: die Tabelle scrollt in sich, statt die Seite zu sprengen */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 420px;
}

th {
  text-align: left;
  padding: 0.6rem 1rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #1e2535;
  color: var(--text-muted);
  vertical-align: top;
}

td:first-child {
  color: var(--text-sec);
  font-weight: 500;
  width: 45%;
}

tr:last-child td { border-bottom: none; }

/* ── FAQ ────────────────────────────────────────────────── */

.faq-section {
  padding: 1rem 2rem 3.5rem;
  max-width: var(--maxw-text);
  margin: 0 auto;
}

.faq-section > .section-label { margin-top: 2rem; }
.faq-section > .section-label:first-child { margin-top: 0; }

.faq-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.faq-item[open] { border-color: #3d4f6b; }

.faq-item summary {
  padding: 1rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '−'; color: var(--gold); }
.faq-item[open] summary { color: var(--gold); }

.faq-answer {
  padding: 0.9rem 1.3rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border);
}

.faq-answer p + p { margin-top: 0.6rem; }
.faq-answer ul { margin: 0.5rem 0 0 1.1rem; }
.faq-answer li { margin-bottom: 0.25rem; }

/* ── Rechtstexte ────────────────────────────────────────── */

.legal-main {
  flex: 1;
  max-width: var(--maxw-text);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  width: 100%;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.page-subtitle {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.toc {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.toc a {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  background: var(--bg-raised);
}

.toc a:hover {
  color: var(--text);
  text-decoration: none;
  border-color: var(--border-light);
}

/* 5rem statt 1.5rem: der Header klebt jetzt, das Sprungziel muss darunter frei stehen. */
.legal-section { margin-bottom: 3rem; scroll-margin-top: 5rem; }

.legal-section h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sec);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.legal-section p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-section ul {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}

.legal-section ul li { margin-bottom: 0.3rem; }

.address-block {
  font-size: 0.85rem;
  color: var(--text-sec);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.address-block strong { color: var(--text); }

.legal-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ── Footer ─────────────────────────────────────────────── */

footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  gap: 1rem;
  flex-wrap: wrap;
}

footer strong { color: var(--text-muted); font-weight: 600; }

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-dim); font-size: 0.75rem; }
.footer-links a:hover { color: var(--text-sec); text-decoration: none; }

.footer-sep { color: var(--border); }

/* ── Responsiv ──────────────────────────────────────────── */

/* Eigener, frueherer Umbruch fuer die bebilderten Abschnitte: zweispaltig
   bleibt unterhalb ~900px nichts uebrig — die Textspalte faellt auf gut
   280px (Flatterrand alle vier Woerter) und der Screenshot wird zu klein,
   um noch etwas zu zeigen. Der uebrige Mobil-Umbruch bei 640px ist dafuer
   zu spaet. */
@media (max-width: 900px) {
  .showcase,
  .showcase-flip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .showcase-flip .showcase-text,
  .showcase-flip .shot { grid-column: 1; grid-row: auto; }
}

@media (max-width: 640px) {
  /* Auf schmalen Viewports umbricht die Navigation in eine zweite Zeile —
     ein klebriger Header fraesse dann zuviel vom Bildschirm. */
  header { position: static; padding: 0.7rem 1.1rem; }
  .nav-links { gap: 1rem; font-size: 0.85rem; width: 100%; }

  .hero { padding: 2.5rem 1.25rem 1.75rem; }
  .hero-home { padding: 3rem 1.25rem 2.25rem; }

  /* Einspaltig ist hier schon erledigt (900px-Block oben) — bleibt der
     schmalere Seitenrand. */
  .showcase { padding: 0 1.25rem; margin-bottom: 3rem; }
  .hero-shot { padding: 0 1.25rem; margin-bottom: 3rem; }
  .features, .steps-section, .faq-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .trouble-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .legal-main { padding: 2rem 1.25rem 3rem; }
  .notice { margin-left: 1.25rem; margin-right: 1.25rem; }

  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }

  /* align-items: stretch ist hier Pflicht: in Spaltenrichtung würde flex-start
     die Kinder auf Inhaltsbreite wachsen lassen — die Tabelle im .table-wrap
     sprengt dann die Seite, statt in sich zu scrollen. */
  .step { flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 1.2rem; }
  .step-number { padding-top: 0; }
  .step-body { width: 100%; }

  footer { flex-direction: column; align-items: flex-start; padding: 1.2rem 1.25rem; }
  footer span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
