/* =====================================================================
   Küchenfreunde Berlin – Homepage
   1:1 nach Figma (1440 px Designbreite).
   Layout skaliert proportional über reines vw, Mobile-Layout ab ≤640 px.
   ===================================================================== */

/* ---------- ABC Diatype ---------------------------------------------- */
@font-face {
  font-family: "ABC Diatype";
  src: url("assets/fonts/ABCDiatype-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "ABC Diatype";
  src: url("assets/fonts/ABCDiatype-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "ABC Diatype";
  src: url("assets/fonts/ABCDiatype-MediumItalic.otf") format("opentype");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "ABC Diatype";
  src: url("assets/fonts/ABCDiatype-Heavy.otf") format("opentype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "ABC Diatype";
  src: url("assets/fonts/ABCDiatype-HeavyItalic.otf") format("opentype");
  font-weight: 800; font-style: italic; font-display: swap;
}

/* ---------- Design-Tokens (basieren auf 1440 px Figma-Layout) --------
   Umrechnung: 1 px @ 1440  =  (1 / 1440) * 100 vw  =  0.06944 vw
   Alle Werte sind direkt aus den Figma-Properties abgeleitet, sodass
   das gesamte Layout proportional mitskaliert. */
:root {
  /* Farben */
  --color-ink:        #000000;
  --color-paper:      #ffffff;
  --color-signal-red: #ff4444;

  /* Fonts */
  --font-sans: "ABC Diatype", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Typografie – reine vw-Skalierung */
  --fs-headline-xl: 4.4444vw;   /* 64 px @ 1440 */
  --fs-headline-l:  3.3333vw;   /* 48 px @ 1440 */
  --fs-headline-m:  2.3611vw;   /* 34 px @ 1440 */
  --fs-stat-number: 6.6667vw;   /* 96 px @ 1440 (Heavy) */

  --lh-headline-xl: 1.0312;     /* 66 / 64  */
  --lh-headline-l:  1.25;       /* 60 / 48  */
  --lh-headline-m:  1.1176;     /* 38 / 34  */
  --lh-stat-number: 1.20;

  --ls-stat-number: -0.0417em;  /* -3 / 72  */

  /* Paddings (Figma-Werte → vw) */
  --pad-x:        2.9167vw;     /* 42 px */
  --pad-x-wide:   3.4722vw;     /* 50 px */
  --pad-x-red:    4.9306vw;     /* 71 px */
  --header-pad-y: 3.4722vw;     /* 50 px @ 1440 */

  /* Sektion-Abstände */
  --hero-pad-top:    10.4167vw; /* 150 px @ 1440 */
  --hero-pad-bot:    10.4167vw; /* 150 px @ 1440 */
  --intro-pad-y:      6.2500vw; /* 90 px  */
  --stats-pad-top:    3.7500vw; /* 54 px  */
  --stats-pad-bot:    2.9167vw; /* 42 px  */
  --services-pad-y:   2.6389vw; /* 38 px  */
  --contact-pad-top:  6.9444vw; /* 100 px */
  --contact-pad-bot:  3.0556vw; /* 44 px  */
  --contact-gap:      1.5278vw; /* 22 px  */
  --footer-pad-top:   4.1667vw; /* 60 px  */
  --footer-pad-bot:   5.5556vw; /* 80 px  */
  --red-strip-h:      2.7083vw; /* 39 px  */

  /* Linien & Borders – ebenfalls skalierend */
  --rule-width:        0.2083vw; /* 3 px  */
  --btn-border:        0.1389vw; /* 2 px  */
  --toggle-bar:        0.2778vw; /* 4 px  */

  /* Pillen-Maße */
  --pill-pad-y:        1.5972vw; /* 23 px */
  --pill-pad-x:        3.4722vw; /* 50 px */

  /* KONTAKT-Button */
  --btn-pad-y:         0.7639vw; /* 11 px */
  --btn-pad-x:         2.3611vw; /* 34 px */

  /* Bullet im Footer */
  --bullet-size:       1.1111vw; /* 16 px */
  --bullet-gap:        1.6667vw; /* 24 px */
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;     /* keine horizontale Scrollbar durch vw-Werte */
  position: relative;     /* Anchor für absolute .cursor-trail */
}

/* ---------- Cursor-Trail (Header-Bereich) ---------------------------- */
.cursor-trail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;            /* wird per JS auf bottom(.hero) gesetzt */
  pointer-events: none; /* Klicks/Touches gehen durch */
  overflow: visible;    /* Bilder dürfen aus der Header-Zone rausragen */
  z-index: 5;
}
.cursor-image {
  position: absolute;
  /* Beide Achsen kappen mit demselben Maximum: die längere Bildkante
     trifft immer denselben Wert, kürzere Kante folgt aspect ratio.
     So wirken Hoch- und Querformat optisch gleich „groß". */
  width: auto;
  height: auto;
  max-width: 24.95vw;       /* Desktop −30 % gegenüber 35.64vw */
  max-height: 24.95vw;
  min-width: 0;
  min-height: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  /* Kein Fade, kein Scale – Bilder schneiden hart rein und raus.
     Lebensdauer wird per JS via setTimeout gesteuert. */
}
@media (max-width: 640px) {
  .cursor-image {
    /* Auch hier: gleiche Max-Werte auf beiden Achsen für uniforme Größe.
       +50 % gegenüber 25.08vw. */
    max-width: 37.62vw;
    max-height: 37.62vw;
    min-width: 0;
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-image { display: none; }
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

hr.rule {
  border: 0;
  border-top: var(--rule-width) solid var(--color-ink);
  margin: 0;
  width: 100%;
}

/* ---------- Header --------------------------------------------------- */
.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.7778vw; /* 40 px */
  padding: var(--header-pad-y) var(--pad-x-wide) 0;
  position: relative; /* Stacking-Context für z-index */
  z-index: 10;        /* liegt über .cursor-trail (z-index 5) */
}
.claim {
  font-size: var(--fs-headline-m);
  line-height: var(--lh-headline-m);
  font-weight: 500;
  max-width: 29.1667vw; /* 420 px */
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: var(--btn-border) solid var(--color-signal-red);
  border-radius: 999px;
  color: var(--color-signal-red);
  background: var(--color-paper);
  font-size: var(--fs-headline-m);
  line-height: var(--lh-headline-m);
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-signal-red);
  color: var(--color-paper);
  outline: none;
}

/* Sprachumschalter als Pille (zeigt nur die inaktive Sprache, die man
   anklicken kann). Gleiches Rot-Schema wie der KONTAKT-Button. */
.btn-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: var(--btn-border) solid var(--color-signal-red);
  border-radius: 999px;
  color: var(--color-signal-red);
  background: var(--color-paper);
  font-size: var(--fs-headline-m);
  line-height: var(--lh-headline-m);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-lang:hover,
.btn-lang:focus-visible {
  background: var(--color-signal-red);
  color: var(--color-paper);
  outline: none;
}
.site-header__right {
  display: inline-flex;
  align-items: center;
  gap: 1.2vw;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .site-header__right { gap: 12px; }
}

/* ---------- Hero (KFB Logo) ------------------------------------------ */
.hero {
  padding: var(--hero-pad-top) var(--pad-x-wide) var(--hero-pad-bot);
  display: flex;
  justify-content: center;
}
.hero-logo {
  width: 93.1944vw; /* 1342 px @ 1440 */
}
.hero-logo svg {
  width: 100%;
  height: auto;
  fill: var(--color-ink);
}

/* ---------- Intro / Outro -------------------------------------------- */
.intro,
.outro {
  padding: var(--intro-pad-y) var(--pad-x);
}
.intro p,
.outro p {
  font-size: var(--fs-headline-xl);
  line-height: var(--lh-headline-xl);
  font-weight: 500;
  text-wrap: pretty;        /* ausgewogene Zeilenbrüche, keine Witwen */
  hyphens: manual;          /* keine automatische Silbentrennung */
}

/* ---------- Stats ---------------------------------------------------- */
/* Vertikales Padding sitzt auf den .stat-Children, damit border-right
   bündig zwischen oberer und unterer schwarzer Linie durchläuft. */
/* Spalten-Proportionen direkt aus Figma (Step lines bei x=415 und x=893):
   Col 1 = 415/1440, Col 2 = 478/1440, Col 3 = 547/1440 → "zufriedene Kunden"
   passt bei 48 px Medium auf eine Zeile, "+200" bei 96 px Heavy auch. */
.stats {
  display: grid;
  grid-template-columns: 415fr 478fr 547fr;
  align-items: end;
  padding: 0;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--stats-pad-top) 2.2222vw var(--stats-pad-bot); /* 32 px x @ 1440 */
  border-right: var(--rule-width) solid var(--color-ink);
}
.stat:first-child { padding-left: var(--pad-x-wide); }
.stat:last-child  { padding-right: var(--pad-x-wide); border-right: 0; }

.stat-number {
  font-size: var(--fs-stat-number);
  line-height: var(--lh-stat-number);
  letter-spacing: var(--ls-stat-number);
  font-weight: 800;            /* ABC Diatype Heavy – wie Figma */
  margin-bottom: 0.2083vw;     /* 3 px @ 1440 */
}
.stat-label {
  font-size: var(--fs-headline-l);  /* 48 px @ 1440 */
  line-height: var(--lh-headline-l);
  font-weight: 500;                 /* ABC Diatype Medium */
}

/* ---------- Services-Akkordeon (rot) --------------------------------- */
.services {
  background: var(--color-signal-red);
  color: var(--color-paper);
  padding: var(--services-pad-y) var(--pad-x-red);
  display: flex;
  flex-direction: column;
  border-top: var(--rule-width) solid var(--color-ink);
  border-bottom: var(--rule-width) solid var(--color-ink);
}

/* Wrapper für Trigger + ausklappbarer Content */
.service-item {
  display: flex;
  flex-direction: column;
  border-bottom: var(--rule-width) solid var(--color-paper);
}
.service-item:last-child { border-bottom: 0; }

/* Trigger-Zeile (Label + +/− Icon) */
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 1.4583vw 0;          /* 21 px @ 1440 */
  color: var(--color-paper);
  font-size: var(--fs-headline-l);
  line-height: var(--lh-headline-l);
  font-weight: 500;
  cursor: pointer;
}

/* Ausklappbarer Inhalt – nutzt grid-template-rows 0fr→1fr für sanfte
   Expand-Animation ohne max-height-Hacks. */
.service-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.service-content-inner {
  overflow: hidden;
}
.service-row[aria-expanded="true"] + .service-content {
  grid-template-rows: 1fr;
}
.service-content p {
  font-size: var(--fs-headline-xl);   /* identisch zur Headline XL (64 px @ 1440) */
  line-height: var(--lh-headline-xl);
  font-weight: 500;
  color: var(--color-paper);
  padding: 5.5556vw 0;                /* 80 px oben und unten @ 1440 */
}

/* +/− Icon */
.service-toggle {
  display: inline-block;
  width: 3.8194vw;     /* 55 px */
  height: 3.8194vw;
  position: relative;
  flex-shrink: 0;
}
.service-toggle::before,
.service-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--color-paper);
  transform: translate(-50%, -50%);
}
.service-toggle::before { width: 100%; height: var(--toggle-bar); }
.service-toggle::after  { width: var(--toggle-bar); height: 100%;
                          transition: transform 0.25s ease, opacity 0.25s ease; }
.service-row[aria-expanded="true"] .service-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

/* ---------- Kontakt-Pillen ------------------------------------------- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--contact-gap);
  padding: var(--contact-pad-top) var(--pad-x) var(--contact-pad-bot);
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-signal-red);
  color: var(--color-paper);
  font-size: var(--fs-headline-l);
  line-height: var(--lh-headline-l);
  font-weight: 500;
  padding: var(--pill-pad-y) var(--pill-pad-x);
  border-radius: 999px;
  white-space: nowrap;
  transition: filter 0.2s ease;
}
.pill:hover,
.pill:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

/* ---------- Footer --------------------------------------------------- */
/* Flex statt Grid, damit die Copyright-Zeile so breit werden darf wie sie
   muss – "© 2026 Personalleasing KFB GmbH." passt auf Desktop dadurch
   auf eine Zeile. Bei zu schmalen Viewports umbrechen die Items dank
   flex-wrap. */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 4.1667vw; /* 60 px */
  padding: var(--footer-pad-top) var(--pad-x) var(--footer-pad-bot);
}
.copyright {
  font-size: var(--fs-headline-l);
  line-height: var(--lh-headline-l);
  font-weight: 500;
}
.copyright .nowrap { white-space: nowrap; }
.legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.legal li {
  font-size: var(--fs-headline-l);
  line-height: var(--lh-headline-l);
  font-weight: 500;
  position: relative;
  padding-left: var(--bullet-gap);
}
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--bullet-size);
  height: var(--bullet-size);
  background: var(--color-signal-red);
  border-radius: 50%;
}
.legal a:hover { color: var(--color-signal-red); }

/* ---------- Roter Streifen unten ------------------------------------- */
.red-strip {
  width: 100%;
  height: var(--red-strip-h);
  background: var(--color-signal-red);
}

/* ---------- Legal-Seiten (Impressum / Datenschutz) -------------------
   Gleicher Look wie die Hauptseite: große Headline-XL-Typo durchgängig,
   Heavy 800 für Section-Labels, Medium 500 für Body. */

/* Header-Variation: kleines Logo + Zurück-Button.
   Desktop: Logo links, Button rechts.
   Mobile : Button links, Logo rechts (row-reverse). */
.site-header--legal {
  justify-content: space-between;
  align-items: center;
}
.site-header.site-header--legal { flex-direction: row; }

.site-logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-ink);
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo svg {
  height: 6.1111vw;     /* 88 px @ 1440 – skaliert proportional mit */
  min-height: 70px;
  max-height: 112px;
  width: auto;
  display: block;
  fill: currentColor;
}
@media (max-width: 640px) {
  .site-header.site-header--legal { flex-direction: row-reverse; }
  .site-logo svg {
    height: 56px;
    min-height: 0;
    max-height: none;
  }
}

.legal-page {
  padding: 6.94vw var(--pad-x) 4vw;
}
.legal-title {
  font-size: 4.4444vw;          /* 64 px @ 1440 */
  line-height: 1.05;
  font-weight: 800;             /* Heavy */
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  overflow-wrap: anywhere;      /* "Datenschutzerklärung" darf umbrechen */
  hyphens: auto;
}
.legal-content {
  font-size: 2.7778vw;          /* 40 px @ 1440 */
  line-height: 1.25;
  font-weight: 500;
  hyphens: manual;
  text-wrap: pretty;
}
.legal-content p { margin: 0 0 1em; }
.legal-content h2 {
  font-size: 2.7778vw;          /* gleiche Größe wie Body, nur Heavy */
  line-height: 1.15;
  font-weight: 800;
  margin: 1.2em 0 0.4em;
  scroll-margin-top: 24px;
}
.legal-content h3 {
  font-size: 2.7778vw;
  line-height: 1.15;
  font-weight: 800;
  margin: 1em 0 0.3em;
}
.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1em;
}
.legal-content li {
  position: relative;
  padding-left: 0.85em;
  margin-bottom: 0.3em;
}
.legal-content li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-signal-red);
  font-weight: 800;
}
.legal-content li ul { margin-top: 0.3em; }
.legal-content a {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 0.06em;
  word-break: break-word;
}
.legal-content a:hover {
  color: var(--color-signal-red);
  text-decoration: none;
}
.legal-content strong { font-weight: 800; }
.legal-content em { font-style: italic; }

/* TOC – schlichte Liste statt Box */
.legal-toc {
  margin: 0 0 1.5em;
}
.legal-toc h2 {
  font-size: 2.7778vw;
  font-weight: 800;
  margin: 0 0 0.4em;
}
.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  position: relative;
  padding-left: 2.4em;
  margin-bottom: 0.2em;
  font-weight: 500;
}
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero) ".";
  position: absolute;
  left: 0;
  color: var(--color-signal-red);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.legal-toc a {
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.legal-toc a:hover { border-bottom-color: var(--color-ink); }

/* Summary-Block mit Emoji-Items – inline ohne Box */
.legal-summary {
  margin: 0.3em 0 1em;
  padding: 0;
}
.legal-summary p {
  margin: 0.15em 0;
}
.legal-summary p:first-child {
  font-weight: 800;
  margin-bottom: 0.4em;
}

/* Mobile-Override: kompakter, gleiche Hierarchie */
@media (max-width: 640px) {
  .legal-page {
    padding: 24px 16px 40px;
  }
  .legal-title {
    font-size: 34px;
  }
  .legal-content,
  .legal-content h2,
  .legal-content h3 {
    font-size: 22px;
  }
  /* TOC etwas kleiner als Body */
  .legal-toc { font-size: 18px; line-height: 1.3; }
  .legal-toc h2 { font-size: 22px; line-height: 1.15; }
  .legal-toc li::before { font-size: 18px; }
  .legal-toc li { padding-left: 2.2em; }
  /* legal-content erbt --fs-headline-xl Mobile-Wert (34 px) */
}

/* =====================================================================
   MOBILE LAYOUT (≤ 640 px)
   Hier werden die vw-Werte überschrieben und die Struktur wird für
   schmale Viewports neu komponiert.
   ===================================================================== */
@media (max-width: 640px) {
  :root {
    /* Mobil-optimierte Größen, etwas kompakter für bessere Lesbarkeit
       und weniger aggressive Zeilenbrüche.
       Headline-M = Headline-L: Claim und KONTAKT-Button so groß wie Footer. */
    --fs-headline-xl: 34px;
    --fs-headline-l:  22px;
    --fs-headline-m:  22px;
    --fs-stat-number: 64px;

    --pad-x:        16px;
    --pad-x-wide:   16px;
    --pad-x-red:    20px;
    --header-pad-y: 20px;

    --hero-pad-top:   40px;
    --hero-pad-bot:   40px;
    --intro-pad-y:    32px;
    --stats-pad-top:  20px;
    --stats-pad-bot:  32px;
    --services-pad-y: 14px;
    --contact-pad-top: 40px;
    --contact-pad-bot: 24px;
    --contact-gap:    12px;
    --footer-pad-top: 24px;
    --footer-pad-bot: 32px;
    --red-strip-h:    24px;

    --rule-width:  2px;
    --btn-border:  1px;
    --toggle-bar:  3px;

    --pill-pad-y: 14px;
    --pill-pad-x: 24px;
    --btn-pad-y:  6px;
    --btn-pad-x:  16px;

    --bullet-size: 8px;
    --bullet-gap:  18px;
  }

  /* Header gestapelt: Claim oben, KONTAKT-Button darunter linksbündig. */
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .claim { max-width: 100%; }

  /* Hero-Logo: durch das große bottom-Padding wandert die vertikale Mitte
     nach oben → Logo sitzt im oberen Drittel des Viewports.
     min-height überzieht den Viewport, sodass der Trenner zur Intro
     unter den Fold rutscht und erst beim Scrollen sichtbar wird. */
  .hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px); /* berücksichtigt Mobile-Browser-UI */
    align-items: center;
    padding: 24px var(--pad-x-wide) 25vh;
  }
  .hero-logo { width: calc(100vw - 2 * var(--pad-x-wide)); }

  /* Stats auf Mobile: untereinander statt nebeneinander, damit lange Labels
     wie "zufriedene Kunden" nicht die Zeile sprengen. Trennlinien wechseln
     von vertikal (border-right) zu horizontal (border-bottom). */
  .stats { grid-template-columns: 1fr; }
  .stat {
    padding: 20px 16px;
    border-right: 0;
    border-bottom: var(--rule-width) solid var(--color-ink);
  }
  .stat:first-child { padding-left: 16px; padding-top: 28px; }
  .stat:last-child  { padding-right: 16px; padding-bottom: 28px; border-bottom: 0; }

  /* Service-Labels kräftiger als der Rest – wirken wie Sektions-Headlines.
     Stat-Labels gehen denselben Schritt mit. */
  .service-row {
    padding: 10px 0;
    font-size: 28px;
  }
  .stat-label { font-size: 28px; }
  .service-toggle { width: 24px; height: 24px; }
  .service-content p {
    /* Headline-XL-Mobilgröße greift automatisch via var,
       80 px Padding wird mobil proportional auf 32 px reduziert */
    padding: 32px 0;
  }

  /* Kontakt-Pillen volle Breite */
  .contact { align-items: stretch; }
  .pill { width: 100%; padding: 14px 20px; }

  /* Footer untereinander */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .legal {
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
