/* Nexym – Geteiltes Stylesheet (Tokens, Reset, Utilities, Header, Footer, Reveal).
   Seitenspezifisches CSS liegt weiterhin inline je Seite. Pfade self-hosted, keine Fremd-Calls. */

/* === Lokale Fonts (DSGVO: keine Google-Fonts-Anfragen) === */
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/exo-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/exo-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/exo-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/exo-v20-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/exo-v20-latin-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/exo-v20-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/crimson-pro-v24-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/crimson-pro-v24-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/crimson-pro-v24-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-v18-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-v18-latin-500.woff2') format('woff2');
}

    /* === DESIGN TOKENS === */
    :root {
      --color-brand:      #5cb8d4;
      --color-brand-dark: #3a9ab8;
      --font-display: 'Exo', sans-serif;
      --font-serif:   'Crimson Pro', serif;
      --font-mono:    'JetBrains Mono', monospace;
      --radius:       8px;
      --space-section: 6rem;
      --transition:   0.22s ease;
    }
    /* Dark theme (default) — WCAG checked:
       #5cb8d4 on #090912 → ~9:1 AAA
       #ede8df on #090912 → ~17:1 AAA */
    [data-theme="dark"] {
      --color-bg:        #090912;
      --color-surface:   #15151f;
      --color-surface2:  #13131f;
      --color-border:    #1e1e30;
      --color-text:      #ede8df;
      --color-muted:     #8a8799;
      --color-cta-bg:    #5cb8d4;
      --color-cta-text:  #090912;
    }
    /* Light theme — WCAG AA checked on #ffffff:
       #0d1117 → ~19.8:1 AAA | #52505e → ~7.8:1 AAA
       #0a6e94 → ~5.6:1 AA  | #fff on #0a6e94 → ~5.0:1 AA */
    [data-theme="light"] {
      --color-bg:        #ffffff;
      --color-surface:   #f4f4f5;
      --color-surface2:  #e9e9eb;
      --color-border:    #d1d1d4;
      --color-text:      #0d1117;
      --color-muted:     #52505e;
      --color-brand:     #0a6e94;
      --color-cta-bg:    #0a6e94;
      --color-cta-text:  #ffffff;
    }

    /* === RESET === */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; scrollbar-gutter: stable; }
    body {
      font-family: var(--font-display);
      background: var(--color-bg);
      color: var(--color-text);
      line-height: 1.6;
      transition: background var(--transition), color var(--transition);
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; }

    /* === UTILITIES === */
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

    .btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.875rem 1.75rem; border-radius: var(--radius);
      font-family: var(--font-display); font-weight: 600; font-size: 1rem;
      cursor: pointer; border: none; transition: all var(--transition);
      min-height: 44px; text-decoration: none;
    }
    .btn-primary { background: var(--color-cta-bg); color: var(--color-cta-text); }
    .btn-primary:hover { background: var(--color-brand-dark); transform: translateY(-1px); }
    .btn-outline { background: transparent; color: var(--color-brand); border: 1.5px solid var(--color-brand); }
    .btn-outline:hover { background: var(--color-brand); color: var(--color-cta-text); }

    .tag {
      font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--color-brand);
    }

    /* === LANGUAGE SWITCH === */

    /* === HEADER === */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      padding: 0.875rem 0;
      background: var(--color-bg);
      border-bottom: 1px solid var(--color-border);
      transition: background var(--transition), border-color var(--transition);
    }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .nav-brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
    .nav-mark { height: 48px; width: 48px; flex-shrink: 0; }
    .nav-wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
    .nav-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--color-text); letter-spacing: -0.02em; }
    .nav-tagline { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--color-muted); text-transform: uppercase; margin-top: 0.3rem; }
    /* Auf sehr schmalen Viewports nur die Wortmarke "Nexym" zeigen, Tagline weg. */
    @media (max-width: 419px) { .nav-tagline { display: none; } }

    .nav-links { display: none; list-style: none; gap: 2rem; align-items: center; }
    .nav-links a { font-weight: 500; font-size: 0.875rem; color: var(--color-muted); transition: color var(--transition); }
    .nav-links a:hover, .nav-links a.active { color: var(--color-text); }
    .nav-links a.active { position: relative; }
    .nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-brand); }

    .nav-right { display: flex; align-items: center; gap: 0.625rem; }

    .icon-btn {
      width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
      background: var(--color-surface); border: 1px solid var(--color-border);
      border-radius: var(--radius); cursor: pointer; color: var(--color-muted);
      transition: all var(--transition); flex-shrink: 0;
    }
    .icon-btn:hover { color: var(--color-brand); border-color: var(--color-brand); }
    .icon-btn svg { width: 18px; height: 18px; }

    .lang-btn {
      font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
      padding: 0 0.75rem; background: var(--color-surface); border: 1px solid var(--color-border);
      border-radius: 4px; cursor: pointer; color: var(--color-muted); text-decoration: none;
      transition: all var(--transition); height: 44px; display: flex; align-items: center;
    }
    .lang-btn:hover { color: var(--color-brand); border-color: var(--color-brand); }

    .hamburger { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
    .hamburger span { display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--transition); }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    #nav-cta { display: none; }

    .mobile-menu {
      display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
      background: var(--color-bg); z-index: 999; padding: 1.5rem;
      flex-direction: column; gap: 0; border-top: 1px solid var(--color-border);
      transition: background var(--transition);
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { font-size: 1.2rem; font-weight: 600; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
    .mobile-menu .btn-primary { margin-top: 1.5rem; justify-content: center; }

    @media (min-width: 960px) {
      .nav-links { display: flex; }
      .hamburger { display: none; }
    }

/* === FOOTER === */
    footer { border-top: 1px solid var(--color-border); padding: 3rem 0 2rem; transition: background var(--transition); }
    .footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
    @media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
    .footer-brand { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
    .footer-mark { height: 32px; width: 32px; }
    .footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--color-text); letter-spacing: -0.02em; }
    .footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; color: var(--color-muted); margin-top: 0.75rem; }
    .footer-contact { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
    .footer-contact a { font-size: 0.875rem; color: var(--color-brand); transition: color var(--transition); }
    .footer-contact a:hover { text-decoration: underline; }
    .footer-contact span { font-size: 0.875rem; color: var(--color-muted); }
    .footer-col-head { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); margin-bottom: 1rem; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
    .footer-links a { font-size: 0.875rem; color: var(--color-muted); transition: color var(--transition); }
    .footer-links a:hover { color: var(--color-brand); }
    .footer-bottom { padding-top: 2rem; border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.78rem; color: var(--color-muted); font-family: var(--font-mono); }
    .footer-legal { display: flex; gap: 1.5rem; }
    .footer-legal a { color: var(--color-muted); transition: color var(--transition); }
    .footer-legal a:hover { color: var(--color-brand); }

/* === STICKY MOBILE CTA (geteilt; nur < 960px sichtbar) ===
   HTML (der <a class="sticky-cta"> mit seitenspezifischem Text/Ziel) bleibt pro Seite. */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--color-cta-bg); display: flex; align-items: center;
  justify-content: center; gap: 0.75rem; padding: 0.9rem 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--color-cta-text); text-decoration: none;
  transition: background var(--transition);
  box-shadow: 0 -8px 20px rgba(0,0,0,0.25);
}
.sticky-cta:hover { background: var(--color-brand-dark); }
@media (min-width: 960px) { .sticky-cta { display: none; } }
/* Footer-Freiraum unter der fixen Sticky-CTA, damit sie die Pflichtlinks
   (Impressum/Datenschutz) im Footer nicht überdeckt. Nur auf Seiten MIT
   Sticky-CTA und nur im Sticky-Breakpoint (< 960px). Ersetzt die früheren
   pro-Seite-Inline-Overrides (zentralisiert, Regel 1). */
@media (max-width: 959px) {
  body:has(.sticky-cta) footer { padding-bottom: 5.5rem; }
}

/* === REVEAL-ON-SCROLL (generisch, opt-in via [data-reveal] / [data-reveal-group]) ===
   .reveal wird per JS gesetzt; ohne JS bleibt alles sichtbar. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }
}

/* === MEDIA-FADE (generisch, opt-in via .media-fade) ===
   Hintergrundbild oben in einem Container, das nach unten in --color-bg ausfadet.
   Die Seite reicht ihr Bild per --media-fade-img (image-set) rein und kann
   --media-fade-h (Fade-Höhe) und --media-fade-pos (Bildfokus) pro Seite überschreiben.
   Erwartet ein direktes .container-Kind, das über das Bild gehoben wird. */
[data-theme="dark"]  { --media-tint: rgba(9, 9, 18, 0.38); }
/* Light: Weiß-Tint hellt das dunkle Foto auf, damit dunkler Text lesbar bleibt */
[data-theme="light"] { --media-tint: rgba(255, 255, 255, 0.62); }
.media-fade { position: relative; overflow: hidden; }
.media-fade::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--media-fade-h, clamp(300px, 42vw, 520px));
  z-index: 0;
  background-image:
    linear-gradient(to bottom, var(--media-tint) 0%, var(--color-bg) 100%),
    var(--media-fade-img, none);
  background-size: cover;
  background-position: var(--media-fade-pos, center 30%);
  background-repeat: no-repeat;
  pointer-events: none;
}
.media-fade > .container { position: relative; z-index: 1; }

/* === WHY NEXYM: Sechs Versprechen (Speichenrad) ===
   Geteilt seit der Auslagerung 2026-06-07 (vorher inline auf index/en-index).
   Im Einsatz auf index/en-index und ueber-uns/about (jeweils <section class="promise-section">).
   Mobile-Default UND No-JS: gestapelte Karten-Liste. Das Rad (SVG-Deko + Nabe +
   absolute Kartenposition) aktiviert nexym.js per Klasse .wheel--active ab >=1080px;
   das 1480x700-Canvas skaliert dann auf die Container-Breite (ResizeObserver in nexym.js).
   Der Section-Hintergrund haengt an der Klasse .promise-section (nicht an einer ID),
   damit beide Seiten dieselbe Regel teilen. */
.promise-section { background: var(--color-bg); transition: background var(--transition); }
.wheel { position: relative; }
.wheel-svg, .wheel-hub { display: none; }
.promise-list { display: flex; flex-direction: column; gap: 1.25rem; }
.promise {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  transition: background var(--transition), border-color var(--transition);
}
.promise-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: var(--seg, var(--color-brand));
}
.promise-icon svg { width: 26px; height: 26px; }
.promise-body { min-width: 0; }
.promise-num {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--color-brand); margin-bottom: 0.3rem;
}
.promise-title { font-size: 1.05rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.4rem; }
.promise-desc { font-size: 0.9rem; color: var(--color-muted); line-height: 1.6; }

/* Desktop + JS aktiv: volles Speichenrad */
@media (min-width: 1080px) {
  .wheel--active { position: relative; }
  .wheel--active .wheel-canvas {
    position: absolute; top: 0; left: 0;
    width: 1480px; height: 700px; transform-origin: top left;
    /* transform: scale(...) + Wheel-Hoehe setzt das JS */
  }
  .wheel--active .wheel-svg {
    display: block; position: absolute; inset: 0;
    width: 1480px; height: 700px; overflow: visible;
  }
  .wheel--active .wheel-svg circle, .wheel--active .wheel-svg path,
  .wheel--active .wheel-svg line { transition: fill var(--transition), stroke var(--transition); }
  .wheel--active .wheel-hub {
    display: block; position: absolute; left: 740px; top: 350px;
    transform: translate(-50%, -50%); width: 220px; text-align: center; z-index: 3;
  }
  .wheel--active .wheel-hub img { width: 56px; height: auto; display: block; margin: 0 auto 0.85rem; opacity: 0.95; }
  .wheel--active .wheel-hub .hub-eyebrow {
    font-family: var(--font-serif); font-style: italic; font-size: 0.85rem;
    letter-spacing: 0.42em; text-transform: uppercase; color: var(--color-brand);
  }
  .wheel--active .promise-list { display: contents; }
  /* Ruhezustand: schmale Karte – nur Icon/Nummer/Ueberschrift sichtbar.
     Hoehe 104px == JS-Konstante CARD_H (Karte wird auf ihren dockY zentriert). */
  .wheel--active .promise {
    position: absolute; width: 450px; height: 104px; gap: 0; padding: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: 999px;
    overflow: hidden; align-items: stretch; cursor: pointer;
    box-shadow: 0 18px 42px -28px rgba(0,0,0,0.85);
    /* transform: none ist der Ruhezustand, von dem aus der Hover-/is-open-Lift
       (translateY) transitioniert. Das Einblenden des Rads kommt als Block-Fade
       vom Eltern-.wheel (data-reveal), nicht mehr per Karte. */
    transform: none;
    transition:
      transform var(--transition),
      border-color var(--transition),
      box-shadow var(--transition);
    z-index: 2;
  }
  .wheel--active .promise:hover,
  .wheel--active .promise:focus-visible,
  .wheel--active .promise.is-open {
    transform: translateY(-2px);
    border-color: var(--seg, var(--color-brand));
    box-shadow: 0 24px 52px -26px rgba(0,0,0,0.9), 0 0 0 1.5px var(--seg, var(--color-brand));
    outline: none;
  }
  .wheel--active .promise-icon { flex: 0 0 104px; width: 104px; height: auto; border-radius: 0; }
  .wheel--active .promise-icon svg { width: 42px; height: 42px; }
  .wheel--active .promise-body {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    min-width: 0; padding: 0 1.6rem;
  }
  .wheel--active .promise-num {
    font-family: var(--font-serif); font-style: italic; font-weight: 300;
    font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 0.3rem;
  }
  .wheel--active .promise-title {
    font-size: 1.18rem; font-weight: 400; line-height: 1.25; margin-bottom: 0;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  }
  /* Volltext im Rad ausgeblendet (bleibt im HTML fuer SEO/No-JS/Stapel-Ansicht). */
  .wheel--active .promise-desc { display: none; }
  /* Linke Karten: Icon zur Nabe (rechts), Text linksbuendig */
  .wheel--active .promise[data-side="left"] { flex-direction: row-reverse; }
  .wheel--active .promise[data-side="left"] .promise-body { text-align: left; align-items: flex-start; padding: 0 1.5rem 0 2.6rem; }
  /* Rechte Karten: Icon zur Nabe (links), Text rechtsbuendig */
  .wheel--active .promise[data-side="right"] .promise-body { text-align: right; align-items: flex-end; padding: 0 2.6rem 0 1.5rem; }
}

/* Klick-Overlay (Popover) fuer das Desktop-Rad. Lebt ausserhalb des
   skalierten .wheel-canvas -> echte Pixelgroesse, nicht mitskaliert.
   Standardmaessig per [hidden] aus; nur per JS (>=1080px) eingeblendet. */
.promise-pop {
  position: absolute; z-index: 50; box-sizing: border-box;
  width: min(400px, 92vw); max-width: 400px;
  background: var(--color-surface); color: var(--color-text);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--pop-seg, var(--color-brand));
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -22px rgba(0,0,0,0.82);
  padding: 1.35rem 1.5rem 1.45rem;
  opacity: 0; transform: translateY(6px) scale(0.985);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.promise-pop.is-shown { opacity: 1; transform: none; }
.promise-pop[hidden] { display: none; }
.promise-pop-close {
  position: absolute; top: 0.45rem; right: 0.5rem;
  width: 30px; height: 30px; display: grid; place-items: center;
  border: none; background: transparent; color: var(--color-muted);
  font-size: 1.25rem; line-height: 1; cursor: pointer; border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.promise-pop-close:hover, .promise-pop-close:focus-visible {
  color: var(--color-text); background: var(--color-surface2); outline: none;
}
.promise-pop-num {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.12em;
  color: var(--pop-seg, var(--color-brand)); margin-bottom: 0.5rem;
}
.promise-pop-title {
  font-size: 1.12rem; font-weight: 700; line-height: 1.3;
  margin-bottom: 0.55rem; padding-right: 1.5rem;
}
.promise-pop-desc { font-size: 0.92rem; color: var(--color-muted); line-height: 1.65; }
@media (prefers-reduced-motion: reduce) {
  .promise-pop { transition: none; }
  .wheel--active .promise { transition: border-color var(--transition), box-shadow var(--transition); }
}

/* === Promise-Karten als Inline-Akkordeon im Stapel-Modus (< 1080px) ===
   Greift NUR, wenn nexym.js die Klasse .js-accordion am Section gesetzt hat
   (Progressive Enhancement: ohne JS bleibt .promise-desc sichtbar, voller Text).
   Chevron (.promise-chevron) und der animierbare Wrapper (.pd-wrap) werden vom JS
   injiziert; das Markup der vier Seiten bleibt unangetastet. Ab >=1080px gilt
   weiter der Rad-/Popover-Modus oben — diese Regeln sind daunter media-gegated. */
.promise-chevron { display: none; }

@media (max-width: 1079.98px) {
  .promise-section.js-accordion .promise {
    cursor: pointer; padding: 1.15rem 1.35rem; align-items: flex-start;
  }
  .promise-section.js-accordion .promise-body { flex: 1 1 auto; min-width: 0; }
  .promise-section.js-accordion .promise-num { margin-bottom: 0.25rem; }
  .promise-section.js-accordion .promise-title { margin-bottom: 0; }
  /* Volltext kollabiert ueber den grid-template-rows 0fr->1fr-Trick:
     animiert sauber bei variabler Texthoehe und schneidet nichts ab (1fr = volle Hoehe). */
  .promise-section.js-accordion .pd-wrap {
    display: grid; grid-template-rows: minmax(0, 0fr);
    transition: grid-template-rows 0.3s ease;
  }
  /* minmax(0, …) zwingt die Track-Mindesthoehe auf 0, damit das padding-top des
     Volltexts im kollabierten Zustand nicht durchschlaegt (sonst bliebe ein
     Rest-Streifen sichtbar) – offen liefert es den Abstand zum Titel. */
  .promise-section.js-accordion .pd-wrap > .promise-desc {
    overflow: hidden; min-height: 0; padding-top: 0.55rem; margin: 0;
  }
  .promise-section.js-accordion .promise.is-expanded .pd-wrap { grid-template-rows: minmax(0, 1fr); }
  /* Chevron rechts in der Karte, dreht beim Oeffnen */
  .promise-section.js-accordion .promise-chevron {
    display: block; flex: 0 0 auto; align-self: flex-start; margin-top: 0.35rem;
    color: var(--color-muted); line-height: 0;
    transition: transform 0.3s ease, color var(--transition);
  }
  .promise-section.js-accordion .promise-chevron svg { width: 20px; height: 20px; display: block; }
  .promise-section.js-accordion .promise.is-expanded .promise-chevron {
    transform: rotate(180deg); color: var(--color-brand);
  }
  .promise-section.js-accordion .promise:focus-visible {
    outline: 2px solid var(--color-brand); outline-offset: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promise-section.js-accordion .pd-wrap { transition: none; }
  .promise-section.js-accordion .promise-chevron { transition: none; }
}
