/* js/seiten/evex.css — Vorlage „evex" (eigenständiges Co-Branding-Design, Vorbild evex-group.com).
   Gleiche Baustein-Struktur wie „kampagne" (siehe kampagne.css), eigenes visuelles Kleid:
   dunkler Verlauf zu Grün im Hero, durchgehend dunkle Kopfzeile, fette Versal-Headlines, Korall als Zweitakzent.
   Alles unter .e-seite; Hauptfarbe kommt aus --e-akzent (Marke.farbe, Standard evex-Grün). */
.e-seite {
  --dunkel: #120A33; --dunkel-2: #1E1640; --schwarz: #0E0F11; --korall: #FF4649; --paper: #F6F7F9; --ink: #16181C; --muted: #52575E;
  --on-dark: #F4F6F9; --on-dark-2: #C6CBD4; --on-dark-3: #9AA0AA; --line: rgba(14,15,17,.10);
  --e-hell: color-mix(in srgb, var(--e-akzent) 24%, #fff); --e-papier: color-mix(in srgb, var(--e-akzent) 5%, #fff);
  --e-dunkel: color-mix(in srgb, var(--e-akzent) 75%, #000);
  --r-lg: 24px; --r-md: 16px; --r-sm: 12px;
  --head: 'Helvetica Neue', Arial, system-ui, -apple-system, sans-serif; --body: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; --gutter: 20px;
  font-family: var(--body); color: var(--ink); background: var(--e-papier); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.e-seite *, .e-seite *::before, .e-seite *::after { box-sizing: border-box; }
.e-seite img, .e-seite svg { display: block; max-width: 100%; }
.e-seite a { color: inherit; text-decoration: none; }
.e-seite h1, .e-seite h2, .e-seite h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1.04; text-wrap: balance; letter-spacing: -.01em; margin: 0; }
.e-seite p { margin: 0; }
.e-seite .s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.e-seite mark, .e-seite .s-hero mark { background: none; color: var(--e-hell); }
.e-seite :focus-visible { outline: 3px solid var(--e-hell); outline-offset: 3px; border-radius: 8px; }
.e-seite .s-dz { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--e-dunkel); margin: 0; }
.e-seite .s-dz::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.e-seite .s-markiert { outline: 3px solid #0075FF; outline-offset: -3px; }

/* Kopf: durchgehend dunkel (nicht transparent wie bei „kampagne") */
.e-kopf { position: sticky; top: 0; z-index: 50; background: var(--schwarz); border-bottom: 1px solid rgba(255,255,255,.08); }
.e-kopf-in { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.e-cobrand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.e-seite .e-partner { height: 28px; width: auto; flex-shrink: 0; }
.e-partner-t { color: #fff; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e-seite .e-ehs { height: 28px; width: auto; flex-shrink: 0; }
.e-x { color: var(--on-dark-3); font-size: .85rem; }
.e-kopf-cta { flex-shrink: 0; background: var(--e-akzent); color: #fff !important; font-weight: 800; font-size: .88rem; padding: 9px 15px; border-radius: 8px; transition: filter .15s; }
.e-kopf-cta:hover { filter: brightness(.92); }
@media (max-width: 420px) { .e-cobrand { gap: 8px; } .e-seite .e-partner, .e-seite .e-ehs { height: 22px; } .e-kopf-cta { padding: 8px 12px; font-size: .82rem; } }

/* Abschnitte */
.e-seite .s-sec { padding: 72px 0; scroll-margin-top: 62px; }
.e-seite .s-sec:nth-of-type(n) { background: transparent; }
.e-sec-head { max-width: 640px; margin-bottom: 32px; }
.e-seite .e-sec-head h2 { font-size: clamp(1.9rem, 6.5vw, 2.9rem); margin: 12px 0; color: var(--dunkel); }
.e-seite .s-mitte .e-sec-head { margin-left: auto; margin-right: auto; text-align: center; }
.e-seite .s-mitte > .s-wrap > .s-dz, .e-seite .s-mitte .e-sec-head .s-dz { display: flex; justify-content: center; }
.e-sec-text { color: var(--muted); font-size: 1.06rem; }

/* Hero: Verlauf dunkles Navy-Lila → evex-Grün, kein Bild-Platzhalter — der Verlauf trägt die Fläche, wie bei evex-group.com */
.e-seite .s-hero { background: linear-gradient(115deg, var(--dunkel) 0%, var(--dunkel-2) 32%, var(--e-akzent) 82%) !important; color: var(--on-dark); position: relative; overflow: hidden; padding: 44px 0 48px; }
.e-seite .s-hero::after { content: ''; position: absolute; inset: -10% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, color-mix(in srgb, var(--korall) 28%, transparent), transparent); pointer-events: none; }
.e-seite .s-hero::before { content: ''; position: absolute; inset: auto auto -30% -10%; width: 480px; height: 480px; background: radial-gradient(closest-side, color-mix(in srgb, #fff 14%, transparent), transparent); pointer-events: none; }
.e-hero-in { display: grid; gap: 36px; position: relative; z-index: 1; }
.e-hero-in.e-hero-voll { grid-template-columns: 1fr !important; max-width: 760px; }
.e-seite .s-hero .s-dz { color: #fff; opacity: .85; }
.e-seite .s-hero h1 { font-size: clamp(2.3rem, 9.5vw, 4.1rem); margin: 16px 0 18px; color: var(--on-dark); }
.e-lead { color: var(--on-dark-2); font-size: 1.1rem; max-width: 34em; font-family: var(--body); text-transform: none; }
.e-auswahl-t { margin: 28px 0 12px !important; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.e-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.e-kachel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--r-md); background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.12); transition: transform .15s, border-color .15s; }
.e-kachel:hover { transform: translateY(-2px); border-color: #fff; }
.e-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--korall); color: #fff; }
.e-kachel:nth-child(even) .e-ic { background: #fff; color: var(--dunkel); }
.e-ic svg { width: 22px; height: 22px; }
.e-kachel b { font-size: 1.02rem; line-height: 1.2; color: var(--on-dark); text-transform: none; }
.e-kachel > span:last-child:not(.e-ic) { font-size: .82rem; color: var(--on-dark-3); }
.e-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; font-size: .88rem; color: var(--on-dark-2); }
.e-trust li { list-style: none; display: flex; align-items: center; gap: 6px; }
.e-trust svg { width: 16px; height: 16px; color: #fff; flex-shrink: 0; }
.e-seite .s-hero .s-btn { display: inline-block; margin-top: 24px; }
.e-seite .e-hero-img { width: 100%; max-width: 520px; margin: 0 auto; border-radius: var(--r-lg); }

/* Themenkarten (Story-Karten) */
.e-seite .s-karten { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.e-seite .s-karten::-webkit-scrollbar { display: none; }
.e-seite .s-karte { scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: var(--dunkel); color: var(--on-dark); border: 1px solid transparent; }
.e-seite .s-karte h3, .e-seite .s-karte p { color: inherit; }
.e-seite .s-karte:nth-child(4n+2) { background: var(--e-akzent); color: #fff; }
.e-seite .s-karte:nth-child(4n+3) { background: var(--korall); color: #fff; }
.e-seite .s-karte:nth-child(4n) { background: #fff; color: var(--dunkel); border-color: var(--line); }
.e-seite .s-etikett { align-self: flex-start; color: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.18); }
.e-seite .s-karte:nth-child(4n) .s-etikett { background: var(--e-papier); }
.e-seite .s-stichwort { color: inherit; font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 11vw, 3.1rem); line-height: .95; }
.e-seite .s-karte:nth-child(4n+1) .s-stichwort { color: var(--e-hell); }
.e-seite .s-karte:nth-child(4n) .s-stichwort { color: var(--e-akzent); }
.e-seite .s-karte h3 { font-weight: 800; font-size: 1.15rem; line-height: 1.22; margin-bottom: 8px; text-transform: none; }
.e-seite .s-karte p { font-size: .96rem; opacity: .88; font-family: var(--body); }

/* Ablauf */
.e-seite ol.s-ablauf { display: grid; gap: 12px; counter-reset: e-s; grid-template-columns: none; list-style: none; padding: 0; margin: 0; }
.e-seite ol.s-ablauf li { display: block; background: #fff; border-radius: var(--r-md); padding: 20px 20px 20px 76px; position: relative; border: 1px solid var(--line); }
.e-seite ol.s-ablauf li::before { counter-increment: e-s; content: counter(e-s); position: absolute; left: 18px; top: 18px; width: 42px; height: 42px; border-radius: 10px; background: var(--dunkel); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.e-seite ol.s-ablauf li:nth-child(3n+2)::before { background: var(--e-akzent); color: #fff; }
.e-seite ol.s-ablauf li:nth-child(3n)::before { background: var(--korall); color: #fff; }
.e-seite ol.s-ablauf b { display: block; font-size: 1.05rem; color: var(--dunkel); margin-bottom: 2px; text-transform: none; font-weight: 700; }
.e-seite ol.s-ablauf span { color: var(--muted); font-size: .96rem; }

/* Finder */
.e-seite .s-finder:nth-of-type(n) { background: var(--paper); }
.e-finder-karte { background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 60px -24px rgba(14,15,17,.35); overflow: hidden; border: 1px solid var(--line); margin: 0 calc(var(--gutter) * -1 + 8px); }
.e-finder-leiste { background: var(--schwarz); color: var(--on-dark); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.e-finder-leiste b { font-size: .95rem; display: flex; align-items: center; gap: 8px; text-transform: none; }
.e-live { width: 8px; height: 8px; border-radius: 50%; background: var(--korall); box-shadow: 0 0 0 4px rgba(255,70,73,.22); }
.e-finder-leiste small { color: var(--on-dark-3); font-size: .78rem; white-space: nowrap; }
@media (max-width: 420px) { .e-finder-leiste small { display: none; } }
.e-seite iframe.e-finder { display: block; width: 100%; min-height: 520px; height: 900px; border: 0; background: var(--paper); transition: height .2s; }
.e-finder-leer { height: 160px; display: grid; place-items: center; padding: 0 24px; text-align: center; color: var(--muted); background: var(--paper); }
.e-finder-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 16px !important; }
.e-finder-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Duo */
.e-duo { display: grid; gap: 12px; }
.e-duo-karte { border-radius: var(--r-md); padding: 24px; }
.e-seite .e-duo-karte h3 { font-size: 1.4rem; margin: 10px 0 8px; }
.e-duo-karte p { font-size: .98rem; font-family: var(--body); }
.e-seite .e-duo-p { background: var(--dunkel); color: var(--on-dark); }
.e-seite .e-duo-p .s-dz { color: #fff; opacity: .8; }
.e-seite .e-duo-p h3 { color: var(--on-dark); }
.e-duo-p p { color: var(--on-dark-2); }
.e-seite .e-duo-e { background: #fff; border: 1px solid var(--line); }
.e-seite .e-duo-e .s-dz { color: var(--e-dunkel); }
.e-seite .e-duo-e h3 { color: var(--dunkel); }
.e-duo-e p { color: var(--muted); }
.e-duo-plus { justify-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--korall); color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; margin: -28px 0; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--e-papier); }

/* FAQ */
.e-seite .s-faq-l { display: grid; gap: 10px; max-width: 760px; }
.e-seite .s-faq-l details { padding: 0; margin: 0; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }
.e-seite .s-faq-l summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--dunkel); position: relative; }
.e-seite .s-faq-l summary::-webkit-details-marker { display: none; }
.e-seite .s-faq-l summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px; background: var(--e-papier); color: var(--e-dunkel); display: grid; place-items: center; font-size: 1.2rem; }
.e-seite .s-faq-l details[open] summary::after { content: '–'; }
.e-seite .s-faq-l details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Abschluss */
.e-seite .s-cta { background: var(--schwarz) !important; color: var(--on-dark); text-align: center; padding: 80px 0 72px; }
.e-seite .s-cta .s-dz { color: var(--e-akzent); }
.e-seite .s-cta h2 { font-size: clamp(1.95rem, 7vw, 3rem); margin: 14px auto; max-width: 16em; color: var(--on-dark); }
.e-seite .s-cta p { color: var(--on-dark-2); max-width: 32em; margin: 0 auto 28px; font-family: var(--body); }
.e-seite .s-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; border: 0; background: var(--e-akzent); color: #fff; font-weight: 800; font-size: 1.05rem; padding: 16px 28px; border-radius: 8px; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--e-akzent) 70%, transparent); transition: transform .15s, filter .15s; }
.e-seite .s-btn:hover { filter: brightness(.92); transform: translateY(-1px); }

/* Fuß */
.e-fuss { background: var(--schwarz); border-top: 1px solid rgba(255,255,255,.08); color: var(--on-dark-3); font-size: .85rem; padding: 24px 0 calc(96px + env(safe-area-inset-bottom)); }
.e-fuss-in { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; }
.e-fuss nav { display: flex; gap: 18px; }
.e-fuss a:hover { color: var(--on-dark); }

/* Start-Button (mobil, wird per Skript mit .show eingeblendet) */
.e-dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; background: rgba(14,15,17,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; padding: 8px 8px 8px 20px; color: var(--on-dark); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.e-dock.show { transform: none; }
.e-dock span { font-size: .9rem; font-weight: 600; flex: 1; line-height: 1.2; }
.e-dock small { display: block; color: var(--on-dark-3); font-weight: 500; font-size: .76rem; }
.e-dock a { background: var(--e-akzent); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 8px; font-size: .92rem; white-space: nowrap; }

@media (min-width: 560px) { .e-seite .e-partner, .e-seite .e-ehs { height: 30px; } }
@media (min-width: 720px) {
  .e-seite { --gutter: 32px; }
  .e-seite .s-karten { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .e-seite .s-karte { aspect-ratio: auto; min-height: 380px; gap: 20px; }
  .e-seite .s-stichwort { font-size: clamp(2rem, 4vw, 2.8rem); }
  .e-seite ol.s-ablauf { grid-template-columns: repeat(3, 1fr); }
  .e-seite .s-untereinander ol.s-ablauf { grid-template-columns: 1fr; max-width: 760px; }
  .e-seite .s-mitte.s-untereinander ol.s-ablauf { margin-left: auto; margin-right: auto; }
  .e-duo { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .e-duo-plus { align-self: center; margin: 0 -28px; }
  .e-finder-karte { margin: 0; }
  .e-dock { display: none; }
  .e-fuss { padding-bottom: 28px; }
}
@media (min-width: 1000px) {
  .e-seite .s-hero { padding: 72px 0; }
  .e-hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .e-seite .s-karten { grid-template-columns: repeat(4, 1fr); }
  .e-seite .s-sec { padding: 96px 0; }
}
