/* ==========================================================
   Varde – Offertenprogramme für Handwerksbetriebe (Version 2)
   ========================================================== */

/* ---------- Schrift (lokal, keine externen Anfragen) ---------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}

:root {
  --navy: #0F2A44;
  --navy-tief: #0A1E31;
  --akzent: #1D63D8;
  --akzent-hover: #164FB0;
  --akzent-hell: #E8EFFB;
  --weiss: #FFFFFF;
  --grau-flaeche: #F4F6F9;
  --linie: #DDE3EA;
  --text: #0F2A44;
  --text-ruhig: #4A5B6E;

  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --radius-karte: 14px;
  --container: 1160px;
  --rand: 20px;
  --abstand-section: clamp(56px, 7vw, 96px);
  --schatten-karte: 0 1px 2px rgba(15, 42, 68, 0.05), 0 6px 20px rgba(15, 42, 68, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--weiss); color: var(--navy);
  padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typografie ---------- */

h1 {
  font-size: clamp(2.25rem, 6.2vw, 4.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.375rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 600;
  text-wrap: balance;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 12px;
}
.eyebrow-hell { color: rgba(255, 255, 255, 0.78); }

.lead {
  font-size: 1.125rem;
  color: var(--text-ruhig);
  margin-top: 16px;
  max-width: 46ch;
}

.section-kopf { margin-bottom: clamp(32px, 4vw, 48px); max-width: 640px; }

/* ---------- Button ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  background: var(--akzent);
  color: var(--weiss);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.18s ease, transform 0.12s ease;
  touch-action: manipulation;
}
.button:hover { background: var(--akzent-hover); }
.button:active { transform: scale(0.98); }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--weiss);
  text-decoration: none;
}
.nav { display: flex; gap: 28px; }
.nav a {
  display: inline-block;
  color: var(--weiss);
  font-weight: 500;
  text-decoration: none;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease;
}
.nav a:hover { border-color: rgba(255, 255, 255, 0.7); }
.nav-optional { display: none; }

/* ---------- 1. Hero ---------- */

/* Handy: Foto oben frei sichtbar, Text darunter auf dunkelgrauem Grund */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--weiss);
  background: #1F2226;
  overflow: hidden;
}

/* dezenter Verlauf oben, damit Logo und Navigation lesbar bleiben */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero-bild {
  position: relative;
  height: 54svh;
  min-height: 340px;
  max-height: 560px;
}
.hero-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 62%;
}
/* unten leicht abdunkeln, weicher Übergang in den grauen Hintergrund */
.hero-bild::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 40%;
  background: linear-gradient(to top, #1F2226 0%, rgba(31, 34, 38, 0.55) 35%, rgba(31, 34, 38, 0) 100%);
  pointer-events: none;
}

.hero-inhalt {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 56px;
}

.hero h1 span { display: block; text-wrap: balance; }
.hero h1 .zeile-2 { color: rgba(255, 255, 255, 0.85); }

.hero-text {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 22px 0 34px;
  max-width: 40ch;
}

/* Tablet / Desktop: Text über dem Foto, neutraler Verlauf von links */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    max-height: 960px;
  }
  .hero-bild {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero-bild img { object-position: 72% 30%; }
  .hero-bild::after {
    inset: 0;
    height: auto;
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 55%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 75%);
  }
  .hero-inhalt {
    margin-top: 0;
    padding-top: 88px;
    padding-bottom: 72px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 24px rgba(0, 0, 0, 0.3);
  }
  .hero .button { text-shadow: none; }
}

@media (min-width: 1024px) {
  /* Text unten links, damit Kopf und Oberkörper der Person frei bleiben */
  .hero h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
  .hero-inhalt { padding-bottom: clamp(64px, 10vh, 112px); }
  .hero-text { margin: 18px 0 30px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--abstand-section); }
.section-grau { background: var(--grau-flaeche); }
.section-dunkel { background: var(--navy); color: var(--weiss); }

/* ---------- Icons ---------- */

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--akzent-hell);
  color: var(--akzent);
}
.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-ruhig { background: #E6EAF0; color: var(--text-ruhig); }
.icon-gross { width: 72px; height: 72px; border-radius: 16px; }
.icon-gross svg { width: 48px; height: 48px; stroke-width: 1.5; }

/* ---------- Karten (Probleme + Vorteile) ---------- */

.karten { display: grid; gap: 20px; }

.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-karte);
  padding: 28px 24px;
}
.karte h3 { margin-top: 20px; }
.karte p { margin-top: 10px; color: var(--text-ruhig); }

.karte-vorteil {
  padding: 32px 28px 36px;
  box-shadow: var(--schatten-karte);
}
.karte-vorteil h3 { margin-top: 24px; font-size: 1.25rem; }

/* ---------- 4. So funktioniert's ---------- */

.zweispaltig {
  display: grid;
  gap: 48px;
  align-items: center;
}

.schritte { margin-top: 32px; }
.schritte li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-block: 14px;
}
.schritte li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 64px;
  bottom: -8px;
  width: 2px;
  background: var(--linie);
}
.nummer {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--weiss);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.schritte h3 { font-size: 1.125rem; padding-top: 9px; }
.schritte p { margin-top: 4px; color: var(--text-ruhig); max-width: 42ch; }

/* ---------- Laptop-Mockup ---------- */

.mockup { min-width: 0; }
.laptop {
  container-type: inline-size;
  padding-inline: 7%;
}
.laptop-deckel {
  background: #1C2026;
  border-radius: 2.6cqi 2.6cqi 0 0;
  padding: 2.4cqi 2.4cqi 3cqi;
  box-shadow: 0 0 0 1px #2C323A inset;
}
.laptop-bildschirm {
  aspect-ratio: 16 / 10.4;
  background: #DCE2EA;
  border-radius: 0.6cqi;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 1.95cqi;
  line-height: 1.4;
}
.app-leiste {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2cqi;
  padding: 1cqi 1.8cqi;
  background: #F4F6F9;
  border-bottom: 1px solid #CDD5DF;
  color: var(--text-ruhig);
  font-size: 1.7cqi;
}
.punkte { display: inline-flex; gap: 0.8cqi; }
.punkte i { width: 1.3cqi; height: 1.3cqi; border-radius: 50%; background: #C3CBD6; }
.app-titel { flex: 1; text-align: center; margin-right: 6cqi; }

.offerte {
  flex: 1;
  margin: 2.2cqi 5cqi 0;
  padding: 3.4cqi 4cqi 2cqi;
  background: var(--weiss);
  box-shadow: 0 0 2cqi rgba(15, 42, 68, 0.12);
  color: #1D2733;
}
.offerte p { margin: 0; }
.offerte .klein { font-size: 1.55cqi; color: #6A7685; }

.offerte-kopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.8cqi;
  border-bottom: 0.3cqi solid var(--navy);
}
.firma { font-weight: 700; font-size: 2.7cqi; color: var(--navy); letter-spacing: -0.01em; }
.beispiel-badge {
  font-size: 1.45cqi;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A4B00;
  background: #FFF1D6;
  border: 1px solid #F0D49B;
  border-radius: 99px;
  padding: 0.3cqi 1.4cqi;
}
.offerte-meta {
  display: flex;
  justify-content: space-between;
  gap: 3cqi;
  margin: 2cqi 0 2.2cqi;
}
.offerte-titel { font-weight: 600; }
.kunde { text-align: right; }

.offerte-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.offerte-tabelle th,
.offerte-tabelle td {
  padding: 0.75cqi 0.8cqi;
  text-align: left;
  white-space: nowrap;
}
.offerte-tabelle th:first-child,
.offerte-tabelle td:first-child { padding-left: 0; }
.offerte-tabelle th:last-child,
.offerte-tabelle td:last-child { padding-right: 0; }
.offerte-tabelle td:nth-child(2) { white-space: normal; width: 100%; }
.offerte-tabelle .r { text-align: right; }
.offerte-tabelle thead th {
  font-size: 1.5cqi;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6A7685;
  border-bottom: 1px solid #D5DCE4;
}
.offerte-tabelle tbody td { border-bottom: 1px solid #EDF0F4; }
.offerte-tabelle tfoot td { padding-top: 0.6cqi; padding-bottom: 0.2cqi; color: #4A5B6E; }
.offerte-tabelle tfoot td:first-child { text-align: right; padding-right: 3cqi; }
.offerte-tabelle tfoot tr:first-child td { padding-top: 1.4cqi; }
.offerte-tabelle tfoot .total td {
  color: var(--navy);
  font-weight: 700;
  padding-top: 1cqi;
}
.offerte-tabelle tfoot .total td:last-child { border-top: 0.25cqi solid var(--navy); }

.laptop-basis {
  position: relative;
  height: 2.6cqi;
  margin-inline: calc(-7% / 0.86);
  background: linear-gradient(to bottom, #C9CFD7 0%, #AEB5BF 60%, #8F97A2 100%);
  border-radius: 0 0 2.4cqi 2.4cqi;
  box-shadow: 0 2cqi 3cqi -1cqi rgba(15, 42, 68, 0.35);
}
.laptop-basis::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 1cqi;
  transform: translateX(-50%);
  background: #9AA2AD;
  border-radius: 0 0 1cqi 1cqi;
}

.mockup figcaption {
  margin-top: 20px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-ruhig);
}

/* ---------- 5. Zeitstrahl ---------- */

.zeitstrahl {
  display: grid;
  gap: 8px;
}
.zeitstrahl li {
  position: relative;
  padding: 0 0 24px 68px;
}
.zeitstrahl li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: -2px;
  width: 2px;
  background: var(--linie);
}
.punkt {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--weiss);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.punkt-akzent .punkt { background: var(--akzent); border-color: var(--akzent); color: var(--weiss); }
.zeitstrahl h3 { font-size: 1.125rem; padding-top: 9px; }
.zeitstrahl p { margin-top: 6px; color: var(--text-ruhig); max-width: 32ch; }

/* ---------- 6. Für wen ---------- */

.bild-rahmen {
  border-radius: var(--radius-karte);
  overflow: hidden;
  background: var(--linie);
  box-shadow: 0 1px 2px rgba(15, 42, 68, 0.06), 0 12px 32px rgba(15, 42, 68, 0.10);
}
.bild-rahmen img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bild-hoch img { aspect-ratio: 4 / 5; object-position: center 30%; }

.branchen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.branchen li {
  padding: 10px 18px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-weight: 500;
  background: var(--weiss);
}

/* ---------- Warum Varde? ---------- */

.warum { padding-bottom: 0; }
.warum-inhalt {
  padding-bottom: var(--abstand-section);
  border-bottom: 1px solid var(--linie);
}
.warum-inhalt p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 31em; /* ca. 60 Zeichen pro Zeile */
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text);
}

/* ---------- 7. Preise ---------- */

.preise {
  display: grid;
  gap: 20px;
}
.preis-karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-karte);
  padding: 32px 28px;
  box-shadow: var(--schatten-karte);
}
.preis-karte h3 { font-size: 1.25rem; }
.preis {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.preis .ab { font-size: 1rem; font-weight: 500; color: var(--text-ruhig); letter-spacing: 0; }
.preis-einheit { margin-top: 6px; color: var(--text-ruhig); }

.liste-check {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--linie);
  display: grid;
  gap: 10px;
}
.liste-check li {
  position: relative;
  padding-left: 30px;
}
.liste-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--akzent-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D63D8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.preis-hinweis {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.preis-hinweis p { font-weight: 500; }

/* ---------- 8. FAQ ---------- */

.faq {
  max-width: 880px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-karte);
  overflow: hidden;
}
.faq details + details { border-top: 1px solid var(--linie); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 60px 20px 24px;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #FAFBFC; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 0; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A44' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 24px 22px;
  color: var(--text-ruhig);
  max-width: 64ch;
}

/* ---------- 9. Kontakt ---------- */

.kontakt-text {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
}
.kontakt-wege {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.kontakt-karte {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  min-width: 0;
}
.kontakt-karte:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}
.kontakt-karte > span:last-child { min-width: 0; }
.kontakt-karte .icon { background: var(--akzent); color: var(--weiss); }
.kontakt-label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}
.kontakt-wert {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- 10. Footer ---------- */

.site-footer {
  background: var(--navy-tief);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 48px;
  font-size: 0.9375rem;
}
.footer-inner { display: grid; gap: 32px; }
.logo-footer { font-size: 1.25rem; }
.footer-claim { margin-top: 6px; }
.impressum { font-style: normal; line-height: 1.7; }
.impressum h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--weiss);
  margin-bottom: 10px;
}
.impressum a { color: var(--weiss); text-underline-offset: 3px; }

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--weiss);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}
.footer-nav a:hover { border-color: var(--weiss); }
.footer-nav a[aria-current="page"] { border-color: var(--weiss); }

/* ---------- Datenschutz / Rechtstexte ---------- */

.site-header-solid {
  position: relative;
  background: var(--navy);
}
.rechtstext { max-width: 44rem; }
.rechtstext h1 {
  font-size: clamp(2rem, 4.4vw, 2.75rem);
  line-height: 1.12;
  text-wrap: balance;
}
.rechtstext h2 {
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 40px;
}
.rechtstext p {
  margin-top: 10px;
  color: var(--text-ruhig);
}
.rechtstext a { color: var(--akzent); text-underline-offset: 3px; }
.rechtstext .stand {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
  font-size: 0.9375rem;
}

/* ==========================================================
   Tablet / Desktop
   ========================================================== */

@media (min-width: 768px) {
  :root { --rand: 32px; }

  .header-inner { height: 88px; }


  .karten-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .preise { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; }
  .preis-karte { padding: 36px 36px 40px; }

  .zeitstrahl { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }

  .kontakt-wert { font-size: 1.1875rem; }
  .kontakt-wege { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }

  .footer-inner { grid-template-columns: 1fr auto auto; align-items: start; column-gap: 56px; }
  .footer-nav { padding-top: 1px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* 2×2-Raster: keine vertikalen Linien */
  .zeitstrahl li::after { display: none; }
  .zeitstrahl li { padding-bottom: 0; }
}

@media (min-width: 900px) {
  .nav-optional { display: list-item; }
}

@media (min-width: 1024px) {
  .zweispaltig { grid-template-columns: 1fr 1.15fr; gap: 72px; }
  .zweispaltig-umgekehrt { grid-template-columns: 0.9fr 1fr; }
  .zweispaltig-mockup { grid-template-columns: 0.8fr 1.35fr; gap: 56px; }
  .zweispaltig-mockup .laptop { padding-inline: 5%; }
  .zweispaltig-mockup .laptop-basis { margin-inline: calc(-5% / 0.9); }

  /* Zeitstrahl horizontal */
  .zeitstrahl { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .zeitstrahl li { padding: 64px 0 0; }
  .zeitstrahl li:not(:last-child)::after {
    left: 52px;
    right: -24px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .zeitstrahl h3 { padding-top: 0; }
}

@media (max-width: 1023px) {
  .zweispaltig-umgekehrt .bild-rahmen { order: 2; }
  .bild-hoch img { aspect-ratio: 3 / 2; }
}

@media (max-width: 480px) {
  .laptop { padding-inline: 0; }
  .laptop-basis { margin-inline: 0; }
  .laptop-bildschirm { aspect-ratio: 16 / 11.5; font-size: 2.15cqi; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
