:root {
    --navy: #283e55;
    --navy-tief: #1c2d3f;
    --orange: #f89944;
    --hell: #eef3f7;
    --text: #283e55;
    --grau: #526477;
    --gruen: #2e8b57;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, Helvetica, sans-serif; color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Kopf */
.kopf { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px);
    background: rgba(40, 62, 85, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.kopf img { height: 27px; width: auto; }
.kopf nav { display: flex; gap: 22px; margin-left: auto; }
.kopf nav a { color: #d9e4ef; text-decoration: none; font-size: 14px; }
.kopf nav a:hover { color: #fff; }
.knopf { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; border-radius: 999px; padding: 12px 24px; font-weight: 600; transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.knopf:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(248, 153, 68, .35); }
.knopf.klein { padding: 8px 18px; font-size: 15px; }
.knopf.gross { padding: 16px 34px; font-size: 18px; }

/* Bühne mit Parallax */
.buehne { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; color: #fff;
    background: radial-gradient(120% 90% at 50% 10%, #3a5878 0%, var(--navy) 45%, var(--navy-tief) 100%); padding: 120px 20px 80px; }
.buehne::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(40% 35% at 75% 25%, rgba(110, 170, 225, .14), transparent 70%), radial-gradient(35% 30% at 15% 35%, rgba(120, 180, 230, .1), transparent 70%); }

/* Deutschlandkarte aus Verleiher-Punkten */
.buehne .karte { position: absolute; right: max(3vw, calc(50% - 680px)); top: 50%; margin-top: -380px; width: 560px; height: 760px; pointer-events: none; will-change: transform; }
.buehne .karte img { width: 560px; height: 700px; }
.buehne .legende { text-align: right; font-size: 13px; color: #c9d6e3; margin-top: 8px; }
.buehne .legende i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 6px 0 16px; vertical-align: middle; }
.buehne .legende i.o { background: #f89944; box-shadow: 0 0 6px rgba(248, 153, 68, .8); }
.buehne .legende i.b { background: rgba(160, 195, 230, .6); }

/* Wellen unten */
.buehne .wellen { position: absolute; left: 0; right: 0; bottom: -2px; height: 22vh; min-height: 140px; pointer-events: none; overflow: hidden; will-change: transform; }
.buehne .wellen svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: drift 38s linear infinite; }
.buehne .wellen .w1 path { fill: rgba(255, 255, 255, .045); }
.buehne .wellen .w2 { animation-duration: 26s; animation-direction: reverse; }
.buehne .wellen .w2 path { fill: rgba(255, 255, 255, .055); }
.buehne .wellen .w3 { animation-duration: 52s; }
.buehne .wellen .w3 path { fill: #1c2d3f; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.buehne h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 700; }
.buehne p { font-size: clamp(18px, 2.2vw, 24px); color: #d9e4ef; max-width: 640px; margin: 0 auto 34px; }
.inhalt-buehne { position: relative; z-index: 2; will-change: transform; }
@media (min-width: 1000px) {
    .buehne { place-items: center start; text-align: left; padding-left: max(5vw, calc(50% - 680px)); }
    .inhalt-buehne { max-width: 620px; }
    .buehne p { margin-left: 0; }
    .buehne h1 { font-size: clamp(48px, 5.6vw, 84px); }
}
.runter { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.runter::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: runter 1.8s infinite; }
@keyframes runter { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Funktionen: Text und Bild im Wechsel */
.funktion { padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 60px); overflow: hidden; }
.funktion:nth-of-type(even) { background: var(--hell); }
.raster { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.funktion.bild-links .raster { grid-template-columns: 7fr 5fr; }
.funktion.bild-links .text { order: 2; }
.marke { color: var(--orange); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
.text h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; }
.text p { font-size: clamp(17px, 1.6vw, 20px); color: var(--grau); margin: 0; }

.buehnenbild { position: relative; }
.buehnenbild .bild { will-change: transform; }
.buehnenbild img { width: 100%; filter: drop-shadow(0 0 0 transparent); }

/* Einflug von links oder rechts, Text von unten */
.einflug { opacity: 0; transition: opacity 1s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.einflug.von-rechts { transform: translateX(120px) rotate(1.5deg); }
.einflug.von-links { transform: translateX(-120px) rotate(-1.5deg); }
.einflug.von-unten { transform: translateY(50px); }
.einflug.sichtbar { opacity: 1; transform: none; }

/* Live-Elemente über den Bildern */
.live { position: absolute; z-index: 2; will-change: transform; }
.funktion.bild-links .live { right: -10px; }
.funktion:not(.bild-links) .live { left: -24px; }
.live.oben { top: 6%; }
.live.unten { bottom: 8%; }
.chip { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; padding: 16px 18px;
    box-shadow: 0 20px 50px rgba(40, 62, 85, .22), 0 2px 6px rgba(40, 62, 85, .08); min-width: 220px; font-size: 14px;
    opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .7s ease .5s, transform .9s cubic-bezier(.16, 1, .3, 1) .5s; }
.sichtbar .chip, .chip.sichtbar { opacity: 1; transform: none; }
.chip .klein { font-size: 12px; color: var(--grau); }
.chip .gross { font-size: 26px; font-weight: 700; line-height: 1.1; }
.punkt-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fa35a; margin-right: 6px; box-shadow: 0 0 0 0 rgba(47, 163, 90, .6); animation: puls 2s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 9px rgba(47, 163, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 163, 90, 0); } }
.zaehler-reihe { display: flex; gap: 18px; margin-top: 8px; }
.zaehler-reihe b { display: block; font-size: 24px; line-height: 1.1; }
.spur { height: 8px; border-radius: 99px; background: #e2e8ee; overflow: hidden; margin: 10px 0 6px; }
.spur i { display: block; height: 100%; width: 0; background: var(--gruen); border-radius: 99px; transition: width .35s ease; }
.fertig { color: #1f7a45; font-weight: 700; }
.farbknopf { margin-top: 8px; border-radius: 10px; padding: 11px 16px; text-align: center; color: #fff; font-weight: 700; background: #1470f5; transition: background-color .6s ease; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.slots span { border: 1px solid #dfe5eb; border-radius: 7px; text-align: center; font-size: 12px; padding: 5px 0; transition: background-color .4s, color .4s, border-color .4s; }
.slots span.an { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; }
.ring { display: flex; align-items: center; gap: 14px; }
.ring svg { width: 70px; height: 70px; transform: rotate(-90deg); }
.ring circle.wert { transition: stroke-dashoffset 1.8s cubic-bezier(.16, 1, .3, 1); }
.pfeil { color: #1f7a45; font-weight: 700; }

/* Ohne WordPress */
.weitere { padding: clamp(70px, 10vw, 140px) 20px; text-align: center; }
.weitere h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.weitere > p { font-size: clamp(17px, 1.6vw, 20px); color: var(--grau); max-width: 640px; margin: 0 auto 40px; }
.kacheln { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.kachel { background: var(--hell); border-radius: 22px; padding: 30px; }
.kachel h3 { margin: 0 0 8px; font-size: 22px; }
.kachel p { margin: 0; color: var(--grau); }

/* Abschluss */
.abschluss { background: var(--navy); color: #fff; text-align: center; padding: clamp(80px, 10vw, 140px) 20px; }
.abschluss h2 { font-size: clamp(32px, 5vw, 56px); margin: 0 0 16px; line-height: 1.1; }
.abschluss p { color: #d9e4ef; font-size: 20px; margin: 0 auto 32px; max-width: 560px; }
footer { background: var(--navy-tief); color: #8a99a8; text-align: center; font-size: 13px; padding: 28px 20px; }
footer a { color: #b8c4d0; }

/* Icons */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }

/* Begrüßung aus der Mail */
.hallo { display: inline-block; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 7px 18px; font-size: 15px; margin-bottom: 22px; color: #fff; }
.nachfrage { display: inline-block; margin: -14px auto 30px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid var(--orange); border-radius: 12px; padding: 10px 18px; color: #d9e4ef; font-size: 16px; backdrop-filter: blur(6px); }
.nachfrage b { color: #fff; }

/* In 3 Schritten */
.schritte { padding: clamp(60px, 8vw, 110px) 20px; text-align: center; }
.schritte h2, .cockpit-kopf h2, .ersetzt h2, .weitere h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.schritte-raster { max-width: 1100px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: schritt; }
.schritt { background: var(--hell); border-radius: 22px; padding: 30px 26px; text-align: left; position: relative; }
.schritt .icon { width: 30px; height: 30px; color: var(--orange); }
.schritt h3 { margin: 14px 0 6px; font-size: 21px; }
.schritt h3::before { counter-increment: schritt; content: counter(schritt) ". "; color: var(--orange); }
.schritt p { margin: 0; color: var(--grau); }
.schritte-raster .einflug:nth-child(2) { transition-delay: .15s; }
.schritte-raster .einflug:nth-child(3) { transition-delay: .3s; }

/* Google-Cockpit */
.cockpit-kopf { background: var(--navy); color: #fff; text-align: center; padding: clamp(80px, 10vw, 140px) 20px clamp(150px, 15vw, 220px); position: relative; overflow: hidden; }
.cockpit-kopf .raster-bg { position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.cockpit-kopf .kurven { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(120px, 13vw, 190px); pointer-events: none; }
.cockpit-kopf .kurven .linie { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.16, 1, .3, 1) .3s; }
.cockpit-kopf .kurven .eins { stroke: rgba(248, 153, 68, .6); stroke-width: 3; }
.cockpit-kopf .kurven .zwei { stroke: rgba(155, 107, 240, .4); stroke-width: 2.5; transition-delay: .7s; }
.cockpit-kopf .kurven .flaeche { opacity: 0; transition: opacity 1.4s ease 1.2s; }
.cockpit-kopf:has(.sichtbar) .kurven .linie { stroke-dashoffset: 0; }
.cockpit-kopf:has(.sichtbar) .kurven .flaeche { opacity: 1; }
.cockpit-kopf > .einflug { position: relative; z-index: 1; }
.cockpit-kopf p { color: #d9e4ef; font-size: clamp(17px, 1.6vw, 20px); max-width: 680px; margin: 0 auto; }
.premium { display: inline-block; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 7px; margin-bottom: 16px; }
.cockpit-kopf .unter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.cockpit-kopf .unter a { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.cockpit-kopf .unter a:hover { background: rgba(255, 255, 255, .1); }

/* Weitere Live-Elemente */
.minikurve { width: 100%; height: 50px; display: block; margin: 6px 0 4px; }
.minikurve path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s cubic-bezier(.16, 1, .3, 1); }
.minikurve.zeichnen path { stroke-dashoffset: 0; }
.minireiter { display: inline-flex; background: #eef2f6; border-radius: 9px; padding: 3px; font-size: 12px; font-weight: 600; }
.minireiter span { padding: 5px 9px; border-radius: 7px; transition: background-color .3s, color .3s; }
.minireiter span.an { background: var(--navy); color: #fff; }
.tippfeld { background: #f4f6f8; border-radius: 9px; padding: 9px 11px; margin-top: 8px; min-height: 44px; font-size: 14px; font-weight: 600; }
.cursor { display: inline-block; width: 2px; height: 16px; background: var(--navy); vertical-align: -3px; margin-left: 1px; animation: blinken 1s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }
.eingetragen { margin-top: 8px; background: #e8f5ec; color: #1f7a45; border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.eingetragen.an { opacity: 1; transform: none; }
.ampel { height: 6px; border-radius: 9px; background: linear-gradient(90deg, #9fd7a9 0 45%, #f2dc8f 45% 72%, #eea3a3 72%); position: relative; margin: 8px 0 6px; }
.ampel i { position: absolute; top: -4px; left: 55%; width: 4px; height: 14px; border-radius: 2px; background: var(--navy); transition: left 1.6s cubic-bezier(.16, 1, .3, 1); }
.hakenliste div { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; font-weight: 600; opacity: .35; transition: opacity .4s; }
.hakenliste div::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfd6de; flex: none; transition: background-color .3s, border-color .3s; }
.hakenliste div.an { opacity: 1; }
.hakenliste div.an::before { background: #22a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.485 1.431a1.473 1.473 0 0 1 2.104 2.062l-7.84 9.801a1.473 1.473 0 0 1-2.12.04L.431 8.138a1.473 1.473 0 0 1 2.084-2.083l4.111 4.112 6.82-8.69a.486.486 0 0 1 .04-.045z'/%3E%3C/svg%3E") center/11px no-repeat; border-color: #22a34a; }

/* Das brauchst du nicht mehr */
.ersetzt { padding: clamp(70px, 10vw, 140px) 20px; background: var(--hell); }
.ersetzt-kopf { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.ersetzt-kopf p { font-size: clamp(17px, 1.6vw, 20px); color: var(--grau); margin: 0; }
.ersetzt-raster { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.alt-liste { background: #fff; border-radius: 22px; padding: 26px 28px; box-shadow: 0 20px 50px rgba(40, 62, 85, .08); }
.alt-liste .titel { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); font-weight: 700; margin-bottom: 10px; }
.alt-liste li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef1f4; font-size: 16px; position: relative; transition: color .5s; }
.alt-liste li:last-child { border: 0; }
.alt-liste ul { margin: 0; padding: 0; }
.alt-liste li .icon { color: #8a99a8; width: 18px; height: 18px; }
.alt-liste li em { font-style: normal; background: linear-gradient(#c0392b, #c0392b) no-repeat 0 58% / 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .5s ease; }
.alt-liste li.weg { color: #a5b1bd; }
.alt-liste li.weg em { background-size: 100% 2px; }
.alt-liste li .x { margin-left: auto; color: #c0392b; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .3s; }
.alt-liste li.weg .x { opacity: 1; transform: none; }
.neu-karte { background: var(--navy); color: #fff; border-radius: 26px; padding: 34px 30px; text-align: center; box-shadow: 0 30px 60px rgba(40, 62, 85, .3); }
.neu-karte img { height: 46px; width: auto; margin: 0 auto 16px; }
.neu-karte h3 { font-size: 28px; margin: 0 0 10px; line-height: 1.15; }
.neu-karte p { color: #d9e4ef; margin: 0 0 22px; }

/* Zahlen */
.zahlen { padding: clamp(60px, 8vw, 100px) 20px; text-align: center; }
.zahlen-raster { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zahlen-raster b { display: block; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.zahlen-raster span { color: var(--grau); font-size: 17px; }

@media (max-width: 999px) {
    .buehne .karte { left: 50%; right: auto; margin-left: -280px; opacity: .45; }
    .buehne .legende { display: none; }
}
@media (max-width: 860px) {
    .schritte-raster, .ersetzt-raster, .zahlen-raster { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .kopf nav { display: none; }
    .raster, .funktion.bild-links .raster { grid-template-columns: 1fr; }
    .funktion.bild-links .text { order: 0; }
    .text { text-align: center; }
    .einflug.von-rechts, .einflug.von-links { transform: translateY(50px); }
    .einflug.sichtbar { transform: none; }
    .live, .funktion.bild-links .live, .funktion:not(.bild-links) .live { left: auto; right: 8px; }
    .live.oben { top: auto; bottom: -20px; }
    .chip { min-width: 0; padding: 12px 14px; font-size: 13px; }
    .chip .gross { font-size: 22px; }
    .kacheln { grid-template-columns: 1fr; }
    .buehnenbild .bild { margin: 0 -8%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .einflug, .chip { opacity: 1; transform: none !important; transition: none; }
    .runter::after, .punkt-live, .buehne .wellen svg { animation: none; }
    .cockpit-kopf .kurven .linie { stroke-dashoffset: 0; }
    .cockpit-kopf .kurven .flaeche { opacity: 1; }
}
