/* ============================================================================
   SNDBX — styles.css
   Handgeschriebenes CSS, ersetzt den Tailwind-Build.
   Aufbau:
     1  Tokens (Farben, Typo-Skala)
     2  Fonts
     3  Reset & Basis
     4  Layout (container, section)
     5  Typografie-Bausteine
     6  Buttons & Links
     7  Header & Navigation
     8  Hero (Startseite)
     9  Page-Hero (Unterseiten)
    10  Karten & Raster
    11  Startseiten-Blöcke
    12  Services-Seite
    13  Approach-Seite
    14  About / Kontakt
    15  404
    16  CTA-Band
    17  Footer
    18  Cookie-Banner
    19  Rechtstexte
    20  Animationen
   ========================================================================= */

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

:root {
  /* ---- Freigegebene Markenfarben (SNDBX Brand Guide, 04 Farbwelt) ---------
     Nur diese fünf sind freigegeben. Alles Weitere unten ist daraus gemischt
     und liegt auf den Achsen Navy <-> Weiß bzw. Weiß <-> Mint. */
  --navy: #151c3b; /* Midnight Navy — trägt Text und dunkle Flächen */
  --tangerine: #ff863b; /* Akzent: Flächen, Grafik, Text auf Navy */
  --violet: #7046ff; /* Akzent: Links auf hellem Grund */
  --mint: #a5f1d4; /* helle Fläche */
  --white: #ffffff;

  /* ---- Abgeleitete Rollen -------------------------------------------------
     Fünf Farben decken kein vollständiges Interface ab: es fehlen Sekundär-
     text, Linien und Flächenzwischenstufen. Kontraste jeweils dahinter. */
  --ink: var(--navy); /* Überschriften, Primärtext — 16.7:1 auf Weiß */
  --ink-soft: #464c64; /* Fließtext           — 8.5:1 Weiß, 6.5:1 Mint */
  --ink-muted: #5e6278; /* Labels, Meta        — 6.0:1 Weiß, 4.6:1 Mint */

  --paper: var(--white);
  --paper-soft: #f7f8fb; /* Ruhige Navy-Weiss-Abstufung */
  --mint-soft: #e6faf2; /* Mint fuer ruhige, gezielte Zwischenebenen */
  --paper-tint: var(--mint); /* volle Mint-Fläche */

  --line: #dce0e9;
  --line-soft: #e9ecf2;

  /* Links. Violet erreicht 5.24:1 auf Weiß und 4.94:1 auf paper-soft, fällt
     auf voller Mint-Fläche aber auf 4.02:1 — dort trägt Navy mit Unterstrich.
     Auf Navy übernimmt Tangerine (6.92:1); auf hellem Grund wäre Tangerine mit
     2.41:1 unlesbar und bleibt deshalb Fläche und Grafik vorbehalten. */
  --link: var(--violet);
  --link-hover: var(--navy);
  --link-on-dark: var(--tangerine);

  /* Dunkle Flächen: Hero, CTA-Bänder, Karten-CTA. */
  --surface-dark: var(--navy);

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* Der Guide verlangt 16–18 px Fließtext bei rund 150 % Zeilenhöhe und
     großzügige Abstände — die Skala bleibt deshalb wie gehabt. */
  --text-hero: clamp(2.7rem, 5.2vw, 4.8rem);
  --text-display: clamp(2rem, 3.4vw, 3.25rem);
  --text-title: clamp(1.4rem, 2.2vw, 1.85rem);

  --shell: 1280px;
  --pad: 1.5rem;
  --radius: 1.5rem;
}

@media (min-width: 768px) {
  :root {
    --pad: 2.5rem;
  }
}

/* ----------------------------------------------------------------- 2 Fonts */
/* Manrope, selbst gehostet — keine Requests an Google, konsistent zur
   einwilligungsgesteuerten Analytics-Regel der Datenschutzerklärung.
   WOFF statt WOFF2, weil die Umwandlung Brotli braucht; WOFF wird von allen
   aktuellen Browsern unterstützt. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-regular.woff) format("woff");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-medium.woff) format("woff");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-semibold.woff) format("woff");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-bold.woff) format("woff");
}

/* ------------------------------------------------------- 3 Reset & Basis */

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

* {
  margin: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

::selection {
  background: var(--navy);
  color: #fff;
}

/* Fokusring — zwei konzentrische Ringe, weiß innen, Deep Emerald außen, damit
   ein fokussiertes Element auf jedem Hintergrund sichtbar ist. Auf hellem Grund
   trägt der grüne Ring (17:1), auf dem dunklen Hero und dem CTA-Band der weiße
   (17:1). Einer von beiden liest sich immer. */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #ffffff;
  border-radius: 4px;
}

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

/* Skip-Link: unsichtbar, bis er Tastaturfokus bekommt */
.skip-link:focus {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 70;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  border-radius: 9999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.balance {
  text-wrap: balance;
}
.pretty {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------------- 4 Layout */

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

.section {
  padding-block: 4.5rem;
}
@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
}
@media (min-width: 1024px) {
  .section {
    padding-block: 7rem;
  }
}

.section--soft {
  background: var(--paper-soft);
}
.section--tint {
  background: var(--paper-tint);
}

/* Verspieltere Flächen. Der Guide erlaubt maximal zwei Akzentfarben pro
   Inhaltsfläche, deshalb trägt jedes Band genau eine. */
.section--mint {
  background: var(--mint-soft);
}
.section--tangerine {
  background: var(--tangerine);
}
/* Auf Tangerine trägt ausschließlich Navy: Weiß erreicht dort nur 2.9:1,
   Navy dagegen 6.9:1. */
.section--tangerine,
.section--tangerine .h-display,
.section--tangerine .lead,
.section--tangerine .body-text,
.section--tangerine .eyebrow {
  color: var(--navy);
}
.section--tangerine .eyebrow {
  opacity: 0.72;
}

/* Links auf voller Mint- oder Tangerine-Fläche: Violet fällt dort unter
   4.5:1, also Navy mit Unterstrich. */
.section--tint a.text-link,
.section--tint .arrow-link,
.section--tangerine a.text-link,
.section--tangerine .arrow-link {
  color: var(--navy);
}
.section--tint a.text-link,
.section--tangerine a.text-link {
  text-decoration-thickness: 2px;
}
.section--ink {
  background: var(--ink);
  color: #fff;
}

/* -------------------------------------------------- 5 Typografie-Bausteine */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet);
}
.eyebrow--on-dark {
  color: rgb(255 255 255 / 0.75);
}
.eyebrow--muted {
  color: var(--ink-muted);
}

.h-display {
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.lead + .lead {
  margin-top: 1.25rem;
}

.body-text {
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.body-text + .body-text {
  margin-top: 1.25rem;
}
.body-text--strong {
  color: var(--ink);
  font-weight: 500;
}

/* Überschrift-Block: Eyebrow + H2 + optionaler Lead */
.section-heading {
  max-width: 48rem;
}
.section-heading .eyebrow {
  margin-bottom: 1rem;
}
.section-heading .lead {
  margin-top: 1.5rem;
}

/* ---------------------------------------------------- 6 Buttons & Links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  border-radius: 0.875rem;
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s,
    transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: none;
}
.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn--secondary {
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
}
.btn--secondary:hover {
  border-color: var(--violet);
  background: var(--paper-soft);
  transform: translateY(-2px);
}

.btn--on-dark {
  background: var(--tangerine);
  color: var(--navy);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.22);
}
.btn--on-dark:hover {
  background: var(--mint);
  transform: translateY(-2px);
}

/* Textlink mit Pfeil. py-3 hält das Antippziel bei 44 px. */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}
.arrow-link:hover {
  color: var(--link-hover);
}
.arrow-link .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}
.arrow-link:hover .icon {
  transform: translateX(4px);
}

.arrow-link--on-dark {
  color: #fff;
}
.arrow-link--on-dark:hover {
  color: var(--tangerine);
}

.text-link {
  font-weight: 500;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.text-link:hover {
  color: var(--link-hover);
}

/* Lucide-Icons: gemeinsame Strichführung */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------- 7 Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--white);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
/* Die Leiste braucht eine eigene Fläche, sobald sie nicht über dem Hero
   schwebt — gescrollt, oder als geöffnetes Mobilmenü. */
.site-header.is-solid {
  border-bottom-color: rgb(208 210 216 / 0.7);
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(12px);
}
.site-header.is-on-dark {
  background: var(--navy);
}

.header-inner {
  display: flex;
  height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.language-switcher {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-self: end;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.8);
  padding: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.language-switcher a {
  border-radius: 9999px;
  padding: 0.38rem 0.55rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.language-switcher a:hover {
  color: var(--ink);
}
.language-switcher a[aria-current="true"] {
  background: var(--navy);
  color: #fff;
}
.site-header.is-on-dark .language-switcher {
  border-color: rgb(255 255 255 / 0.28);
  background: rgb(21 28 59 / 0.36);
}
.site-header.is-on-dark .language-switcher a {
  color: rgb(255 255 255 / 0.72);
}
.site-header.is-on-dark .language-switcher a:hover {
  color: #fff;
}
.site-header.is-on-dark .language-switcher a[aria-current="true"] {
  background: #fff;
  color: var(--navy);
}
/* Auf dem Desktop hält ein 3-Spalten-Raster die Navigation mittig. */
@media (min-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
}

.header-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  padding-block: 0.625rem;
}
/* Original SNDBX lockup, ratio 1711:382. */
.header-logo img {
  height: auto;
  width: 160px;
}
@media (min-width: 768px) {
  .header-logo img {
    width: 172px;
    height: auto;
  }
}
/* Über dem dunklen Hero wird auf die freigegebene weiße Fassung gewechselt,
   statt die dunkle per Filter aufzuhellen. */
.logo-light {
  display: none;
}
.site-header.is-on-dark .logo-dark {
  display: none;
}
.site-header.is-on-dark .logo-light {
  display: block;
}

.nav-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    justify-self: center;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding-block: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link > span {
  position: relative;
}
.nav-link[aria-current="page"] {
  color: var(--navy);
}
/* Unterstrich am inneren span verankert, damit er eng am Text bleibt statt
   mit dem Padding abzusacken. */
.nav-link[aria-current="page"] > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  background: var(--link);
}

.nav-toggle {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  border-radius: 9999px;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s;
}
.nav-toggle:hover {
  background: var(--paper-soft);
}
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}
@media (max-width: 420px) {
  .header-inner {
    gap: 0.4rem;
  }
  .header-logo img {
    width: 160px;
    height: auto;
  }
  .language-switcher {
    gap: 0.05rem;
    font-size: 0.66rem;
  }
  .language-switcher a {
    padding: 0.32rem 0.42rem;
  }
  .nav-toggle {
    margin-right: 0;
  }
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

/* Der Full-Bleed-Hero läuft dunkel hinter dem Header, also muss die Navigation
   invertieren, solange er im Bild ist. */
.site-header.is-on-dark .nav-link {
  color: rgb(255 255 255 / 0.7);
}
.site-header.is-on-dark .nav-link:hover,
.site-header.is-on-dark .nav-link[aria-current="page"] {
  color: #fff;
}
.site-header.is-on-dark .nav-link[aria-current="page"] > span::after {
  background: #fff;
}
.site-header.is-on-dark .nav-toggle {
  color: #fff;
}
.site-header.is-on-dark .nav-toggle:hover {
  background: rgb(255 255 255 / 0.1);
}

/* Mobilmenü. Absolut positioniert, damit das Öffnen den Sticky-Header nicht
   wachsen lässt — dieses Wachsen schob den Hero nach unten. */
.mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px rgb(21 28 59 / 0.1);
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu .container {
  padding-block: 1.5rem;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  border-bottom: 1px solid var(--paper-soft);
  padding-block: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a[aria-current="page"] {
  color: var(--navy);
}
body.is-locked {
  overflow: hidden;
}

/* ---------------------------------------------------------------- 8 Hero */
/* A quiet editorial frame gives the original animated mascot room to play. */
.hero {
  position: relative;
  background: var(--white);
}
.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 3.5rem 5rem;
}
.hero-copy { min-width: 0; }
.hero-title {
  margin-top: 1.5rem;
  max-width: 15ch;
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--navy);
  text-wrap: balance;
}
.hero .eyebrow,
.hero .eyebrow--on-dark { color: var(--navy); }
.hero .eyebrow::before { background: var(--violet); }
.hero-text {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
}
.hero-stage {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2rem 2rem 5rem 2rem;
  background: var(--navy);
  color: var(--white);
}
.hero-stage__top,
.hero-stage__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-inline: 1.5rem;
  padding-block: 1.4rem;
}
.hero-stage__top {
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.82);
}
.hero-stage__top > span:last-child { color: var(--mint); font-size: 1.4rem; }
.hero-stage__status { display: inline-flex; gap: 0.55rem; align-items: center; }
.hero-stage__status::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--mint);
}
.hero-stage__mascot {
  display: grid;
  place-items: center;
  min-height: 18rem;
}
.hero-mascot {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.hero-mascot[hidden] { display: none !important; }
.hero-stage__bottom {
  margin-top: auto;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  font-size: 0.75rem;
}
.hero-stage__bottom > span { color: var(--mint); }
.mascot-toggle {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 0.6rem;
  font-size: 0.6875rem;
  color: var(--white);
  cursor: pointer;
}
.mascot-toggle:hover { background: rgb(255 255 255 / 0.09); }
.mascot-toggle:focus-visible { outline-color: var(--mint); box-shadow: none; }
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    padding-block: 4rem 6rem;
    min-height: 43rem;
  }
  .hero-stage__top,
  .hero-stage__bottom { margin-inline: 2rem; }
}
@media (max-width: 899px) and (min-width: 600px) {
  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem; }
  .hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); }
  .hero-stage__top,
  .hero-stage__bottom { margin-inline: 1rem; }
  .hero-stage__bottom { flex-wrap: wrap; }
}
@media (max-width: 599px) {
  .hero-inner { gap: 2.5rem; padding-block: 2.5rem 4rem; }
  .hero-stage { border-radius: 1.5rem 1.5rem 3.5rem 1.5rem; }
  .hero-mascot { max-width: 340px; }
  .hero-stage__mascot { min-height: 0; }
}

/* Homepage: the mascot sits directly in the full-bleed navy hero. */
.hero--studio {
  margin-top: -4.25rem;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero--studio .hero-inner {
  width: 100%;
  padding-block: 7rem 3rem;
}
.hero--studio .hero-title { color: var(--white); }
.hero--studio .hero-text { color: rgb(255 255 255 / 0.82); }
.hero--studio .eyebrow { color: var(--mint); }
.hero--studio .eyebrow::before { background: var(--mint); }
.hero--studio .hero-stage {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  align-items: center;
}
.hero--studio .hero-stage__top { display: none; }
.hero--studio .hero-stage__mascot { width: 100%; }
.hero--studio .hero-mascot { max-width: 520px; }
.hero--studio .hero-stage__bottom {
  width: 100%;
  max-width: 27rem;
  margin: 0;
  padding: 0;
  border: 0;
  justify-content: flex-end;
}
.hero--studio .hero-stage__bottom > span { display: none; }
@media (min-width: 1024px) {
  .hero--studio .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    min-height: 0;
    padding-block: 7.5rem 3.5rem;
  }
  .hero--studio .hero-title { font-size: clamp(2.8rem, 4.7vw, 4.2rem); }
  .hero--studio .hero-mascot { max-width: 440px; }
}
@media (max-width: 1023px) {
  .hero--studio .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-block: 7rem 2.5rem;
  }
  .hero--studio .hero-stage__mascot { min-height: 0; }
  .hero--studio .hero-mascot { max-width: 340px; }
  .hero--studio .hero-stage__bottom { justify-content: center; }
}


/* ------------------------------------------------------------ 9 Page-Hero */
/* The same typographic rhythm carries from the homepage into every service. */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.page-hero__glow {
  display: none;
}
.page-hero .container {
  position: relative;
}
.page-hero__inner {
  max-width: 58rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .page-hero__inner {
    padding-block: 5rem;
  }
}
@media (min-width: 1024px) {
  .page-hero__inner {
    padding-block: 6rem;
  }
}
.page-hero__title {
  margin-top: 1.25rem;
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.page-hero__body {
  margin-top: 2rem;
  max-width: 42rem;
}

/* ------------------------------------------------------ 10 Karten & Raster */

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
  box-shadow: 0 10px 30px rgb(21 28 59 / 0.05);
}
.card--service {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}

.card__icon {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: background-color 0.2s, color 0.2s;
}
.card__icon .icon {
  width: 22px;
  height: 22px;
}

/* Variante mit eckigerem Icon-Feld (About, Kontakt) */
.card__icon--square {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 0.75rem;
}
.card__icon--square .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.card__title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.375;
  letter-spacing: -0.01em;
}
.card__title--sm {
  font-size: 1.125rem;
}
.card__body {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Colour lives in the supplied service icons. Cards share one clear surface. */
.card--accent-mint,
.card--accent-tangerine,
.card--accent-violet {
  background: var(--white);
}
.card--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}
.card--cta:hover {
  background: var(--violet);
  transform: translateY(-4px);
  box-shadow: none;
}
.card--cta .card__title {
  margin-top: 0;
}
.card--cta .card__body {
  color: rgb(255 255 255 / 0.82);
}
.card--cta__more {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.card--cta__more .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}
.card--cta:hover .card--cta__more .icon {
  transform: translateX(4px);
}

/* Zweispaltige Textblöcke. Die Verhältnisse stammen 1:1 aus dem Original. */
.split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
  }
}

.split--roomy {
  gap: 3rem;
}
@media (min-width: 1024px) {
  .split--roomy {
    gap: 5rem;
  }
}

.split--even {
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .split--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem;
  }
}

.split--process {
  gap: 3rem;
}
@media (min-width: 1024px) {
  .split--process {
    grid-template-columns: 1fr 0.9fr;
    gap: 5rem;
  }
}

.split--service {
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .split--service {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* ------------------------------------------- 11 Startseiten-spezifisches */

.prose-stack > p + p {
  margin-top: 1.5rem;
}
.prose-stack p {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.prose-stack p.is-emphasis {
  font-weight: 500;
  color: var(--ink);
}

.question-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid rgb(208 210 216 / 0.9);
  padding-block: 1.25rem;
}
.question-list li:last-child {
  border-bottom: 0;
}
/* Neutraler Marker: jede Zeile endet bereits mit einem Fragezeichen, ein
   "?"-Badge hätte dasselbe zweimal gesagt. */
.question-dot {
  margin-top: 0.6rem;
  height: 0.5rem;
  width: 0.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--navy);
}
.question-list span:last-child {
  font-size: 1.05rem;
  line-height: 1.625;
  color: var(--ink);
  text-wrap: pretty;
}

.stepper {
  display: grid;
  gap: 1px;
  margin-top: 4rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .stepper {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .stepper li { grid-column: span 2; }
  .stepper li:nth-child(n + 4) { grid-column: span 3; }
}
@media (min-width: 1024px) {
  .stepper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.stepper li {
  background: #fff;
  padding: 2rem 1.5rem;
}
.step-num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--link);
}
.step-name {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Der einzige Ort, an dem die Markenzeile groß erscheint. Eigenes Band, damit
   sie als Aussage wirkt statt mit einer Sektionsüberschrift zu konkurrieren. */
.brand-band {
  background: var(--paper-soft);
  padding-block: 6rem;
}
@media (min-width: 768px) {
  .brand-band {
    padding-block: 8rem;
  }
}
.brand-band p {
  margin-inline: auto;
  max-width: 56rem;
  text-align: center;
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--violet);
  text-wrap: balance;
}

/* ------------------------------------------------------ 12 Services-Seite */

.service {
  padding-block: 4rem;
  background: var(--paper);
}
@media (min-width: 768px) {
  .service {
    padding-block: 5rem;
  }
}
@media (min-width: 1024px) {
  .service {
    padding-block: 6rem;
  }
}
.service--soft {
  background: var(--paper-soft);
}

.service__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.service__icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--navy);
}
.service__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.service__num {
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.18em;
  color: var(--link);
}
.service__title {
  margin-top: 1.5rem;
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.service__suited {
  margin-top: 1.5rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.service__body p {
  margin-bottom: 1.25rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.service__body p:last-of-type {
  margin-bottom: 0;
}
.service__includes-title {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag-list li {
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.service__detail-link {
  margin-top: 1.5rem;
}

/* Leistungsdetailseiten */
.detail-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: 0.12em;
}
.detail-eyebrow__icon {
  display: inline-flex;
  flex: 0 0 auto;
}
.detail-eyebrow__icon .icon,
.detail-eyebrow__icon .icon--brand {
  width: 2.5rem;
  height: 2.5rem;
}
.detail-hero .page-hero__inner {
  padding-bottom: 3.5rem;
}
.detail-bridge {
  position: relative;
  overflow: hidden;
  background: var(--mint-soft);
  color: var(--navy);
}
.detail-bridge::after {
  display: none;
}
.detail-bridge .container {
  position: relative;
  z-index: 1;
}
.detail-bridge__flow {
  display: grid;
  gap: 0;
  padding-block: 1.5rem;
}
.detail-bridge__item {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0 2.75rem;
}
.detail-bridge__item:last-child {
  padding-bottom: 1.25rem;
}
.detail-bridge__item:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 0;
  bottom: 0.6rem;
  color: var(--navy);
  font-size: 1rem;
}
.detail-bridge__label {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted); /* 5.2:1 auf mint-soft */
}
.detail-bridge__value {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .detail-hero .page-hero__inner {
    padding-bottom: 4.25rem;
  }
  .detail-bridge__flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 2rem;
  }
  .detail-bridge__item,
  .detail-bridge__item:last-child {
    padding: 0.5rem 3.5rem 0.5rem 0;
  }
  .detail-bridge__item + .detail-bridge__item {
    padding-left: 3.5rem;
    border-left: 1px solid rgb(21 28 59 / 0.14);
  }
  .detail-bridge__item:not(:last-child)::after {
    content: "→";
    left: auto;
    right: 1.25rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}
.detail-intro,
.detail-section,
.detail-faq {
  padding-block: 4.5rem;
}
@media (min-width: 768px) {
  .detail-intro,
  .detail-section,
  .detail-faq {
    padding-block: 6.5rem;
  }
  .detail-intro {
    padding-top: 5rem;
  }
}
.detail-intro {
  background: var(--paper);
}
.detail-intro .detail-prose {
  max-width: 52rem;
}
.detail-section--soft {
  background: var(--paper-soft);
}
.detail-section__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .detail-section__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 6rem;
    align-items: start;
  }
  .detail-section__heading {
    position: sticky;
    top: 7rem;
  }
}
.detail-section__heading .h-display {
  margin-top: 1rem;
}
.detail-prose {
  max-width: 46rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.detail-prose--lead {
  font-size: 1.15rem;
}
.detail-prose p + p,
.detail-prose p + .detail-list,
.detail-prose .detail-list + p {
  margin-top: 1.35rem;
}
.detail-list {
  display: grid;
  gap: 0.85rem;
}
.detail-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--link);
}
.detail-faq {
  background: var(--paper-soft);
}
.detail-faq .section-heading {
  max-width: 54rem;
}
.detail-faq .section-heading .h-display {
  margin-top: 1rem;
}
.faq-list {
  max-width: 56rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}

.more-services {
  padding-block: 4.5rem;
  background: var(--paper);
}
.more-services__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.service-link-card {
  display: flex;
  min-height: 10rem;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-link-card__main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.service-link-card__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: background-color 0.2s, color 0.2s;
}
.service-link-card__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.service-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--link);
  box-shadow: 0 12px 32px rgb(21 28 59 / 0.07);
}
.service-link-card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.service-link-card__arrow {
  flex: 0 0 auto;
  align-self: flex-end;
  color: var(--link);
  font-size: 1.25rem;
  transition: transform 0.2s;
}
.service-link-card:hover .service-link-card__arrow {
  transform: translateX(4px);
}
@media (min-width: 640px) {
  .more-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .more-services {
    padding-block: 6rem;
  }
  .more-services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.faq-list summary {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--link);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  max-width: 48rem;
  padding: 0 3rem 1.5rem 0;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ------------------------------------------------------ 13 Approach-Seite */

.steps-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--line);
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.steps-grid li {
  background: var(--paper);
  padding: 2rem;
}
@media (min-width: 768px) {
  .steps-grid li {
    padding: 2.5rem;
  }
}
/* Gleicht das 3-Spalten-Raster auf großen Schirmen aus */
.steps-grid .is-spacer {
  display: none;
}
@media (min-width: 1024px) {
  .steps-grid .is-spacer {
    display: block;
  }
}
.step__num {
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.18em;
  color: var(--link);
}
.step__title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step__outcome {
  margin-top: 0.75rem;
  font-weight: 500;
  line-height: 1.625;
  color: var(--ink);
  text-wrap: pretty;
}
.step__body {
  margin-top: 1rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.pullquote {
  margin-top: 2rem;
  border-left: 2px solid var(--link);
  padding-left: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--ink);
  text-wrap: pretty;
}

/* ------------------------------------------------- 14 About / Kontakt */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 2rem;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
@media (min-width: 768px) {
  .contact-card {
    padding: 2.5rem;
  }
}
a.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 12px 32px rgb(21 28 59 / 0.07);
}
.contact-card__label {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}
.contact-card__value {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  transition: color 0.2s;
}
@media (min-width: 768px) {
  .contact-card__value {
    font-size: 1.5rem;
  }
}
.contact-card__value--link {
  color: var(--link);
}
a.contact-card:hover .contact-card__value--link {
  color: var(--navy);
}
.contact-card__body {
  margin-top: 1rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.contact-card__body--ink {
  font-size: 1.05rem;
  color: var(--ink);
}

/* -------------------------------------------------------------- 15  404 */

.notfound {
  background: var(--paper);
  padding-block: 6rem;
}
@media (min-width: 768px) {
  .notfound {
    padding-block: 8rem;
  }
}
@media (min-width: 1024px) {
  .notfound {
    padding-block: 10rem;
  }
}
.notfound__title {
  margin-top: 1.25rem;
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Vier Spalten, weil es genau vier Links gibt — ein 3-Spalten-Raster ließ eine
   leere Zelle als farbigen Block stehen. */
.notfound-links {
  display: grid;
  gap: 1px;
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
}
@media (min-width: 640px) {
  .notfound-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .notfound-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.notfound-links a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--paper);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.notfound-links a:hover {
  background: var(--paper-soft);
}
.notfound-links span {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.notfound-links .icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--link);
  transition: transform 0.2s;
}
.notfound-links a:hover .icon {
  transform: translateX(4px);
}

/* ---------------------------------------------------------- 16 CTA-Band */

.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: 5rem;
}
@media (min-width: 768px) {
  .cta-section {
    padding-block: 6rem;
  }
}
@media (min-width: 1024px) {
  .cta-section {
    padding-block: 7rem;
  }
}
/* Größere Variante am Fuß der Startseite */
.cta-section--tall {
  padding-block: 6rem;
}
@media (min-width: 768px) {
  .cta-section--tall {
    padding-block: 8rem;
  }
}

/* A single quiet brand module anchors the closing invitation. */
.cta-glow {
  pointer-events: none;
  position: absolute;
  will-change: transform;
}
.cta-glow--a {
  display: none;
}
.cta-glow--b {
  right: -5rem;
  bottom: -9rem;
  top: auto;
  width: 24rem;
  height: 24rem;
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
  background: var(--tangerine);
  opacity: 1;
}
@media (max-width: 1023px) {
  .cta-glow--a { display: none; }
  .cta-glow--b { display: none; }
}
.cta-section .container {
  position: relative;
}
.cta-section__inner {
  max-width: 42rem;
}
.cta-section__inner--wide {
  max-width: 48rem;
}
.cta-section h2 {
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cta-section p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.82);
  text-wrap: pretty;
}
.cta-section__actions {
  margin-top: 2.5rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 5rem;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.75fr 1.25fr 0.75fr;
    gap: 2.5rem;
  }
}
.footer-logo {
  width: 196px;
  height: auto;
}
.footer-tagline {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.95rem;
  line-height: 1.625;
  color: var(--ink-soft);
}
.footer-email {
  margin-top: 0.5rem;
  display: inline-block;
  padding-block: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover {
  color: var(--violet);
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}
/* py-3 gibt jedem Link ein 44-px-Antippziel. */
.footer-list {
  margin-top: 0.5rem;
}
.footer-list a,
.footer-list button {
  display: block;
  width: 100%;
  padding-block: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-list a:hover,
.footer-list button:hover {
  color: var(--violet);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ------------------------------------------------------ 18 Cookie-Banner */

/* Der gesamte Consent-Bereich bleibt für eine spätere Analytics-Aktivierung
   im Code erhalten, ist aber aktuell vollständig aus der Oberfläche entfernt. */
[data-open-cookie-settings],
.cookie-banner {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem;
}
@media (min-width: 640px) {
  .cookie-banner {
    padding: 1.5rem;
  }
}
.cookie-card {
  margin-inline: auto;
  max-width: 56rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.95);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgb(21 28 59 / 0.16);
  backdrop-filter: blur(12px);
}
@media (min-width: 640px) {
  .cookie-card {
    padding: 1.75rem;
  }
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}
.cookie-inner > div:first-child {
  flex: 1;
}
.cookie-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.cookie-text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.625;
  color: var(--ink-soft);
}
/* Die vollständige Erklärung füllte 45 % eines Handybildschirms. Die kurze
   Fassung behält, was Einwilligung tatsächlich verlangt; die lange kehrt ab
   sm zurück. */
.only-mobile {
  display: inline;
}
.only-desktop {
  display: none;
}
@media (min-width: 640px) {
  .only-mobile {
    display: none;
  }
  .only-desktop {
    display: inline;
  }
}
.cookie-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cookie-actions {
    flex-direction: row;
  }
}
/* Beide Beschriftungen benennen dasselbe, damit keine Wahl vager ist als die
   andere — Einwilligung muss so leicht abzulehnen wie zu erteilen sein. */
.cookie-btn {
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
}
.cookie-btn--decline {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.cookie-btn--decline:hover {
  border-color: var(--violet);
  background: var(--paper-soft);
}
.cookie-btn--accept {
  background: var(--navy);
  color: #fff;
}
.cookie-btn--accept:hover {
  background: var(--violet);
}

/* -------------------------------------------------------- 19 Rechtstexte */

.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
@media (min-width: 1024px) {
  .legal-hero {
    margin-top: -4.25rem;
    padding-top: 4.25rem;
  }
}
.legal-hero__glow {
  position: absolute;
  right: 0;
  top: 0;
  width: min(30vw, 380px);
  height: 360px;
  border-radius: 0 0 0 3rem;
  background: var(--paper-soft);
}
@media (max-width: 1023px) {
  .legal-hero__glow {
    width: 40vw;
    height: 7rem;
    border-radius: 0 0 0 2rem;
  }
}
.legal-hero .container {
  position: relative;
}
.legal-hero__inner {
  max-width: 48rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .legal-hero__inner {
    padding-block: 5rem;
  }
}
.legal-hero h1 {
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.legal-updated {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.legal-intro {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.legal-main {
  background: var(--paper);
  padding-bottom: 6rem;
}
@media (min-width: 768px) {
  .legal-main {
    padding-bottom: 7rem;
  }
}
.legal-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .legal-layout--toc {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 4rem;
  }
}

/* Klebriges Abschnittsverzeichnis — lohnt sich für die langen Texte, nicht
   fürs Impressum. */
.legal-toc {
  display: none;
}
@media (min-width: 1024px) {
  .legal-toc {
    display: block;
    align-self: start;
    position: sticky;
    top: 7rem;
  }
}
.legal-toc > p {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}
.legal-toc ol {
  border-left: 1px solid var(--line);
}
.legal-toc li + li {
  margin-top: 0.625rem;
}
.legal-toc a {
  display: block;
  margin-left: -1px;
  border-left: 1px solid transparent;
  padding-left: 1rem;
  font-size: 0.88rem;
  line-height: 1.375;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.legal-toc a:hover {
  border-left-color: var(--link);
  color: var(--violet);
}

.legal-content {
  max-width: 68ch;
}
.legal-content h2 {
  margin-top: 3.5rem;
  scroll-margin-top: 7rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.375;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.legal-content p {
  margin-top: 1rem;
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.legal-content ul {
  margin-top: 1rem;
  border-left: 2px solid var(--line);
  padding-left: 1.25rem;
}
.legal-content ul li {
  line-height: 1.625;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.legal-content ul li + li {
  margin-top: 0.5rem;
}
.legal-content address {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-soft);
  padding: 1.25rem 1.5rem;
  font-style: normal;
  line-height: 1.625;
  color: var(--ink-soft);
}
.legal-content address span {
  display: block;
}

/* Platzhalter aus dem Copy-Deck bleiben markiert, damit sie nicht unbemerkt
   veröffentlicht werden können. */
.legal-content mark,
mark.placeholder {
  border-radius: 0.25rem;
  border: 1px dashed rgb(251 191 36 / 0.7);
  background: #fffbeb;
  padding: 0.125rem 0.375rem;
  font-size: 0.94em;
  font-weight: 500;
  color: #78350f;
}

/* --------------------------------------------------------- 20 Animationen */

@keyframes drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(-3%, 4%, 0) scale(1.07) rotate(-6deg);
  }
}
@keyframes drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(4%, -3%, 0) scale(1.1) rotate(7deg);
  }
}
.cta-glow--a {
  animation: drift-a 22s ease-in-out infinite;
}
.cta-glow--b {
  animation: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-rise {
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cta-glow--a,
  .cta-glow--b,
  .animate-rise {
    animation: none !important;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}


/* ------------------------------------------- 21 Markenicons (Playblocks) */
/* Die Icons aus dem Brand Kit sind mehrfarbige Flächen, keine Linien. Die
   Badges, die für Linien-Icons gedacht waren, entfallen: Hintergrund weg,
   Icon größer, keine Umfärbung beim Hover. Stroke vom Basis-.icon neutralisieren,
   die Kinder tragen ihre Farben als Attribute. */
.icon--brand {
  fill: none;
  stroke: none;
  stroke-width: 0;
  width: 3.25rem;
  height: 3.25rem;
}
.card__icon,
.card__icon--square,
.service__icon,
.service-link-card__icon,
.contact-card .card__icon {
  height: auto;
  width: auto;
  background: transparent;
  border-radius: 0;
}
/* Auch im Normalzustand: die farbigen Karten setzen dem Badge sonst einen
   weissen Hintergrund — gleiche Spezifität, damit transparent gewinnt. */
.card--accent-mint .card__icon,
.card--accent-tangerine .card__icon,
.card--accent-violet .card__icon,
.card .card__icon,
.card .card__icon--square,
.card:hover .card__icon,
.card:hover .card__icon--square,
.card--accent-mint:hover .card__icon,
.card--accent-tangerine:hover .card__icon,
.card--accent-violet:hover .card__icon,
.service-link-card:hover .service-link-card__icon {
  background: transparent;
}
.card__icon .icon--brand { width: 3.5rem; height: 3.5rem; }
.service__icon .icon--brand { width: 3.75rem; height: 3.75rem; }
.service-link-card__icon .icon--brand { width: 2.75rem; height: 2.75rem; }
/* Leichte Hebung statt Farbwechsel */
.card .icon--brand,
.service-link-card .icon--brand {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .icon--brand,
.service-link-card:hover .icon--brand {
  transform: translateY(-3px);
}

/* Nummern als kleine Farbblöcke — Bausteine wie im Zeichen */
.step-num,
.step__num,
.service__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: 0.65rem;
  background: var(--mint-soft);
  color: var(--navy);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.stepper li:nth-child(3n + 2) .step-num,
.steps-grid li:nth-child(3n + 2) .step__num { background: var(--mint-soft); }
.stepper li:nth-child(3n) .step-num,
.steps-grid li:nth-child(3n) .step__num { background: var(--mint-soft); color: var(--navy); }
.service--soft .service__num { background: var(--mint-soft); }

/* Eyebrow mit Baustein davor */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-right: 0.6em;
  border-radius: 0.2em;
  background: var(--tangerine);
  vertical-align: 0.05em;
}
.eyebrow--on-dark::before { background: var(--mint); }
.section--tangerine .eyebrow::before { background: var(--navy); }
.section-heading .eyebrow::before,
.detail-section__heading .eyebrow::before { background: var(--violet); }

/* Auf den Leistungsseiten steht das Icon über dem Eyebrow — der Baustein
   davor entfällt. Steht am Dateiende, damit er die generische Regel schlägt. */
.eyebrow.detail-eyebrow::before {
  display: none;
}


/* Repeated decorative shapes were removed to keep each surface focused. */
@media (max-width: 359px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 2.25rem 2.25rem;
    height: 6rem;
    gap: 0;
  }
  .header-logo { grid-row: 1 / span 2; }
  .language-switcher { grid-column: 2; grid-row: 1; }
  .nav-toggle { grid-column: 2; grid-row: 2; justify-self: end; }
  .jump { top: 6rem; }
}

/* ------------------------------------------- 23 Sprungleiste (Services) */
.jump {
  position: sticky;
  top: 4.25rem; /* unter dem Header */
  z-index: 30;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
}
.jump__list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-block: 0.6rem;
  scrollbar-width: none;
}
.jump__list::-webkit-scrollbar { display: none; }
@media (max-width: 359px) {
  .jump { top: 6rem; }
}
.jump__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.jump__list a:hover {
  background: var(--paper-soft);
  color: var(--navy);
}
.jump__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--mint-soft);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.jump__list li:nth-child(3n + 2) .jump__num { background: var(--mint-soft); }
.jump__list li:nth-child(3n) .jump__num { background: var(--mint-soft); color: var(--navy); }
/* Sprungziele landen unter Header und Leiste */
.service[id] { scroll-margin-top: 9.5rem; }
.steps-grid li[id] { scroll-margin-top: 6.5rem; }

/* Stepper auf der Startseite ist klickbar */
.stepper li { padding: 0; }
.stepper li > a {
  display: block;
  height: 100%;
  padding: 2rem 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s;
}
.stepper li > a:hover { background: var(--paper-soft); }
.stepper li > a:hover .step-name { color: var(--violet); }
