/* =========================================================
   Michael Höner — Design System (Foundation CSS)
   Wird vom WordPress-Plugin `mh-design-system` site-weit geladen.
   Fonts werden lokal aus dem Plugin-Ordner geliefert (DSGVO-konform,
   kein Direktzugriff auf Google Fonts).
   ========================================================= */

/* --- Fonts: lokal selbst gehostet (Variable Fonts, latin) -
   Pfade relativ zur CSS-Datei: <plugin-root>/fonts/*.woff2
   ---------------------------------------------------------- */
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens ---------------------------------------------- */
:root {
  --mh-accent:        #005a87;
  --mh-accent-soft:   #005a8714;
  --mh-accent-glow:   #00d4ff;
  --mh-accent-glow-soft: #00d4ff20;
  --mh-dark:          #0a1929;
  --mh-dark-elev:     #0f2540;
  --mh-bg:            #fafaf9;
  --mh-bg-elev:       #ffffff;
  --mh-fg:            #171717;
  --mh-fg-muted:      #525252;
  --mh-fg-soft:       #737373;
  --mh-line:          #e5e5e5;
  --mh-line-soft:     #f1f1f0;

  --mh-radius-sm:     8px;
  --mh-radius-md:     12px;
  --mh-radius-lg:     20px;

  --mh-ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset für eingebettete Sektionen -------------------- */
.mh-scope,
.mh-scope * {
  box-sizing: border-box;
}
.mh-scope {
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--mh-fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Container ------------------------------------------- */
.mh-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 860px) {
  .mh-container { padding: 0 24px; }
}

/* --- Section padding ------------------------------------- */
.mh-section { padding: 128px 0; }
.mh-section--tight { padding: 96px 0; }
.mh-section--first { padding-top: 64px; padding-bottom: 128px; }
@media (max-width: 860px) {
  .mh-section { padding: 80px 0; }
  .mh-section--tight { padding: 64px 0; }
  .mh-section--first { padding-top: 48px; padding-bottom: 80px; }
}

/* --- Eyebrow (Mono-Label mit Akzent-Strich) -------------- */
.mh-eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mh-accent);
  text-transform: uppercase;
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mh-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--mh-accent);
}

/* --- Headlines ------------------------------------------- */
.mh-h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.mh-h1 em { font-style: normal; color: var(--mh-accent); }

.mh-h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}

.mh-h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

/* --- Body text ------------------------------------------- */
.mh-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--mh-fg-muted);
  max-width: 50ch;
  margin: 0 0 32px;
}
.mh-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mh-fg-muted);
  max-width: 65ch;
  margin: 0 0 16px;
}
.mh-mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--mh-fg-soft);
}
.mh-mono--upper { text-transform: uppercase; }

/* --- Buttons --------------------------------------------- */
.mh-btn {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border-radius: var(--mh-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 180ms var(--mh-ease), background 180ms, border-color 180ms, color 180ms;
}
.mh-btn:active { transform: translateY(1px); }
.mh-btn .mh-arrow {
  transition: transform 180ms var(--mh-ease);
  font-family: inherit;
}
.mh-btn:hover .mh-arrow { transform: translateX(2px); }

.mh-btn-primary {
  background: var(--mh-fg);
  color: var(--mh-bg);
}
.mh-btn-primary:hover { background: var(--mh-accent); }

.mh-btn-ghost {
  color: var(--mh-fg);
  border-color: var(--mh-line);
  background: transparent;
}
.mh-btn-ghost:hover { border-color: var(--mh-fg); }

.mh-btn-text {
  color: var(--mh-fg);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 180ms;
}
.mh-btn-text:hover { color: var(--mh-accent); }

/* --- Icons ----------------------------------------------- */
.mh-icon {
  width: 40px;
  height: 40px;
  color: var(--mh-fg);
  display: inline-block;
  flex-shrink: 0;
  transition: color 150ms;
}
.mh-icon svg { width: 100%; height: 100%; display: block; }
.mh-icon--accent { color: var(--mh-accent); }
.mh-icon--lg { width: 56px; height: 56px; }
.mh-icon--sm { width: 28px; height: 28px; }

/* --- Section header pattern ------------------------------ */
.mh-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--mh-line);
}
@media (max-width: 860px) {
  .mh-section-header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
}

/* =========================================================
   MOTION SYSTEM (Level 6: Fluid CSS, Stagger, Scroll-Reveal)
   ========================================================= */

/* --- Hero load-in: spielt nur einmal beim Page-Load ------ */
@keyframes mh-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mh-reveal {
  animation: mh-rise 700ms var(--mh-ease) both;
  will-change: transform, opacity;
}
.mh-reveal:nth-child(1) { animation-delay:  80ms; }
.mh-reveal:nth-child(2) { animation-delay: 180ms; }
.mh-reveal:nth-child(3) { animation-delay: 280ms; }
.mh-reveal:nth-child(4) { animation-delay: 380ms; }
.mh-reveal:nth-child(5) { animation-delay: 480ms; }
.mh-reveal:nth-child(6) { animation-delay: 580ms; }
.mh-reveal:nth-child(7) { animation-delay: 680ms; }

/* Manuelle Stagger-Klassen für nicht-sequentielle DOM-Strukturen */
.mh-reveal--d0 { animation-delay:    0ms !important; }
.mh-reveal--d1 { animation-delay:  50ms !important; }
.mh-reveal--d2 { animation-delay:  100ms !important; }
.mh-reveal--d3 { animation-delay:  150ms !important; }
.mh-reveal--d4 { animation-delay:  200ms !important; }
.mh-reveal--d5 { animation-delay:  250ms !important; }
.mh-reveal--d6 { animation-delay:  300ms !important; }

/* --- Scroll-Reveal: Element erscheint, sobald sichtbar --- */
[data-mh-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--mh-ease), transform 700ms var(--mh-ease);
  will-change: transform, opacity;
}
[data-mh-reveal].is-in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger-Versionen: kindweise Verzögerung, gesteuert per --mh-i Variable im JS */
[data-mh-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--mh-ease), transform 600ms var(--mh-ease);
  transition-delay: calc(var(--mh-i, 0) * 50ms);
  will-change: transform, opacity;
}
[data-mh-reveal-stagger].is-in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Perpetual: dezente Pulsation auf einem Akzent-Element */
@keyframes mh-pulse-soft {
  0%, 100% { transform: scale(1);    opacity: 1;    }
  50%      { transform: scale(1.06); opacity: 0.85; }
}
.mh-pulse-soft {
  animation: mh-pulse-soft 2.4s ease-in-out infinite;
  transform-origin: center;
}

/* --- Hover micro-physics --------------------------------- */
.mh-magnet {
  transition: transform 280ms var(--mh-ease);
}
.mh-magnet:hover { transform: translateY(-1px); }
.mh-magnet:active { transform: translateY(1px); }

/* --- Reduced-Motion Override ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mh-reveal,
  .mh-pulse-soft,
  .mh-magnet,
  [data-mh-reveal],
  [data-mh-reveal-stagger] > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Util ------------------------------------------------ */
.mh-tabular { font-variant-numeric: tabular-nums; }
.mh-divider { border-top: 1px solid var(--mh-line); margin: 48px 0; }


/* =========================================================
   HERO ARCHETYPE D — MONO-NUMERIC
   Verwendung: <section class="mh-scope mh-hero-mono"
       style="--mh-hero-bg:url('/wp-content/uploads/IMG.jpg')">
   Eingesetzt auf: eu-ai-act, dsgvo-nis-2-ai-act, arbeitsweise.
   ========================================================= */
.mh-hero-mono {
  position: relative;
  background: var(--mh-dark);
  color: #fff;
  padding: 32px 32px 96px;
  overflow: hidden;
  isolation: isolate;
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
}
/* Background-Image-Layer (sitzt als Kind-Div im DOM, weil var(url())
   in manchen Browsern instabil ist beim URL-Auflösen). */
.mh-hero-mono__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.32;
  filter: saturate(0.7);
  z-index: 0;
  pointer-events: none;
}
.mh-hero-mono::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(0,212,255,0.18), transparent 60%),
    linear-gradient(180deg, rgba(10,25,41,0.55) 0%, rgba(10,25,41,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.mh-hero-mono__top,
.mh-hero-mono__grid { position: relative; z-index: 2; }
.mh-hero-mono__top {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1320px; width: 100%; margin: 0 auto 64px;
  color: rgba(255,255,255,0.7);
}
.mh-hero-mono__top .mh-mono { font-size: 11px; }
.mh-hero-mono__crumb { display: inline-flex; align-items: center; gap: 12px; }
.mh-hero-mono__crumb-sep { color: rgba(255,255,255,0.3); }
.mh-hero-mono__ref .mh-mono { color: var(--mh-accent-glow); }

.mh-hero-mono__grid {
  max-width: 1320px; width: 100%; margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.mh-hero-mono__main { padding: 24px 0; }
.mh-hero-mono__headline {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 600; line-height: 1.0; letter-spacing: -0.038em;
  margin: 0 0 24px; color: #fff;
  text-wrap: balance;
}
.mh-hero-mono__headline em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(135deg, var(--mh-accent-glow) 0%, #6ce4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mh-hero-mono__lede {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 36px; max-width: 52ch;
}
.mh-hero-mono__lede strong { color: var(--mh-accent-glow); font-weight: 600; }

.mh-hero-mono__stats {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}
.mh-hero-mono__stat strong {
  display: block; font-size: 26px; font-weight: 600;
  color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mh-hero-mono__stat span {
  display: block; font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.04em;
}
.mh-hero-mono__sep { width: 1px; height: 32px; background: rgba(255,255,255,0.12); }

.mh-hero-mono__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mh-hero-mono__btn {
  background: var(--mh-accent-glow); color: var(--mh-dark);
  padding: 6px 6px 6px 22px; border-radius: 999px;
  text-decoration: none; font-size: 14.5px; font-weight: 600;
  display: inline-flex; align-items: center;
  box-shadow: 0 12px 32px -8px rgba(0,212,255,0.35);
  transition: transform 600ms cubic-bezier(0.32,0.72,0,1), box-shadow 400ms;
}
.mh-hero-mono__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(0,212,255,0.18), 0 12px 32px -8px rgba(0,212,255,0.5);
}
.mh-hero-mono__btn-ic {
  background: var(--mh-dark); color: var(--mh-accent-glow);
  width: 30px; height: 30px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 10px;
  transition: transform 600ms cubic-bezier(0.32,0.72,0,1);
}
.mh-hero-mono__btn-ic svg { width: 13px; height: 13px; }
.mh-hero-mono__btn:hover .mh-hero-mono__btn-ic { transform: translate(2px, -1px) scale(1.05); }
.mh-hero-mono__alt {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: color 150ms, border-color 150ms;
}
.mh-hero-mono__alt:hover { color: var(--mh-accent-glow); border-color: var(--mh-accent-glow); }

/* === Mono-Display (Visual-Anchor rechts) === */
.mh-hero-mono__visual { position: relative; }
.mh-hero-mono__display {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-align: right;
}
.mh-hero-mono__display > span {
  display: block;
  font-size: clamp(80px, 11vw, 168px);
}
.mh-hero-mono__display > span:nth-child(1) {
  background: linear-gradient(135deg, rgba(0,212,255,0.55) 0%, rgba(0,212,255,0.10) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mh-hero-mono__display > span:nth-child(2) {
  color: rgba(255,255,255,0.18);
  transform: translateX(-12%);
}
.mh-hero-mono__display > span:nth-child(3) {
  background: linear-gradient(135deg, rgba(255,255,255,0.32) 0%, rgba(0,212,255,0.10) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mh-hero-mono__cap {
  display: block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: right;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 280px; margin-left: auto;
}
@media (max-width: 980px) {
  .mh-hero-mono { padding: 24px 20px 64px; }
  .mh-hero-mono__top { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
  .mh-hero-mono__grid { grid-template-columns: 1fr; gap: 32px; }
  .mh-hero-mono__display { text-align: left; }
  .mh-hero-mono__display > span { font-size: clamp(60px, 18vw, 96px); }
  .mh-hero-mono__display > span:nth-child(2) { transform: none; }
  .mh-hero-mono__cap { margin: 16px 0 0; max-width: none; text-align: left; }
}

/* =========================================================
   REUSABLE BLOCK COMPONENTS (Refactor Mai 2026)
   Diese Klassen werden auf mehreren Seiten verwendet und
   wurden aus den per-page <style>-Blöcken extrahiert.
   ========================================================= */

/* --- Section Header (Apple-Stage) ----------------------- */
.mh-its-h { max-width: 720px; margin: 0 0 64px; }
.mh-its-h__title { font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 24px; color: var(--mh-fg); text-wrap: balance; }
.mh-its-h__title em { font-style: italic; color: var(--mh-accent); font-weight: 600; }
.mh-its-h__lede { font-size: 17px; line-height: 1.55; color: var(--mh-fg-muted); margin: 0; max-width: 60ch; }

/* --- Pill (Eyebrow) ------------------------------------- */
.mh-eua-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--mh-bg-elev); border: 1px solid #00000010; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 32px -16px rgba(0,0,0,0.08); }
.mh-eua-pill span:not(.mh-eua-pill__dot) { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mh-fg-muted); font-weight: 500; }
.mh-eua-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mh-accent); box-shadow: 0 0 8px rgba(0,90,135,0.4); animation: mh-pulse-soft 2.4s ease-in-out infinite; }
.mh-eua-pill__dot--warn { background: #ff6b6b; box-shadow: 0 0 12px rgba(255,107,107,0.6); }
.mh-eua-pill--inverse { background: rgba(0,212,255,0.10); border-color: rgba(0,212,255,0.25); box-shadow: 0 0 0 1px rgba(0,212,255,0.08) inset; }
.mh-eua-pill--inverse span:not(.mh-eua-pill__dot) { color: var(--mh-accent-glow); }
.mh-eua-pill--inverse .mh-eua-pill__dot { background: var(--mh-accent-glow); box-shadow: 0 0 12px rgba(0,212,255,0.7); }

/* --- Anti-Pattern Block (Häufige Fehler) ---------------- */
.mh-tri-mistakes { padding: 128px 32px; }
.mh-tri-mistakes__list { display: flex; flex-direction: column; gap: 16px; max-width: 1100px; }
.mh-tri-mistake { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; padding: 28px 32px; background: #fff; border: 1px solid #00000010; border-left: 3px solid #ff6b6b; border-radius: 16px; box-shadow: 0 30px 60px -40px rgba(15,30,55,0.10); }
.mh-tri-mistake__sign { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,107,107,0.10); color: #ff6b6b; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; line-height: 1; }
.mh-tri-mistake h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 8px; color: var(--mh-fg); }
.mh-tri-mistake p { font-size: 15px; line-height: 1.6; color: var(--mh-fg-muted); margin: 0; max-width: 70ch; }
@media (max-width: 700px) {
  .mh-tri-mistakes { padding: 72px 20px; }
  .mh-tri-mistake { grid-template-columns: 1fr; padding: 24px; }
}

/* --- Pro/Contra Pair ------------------------------------ */
.mh-kiv-fit__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.mh-kiv-fit__col { background: #fff; border: 1px solid #00000010; border-radius: 20px; padding: 36px; box-shadow: 0 30px 80px -40px rgba(15,30,55,0.18); }
.mh-kiv-fit__col--yes { background: linear-gradient(180deg, rgba(0,212,255,0.04) 0%, transparent 60%), #fff; }
.mh-kiv-fit__col header { margin-bottom: 24px; }
.mh-kiv-fit__tag { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.mh-kiv-fit__tag--yes { background: var(--mh-accent); color: #fff; }
.mh-kiv-fit__tag--no { background: #00000008; color: var(--mh-fg-muted); }
.mh-kiv-fit__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mh-kiv-fit__col li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--mh-fg); }
.mh-kiv-fit__col--no li { color: var(--mh-fg-muted); }
.mh-kiv-fit__col li a { color: var(--mh-accent); }
.mh-kiv-fit__sign { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 18px; line-height: 1; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; font-weight: 500; }
.mh-kiv-fit__sign--yes { background: var(--mh-accent); color: #fff; }
.mh-kiv-fit__sign--no { background: transparent; color: var(--mh-fg-soft); border: 1px solid var(--mh-line); }
@media (max-width: 1100px) { .mh-kiv-fit__grid { grid-template-columns: 1fr; } }

/* --- FAQ Akkordeon (High-End Polish) -------------------- */
/*  Section mit subtilem Cyan-Spotlight, Items mit Top-Hairline,
    Lift-on-Hover, Open-State mit Gradient-BG + Akzent-Halo,
    SVG-Bar Plus→× Animation, Answer-Fade-In.
    Klassennamen unverändert — kein HTML-Eingriff nötig. */
.mh-tri-faq {
  padding: 128px 32px;
  background: linear-gradient(180deg, #f7f7f5 0%, var(--mh-bg) 100%);
  position: relative;
  overflow: hidden;
}
.mh-tri-faq::before {
  content: "";
  position: absolute;
  top: 20%; left: 50%;
  width: 70%; height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.06) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.mh-tri-faq > * { position: relative; z-index: 1; }

.mh-eua-faq__list {
  display: flex; flex-direction: column;
  gap: 12px;
  max-width: 1000px;
}

.mh-eua-faq__item {
  position: relative;
  background: #fff;
  border: 1px solid #00000010;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px -16px rgba(15,30,55,0.06);
  transition:
    border-color 150ms cubic-bezier(0.32,0.72,0,1),
    box-shadow  420ms cubic-bezier(0.32,0.72,0,1),
    transform   420ms cubic-bezier(0.32,0.72,0,1),
    background  320ms cubic-bezier(0.32,0.72,0,1);
}

/* Hover (idle, nicht open) */
.mh-eua-faq__item:not([open]):hover {
  border-color: rgba(0,90,135,0.22);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 16px 40px -20px rgba(0,90,135,0.18),
    0 0 0 4px rgba(0,212,255,0.06);
}

/* Open-State: Gradient-BG, Akzent-Halo, Specular-Top-Hairline */
.mh-eua-faq__item[open] {
  border-color: rgba(0,90,135,0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f4faff 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 30px 70px -28px rgba(0,90,135,0.22),
    0 0 0 1px rgba(0,212,255,0.18) inset,
    0 0 0 6px rgba(0,212,255,0.05);
}
.mh-eua-faq__item[open]::before {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,255,0.55) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.mh-eua-faq__item summary {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 20px;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.mh-eua-faq__item summary::-webkit-details-marker { display: none; }
.mh-eua-faq__item summary::marker { content: ""; }

/* Number-Badge — Idle/Open mit Gradient + Halo */
.mh-eua-faq__num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mh-fg-soft);
  background: #00000005;
  padding: 5px 10px;
  border-radius: 6px;
  text-align: center;
  transition:
    transform 380ms cubic-bezier(0.32,0.72,0,1),
    background 320ms cubic-bezier(0.32,0.72,0,1),
    color 150ms,
    box-shadow 380ms cubic-bezier(0.32,0.72,0,1);
}
.mh-eua-faq__item[open] .mh-eua-faq__num {
  background: linear-gradient(180deg, var(--mh-accent) 0%, #004870 100%);
  color: #fff;
  transform: scale(1.04);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 4px 14px -2px rgba(0,212,255,0.45);
}

.mh-eua-faq__q {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--mh-fg);
  line-height: 1.3;
  text-wrap: balance;
  transition: color 150ms;
}
.mh-eua-faq__item[open] .mh-eua-faq__q { color: var(--mh-accent); }

/* SVG-Bar Plus → × — zwei Pseudos statt rotierter Glyph */
.mh-eua-faq__icon {
  position: relative;
  width: 24px; height: 24px;
  justify-self: end;
  font-size: 0;        /* versteckt den +-Glyph */
  color: transparent;
  line-height: 1;
}
.mh-eua-faq__icon::before,
.mh-eua-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.6px;
  border-radius: 2px;
  background: var(--mh-fg-soft);
  transform: translate(-50%, -50%);
  transition:
    transform 420ms cubic-bezier(0.32,0.72,0,1),
    background 280ms;
}
.mh-eua-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.mh-eua-faq__item:hover .mh-eua-faq__icon::before,
.mh-eua-faq__item:hover .mh-eua-faq__icon::after {
  background: var(--mh-accent);
}
.mh-eua-faq__item[open] .mh-eua-faq__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--mh-accent);
}
.mh-eua-faq__item[open] .mh-eua-faq__icon::after {
  transform: translate(-50%, -50%) rotate(135deg);
  background: var(--mh-accent);
}

/* Answer-Container + Fade-In on Open */
.mh-eua-faq__a { padding: 0 28px 24px 104px; }
.mh-eua-faq__a p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mh-fg-muted);
  margin: 0;
  max-width: 70ch;
  text-wrap: pretty;
}
.mh-eua-faq__a a {
  color: var(--mh-accent);
  border-bottom: 1px solid currentColor;
  transition: color 150ms;
}
.mh-eua-faq__a a:hover { color: var(--mh-accent-glow); }
.mh-eua-faq__item[open] .mh-eua-faq__a {
  animation: mh-faq-fade-in 420ms cubic-bezier(0.32,0.72,0,1) both;
}
@keyframes mh-faq-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progressive Enhancement: native height-Animation für <details>
   in modernen Browsern (Chromium 129+, Safari 18.2+) */
@supports (interpolate-size: allow-keywords) {
  .mh-eua-faq__list { interpolate-size: allow-keywords; }
  .mh-eua-faq__item::details-content {
    height: 0;
    overflow: clip;
    opacity: 0;
    transition:
      height 420ms cubic-bezier(0.32,0.72,0,1),
      content-visibility 420ms allow-discrete,
      opacity 320ms cubic-bezier(0.32,0.72,0,1);
  }
  .mh-eua-faq__item[open]::details-content {
    height: auto;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-eua-faq__item,
  .mh-eua-faq__num,
  .mh-eua-faq__icon::before,
  .mh-eua-faq__icon::after { transition: none !important; }
  .mh-eua-faq__item[open] .mh-eua-faq__a { animation: none; }
}

@media (max-width: 700px) {
  .mh-tri-faq { padding: 72px 20px; }
  .mh-eua-faq__item summary { grid-template-columns: auto 1fr 24px; padding: 18px 20px; gap: 12px; }
  .mh-eua-faq__a { padding: 0 20px 20px 20px; }
  .mh-eua-faq__item[open]::before { left: 8%; right: 8%; }
}

/* --- Closing CTA Akzent-Bezel (High-End Polish) -------- */
/*  Mehrschicht-Lichtsystem: Off-Card Halo (atmend) + Card-Specular-Top-Edge
    + Conic-Gradient-Sheen-Ring + zwei Radial-Light-Sources + Layered Pill +
    Glow-Ring beim Button-Hover. Klassennamen unverändert. */
.mh-eua-cta {
  padding: 96px 32px 128px;
  background: var(--mh-bg);
  position: relative;
  overflow: hidden;
}
/* Off-Card Atemglow — sitzt hinter der Card, weichgezeichnet */
.mh-eua-cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(960px, 92%); height: 72%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.22) 0%, rgba(0,90,135,0.10) 38%, transparent 75%);
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
  animation: mh-cta-halo-breathe 9s ease-in-out infinite;
}
@keyframes mh-cta-halo-breathe {
  0%, 100% { opacity: 0.78; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1.00; transform: translate(-50%, -50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .mh-eua-cta::before { animation: none; opacity: 0.85; }
}

.mh-eua-cta__card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 0%,    rgba(0,212,255,0.20), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(0,212,255,0.10), transparent 65%),
    linear-gradient(135deg, #002a3e 0%, #005a87 55%, #006fa3 100%);
  box-shadow:
    0 60px 120px -40px rgba(0,90,135,0.55),
    0 30px 60px  -30px rgba(0,212,255,0.22),
    0 0 0 1px rgba(0,212,255,0.20) inset;
}
/* Specular-Hairline am oberen Rand — DAS High-End-Detail */
.mh-eua-cta__card::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}
/* Conic-Gradient-Sheen-Ring (sehr subtil) */
.mh-eua-cta__card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 220deg at 50% 50%,
    transparent 0deg,
    rgba(0,212,255,0.45) 90deg,
    transparent 180deg,
    rgba(0,212,255,0.18) 270deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
  z-index: 2;
}
.mh-eua-cta__inner { padding: 88px 72px 80px; text-align: center; position: relative; z-index: 4; }

/* Pill mit kristalliner Tiefe + animierter Live-Dot */
.mh-eua-cta__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10) inset, 0 1px 0 rgba(255,255,255,0.14) inset;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mh-eua-cta__pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mh-accent-glow);
  box-shadow: 0 0 8px rgba(0,212,255,0.7);
  animation: mh-pulse-soft 2.4s ease-in-out infinite;
}
.mh-eua-cta__pill span {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; font-weight: 500;
}

.mh-eua-cta__title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.034em;
  color: #fff;
  margin: 0 auto 28px; max-width: 22ch;
  text-wrap: balance;
}
.mh-eua-cta__title em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(135deg, var(--mh-accent-glow) 0%, #6ce4ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.mh-eua-cta__sub {
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 auto 52px; max-width: 50ch;
  text-wrap: pretty;
}

.mh-eua-cta__actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Primary-Button — geschichtetes Pill mit glühendem Inner-Circle */
.mh-eua-cta__btn {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f7 100%);
  color: var(--mh-fg);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 0 0 1px rgba(0,0,0,0.06),
    0 12px 30px -10px rgba(0,0,0,0.35);
  transition:
    transform 600ms cubic-bezier(0.32,0.72,0,1),
    box-shadow 600ms cubic-bezier(0.32,0.72,0,1);
}
.mh-eua-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 0 0 1px rgba(0,0,0,0.06),
    0 18px 40px -10px rgba(0,0,0,0.45),
    0 0 0 6px rgba(0,212,255,0.15);
}
.mh-eua-cta__btn-icon {
  position: relative;
  background: linear-gradient(180deg, var(--mh-accent) 0%, #004870 100%);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 4px 12px -2px rgba(0,90,135,0.5);
  transition:
    transform 600ms cubic-bezier(0.32,0.72,0,1),
    box-shadow 600ms cubic-bezier(0.32,0.72,0,1);
}
.mh-eua-cta__btn-icon::before {
  content: "";
  position: absolute; inset: -3px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(0,212,255,0.55) 0%, transparent 70%);
  opacity: 0;
  z-index: -1;
  transition: opacity 600ms cubic-bezier(0.32,0.72,0,1);
}
.mh-eua-cta__btn-icon svg {
  width: 13px; height: 13px;
  transition: transform 600ms cubic-bezier(0.32,0.72,0,1);
}
.mh-eua-cta__btn:hover .mh-eua-cta__btn-icon {
  transform: translate(2px, -1px) scale(1.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 6px 18px -2px rgba(0,212,255,0.5);
}
.mh-eua-cta__btn:hover .mh-eua-cta__btn-icon::before { opacity: 1; }
.mh-eua-cta__btn:hover .mh-eua-cta__btn-icon svg { transform: translateX(1px); }

/* Alt-Link mit eleganter Underline-Transition */
.mh-eua-cta__alt {
  position: relative;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 4px;
  transition: color 150ms cubic-bezier(0.32,0.72,0,1);
}
.mh-eua-cta__alt::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 8px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  transform-origin: left;
  transition:
    transform 600ms cubic-bezier(0.32,0.72,0,1),
    background 280ms,
    box-shadow 280ms;
}
.mh-eua-cta__alt:hover { color: #fff; }
.mh-eua-cta__alt:hover::after {
  background: var(--mh-accent-glow);
  transform: scaleX(1.04);
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
}

@media (max-width: 700px) {
  .mh-eua-cta { padding: 64px 20px 96px; }
  .mh-eua-cta__inner { padding: 64px 28px 56px; }
  .mh-eua-cta__card::before { left: 6%; right: 6%; }
  .mh-eua-cta__actions { flex-direction: column; gap: 16px; }
}
