/* Measurements and SVGs read from Startseite V3 through OpenPencil MCP. */
.hero{position:relative;isolation:isolate;overflow:hidden;background:#153f50}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(5,18,29,.82) 0,rgba(5,18,29,.62) 88px,rgba(5,18,29,.22) 160px,transparent 240px),linear-gradient(0deg,white,transparent 30%),linear-gradient(90deg,#0a1524 0%,#0a1524e8 22%,#0a152466 53%,transparent 78%);pointer-events:none}
#hero-video-toggle{position:absolute;right:24px;top:104px;background:#153f50b3;padding:8px 12px;font-size:12px}
.services{gap:15px}.services button{position:relative;overflow:hidden;display:block;padding:22px 20px 24px;min-height:168px;border-radius:14px}
.service-icon{display:block;width:30px;height:30px;margin-bottom:30px;line-height:0}.service-icon img{width:30px;height:30px}
.services b{display:block;position:relative;font-size:18px;line-height:25px;margin-bottom:9px;z-index:1}.services button>span:last-of-type{display:block;font-size:15px;line-height:21px}
.service-decoration{position:absolute;right:10px;top:10px;width:76px;height:76px;pointer-events:none}
.benefits{padding:0;gap:0;margin-top:-48px;border-radius:18px;overflow:hidden}.benefits article{padding:24px 28px;min-height:236px;border:1px solid #eaf0f2}
.benefits article>span{display:block;width:40px;height:40px}.benefits article>span img{width:40px;height:40px;display:block}
.benefits h3{margin:18px 0 10px;font-size:20px;line-height:28px}.benefits p{font-size:16px;line-height:22px;color:var(--ink);margin:0}.why{padding-bottom:32px}
footer h3{color:#a6e2bd}
@media(max-width:1100px){.services b{font-size:15px}.services button{padding-inline:16px}.benefits article{padding:24px 18px}}
@media(max-width:760px){.hero-explainer-link{left:50%;bottom:30px}.services b{font-size:16px}.benefits{margin-top:-20px}.benefits article{min-height:236px}.hero{min-height:780px}}
@media(max-width:420px){.benefits{grid-template-columns:1fr}.benefits article{min-height:0}.services button>span:last-of-type{font-size:13px}}
@media(min-width:1101px){
 .vehicle{min-height:566px}.vehicle-body{padding:24px 26px 20px}.vehicle h3{font-size:22px;line-height:28px;margin-bottom:18px}.vehicle p{font-size:15px;line-height:19px;margin-bottom:12px}.rating{margin:24px 0 22px;font-size:21px;line-height:26px}.vehicle-bottom{border:0;padding-top:0}.vehicle-bottom small{font-size:14px;line-height:18px;margin-bottom:3px}.vehicle-bottom strong{font-size:30px;line-height:38px}.vehicle-bottom button{min-height:46px;min-width:112px}
 .subscriptions{position:relative;padding-top:64px;padding-bottom:56px}.subscriptions>h2{font-size:36px;line-height:50px;margin-bottom:22px}.subscriptions>p:first-of-type{position:absolute;right:0;top:78px;margin:0}.plans{margin-top:0;gap:25px}.plan{min-height:620px}
}
.photo>span{left:20px;top:20px;right:auto;bottom:auto;border-radius:14px}.favorite{top:20px;right:20px;width:40px;height:40px}
.gallery-position{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);display:flex;gap:5px;background:#153f5080;border-radius:12px;padding:5px 8px}.gallery-position i{display:block;width:6px;height:6px;border-radius:50%;background:#ffffff70}.gallery-position i:first-child{background:white}
.video-modal{max-width:800px}.video-modal video{display:block;width:100%;aspect-ratio:16/9;background:#0b2d43}.video-modal h2{font-size:24px;padding-right:20px}
/* Interaction polish requested for the standalone preview. */
.hero-explainer-link{left:72%;bottom:clamp(100px,18vh,180px)}
.brands button{flex:1;min-width:0}.brands img{width:68px;height:52px;object-fit:contain}
.brands [data-brand="Ford"] img{width:96px;transform:scale(1.3)}
.brands [data-brand="Audi"] img{width:82px}.brands [data-brand="Volkswagen"] img{width:52px}.brands [data-brand="BMW"] img{width:54px}
.vehicle{border:0;border-radius:18px;overflow:hidden;isolation:isolate;box-shadow:0 0 0 1px #153f5012,0 8px 24px #153f500a}.photo{overflow:hidden;border-radius:18px 18px 0 0}.photo>img{display:block}
.favorite{display:grid;place-items:center;width:40px;height:40px;background:#fff;color:#153f50;box-shadow:0 2px 10px #102c4020;transition:background .2s,color .2s,transform .2s}.favorite svg{width:22px;height:22px;overflow:visible;fill:transparent;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:fill .2s}.favorite:hover{transform:translateY(-2px);filter:none}.favorite[aria-pressed=true]{color:#df3b56;background:#fff5f7}.favorite[aria-pressed=true] svg{fill:currentColor;animation:favorite-pop .4s ease-out}
@keyframes favorite-pop{0%{transform:scale(.8)}45%{transform:scale(1.25)}75%{transform:scale(.95)}100%{transform:scale(1)}}
.vehicle-bottom button{border:1px solid #a6d5bd;border-radius:999px;background:linear-gradient(180deg,#397865,#285c55);color:#fff;font-size:14px;font-weight:700;min-width:112px;padding:12px 20px;transition:background .2s,box-shadow .2s,transform .2s}.vehicle-bottom button:hover{filter:none;background:#397d68;box-shadow:0 4px 12px #071f3528;transform:translateY(-1px)}
.video-modal{background:#102b39;color:#fff;padding:28px;max-width:900px;border:1px solid #ffffff20;border-radius:24px}.video-modal #close-modal{color:#dcece8;border-radius:50%;background:#ffffff12;right:16px;top:16px;width:36px;height:36px;line-height:28px;padding:0}.video-modal h2{font-size:20px;line-height:1.4;margin-bottom:20px;padding-right:32px;letter-spacing:0}.video-player{overflow:hidden;border-radius:14px;background:#071b26}.player-controls{display:flex;align-items:center;gap:12px;padding:14px 16px;color:#edf9f4;background:#173b47}.player-controls button{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;padding:8px;border-radius:10px;background:transparent;color:inherit}.player-controls button:hover{background:#ffffff15}.player-controls svg{width:20px;height:20px;fill:currentColor;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.player-time{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.player-controls input{accent-color:#a6e2bd;cursor:pointer;min-width:0;height:6px}.player-seek{flex:1}.player-volume{width:64px}.player-mute[aria-pressed=true] .sound-waves{opacity:.2}.video-modal .player-status{margin:0;padding:12px 16px;color:#dcece8;font-size:13px}.video-player:fullscreen{display:flex;flex-direction:column;justify-content:center;border-radius:0}.video-player:fullscreen video{min-height:0;flex:1;object-fit:contain}.video-player:fullscreen .player-controls{flex-shrink:0}
@media(max-width:1100px){.hero-explainer-link{left:75%;bottom:110px}.brands{gap:8px}.brands button{font-size:12px}.brands [data-brand="Ford"] img{width:70px}}
@media(max-width:760px){.hero-explainer-link{left:50%;bottom:90px}.brands button{flex:0 0 26%;min-width:78px}.video-modal{padding:16px;border-radius:18px}.video-modal h2{font-size:17px;margin:4px 0 18px}.player-controls{gap:6px;padding:10px 8px;flex-wrap:wrap}.player-seek{order:-1;flex:0 0 100%;width:100%;margin-bottom:6px}.player-time{margin-right:auto}.player-volume{width:48px}}
@media(prefers-reduced-motion:reduce){.favorite,.favorite svg,.vehicle-bottom button{animation:none!important;transition:none;transform:none}}
/* Compact mobile brands and restrained interaction motion. */
.services button,.plan,.brands button{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
.brands button{border-radius:10px}.brands button[aria-pressed=true]{box-shadow:inset 0 -2px #a6e2bd;background:#ffffff0c}
button:active{scale:.98}
@media(hover:hover) and (pointer:fine){.plan:hover{transform:translateY(-4px);box-shadow:0 12px 26px #153f501c}.brands button:hover{background:#ffffff0c;transform:translateY(-2px)}}
@media(prefers-reduced-motion:no-preference){
 dialog[open]{animation:dialog-enter .22s ease-out}dialog[open]::backdrop{animation:backdrop-enter .22s ease-out}
 .hero-content>h1,.hero-content>p,.hero-content>button{animation:hero-enter .55s ease-out both}.hero-content>p{animation-delay:.08s}.hero-content>button{animation-delay:.16s}
}
@keyframes dialog-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes backdrop-enter{from{opacity:0}to{opacity:1}}
@keyframes hero-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(max-width:760px){
 .brands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;padding:14px 10px;min-height:0;border-radius:16px;margin-bottom:24px}
 .brands button{width:100%;min-width:0;min-height:82px;padding:8px 2px;gap:6px;font-size:12px;line-height:16px;justify-content:flex-start}
 .brands img{height:36px;width:52px;flex-shrink:0}.brands [data-brand="Audi"] img{width:64px}.brands [data-brand="Ford"] img{width:62px;transform:scale(1.2)}.brands [data-brand="Volkswagen"] img,.brands [data-brand="BMW"] img{width:40px}
 #navigation{display:flex;opacity:0;visibility:hidden;transform:translateY(-10px) scale(.98);transform-origin:top right;pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s;box-shadow:0 16px 40px #061a3840;border:1px solid #ffffff20;background:#153f50f7;backdrop-filter:blur(16px);gap:8px;padding:16px}
 #navigation.open{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition-delay:0s}
 #navigation>a,#navigation>button{min-height:44px;border-radius:8px}#navigation>a:hover{background:#ffffff0d}
 #menu-toggle{min-width:78px;min-height:44px;transition:background .2s,box-shadow .2s}#menu-toggle[aria-expanded=true]{background:#2c5960;box-shadow:inset 0 0 0 1px #a6e2bd80}
}
@media(prefers-reduced-motion:reduce){#navigation,.services button,.plan,.brands button,#menu-toggle{transition:none}button:active{scale:1}}

@media(prefers-reduced-motion:no-preference){
 button{transition-property:scale,background-color,box-shadow,transform,filter;transition-duration:.18s;transition-timing-function:ease}
 dialog[open].is-closing{animation:dialog-exit .18s ease-in forwards}
 dialog[open].is-closing::backdrop{animation:backdrop-enter .18s ease-in reverse forwards}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){button:not(.services button):hover{scale:1.025}button:active{scale:.98}}
@keyframes dialog-exit{from{opacity:1;transform:none}to{opacity:0;transform:translateY(10px) scale(.98)}}

@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .services button{transition:transform .24s cubic-bezier(.2,.7,.3,1),box-shadow .24s ease;transform-origin:center}
 .services button:hover{transform:translateY(-3px);scale:1;filter:none;box-shadow:0 8px 18px #153f5020}
 .services button:active{transform:translateY(-1px);scale:1}
}
