@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400.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;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600.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;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700.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;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --text: #1c1c1e;
  --muted: #6d6d72;
  /* Das Blau des Zahnrads im Logo. Auf Weiss 8.8:1. */
  --accent: #134b87;
  --accent-hover: #103e6f;
  /* Schrift auf einer Akzentflaeche - im Dunkelmodus dunkel. */
  --accent-auf: #ffffff;
  /* Markenfarbe aus dem Logo, nur als Signatur: Gold markiert den
     "Stand der Dinge" (Statuspunkt, .stand-Kaesten) und traegt nie
     Schrift. */
  --gold: #eb9721;
  --line: rgba(28, 28, 30, 0.12);
  /* Klein und neutral - nur fuer Dinge, die ueber der Seite liegen. */
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --nav-bg: rgba(251, 251, 253, 0.72);
  --focus: #134b87;
  /* Dunkler als das System-Gruen: auf der hellgruenen Badge-Flaeche
     kam #1e8e3e nur auf 3.6:1. */
  --ok: #176b2f;
  --warn: #9a5b00;
  /* Karten. Fenster (.visual, .device) haben ihre eigenen Werte. */
  --radius: 16px;
  /* Grund der abgesetzten Abschnitte; Karten darauf bleiben weiss. */
  --band: #f2f2f6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elevated: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    /* Das Leuchten des Innenbogens im Logo: 10.1:1 auf Schwarz. */
    --accent: #5ebeec;
    --accent-hover: #88cff1;
    /* Hier ist der Akzent HELL - Weiss darauf waere 2.1:1. */
    --accent-auf: #00153e;
    --line: rgba(245, 245, 247, 0.16);
    /* Im Dunkeln Tiefe aus Flaechenstufen und Haarlinien, nicht aus Schatten. */
    --shadow: none;
    --nav-bg: rgba(22, 22, 23, 0.72);
    --focus: #5ebeec;
    --ok: #30d158;
    --warn: #ff9f0a;
    --band: #0c0c0e;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--accent);
  color: var(--accent-auf);
  padding: 8px 16px;
  border-radius: 980px;
  z-index: 100;
}
.skip:focus { top: 16px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.btn,
.nav-links a.btn:hover { color: var(--accent-auf); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 0;
  border-radius: 980px;
  background: var(--accent);
  color: var(--accent-auf);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; color: var(--accent-auf); }
/* Gesperrter Knopf: sichtbar ausser Betrieb, der Hover wechselt nicht.
   Bisher gab es diesen Zustand nicht - ein gesperrter Knopf sah aus
   wie ein aktiver und tat beim Klick einfach nichts. */
.btn:disabled,
.btn:disabled:hover {
  background: var(--accent);
  color: var(--accent-auf);
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
/* Zweitknopf: erhoehte Flaeche mit Haarlinie, Textfarbe - der Akzent
   bleibt dem Hauptknopf. */
.btn-zweit {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-zweit:hover { background: var(--band); color: var(--text); }
.link-chevron {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.link-chevron:hover { text-decoration: underline; }

.hero {
  /* Unten etwas Luft, damit der Schatten der Anrufkarte nicht am
     overflow:hidden des Leuchtens abgeschnitten wird. */
  padding: 48px 0 32px;
  text-align: center;
}
h1, h2, .display {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.07;
  text-wrap: balance;
}
h3 { font-weight: 600; }
h1 {
  font-size: clamp(2.25rem, 5.2vw, 4.75rem);
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
}
/* Kopfzeile ueber der Hauptaussage: was Geniva ist und fuer wen.
   In Sekundaerfarbe - Gold ist dem Stand der Dinge vorbehalten. */
.eyebrow {
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}
.h1-sub {
  display: block;
  color: var(--muted);
}
.lede {
  max-width: 52ch;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  text-wrap: pretty;
}
.claim {
  margin: 20px auto 0;
  max-width: 60ch;
  color: var(--text);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: 0;
}
/* Hinweis auf den Stand der Dinge. Die Seite spricht im Praesens -
   "nimmt Anrufe entgegen", "spricht mit natuerlicher Stimme" -, und
   der Telefonassistent hat noch kein Gespraech gefuehrt. Lieber
   einmal klar gesagt als einmal zu viel versprochen. */
.stand {
  margin: 20px auto 0;
  max-width: 62ch;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.stand strong { color: var(--text); }

/* Statuszeile im Hero: dieselbe Auskunft wie .stand, aber als
   eine ruhige Zeile unter den Knoepfen. Der Punkt ist Gold, nicht
   Gruen - gruen hiesse "laeuft", und das stimmt noch nicht. */
.status {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  max-width: 62ch;
  margin: 32px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}
.status strong { color: var(--text); font-weight: 600; }
.status-punkt {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-1px);
}

.hero-grid {
  display: grid;
  gap: 48px;
}

/* Die Anrufkarte im Hero. Echte Textstruktur (Liste, versteckte
   Sprecherlabels), damit ein Screenreader das Gespraech vorliest. */
.anruf {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: left;
}
.anruf-kopf {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
}
.anruf-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-auf);
}
.anruf-titel {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}
.anruf-titel strong { font-size: 15px; }
.anruf-titel span { color: var(--muted); font-size: 13px; }
.anruf-zeit {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.anruf-verlauf {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 16px 4px 4px;
  list-style: none;
}
.anruf-verlauf li {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
}
.anruf-kunde {
  justify-self: start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.anruf-geniva {
  justify-self: end;
  background: var(--accent);
  color: var(--accent-auf);
  border-bottom-right-radius: 4px;
}
.anruf-ergebnis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 4px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.anruf-ergebnis .badge { padding: 4px 12px; font-size: 13px; }

/* Einmal nacheinander einblenden, fertig nach gut vier Sekunden.
   Nicht mit .reveal kombinieren - das steuert dieselben
   Eigenschaften. Ohne Animation (reduzierte Bewegung) ist alles
   sofort da; der Grundzustand ist sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .anruf-verlauf li,
  .anruf-ergebnis {
    animation: anruf-ein 450ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .anruf-verlauf li:nth-child(1) { animation-delay: 300ms; }
  .anruf-verlauf li:nth-child(2) { animation-delay: 1100ms; }
  .anruf-verlauf li:nth-child(3) { animation-delay: 2100ms; }
  .anruf-verlauf li:nth-child(4) { animation-delay: 2900ms; }
  .anruf-ergebnis { animation-delay: 3700ms; }
  /* start.js haelt an, solange die Karte unter der Falz liegt. */
  .anruf-wartet .anruf-verlauf li,
  .anruf-wartet .anruf-ergebnis { animation-play-state: paused; }
}
@keyframes anruf-ein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.stage {
  margin: 0 auto;
  width: min(920px, 100%);
  padding: 16px;
}
.device {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.dots { display: flex; gap: 8px; }
.dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
}
.device-grid {
  display: grid;
  gap: 16px;
  padding: 16px;
}
.panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}
.panel-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}
.slot {
  display: flex;
  justify-content: space-between;
  /* Sonst zieht flex das Badge auf die Hoehe einer umbrechenden Zeile. */
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.slot:first-of-type { border-top: 0; padding-top: 0; }
.badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.badge-wait { background: rgba(178, 80, 0, 0.12); color: var(--warn); }
.badge-ok { background: rgba(36, 138, 61, 0.12); color: var(--ok); }
.badge-neutral { background: var(--line); color: var(--text); font-weight: 500; }
.quote-line {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 8px 0;
}
.quote-total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

section { padding: 96px 0; }
/* Abwechselnd abgesetzt, damit die lange Seite Kapitel bekommt -
   nie zwei Baender nebeneinander. */
#ablauf,
#buchhaltung,
#demo { background: var(--band); }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-inline: auto;
}
.section-head p {
  max-width: 42ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 48px 0;
}
.copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.copy p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}
.visual {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.week-cal {
  display: grid;
  gap: 12px;
  text-align: left;
}
.week-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.week-head strong {
  font-size: 17px;
}
.week-head span {
  color: var(--muted);
  font-size: 13px;
}
.week-days {
  display: grid;
  gap: 8px;
}
.week-day {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.week-day > span {
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.week-item {
  border-radius: 12px;
  padding: 8px 12px;
  min-height: 44px;
  display: grid;
  gap: 2px;
}
.week-item strong {
  font-size: 14px;
  font-weight: 600;
}
.week-item em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.85;
}
.week-ok {
  background: var(--accent);
  color: var(--accent-auf);
}
.week-wait {
  background: rgba(19, 75, 135, 0.18);
  color: var(--text);
}
.week-open {
  border: 1px dashed var(--accent);
  color: var(--muted);
}
@media (prefers-color-scheme: dark) {
  /* .week-ok braucht hier keine eigene Regel mehr: --accent und
     --accent-auf drehen im Dunkelblock schon mit. */
  .week-wait { background: rgba(94, 190, 236, 0.26); }
}
/* Fuenf Spalten erst ab 1024px: In der halben Breite einer
   Zweispalten-Zeile brach "Schnitt und Foehnen" sonst dreimal um. */
@media (min-width: 1024px) {
  .week-days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .week-day { grid-template-columns: 1fr; }
}

.industries {
  display: grid;
  gap: 16px;
}
.industries-note {
  max-width: 56ch;
  margin: 40px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.5;
}
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
}
/* Icons in der Farbe ihrer Textrolle - der Akzent gehoert den Knoepfen. */
.card svg { margin-bottom: 16px; color: var(--muted); }
.card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 32ch;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
  /* Ohne das zaehlt der Browser selbst mit - "1. (1)". */
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  padding: 24px 0 24px 56px;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.step p { margin: 0; color: var(--muted); max-width: 48ch; }

.zusammenfassung {
  margin-bottom: 8px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.zf-kopf {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
  font-size: 15px;
}
.zf-kopf span { color: var(--muted); font-size: 13px; }
.zf-text { margin: 0; font-size: 15px; color: var(--text); }
.zusammenfassung + .slot { border-top: 0; }

.faq {
  width: min(760px, 100%);
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 20px;
  max-width: 60ch;
  color: var(--muted);
}

.ausprobieren {
  width: min(560px, 100%);
  margin: 72px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.ausprobieren h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.ausprobieren .hero-actions { margin-top: 20px; }
.ausprobieren .hint { margin-top: 16px; }

.cta {
  text-align: center;
}
/* Wer im Menue auf "Kontakt" klickt, landet unter der Ueberschrift
   "Lerne Geniva kennen" und sucht kurz, wo er denn nun schreiben
   soll. Dieser Zwischentitel beantwortet das - und er schliesst
   zugleich eine Luecke in der Gliederung: Das Formular hatte gar
   keine eigene Ueberschrift. */
.formular-titel {
  width: min(560px, 100%);
  margin: 48px auto 0;
  font-size: 21px;
  letter-spacing: -0.01em;
  text-align: center;
}
/* Hinweis, solange das Formular gesperrt ist (siehe Kommentar am
   Ende von index.html). Gleiche Breite wie das Formular. */
.formular-stand {
  width: min(560px, 100%);
  max-width: none;
  margin: 16px auto 0;
}
form {
  width: min(560px, 100%);
  margin: 20px auto 0;
  text-align: left;
  display: grid;
  gap: 16px;
}
#demo-form[hidden] { display: none; }
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 400;
}
textarea { min-height: 120px; resize: vertical; }
.hint { margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; }
.form-success {
  display: none;
  width: min(560px, 100%);
  margin: 40px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
.form-success.is-visible { display: block; }
.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); }
.placeholder { font-style: italic; }

.reveal {
  opacity: 1;
  transform: none;
}

/* Die Kopfleiste ist sticky und 54px hoch. Ohne diesen Abstand
   scrollt eine Sprungmarke den Abschnittsanfang genau DAHINTER -
   man landet richtig und sieht trotzdem die falsche Stelle. */
:target,
section[id] {
  scroll-margin-top: 72px;
}

@media (min-width: 768px) {
  .wrap { width: min(1120px, calc(100% - 48px)); }
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .hero { padding: 72px 0 96px; }
  .device-grid { grid-template-columns: 1.1fr 0.9fr; }
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; padding: 64px 0; }
  .feature:nth-of-type(even) .copy { order: 2; }
  .industries { grid-template-columns: repeat(3, 1fr); }
  section { padding: 128px 0; }
}

@media (min-width: 1024px) {
  .wrap { width: min(1120px, calc(100% - 64px)); }
  .device-grid { grid-template-columns: 1fr 1fr 0.9fr; }
  section { padding: 144px 0; }

  /* Hero zweispaltig: links die Aussage, rechts das Telefonat - aber
     nur mit .hero-zweispaltig an der section. Ohne die Klasse (solange
     die Anrufkarte ausgeblendet ist, siehe index.html) bleibt der Hero
     einspaltig und zentriert; keine leere rechte Spalte. */
  .hero-zweispaltig { padding: 80px 0 112px; text-align: left; }
  .hero-zweispaltig .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 56px;
  }
  .hero-zweispaltig h1 {
    max-width: none;
    margin-inline: 0;
    font-size: clamp(2.75rem, 4vw, 3.75rem);
  }
  .hero-zweispaltig .eyebrow,
  .hero-zweispaltig .lede,
  .hero-zweispaltig .claim { margin-inline: 0; }
  .hero-zweispaltig .hero-actions { justify-content: flex-start; }
  .hero-zweispaltig .anruf { margin: 0 0 0 auto; }

  /* Drei Schritte nebeneinander; die Nummer steht dann ueber dem
     Text statt daneben, sonst bliebe dem Text kaum Breite. */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .step { padding: 28px 0 0; }
  .step::before { position: static; margin-bottom: 16px; }
}

@media (min-width: 1440px) {
  .wrap { width: 1120px; }
}

@media (max-width: 767px) {
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 48px;
    padding: 8px 16px 24px;
    /* Deckend: durch den halbtransparenten Grund schien der
       Seiteninhalt hinter den Links durch. */
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open a:not(.btn) {
    width: 100%;
    padding: 12px 0;
    font-size: 17px;
  }
  .nav-links .btn { width: 100%; margin-top: 12px; }
}

/* Versteckt wird nur, wenn start.js die Klasse gesetzt hat - faellt
   das Skript aus, bleibt der Inhalt sichtbar statt fuer immer weg. */
@media (prefers-reduced-motion: no-preference) {
  .mit-reveal .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1), transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mit-reveal .reveal.is-in { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Was vorher als style="..." am Element stand.
   ------------------------------------------------------------
   Ein style-Attribut ist fuer die Content-Security-Policy
   dasselbe wie ein <style>-Block: Ohne 'unsafe-inline' wird es
   verworfen. Damit das Flag fallen konnte, mussten auch diese
   zehn Stellen hierher.
   ============================================================ */
.beispiel-titel {
  margin: 0 0 16px;
  font-weight: 600;
}
.luft-oben { margin-top: 16px; }
.ohne-luft-oben { margin-top: 0; }

/* Zustimmung und Wunsch nach einem Zugang: Text neben dem
   Haken, und die Zeile bleibt 44px hoch - mit dem Finger
   getroffen wird der ganze Streifen, nicht nur das Kaestchen. */
.zustimmung {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  min-height: 44px;
}
.zustimmung .haken,
input.haken {
  width: auto;
  min-height: 22px;
}

/* Honigtopf gegen Formularroboter: fuer Augen unerreichbar,
   fuer ein Skript ein ausfuellbares Feld. Nicht display:none -
   das fuellen manche Roboter absichtlich nicht aus. */
.falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.danke {
  margin: 0;
  font-weight: 600;
}
