/* ============================================================================
   HelloGentian — 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 (Brand Kit, 05_Color) --------------------
     Nur diese sieben sind freigegeben. Alles Weitere in diesem Block ist
     daraus abgeleitet und liegt auf der Achse Deep Emerald <-> Mist. */
  --deep-emerald: #0b1f1a; /* primär: Flächen, Buttons, Überschriften */
  --emerald: #134b3a; /* Text-Akzent auf hellem Grund */
  --sea-green: #2d7a67; /* Links, Hervorhebungen, aktive Zustände */
  --mist: #e6f1ec; /* Ruheflächen */
  --stone: #d6dadf; /* neutral, für Fälle ohne Grünstich */
  --charcoal: #111418; /* Ausweichdunkel */
  --white: #ffffff;

  /* ---- Abgeleitete Rollen -------------------------------------------------
     Eine 7-Farben-Palette deckt kein vollständiges Interface ab: es fehlen
     Sekundärtext, Linien und eine dritte Flächenstufe. Die vier Werte unten
     sind reine Mischungen aus Deep Emerald und Mist, bleiben also im Farbton
     der Marke. Kontraste stehen jeweils dahinter. */
  --ink: var(--deep-emerald); /* Überschriften, Primärtext — 17.1:1 auf Weiß */
  --ink-soft: #3d4f4a; /* Fließtext zweiter Ebene   —  8.7:1 auf Weiß */
  /* Auf Mist gerade noch 4.59:1 — das ist die Untergrenze für Fließtext nach
     WCAG 1.4.3. Nicht weiter aufhellen. */
  --ink-muted: #5e6f6a; /* Labels, Meta              —  5.3:1 auf Weiß */

  --paper: var(--white);
  --paper-soft: #f5f9f7; /* 60 % Weiß + 40 % Mist */
  --paper-tint: var(--mist);

  --line: #c7d4cf; /* Rahmen und Rasterfugen */
  --line-soft: #d4e0db; /* Trenner innerhalb heller Flächen */

  /* Abdunkelung über dem Hero-Foto. Bewusst Charcoal statt Deep Emerald: Grün
     über einem warmen Motiv zieht die Orangetöne ins Olivfarbene. Charcoal ist
     neutral, dunkelt also ab, ohne den Farbton des Bildes zu drehen. Für
     Markenflächen ohne Foto — CTA-Bänder, Karten-CTA — bleibt Deep Emerald. */
  --scrim: var(--charcoal);

  --font-sans: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback",
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;

  /* Der Abstand Hero/Display lag früher bei 1.17 — eine H1 nur 17 % größer als
     jede H2, was beim Überfliegen wie eine einzige flache Ebene wirkte. */
  --text-hero: clamp(2.05rem, 3.7vw, 3.05rem);
  --text-display: clamp(1.7rem, 2.6vw, 2.35rem);
  --text-title: clamp(1.4rem, 2.2vw, 1.85rem);

  --shell: 1200px;
  --pad: 1.5rem;
  --radius: 1rem;
}

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

/* ----------------------------------------------------------------- 2 Fonts */
/* Selbst gehostet — keine Requests an Google, damit die Seite konsistent zur
   einwilligungsgesteuerten Analytics-Regel der Datenschutzerklärung bleibt. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/636a5ac981f94f8b-s.p.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da,
    u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191,
    u+2193, u+2212, u+2215, u+feff, u+fffd;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/9e7b0a821b9dfcb4-s.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7,
    u+02dd-02ff, u+0304, u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff,
    u+2020, u+20a0-20ab, u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/8ebc6e9dde468c4a-s.woff2) format("woff2");
  unicode-range: u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169,
    u+01a0-01a1, u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323,
    u+0329, u+1ea0-1ef9, u+20ab;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/6fe53d21e6e7ebd8-s.woff2) format("woff2");
  unicode-range: u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f,
    u+fe2e-fe2f;
}
@font-face {
  font-family: "Plus Jakarta Sans Fallback";
  src: local("Arial");
  ascent-override: 98.88%;
  descent-override: 21.15%;
  line-gap-override: 0%;
  size-adjust: 104.98%;
}

/* ------------------------------------------------------- 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.5;
}

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(--deep-emerald);
  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(--deep-emerald);
  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(--deep-emerald);
  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: 5rem;
}
@media (min-width: 768px) {
  .section {
    padding-block: 7rem;
  }
}
@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}

.section--soft {
  background: var(--paper-soft);
}
.section--tint {
  background: var(--mist);
}
.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(--emerald);
}
.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.1;
  letter-spacing: -0.02em;
  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;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  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(--deep-emerald);
  color: #fff;
  box-shadow: 0 4px 16px rgb(11 31 26 / 0.24);
}
.btn--primary:hover {
  background: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(11 31 26 / 0.3);
}

.btn--secondary {
  border: 1px solid var(--deep-emerald);
  background: #fff;
  color: var(--deep-emerald);
}
.btn--secondary:hover {
  border-color: var(--deep-emerald);
  background: var(--mist);
  transform: translateY(-2px);
}

.btn--on-dark {
  background: #fff;
  color: var(--deep-emerald);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.18);
}
.btn--on-dark:hover {
  background: var(--mist);
  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(--sea-green);
  text-decoration: none;
  transition: color 0.2s;
}
.arrow-link:hover {
  color: var(--deep-emerald);
}
.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(--mist);
}

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

/* 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: transparent;
  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(199 212 207 / 0.7);
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(12px);
}

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

.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(--deep-emerald);
  color: #fff;
}
.site-header.is-on-dark .language-switcher {
  border-color: rgb(255 255 255 / 0.28);
  background: rgb(11 20 18 / 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(--deep-emerald);
}
/* 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;
}
/* Das freigegebene Lockup hat ein Seitenverhältnis von 610:128. Die Guidelines
   nennen 140 px Mindestbreite — bei 1.9rem Höhe sind es 143 px, bei 2rem 153 px.
   Niedriger darf die Marke nicht werden. */
.header-logo img {
  height: 1.9rem;
  width: auto;
}
@media (min-width: 768px) {
  .header-logo img {
    height: 2rem;
  }
}
/* Ü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(--deep-emerald);
}
/* 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(--sea-green);
}

.nav-toggle {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-right: -0.5rem;
  border-radius: 9999px;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s;
}
.nav-toggle:hover {
  background: var(--mist);
}
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}
@media (max-width: 420px) {
  .header-inner {
    gap: 0.4rem;
  }
  .header-logo img {
    height: 1.84rem;
  }
  .language-switcher {
    gap: 0.05rem;
    font-size: 0.66rem;
  }
  .language-switcher a {
    padding: 0.32rem 0.42rem;
  }
  .nav-toggle {
    margin-right: -0.25rem;
  }
}
.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(11 31 26 / 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(--mist);
  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(--deep-emerald);
}
body.is-locked {
  overflow: hidden;
}

/* ---------------------------------------------------------------- 8 Hero */
/* -5rem oben bei jeder Breite, nicht nur ab lg: der Header invertiert zu Weiß
   über diesem Hero, also muss das Bildmaterial auch auf dem Handy dahinter
   sitzen. */

.hero {
  position: relative;
  margin-top: -5rem;
  display: flex;
  min-height: 92svh;
  align-items: center;
  overflow: hidden;
  background: var(--scrim);
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-video {
  opacity: 0;
  transition: opacity 1s;
}
.hero-video.is-ready {
  opacity: 1;
}

/* Abdunkelung: am stärksten links, wo der Text sitzt, damit das Bildmaterial
   rechts sichtbar bleibt. Ohne das ist die Schrift nicht lesbar.
   Neutrales Charcoal, siehe --scrim oben. */
.hero-scrim-x,
.hero-scrim-y {
  position: absolute;
  inset: 0;
}
.hero-scrim-x {
  background: linear-gradient(
    to right,
    rgb(17 20 24 / 0.9),
    rgb(17 20 24 / 0.7) 50%,
    rgb(17 20 24 / 0.3)
  );
}
.hero-scrim-y {
  background: linear-gradient(
    to top,
    rgb(17 20 24 / 0.7),
    transparent 50%,
    rgb(17 20 24 / 0.5)
  );
}

.hero-inner {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 12rem;
    padding-bottom: 7rem;
  }
}
.hero-inner > div {
  max-width: 42rem;
}

.hero-title {
  margin-top: 1.25rem;
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.hero-text {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.75);
  text-wrap: pretty;
}

.hero-cta {
  margin-top: 2.5rem;
}

/* Nur sichtbar, sobald die Schleife tatsächlich läuft — sie soll nie anbieten,
   ein Standbild zu pausieren. 44-px-Ziel gemäß WCAG 2.5.5. */
.video-toggle {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 10;
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: rgb(17 20 24 / 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s;
}
.video-toggle:hover {
  background: rgb(17 20 24 / 0.7);
}
@media (min-width: 768px) {
  .video-toggle {
    right: 2rem;
    bottom: 2rem;
  }
}
.video-toggle .icon {
  width: 1rem;
  height: 1rem;
}
.video-toggle .icon-play {
  display: none;
  fill: currentColor;
}
.video-toggle .icon-pause {
  fill: currentColor;
  stroke: none;
}
.video-toggle.is-paused .icon-play {
  display: block;
}
.video-toggle.is-paused .icon-pause {
  display: none;
}

/* ------------------------------------------------------------ 9 Page-Hero */
/* Bewusst ruhiger als der Startseiten-Hero, behält aber die Familienähnlichkeit
   über den weichen indigo Schleier und dieselbe Typo-Skala. */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
@media (min-width: 1024px) {
  .page-hero {
    margin-top: -5rem;
    padding-top: 5rem;
  }
}
.page-hero__glow {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 420px;
  background: radial-gradient(
    120% 100% at 85% 0%,
    rgb(45 122 103 / 0.16),
    transparent 60%
  );
}
.page-hero .container {
  position: relative;
}
.page-hero__inner {
  max-width: 48rem;
  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.03em;
  text-wrap: balance;
}
.page-hero__body {
  margin-top: 2rem;
  max-width: 42rem;
}

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

.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
@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(--line);
  box-shadow: 0 12px 32px rgb(11 31 26 / 0.07);
}
.card--service {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card__icon {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--mist);
  color: var(--deep-emerald);
  transition: background-color 0.2s, color 0.2s;
}
.card:hover .card__icon {
  background: var(--deep-emerald);
  color: #fff;
}
.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:hover .card__icon--square {
  background: var(--mist);
  color: var(--deep-emerald);
}

.card__title {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  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;
}

/* Kartenförmiger Link, der das Raster abschließt */
.card--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  background: var(--deep-emerald);
  color: #fff;
  text-decoration: none;
}
.card--cta:hover {
  background: var(--emerald);
  transform: translateY(-4px);
  box-shadow: none;
}
.card--cta .card__title {
  margin-top: 0;
}
.card--cta .card__body {
  color: var(--mist);
}
.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(199 212 207 / 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(--deep-emerald);
}
.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) {
  .stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@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(--sea-green);
}
.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(--mist);
  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(--emerald);
  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(--mist);
  color: var(--deep-emerald);
}
.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(--sea-green);
}
.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(--emerald);
  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.65rem;
}
.detail-eyebrow__icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--mist);
  color: var(--deep-emerald);
}
.detail-eyebrow__icon .icon {
  width: 1rem;
  height: 1rem;
}
.detail-hero .page-hero__inner {
  padding-bottom: 3.5rem;
}
.detail-bridge {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, var(--deep-emerald), #143f35);
  color: #fff;
}
.detail-bridge::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -10rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background: rgb(119 191 165 / 0.12);
  pointer-events: 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: #9bd5c3;
  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: rgb(255 255 255 / 0.62);
}
.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(255 255 255 / 0.18);
  }
  .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.75;
  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(--sea-green);
}
.detail-faq {
  background: var(--mist);
}
.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;
  background: var(--mist);
  color: var(--deep-emerald);
  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(--sea-green);
  box-shadow: 0 12px 32px rgb(11 31 26 / 0.07);
}
.service-link-card:hover .service-link-card__icon {
  background: var(--deep-emerald);
  color: #fff;
}
.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(--sea-green);
  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(--sea-green);
}
.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(--sea-green);
}
.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(--sea-green);
  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(11 31 26 / 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(--sea-green);
}
a.contact-card:hover .contact-card__value--link {
  color: var(--deep-emerald);
}
.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(--mist);
}
.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(--sea-green);
  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;
  }
}

.cta-glow {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
}
.cta-glow--a {
  bottom: -50%;
  left: -10%;
  height: 110%;
  width: 45%;
  background: radial-gradient(
    circle,
    rgb(45 122 103 / 0.30),
    transparent 68%
  );
}
.cta-glow--b {
  top: -40%;
  right: -10%;
  height: 120%;
  width: 55%;
  background: radial-gradient(circle, rgb(45 122 103 / 0.5), transparent 65%);
}
.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.7);
  text-wrap: pretty;
}
.cta-section__actions {
  margin-top: 2.5rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}
.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 {
  height: 2.1rem; /* 160 px breit, über den 140 px der Guidelines */
  width: 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(--sea-green);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover {
  color: var(--emerald);
}
.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(--emerald);
}
.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(11 31 26 / 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(--deep-emerald);
  color: var(--deep-emerald);
}
.cookie-btn--decline:hover {
  border-color: var(--deep-emerald);
  background: var(--mist);
}
.cookie-btn--accept {
  background: var(--deep-emerald);
  color: #fff;
}
.cookie-btn--accept:hover {
  background: var(--emerald);
}

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

.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
@media (min-width: 1024px) {
  .legal-hero {
    margin-top: -5rem;
    padding-top: 5rem;
  }
}
.legal-hero__glow {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 360px;
  background: radial-gradient(
    120% 100% at 85% 0%,
    rgb(45 122 103 / 0.14),
    transparent 60%
  );
}
.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(--sea-green);
  color: var(--emerald);
}

.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: drift-b 27s ease-in-out infinite;
}

@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;
  }
}
