/* SYSTEMA Integrator — Editorial Bordeaux */
/* Bordeaux/Weinrot, Source Serif 4 für Headlines, Inter für Body, JetBrains Mono für Eyebrows/Tags */

/* ──────────────────────────────────────────────────────────────────────── */
/* Selbst-gehostete Schriften (latin + latin-ext) — kein Drittanbieter-Request */
/* ──────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/source-serif-4-v14-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/source-serif-4-v14-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/source-serif-4-v14-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('fonts/source-serif-4-v14-latin_latin-ext-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/source-serif-4-v14-latin_latin-ext-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/inter-v20-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/jetbrains-mono-v24-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/jetbrains-mono-v24-latin_latin-ext-500.woff2') format('woff2');
}

:root {
  --bg: #f6f2ea;
  --bg-elev: #faf6ee;
  --bg-card: #fcf9f2;
  --ink: #14110e;
  --ink-2: #2a2622;
  --ink-3: #4f4944;
  --ink-4: #756d65;
  --rule: #d8cfc0;
  --rule-soft: #e8e1d2;
  --accent: #6e1f2a;
  --accent-ink: #ffffff;
  --highlight: #ead8d4;
}

[data-theme="dark"] {
  --bg: #14100e;
  --bg-elev: #1c1714;
  --bg-card: #221c18;
  --ink: #f3eee5;
  --ink-2: #e6dfd3;
  --ink-3: #b9b0a0;
  --ink-4: #8a8175;
  --rule: #322a23;
  --rule-soft: #28221d;
  --accent: #c0566a;
  --highlight: #2c211f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Inter Tight", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

section, header { scroll-margin-top: 80px; }

/* Skip-to-content für Tastatur-User */
.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  background: var(--ink); color: var(--bg);
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  text-decoration: none; z-index: 1000;
  transition: top 160ms;
  border: 2px solid var(--accent);
}
.skip-link:focus { top: 16px; }

/* Sichtbare Focus-Outlines für Tastatur-Nutzer */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.btn:focus-visible { outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 0; }


.serif { font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif; font-weight: 400; letter-spacing: -0.008em; }
.mono  { font-family: "JetBrains Mono", ui-monospace, monospace; }

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif;
  letter-spacing: -0.012em;
}

.eyebrow {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.shell { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .shell { padding: 0 24px; } }

section { border-top: 1px solid var(--rule); }
section:first-of-type { border-top: 0; }

.section-pad { padding: 104px 0; }
.section-pad-sm { padding: 72px 0; }

html { scroll-padding-top: 88px; }
header.shell {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  max-width: none;
  padding: 0;
  border-bottom: 1px solid var(--rule);
}
header.shell > .nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 48px;
}
@media (max-width: 720px) {
  header.shell > .nav { padding: 24px; }
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
  font-style: italic;
}
.brand-mark {
  width: 22px; height: 22px;
  border: 1px solid var(--ink);
  display: grid; place-items: center; position: relative;
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--ink); }
.brand-mark::before { left: 4px; right: 4px; height: 1px; top: 50%; }
.brand-mark::after  { top: 4px; bottom: 4px; width: 1px; left: 50%; }
.brand b { font-weight: 600; letter-spacing: 0.04em; font-family: "Inter", sans-serif; font-size: 13px; font-style: normal; text-transform: uppercase; }
.brand small { color: var(--ink-4); font-size: 13px; font-family: "Inter", sans-serif; font-style: normal; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-3); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Hamburger-Toggle (nur mobile) */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0; margin: -10px -10px -10px 0;
  background: transparent; border: 0;
  cursor: pointer; color: var(--ink);
}
.menu-toggle span {
  display: block; width: 22px; height: 1px;
  background: currentColor; margin: 6px auto;
  transition: transform 200ms, opacity 160ms;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) { .menu-toggle { display: block; } }

/* Mobile-Navigation Overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  padding: 88px 32px 32px;
  display: flex; flex-direction: column; gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 220ms ease;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif;
  font-size: 32px; line-height: 1.4;
  color: var(--ink); text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  letter-spacing: -0.012em;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--accent); }
.mobile-nav a em { font-style: italic; color: var(--accent); }
.mobile-nav .meta {
  margin-top: auto; padding-top: 32px;
  font-family: "Inter", sans-serif;
  font-size: 13px; color: var(--ink-4);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-nav .meta a {
  font-family: inherit; font-size: 13px;
  padding: 0; border: 0; color: var(--ink-3);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: all 160ms ease;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero { padding: 96px 0 104px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 80px; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }

.hero h1 {
  font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif;
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 24px 0 28px;
  font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero h1 .stop { color: var(--accent); font-style: normal; }

.hero-sub {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-3); max-width: 540px;
  margin: 0 0 36px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 44px;
  display: flex; gap: 32px;
  font-size: 13px; color: var(--ink-4); flex-wrap: wrap;
}
.hero-meta span::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  margin-right: 10px; vertical-align: middle;
}

.schema {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: 36px 32px 32px;
  position: relative;
}
.schema-label {
  position: absolute; top: -10px; left: 24px;
  background: var(--bg); padding: 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4);
}
.schema svg { width: 100%; height: auto; display: block; }

/* Two-col */
.two-col { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.col-title {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 40px; line-height: 1.05; letter-spacing: -0.022em;
}
.col-title em { color: var(--accent); font-style: italic; }
.col-lede {
  font-size: 17px; color: var(--ink-3); line-height: 1.6;
  max-width: 60ch;
  font-family: "Inter", sans-serif;
}

/* Problem list */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 48px; }
@media (max-width: 720px) { .problems { grid-template-columns: 1fr; } }
.problem {
  border-top: 1px solid var(--rule);
  padding: 28px 32px 28px 0;
  display: grid; grid-template-columns: 36px 1fr; gap: 16px;
}
.problem:nth-child(odd) { padding-right: 40px; }
.problem:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--rule); }
@media (max-width: 720px) { .problem:nth-child(even) { padding-left: 0; border-left: 0; } }
.problem-num {
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 500;
  color: var(--accent); padding-top: 4px;
  letter-spacing: 0.08em;
}
.problem h3 {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 23px; line-height: 1.2;
  margin-bottom: 10px; letter-spacing: -0.015em;
  font-weight: 500;
}
.problem p { color: var(--ink-3); font-size: 15px; line-height: 1.6; margin: 0; }

/* Three-paths diagram */
.paths-wrap {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: 56px 48px 48px;
}
@media (max-width: 720px) { .paths-wrap { padding: 32px 20px; } }
.paths-svg-host { position: relative; width: 100%; max-width: 880px; margin: 0 auto; }
.paths-svg-host svg { width: 100%; height: auto; display: block; overflow: visible; }
.paths-legend {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) { .paths-legend { grid-template-columns: 1fr; gap: 20px; } }
.legend-item h4 {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 19px; margin: 0 0 4px;
  font-weight: 500;
}
.legend-item p { font-size: 13px; color: var(--ink-4); margin: 0; line-height: 1.5; }
.legend-tag {
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 8px;
}

/* Benefit cards */
.benefits {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 32px;
  background: var(--bg-card);
  position: relative;
}
.benefit-icon { width: 36px; height: 36px; margin-bottom: 24px; color: var(--accent); }
.benefit h3 {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 23px; line-height: 1.2; letter-spacing: -0.015em;
  margin-bottom: 12px; font-weight: 500;
}
.benefit p { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0; }
.benefit-num {
  position: absolute; top: 24px; right: 24px;
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 500;
  color: var(--ink-4); letter-spacing: 0.12em;
}

/* Comparison */
.compare { margin-top: 48px; width: 100%; border-collapse: collapse; font-size: 15px; }
.compare thead th {
  text-align: left; font-weight: 500;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4);
  font-family: "Inter", sans-serif;
  padding: 18px 24px; border-bottom: 1px solid var(--rule);
}
.compare thead th:nth-child(3) { color: var(--accent); }
.compare tbody td { padding: 24px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.compare tbody tr:hover { background: var(--bg-card); }
.compare .row-label {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 18px; font-weight: 500; color: var(--ink); width: 22%;
}
.compare .old-cell { color: var(--ink-4); width: 35%; text-decoration: line-through; text-decoration-color: var(--rule); text-decoration-thickness: 1px; }
.compare .new-cell { color: var(--ink-2); width: 43%; font-family: "Inter", sans-serif; }
.compare .new-cell::before {
  content: "→"; color: var(--accent);
  margin-right: 12px;
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
}
@media (max-width: 720px) {
  .compare, .compare thead, .compare tbody, .compare tr, .compare td, .compare th { display: block; }
  .compare thead { display: none; }
  .compare tbody tr { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .compare tbody td { padding: 4px 0; border: 0; }
  .compare .row-label { font-size: 19px; margin-bottom: 4px; }
}

/* Scenarios */
.scenarios {
  margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
@media (max-width: 720px) { .scenarios { grid-template-columns: 1fr; } }
.scenario {
  background: var(--bg-card); padding: 36px;
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
}
.scenario-tag {
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.16em;
  text-transform: uppercase; padding-top: 6px;
}
.scenario h3 {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 21px; font-weight: 500; letter-spacing: -0.012em;
  margin-bottom: 10px;
}
.scenario p { font-size: 14px; color: var(--ink-3); line-height: 1.6; margin: 0; }
.scenario .flow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-size: 11px; color: var(--ink-4); flex-wrap: wrap;
}
.scenario .flow span { padding: 4px 10px; background: var(--bg); border: 1px solid var(--rule); }
.scenario .flow .arr { color: var(--accent); }

/* Tech */
.tech {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule); background: var(--bg-card);
}
@media (max-width: 860px) { .tech { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tech { grid-template-columns: 1fr; } }
.spec { padding: 32px 24px; border-right: 1px solid var(--rule); }
.spec:last-child { border-right: 0; }
@media (max-width: 860px) {
  .spec { border-bottom: 1px solid var(--rule); }
  .spec:nth-child(2n) { border-right: 0; }
  .spec:nth-last-child(-n+2) { border-bottom: 0; }
}
.spec-key {
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.spec-value {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 18px; line-height: 1.4; color: var(--ink);
  font-weight: 500;
}

/* CTA */
.cta-final { background: #1a1310; color: var(--bg); padding: 104px 0; border-top: 1px solid var(--rule); }
[data-theme="dark"] .cta-final { background: var(--bg-card); }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; gap: 48px; } }
.cta-final h2 {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.08; letter-spacing: -0.022em;
  margin-bottom: 32px; padding-bottom: 4px;
  font-weight: 400;
}
.cta-final h2 em { font-style: italic; color: #d97a8a; }
[data-theme="dark"] .cta-final h2 em { color: var(--accent); }
.cta-final p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(246, 242, 234, 0.72); margin: 0 0 32px; max-width: 48ch;
}
[data-theme="dark"] .cta-final p { color: var(--ink-3); }
.cta-final .eyebrow { color: rgba(246, 242, 234, 0.55); }
.cta-final .eyebrow::before { background: #d97a8a; }
.cta-final .contact-detail {
  display: flex; gap: 16px; padding: 16px 0;
  border-top: 1px solid rgba(246, 242, 234, 0.14);
  font-size: 14px; color: rgba(246, 242, 234, 0.88);
}
.cta-final .contact-detail:last-child { border-bottom: 1px solid rgba(246, 242, 234, 0.14); }
.cta-final .contact-detail .k {
  width: 90px; flex: none;
  font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(246, 242, 234, 0.5); padding-top: 2px;
}

/* Form */
.form-card { background: var(--bg); color: var(--ink); padding: 40px 36px; }
.form-card h3 {
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 24px; margin-bottom: 4px; font-weight: 500;
}
.form-card .sub { color: var(--ink-4); font-size: 13px; margin-bottom: 28px; font-family: "Inter", sans-serif; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--rule);
  color: var(--ink); font-family: inherit; font-size: 15px; outline: none;
  transition: border-color 160ms;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: var(--accent); }
.field textarea { min-height: 60px; resize: vertical; }
.field-error {
  display: block; min-height: 16px;
  margin-top: 6px;
  font-family: "Inter", sans-serif;
  font-size: 12px; color: var(--accent);
}
.form-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--highlight);
  border-left: 3px solid var(--accent);
  font-size: 13px; color: var(--ink-2);
  font-family: "Inter", sans-serif;
}
.form-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-card button[aria-busy="true"] { opacity: 0.6; cursor: wait; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.form-foot { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.form-foot small { color: var(--ink-4); font-size: 12px; line-height: 1.4; }

.form-success { padding: 36px 32px; background: var(--bg); text-align: center; }
.form-success svg { color: var(--accent); margin-bottom: 16px; }
.form-success h3 { font-family: "GT Sectra", "Newsreader", Georgia, serif; font-weight: 500; margin-bottom: 8px; }
.form-success p { color: var(--ink-4); font-size: 14px; margin: 0; }

/* Logos */
.logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .logos { grid-template-columns: repeat(3, 1fr); } }
.logo-cell {
  padding: 28px 16px; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--rule-soft);
  color: var(--ink-4);
  font-family: "GT Sectra", "Newsreader", Georgia, serif;
  font-size: 18px; letter-spacing: -0.005em; font-style: italic;
  opacity: 0.65; transition: opacity 200ms;
}
.logo-cell:hover { opacity: 1; }
.logo-cell:last-child { border-right: 0; }

/* Footer */
.footer {
  padding: 36px 0; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-4); flex-wrap: wrap; gap: 16px;
  font-family: "Inter", sans-serif;
}
.footer a { color: var(--ink-4); text-decoration: none; margin-left: 24px; }
.footer a:hover { color: var(--ink); }

.muted { color: var(--ink-4); }
.divider { height: 1px; background: var(--rule); width: 80px; margin: 24px 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeUp 600ms ease both; }

/* ──────────────────────────────────────────────────────────────────────── */
/* Mobile-Tweaks: kompaktere Sektion-Padding für Lesbarkeit auf kleinen Geräten */
/* ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }
  .hero { padding: 48px 0 64px; }
  .cta-final { padding: 64px 0; }
  .hero-meta { gap: 14px 24px; }
  .form-card { padding: 28px 24px; }
}

/* Touch-Targets: Buttons auf Mobile etwas grösser */
@media (max-width: 720px) {
  .btn-sm { padding: 12px 18px; font-size: 14px; }
  .btn { padding: 16px 22px; }
}

/* ──────────────────────────────────────────────────────────────────────── */
/* Legal-Pages (Impressum / Datenschutz / 404) */
/* ──────────────────────────────────────────────────────────────────────── */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}
@media (max-width: 720px) { .legal { padding: 56px 24px 88px; } }

.legal h1 {
  font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.022em;
  margin: 24px 0 32px;
  font-weight: 400;
}
.legal h1 em { color: var(--accent); font-style: italic; }
.legal h2 {
  font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif;
  font-size: 24px; line-height: 1.2; letter-spacing: -0.012em;
  margin: 56px 0 16px; font-weight: 500;
}
.legal h3 {
  font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif;
  font-size: 18px; line-height: 1.3;
  margin: 32px 0 8px; font-weight: 500;
}
.legal p, .legal li {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-2);
  font-family: "Inter", sans-serif;
}
.legal p { margin: 0 0 16px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .lede {
  font-size: 18px; color: var(--ink-3);
  margin-bottom: 40px;
}
.legal .placeholder {
  background: var(--highlight);
  padding: 1px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92em;
  color: var(--accent);
}
.legal .meta {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--ink-4);
  font-family: "Inter", sans-serif;
}
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px; color: var(--ink-4);
  text-decoration: none; margin-bottom: 32px;
}
.legal-back:hover { color: var(--accent); }
.legal-back::before { content: "←"; color: var(--accent); }

/* 404 Page */
.notfound {
  min-height: 60vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.notfound .code {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.notfound h1 {
  font-family: "GT Sectra", "Source Serif 4", "Newsreader", Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.0; letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 24px;
}
.notfound h1 em { color: var(--accent); font-style: italic; }
.notfound p { max-width: 420px; color: var(--ink-3); margin: 0 0 40px; }

/* Print: vernünftiger Default für Impressum/Datenschutz auf Papier */
@media print {
  .nav, .menu-toggle, .mobile-nav, .footer a, .cta-final, .schema, .paths-wrap { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
  .legal { padding: 24px; max-width: none; }
}

