/* ============================================================
   edwinvonlemberg.com — ein Stylesheet für alle Seiten.
   Farben, Verlauf, Buttons und Karten stammen aus der Markenvorgabe
   (Abschnitt MARKE); alles darunter baut darauf auf.
   ============================================================ */

/* ---------- Schrift (lokal, keine Anfrage an Google) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-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: 100 900;
  font-display: swap;
  src: url('../fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- MARKE ---------- */
body {
  /* clip statt hidden: sonst wird body neben html zum eigenen Scroll-Container mit zweiter Scrollleiste */
  overflow-x: clip;
  background: var(--primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
} body.no-scroll {
  overflow: hidden;
}

:root {
/* COLORS */
  --primary: #050E12;
  --primary-light: #0b1d29;
  --primary-dark: #436568;
  --secondary: #8a5cfd;
  --secondary-light: #b496ff;
  --active: #71dfe9;
  --active-light: #89dfe7;
  --active-dark: #102428;
  --white: #f0f8fc;
  --grey: #ababab;
  --border: #2A3235;
}

.gradient {
  background: linear-gradient(160deg, var(--secondary) 0%, var(--active) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.primary-button {
  background-color: var(--secondary);
  background-image: linear-gradient(160deg, var(--secondary) 0%, var(--active) 100%);
  color: var(--primary);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 5px;
  transition: background-image 0.5s ease-in-out, background-color 0.5s ease-in-out, color 0.5s ease-in-out;
} .primary-button:hover {
  background-color: var(--secondary);
  background-image: linear-gradient(160deg, var(--secondary) 20%, var(--active) 100%);
  color: var(--primary);
} .secondary-button {
  color: var(--active);
  border: 1px solid var(--active);
  padding: 12px 24px;
  border-radius: 5px;
} .secondary-button:hover {
  color: var(--active-light);
  border: 1px solid var(--active-light);
}

.card {
  display: flex;
  background: linear-gradient(160deg, rgba(91, 50, 209, 0.1) 0%, rgba(138, 92, 253, 0.1) 25%, rgba(107, 98, 240, 0.1) 50%, rgba(104, 175, 232, 0.1) 75%, rgba(113, 223, 233, .1) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 16px 24px;
}

/* ---------- Grundlagen ---------- */
:root {
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 68px;
  --verlauf: linear-gradient(160deg, var(--secondary) 0%, var(--active) 100%);
  --pfeil: url(/assets/img/cursor.svg) 3 3, auto;
  --zeiger: url(/assets/img/cursor-hand.svg) 11 1, pointer;
}
*, *::before, *::after { box-sizing: border-box; }

/* Mauszeiger im Markenverlauf: Pfeil überall, Hand auf allem Klickbaren */
html { cursor: var(--pfeil); }
a[href], button, summary, select, label, [role="button"] { cursor: var(--zeiger); }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea { cursor: text; }
/* Mit Maus zeichnet maus.js den Zeiger selbst (.maus, elastische Enden). Der native Zeiger verschwindet dann, außer in Textfeldern */
html.maus-an { --pfeil: none; --zeiger: none; }
.maus { position: fixed; left: 0; top: 0; z-index: 2147483647; pointer-events: none; will-change: transform; transition: opacity .15s; }
.maus svg { position: absolute; left: 0; top: 0; overflow: visible; transition: scale .18s cubic-bezier(.2, .7, .2, 1); }
.maus.m-druck svg { scale: .82; }
.maus .maus-pfeil, .maus .maus-hand { transition: opacity .12s; }
.maus .maus-hand, .maus.m-hand .maus-pfeil { opacity: 0; }
.maus.m-hand .maus-hand { opacity: 1; }
html:not(.maus-an) .maus, .maus.m-aus, .maus.m-text { opacity: 0; }
/* Über „Nach oben“ schrumpft der Zeiger zur Spitze hin und verblasst, als tauche er in das Pfeil-Logo ein */
.maus.m-ein { opacity: 0; transition: opacity .38s cubic-bezier(.5, 0, .75, 0); }
.maus.m-ein svg { scale: .25; filter: blur(1.5px); transition: scale .42s cubic-bezier(.5, 0, .75, 0), filter .42s; }
/* Lichtspur hinter dem Zeiger (maus.js zeichnet), weich und aufhellend */
.maus-spur { position: fixed; left: 0; top: 0; z-index: 2147483646; pointer-events: none; filter: blur(.6px); mix-blend-mode: screen; }

/* Textauswahl in Hellblau, Text darauf dunkel. Verlaufstext (.gradient) ist sonst transparent und braucht eine eigene Füllfarbe */
::selection { background: var(--active); color: var(--primary); -webkit-text-fill-color: var(--primary); text-shadow: none; }

/* Scrollleiste: schwarze Bahn, Griff im Markenverlauf */
::-webkit-scrollbar { width: 12px; height: 12px; background: #000; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--secondary) 0%, var(--active) 100%); border: 3px solid #000; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--secondary-light) 0%, var(--active-light) 100%); }
::-webkit-scrollbar-corner { background: #000; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: var(--secondary) #000; } }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--active); text-decoration: none; }
a:hover { color: var(--active-light); }
:where(main p, main li, main dd, .cookie-text, .check) a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--active); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--primary); padding: 8px 14px; border-radius: 5px; }
.skip:focus { top: 12px; }

.wrapper { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; position: relative; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--active); margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c9d4d9; max-width: 640px; }
.muted { color: var(--grey); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Buttons: Grundform für beide Markenbuttons */
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 1rem; line-height: 1.3; text-align: center; cursor: var(--zeiger); font-family: inherit;
  border: 0;
}
.secondary-button { background: transparent; border: 1px solid var(--active); }
.primary-button:hover { color: var(--primary); box-shadow: 0 8px 30px rgba(138, 92, 253, .35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-nav { padding: 8px 16px; font-size: .92rem; }

/* Karten: Markenkarte als Block */
.card { flex-direction: column; padding: 24px; border-radius: 8px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* Hintergrund-Leuchten */
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .16; pointer-events: none; z-index: 0; }
.glow.violett { background: var(--secondary); }
.glow.cyan { background: var(--active); }
section > .wrapper { position: relative; z-index: 1; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(5, 14, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrapper { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 34px; height: auto; }
.brand:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { font-size: .85rem; font-weight: 600; color: var(--grey); border: 1px solid var(--border); border-radius: 5px; padding: 5px 9px; }
.lang:hover { color: var(--white); border-color: var(--primary-dark); }
@media (max-width: 760px) { .cta-zusatz { display: none; } }
@media (max-width: 520px) { .header-actions .btn-nav { display: none; } }

/* ---------- Seitennavigation ----------
   Ab 1024px als Leiste links (Icons mit Tooltip), darunter als schwebende Leiste unten.
   main.js markiert den Abschnitt, der gerade im Bild ist (aria-current). */
.seitennav { position: fixed; z-index: 55;
  background-color: var(--primary-light); background-image: linear-gradient(160deg, var(--active-dark) 0%, var(--primary-light) 100%);
  border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.seitennav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.seitennav a { position: relative; display: flex; align-items: center; justify-content: center; color: var(--white); transition: background-color .48s ease-out, box-shadow .48s ease-out, color .3s; }
.seitennav a:hover { color: var(--white); background-color: var(--primary-dark); }
.seitennav a[aria-current] { background-color: var(--primary-dark); box-shadow: rgba(99, 99, 99, .2) 0 2px 8px 0; }
.seitennav svg { width: 22px; height: 22px; flex: none; }
.seitennav .logo-morph { width: 30px; height: 18px; overflow: visible; }
.seitennav .sprache { font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.seitennav .trenner { width: 32px; height: 1px; background: var(--border); margin: 4px 0; }
.seitennav .kurz { display: none; }

/* Icons verwandeln sich beim Hovern: Handy klingelt, Team rückt zusammen, Weg zeichnet sich neu,
   Preisschild pendelt, Fragezeichen hüpft, Sprechblase tippt, Sprachkürzel wendet */
.seitennav .ico * { transform-box: fill-box; transform-origin: center; }
.seitennav .ico-team .kopf, .seitennav .ico-team .zweit { transition: translate .5s cubic-bezier(.3, 1.6, .5, 1); }
.seitennav .ico-termin .tippen circle { opacity: 0; transition: opacity .2s; }
.seitennav .ico-termin path { transition: scale .4s cubic-bezier(.3, 1.6, .5, 1); }
.seitennav .sprache { display: inline-block; }
@media (hover: hover) {
  .seitennav a:is(:hover, :focus-visible) .ico-handy { animation: klingeln .7s ease-in-out; }
  .seitennav a:is(:hover, :focus-visible) .ico-team .kopf { translate: 0 -1.6px; }
  .seitennav a:is(:hover, :focus-visible) .ico-team .zweit { translate: -2.2px 0; }
  .seitennav a:is(:hover, :focus-visible) .ico-weg .linie { animation: zeichnen .7s cubic-bezier(.5, 0, .3, 1); }
  .seitennav a:is(:hover, :focus-visible) .ico-weg circle:last-of-type { animation: ploppen .45s .6s cubic-bezier(.3, 1.6, .5, 1); }
  .seitennav a:is(:hover, :focus-visible) .ico-preis { animation: pendeln 1s ease-in-out; transform-origin: 31% 31%; }
  .seitennav a:is(:hover, :focus-visible) .ico-faq .frage { animation: huepfen .6s cubic-bezier(.3, 1.4, .5, 1); }
  .seitennav a:is(:hover, :focus-visible) .ico-termin path { scale: 1.08; }
  .seitennav a:is(:hover, :focus-visible) .ico-termin .tippen circle { opacity: 1; animation: tippen 1s ease-in-out infinite; }
  .seitennav a:is(:hover, :focus-visible) .ico-termin .tippen circle:nth-child(2) { animation-delay: .15s; }
  .seitennav a:is(:hover, :focus-visible) .ico-termin .tippen circle:nth-child(3) { animation-delay: .3s; }
  .seitennav a:is(:hover, :focus-visible) .sprache { animation: wenden .6s cubic-bezier(.3, 1.2, .5, 1); }
}
@keyframes klingeln { 0%, 100% { rotate: 0deg; } 12% { rotate: -16deg; } 26% { rotate: 14deg; } 40% { rotate: -10deg; } 55% { rotate: 7deg; } 70% { rotate: -4deg; } 85% { rotate: 2deg; } }
@keyframes zeichnen { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes ploppen { 50% { scale: 1.5; } }
@keyframes pendeln { 0%, 100% { rotate: 0deg; } 18% { rotate: -20deg; } 40% { rotate: 13deg; } 62% { rotate: -7deg; } 82% { rotate: 3deg; } }
@keyframes huepfen { 40% { translate: 0 -3px; rotate: 14deg; } 70% { translate: 0 .5px; rotate: -6deg; } }
@keyframes tippen { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -1.6px; } }
@keyframes wenden { from { rotate: x 360deg; } }

@keyframes einSeite { from { opacity: 0; translate: -140% 0; } }
@keyframes einLeiste { from { opacity: 0; translate: -50% 140%; } }

@media (min-width: 1024px) {
  .seitennav { left: 24px; top: calc(var(--header-h) + 16px); bottom: 16px; height: fit-content; margin: auto 0;
    width: 76px; padding: 10px 0; border-radius: 50px; animation: einSeite .8s .3s cubic-bezier(.2, .7, .2, 1) backwards; }
  .seitennav ul { flex-direction: column; gap: 4px; }
  .seitennav a { width: 58px; height: 58px; border-radius: 50%; }
  .seitennav .tip { position: absolute; left: calc(100% + 20px); top: 50%; translate: -6px -50%; white-space: nowrap;
    background-color: var(--primary-dark); color: var(--white); padding: 8px 15px; border-radius: 4px;
    font-size: 13px; line-height: 1.3; letter-spacing: .5px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .48s ease-out, translate .48s ease-out, visibility .48s; }
  .seitennav .tip::before { content: ''; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; background-color: inherit; transform: translateY(-50%) rotate(45deg); }
  .seitennav a:hover .tip, .seitennav a:focus-visible .tip { opacity: 1; visibility: visible; translate: 0 -50%; pointer-events: auto; }
  .seitennav .tip::after { content: ''; position: absolute; right: 100%; top: 0; bottom: 0; width: 22px; }
  .seitennav a.tip-aus .tip { opacity: 0; visibility: hidden; }
  .header-actions .lang { display: none; }
  .header-actions .lang.lang-immer { display: inline-block; }
  /* Platz für die Leiste: Inhalt rückt nur ein, wenn der Seitenrand nicht reicht */
  body:has(> .seitennav) .wrapper { padding-left: calc(var(--gutter) + clamp(0px, 676px - 50vw, 96px)); }
  .cookie-banner { left: 124px; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .seitennav { padding: 6px 0; }
  .seitennav ul { gap: 0; }
  .seitennav a { width: 48px; height: 48px; }
}
@media (max-width: 1023.98px) {
  .seitennav { left: 50%; bottom: 12px; translate: -50% 0; width: min(460px, calc(100% - 24px)); padding: 6px; border-radius: 999px;
    background-color: rgba(11, 29, 41, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    animation: einLeiste .8s .3s cubic-bezier(.2, .7, .2, 1) backwards; }
  .seitennav ul { justify-content: space-between; }
  .seitennav li { flex: 1; }
  .seitennav .nur-seite { display: none; }
  .seitennav a { flex-direction: column; gap: 3px; padding: 7px 2px 6px; border-radius: 999px; color: #c9d4d9; }
  .seitennav a[aria-current] { color: var(--white); }
  .seitennav svg { width: 20px; height: 20px; }
  .seitennav .tip { display: none; }
  .seitennav .kurz { display: block; font-size: 10.5px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
  .site-footer { padding-bottom: 110px; }
  /* Fokus nicht hinter der unteren Leiste verstecken (WCAG 2.4.11) */
  html { scroll-padding-bottom: 96px; }
  .cookie-banner { z-index: 70; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.hero .wrapper { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.chips li { font-size: .88rem; color: #c9d4d9; border: 1px solid var(--border); background: rgba(11, 29, 41, .6); border-radius: 999px; padding: 6px 14px; display: flex; align-items: center; gap: 8px; }
.chips li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--verlauf); flex: none; }
.hero-visual { position: relative; isolation: isolate; justify-self: center; width: min(100%, 480px); }
.hero-photo { position: relative; }
/* Freigestelltes Foto (transparenter Hintergrund): Das Licht liegt dahinter, unten läuft es weich aus */
.hero-photo img { width: 100%; aspect-ratio: 900 / 1197; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); }
.hero-ring { position: absolute; left: 8%; right: 8%; top: 4%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 35%, rgba(138, 92, 253, .55), transparent 62%), radial-gradient(circle at 70% 70%, rgba(113, 223, 233, .35), transparent 60%);
  filter: blur(30px); }
.hero-phone { position: absolute; left: -10%; bottom: 6%; width: 38%; transform: rotate(-6deg); }
/* Karte sitzt 24px rechts neben dem (gedrehten) Handy; der Versatz gleicht die Drehung aus */
.hero-badge { position: absolute; left: calc(28% + 14px); bottom: 22%; padding: 10px 14px; font-size: .82rem; line-height: 1.35; border-radius: 8px; max-width: 190px; }
.hero-badge strong { display: block; font-size: .95rem; }
/* Handy und Karte im Hero führen zur Machi-App */
a.hero-phone, a.hero-badge { display: block; color: inherit; text-decoration: none; }
a.hero-phone { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
a.hero-phone:hover, a.hero-phone:focus-visible { transform: rotate(-3deg) translateY(-6px) scale(1.03); box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(113, 223, 233, .45), 0 0 40px rgba(138, 92, 253, .35); }
a.hero-badge { transition: border-color .25s, transform .25s; }
a.hero-badge:hover { transform: translateY(-2px); border-color: rgba(113, 223, 233, .45); }
.badge-link { display: block; margin-top: 6px; font-size: .78rem; font-weight: 600; color: var(--active); }
@media (max-width: 860px) {
  .hero .wrapper { grid-template-columns: 1fr; }
  .hero-visual { width: min(88%, 380px); margin-top: 12px; }
  .hero-phone { left: -2%; width: 40%; }
  .hero-badge { left: calc(38% + 15px); }
}

/* ---------- Handy-Rahmen ---------- */
.phone { position: relative; border-radius: 34px; padding: 7px; background: linear-gradient(160deg, #2b2f45, #11161c); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.phone img { border-radius: 28px; width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top; }
.phone::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 26%; height: 14px; border-radius: 10px; background: #0b0d12; z-index: 2; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-grid .card { flex-direction: row; gap: 16px; align-items: flex-start; }
.icon { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(138, 92, 253, .14); border: 1px solid rgba(138, 92, 253, .3); color: var(--secondary-light); }
.icon svg { width: 22px; height: 22px; }
.problem-grid h3 { font-size: 1.05rem; margin-bottom: .25em; }
.problem-grid p { color: var(--grey); font-size: .97rem; }
@media (max-width: 760px) { .problem-grid { grid-template-columns: 1fr; } }

/* ---------- Geschichte (Marija) ---------- */
.story { background: linear-gradient(180deg, transparent, var(--primary-light) 18%, var(--primary-light) 82%, transparent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.story-text p { color: #c9d4d9; }
.story-text .pointe { color: var(--white); font-size: 1.15rem; font-weight: 600; }
.photo-frame { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.photo-frame.blend { isolation: isolate; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.photo-frame.blend img { position: relative;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); }
.photo-frame.blend::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; z-index: -1; filter: blur(40px);
  background: radial-gradient(circle at 40% 35%, rgba(138, 92, 253, .45), transparent 65%), radial-gradient(circle at 65% 70%, rgba(113, 223, 233, .25), transparent 60%); }
.photo-frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: .86rem; color: #dbe5ea; background: linear-gradient(transparent, rgba(5, 14, 18, .92)); }
.alles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.alles li { display: flex; gap: 12px; align-items: flex-start; color: #dbe5ea; }
.alles li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--verlauf); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.4 14.2L6.4 12l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.4 14.2L6.4 12l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Koi ---------- */
.koi-visual { position: relative; display: grid; grid-template-columns: 1fr .5fr; align-items: center; gap: 0; }
.koi-visual .phone { margin-left: -30%; margin-top: 30%; transform: rotate(4deg); }
blockquote.zitat { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid; border-image: var(--verlauf) 1; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.4; color: var(--white); }

/* ---------- Machi-Funktionen ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media .phone { width: min(270px, 66vw); }
.feature-media::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(138, 92, 253, .28), transparent 65%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.feature p { color: #c9d4d9; }
.feature .tag, .zahlweg .tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--active); background: var(--active-dark); border: 1px solid rgba(113, 223, 233, .25); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Karussell: eine Folie im Bild, Wischen und Scrollen rasten ein; Pfeile und Punkte steuert main.js */
.karussell { position: relative; }
.karussell-bahn { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 16px; }
.karussell-bahn::-webkit-scrollbar { display: none; }
.karussell-bahn > .feature { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; padding: 12px clamp(72px, 9vw, 104px); }
.karussell-steuerung { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.karussell-punkte { display: flex; align-items: center; gap: 4px; }
.karussell-punkte button { all: unset; box-sizing: border-box; cursor: var(--zeiger); width: 26px; height: 26px; display: grid; place-items: center; transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.karussell-punkte button[aria-current] { width: 46px; }
.karussell-punkte button::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--border);
  transition: width .4s cubic-bezier(.2, .7, .2, 1), background-color .3s; }
.karussell-punkte button:hover::before { background: var(--primary-dark); }
.karussell-punkte button[aria-current]::before { width: 34px; background: var(--verlauf); box-shadow: 0 0 14px rgba(138, 92, 253, .45); }
.karussell-punkte button:focus-visible { outline: 2px solid var(--active); outline-offset: 0; border-radius: 999px; }
.karussell-pfeil { width: 56px; height: 56px; flex: none; display: grid; place-items: center; padding: 0; cursor: var(--zeiger); border-radius: 50%;
  color: var(--active); background: rgba(11, 29, 41, .82); border: 1px solid rgba(113, 223, 233, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  transition: color .3s, border-color .3s, box-shadow .3s, scale .3s cubic-bezier(.2, .7, .2, 1); position: relative; overflow: hidden; }
.karussell-pfeil::before { content: ''; position: absolute; inset: 0; background: var(--verlauf); opacity: 0; transition: opacity .3s; }
.karussell-pfeil svg { width: 24px; height: 24px; position: relative; transition: translate .3s cubic-bezier(.2, .7, .2, 1); }
.karussell-pfeil:hover { color: var(--primary); border-color: transparent; scale: 1.06; box-shadow: 0 10px 34px rgba(138, 92, 253, .45); }
.karussell-pfeil:hover::before { opacity: 1; }
.karussell-pfeil.links:hover svg { translate: -2px 0; }
.karussell-pfeil.rechts:hover svg { translate: 2px 0; }
.karussell-pfeil:active { scale: .96; }
.no-js .karussell-steuerung { display: none; }
@media (min-width: 861px) {
  /* Pfeile mittig neben der Folie: Höhe der Steuerzeile (56px + 32px Abstand) herausrechnen */
  .karussell-pfeil { position: absolute; top: calc(50% - 44px); translate: 0 -50%; z-index: 2; }
  .karussell-pfeil.links { left: 0; }
  .karussell-pfeil.rechts { right: 0; }
}
@media (max-width: 860px) {
  .karussell-bahn > .feature { padding: 4px 2px; align-content: start; gap: 28px; }
  .karussell-pfeil { width: 48px; height: 48px; }
}
.wende { margin-top: clamp(64px, 9vw, 112px); text-align: center; padding: clamp(32px, 5vw, 56px); border-radius: 12px; }
.wende h2 { max-width: 780px; margin: 0 auto .4em; }
.wende .lead { margin: 0 auto; }
.wende .btn-row { justify-content: center; }

/* ---------- Für wen ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.zielgruppe .icon { margin-bottom: 18px; }
.zielgruppe p { color: #c9d4d9; }
.hinweis { margin-top: 24px; padding: 18px 22px; border: 1px dashed var(--border); border-radius: 8px; color: var(--grey); font-size: .97rem; }
.hinweis strong { color: var(--white); }

/* ---------- Über mich ---------- */
.about .photo-frame { width: min(100%, 440px); justify-self: center; }
.about .photo-frame img { aspect-ratio: 900 / 1150; object-fit: cover; }
.fakten { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fakten li { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--border); background: rgba(11, 29, 41, .55); font-size: .93rem; color: #c9d4d9; }
.fakten strong { display: block; color: var(--white); font-size: 1.05rem; }
@media (max-width: 520px) { .fakten { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: schritt; }
.steps li { position: relative; }
.steps .card { height: 100%; }
.steps .nr { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--active); margin-bottom: 10px; }
.steps p { color: #c9d4d9; font-size: .97rem; }
.steps .highlight { border-color: rgba(113, 223, 233, .35); }
/* Schritt 3: die zwei Ausgänge der Entscheidung */
.entscheidung { list-style: none; margin: 2px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(113, 223, 233, .18); display: grid; gap: 12px; }
.entscheidung li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; line-height: 1.5; color: #c9d4d9; }
.entscheidung svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--active-dark); color: var(--active); }
.entscheidung li + li svg { background: rgba(138, 92, 253, .16); color: var(--secondary-light); }
.entscheidung strong { color: var(--white); font-weight: 600; }
.optional { margin-top: 18px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
.optional p { margin: 0; color: #c9d4d9; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Vergleich ---------- */
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); }
table.vergleich { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.vergleich th, .vergleich td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.vergleich tr:last-child td, .vergleich tr:last-child th { border-bottom: 0; }
.vergleich thead th { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); background: rgba(11, 29, 41, .6); }
.vergleich thead th:last-child { color: var(--active); }
.vergleich tbody th { font-weight: 600; color: var(--white); width: 22%; }
.vergleich td:nth-child(2) { color: var(--grey); }
.vergleich td:last-child { color: var(--white); background: rgba(138, 92, 253, .06); }

/* ---------- Preise ---------- */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.preis { position: relative; }
.preis.empfohlen { border: 1px solid transparent; background: linear-gradient(var(--primary-light), var(--primary-light)) padding-box, var(--verlauf) border-box; }
.preis .badge { position: absolute; top: -12px; left: 24px; font-size: .75rem; font-weight: 700; color: var(--primary); background: var(--verlauf); border-radius: 999px; padding: 3px 12px; }
.preis .betrag { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.preis .betrag small { font-size: 1rem; font-weight: 500; color: var(--grey); }
.preis .fuer { color: var(--grey); font-size: .93rem; margin-bottom: 18px; }
.preis ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; }
.preis li { display: flex; gap: 10px; font-size: .95rem; color: #dbe5ea; }
.preis li::before { content: '✓'; color: var(--active); font-weight: 700; flex: none; }
.preis .primary-button, .preis .secondary-button { width: 100%; }
.preis .rate { margin: 0 0 18px; font-size: .9rem; font-weight: 600; color: var(--active); }
.preis .betrieb-zeile { margin: -8px 0 18px; padding-top: 12px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--grey); }
.zahl-titel { margin: 56px 0 18px; font-size: 1.3rem; }
.zahlwege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zahlweg .tag { align-self: flex-start; margin-bottom: 0; }
.zahlweg p { margin: 10px 0 0; color: #c9d4d9; font-size: .95rem; }
@media (max-width: 960px) { .zahlwege { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.preis-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.preis-extras .card { flex-direction: row; gap: 16px; align-items: flex-start; }
.preis-extras h3 { font-size: 1.05rem; }
.preis-extras p { color: #c9d4d9; font-size: .95rem; margin-bottom: 0; }
.preis-note { margin-top: 18px; font-size: .88rem; color: var(--grey); }
@media (max-width: 960px) { .preise { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .preis-extras { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ---------- Kontakt ---------- */

.kontakt-head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 36px; }
.kontakt-head img { width: 96px; height: 96px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid transparent;
  background: radial-gradient(circle at 50% 30%, rgba(138, 92, 253, .55), var(--primary-light) 72%) padding-box, var(--verlauf) border-box; }
.kontakt-head h2 { margin-bottom: .2em; }
@media (max-width: 600px) {
  .kontakt-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .kontakt-head img { width: 76px; height: 76px; }
}
.versprechen { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: #c9d4d9; font-size: .95rem; }
.versprechen li { display: flex; gap: 8px; align-items: center; }
.versprechen li::before { content: '✓'; color: var(--active); font-weight: 700; }
.wege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.weg { all: unset; box-sizing: border-box; cursor: var(--zeiger); display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(160deg, rgba(91, 50, 209, 0.1) 0%, rgba(113, 223, 233, .1) 100%); transition: border-color .25s, transform .25s; color: var(--white); }
.weg:hover, .weg:focus-visible, .weg[aria-expanded="true"] { border-color: var(--weg-farbe); transform: translateY(-2px); color: var(--white); }
.weg:focus-visible { outline: 2px solid var(--active); outline-offset: 3px; }
/* Jeder Kontaktweg in seiner Farbe: WhatsApp-Grün, Marken-Hellblau, Marken-Lila */
.weg { --weg-farbe: var(--active); --weg-glanz: rgba(113, 223, 233, .45); --weg-zeichen: var(--primary); }
.weg[data-weg="whatsapp"] { --weg-farbe: #25d366; --weg-glanz: rgba(37, 211, 102, .45); --weg-zeichen: #fff; }
.weg[data-weg="formular"] { --weg-farbe: var(--secondary); --weg-glanz: rgba(138, 92, 253, .5); --weg-zeichen: #fff; }
.weg .icon { margin-bottom: 8px; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--weg-farbe); color: var(--weg-zeichen);
  box-shadow: 0 8px 26px var(--weg-glanz); transition: box-shadow .25s, scale .25s cubic-bezier(.2, .7, .2, 1); }
.weg .icon svg { width: 24px; height: 24px; }
.weg:hover .icon, .weg[aria-expanded="true"] .icon { scale: 1.06; box-shadow: 0 10px 34px var(--weg-glanz); }
.weg strong { font-size: 1.1rem; }
.weg span { color: var(--grey); font-size: .93rem; }
@media (max-width: 760px) { .wege { grid-template-columns: 1fr; } }

/* Formular */
.panel { margin-top: 24px; padding: clamp(22px, 4vw, 36px); border-radius: 12px; border: 1px solid var(--border); background: rgba(11, 29, 41, .7); }
.panel[hidden] { display: none; }
.fortschritt { display: flex; gap: 8px; margin-bottom: 26px; }
.fortschritt span { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background .3s; }
.fortschritt span.an { background: var(--verlauf); }
.schritt-titel { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend, .feld > label { display: block; font-weight: 600; margin-bottom: 10px; padding: 0; }
legend small, .feld > label small { font-weight: 400; color: var(--grey); }
.optionen { display: flex; flex-wrap: wrap; gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: var(--zeiger); }
.option span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(5, 14, 18, .6); color: #c9d4d9; font-size: .95rem; transition: border-color .2s, background .2s, color .2s; cursor: var(--zeiger); }
.option input:checked + span { border-color: var(--active); background: var(--active-dark); color: var(--white); }
.option input:focus-visible + span { outline: 2px solid var(--active); outline-offset: 2px; }
.option input[type=checkbox] + span::before { content: ''; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--grey); flex: none; }
.option input[type=checkbox]:checked + span::before { border-color: var(--active); background: var(--active); box-shadow: inset 0 0 0 2px var(--active-dark); }
.schnellwahl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.schnellwahl button { background: none; border: 0; color: var(--active); font: inherit; font-size: .88rem; cursor: var(--zeiger); padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; }
.feld { margin-bottom: 20px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .feld-reihe { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--white); background: rgba(5, 14, 18, .7);
  border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; transition: border-color .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--active); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: #c9d4d9; cursor: var(--zeiger); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--active); flex: none; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.zurueck { background: none; border: 0; color: var(--grey); font: inherit; cursor: var(--zeiger); padding: 8px 0; }
.zurueck:hover { color: var(--white); }
.fehler { color: #ff9b9b; font-size: .92rem; margin: 0 0 16px; min-height: 0; }
.fehler:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.danke { text-align: center; }
.danke h3 { font-size: 1.5rem; }

/* Termin (zcal) */
.termin { margin-top: 24px; }
.termin h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.termin iframe { width: 100%; min-height: 680px; border: 0; border-radius: 10px; background: var(--white); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: var(--zeiger); padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--active); transition: transform .25s; }
.faq details[open]:not(.zu) summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: #c9d4d9; overflow: hidden; }

/* ---------- Schluss & Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; font-size: .92rem; color: var(--grey); }
.site-footer .wrapper { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--grey); }
.site-footer a:hover { color: var(--white); }
.site-footer .cookie-link { background: none; border: 0; padding: 0; font: inherit; color: var(--grey); cursor: var(--zeiger); }
.site-footer .cookie-link:hover { color: var(--white); }

/* ---------- Cookie-Banner (consent.js) ---------- */
.cookie-banner { position: fixed; left: 24px; bottom: 24px; z-index: 60; width: min(440px, calc(100% - 32px));
  padding: 22px 22px 20px; border: 1px solid var(--border); border-radius: 16px;
  background: rgba(11, 29, 41, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  opacity: 0; translate: 0 24px; filter: blur(6px);
  transition: opacity .5s ease, translate .6s cubic-bezier(.2, .7, .2, 1), filter .5s ease; }
.cookie-banner.offen { opacity: 1; translate: none; filter: none; }
.cookie-titel { margin: 0 0 6px; font-weight: 700; }
.cookie-text { margin: 0; font-size: .9rem; color: #c9d4d9; }
.cookie-text a { color: var(--active); }
.cookie-knoepfe { display: flex; gap: 10px; margin-top: 16px; }
.cookie-knoepfe button { flex: 1; padding: 10px 14px; font-size: .92rem; }
@media (max-width: 520px) { .cookie-banner { left: 16px; bottom: 16px; } .cookie-knoepfe { flex-direction: column; } }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrapper { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.5em; }
.legal p, .legal li { color: #c9d4d9; }

/* ---------- Animationen ---------- */
/* Beim Scrollen: wie im Hero fliegen die Teile auf einem Bogen herein. main.js zerlegt Überschriften
   in Wörter (.w), markiert Kinder als .kind mit Startzeit --t (ms), staffelt gleichzeitig sichtbare
   Blöcke über --d und setzt data-ein: Art (text, karte, bild) plus Richtung (L, R, U = von unten),
   je nachdem, auf welcher Seite des Bildschirms das Element steht.
   Die Keyframes nutzen translate/rotate/scale statt transform, damit vorhandene Drehungen und Hover-Effekte bleiben. */
@keyframes textL {
  0% { opacity: 0; translate: -50px 36px; rotate: -3.5deg; filter: blur(7px); }
  8% { opacity: 0.23; translate: -38.93px 21.83px; rotate: -2.73deg; filter: blur(5.8px); }
  16% { opacity: 0.46; translate: -29.64px 12.65px; rotate: -2.07deg; filter: blur(4.5px); }
  25% { opacity: 0.71; translate: -21.09px 6.41px; rotate: -1.48deg; filter: blur(3.1px); }
  35% { opacity: 1; translate: -13.73px 2.72px; rotate: -0.96deg; filter: blur(1.6px); }
  45% { translate: -8.32px 1px; rotate: -0.58deg; filter: blur(0px); }
  55% { translate: -4.56px 0.3px; rotate: -0.32deg; }
  65% { translate: -2.14px 0.07px; rotate: -0.15deg; }
  75% { translate: -0.78px 0.01px; rotate: -0.05deg; }
  87% { translate: -0.11px 0px; rotate: -0.01deg; }
  100% { translate: 0px 0px; rotate: 0deg; }
}
@keyframes textR {
  0% { opacity: 0; translate: 50px 36px; rotate: 3.5deg; filter: blur(7px); }
  8% { opacity: 0.23; translate: 38.93px 21.83px; rotate: 2.73deg; filter: blur(5.8px); }
  16% { opacity: 0.46; translate: 29.64px 12.65px; rotate: 2.07deg; filter: blur(4.5px); }
  25% { opacity: 0.71; translate: 21.09px 6.41px; rotate: 1.48deg; filter: blur(3.1px); }
  35% { opacity: 1; translate: 13.73px 2.72px; rotate: 0.96deg; filter: blur(1.6px); }
  45% { translate: 8.32px 1px; rotate: 0.58deg; filter: blur(0px); }
  55% { translate: 4.56px 0.3px; rotate: 0.32deg; }
  65% { translate: 2.14px 0.07px; rotate: 0.15deg; }
  75% { translate: 0.78px 0.01px; rotate: 0.05deg; }
  87% { translate: 0.11px 0px; rotate: 0.01deg; }
  100% { translate: 0px 0px; rotate: 0deg; }
}
@keyframes textU {
  0% { opacity: 0; translate: -15px 46.8px; rotate: -1.4deg; filter: blur(7px); }
  8% { opacity: 0.23; translate: -11.68px 28.38px; rotate: -1.09deg; filter: blur(5.8px); }
  16% { opacity: 0.46; translate: -8.89px 16.44px; rotate: -0.83deg; filter: blur(4.5px); }
  25% { opacity: 0.71; translate: -6.33px 8.33px; rotate: -0.59deg; filter: blur(3.1px); }
  35% { opacity: 1; translate: -4.12px 3.53px; rotate: -0.38deg; filter: blur(1.6px); }
  45% { translate: -2.5px 1.3px; rotate: -0.23deg; filter: blur(0px); }
  55% { translate: -1.37px 0.39px; rotate: -0.13deg; }
  65% { translate: -0.64px 0.09px; rotate: -0.06deg; }
  75% { translate: -0.23px 0.01px; rotate: -0.02deg; }
  87% { translate: -0.03px 0px; rotate: 0deg; }
  100% { translate: 0px 0px; rotate: 0deg; }
}
@keyframes karteL {
  0% { opacity: 0; translate: -90px 70px; rotate: -6deg; scale: 0.93; filter: blur(9px); }
  8% { opacity: 0.23; translate: -64.6px 36.06px; rotate: -4.31deg; scale: 0.95; filter: blur(7.4px); }
  16% { opacity: 0.46; translate: -44.2px 16.88px; rotate: -2.95deg; scale: 0.966; filter: blur(5.8px); }
  25% { opacity: 0.71; translate: -26.58px 6.1px; rotate: -1.77deg; scale: 0.979; filter: blur(4px); }
  35% { opacity: 1; translate: -12.74px 1.4px; rotate: -0.85deg; scale: 0.99; filter: blur(2px); }
  45% { translate: -3.95px 0.13px; rotate: -0.26deg; scale: 0.997; filter: blur(0px); }
  55% { translate: 0.82px -0.01px; rotate: 0.05deg; scale: 1.001; }
  65% { translate: 2.59px -0.06px; rotate: 0.17deg; scale: 1.002; }
  75% { translate: 2.39px -0.05px; rotate: 0.16deg; scale: 1.002; }
  87% { translate: 0.99px -0.01px; rotate: 0.07deg; scale: 1.001; }
  100% { translate: 0px 0px; rotate: 0deg; scale: 1; }
}
@keyframes karteR {
  0% { opacity: 0; translate: 90px 70px; rotate: 6deg; scale: 0.93; filter: blur(9px); }
  8% { opacity: 0.23; translate: 64.6px 36.06px; rotate: 4.31deg; scale: 0.95; filter: blur(7.4px); }
  16% { opacity: 0.46; translate: 44.2px 16.88px; rotate: 2.95deg; scale: 0.966; filter: blur(5.8px); }
  25% { opacity: 0.71; translate: 26.58px 6.1px; rotate: 1.77deg; scale: 0.979; filter: blur(4px); }
  35% { opacity: 1; translate: 12.74px 1.4px; rotate: 0.85deg; scale: 0.99; filter: blur(2px); }
  45% { translate: 3.95px 0.13px; rotate: 0.26deg; scale: 0.997; filter: blur(0px); }
  55% { translate: -0.82px -0.01px; rotate: -0.05deg; scale: 1.001; }
  65% { translate: -2.59px -0.06px; rotate: -0.17deg; scale: 1.002; }
  75% { translate: -2.39px -0.05px; rotate: -0.16deg; scale: 1.002; }
  87% { translate: -0.99px -0.01px; rotate: -0.07deg; scale: 1.001; }
  100% { translate: 0px 0px; rotate: 0deg; scale: 1; }
}
@keyframes karteU {
  0% { opacity: 0; translate: -27px 91px; rotate: -2.4deg; scale: 0.93; filter: blur(9px); }
  8% { opacity: 0.23; translate: -19.38px 46.88px; rotate: -1.72deg; scale: 0.95; filter: blur(7.4px); }
  16% { opacity: 0.46; translate: -13.26px 21.95px; rotate: -1.18deg; scale: 0.966; filter: blur(5.8px); }
  25% { opacity: 0.71; translate: -7.97px 7.94px; rotate: -0.71deg; scale: 0.979; filter: blur(4px); }
  35% { opacity: 1; translate: -3.82px 1.82px; rotate: -0.34deg; scale: 0.99; filter: blur(2px); }
  45% { translate: -1.18px 0.18px; rotate: -0.11deg; scale: 0.997; filter: blur(0px); }
  55% { translate: 0.25px -0.01px; rotate: 0.02deg; scale: 1.001; }
  65% { translate: 0.78px -0.08px; rotate: 0.07deg; scale: 1.002; }
  75% { translate: 0.72px -0.06px; rotate: 0.06deg; scale: 1.002; }
  87% { translate: 0.3px -0.01px; rotate: 0.03deg; scale: 1.001; }
  100% { translate: 0px 0px; rotate: 0deg; scale: 1; }
}
@keyframes bildL {
  0% { opacity: 0; translate: -115px 64px; rotate: -8deg; scale: 0.9; filter: blur(12px); }
  8% { opacity: 0.23; translate: -82.54px 32.97px; rotate: -5.74deg; scale: 0.928; filter: blur(9.9px); }
  16% { opacity: 0.46; translate: -56.48px 15.44px; rotate: -3.93deg; scale: 0.951; filter: blur(7.7px); }
  25% { opacity: 0.71; translate: -33.96px 5.58px; rotate: -2.36deg; scale: 0.97; filter: blur(5.3px); }
  35% { opacity: 1; translate: -16.28px 1.28px; rotate: -1.13deg; scale: 0.986; filter: blur(2.7px); }
  45% { translate: -5.04px 0.12px; rotate: -0.35deg; scale: 0.996; filter: blur(0px); }
  55% { translate: 1.05px -0.01px; rotate: 0.07deg; scale: 1.001; }
  65% { translate: 3.31px -0.05px; rotate: 0.23deg; scale: 1.003; }
  75% { translate: 3.05px -0.05px; rotate: 0.21deg; scale: 1.003; }
  87% { translate: 1.27px -0.01px; rotate: 0.09deg; scale: 1.001; }
  100% { translate: 0px 0px; rotate: 0deg; scale: 1; }
}
@keyframes bildR {
  0% { opacity: 0; translate: 115px 64px; rotate: 8deg; scale: 0.9; filter: blur(12px); }
  8% { opacity: 0.23; translate: 82.54px 32.97px; rotate: 5.74deg; scale: 0.928; filter: blur(9.9px); }
  16% { opacity: 0.46; translate: 56.48px 15.44px; rotate: 3.93deg; scale: 0.951; filter: blur(7.7px); }
  25% { opacity: 0.71; translate: 33.96px 5.58px; rotate: 2.36deg; scale: 0.97; filter: blur(5.3px); }
  35% { opacity: 1; translate: 16.28px 1.28px; rotate: 1.13deg; scale: 0.986; filter: blur(2.7px); }
  45% { translate: 5.04px 0.12px; rotate: 0.35deg; scale: 0.996; filter: blur(0px); }
  55% { translate: -1.05px -0.01px; rotate: -0.07deg; scale: 1.001; }
  65% { translate: -3.31px -0.05px; rotate: -0.23deg; scale: 1.003; }
  75% { translate: -3.05px -0.05px; rotate: -0.21deg; scale: 1.003; }
  87% { translate: -1.27px -0.01px; rotate: -0.09deg; scale: 1.001; }
  100% { translate: 0px 0px; rotate: 0deg; scale: 1; }
}
@keyframes bildU {
  0% { opacity: 0; translate: -34.5px 83.2px; rotate: -3.2deg; scale: 0.9; filter: blur(12px); }
  8% { opacity: 0.23; translate: -24.76px 42.86px; rotate: -2.3deg; scale: 0.928; filter: blur(9.9px); }
  16% { opacity: 0.46; translate: -16.94px 20.07px; rotate: -1.57deg; scale: 0.951; filter: blur(7.7px); }
  25% { opacity: 0.71; translate: -10.19px 7.26px; rotate: -0.94deg; scale: 0.97; filter: blur(5.3px); }
  35% { opacity: 1; translate: -4.88px 1.67px; rotate: -0.45deg; scale: 0.986; filter: blur(2.7px); }
  45% { translate: -1.51px 0.16px; rotate: -0.14deg; scale: 0.996; filter: blur(0px); }
  55% { translate: 0.31px -0.01px; rotate: 0.03deg; scale: 1.001; }
  65% { translate: 0.99px -0.07px; rotate: 0.09deg; scale: 1.003; }
  75% { translate: 0.92px -0.06px; rotate: 0.09deg; scale: 1.003; }
  87% { translate: 0.38px -0.01px; rotate: 0.04deg; scale: 1.001; }
  100% { translate: 0px 0px; rotate: 0deg; scale: 1; }
}
@keyframes wortBogen {
  0% { opacity: 0; translate: -0.3em 0.8em; rotate: 9deg; filter: blur(7px); }
  8% { opacity: 0.23; translate: -0.23em 0.49em; rotate: 7.01deg; filter: blur(5.8px); }
  16% { opacity: 0.46; translate: -0.18em 0.28em; rotate: 5.33deg; filter: blur(4.5px); }
  25% { opacity: 0.71; translate: -0.13em 0.14em; rotate: 3.8deg; filter: blur(3.1px); }
  35% { opacity: 1; translate: -0.08em 0.06em; rotate: 2.47deg; filter: blur(1.6px); }
  45% { translate: -0.05em 0.02em; rotate: 1.5deg; filter: blur(0px); }
  55% { translate: -0.03em 0.01em; rotate: 0.82deg; }
  65% { translate: -0.01em 0em; rotate: 0.39deg; }
  75% { translate: 0em 0em; rotate: 0.14deg; }
  87% { translate: 0em 0em; rotate: 0.02deg; }
  100% { translate: 0em 0em; rotate: 0deg; }
}

.reveal:not(.sichtbar) { opacity: 0; }
.reveal.sichtbar { --start: calc(var(--d, 0) * 120ms); }
.reveal.sichtbar:not(.teile), .reveal.sichtbar .kind { animation: textU .95s linear backwards; animation-delay: calc(var(--start) + var(--t, 0) * 1ms); }
.reveal.sichtbar[data-ein^="karte"], .reveal.sichtbar [data-ein^="karte"] { animation-duration: 1.15s; }
.reveal.sichtbar[data-ein^="bild"], .reveal.sichtbar [data-ein^="bild"] { animation-duration: 1.35s; }
.reveal.sichtbar[data-ein="textL"], .reveal.sichtbar [data-ein="textL"] { animation-name: textL; }
.reveal.sichtbar[data-ein="textR"], .reveal.sichtbar [data-ein="textR"] { animation-name: textR; }
.reveal.sichtbar[data-ein="karteL"], .reveal.sichtbar [data-ein="karteL"] { animation-name: karteL; }
.reveal.sichtbar[data-ein="karteR"], .reveal.sichtbar [data-ein="karteR"] { animation-name: karteR; }
.reveal.sichtbar[data-ein="karteU"], .reveal.sichtbar [data-ein="karteU"] { animation-name: karteU; }
.reveal.sichtbar[data-ein="bildL"], .reveal.sichtbar [data-ein="bildL"] { animation-name: bildL; }
.reveal.sichtbar[data-ein="bildR"], .reveal.sichtbar [data-ein="bildR"] { animation-name: bildR; }
.reveal.sichtbar[data-ein="bildU"], .reveal.sichtbar [data-ein="bildU"] { animation-name: bildU; }
.reveal.sichtbar .w { display: inline-block; transform-origin: 0 100%; animation: wortBogen .9s linear backwards; animation-delay: calc(var(--start) + var(--t, 0) * 1ms); }
.no-js .reveal { opacity: 1; }
@media print { .reveal, .reveal * { opacity: 1 !important; animation: none !important; } .seitennav, .maus, .maus-spur, .cookie-banner { display: none !important; } }
/* Erzwungene Farben (z. B. Windows-Kontrastdesign): Verlaufstext wäre sonst unsichtbar */
@media (forced-colors: active) {
  .gradient { -webkit-text-fill-color: currentColor; background: none; }
  .maus, .maus-spur { display: none; }
}

/* Beim Laden: Auftritt des Hero. fill-mode backwards, damit danach wieder die normalen Styles gelten (z. B. Hover) */
@keyframes einAuf { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } }
@keyframes einWort { from { opacity: 0; transform: translateY(.55em) rotate(3deg); filter: blur(10px); } }
@keyframes einKopf { from { opacity: 0; transform: translateY(-100%); } }
@keyframes einLicht { from { opacity: 0; transform: scale(.55); } }
@keyframes einFoto { from { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(14px); } }
@keyframes einHandy { from { opacity: 0; transform: translate(-60px, 90px) rotate(-22deg) scale(.9); } }
@keyframes einKarte { 0% { opacity: 0; transform: translateX(-24px) scale(.85); } 70% { opacity: 1; transform: translateX(3px) scale(1.02); } }
.site-header { animation: einKopf .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero .glow { animation: einLicht 1.8s ease-out backwards; }
.hero .eyebrow { animation: einAuf .8s .1s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero h1 .w { display: inline-block; animation: einWort .8s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(.2s + var(--i) * 70ms); }
.hero .lead { animation: einAuf .9s .75s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero .btn-row > * { animation: einAuf .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero .btn-row > :nth-child(1) { animation-delay: .9s; }
.hero .btn-row > :nth-child(2) { animation-delay: 1s; }
.hero .chips li { animation: einAuf .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero .chips li:nth-child(1) { animation-delay: 1.1s; }
.hero .chips li:nth-child(2) { animation-delay: 1.18s; }
.hero .chips li:nth-child(3) { animation-delay: 1.26s; }
.hero-ring { animation: einLicht 1.6s .2s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-photo { animation: einFoto 1.2s .3s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-phone { animation: einHandy 1.1s .85s cubic-bezier(.2, 1.2, .3, 1) backwards; }
.hero-badge { animation: einKarte .8s 1.35s cubic-bezier(.2, .7, .2, 1) backwards; }
.form-nav > span { flex: 1; text-align: right; font-size: .85rem; color: var(--grey); }
