/* =====================================================================
   FWM Elektrotechnik GmbH – Style
   Reines CSS3, kein Framework. Designsystem (Farben, Typo) als
   CSS-Variablen. Aufbau: Reset → Tokens → Layout → Komponenten →
   Sektionen → Animationen → Responsive.
   ===================================================================== */

/* ---- Webfont (lokal) ---- */
@import url('../fonts/inter.css');

/* =========================== Reset =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
textarea,
select {
  font: inherit;
}

/* =========================== Tokens =========================== */
:root {
  --blue: #005bbd; /* primary */
  --blue-dark: #00499a; /* hover */
  --ink: #1a1a1a; /* Haupttext / Headings */
  --muted: #67737e; /* sekundärer Text */
  --line: #e2e7ec; /* Rahmen / Trenner */
  --bg: #ffffff;
  --bg-soft: #f5f7fa; /* leicht graue Sektionen */
  --bg-soft2: #eef1f5;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(16, 24, 40, 0.1),
    0 8px 10px -6px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, 0.18);

  --maxw: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================== Base =========================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  color: var(--muted);
}

/* Akzentwort in Headings (blau) */
.accent {
  color: var(--blue);
}

/* =========================== Layout =========================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}
.section--soft {
  background: var(--bg-soft);
}

/* Kleines Label über Überschriften: "— UNSERE LEISTUNGEN" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow--center {
  justify-content: center;
}

.section-head {
  max-width: 640px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
}

/* =========================== Buttons =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px -4px rgba(0, 91, 189, 0.5);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px rgba(0, 91, 189, 0.55);
}
.btn--primary:hover svg {
  transform: translateX(4px);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn--ghost {
  color: var(--blue);
  padding: 8px 0;
  font-weight: 600;
}
.btn--ghost:hover svg {
  transform: translateX(4px);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}

/* =========================== Header =========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  height: 42px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s var(--ease);
}
.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}
.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}
.header__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__cta .btn {
  padding: 10px 20px;
}

/* Hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.burger svg {
  width: 26px;
  height: 26px;
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  padding: calc(var(--header-h) + 24px) 24px 40px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.is-open {
  transform: translateX(0);
}
.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu a:hover {
  color: var(--blue);
}
.mobile-menu .btn {
  margin-top: 24px;
}
body.menu-open {
  overflow: hidden;
}

/* =========================== Hero =========================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 90px;
}
.hero__intro {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 540px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  margin-bottom: 22px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.hero__badge svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex: none;
}
.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Seiten-Hero (Unterseiten, kompakter) */
.page-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding-block: 80px 64px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}
.page-hero p {
  margin-top: 18px;
  font-size: 18px;
  max-width: 640px;
}

/* =========================== Service-Karten =========================== */
.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}
.cards {
  display: grid;
  gap: 28px;
}
.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.06);
}
.card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card__body h3 {
  font-size: 19px;
  font-weight: 700;
}
.card__body p {
  font-size: 14.5px;
  flex: 1;
}
.card__body .btn--ghost {
  margin-top: 4px;
  font-size: 14px;
}

/* =========================== Split-Sektion =========================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--media-left .split__media {
  order: -1;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.split__text h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 20px;
}
.split__text p + p {
  margin-top: 14px;
}

/* Tag-Pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 28px 0;
}
.stat__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat__label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* Team-Bild mit Overlay-Karte */
.media-card {
  position: relative;
}
.media-card img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.media-card__badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
}
.media-card__badge .eyebrow {
  margin-bottom: 8px;
}
.media-card__badge strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.media-card__badge span {
  font-size: 14px;
  color: var(--muted);
}

/* =========================== Werte-Karten =========================== */
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.value__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 91, 189, 0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value__icon svg {
  width: 26px;
  height: 26px;
}
.value h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.value p {
  font-size: 14.5px;
}

/* =========================== Kontakt-Infoboxen =========================== */
.info-grid {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.info-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(0, 91, 189, 0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.info-item__icon svg {
  width: 22px;
  height: 22px;
}
.info-item h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-item p,
.info-item a {
  color: var(--ink);
  font-size: 15px;
}
.info-item a:hover {
  color: var(--blue);
}

/* =========================== CTA-Band =========================== */
.cta {
  background: var(--blue);
  color: var(--white);
  text-align: center;
}
.cta h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
  max-width: 760px;
  margin-inline: auto;
}
.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 18px auto 30px;
  font-size: 17px;
}

/* =========================== Kontaktformular =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
/* Fortschrittsbalken */
.funnel-progress {
  margin-bottom: 28px;
}
.funnel-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-soft2);
  overflow: hidden;
}
.funnel-progress__bar span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  transition: width 0.4s var(--ease);
}
.funnel-progress__label {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}
.funnel-progress__label strong {
  color: var(--blue);
}

/* Funnel-Schritte */
.funnel-step {
  display: none;
}
.funnel-step.is-active {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}
.funnel-step > h3 {
  font-size: 21px;
  margin-bottom: 6px;
}
.funnel-step > p.hint {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Auswahl-Karten (horizontal, Icon-Badge + Label) */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.choice-grid--2 {
  grid-template-columns: 1fr 1fr;
}
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.choice__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 91, 189, 0.08);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.choice__icon svg {
  width: 22px;
  height: 22px;
}
.choice__label {
  flex: 1;
}
.choice:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.choice.is-selected {
  border-color: var(--blue);
  background: rgba(0, 91, 189, 0.06);
}
.choice.is-selected .choice__icon {
  background: var(--blue);
  color: var(--white);
}

/* Zusammenfassung der Auswahl (letzter Schritt) */
.funnel-summary {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 18px;
  background: var(--bg-soft2);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 8px;
}
.funnel-summary:empty {
  display: none;
}
.funnel-summary li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
}
.funnel-summary li span:first-child {
  color: var(--muted);
}
.funnel-summary li span:last-child {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* Datenschutz-Checkbox */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px 0 22px;
  cursor: pointer;
}
.consent input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.consent a {
  color: var(--blue);
  text-decoration: underline;
}
.funnel-submit {
  width: 100%;
  justify-content: center;
}

/* Funnel-Navigation (Zurück) */
.funnel-nav {
  margin-top: 18px;
}
.funnel-nav [hidden] {
  display: none;
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367737e' 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 14px center;
  background-size: 18px;
  padding-right: 42px;
  cursor: pointer;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 91, 189, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
/* Honeypot: für Menschen unsichtbar */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}
.form-status.err {
  display: block;
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}
.form-status a {
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
}

/* Karte mit Einwilligungs-Platzhalter (DSGVO) */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}
.map-embed iframe {
  display: none;
  width: 100%;
  height: 230px;
  border: 0;
}
.map-embed.is-loaded iframe {
  display: block;
}
.map-embed.is-loaded .map-consent {
  display: none;
}
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 34px 24px;
  background: var(--bg-soft2);
}
.map-consent svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
}
.map-consent p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 360px;
}
.map-consent strong {
  color: var(--ink);
}
.map-consent__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.map-consent__remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

/* =========================== Legal-Text =========================== */
.legal {
  padding-block: 64px 96px;
}
.legal .container {
  max-width: 820px;
}
.legal h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
}
.legal h2 {
  font-size: 21px;
  margin: 38px 0 12px;
}
.legal p,
.legal li {
  color: var(--ink);
  font-size: 15.5px;
  margin-bottom: 12px;
}
.legal p.muted {
  color: var(--muted);
}
.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal a {
  color: var(--blue);
  word-break: break-word;
}
.legal a:hover {
  text-decoration: underline;
}

/* =========================== Footer =========================== */
.footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.78);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-block: 64px 48px;
}
.footer__brand img {
  height: 46px;
  margin-bottom: 18px;
  /* weißes Logo per Filter (Original-Logo ist blau) */
  filter: brightness(0) invert(1);
}
.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}
.footer__social a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.footer__social svg {
  width: 18px;
  height: 18px;
}
.footer h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul li {
  margin-bottom: 11px;
}
.footer ul a,
.footer__brand + * a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: var(--white);
}
.footer__contact p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  margin-bottom: 8px;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.footer__bottom nav {
  display: flex;
  gap: 22px;
}
.footer__bottom nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  transition: color 0.2s;
}
.footer__bottom nav a:hover {
  color: var(--white);
}

/* =========================== Animationen =========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-Reveal: per JS .reveal → .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay='1'] {
  transition-delay: 0.08s;
}
.reveal[data-delay='2'] {
  transition-delay: 0.16s;
}
.reveal[data-delay='3'] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================== Responsive =========================== */
@media (max-width: 980px) {
  .nav,
  .header__cta .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 60px;
  }
  .hero__media {
    order: -1;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--media-left .split__media {
    order: -1;
  }
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 64px;
  }
  .cards--4,
  .cards--3,
  .cards--2,
  .choice-grid,
  .choice-grid--2 {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px 20px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__actions .btn,
  .cta .btn {
    width: 100%;
  }
  .stats {
    gap: 24px;
  }
}

/* =========================== Cookie-Banner =========================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  animation: fadeUp 0.4s ease both;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 26px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 360px;
}
.cookie-banner__title {
  font-size: 16px;
  margin: 0 0 6px;
}
.cookie-banner__text p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.cookie-banner a {
  color: var(--blue);
  text-decoration: underline;
}
.cookie-options {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.cookie-options[hidden] {
  display: none;
}
.cookie-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}
.cookie-option input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.cookie-option strong {
  color: var(--ink);
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-banner__actions [hidden] {
  display: none;
}
@media (max-width: 640px) {
  .cookie-banner__inner {
    padding: 18px;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1 1 auto;
  }
}
