/* ==========================================================================
   Studler Solutions – Stylesheet
   Design-System „Dark Luxury": tiefes Anthrazit, Schiefergrau, matte
   Silber-Nuancen, Kupfer/Roségold als Akzent. Editorial-Serif-Headlines +
   Grotesk-Body. Token-basiert, mobile-first, ruhige cineastische Motion.
   ========================================================================== */

/* ---------- Schriften (lokal, kein Google-Fonts-Request) ---------- */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600; /* Variable Font deckt Regular bis Semibold ab */
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben – Silber / Anthrazit / Kupfer */
  --color-bg: #1b1b1e;            /* Anthrazit-Grundfläche */
  --color-bg-deep: #131316;       /* tiefe Sektionen (Leistungen, Kontakt, Footer) */
  --color-surface: #222226;       /* Karten auf Anthrazit */
  --color-surface-deep: #1c1c20;  /* Karten auf tiefem Grund */
  --color-text: #dcdad3;          /* mattes, warmes Silber */
  --color-muted: rgba(220, 218, 211, 0.58);
  --color-accent: #c68a5a;        /* Kupfer / Roségold (aus dem Erdbild) */
  --color-accent-bright: #e0aa7c; /* helles Kupfer für Hover/Glühen */
  --color-accent-ink: #171310;    /* dunkler Text auf Kupferflächen */
  --color-line: rgba(220, 218, 211, 0.12);       /* feine Silberlinie */
  --color-line-strong: rgba(220, 218, 211, 0.24);
  --color-line-copper: rgba(198, 138, 90, 0.38); /* feine Kupferlinie */

  /* Typografie */
  --font-heading: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --text-xxl: clamp(2.9rem, 9vw, 7.5rem);
  --text-xl: clamp(2.6rem, 7.5vw, 6rem);
  --text-l: clamp(2.2rem, 6vw, 4.75rem);
  --text-m: clamp(1.9rem, 4.5vw, 3.5rem);
  --text-s: clamp(1.5rem, 3vw, 2.25rem);
  --text-body-l: clamp(1.05rem, 1.5vw, 1.3rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-tag: 0.78rem;

  /* Layout */
  --site-max: 90rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-gap: clamp(4rem, 9vw, 7.5rem);
  --radius-l: 1.5rem;
  --radius-m: 1rem;
  --radius-s: 0.5rem;

  /* Motion – ruhig und cineastisch */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.9s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  padding: 0.75rem 1.25rem;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #e9e7e0;
}

.heading-xxl { font-size: var(--text-xxl); line-height: 0.92; }
.heading-xl  { font-size: var(--text-xl);  line-height: 0.92; }
.heading-l   { font-size: var(--text-l);   line-height: 0.95; }
.heading-m   { font-size: var(--text-m);   line-height: 1; }
.heading-s   { font-size: var(--text-s);   line-height: 1.05; }

.text-l {
  font-size: var(--text-body-l);
  line-height: 1.45;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-tag);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--color-line-copper);
}

.accent-italic {
  font-style: italic;
  color: var(--color-accent);
}

/* ---------- Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 52rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.theme-dark {
  background: var(--color-bg-deep);
}

/* ---------- Buttons ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--text-small);
  letter-spacing: 0.03em;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-bright));
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}

.button:hover::before { transform: translateY(0); }

.button:hover {
  border-color: var(--color-accent-bright);
  color: var(--color-accent-ink);
  box-shadow: 0 0 32px rgba(198, 138, 90, 0.22);
}

.button > * { position: relative; z-index: 1; }

.button .arrow { transition: transform 0.4s var(--ease-out); }
.button:hover .arrow { transform: translateX(4px); }

.button--ghost {
  border-color: var(--color-line-strong);
  color: var(--color-muted);
}

.button--ghost:hover { color: var(--color-accent-ink); }

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Chips ---------- */
.chip {
  font-size: var(--text-tag);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: rgba(19, 19, 22, 0.55);
  color: var(--color-muted);
}

.chip--accent {
  border-color: var(--color-line-copper);
  color: var(--color-accent);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: transform 0.5s var(--ease-out), background 0.4s, box-shadow 0.4s;
}

.site-nav.is-scrolled {
  background: rgba(19, 19, 22, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-line);
}

.site-nav.is-hidden { transform: translateY(-100%); }

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.site-nav__logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: #e9e7e0;
}

.site-nav__logo em {
  font-style: italic;
  color: var(--color-accent);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: var(--text-small);
  font-weight: 500;
  padding-block: 0.25rem;
  white-space: nowrap;
  color: var(--color-muted);
  transition: color 0.3s;
}

.nav-link:hover { color: var(--color-text); }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  background: rgba(19, 19, 22, 0.55);
  align-items: center;
}

.site-nav__toggle span {
  width: 1rem;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

@media (max-width: 47.9rem) {
  .site-nav__toggle { display: flex; }

  .site-nav__links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(19, 19, 22, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-line);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }

  .site-nav__links.is-open { display: flex; }

  .site-nav__links li { width: 100%; }

  .site-nav__links .nav-link {
    display: block;
    padding-block: 0.85rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-line);
  }

  .site-nav__links .button { margin-top: 1rem; }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Hero: Statue vor Anthrazit, cineastische Überblendung ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(7rem, 15vh, 10rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  position: relative;
  max-width: none;               /* volle Breite für das Hintergrundbild */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 19, 22, 0.55) 0%, rgba(19, 19, 22, 0) 30%),
    linear-gradient(90deg, rgba(19, 19, 22, 0.92) 0%, rgba(19, 19, 22, 0.55) 48%, rgba(19, 19, 22, 0.18) 100%),
    linear-gradient(180deg, rgba(27, 27, 30, 0) 65%, var(--color-bg) 97%),
    url("../images/hero-statue.jpg") right center / cover no-repeat #131316;
}

.hero__grid {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vh, 3rem);
}

.hero h1 { max-width: 18ch; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45); }

.hero__sub {
  max-width: 38rem;
  color: rgba(220, 218, 211, 0.78);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}

/* ---------- Kompetenz-Band – statisch und ruhig ---------- */
.keyword-band {
  border-block: 1px solid var(--color-line);
  padding: 1.4rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 1.1rem;
  row-gap: 0.4rem;
  background: var(--color-bg);
}

.keyword-band span {
  display: inline-flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  white-space: nowrap;
  color: var(--color-muted);
}

.keyword-band span:not(:last-child)::after {
  content: "·";
  color: var(--color-accent);
}

/* ---------- Karten-Deck (sticky Stack) ---------- */
.deck { position: relative; }

.deck-card {
  position: sticky;
  top: clamp(5.5rem, 12vh, 8rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(160deg, #242428 0%, var(--color-surface-deep) 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.45);
}

.deck-card__index {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  color: var(--color-accent);
}

.deck-card__body h3 {
  font-size: var(--text-m);
  line-height: 1;
  max-width: 20ch;
  margin-bottom: 1rem;
}

.deck-card__body p {
  max-width: 44rem;
  color: var(--color-muted);
}

.deck-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

@media (max-width: 47.9rem) {
  .deck-card { grid-template-columns: 1fr; }
}

/* ---------- Leistungen (tief, mit Flüssigmetall-Textur) ---------- */
#leistungen {
  background:
    linear-gradient(180deg, rgba(19, 19, 22, 0.92) 0%, rgba(19, 19, 22, 0.82) 50%, rgba(19, 19, 22, 0.95) 100%),
    url("../images/liquid-metal.jpg") center / cover no-repeat fixed var(--color-bg-deep);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(30, 30, 34, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-l);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-line-copper);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.service-card__icon {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--color-accent);
}

.service-card h3 {
  font-size: var(--text-s);
  line-height: 1.05;
}

.service-card > p { color: var(--color-muted); }

.service-card ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.service-card li {
  padding-block: 0.7rem;
  border-top: 1px solid var(--color-line);
  font-size: var(--text-small);
  display: flex;
  gap: 0.6rem;
  color: rgba(220, 218, 211, 0.8);
}

.service-card li::before {
  content: "→";
  color: var(--color-accent);
}

.service-card--soon { opacity: 0.7; }

.badge-soon {
  align-self: flex-start;
  font-size: var(--text-tag);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-line-copper);
  color: var(--color-accent);
}

/* ---------- Prinzipien ---------- */
.principles__list {
  list-style: none;
  padding: 0;
  counter-reset: principle;
}

.principle {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--color-line);
  transition: padding-left 0.5s var(--ease-out), border-color 0.5s;
}

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

.principle:hover {
  padding-left: 1rem;
  border-top-color: var(--color-line-copper);
}

.principle__no {
  font-family: var(--font-heading);
  font-size: var(--text-s);
  color: var(--color-accent);
}

.principle h3 {
  font-size: var(--text-s);
  margin-bottom: 0.5rem;
}

.principle p {
  max-width: 46rem;
  color: var(--color-muted);
}

@media (max-width: 47.9rem) {
  .principle { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- Zwischensektion: Monolith (Parallax) ---------- */
.interlude {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 10rem) var(--gutter);
  background:
    linear-gradient(180deg, var(--color-bg) 0%, rgba(27, 27, 30, 0.2) 7%, rgba(19, 19, 22, 0.2) 93%, var(--color-bg) 100%),
    linear-gradient(rgba(19, 19, 22, 0.26), rgba(19, 19, 22, 0.26)),
    url("../images/monolith.jpg") center 75% / cover no-repeat fixed var(--color-bg-deep);
}

.interlude__inner {
  max-width: 58rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
}

.interlude__quote {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: #e9e7e0;
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.6);
}

/* background-attachment: fixed ist auf Touch-Geräten unzuverlässig –
   dort ruhiges, normales Scrollen des Bildes */
@media (hover: none), (max-width: 47.9rem) {
  .interlude,
  #leistungen {
    background-attachment: scroll, scroll, scroll;
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: stretch;   /* Bildspalte folgt exakt der Höhe der Textspalte */
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 40rem;
}

.about h2 { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

.about__facts {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.about__facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--color-line);
  font-size: var(--text-small);
}

.about__facts li span:last-child {
  font-weight: 600;
  text-align: right;
  color: #e9e7e0;
}

.about__media {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--color-line);
  aspect-ratio: 1 / 1;    /* doppelt so hoch wie zuvor (2:1) bei gleicher Breite */
}

@media (min-width: 64rem) {
  /* neben dem Text: exakt dessen Höhe einnehmen, nicht überragen */
  .about__media {
    aspect-ratio: auto;
    height: 100%;
  }
}

.about__media::after {
  /* feine Kupfer-Innenlinie als Passepartout */
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px solid var(--color-line-copper);
  border-radius: calc(var(--radius-m) - 0.4rem);
  pointer-events: none;
}

.about__media img {
  position: absolute;           /* füllt den Rahmen, ohne die Zeilenhöhe zu beeinflussen */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 1.2s var(--ease-out);
}

.about__media:hover img { transform: scale(1.03); }

@media (max-width: 63.9rem) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 24rem; }
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 52rem;
}

.faq-item {
  border-top: 1px solid var(--color-line);
}

.faq-item:last-child { border-bottom: 1px solid var(--color-line); }

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  color: #e9e7e0;
  transition: color 0.3s;
}

.faq-item summary:hover { color: var(--color-accent-bright); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.4s var(--ease-out);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding-bottom: 1.5rem;
  max-width: 44rem;
  color: var(--color-muted);
}

/* ---------- CTA / Kontakt – mit rotierender Erde ---------- */
#kontakt {
  position: relative;
  overflow: hidden;
}

.cta__earth {
  position: absolute;
  top: 50%;
  right: clamp(-20rem, -16vw, -9rem);
  width: clamp(26rem, 45.5vw, 47.5rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("../images/earth-copper.jpg") center / cover no-repeat;
  border-radius: 50%;
  /* weiche Kante, damit die Kugel mit dem Anthrazit verschmilzt */
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%);
  mask-image: radial-gradient(circle, #000 52%, transparent 71%);
  animation: earth-spin 360s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

@keyframes earth-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

#kontakt .cta__grid { position: relative; z-index: 1; }

@media (max-width: 63.9rem) {
  .cta__earth {
    top: auto;
    bottom: -14rem;
    right: -10rem;
    transform: none;
    opacity: 0.45;
  }

  @keyframes earth-spin {
    to { transform: rotate(360deg); }
  }
}

.cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.cta__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.cta__contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: var(--text-small);
  color: var(--color-muted);
}

.cta__contact-line a {
  color: var(--color-text);
  font-size: 1.05rem;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.cta__contact-line a:hover { color: var(--color-accent-bright); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: var(--text-tag);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line-strong);
  padding: 0.6rem 0;
  color: var(--color-text);
  font: inherit;
  border-radius: 0;
  transition: border-color 0.4s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.form-note {
  font-size: var(--text-tag);
  color: var(--color-muted);
}

@media (max-width: 63.9rem) {
  .cta__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-line);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 26rem;
}

.site-footer__brand .site-nav__logo { font-size: 1.75rem; }

.site-footer h2 {
  font-size: var(--text-tag);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.3s;
}

.site-footer a:hover { color: var(--color-accent-bright); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-line);
  font-size: var(--text-small);
  color: var(--color-muted);
}

.site-footer__legal ul {
  flex-direction: row;
  gap: 1.5rem;
}

.footer-giant {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 14vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(220, 218, 211, 0.06);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}

@media (max-width: 63.9rem) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Unterseiten (Impressum etc.) ---------- */
.legal-page {
  padding-top: clamp(8rem, 18vh, 12rem);
  max-width: 46rem;
}

.legal-page h1 { margin-bottom: 2rem; }

.legal-page h2 {
  font-size: var(--text-s);
  margin: 2.5rem 0 0.75rem;
}

.legal-page p { color: var(--color-muted); margin-bottom: 0.75rem; }

/* ---------- Scroll-Reveal – sanftes, ruhiges Einblenden ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-animate="heading"] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="heading"].is-visible .word {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .interlude,
  #leistungen {
    background-attachment: scroll, scroll, scroll;
  }

  [data-reveal],
  [data-animate="heading"] .word {
    opacity: 1;
    transform: none;
  }
}
