.theme-toggle{display:grid;place-items:center;position:relative;width:42px;height:42px;flex:none;border:1px solid #cbd9e5;border-radius:50%;background:#ffffffa8;color:#284866;transition:background .35s,color .35s,border-color .35s,transform .35s}
.theme-toggle:hover{transform:rotate(-10deg);background:#eaf1f8}
.theme-toggle svg{width:19px;height:19px;grid-area:1/1;transition:transform .45s,opacity .35s}
.theme-sun{opacity:0;transform:rotate(-45deg) scale(.5)}
[data-theme="dark"] .theme-moon{opacity:0;transform:rotate(45deg) scale(.5)}
[data-theme="dark"] .theme-sun{opacity:1;transform:none}
body,.header,.form-panel,.offer-inner,.case-card,.case-visual,.inspection-item,.payment-item,.assurance-inner,.review-grid article,.review-media,.footer,.fields input,#legal-dialog{transition:background-color .4s ease,color .4s ease,border-color .4s ease}
#dialog-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:var(--muted)}
#legal-dialog{max-height:min(80vh,800px);overflow:auto}
[data-theme="dark"]{color-scheme:dark;--bg:#101c2b;--surface:#182a3d;--ink:#edf4fb;--muted:#afc1d2;--line:#344a60;--accent:#315e8c}
[data-theme="dark"] .theme-toggle{background:#263c53;color:#f4dca1;border-color:#50677b}
[data-theme="dark"] .theme-toggle:hover{background:#35536c}
[data-theme="dark"] .header{background:#101c2bd9}
[data-theme="dark"] .header.is-scrolled{background:#101c2be8}
[data-theme="dark"] .navigation,[data-theme="dark"] .hero-lede,[data-theme="dark"] .hero-proof,[data-theme="dark"] .hero-note,[data-theme="dark"] .kicker,[data-theme="dark"] .eyebrow,[data-theme="dark"] .placeholder-note,[data-theme="dark"] .footer-bottom,[data-theme="dark"] .case-data,[data-theme="dark"] .case-data b,[data-theme="dark"] .price-highlight,[data-theme="dark"] .inspection-bottom p{color:#bccdde}
[data-theme="dark"] .navigation a:hover{color:#fff}
[data-theme="dark"] .hero h1 span{color:#a3b7ca}
[data-theme="dark"] .hero::before{background:linear-gradient(90deg,rgba(16,28,43,.99) 2%,rgba(16,28,43,.94) 37%,rgba(16,28,43,.48) 76%,rgba(16,28,43,.3)),url('assets/hero-city-optimized.webp') center 58%/cover no-repeat}
[data-theme="dark"] .hero::after{background:linear-gradient(0deg,#101c2b,transparent 27%)}
[data-theme="dark"] .form-panel,[data-theme="dark"] .offer-inner,[data-theme="dark"] .inspection-item,[data-theme="dark"] .assurance-inner{background:#1a2b3e;border-color:#344a60}
[data-theme="dark"] .case-card,[data-theme="dark"] .payment-item,[data-theme="dark"] .review-grid article,[data-theme="dark"] .success,[data-theme="dark"] #legal-dialog{background:#18293b;border-color:#344a60;color:#edf4fb}
[data-theme="dark"] .case-visual,[data-theme="dark"] .review-media{background:#23384d;color:#bbcad9}
[data-theme="dark"] .fields input{background:#112131;border-color:#425b72;color:#f5faff}
[data-theme="dark"] .fields label,[data-theme="dark"] .contact-choice label,[data-theme="dark"] .contact-choice legend{color:#d3dfeb}
[data-theme="dark"] .consent,[data-theme="dark"] .preview-note{color:#b4c6d8}
[data-theme="dark"] .link-button,[data-theme="dark"] .text-arrow{color:#a8d3fa}
[data-theme="dark"] .route-label,[data-theme="dark"] .route-popup,[data-theme="dark"] .mini-icon,[data-theme="dark"] .payment-icon,[data-theme="dark"] .assurance-icon{background:#263d53;border-color:#4a647c;color:#c3dcf4}
[data-theme="dark"] .route-map{opacity:.62}
[data-theme="dark"] .contract-backdrop{background:#2b4259}
[data-theme="dark"] .price{background:#1a2b3e;border-color:#344a60}
[data-theme="dark"] .footer{background:#0c1723;border-color:#344a60}
[data-theme="dark"] .footer-links,[data-theme="dark"] .footer p{color:#b4c8d9}
[data-theme="dark"] .admin-entry{background:#20364c;color:#dceaf7;border-color:#456078}
@media(max-width:700px){.theme-toggle{width:38px;height:38px}.theme-toggle svg{width:17px;height:17px}.header-actions .button--small{display:none}[data-theme="dark"] .hero::before{background:linear-gradient(180deg,rgba(16,28,43,.9),rgba(16,28,43,.78) 55%,rgba(16,28,43,.48)),url('assets/hero-city-optimized.webp') 62% center/cover no-repeat}[data-theme="dark"] .hero-mobile-proof{background:#21384de8;border-color:#718ba3}[data-theme="dark"] .hero-mobile-proof .hero-proof{color:#d6e4f1}[data-theme="dark"] .hero-mobile-proof .hero-proof strong{color:#fff}}
@media(max-width:380px){.header-actions{gap:4px}.theme-toggle{width:34px;height:34px}.header .button--small{padding-inline:8px;font-size:10px}.header .brand{font-size:13px}.admin-entry{padding-inline:6px}}
@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle svg,body,.header,.form-panel,.offer-inner,.case-card,.case-visual,.inspection-item,.payment-item,.assurance-inner,.review-grid article,.review-media,.footer,.fields input,#legal-dialog{transition:none!important}}
