/* ═══════════════════════════════════════════════════════════════
   Wohnila Marketing-Site – Shared Styles
   ═══════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens (geteilt mit App) ─────────────────────────── */
:root {
  /* Eine Textfamilie, nicht zwei: Sora traegt Schlagzeile und Fliesstext,
     Mono steht ausschliesslich dort, wo eine Zeichenfolge etwas bedeutet
     (Vorgangsnummer, Zeitstempel, Formatname). Das ist der Unterschied
     zwischen praezise und technisch. */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    'IBM Plex Mono', 'JetBrains Mono', monospace;
  --serif:        var(--font-display);

  /* ── Marke: Petrol, flach ──────────────────────────────────────
     --brand      reine Markenfarbe (Füllungen, Logo auf hellem Grund)
     --brand-ink  aufgehellt, damit die Marke auf dunklem Grund trägt
     --brand-mark themeabhängiger Indikator: dunkel → ink, hell → brand
     Keine Verläufe. Die Aliasse darunter halten Bestandsselektoren
     in den 15 Seiten am Leben, ohne sie alle anzufassen.           */
  --brand:        #0f5c6b;
  --brand-ink:    #58c2d6;
  --brand-mark:   var(--brand-ink);
  --brand-fill:   #0f5c6b;
  --brand-fill-h: #0b4854;
  --brand-tint:   rgba(88,194,214,.08);
  --brand-tint-2: rgba(88,194,214,.16);
  --brand-line:   rgba(88,194,214,.30);
  --brand-ring:   rgba(88,194,214,.55);

  /* Statusfarben wie in der App (frontend/v2/css/tokens.css, --ok/--wa/--da/
     --in-ink): Gelb heisst „jemand muss handeln", Rot „ueberfaellig",
     Gruen „erledigt". Blau ist dort Information, keine Statusfarbe. */
  --blue:         #93b4fd;
  --green:        #4ade80;
  --amber:        #fbbf24;
  --red:          #ff5f6d;
  --warn-tint:    #2a2116;
  --warn-line:    #5a4419;

  /* Aliasse — zeigen alle auf die Marke, kein Violett mehr dahinter. */
  --purple:       var(--brand-mark);
  --accent:       var(--brand-mark);
  --accent-blue:  var(--brand-mark);
  --brand-red:    var(--brand-mark);
  --grad-cta:     var(--brand-fill);
  --grad-main:    var(--brand-mark);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Dark Mode — warmes Graphit wie die App (tokens.css: --s-canvas,
     --s-content, --s-raised, --t-1…3, --line, --s-selected). Bis 10/2026
     stand hier ein kuehles Blauschwarz; die Produktbilder wirkten darauf
     braeunlich, weil Bild und Rahmen verschiedene Grautoene hatten.
     Textstufen als feste Werte statt Deckkraft: --txm erreichte mit .38
     nur rund 3:1, --t-3 haelt 4,8:1. */
  --bg:   #141312;
  --bg1:  #141312;
  --bg2:  #1e1d1b;
  --bg3:  #252321;
  --tx:   #f2efeb;
  --txs:  #b3ada6;
  --txm:  #948d85;
  --border:        #2a2724;
  --border2:       #332f2b;
  --card-shadow:   0 4px 24px rgba(0,0,0,.35);
}

/* Light Mode – nicht zu hell */
html.light-mode {
  /* Auf hellem Grund trägt die reine Marke (7,6:1), die aufgehellte nicht. */
  --brand-ink:    #0d4f5c;
  --brand-mark:   var(--brand);
  --brand-tint:   rgba(15,92,107,.08);
  --brand-tint-2: rgba(15,92,107,.14);
  --brand-line:   rgba(15,92,107,.28);
  --brand-ring:   rgba(15,92,107,.55);

  --bg:   #eeebe7;
  --bg1:  #eeebe7;
  --bg2:  #ffffff;
  --bg3:  #f2efeb;
  --tx:   #1b1917;
  --txs:  #57534e;
  --txm:  #68625e;
  --border:        #e6e2de;
  --border2:       #e4e0da;

  /* Die hellen Statustoene der Dunkelstufe erreichen auf Weiss keine 3:1. */
  --blue:         #1e40af;
  --green:        #15803d;
  --amber:        #b45309;
  --red:          #c8102e;
  --warn-tint:    #fdf3e6;
  --warn-line:    #f0d9b4;
  --card-shadow:   0 4px 24px rgba(0,0,0,.07);
}

/* ── Transitions ─────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body, .nav, .card, .footer, input, textarea, select, button {
  transition: background-color .3s ease, color .25s ease, border-color .3s ease;
}

/* ── Base ─────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tx);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Die zwei conic-gradient-Orbs sind mit dem Redesign entfallen — samt Markup.
   Blur-Flächen im Hintergrund sind genau das Muster, das flach werden sollte. */

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
/* Zentrierter Container (Hero-Köpfe, CTA-Blöcke). Stand vorher als
   style="text-align:center" inline auf jeder Seite einzeln — wer die Zeile
   beim Anlegen vergaß, bekam einen linksbündigen Hero (so geschehen bei
   index.html und kontakt.html).
   Die zweite Regel ist der Grund, warum der Inline-Weg nie mit einer Zeile
   auskam: .section-subtitle ist auf 560px begrenzt, und text-align zentriert
   nur den Text, nicht den Block — ohne margin klebt er links. */
.container-center { text-align: center; }
.container-center .section-subtitle { margin-inline: auto; }
/* .btn-group ist ein Flex-Container — text-align erreicht ihn nicht, die
   Buttons blieben sonst links unter zentriertem Text stehen. */
.container-center .btn-group { justify-content: center; }

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,19,18,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
html.light-mode .nav {
  background: rgba(238,235,231,.92);
  border-bottom-color: rgba(0,0,0,.09);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--tx);
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--txs);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--tx);
  background: var(--brand-tint);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-theme-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--tx);
  transition: border-color .15s;
}
.nav-theme-btn:hover { border-color: var(--border2); }
.nav-theme-btn { display: inline-flex; align-items: center; justify-content: center; }
/* Wie vorher das Emoji: das Icon zeigt den aktuellen Modus. */
.nav-theme-btn .ico-sonne { display: none; }
html.light-mode .nav-theme-btn .ico-sonne { display: block; }
html.light-mode .nav-theme-btn .ico-mond { display: none; }
.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--txs);
  text-decoration: none;
}
.nav-login:hover { color: var(--tx); text-decoration: none; }
.nav-cta {
  background: var(--brand-fill);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity .15s;
}
.nav-cta:hover { background: var(--brand-fill-h); opacity: 1; }

/* Sprungmarke: unsichtbar, bis sie per Tab den Fokus bekommt. */
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  padding: 8px 14px; border-radius: var(--r-sm);
  background: var(--brand-fill); color: #fff; font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
/* Anmelden steht auf dem Desktop rechts in der Leiste, mobil im Menü. */
.nav-links .nav-nur-mobil { display: none; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--tx);
  padding: 4px;
}
/* Bei 320 px (iPhone SE) ist die Kopfzeile 33 px zu breit — und weil sie das
   Dokument verbreitert, laufen darunter saemtliche Abschnitte mit. Eine Zeile
   hier ersetzt Reparaturen auf jeder einzelnen Seite. */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav-inner { gap: 8px; }
  .nav-right { gap: 8px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .nav-theme-btn { padding: 6px 8px; font-size: 15px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-login { display: none; }
  .nav-hamburger { display: block; }
  .nav-inner { gap: 16px; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  html.light-mode .nav-links.open { background: var(--bg2); }
  .nav-links.open .nav-nur-mobil { display: list-item; }
}

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}
/* Hieß mal so, weil es ein Verlauf war. Der Name bleibt — er steht in 15
   Seiten —, die Wirkung ist jetzt eine flache Akzentfarbe. */
.section-title .gradient { color: var(--brand-mark); }
.section-subtitle {
  font-size: 17px;
  color: var(--txs);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--brand-fill); color: #fff; }
.btn-primary:hover { background: var(--brand-fill-h); opacity: 1; }
.btn-secondary {
  background: var(--brand-tint);
  color: var(--brand-mark);
  border: 1px solid var(--brand-line);
}
.btn-secondary:hover { background: var(--brand-tint-2); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border2); box-shadow: var(--card-shadow); }
.card-icon { font-size: 28px; margin-bottom: 14px; }
.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-desc { font-size: 14px; color: var(--txs); line-height: 1.7; }

/* ── Feature Grid ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feature-grid.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .feature-grid.feature-grid-4 { grid-template-columns: repeat(2, 1fr); } }
/* Beide Raster zusammen — die Vierer-Regel steht spaeter und gewaenne sonst. */
@media (max-width: 768px) { .feature-grid, .feature-grid.feature-grid-4 { grid-template-columns: 1fr; } }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: var(--brand-fill);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
  margin: 60px 0;
}
.cta-section h2 { color: #fff; font-size: clamp(24px, 4vw, 36px); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 24px; }
/* Auf der gefüllten Petrol-Fläche gewinnt die reine Marke, nicht --brand-mark:
   #58c2d6 auf Weiß wäre 1,9:1. */
.cta-section .btn { background: #fff; color: var(--brand); }

/* ── Footer ──────────────────────────────────────────────────── */
/* Anmeldung „Über den Start informieren" (WEB-16), von warteliste.js gebaut;
   bleibt verborgen, bis der Einwilligungstext da ist. */
.footer-wl { max-width: 520px; margin-bottom: 40px; }
.footer-wl[hidden] { display: none; }
.footer-wl h2 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--tx); margin: 0 0 12px; }
.footer-wl-zeile { display: flex; gap: 12px; align-items: flex-end; }
.footer-wl-zeile .form-field { flex: 1; margin-bottom: 0; min-width: 0; }
.footer-wl-zeile .btn { flex: none; }
.footer-wl-einwilligung { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.5; }
.footer-wl-einwilligung input { margin-top: 2px; flex: none; width: 18px; height: 18px; }
.footer-wl-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer-wl-status { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.footer-wl-status[data-art="fehler"] { color: var(--red); }
.footer-wl-status[data-art="ok"] { color: var(--green); font-weight: 600; }
@media (max-width: 480px) { .footer-wl-zeile { flex-direction: column; align-items: stretch; } }
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; color: var(--txs); font-size: 13px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--tx);
  margin-bottom: 8px;
}
.footer-desc { color: var(--txm); line-height: 1.7; font-size: 13px; }
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--tx);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--txs); font-size: 13px; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--tx); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Scroll Reveal ───────────────────────────────────────────── */
/* UX2-42: Einblenden beim Laden statt beim Scrollen. Vorher versteckte
   `html.js .reveal` jeden Block, bis ein IntersectionObserver ihn sichtbar
   meldete — in Vorschauen, beim Drucken, in Screenshot-Diensten und bei
   langsamen Skripten blieb die Seite unterhalb der ersten Ansicht leer.
   Eine CSS-Animation endet immer im sichtbaren Zustand, auch ohne Skript. */
.reveal { animation: reveal-ein .6s ease both; }
@keyframes reveal-ein {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Wer Bewegung abbestellt hat, bekommt den Inhalt ohne Animation. */
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}

/* ── Focus Accessibility ─────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--brand-ring); outline-offset: 2px; border-radius: var(--r-sm); }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }
/* Flex-Spalte, damit die vier Knoepfe auf einer Linie sitzen: die Listen
   sind verschieden lang (Enterprise fuehrt sieben Zeilen, Professional
   zehn), und ohne das haengen die Knoepfe auf vier Hoehen. */
.pricing-card { text-align: center; display: flex; flex-direction: column; }
.pricing-card > .pricing-features { flex-grow: 1; }
.pricing-card.featured {
  border-color: var(--brand-mark);
  box-shadow: 0 0 0 1px var(--brand-mark), var(--card-shadow);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-fill);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-price { font-family: var(--font-display); font-size: 42px; font-weight: 800; margin: 16px 0 4px; }
.pricing-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Nur der Zusatz „/Monat" ist klein und leise. Der Betrag selbst steht in
   einem span mit data-field (die Preise kommen aus der API) und erbte bis
   12.11.2026 dieselbe Regel: 29 € klein und grau, „Auf Anfrage" daneben gross. */
.pricing-price span:not([data-field]) { font-size: 16px; font-weight: 400; color: var(--txs); }
.pricing-period { font-size: 13px; color: var(--txm); margin-bottom: 24px; }
/* Starter-Rechner auf preise.html: Regler für die gebuchten Einheiten. */
.starter-rechner { margin: 12px 0 4px; }
.starter-rechner label { display: block; font-size: 14px; }
.starter-rechner input[type="range"] { width: 100%; accent-color: var(--brand-mark, var(--accent)); }
.starter-rechner output { display: block; font-size: 14px; font-weight: 600; }
.starter-rechner-hinweis { font-size: 12px; color: var(--txm); }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
/* Ohne Trennlinie je Zeile: zwölf Linien untereinander lasen sich als Wand. */
.pricing-features li { font-size: 14px; line-height: 1.45; padding: 6px 0 6px 22px; color: var(--txs); position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
/* „Alle Starter-Funktionen": die Basis, auf der die Karte aufbaut — keine Einzelfunktion. */
.pricing-features li.basis { padding: 0 0 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border); color: var(--tx); }
.pricing-features li.basis::before { content: none; }

/* ── Legal Pages ─────────────────────────────────────────────── */
.legal-content { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-content h1 { font-size: 32px; margin-bottom: 8px; }
.legal-content .legal-date { color: var(--txm); font-size: 13px; margin-bottom: 32px; }
.legal-content h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-content h3 { font-size: 16px; margin: 24px 0 8px; }
.legal-content p, .legal-content li { color: var(--txs); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--purple); }
/* Deutsche Komposita ("Datenschutzerklaerung") sind laenger als 320 px und
   brechen ohne diese Zeile aus der Spalte heraus statt umzubrechen. */
h1, h2, h3, .section-title, .card-title { overflow-wrap: break-word; }

/* Breite Tabelle scrollt in ihrem eigenen Kasten, statt die Seite zu
   verbreitern — sonst wandert die ganze Rechtsseite nach links weg. */
.legal-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.legal-table-wrap .legal-table { margin: 0; min-width: 480px; }
.legal-content .legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.legal-content .legal-table th,
.legal-content .legal-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line, rgba(255,255,255,0.08)); vertical-align: top; }
.legal-content .legal-table th { font-weight: 600; color: var(--tx, inherit); background: rgba(255,255,255,0.03); }
.legal-content .legal-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) { .legal-content .legal-table { font-size: 13px; } .legal-content .legal-table th, .legal-content .legal-table td { padding: 8px 6px; } }

/* ── Contact Form ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--txs); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--tx);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color .15s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--txm); opacity: 1; }
/* Rand allein ist als Fokus zu schwach (1 px Farbwechsel) — Ring wie bei :focus-visible. */
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand-mark); outline: 2px solid var(--brand-ring); outline-offset: 1px;
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ── Produktbilder ─────────────────────────────────────────────
   Ein Screenshot ist auf einer Verkaufsseite kein Schmuck, sondern
   der Beleg. Er bekommt deshalb Rahmen und Bildunterschrift wie
   eine Abbildung, nicht die Behandlung eines Hintergrundbildes.
   `aspect-ratio` haelt den Platz frei, bevor das Bild da ist —
   sonst springt die Seite beim Nachladen.                        */
.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  box-shadow: var(--card-shadow);
  background: var(--bg2);
}
.shot figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--txm);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* Handybilder hochkant: schmal und nebeneinander, sonst fuellt ein
   einzelnes Telefon die halbe Seite. */
.shots-handy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}
.shot-handy img { aspect-ratio: 390 / 844; border-radius: var(--r-xl); }
@media (max-width: 480px) { .shots-handy { gap: 16px; } }
.shot-hero { margin-top: 56px; }
@media (max-width: 768px) { .shot-hero { margin-top: 36px; } }

/* ── Vorgangsakte ──────────────────────────────────────────────
   Das eine Bild, das erklaert, was das Produkt tut: ein Sachverhalt
   mit allem, was daran haengt, als Zeitstrahl. Steht auf der
   Startseite und wiederholt sich verkleinert auf den Use-Case-Seiten.

   Mono traegt hier nur Nummer und Zeitstempel — Zeichenfolgen, die
   etwas bedeuten. Sobald es den Fliesstext erreicht, wirkt die Seite
   technisch statt praezise; genau daran scheiterte die erste dunkle
   Fassung.                                                          */
.akte {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.akte-kopf {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.akte-nr {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-mark);
  margin-bottom: 5px;
}
.akte-titel { font-size: 19px; font-weight: 600; line-height: 1.3; }
.akte-status {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  background: var(--brand-tint);
  color: var(--brand-mark);
}
.akte-status.offen { background: var(--warn-tint); color: var(--amber); }

.akte-lauf { padding: 20px 24px 8px; }
.akte-schritt { display: flex; gap: 16px; padding-bottom: 20px; }
.akte-schritt:last-child { padding-bottom: 16px; }
/* Die Spur zeichnet der Punkt selbst, nicht ein Pseudo-Element am
   Schritt: sonst laeuft die Linie beim letzten Eintrag ins Leere. */
.akte-spur { width: 26px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
/* tint-2 statt tint: auf hellem Grund sind es sonst 8 % Petrol, und die
   Punkte verschwinden gegen die weisse Karte. */
.akte-punkt {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-tint-2);
  border: 1px solid var(--brand-line);
  flex-shrink: 0;
}
.akte-punkt.offen { background: var(--warn-tint); border-color: var(--warn-line); }
.akte-linie { width: 1px; flex-grow: 1; background: var(--border2); margin-top: 4px; }
.akte-inhalt { flex-grow: 1; min-width: 0; }
.akte-was { font-size: 15px; font-weight: 500; }
.akte-was.offen { color: var(--amber); }
.akte-detail { font-size: 14px; line-height: 1.6; color: var(--txs); margin-top: 3px; }
.akte-zeit { font-family: var(--font-mono); font-size: 11px; color: var(--txm); margin-top: 5px; }

/* Bühne der Startseite: Aussage links, Akte rechts. */
.buehne-akte {
  display: grid;
  /* 540, nicht 600: bei 1100er Container blieben der Aussage sonst 397px,
     und eine 50px-Schlagzeile bricht darin auf fuenf Zeilen. */
  grid-template-columns: 1fr 540px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1080px) {
  .buehne-akte { grid-template-columns: 1fr; gap: 40px; }
  /* Ein Raster-Kind schrumpft nicht unter seinen Mindestinhalt, solange
     min-width auf `auto` steht — die einzige Spalte wuerde dann breiter
     als die Seite und zoege alles darunter mit. */
  .buehne-akte > * { min-width: 0; }
}
