/*
  BGS Brillianta Gebäude Service — Design System
  ------------------------------------------------
  Farb- und Formsprache abgeleitet aus dem Firmenlogo:
  Gold (Blatt) · Mint-Teal (Eimer) · Petrol-Blau (Abzieher) · Anthrazit (Wortmarke)
  Typografie: Fraunces (Display/Editorial) + Inter (Text/UI)
*/

/* Self-hosted fonts (DSGVO): Fraunces + Inter, variable, latin + latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, 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: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fraunces-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fraunces-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, 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: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fraunces-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, 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: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('inter-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------
   1. DESIGN TOKENS
------------------------------------------------------------------ */
:root {
  /* Brand core (exact values sampled from the logo) */
  --brand-gold: #F2B705;
  --brand-teal: #46B39D;
  --brand-blue: #008C9E;
  --brand-ink-logo: #383838;

  /* Extended palette */
  --gold: #F2B705;
  --gold-dark: #C99400;
  --gold-text: #8F6900;
  --gold-soft: #FCEFC4;
  --teal: #46B39D;
  --teal-dark: #2E8E7B;
  --teal-soft: #E3F3EF;
  --blue: #008C9E;
  --blue-dark: #056776;
  --blue-soft: #E1F1F3;

  /* Neutrals — warm paper, never stark white */
  --paper: #FAF7F1;
  --paper-dim: #F1EBDD;
  --paper-line: #E3DBC8;
  --white: #FFFFFF;

  /* Deep / dark surfaces */
  --deep-950: #081F23;
  --deep-900: #0B2E33;
  --deep-800: #0F3B42;
  --deep-700: #144A53;
  --deep-line: rgba(255, 255, 255, 0.14);
  --deep-line-strong: rgba(255, 255, 255, 0.28);

  /* Text */
  --ink: #1C201E;
  --ink-soft: #52564F;
  --ink-faint: #656960;
  --on-deep: #F3F1E9;
  --on-deep-soft: #B8C6C4;
  --on-deep-faint: #7E938F;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (clamp: min, preferred, max) */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --fs-small: clamp(0.85rem, 0.82rem + 0.15vw, 0.92rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-h6: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  --fs-h5: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --fs-h4: clamp(1.45rem, 1.3rem + 0.8vw, 1.9rem);
  --fs-h3: clamp(1.8rem, 1.55rem + 1.2vw, 2.5rem);
  --fs-h2: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
  --fs-h1: clamp(2.6rem, 1.9rem + 3.6vw, 5.2rem);
  --fs-display: clamp(3.2rem, 2.2rem + 5vw, 7rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --sp-11: 11rem;

  /* Layout */
  --container-max: 1360px;
  --container-pad: clamp(1.25rem, 4vw, 4rem);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 220ms;
  --dur-med: 480ms;
  --dur-slow: 900ms;

  /* Shadows */
  --shadow-s: 0 1px 2px rgba(11, 46, 51, 0.06), 0 1px 1px rgba(11, 46, 51, 0.04);
  --shadow-m: 0 8px 24px -8px rgba(11, 46, 51, 0.18);
  --shadow-l: 0 24px 60px -16px rgba(11, 46, 51, 0.28);
  --shadow-gold: 0 10px 28px -10px rgba(201, 148, 0, 0.55);

  color-scheme: light;
}

/* ---------------------------------------------------------------
   2. RESET / BASE
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-wrap: anywhere;
}
body.nav-open { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
  -webkit-hyphens: auto;
  hyphens: auto;
}
h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--gold-soft); color: var(--deep-900); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------
   3. LAYOUT / UTILITIES
------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--sp-10); }
.section--tight { padding-block: var(--sp-8); }
.section--light { background: var(--paper); }
.section--dim { background: var(--paper-dim); }
.section--deep {
  background: linear-gradient(175deg, var(--deep-900), var(--deep-950));
  color: var(--on-deep);
}
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: var(--white); }

.grid { display: grid; gap: var(--sp-6); }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Two-column bullet/feature lists (used inside leistungen detail blocks) */
.bullet-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.8em;
}
.bullet-grid-2 > li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .bullet-grid-2 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-dark);
}
.section--deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--teal); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.lead { font-size: var(--fs-lead); color: var(--ink-soft); font-weight: 400; line-height: 1.5; }
.section--deep .lead, .hero .lead, .page-hero .lead { color: var(--on-deep-soft); }

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

.skip-link {
  position: fixed;
  top: -80px;
  left: var(--sp-4);
  z-index: 999;
  background: var(--gold);
  color: var(--deep-950);
  padding: 0.9em 1.4em;
  border-radius: var(--radius-s);
  font-weight: 700;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

.divider {
  height: 1px;
  background: var(--paper-line);
  border: none;
  margin-block: var(--sp-8);
}
.section--deep .divider { background: var(--deep-line); }
@media (max-width: 700px) { .divider { margin-block: var(--sp-6); } }

/* ---------------------------------------------------------------
   4. BUTTONS
------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-out); }

.btn--gold {
  background: var(--gold);
  color: var(--deep-950);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(201,148,0,0.6); }
.btn--gold:hover svg { transform: translateX(3px); }

.btn--outline-light {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--paper-line);
}
.btn--outline-light:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--outline-dark {
  background: transparent;
  color: var(--on-deep);
  border: 1.5px solid var(--deep-line-strong);
}
.btn--outline-dark:hover { border-color: var(--teal); color: var(--white); transform: translateY(-2px); }

.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0;
  background: none;
  color: currentColor;
  font-weight: 700;
  position: relative;
}
.btn--ghost svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn--ghost::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  opacity: 0.4;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast);
}
.btn--ghost:hover::after { transform: scaleX(1); opacity: 1; }
.btn--ghost:hover svg { transform: translateX(4px); }

.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 1.15em 2.1em; font-size: var(--fs-body); }

/* ---------------------------------------------------------------
   5. HEADER + MENU BUTTON
------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  padding-block: var(--sp-5);
  transition: padding var(--dur-med) var(--ease-out),
              background-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med) var(--ease-out);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.site-header.is-scrolled,
.site-header.is-solid {
  padding-block: var(--sp-3);
  background: rgba(250, 247, 241, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--paper-line), var(--shadow-s);
}
.site-header.theme-dark .brand__word,
.site-header.theme-dark .menu-btn__label { color: var(--on-deep); }
.site-header.theme-dark.is-scrolled,
.site-header.theme-dark.is-solid {
  background: rgba(8, 31, 35, 0.82);
  box-shadow: 0 1px 0 var(--deep-line), var(--shadow-l);
}
.site-header.theme-dark.is-scrolled .brand__word,
.site-header.theme-dark.is-solid .brand__word { color: var(--on-deep); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  background: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 10px rgba(2, 12, 14, 0.28);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.brand:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(2, 12, 14, 0.32); }
.brand__mark { height: clamp(34px, 3.6vw, 48px); width: auto; }
.brand__word {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1vw + 0.7rem, 1.3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand__word span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-top: 2px;
}
.site-header.theme-dark .brand__word span { color: var(--teal); }

.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.6rem 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--paper-line);
  background: var(--paper);
  z-index: 2;
  transition: background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.menu-btn:hover { box-shadow: var(--shadow-m); border-color: var(--ink-faint); }
.site-header.theme-dark .menu-btn {
  background: rgba(255,255,255,0.06);
  border-color: var(--deep-line-strong);
}
.site-header.theme-dark .menu-btn:hover { border-color: var(--teal); }

.menu-btn__label {
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.03em;
  color: var(--ink);
}
.menu-btn__icon {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--deep-900);
  flex-shrink: 0;
}
.menu-btn__icon span {
  position: absolute;
  left: 11px;
  width: 16px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-in-out), opacity var(--dur-fast) var(--ease-in-out), top var(--dur-fast) var(--ease-in-out);
}
.menu-btn__icon span:nth-child(1) { top: 14px; }
.menu-btn__icon span:nth-child(2) { top: 20px; }
.menu-btn__icon span:nth-child(3) { top: 26px; }

.nav-open .menu-btn__icon span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-open .menu-btn__icon span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn__icon span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------
   6. FULLSCREEN NAVIGATION OVERLAY
------------------------------------------------------------------ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  visibility: hidden;
  pointer-events: none;
}
.nav-overlay__panel {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 88% -10%, rgba(70,179,157,0.22), transparent 60%),
    linear-gradient(160deg, var(--deep-900) 0%, var(--deep-950) 100%);
  clip-path: circle(2.5% at calc(100% - 56px) 44px);
  transition: clip-path var(--dur-slow) var(--ease-in-out);
  overflow: hidden;
}
.nav-overlay.is-open { visibility: visible; pointer-events: auto; }
.nav-overlay.is-open .nav-overlay__panel { clip-path: circle(150% at calc(100% - 56px) 44px); }

@media (prefers-reduced-motion: reduce) {
  .nav-overlay__panel { transition: opacity var(--dur-fast) linear; clip-path: none !important; opacity: 0; }
  .nav-overlay.is-open .nav-overlay__panel { opacity: 1; }
}

.nav-overlay__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.nav-overlay__lines {
  position: absolute; inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.nav-overlay__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity var(--dur-fast) linear;
  transition-delay: 0ms;
}
.nav-overlay.is-open .nav-overlay__content { opacity: 1; transition-delay: 260ms; }

.nav-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: var(--sp-5) var(--container-pad);
}
.nav-overlay__top .eyebrow { min-width: 0; overflow-wrap: normal; }
.nav-overlay__close {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--on-deep);
  font-weight: 700;
  font-size: var(--fs-small);
  padding: 0.55rem 1.3rem 0.55rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--deep-line-strong);
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-overlay__close:hover { border-color: var(--teal); }
.nav-overlay__close .menu-btn__icon { background: var(--white); }
.nav-overlay__close .menu-btn__icon span { background: var(--deep-950); top: 19px; }
.nav-overlay__close .menu-btn__icon span:nth-child(1) { transform: rotate(45deg); }
.nav-overlay__close .menu-btn__icon span:nth-child(2) { opacity: 0; }
.nav-overlay__close .menu-btn__icon span:nth-child(3) { transform: rotate(-45deg); }

.nav-overlay__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--sp-6);
  padding: var(--sp-4) var(--container-pad) var(--sp-8);
  overflow-y: auto;
}

.nav-list__item {
  border-top: 1px solid var(--deep-line);
  overflow: hidden;
}
.nav-list__item:last-child { border-bottom: 1px solid var(--deep-line); }
.nav-list__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-5);
  padding: clamp(0.7rem, 1.8vw, 1.35rem) 0;
  transform: translateY(60%);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-med) var(--ease-out);
}
.nav-overlay.is-open .nav-list__link { transform: translateY(0); opacity: 1; }
.nav-list__item:nth-child(1) .nav-list__link { transition-delay: 300ms; }
.nav-list__item:nth-child(2) .nav-list__link { transition-delay: 340ms; }
.nav-list__item:nth-child(3) .nav-list__link { transition-delay: 380ms; }
.nav-list__item:nth-child(4) .nav-list__link { transition-delay: 420ms; }
.nav-list__item:nth-child(5) .nav-list__link { transition-delay: 460ms; }
.nav-list__item:nth-child(6) .nav-list__link { transition-delay: 500ms; }
.nav-list__item:nth-child(7) .nav-list__link { transition-delay: 540ms; }
.nav-list__item:nth-child(8) .nav-list__link { transition-delay: 580ms; }

.nav-list__num {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--on-deep-faint);
  min-width: 2.4ch;
}
.nav-list__label {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 3.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-deep-soft);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav-list__link:hover .nav-list__label,
.nav-list__link:focus-visible .nav-list__label,
.nav-list__link[aria-current="page"] .nav-list__label {
  color: var(--white);
  transform: translateX(10px);
}
.nav-list__link[aria-current="page"] .nav-list__num { color: var(--gold); }
.nav-list:has(.nav-list__link:hover) .nav-list__link:not(:hover) .nav-list__label { color: var(--on-deep-faint); }
.nav-list__item:has(.nav-list__sub a[aria-current="page"]) .nav-list__label { color: var(--white); }
.nav-list__item:has(.nav-list__sub a[aria-current="page"]) .nav-list__num { color: var(--gold); }

.nav-list__sub {
  padding-left: calc(2.4ch + var(--sp-5));
  padding-bottom: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.nav-list__sub a {
  font-size: var(--fs-small);
  color: var(--on-deep-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.nav-list__sub a:hover { color: var(--teal); border-color: var(--teal); }
.nav-list__sub a[aria-current="page"] { color: var(--white); border-color: var(--gold); font-weight: 700; }

.nav-overlay__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-top: var(--sp-5);
  border-left: 1px solid var(--deep-line);
  padding-left: var(--sp-6);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  transition-delay: 560ms;
}
.nav-overlay.is-open .nav-overlay__aside { opacity: 1; transform: translateY(0); }

.nav-cta {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--deep-line-strong);
  border-radius: var(--radius-m);
  padding: var(--sp-5);
}
.nav-cta__eyebrow { font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.nav-cta p { color: var(--on-deep-soft); margin-block: var(--sp-3) var(--sp-5); font-size: var(--fs-small); }

.nav-contact { display: flex; flex-direction: column; gap: var(--sp-2); }
.nav-contact a { color: var(--on-deep); font-weight: 600; font-size: var(--fs-small); }
.nav-contact a:hover { color: var(--gold); }
.nav-contact__label { color: var(--on-deep-faint); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.12em; margin-top: var(--sp-3); }
.nav-contact__label:first-child { margin-top: 0; }

.nav-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nav-badges span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--on-deep-faint);
  border: 1px solid var(--deep-line);
  border-radius: var(--radius-pill);
  padding: 0.35em 0.8em;
}

@media (max-width: 860px) {
  .nav-overlay__body { grid-template-columns: 1fr; overflow-y: auto; }
  .nav-overlay__aside { border-left: none; border-top: 1px solid var(--deep-line); padding-left: 0; padding-top: var(--sp-6); }
  .nav-list__label { font-size: clamp(1.6rem, 7vw, 2.4rem); }
}

/* ---------------------------------------------------------------
   7. HERO PATTERNS
------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(7rem, 10vw, 10rem);
  padding-bottom: var(--sp-10);
  overflow: hidden;
  background: linear-gradient(180deg, var(--deep-900) 0%, var(--deep-800) 62%, var(--deep-950) 100%);
  color: var(--on-deep);
}
.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(70,179,157,0.30), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__glow--gold {
  top: auto; bottom: -30%; left: -15%; right: auto;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(242,183,5,0.16), transparent 65%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--deep-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--deep-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-8); align-items: end; }
.hero--center .hero__inner { grid-template-columns: 1fr; max-width: 900px; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-block: var(--sp-5) var(--sp-6); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--fs-small); font-weight: 600; color: var(--on-deep-soft);
  border: 1px solid var(--deep-line-strong);
  border-radius: var(--radius-pill);
  padding: 0.5em 1.1em;
  background: rgba(255,255,255,0.03);
}
.hero__badge strong { color: var(--white); font-weight: 700; }
.hero__badge svg { width: 1em; height: 1em; color: var(--teal); }

.hero__title { color: var(--white); }
.hero__title em {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-7); }

.hero__panel {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--deep-line-strong);
  border-radius: var(--radius-l);
  padding: var(--sp-6);
  backdrop-filter: blur(6px);
}
.hero__panel-figure { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-m); overflow: hidden; margin-bottom: var(--sp-5); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); margin-top: var(--sp-9); padding-top: var(--sp-7); border-top: 1px solid var(--deep-line); }
.stat { }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.8vw, 3.1rem); color: var(--white); line-height: 1; }
.stat__label { font-size: var(--fs-small); color: var(--on-deep-soft); margin-top: var(--sp-2); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; gap: var(--sp-5); } }

/* Page hero (subpages, lighter/shorter) */
.page-hero {
  position: relative;
  padding-top: clamp(7rem, 9vw, 9rem);
  padding-bottom: var(--sp-8);
  background: linear-gradient(180deg, var(--deep-900), var(--deep-800));
  color: var(--on-deep);
  overflow: hidden;
}
.page-hero .hero__grid { opacity: 0.35; }
.page-hero__crumb { display: flex; align-items: center; gap: 0.5em; font-size: var(--fs-small); color: var(--on-deep-faint); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.page-hero__crumb a:hover { color: var(--teal); }
.page-hero__crumb svg { width: 0.8em; height: 0.8em; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { max-width: 62ch; margin-top: var(--sp-4); }

/* ---------------------------------------------------------------
   8. CARDS
------------------------------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-m);
  padding: var(--sp-6);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }

.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card__icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__icon--gold { background: var(--gold-soft); color: var(--gold-text); }
.service-card__icon--teal { background: var(--teal-soft); color: var(--teal-dark); }
.service-card__icon--blue { background: var(--blue-soft); color: var(--blue-dark); }
.service-card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.service-card p { color: var(--ink-soft); margin-bottom: var(--sp-5); }
.service-card ul { display: flex; flex-direction: column; gap: 0.6em; margin-bottom: var(--sp-6); }
.service-card li { display: flex; gap: 0.6em; font-size: var(--fs-small); color: var(--ink-soft); }
.service-card li svg { width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: 0.15em; color: var(--teal-dark); }
.service-card .btn--ghost { margin-top: auto; }

.value-card { padding: var(--sp-6); border-radius: var(--radius-m); background: var(--paper); border: 1px solid var(--paper-line); }
.value-card__num { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--gold-text); line-height: 1; margin-bottom: var(--sp-4); }

.check-card { display: flex; gap: var(--sp-4); align-items: flex-start; }
.check-card__icon {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.check-card__icon svg { width: 20px; height: 20px; flex-shrink: 0; }
.check-card h3 { font-size: var(--fs-h5); margin-bottom: var(--sp-2); font-family: var(--font-body); font-weight: 700; }
.check-card p { color: var(--ink-soft); font-size: var(--fs-small); }

.ref-card {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-6);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-m);
  background: var(--white);
  height: 100%;
}
.ref-card__logo { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; color: var(--ink); }
.ref-card__logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.ref-card:hover .ref-card__logo-img { filter: grayscale(0); opacity: 1; }
.ref-card__tag { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-dark); font-weight: 700; }
.ref-card p { color: var(--ink-soft); font-size: var(--fs-small); }

/* FAQ (native details/summary — accessible, no JS needed) */
.faq { border-top: 1px solid var(--paper-line); }
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item summary .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-item summary .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item[open] summary .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item p { padding-bottom: var(--sp-5); color: var(--ink-soft); max-width: 68ch; }

/* Breadcrumb (visible variant for light pages, e.g. inside content) */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5em; align-items: center; font-size: var(--fs-small); color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--blue-dark); }
.breadcrumb svg { width: 0.8em; height: 0.8em; }

/* ---------------------------------------------------------------
   9. LOGO WALL / REFERENCES
------------------------------------------------------------------ */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-wall__item {
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-6) var(--sp-4);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-m);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h5);
  color: var(--ink-soft);
  text-align: center;
  background: var(--white);
  transition: color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.logo-wall__item:hover { color: var(--ink); border-color: var(--teal); transform: translateY(-3px); }
.logo-wall__logo {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.logo-wall__item:hover .logo-wall__logo { filter: grayscale(0); opacity: 1; transform: scale(1.04); }

/* ---------------------------------------------------------------
   10. FORM
------------------------------------------------------------------ */
.form { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.field label { font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.field .hint { font-size: 0.8rem; color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.9em 1.1em;
  border: 1.5px solid var(--paper-line);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: var(--fs-body);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-check { display: flex; align-items: flex-start; gap: 0.7em; font-size: var(--fs-small); color: var(--ink-soft); }
.field-check input { margin-top: 0.3em; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); }
.form-note.is-success { color: var(--ink); font-weight: 600; font-size: var(--fs-small); }
.form-note.is-error { color: #a4312a; font-weight: 600; font-size: var(--fs-small); }
.form button[disabled] { opacity: 0.6; cursor: wait; }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------
   11. FOOTER
------------------------------------------------------------------ */
.site-footer {
  background: var(--deep-950);
  color: var(--on-deep-soft);
  padding-block: var(--sp-9) var(--sp-6);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-7); padding-bottom: var(--sp-8); border-bottom: 1px solid var(--deep-line); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand__mark {
  height: 40px;
  display: inline-block;
  background: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-m);
  margin-bottom: var(--sp-4);
}
.footer-brand p { max-width: 34ch; font-size: var(--fs-small); }
.footer-col h6 { color: var(--white); font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7em; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; font-size: var(--fs-small); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-6); font-size: 0.82rem; color: var(--on-deep-faint); }
.footer-bottom ul { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.footer-badges { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-badges span { font-size: 0.7rem; font-weight: 700; border: 1px solid var(--deep-line); border-radius: var(--radius-pill); padding: 0.35em 0.8em; }

/* ---------------------------------------------------------------
   12. REVEAL ANIMATIONS
------------------------------------------------------------------ */
/* Hidden-until-revealed state applies ONLY once main.js has confirmed it can
   reveal them again (html.js). Without JS (or if it fails to load), content
   stays fully visible by default — animation is a progressive enhancement,
   never a requirement to see the page. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------
   13. DECORATIVE SVG MOTIFS (custom illustration system)
------------------------------------------------------------------ */
.motif-circles { position: absolute; pointer-events: none; opacity: 0.9; }
.figure-frame {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: linear-gradient(155deg, var(--deep-800), var(--deep-950));
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.portrait-frame { aspect-ratio: 4/5; margin: 0; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.portrait-frame__caption {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: var(--sp-7) var(--sp-6) var(--sp-5);
  background: linear-gradient(to top, rgba(8, 30, 34, 0.8), rgba(8, 30, 34, 0));
}
.portrait-frame__quote { font-family: var(--font-display); font-style: italic; font-size: var(--fs-h5); color: var(--white); line-height: 1.2; }
.portrait-frame__name { font-size: var(--fs-small); font-weight: 600; color: var(--white); }
.figure-frame--light { background: linear-gradient(155deg, var(--paper-dim), var(--paper)); }
.figure-frame__caption {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4); right: var(--sp-4);
  font-size: 0.72rem; color: var(--on-deep-faint); font-style: italic;
}

/* ---------------------------------------------------------------
   14. RESPONSIVE TYPE / SECTION ADJUSTMENTS
------------------------------------------------------------------ */
@media (max-width: 700px) {
  .section { padding-block: var(--sp-8); }
  .section--tight { padding-block: var(--sp-6); }
  :root { --container-pad: 1.25rem; }
}

/* Split hero on mobile: stack panel below text, tighten paddings */
@media (max-width: 980px) {
  .hero { padding-bottom: var(--sp-8); }
  .hero__panel { margin-top: var(--sp-6); }
}

/* ---------------------------------------------------------------
   15. HERO LAYERING
------------------------------------------------------------------ */
.hero__inner, .stat-row { position: relative; z-index: 1; }

/* ---------------------------------------------------------------
   16. SCROLL-CHOREOGRAFIE ("So arbeiten wir", Startseite only)
------------------------------------------------------------------ */
.choreo {
  position: relative;
  background: var(--paper);
}
.choreo__track {
  position: relative;
  height: 300vh;
}
.choreo__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.choreo__line {
  position: relative;
}
.choreo__line-fill {
  position: absolute; left: 10px; top: 4px;
  width: 2px;
  background: var(--gold);
  height: 0%;
  transition: height 0.1s linear;
}
.choreo__step {
  position: relative;
  padding-left: 2.75rem;
  padding-bottom: var(--sp-7);
  opacity: 0.32;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.choreo__step::before {
  content: "";
  position: absolute; left: 10px; top: 4px; bottom: -1.5rem; width: 2px;
  background: rgba(10, 36, 41, 0.12);
}
.choreo__step:last-child { padding-bottom: 0; }
.choreo__step:last-child::before { display: none; }
.choreo__step.is-active {
  opacity: 1;
  transform: translateX(0);
}
.choreo__num {
  position: absolute; left: -2.75rem; top: -2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
  background: rgba(10, 36, 41, 0.08); color: var(--ink-soft);
  transition: background-color 0.35s ease, color 0.35s ease;
}
.choreo__step.is-active .choreo__num {
  background: var(--gold); color: var(--deep-950);
}
/* No-JS / reduced-motion fallback: normal stacked list, no pinning */
html:not(.js) .choreo__track,
.choreo__track.is-static {
  height: auto;
}
html:not(.js) .choreo__pin,
.choreo__track.is-static .choreo__pin {
  position: static;
  height: auto;
  display: block;
  padding-block: var(--sp-9);
}
html:not(.js) .choreo__step,
.choreo__track.is-static .choreo__step {
  opacity: 1;
  transform: none;
}
@media (max-width: 980px) {
  .choreo__track,
  .choreo__track.is-static { height: auto; }
  .choreo__pin { position: static; height: auto; display: block; padding-block: var(--sp-8); }
  .choreo__step { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------
   16. MAP CONSENT (2-Klick-Lösung Kontaktseite)
------------------------------------------------------------------ */
.figure-frame:has(> .map-consent) { aspect-ratio: auto !important; }
.map-consent {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-6);
}
.map-consent__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.1; }
.map-consent__text { font-size: var(--fs-small); color: var(--ink-soft); max-width: 48ch; }
.map-consent__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
