/* Warum ueber Automakler: Varianten 1-5 (nur geladen, wenn gewaehlt) */
.ah{padding:96px 0;border-top:1px solid var(--line)}.ah .sub{max-width:34em}
.ah .verguetung{margin-top:48px}
/* 5: Scroll-Buehne (links Punkte, rechts Erklaerung mit Grafik); Animationen laufen einmal beim Aktivieren */
.ah5{padding:0}.ah5-kopf{padding-top:56px;padding-bottom:20px}.ah5-szene{margin-top:0}
.ah5-liste{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ah5-b{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;padding:11px 16px;border-radius:12px;border:1px solid var(--line);background:#111;color:#8f8f8f;font:700 .98rem/1.2 var(--head);cursor:pointer;transition:background .4s,color .4s,border-color .4s,transform .45s var(--ease-x)}
.ah5-b b{flex:none;min-width:1.6em;font-size:.82em;color:var(--accent);transition:color .4s}
.ah5-b.done{color:#cfcfcf;border-color:rgba(254,124,2,.45)}.ah5-b.done b{font-size:0}.ah5-b.done b::before{content:"✓";font-size:.95rem}
.ah5-b.on{background:var(--accent);border-color:var(--accent);color:#0a0a0a;transform:translateX(10px)}.ah5-b.on b{color:#0a0a0a;font-size:.82em}.ah5-b.on b::before{content:none}
.ah5-b:focus-visible{outline:2px solid #fff;outline-offset:2px}
.ah5-buehne{position:relative;margin-top:18px;padding:26px;border-radius:24px;border:1px solid var(--line);background:radial-gradient(110% 80% at 80% 0,rgba(254,124,2,.16),transparent 62%),#0e0e0e;overflow:hidden}
.ah5-pane{margin-bottom:34px}.ah5-pane:last-of-type{margin-bottom:0}
.ah5-g{display:flex;align-items:center;justify-content:center;min-height:250px;color:var(--accent);margin-bottom:16px}
.ah5-pane h3{margin:0 0 .35em;font-size:clamp(1.35rem,3vw,1.9rem);letter-spacing:-.03em;line-height:1.12}.ah5-pane p{margin:0;color:var(--muted);max-width:32em}
.ah5-hinweis{position:absolute;right:16px;bottom:10px;margin:0;font-size:.68rem;letter-spacing:.04em;color:#5d5d5d}
.ah5-svg{display:block;width:100%;max-width:420px;height:auto;max-height:260px}.ah5-karte{max-width:310px}
/* Foto-Szene */
.ah5-foto{width:100%}.ah5-rahmen{position:relative;border-radius:14px;overflow:hidden;aspect-ratio:16/8.6;background:#000}
.ah5-rahmen img{display:block;width:100%;height:100%;object-fit:cover}.ah5-erg{position:absolute;inset:0}
.ah5-ecke{position:absolute;width:26px;height:26px;border:3px solid #fff;opacity:.85}.e1{left:12px;top:12px;border-right:0;border-bottom:0}.e2{right:12px;top:12px;border-left:0;border-bottom:0}.e3{left:12px;bottom:12px;border-right:0;border-top:0}.e4{right:12px;bottom:12px;border-left:0;border-top:0}
.ah5-blitz{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
.ah5-cap{position:absolute;left:14px;bottom:14px;padding:.3em .85em;border-radius:999px;background:rgba(10,10,10,.82);color:#fff;font:700 .74rem var(--sans)}.c2{opacity:0}
/* SVG-Bausteine */
.ah5-land{opacity:.3}.ah5-bogen{fill:none;stroke:var(--accent);stroke-width:1.6;stroke-dasharray:1;stroke-dashoffset:0}.ah5-ort text{opacity:.9}
.ah5-ring{fill:none;stroke:var(--accent);transform-origin:center;transform-box:fill-box}
.ah5-fuell{stroke-dasharray:1;stroke-dashoffset:.3}.ah5-sl{stroke-width:5}
.ah5-schild{fill:rgba(254,124,2,.1);stroke-dasharray:1}.ah5-haken{stroke-dasharray:1;stroke-width:3.5}.ah5-well{fill:none;stroke-width:1.5;opacity:0;transform-origin:center;transform-box:fill-box}
.ah5-fahrt{stroke-dasharray:.02 1;stroke-dashoffset:0}.ah5-ziel{fill:none;stroke-width:2.5}.ah5-lauf2{stroke-dasharray:1;stroke-dashoffset:0}
.ah5-st circle:first-child{fill:#0f0f0f}
@media (prefers-reduced-motion:no-preference){
.js .ah5-pane.on .ah5-g{animation:ah5g .7s var(--ease-x) both}@keyframes ah5g{from{opacity:0;transform:scale(.94) translateY(12px)}}
.js .ah5-pane.on h3{animation:ah5t .6s .15s var(--ease-x) both}.js .ah5-pane.on p{animation:ah5t .6s .27s var(--ease-x) both}@keyframes ah5t{from{opacity:0;transform:translateY(12px)}}
/* Foto: Aufnahme, Blitz, Ergebnis */
.js .ah5-pane.on .ah5-erg{animation:ah5e .9s 2.1s ease both}@keyframes ah5e{from{opacity:0}}
.js .ah5-pane.on .ah5-blitz{animation:ah5b .9s 1.9s ease-out both}@keyframes ah5b{0%{opacity:0}12%{opacity:.95}100%{opacity:0}}
.js .ah5-pane.on .c1{animation:ah5c1 .5s 2.1s ease forwards}@keyframes ah5c1{to{opacity:0}}.js .ah5-pane.on .c2{animation:ah5c2 .6s 2.5s ease forwards}@keyframes ah5c2{to{opacity:1}}
.js .ah5-pane.on .ah5-ecke{animation:ah5k 1.6s .2s ease both}@keyframes ah5k{from{transform:scale(1.5);opacity:0}60%{transform:scale(1);opacity:1}}
/* Europa */
.js .ah5-pane.on .ah5-land{animation:ah5l 1s ease both}@keyframes ah5l{from{opacity:0}}
.js .ah5-pane.on .ah5-bogen{animation:ah5d 1.1s ease both}@keyframes ah5d{from{stroke-dashoffset:1}}
.js .ah5-pane.on .ah5-bogen:nth-of-type(2){animation-delay:.35s}.js .ah5-pane.on .ah5-bogen:nth-of-type(3){animation-delay:.5s}.js .ah5-pane.on .ah5-bogen:nth-of-type(4){animation-delay:.65s}.js .ah5-pane.on .ah5-bogen:nth-of-type(5){animation-delay:.8s}.js .ah5-pane.on .ah5-bogen:nth-of-type(6){animation-delay:.95s}.js .ah5-pane.on .ah5-bogen:nth-of-type(7){animation-delay:1.1s}
.js .ah5-pane.on .ah5-ort{animation:ah5t .6s 1.4s ease both}.js .ah5-pane.on .ah5-ring{animation:ah5r 2.4s 1s ease-out infinite}@keyframes ah5r{from{transform:scale(1);opacity:.9}to{transform:scale(4);opacity:0}}
/* Finanzierung */
.js .ah5-pane.on .ah5-fuell{animation:ah5f 1.6s .3s var(--ease-x) both}@keyframes ah5f{from{stroke-dashoffset:1}}
.js .ah5-pane.on .ah5-sl{animation:ah5s 1.2s .5s var(--ease-x) both;transform-origin:left;transform-box:fill-box}@keyframes ah5s{from{transform:scaleX(.05)}}
.js .ah5-pane.on .ah5-kn{animation:ah5n 1.2s .5s var(--ease-x) both}@keyframes ah5n{from{transform:translateX(-90px)}}
/* Inzahlungnahme */
.js .ah5-pane.on .ah5-t1{animation:ah5a .7s .15s var(--ease-x) both}@keyframes ah5a{from{opacity:0;transform:translateX(-24px)}}
.js .ah5-pane.on .ah5-pfeil{animation:ah5t .5s .8s ease both}.js .ah5-pane.on .ah5-t2{animation:ah5nn .7s 1s var(--ease-x) both}@keyframes ah5nn{from{opacity:0;transform:translateX(24px)}}
.ah5-badge{transform-box:fill-box;transform-origin:center}.js .ah5-pane.on .ah5-badge{animation:ah5bd .45s 1.7s ease both}@keyframes ah5bd{from{opacity:0;transform:scale(.2)}}
.js .ah5-pane.on .ah5-haken{animation:ah5h 1s 2.2s ease both}@keyframes ah5h{from{stroke-dashoffset:1}}
/* Garantie */
.js .ah5-pane.on .ah5-schild{animation:ah5d 1.2s ease both,ah5sf .8s 1s ease both}@keyframes ah5sf{from{fill:rgba(254,124,2,0)}}
.js .ah5-pane.on .ah5-well{animation:ah5w 2.6s 1.4s ease-out infinite}.js .ah5-pane.on .ah5-well.w2{animation-delay:2.7s}@keyframes ah5w{from{opacity:.7;transform:scale(1.3)}to{opacity:0;transform:scale(3.6)}}
.js .ah5-pane.on .ah5-haken{animation-delay:.9s}
/* Zulassung und Lieferung */
.js .ah5-pane.on .ah5-strasse{animation:ah5sr 1.1s linear infinite}@keyframes ah5sr{to{stroke-dashoffset:-14}}
.ah5-auge,.ah5-lid{transform-box:fill-box;transform-origin:center}.ah5-auge{opacity:0}
.js .ah5-pane.on .ah5-auge{animation:ah5ae 3s .9s ease both}@keyframes ah5ae{0%{opacity:0;transform:scale(.8)}14%,80%{opacity:1;transform:none}100%{opacity:0;transform:scale(.9)}}
.js .ah5-pane.on .ah5-lid{animation:ah5z 3s .9s ease-in-out both}@keyframes ah5z{0%,44%,64%,100%{transform:scaleY(1)}54%{transform:scaleY(.06)}}
.js .ah5-pane.on .ah5-kenn{animation:ah5t .7s .3s ease both}.js .ah5-pane.on .ah5-ziel{animation:ah5r 2s 2s ease-out infinite;transform-origin:center;transform-box:fill-box}
/* Abwicklung */
.js .ah5-pane.on .ah5-lauf2{animation:ah5d 2.8s .3s ease both}
.js .ah5-pane.on .ah5-st{animation:ah5t .5s ease both}.js .ah5-pane.on .ah5-st:nth-of-type(3){animation-delay:.2s}.js .ah5-pane.on .ah5-st:nth-of-type(4){animation-delay:1.1s}
.js .ah5-pane.on .ah5-ok{animation:ah5p .5s 1.2s var(--ease-x) both}.js .ah5-pane.on .ah5-st:nth-of-type(4) .ah5-ok{animation-delay:2s}.js .ah5-pane.on .ah5-st:nth-of-type(5) .ah5-ok{animation-delay:2.8s}.js .ah5-pane.on .ah5-st:nth-of-type(5){animation-delay:2s}
@keyframes ah5p{from{opacity:0;transform:scale(0)}}.ah5-ok{transform-origin:center;transform-box:fill-box}
}
/* mit JS: hohe Szene, Buehne klebt oben, Scrollen blaettert durch */
.js .ah5-szene{height:calc(7 * 62vh + 40vh)}.js .ah5-halter{position:sticky;top:72px;height:calc(100svh - 72px);display:flex;flex-direction:column;justify-content:center}.js .ah5-kopf{width:100%;max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,32px) 14px;box-sizing:border-box}.ah5-kopf .eyebrow{margin-bottom:.4em}.ah5-kopf .h-xl{font-size:clamp(1.7rem,3.6vw,2.9rem);margin:0 0 .25em}.ah5-kopf .sub{font-size:.98rem;margin:0}
.js .ah5-in{width:100%;max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.js .ah5-buehne{display:grid;margin-top:14px}.js .ah5-pane{grid-area:1/1;margin:0;opacity:0;visibility:hidden;transition:opacity .4s,visibility 0s .4s}.js .ah5-pane.on{opacity:1;visibility:visible;transition:opacity .4s}
@media (min-width:860px){
  .js .ah5-in{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:44px;align-items:stretch}.js .ah5-liste{grid-auto-rows:1fr}.js .ah5-b{height:100%}.js .ah5-buehne{margin-top:0;padding:36px}.ah5-g{min-height:280px}
}
@media (max-width:859px){.js .ah5-liste{grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;gap:6px;scrollbar-width:none}.js .ah5-liste::-webkit-scrollbar{display:none}.js .ah5-b{width:auto;padding:9px 12px}.js .ah5-b span{display:none}.js .ah5-b.on span{display:inline}.js .ah5-b.on{transform:none}.js .ah5-buehne{padding:18px}.ah5-g{min-height:190px}.ah5-svg{max-height:200px}}
@media (max-height:760px){.ah5-kopf .sub{display:none}}@media (max-height:700px){.ah5-g{min-height:180px}.ah5-svg{max-height:190px}.ah5-karte{max-width:230px}}
@media (min-width:860px){.ah{padding:140px 0}.ah5{padding-bottom:0}}
@media (prefers-reduced-motion:reduce){.ah3-lauf,.ah4-liste details p{animation:none}.ah5-pane{transition:none}.ah5-fahrt{stroke-dasharray:1}.ah5-erg{opacity:1}.ah5-cap.c1{opacity:0}.ah5-cap.c2{opacity:1}}

/* Stil-Varianten der Buehne (1 = Standard: Liste links, Buehne rechts) */
.ah5-pane{position:relative}.ah5-pane>*{position:relative;z-index:1}
@media (min-width:860px){
/* 2: gespiegelt, Liste rechts mit rechtsbuendigen Bloecken */
.js .ah5-s2 .ah5-in{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}.js .ah5-s2 .ah5-liste{order:2}
.ah5-s2 .ah5-b{flex-direction:row-reverse;text-align:right}.ah5-s2 .ah5-b.on{transform:translateX(-10px)}.ah5-s2 .ah5-buehne{background:radial-gradient(110% 80% at 15% 0,rgba(254,124,2,.2),transparent 62%),#0e0e0e}
/* 3: Grosse Zeilen mit Plus/Minus (wie die Aufklapp-Liste), Buehne rechts ohne Rahmen */
.ah5-s3 .ah5-liste{gap:0}.ah5-s3 .ah5-liste li{border-top:1px solid #262626}.ah5-s3 .ah5-liste li:last-child{border-bottom:1px solid #262626}
.ah5-s3 .ah5-b{border:0;border-radius:0;background:none;padding:16px 0;position:relative;font:800 clamp(1.1rem,2.1vw,1.5rem)/1.1 var(--head);letter-spacing:-.025em;color:#7a7a7a;transform:none;height:auto}
.ah5-s3 .ah5-b b{font-size:.6em;min-width:2.2em}.ah5-s3 .ah5-b.done{color:#d0d0d0;border:0}.ah5-s3 .ah5-b.done b{font-size:.6em}.ah5-s3 .ah5-b.done b::before{content:none}
.ah5-s3 .ah5-b.on{background:none;color:#fff;transform:none}
.ah5-s3 .ah5-buehne{background:radial-gradient(100% 80% at 80% 10%,rgba(254,124,2,.14),transparent 65%);border:0;padding:8px 0 8px 12px}
/* 4: Zeitstrahl: schlanke Schiene links, grosse Nummer hinter der Buehne */
.ah5-s4 .ah5-liste{position:relative;gap:0;padding-left:4px}.ah5-s4 .ah5-liste::before,.ah5-s4 .ah5-liste::after{content:"";position:absolute;left:9px;top:22px;width:2px}
.ah5-s4 .ah5-liste::before{bottom:22px;background:#262626}.ah5-s4 .ah5-liste::after{height:calc((100% - 44px) * var(--p,0));background:linear-gradient(180deg,#ffb066,var(--accent));transition:height .5s var(--ease-x)}
.ah5-s4 .ah5-b{background:none;border:0;border-radius:0;padding:12px 0 12px 34px;position:relative;font-size:1.02rem;color:#7d7d7d}.ah5-s4 .ah5-b b{display:none}
.ah5-s4 .ah5-b::before{content:"";position:absolute;left:3px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:#0a0a0a;border:2px solid #3a3a3a;transition:.4s}
.ah5-s4 .ah5-b.done{color:#cfcfcf;border:0}.ah5-s4 .ah5-b.done::before,.ah5-s4 .ah5-b.on::before{border-color:var(--accent);background:var(--accent)}.ah5-s4 .ah5-b.on::before{box-shadow:0 0 0 6px rgba(254,124,2,.22)}
.ah5-s4 .ah5-b.on{background:none;color:#fff;transform:none;font-size:1.3rem;padding-left:38px}
.ah5-s4 .ah5-buehne{background:none;border:0;padding:0 0 0 24px;overflow:visible}.ah5-s4 .ah5-pane::before{content:attr(data-nr);position:absolute;right:-4px;top:-26px;z-index:0;font:800 clamp(8rem,17vw,16rem)/1 var(--head);letter-spacing:-.06em;color:transparent;-webkit-text-stroke:1.5px rgba(254,124,2,.28);pointer-events:none}
.ah5-pane p.vh{position:absolute}.ah5-s4 .ah5-g{justify-content:flex-start}.ah5-s4 .ah5-svg{margin:0;max-width:340px}
/* 5: Foto-Glas */
.ah5-s5{background:linear-gradient(rgba(10,10,10,.84),rgba(10,10,10,.93)),url(/static/img/foto/moment-porsche-1600.jpg) center/cover no-repeat}
.ah5-s5 .ah5-b{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#d2d2d2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ah5-s5 .ah5-b.on{background:var(--accent);color:#0a0a0a}
.ah5-s5 .ah5-buehne{background:rgba(14,14,14,.55);border-color:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
}
/* Uebergang zur naechsten Sektion: Buehne nur so hoch wie ihr Inhalt (kein hoehenabhaengiger Leerraum), dazu Leuchtlinie und warmer Schimmer als Bruecke */
.js .ah5-halter{height:auto;justify-content:flex-start;top:76px;padding-bottom:8px}.js .ah5-szene{margin-bottom:0}
.ah5 + .sektion{padding-top:72px;background-image:radial-gradient(60% 260px at 50% 0,rgba(254,124,2,.11),transparent 72%)}
.ah5 + .sektion::before{content:"";display:block;width:min(560px,70%);height:1px;margin:0 auto 64px;background:linear-gradient(90deg,transparent,var(--accent),transparent);box-shadow:0 0 28px 3px rgba(254,124,2,.4);opacity:.7}
/* Ueberschrift unter der Grafik mittig (Zeitstrahl-Variante bleibt linksbuendig) */
.ah5-pane h3{text-align:center}.ah5-s4 .ah5-pane h3{text-align:left}
/* Handy: Buehne vertikal mittig mit mehr Luft statt oben eingequetscht */
@media (max-width:859px){
.js .ah5-halter{height:calc(100svh - 76px);justify-content:center;gap:22px;padding:8px 0 16px}
.js .ah5-kopf{padding-bottom:0}.ah5-kopf .h-xl{font-size:clamp(1.6rem,7vw,2.1rem);line-height:1.08}.ah5-kopf .sub{display:none}
.js .ah5-in{display:flex;flex-direction:column;gap:22px}
.js .ah5-liste{padding:4px 0}.js .ah5-b{padding:11px 16px;font-size:.95rem}
.js .ah5-buehne{margin:0;padding:24px 22px 28px;min-height:min(58svh,460px);align-content:center}
.ah5-g{min-height:220px;margin-bottom:20px}.ah5-svg{max-height:240px}.ah5-pane h3{font-size:1.4rem}.ah5-pane p{font-size:1rem;line-height:1.55}
}
/* gruene Haken an den Stationen (Abwicklung) */
.ah5-st .ah5-ok circle:first-child{fill:#2fbf71}
