/* ==========================================================================
   EL VISTA – Landingpage
   Farben, Typografie und Abstände orientieren sich an der El-Vista-App.
   ========================================================================== */

/* Schriften (lokal eingebunden, keine externen Anfragen) ------------------ */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

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

/* Tokens ------------------------------------------------------------------ */

:root {
  --bg: #f6f3ee;
  --bg-sand: #efeae2;
  --surface: #fbfaf7;
  --ink: #1b1a18;
  --ink-soft: #4a4640;
  --muted: #857e74;
  --line: #e2dbd0;
  --line-strong: #cfc6b8;
  --taupe: #a89a87;
  --dark: #1d1c1a;
  --dark-soft: #2a2723;
  --on-dark: #f3efe8;
  --on-dark-muted: #a9a297;

  --font-serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 4px;
  --header-h: 72px;
}

/* Basis ------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
}

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

/* Logo -------------------------------------------------------------------- */

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 450;
  letter-spacing: 0.06em;
}

.logo__tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--muted);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--dark);
  color: var(--on-dark);
}

.btn--primary:hover {
  background: #34312d;
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--light {
  background: var(--on-dark);
  color: var(--ink);
}

.btn--light:hover {
  background: #ffffff;
}

.btn--small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
}

.btn__arrow {
  width: 16px;
  height: 16px;
  flex: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(246, 243, 238, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__bars::before {
  top: 0;
}

.nav-toggle__bars::after {
  top: 8.5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 4.25px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 4.25px;
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* backdrop-filter am Header macht ihn zum Bezugsrahmen für position: fixed,
     daher Position und Höhe explizit relativ zum Header setzen. */
  .nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--ink);
  }

  .nav .btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    background: var(--bg);
    border-bottom-color: var(--line);
  }
}

/* Medien / Video-Flächen ---------------------------------------------------
   Jede .media-Fläche zeigt einen Platzhalter, bis in data-video-src eine
   Videodatei eingetragen ist (siehe assets/js/main.js und README.md).
   ------------------------------------------------------------------------ */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e4ddd2;
  aspect-ratio: 16 / 9;
}

.media--9x16 {
  aspect-ratio: 9 / 16;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--dark);
}

.media.has-video .media__placeholder {
  display: none;
}

.media__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(160deg, #ebe5db 0%, #ddd4c6 100%);
  color: var(--ink-soft);
}

.media__placeholder::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.6vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  pointer-events: none;
}

.media__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  border-radius: 50%;
  background: rgba(251, 250, 247, 0.92);
  color: var(--ink);
}

.media__play svg {
  width: 30%;
  height: 30%;
  margin-left: 6%;
}

.media__note {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.media__badge {
  position: absolute;
  top: clamp(12px, 1.6vw, 20px);
  left: clamp(12px, 1.6vw, 20px);
  z-index: 2;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(29, 28, 26, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.media--compact .media__placeholder {
  gap: 10px;
}

.media--compact .media__note {
  font-size: 12px;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  padding-top: clamp(48px, 8vw, 112px);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  align-items: end;
}

.hero__head {
  grid-column: 1 / span 7;
}

.hero__head .eyebrow {
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}

.hero__title em {
  font-style: italic;
  color: var(--ink-soft);
}

.hero__aside {
  grid-column: 9 / span 4;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 6px;
}

.hero__aside .actions {
  flex-direction: column;
  align-items: stretch;
}

.hero__media {
  margin-top: clamp(48px, 7vw, 96px);
}

@media (max-width: 1080px) {
  .hero__head {
    grid-column: 1 / -1;
  }

  .hero__aside {
    grid-column: 1 / span 9;
  }

  .hero__aside .actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .hero__aside {
    grid-column: 1 / -1;
    gap: 28px;
  }

  .hero__aside .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__media .media {
    aspect-ratio: 4 / 5;
  }

  .hero__media .container {
    padding-inline: 0;
  }

  .hero__media .media {
    border-radius: 0;
  }
}

/* Sektionen --------------------------------------------------------------- */

.section {
  padding-block: var(--section-y);
}

.section--sand {
  background: var(--bg-sand);
}

.section + .section:not(.section--sand):not(.section--dark) {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.section-head .eyebrow {
  grid-column: 1 / span 3;
  padding-top: 0.9em;
}

.section-head__body {
  grid-column: 5 / -1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-head__body .lead {
  max-width: 36em;
}

@media (max-width: 860px) {
  .section-head .eyebrow,
  .section-head__body {
    grid-column: 1 / -1;
  }

  .section-head .eyebrow {
    padding-top: 0;
  }
}

/* Ausgangslage ------------------------------------------------------------ */

.assets {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.assets__list {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}

.assets__item {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.assets__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 6px;
}

.assets__text {
  font-size: 15px;
  color: var(--muted);
}

.assets__result {
  grid-column: 5 / -1;
  margin-top: clamp(56px, 7vw, 88px);
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 24em;
}

.assets__result span {
  color: var(--muted);
}

@media (max-width: 860px) {
  .assets__list,
  .assets__result {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .assets__list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .assets__item {
    display: grid;
    grid-template-columns: 9.5em 1fr;
    align-items: baseline;
    gap: 12px;
    padding-block: 18px;
  }

  .assets__item:last-child {
    border-bottom: 1px solid var(--line-strong);
  }

  .assets__title {
    font-size: 21px;
    margin-bottom: 0;
  }
}

/* Ablauf ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  padding-right: 24px;
  border-top: 1px solid var(--ink);
}

.step__number {
  font-family: var(--font-serif);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--taupe);
  margin-bottom: clamp(24px, 4vw, 56px);
}

.step__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.2;
}

.step__text {
  color: var(--muted);
  max-width: 22em;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 16px;
    row-gap: 6px;
    padding-block: 24px 32px;
    padding-right: 0;
    border-top-color: var(--line-strong);
  }

  .step:first-child {
    border-top-color: var(--ink);
  }

  .step__number {
    grid-row: 1 / span 2;
    font-size: 44px;
    margin-bottom: 0;
  }
}

/* Beispiel / Formate ------------------------------------------------------ */

.showcase__main {
  margin-bottom: clamp(56px, 8vw, 112px);
}

.formats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
  align-items: end;
}

.formats__info {
  grid-column: 1 / span 5;
}

.formats__info h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.formats__info > p {
  color: var(--muted);
  max-width: 26em;
  margin-bottom: 36px;
}

.format-list__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-block: 16px;
  border-top: 1px solid var(--line-strong);
}

.format-list__item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.format-list__ratio {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
}

.format-list__use {
  font-size: 15px;
  color: var(--ink-soft);
}

/* Gleiche Höhe für 9:16 und 1:1: Breite proportional zum Seitenverhältnis */
.formats__frames {
  grid-column: 7 / -1;
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.formats__frames .media--9x16 {
  flex: 9 1 0;
}

.formats__frames .media--1x1 {
  flex: 16 1 0;
}

@media (max-width: 860px) {
  .formats__info,
  .formats__frames {
    grid-column: 1 / -1;
  }

  .formats__frames {
    order: -1;
    gap: 12px;
  }
}

/* Vorteile ---------------------------------------------------------------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.benefits__list {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.benefit {
  padding-block: 28px 40px;
  border-top: 1px solid var(--line-strong);
}

.benefit__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}

.benefit__text {
  color: var(--muted);
}

@media (max-width: 860px) {
  .benefits__list {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .benefits__list {
    grid-template-columns: 1fr;
  }

  .benefit {
    padding-block: 22px 26px;
  }
}

/* Branding / Abschlusskarte ----------------------------------------------- */

.branding {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: center;
}

.branding__visual {
  grid-column: 1 / span 7;
}

.branding__details {
  grid-column: 9 / -1;
}

.endcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 6%;
  border-radius: var(--radius);
  background: var(--dark-soft);
  color: var(--on-dark);
  text-align: center;
}

.endcard__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 7vw, 76px);
  aspect-ratio: 1;
  margin-bottom: clamp(14px, 2.4vw, 26px);
  border: 1px solid rgba(243, 239, 232, 0.45);
  font-size: clamp(8px, 0.9vw, 10px);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--on-dark-muted);
}

.endcard__company {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.endcard__rule {
  width: 40px;
  height: 1px;
  margin-block: clamp(12px, 2vw, 22px);
  background: #c2a77f;
}

.endcard__contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: clamp(11px, 1.1vw, 14px);
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.endcard__contact strong {
  font-weight: 500;
  color: var(--on-dark);
}

.branding__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 16px;
}

.branding__caption {
  font-size: 13px;
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 6px;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.brand-list__item {
  padding-block: 20px;
  border-top: 1px solid var(--line-strong);
}

.brand-list__item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.brand-list__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
}

.brand-list__text {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .branding__visual {
    grid-column: 1 / -1;
  }

  .branding__details {
    grid-column: 1 / -1;
  }

  .brand-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }

  .brand-list__item:nth-last-child(2) {
    border-bottom: 1px solid var(--line-strong);
  }
}

@media (max-width: 560px) {
  .brand-list {
    grid-template-columns: 1fr;
  }

  .brand-list__item:nth-last-child(2) {
    border-bottom: 0;
  }

  .brand-list__item {
    padding-block: 16px;
  }
}

/* CTA / Testphase --------------------------------------------------------- */

.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}

.section--dark .eyebrow {
  color: var(--on-dark-muted);
}

.cta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
}

.cta .eyebrow {
  grid-column: 1 / span 3;
  padding-top: 0.9em;
}

.cta__body {
  grid-column: 5 / -1;
}

.cta__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14em;
  margin-bottom: 28px;
}

.cta__text {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--on-dark-muted);
  max-width: 32em;
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.cta__note {
  font-size: 14px;
  color: var(--on-dark-muted);
}

.cta__note a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 239, 232, 0.35);
}

.cta__note a:hover {
  border-bottom-color: var(--on-dark);
}

@media (max-width: 860px) {
  .cta .eyebrow,
  .cta__body {
    grid-column: 1 / -1;
  }

  .cta .eyebrow {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
}

.site-footer__copy {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Rechtliche Unterseiten -------------------------------------------------- */

.legal {
  padding-block: clamp(64px, 10vw, 128px) var(--section-y);
  min-height: 60vh;
}

.legal__inner {
  max-width: 720px;
}

.legal__back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.legal__back:hover {
  color: var(--ink);
}

.legal h1 {
  margin-bottom: 24px;
}

/* Bewegung reduzieren ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
