/* ============================================================
   FördeWeb – Stylesheet
   Viel Weiß, maritime Akzente, große Typografie.
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
}

/* ---------- Design Tokens ---------- */
:root {
  /* Farben */
  --white: #FFFFFF;
  --bg-soft: #F4F9FA;          /* leichtes Fördewasser-Weiß */
  --ink: #0B1D26;              /* tiefes See-Dunkel */
  --ink-light: #43555F;        /* Fließtext sekundär, ~8:1 auf Weiß */
  --ink-muted: #5B6E78;        /* Labels, ~5.6:1 auf Weiß */
  --accent: #005F73;           /* Fördeblau/Petrol, 7.4:1 auf Weiß */
  --accent-hover: #00485A;
  --accent-bg: #E4F2F5;
  --aqua: #38A3C0;             /* helleres Maritim für Deko (nie für Text auf Weiß) */
  --border: #DCE7EB;
  --dark: #0B1D26;
  --dark-card: #122B38;
  --dark-border: #23404F;
  --dark-text: #C3D4DC;        /* auf --dark ~9:1 */

  /* Stage-Pastelltöne */
  --stage-1: #00B4D8;  /* Cyan */
  --stage-2: #0077B6;  /* Tiefblau */
  --stage-3: #52B788;  /* Seegrün */
  --stage-4: #FFD166;  /* Sand */
  --stage-5: #90E0EF;  /* Gischt */

  /* Typo */
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --section-pad: clamp(72px, 10vw, 128px);
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-soft: 0 12px 40px rgba(11, 29, 38, 0.08);
  --shadow-card: 0 4px 24px rgba(11, 29, 38, 0.06);
}

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

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

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

::selection { background: var(--accent); color: #fff; }

/* Fokus sichtbar – WCAG 2.4.7 */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link – WCAG 2.4.1 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  color: #fff;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }

.display {
  font-size: clamp(40px, 7.6vw, 96px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 46px);
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}

.section-title .dot { color: var(--accent); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-intro {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-light);
  max-width: 640px;
}

/* ---------- Layout-Helfer ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--section-pad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-bg); color: var(--ink); }

.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 40px; height: 40px; }
.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-name .dot { color: var(--accent); }
.brand-name .foerde { color: var(--accent); }
.site-footer .brand-name .foerde { color: #6BC6DE; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a:not(.btn) {
  display: inline-block;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 100px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-links a:not(.btn):hover { background: var(--accent-bg); color: var(--accent-hover); }
.nav-links .btn { min-height: 46px; padding: 10px 24px; margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Stage (Hero) ---------- */
.stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 140px 100px;
  overflow: hidden;
  isolation: isolate;
}

/* Farbspiel: rotierende radiale Farbkreise (SVG, SMIL) auf Weiß.
   Die 40% Deckkraft macht aus den reinen Farben den weichen Pastell-Look. */
.stage-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
}
.stage-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* weicher Übergang ins Weiß der Folge-Sektion */
.stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--white) 100%);
  z-index: -1;
  pointer-events: none;
}

.stage-inner { max-width: 1240px; }

.stage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 29, 38, 0.12);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 34px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.stage-kicker svg { width: 22px; height: 22px; flex-shrink: 0; }

.stage .display { margin-bottom: 28px; color: var(--ink); }
.stage .display .dot { color: var(--accent); }

.stage-sub {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
  color: #22343f;
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 500;
}

.stage-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-muted);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Feature-Karten (Leistungen) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.feature-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.015em; }
.feature-card p { color: var(--ink-light); font-size: 16px; }

/* ---------- Branchen ---------- */
.trades { background: var(--bg-soft); }
.trades-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.trades-copy p { margin-block: 20px 32px; color: var(--ink-light); font-size: 18px; }
.trades-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trades-imgs img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.trades-imgs img:nth-child(odd) { transform: translateY(20px); }

/* ---------- Warum ---------- */
.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 24px;
}
.why-img {
  position: sticky;
  top: 110px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.why-img img { aspect-ratio: 4 / 5; object-fit: cover; }
.why-list { display: grid; gap: 12px; }
.why-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: background-color 0.25s ease;
}
.why-item:hover { background: var(--bg-soft); }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 26px; height: 26px; }
.why-item h3 { font-size: 22px; margin-bottom: 8px; }
.why-item p { color: var(--ink-light); }

/* ---------- Statement ---------- */
.statement {
  position: relative;
  background: var(--dark);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.statement::before,
.statement::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.35;
}
.statement::before {
  width: 480px; height: 480px; left: -140px; top: -160px;
  background: radial-gradient(circle, var(--stage-2), transparent 70%);
}
.statement::after {
  width: 420px; height: 420px; right: -120px; bottom: -160px;
  background: radial-gradient(circle, var(--stage-1), transparent 70%);
}
.statement blockquote {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 24px;
}
.statement cite {
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  color: #7FB8C9;
}

/* ---------- Prozess ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  counter-reset: step;
}
.process-step {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 22px;
}
.process-step h3 { font-size: 20px; margin-bottom: 6px; }
.step-meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-hover);
  background: var(--accent-bg);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.process-step p { color: var(--ink-light); font-size: 15.5px; }

/* ---------- Referenz (dunkle Sektion) ---------- */
.showcase {
  background: var(--dark);
  color: #fff;
}
.showcase .section-label { color: #6BC6DE; }
.showcase .section-label::before { background: #6BC6DE; }
.showcase .section-intro { color: var(--dark-text); }
.showcase-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 56px;
}
.showcase-visual {
  position: relative;
}
.browser-chrome {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
/* Desktop-Ansicht: doppelt gerendert, halb skaliert */
.browser-content {
  height: 460px;
  overflow: hidden;
  position: relative;
}
.browser-content iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  border: 0;
  display: block;
  background: #fff;
}
/* Handy-Mockup, überlappt unten rechts */
.phone-frame {
  position: absolute;
  bottom: -6px;
  right: -14px;
  width: 172px;
  height: 330px;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  border: 3px solid #0B1D26;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.phone-notch {
  position: relative;
  z-index: 3;
  height: 22px;
  width: 86px;
  margin: 0 auto;
  background: #0B1D26;
  border-radius: 0 0 13px 13px;
}
.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.phone-screen iframe {
  width: 390px;
  height: 780px;
  transform: scale(0.428);
  transform-origin: top left;
  border: 0;
  pointer-events: none;
  display: block;
  background: #fff;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #EDF1F3;
  padding: 10px 14px;
}
.browser-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #C9D4D9; display: block;
}
.browser-url {
  flex: 1;
  margin-left: 8px;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5B6E78;
  padding: 4px 12px;
  font-style: normal;
}
.frame-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--dark-text);
  text-align: center;
}
.showcase-tag {
  display: inline-block;
  background: rgba(107, 198, 222, 0.12);
  color: #8FD6E8;
  border: 1px solid rgba(107, 198, 222, 0.3);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.showcase-copy h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.showcase-copy > p { color: var(--dark-text); margin-bottom: 28px; }
.showcase-list { list-style: none; display: grid; gap: 12px; margin-bottom: 36px; }
.showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #E6EEF2;
}
.showcase-list svg { width: 20px; height: 20px; color: #6BC6DE; flex-shrink: 0; }

/* ---------- Über uns ---------- */
.about-inner {
  max-width: 800px;
  margin-top: 8px;
}
.about-copy .exp-badge {
  display: inline-block;
  background: var(--accent-bg);
  color: var(--accent-hover);
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 20px;
}
.about-copy p { color: var(--ink-light); font-size: 18px; margin-bottom: 20px; }
.about-points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
}
.about-points svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.about-points span { display: block; font-weight: 400; color: var(--ink-light); font-size: 15.5px; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  padding: 22px 26px;
  min-height: 52px;
}
.faq-q .chev {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 26px 24px;
  color: var(--ink-light);
}
.faq-a.open { display: block; }

.faq-cta {
  max-width: 780px;
  margin: 40px auto 0;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.faq-cta h3 { font-size: 24px; margin-bottom: 8px; }
.faq-cta p { color: var(--ink-light); margin-bottom: 24px; }

/* ---------- Kontakt ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  margin-top: 24px;
}
.contact-info p { color: var(--ink-light); font-size: 18px; margin-bottom: 32px; max-width: 460px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 600;
}
.contact-detail .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail .ico svg { width: 22px; height: 22px; }
.contact-detail small { display: block; font-weight: 600; color: var(--ink-muted); font-size: 13.5px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 7px;
}
.form-field label .req { color: var(--accent); }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 95, 115, 0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 13.5px; color: var(--ink-muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--dark-text);
  padding-block: 72px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 15.5px; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  color: var(--dark-text);
  text-decoration: none;
  font-size: 15.5px;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 14.5px;
}
.footer-bottom .wave-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom .wave-note svg { width: 20px; height: 20px; color: #6BC6DE; }

/* ---------- Rechtsseiten ---------- */
.legal-page {
  max-width: 760px;
  margin-inline: auto;
  padding: 150px var(--gutter) 90px;
}
.legal-page h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 32px; }
.legal-page h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-page h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-light); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 36px;
}
.back-link:hover { text-decoration: underline; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 84px; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gutter) 24px;
    box-shadow: 0 24px 40px rgba(11, 29, 38, 0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 16px; border-radius: 12px; }
  .nav-links .btn { margin: 10px 0 0; }

  .trades-layout,
  .why-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .why-img { position: static; order: -1; max-width: 540px; }
  .why-img img { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding-block: 64px; }

  .features-grid,
  .process-grid,
  .trades-imgs { grid-template-columns: 1fr; }
  .browser-content { height: 360px; }
  .phone-frame { display: none; }
  .trades-imgs { max-width: 420px; }
  .trades-imgs img:nth-child(odd) { transform: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stage { padding-block: 120px 90px; }
  .stage-cta .btn { width: 100%; }
  .feature-card { padding: 28px 24px; }
  .why-item { grid-template-columns: 1fr; padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Barrierefreiheit: reduzierte Bewegung – WCAG 2.3.3
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature-card, .faq-q .chev { transition: none; }
  .btn:hover, .feature-card:hover { transform: none; }
}
