/* ==========================================================================
   Powerflotte — Stylesheet
   Design-Tokens, Layout, Farben und Typografie 1:1 aus dem Claude-Design-Export
   (design_docs/Powerflotte_Website.html) übernommen und in eigenständiges CSS
   übersetzt (Inline-Styles -> Klassen, style-hover -> :hover).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriften — selbst gehostet, kein Request an Google (siehe README)
   Beide Familien sind Variable Fonts: eine Datei deckt alle Gewichte ab.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../assets/fonts/archivo-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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../assets/fonts/archivo-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-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;
}

/* --------------------------------------------------------------------------
   2. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Flächen */
  --bg: #F5F4EF;
  --bg-alt: #EFEDE6;
  --bg-success: #EEF3F1;
  --white: #FFFFFF;

  /* Akzente */
  --accent: #14544A;
  --accent-hover: #0E3F37;
  --accent-2: #C2662A;
  --accent-2-bg: #FAF1EA;
  --accent-2-text: #8F4718;

  /* Text */
  --text: #191916;
  --text-secondary: #55554E;
  --text-body: #6E6E66;
  --text-muted: #8A8A80;

  /* Linien */
  --border: #E2E0D7;
  --border-light: #EDEBE2;
  --border-input: #C9C6BA;
  --border-faq: #D6D3C7;
  --border-footer: #DCD9CF;

  /* Typografie */
  --font-sans: 'Archivo', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Maße */
  --maxw: 1180px;
  --gutter: 24px;
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   3. Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure { margin: 0; }

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

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

input, select, textarea, button { font-family: inherit; }

/* Sichtbarer Tastatur-Fokus — im Design-Export nicht definiert, für
   Barrierefreiheit ergänzt. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout-Grundbausteine
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { border-top: 1px solid var(--border); }
.section > .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Anker dürfen nicht unter dem sticky Header verschwinden. */
[id] { scroll-margin-top: var(--header-h); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.label-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.section-title {
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 22em;
  text-wrap: balance;
}
.section-title--last { margin-bottom: 44px; }

.section-lead {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-body);
  margin-bottom: 44px;
  max-width: 44em;
  text-wrap: pretty;
}
.section-lead--narrow { max-width: 40em; }

.mono { font-family: var(--font-mono); }

/* Kartenraster mit durchgehenden 1px-Linien: der Container trägt Fläche und
   Rahmen, gap:1px erzeugt die Fuge, jede Karte legt per outline ihre Linie
   hinein (Technik aus dem Design-Export übernommen). */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--white);
  border: 1px solid var(--border);
}
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--stats {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 44px;
}

.card {
  background: var(--white);
  outline: 1px solid var(--border);
  padding: 28px 26px;
}

/* --------------------------------------------------------------------------
   5. Buttons und Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

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

.btn--sm {
  font-size: 15px;
  padding: 14px 22px;
}
.btn--calc { padding: 15px 24px; }

.link-underline {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--border-input);
  padding-bottom: 2px;
}
.link-underline:hover { border-color: var(--accent); }

/* --------------------------------------------------------------------------
   6. Header und Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
  flex: none;
}

.brand-name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.site-nav a {
  font-size: 15px;
  color: var(--text-secondary);
}
.site-nav a:hover { color: var(--accent); }

.header-cta {
  font-size: 15px;
  padding: 13px 22px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-input);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--text); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5.25px; }
.nav-toggle-bars span:nth-child(3) { top: 10.5px; }

.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5.25px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero > .container {
  padding-top: 80px;
  padding-bottom: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  align-items: start;
}

.hero .eyebrow { margin-bottom: 26px; }

/* 58px im Design; auf schmalen Screens herunterskaliert. */
.hero-title {
  font-size: clamp(34px, 7.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 26px;
  text-wrap: pretty;
}
.hero-title .accent { color: var(--accent); }

.hero-text {
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 30em;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Im Export --text-muted; für Fließtext auf --text-body abgedunkelt,
   damit der WCAG-AA-Kontrast erreicht wird (siehe README). */
.hero-micro {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.factbox {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px;
}

.factbox-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
}

.status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
  flex: none;
}

.factbox-list {
  border: 1px solid var(--border);
  margin: 0;
}

.factbox-row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.factbox-row:last-child { border-bottom: 0; }
.factbox-row dt {
  font-size: 15px;
  color: var(--text-body);
}
.factbox-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  text-align: right;
  color: var(--text);
}

.factbox-foot {
  border-top: 1px dashed var(--border-faq);
  margin-top: 20px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.factbox-foot a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-body);
}
.factbox-foot a:hover { color: var(--accent); }
.factbox-foot .arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   8. "Für wen" — Anwendungskarten
   -------------------------------------------------------------------------- */
.usecase .label-mono {
  display: block;
  margin-bottom: 14px;
}

.usecase h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.usecase p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 18px;
}

.usecase-rec {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   9. Ablauf — Schritte
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px 40px;
}

.step {
  border-top: 1px solid var(--text);
  padding-top: 20px;
}
.step .label-mono {
  display: block;
  margin-bottom: 12px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   10. Sortiment — Produktkarten
   -------------------------------------------------------------------------- */
.product { border-top: 3px solid var(--border); }
.product--kompakt { border-top-color: var(--accent-2); }
.product--allrounder { border-top-color: var(--accent); }
.product--power { border-top-color: var(--text); }

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.product-head h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
  border: 1px solid currentColor;
}
.pill--orange { color: var(--accent-2); }
.pill--dark { color: var(--text); }
.pill--filled {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

/* Einstiegspreis auf der Gerätekarte. Der "ab"-Wert ist der günstigste Satz
   (ab 14 Miettagen) — die Zeile darunter nennt deshalb offen den Einzeltag,
   damit der Preis nicht niedriger wirkt, als er für kurze Mieten ist. */
.product-price {
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 5px;
}
.product-price-unit {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text-body);
}
.product-price-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.product-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 20px;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 0;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--border-light);
  font-size: 15px;
}
.spec-row dt { color: var(--text-secondary); }
.spec-row dd {
  margin: 0;
  font-family: var(--font-mono);
  text-align: right;
}
.spec-row dd.is-placeholder { color: var(--text-muted); }

/* Betriebsdauer je Gerät — macht die Kapazität greifbar. */
.runtime {
  margin-top: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 15px 17px;
}
.runtime-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.runtime-list { margin: 0; }
.runtime-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
}
.runtime-row dt { color: var(--text-secondary); }
.runtime-row dd {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--accent);
  white-space: nowrap;
}

/* Fußnoten: bewusst klein und über die volle Breite, damit sie als Kleingedrucktes
   gelesen werden und nicht als eigener Abschnitt. */
.runtime-note,
.section-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 14px;
}
.section-note {
  margin-top: 18px;
  margin-bottom: 52px;
}
.section-note a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-input);
}
.section-note a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.product .link-underline { margin-top: 22px; }

.section-footnote {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   11. Preise und Preistabelle
   -------------------------------------------------------------------------- */
.stat-card { padding: 26px; }

.stat-value {
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 14px;
}
.stat-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.stat-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}


/* Mietzeitraum: zwei Datumsfelder plus berechnete Dauer und Übergabe-Regel */
.calc-period {
  display: grid;
  gap: 10px;
}

.calc-days-hint {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  min-height: 1.2em;
}
.calc-days-hint.is-error { color: var(--accent-2-text); }

.calc-policy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   12. Preisrechner
   -------------------------------------------------------------------------- */
.calc {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px;
}

.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.calc-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  text-transform: uppercase;
}

.calc h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: start;
}

.calc-controls {
  display: grid;
  gap: 20px;
  align-content: start;
}

.calc-result {
  border: 1px solid var(--border);
  background: var(--bg);
}

.calc-rows { margin: 0; }

.calc-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.calc-row dt { color: var(--text-secondary); }
.calc-row dd {
  margin: 0;
  font-family: var(--font-mono);
}

.calc-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  align-items: baseline;
}
.calc-total dt {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.calc-total dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--accent);
}

.calc-foot { padding: 0 20px 20px; }

/* Nächste Rabattstufe — macht den Mengenrabatt konkret. */
.calc-next-step {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--accent);
  margin-bottom: 14px;
}
.calc-next-step:empty { display: none; }

.calc-explain {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   13. Formularelemente
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 9px; }

.field > span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.input,
.select,
.textarea {
  font-size: 16px;
  padding: 14px 15px;
  border: 1px solid var(--border-input);
  background: var(--bg);
  color: var(--text);
  width: 100%;
  border-radius: 0;
}
.input[type='date'] { padding: 13px 15px; }
.textarea { resize: vertical; }

.input:hover,
.select:hover,
.textarea:hover { border-color: var(--text-secondary); }

/* appearance:none entfernt den nativen Pfeil — daher ein eigener. */
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2355554E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.faq-intro .section-title { margin-bottom: 16px; }
.faq-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}

.faq-item {
  border-top: 1px solid var(--border-faq);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border-faq); }

.faq-item summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

/* Dezenter Aufklapp-Indikator — im Export nicht vorhanden, für die
   Bedienbarkeit ergänzt. */
.faq-item summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq-item p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-body);
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   15. Kontakt
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px;
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex: none;
}

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.form-micro {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-body);
}

.form-message {
  border: 1px solid var(--accent);
  background: var(--bg-success);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--accent);
}
.form-message--error {
  border-color: var(--accent-2);
  background: var(--accent-2-bg);
  color: var(--accent-2-text);
}
.form-message p { margin: 0; }
.form-message-note {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-body);
}

/* Spam-Falle: für Menschen unsichtbar, von Bots gern ausgefüllt. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-boxes {
  display: grid;
  gap: 1px;
  background: var(--white);
  border: 1px solid var(--border);
}
.contact-box {
  background: var(--white);
  outline: 1px solid var(--border);
  padding: 26px;
}
.contact-box .label-mono {
  display: block;
  margin-bottom: 14px;
}
.contact-box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}
.contact-box .btn { margin-top: 18px; }

.contact-phone {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--text);
}
.contact-phone:hover { color: var(--accent); }

.contact-hours {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin-top: 10px;
}

.contact-address {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-address-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--gutter) 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text);
}
.footer-brand .brand-name { font-size: 19px; }

.footer-about {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 26em;
}

.footer-col .label-mono {
  display: block;
  margin-bottom: 16px;
}

.footer-links { display: grid; gap: 10px; }
.footer-links a,
.footer-links span {
  font-size: 15px;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--accent); }
.footer-links span { color: var(--text-body); }

.footer-bottom {
  border-top: 1px solid var(--border-footer);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   17. Rechtliches-Seite
   -------------------------------------------------------------------------- */
.legal-hero > .container {
  padding-top: 72px;
  padding-bottom: 0;
}
.legal-title {
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 18px;
}
.legal-intro {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-body);
  max-width: 44em;
  margin-bottom: 26px;
}
.legal-toc {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
}

.legal-notice {
  border: 1px solid var(--accent-2);
  background: var(--accent-2-bg);
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent-2-text);
  margin-bottom: 48px;
  max-width: 46em;
}
.legal-notice a { color: var(--accent-2-text); text-decoration: underline; }

.legal-block { max-width: 46em; }
.legal-block h2 {
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 20px;
}
.legal-block h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 30px 0 10px;
}
.legal-block p,
.legal-block li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
}
.legal-block p { margin-bottom: 14px; }
.legal-block ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-block li { margin-bottom: 7px; }
.legal-block a { text-decoration: underline; }

/* Muster-Widerrufsformular: als Formular gesetzt, nicht als Aufzählung.
   Die gestrichelten Linien zeigen, wo ausgefüllt wird. */
.widerruf-formular {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 26px;
  margin-bottom: 14px;
}
.widerruf-formular p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--border-input);
}
.widerruf-formular p:last-child { border-bottom: 0; }
.widerruf-formular .widerruf-formular-intro {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.widerruf-formular .widerruf-formular-fuss {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 0;
  margin-bottom: 0;
}

.placeholder-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */

/* Mobile Navigation: unterhalb dieser Breite passen 6 Links + CTA nicht
   mehr in eine Zeile. */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }

  .primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px var(--gutter) 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(25, 25, 22, 0.06);
  }
  .primary-menu.is-open { display: flex; }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav a {
    padding: 14px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
  }

  .header-cta {
    margin-top: 18px;
    font-size: 16px;
    padding: 15px 22px;
  }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }

  .section > .container { padding-top: 56px; padding-bottom: 56px; }
  .hero > .container { padding-top: 56px; padding-bottom: 64px; }
  .legal-hero > .container { padding-top: 48px; padding-bottom: 0; }

  .section-title { font-size: 30px; }
  .section-lead { font-size: 16px; margin-bottom: 32px; }

  .hero-grid { gap: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .card { padding: 24px 20px; }
  .stat-card { padding: 24px 20px; }
  .calc { padding: 22px 20px; }
  .contact-form { padding: 22px 20px; }
  .contact-box { padding: 22px 20px; }

  .calc h3 { font-size: 22px; }
  .calc-grid { gap: 28px; }
  .calc-total dd { font-size: 23px; }

  .faq-grid { gap: 32px; }

  .footer-inner { padding-top: 44px; }
  .footer-grid { gap: 32px; }

  .section-footnote { gap: 8px; }
  
  .legal-block h2 { font-size: 25px; }
}

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

@media print {
  .site-header,
  .nav-toggle,
  .hero-actions,
  .calc,
  .contact-form { display: none; }
  body { background: #FFFFFF; }
}
