/* ============================================================
   Stadler Elektrotechnik – styles.css
   Ein-Seiten-Layout, Mobile First, keine Frameworks
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben */
  --navy-950: #071120;
  --navy-900: #0A1930;
  --navy-800: #0E2140;
  --navy-700: #16304F;
  --ink: #0E1B2C;
  --slate: #44566E;
  --muted: #64748B;
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --border: #DFE7F0;
  --border-dark: rgba(255, 255, 255, 0.12);

  --blue-600: #0B72C4;      /* Primär-Buttons, Links auf hell */
  --blue-500: #1590E8;
  --blue-400: #3FAAF5;      /* Akzente auf dunkel */
  --blue-100: #E3F1FC;
  --green-600: #0E9F6E;     /* Sicherheitsgrün – „geprüft“ */
  --green-100: #E2F7EE;

  --text-on-dark: #C4D3E6;
  --heading-on-dark: #FFFFFF;

  /* Typografie */
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 44, 0.05), 0 1px 3px rgba(14, 27, 44, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 27, 44, 0.09);
  --header-h: 72px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  font-feature-settings: "cv05" 1, "cv11" 1;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; }
address { font-style: normal; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.container-narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 2px 8px rgba(11, 114, 196, 0.35);
}
.btn-primary:hover { background: var(--blue-500); box-shadow: 0 4px 14px rgba(11, 114, 196, 0.4); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6); }

.btn-ghost-dark {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--border);
}
.btn-ghost-dark:hover { border-color: var(--blue-600); color: var(--blue-600); }

.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy-900);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border-dark);
  box-shadow: 0 4px 20px rgba(4, 10, 20, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-600));
  color: #fff;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.brand-sub {
  color: var(--blue-400);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.main-nav li a {
  display: block;
  padding: 0.5rem 0.8rem;
  color: var(--text-on-dark);
  font-weight: 550;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.main-nav li a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.main-nav li a.active { color: #fff; background: rgba(63, 170, 245, 0.16); }

.btn-nav { padding: 0.6rem 1.05rem; font-size: 0.92rem; margin-left: 0.6rem; }

.main-nav { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-900);
    border-bottom: 1px solid var(--border-dark);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
    box-shadow: 0 24px 40px rgba(4, 10, 20, 0.5);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .main-nav li a { padding: 0.85rem 0.9rem; font-size: 1.05rem; }
  .btn-nav { margin: 0.75rem 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 620px 420px at 82% 30%, rgba(21, 144, 232, 0.16), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: 4rem;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--blue-400); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 17ch;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-on-dark);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust svg { color: var(--green-600); filter: brightness(1.5); flex-shrink: 0; }

/* Hero-Visual: Prüfplakette + Protokollkarte */
.hero-visual { display: flex; justify-content: center; }

.plakette-wrap { position: relative; width: min(320px, 78vw); }

.plakette {
  width: 100%;
  height: auto;
  transform: rotate(-7deg);
  filter: drop-shadow(0 18px 36px rgba(3, 8, 16, 0.55));
}

.proto-card {
  position: relative;
  margin: -34px 0 0 auto;
  max-width: 232px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  box-shadow: 0 16px 40px rgba(3, 8, 16, 0.45);
  min-width: 200px;
}
.proto-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.proto-head svg { color: var(--blue-600); }
.proto-head strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.proto-head span { display: block; font-size: 0.72rem; color: var(--muted); }
.proto-card ul { list-style: none; display: grid; gap: 0.35rem; }
.proto-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 550;
}
.proto-card li svg { color: var(--green-600); flex-shrink: 0; }

@media (max-width: 959px) {
  .hero-visual { margin-top: 0.5rem; }
  .plakette-wrap { width: min(260px, 70vw); }
}

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-alt { background: var(--bg); }

.section-dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--text-on-dark);
}
.section-dark h2, .section-dark h3 { color: var(--heading-on-dark); }

.section-contact {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--text-on-dark);
}
.section-contact h2 { color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 800; }
.section-head p:last-child { color: var(--slate); font-size: 1.08rem; margin-bottom: 0; }
.section-dark .section-head p:last-child,
.section-contact .section-head p:last-child { color: var(--text-on-dark); }

.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Problem / Lösung ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

.split-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 800; }
.split-copy > p { color: var(--slate); font-size: 1.08rem; }

.problem-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.problem-list li {
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 2.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 550;
}
.problem-list li::before {
  content: "?";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--blue-400);
  font-weight: 800;
  font-size: 0.95rem;
}

.solution-card {
  background: var(--navy-900);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.solution-card h3 { color: #fff; font-size: 1.35rem; }
.solution-card p:last-child { margin-bottom: 0; }
.solution-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-600));
  color: #fff;
  margin-bottom: 1.25rem;
}

/* ---------- Karten (Leistungen & Vorteile) ---------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #BBD4EA;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 1.05rem;
}

.card h3 { font-size: 1.08rem; font-weight: 700; }
.card p { font-size: 0.94rem; color: var(--slate); margin-bottom: 0.65rem; }
.card p:last-child { margin-bottom: 0; }

.card-benefit {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink) !important;
  font-weight: 550;
}
.card-benefit::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--green-600);
  font-weight: 800;
}

/* ---------- Ablauf (Timeline) ---------- */
.process {
  list-style: none;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--green-600));
  opacity: 0.35;
}

.process li {
  position: relative;
  display: flex;
  gap: 1.4rem;
  padding-bottom: 2rem;
}
.process li:last-child { padding-bottom: 0; }

.process-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(21, 144, 232, 0.35), var(--shadow-sm);
}

.process-body { padding-top: 0.35rem; }
.process-body h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.process-body p { color: var(--slate); margin-bottom: 0; max-width: 52ch; }

.infobox {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.4rem;
  background: var(--green-100);
  border: 1px solid #BCE8D3;
  border-radius: var(--radius);
}
.infobox svg { color: var(--green-600); flex-shrink: 0; margin-top: 0.15rem; }
.infobox p { margin: 0; color: #14532D; font-size: 0.98rem; }
.infobox strong { color: #0B3B20; }

/* ---------- Zielgruppen ---------- */
.target-grid {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .target-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .target-grid { grid-template-columns: repeat(4, 1fr); } }

.target {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.target:hover { transform: translateY(-3px); border-color: #BBD4EA; box-shadow: var(--shadow-md); }
.target svg { color: var(--blue-600); margin-bottom: 0.7rem; }
.target h3 { font-size: 1.02rem; margin-bottom: 0.25em; }
.target p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.statement {
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 5vw, 3rem);
  background: var(--navy-900);
  border-radius: var(--radius);
  border-left: 5px solid var(--blue-500);
}
.statement p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  max-width: 62ch;
}

/* ---------- Betreuungsmodell ---------- */
.plans {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.plan {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 0.15em; }
.plan-sub { color: var(--blue-400); font-size: 0.92rem; font-weight: 600; margin-bottom: 1.4rem; }

.plan ul { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.97rem;
}
.plan li svg { color: var(--green-600); filter: brightness(1.4); flex-shrink: 0; margin-top: 0.22rem; }

.plan-note {
  margin: auto 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.9rem;
  color: var(--text-on-dark);
}

.plan-featured {
  background: rgba(21, 144, 232, 0.09);
  border-color: rgba(63, 170, 245, 0.45);
  box-shadow: 0 0 0 1px rgba(63, 170, 245, 0.25), 0 20px 44px rgba(3, 8, 16, 0.4);
}
.plan-badge {
  align-self: flex-start;
  background: var(--green-600);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.85rem; }

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-list details[open] { border-color: #BBD4EA; box-shadow: var(--shadow-sm); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 650;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-600); }
.faq-list summary svg { flex-shrink: 0; color: var(--muted); transition: transform 0.25s ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); color: var(--blue-600); }

.faq-body { padding: 0 1.3rem 1.25rem; }
.faq-body p { color: var(--slate); font-size: 0.98rem; }
.faq-body p:last-child { margin-bottom: 0; }

.faq-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.94rem;
}
.faq-body th, .faq-body td {
  text-align: left;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
}
.faq-body th { background: var(--bg); font-weight: 650; }
.faq-body td:last-child { font-weight: 550; color: var(--green-600); white-space: nowrap; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
}

.contact-list { list-style: none; display: grid; gap: 1.4rem; margin-bottom: 2.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { color: var(--blue-400); flex-shrink: 0; margin-top: 0.3rem; }
.contact-list span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 0.15rem;
}
.contact-list a, .contact-list address {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
}
.contact-list a:hover { color: var(--blue-400); text-decoration: none; }

.contact-note {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.contact-note h3 { color: #fff; font-size: 1.02rem; margin-bottom: 0.8em; }
.contact-note ol {
  list-style: none;
  counter-reset: steps;
  display: grid;
  gap: 0.7rem;
}
.contact-note ol li {
  counter-increment: steps;
  position: relative;
  padding-left: 2.2rem;
  font-size: 0.95rem;
}
.contact-note ol li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Formular */
.contact-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: 0 24px 60px rgba(3, 8, 16, 0.5);
}

.form-row { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}
.form-field label span { color: var(--blue-600); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: #FBFCFE;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 0.72rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(21, 144, 232, 0.18);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #9AA8BC; }

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}

/* Honeypot – für Menschen unsichtbar */
.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--blue-600);
  cursor: pointer;
}
.form-check label {
  font-size: 0.92rem;
  font-weight: 450;
  margin: 0;
  cursor: pointer;
  line-height: 1.5;
}

#submit-btn { margin-top: 1.5rem; }
#submit-btn svg { flex-shrink: 0; }
#submit-btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.4em;
}
.form-status.ok { color: var(--green-600); }
.form-status.err { color: #C0392B; }

.form-micro {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Erfolgsmeldung nach Versand */
.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-success .success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  margin: 0 auto 1.25rem;
}
.form-success h3 { font-size: 1.35rem; }
.form-success p { color: var(--slate); max-width: 40ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-dark);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 0.85fr 1fr; gap: 3rem; } }

.footer-brand p { font-size: 0.92rem; margin: 1.1rem 0 0; max-width: 40ch; }

.footer-badge {
  width: 148px;
  height: 148px;
  margin-top: 1.5rem;
  opacity: 0.95;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-nav ul, .footer-contact ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-nav a, .footer-contact a { color: var(--text-on-dark); font-size: 0.95rem; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { font-size: 0.95rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.5rem; }
.footer-bottom a { color: var(--text-on-dark); }
.footer-bottom a:hover { color: #fff; }

.footer-seo {
  padding-bottom: 1.5rem;
}
.footer-seo p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(196, 211, 230, 0.55);
}

/* ---------- Mobile Sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  gap: 0.7rem;
  padding: 0.7rem clamp(1rem, 4vw, 1.5rem) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10, 25, 48, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-dark);
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.mobile-cta.hidden { transform: translateY(110%); }
.mobile-cta .btn { flex: 1; padding: 0.8rem 0.5rem; font-size: 0.95rem; }

@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .site-footer { padding-bottom: 0.5rem; }
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-main { padding-block: clamp(3rem, 6vw, 4.5rem); }
.legal-main .container { max-width: 800px; }
.legal-main h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 1.2em; }
.legal-main h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-main h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal-main p, .legal-main li { color: var(--slate); }
.legal-main ul { padding-left: 1.3rem; margin-bottom: 1em; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
