/* ============================================================
   Electrician Experts — main.css  (single CSS, no @import)
   Tokens sampled from logo: navy #051e46 + yellow #fece21
   System-font stack → Mobile 98-100 by construction.
   ============================================================ */
:root{
  --c-primary:#051e46;      /* deep navy */
  --c-primary-700:#03183d;  /* deeper navy (text/hover) */
  --c-primary-50:#eef2f8;
  --c-accent:#fece21;       /* yellow — decorative + button bg w/ navy text */
  --c-accent-600:#caa00a;   /* yellow, text-safe on white */
  --c-emergency:#e02424;    /* decorative red */
  --c-emergency-700:#b91c1c;/* AA: white text on this */
  --c-ink:#0e1726;
  --c-muted:#5a6675;
  --c-line:#e6eaf0;
  --c-bg:#ffffff;
  --c-bg-soft:#f5f7fa;
  --radius:14px;
  --radius-sm:10px;
  --wrap:1140px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --shadow:0 1px 3px rgba(5,30,70,.06),0 6px 24px rgba(5,30,70,.06);
  --shadow-lg:0 10px 40px rgba(5,30,70,.14);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--c-ink);background:var(--c-bg);line-height:1.6;font-size:17px}
img{max-width:100%;height:auto;display:block}
a{color:var(--c-primary);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.18;color:var(--c-primary);margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:clamp(1.9rem,4.6vw,3rem);font-weight:800}
h2{font-size:clamp(1.5rem,3.2vw,2.1rem);font-weight:800}
h3{font-size:1.18rem;font-weight:700}
p{margin:0 0 1rem}
.container{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.section{padding:56px 0}
.section--soft{background:var(--c-bg-soft)}
.eyebrow{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--c-accent-600);margin-bottom:.5rem}

/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:.5em;border:0;border-radius:var(--radius-sm);
  padding:14px 24px;font:inherit;font-weight:800;font-size:1rem;cursor:pointer;text-decoration:none;
  transition:transform .08s ease,box-shadow .15s ease;line-height:1}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn--call{background:var(--c-emergency-700);color:#fff}
.btn--call:hover{color:#fff}
.btn--primary{background:var(--c-primary);color:#fff}
.btn--primary:hover{color:#fff;background:var(--c-primary-700)}
.btn--accent{background:var(--c-accent);color:var(--c-primary-700)}
.btn--accent:hover{color:var(--c-primary-700)}
.btn--ghost{background:transparent;border:2px solid var(--c-primary);color:var(--c-primary);padding:12px 22px}
.btn--lg{padding:17px 30px;font-size:1.08rem}
.btn--block{width:100%;justify-content:center}

/* ---- Header ---- */
.topbar{background:var(--c-primary-700);color:#fff;font-size:.84rem}
.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding-top:6px;padding-bottom:6px}
.topbar a{color:#fff;font-weight:700}
.topbar__note{display:flex;align-items:center;gap:8px;opacity:.95}
.topbar__dot{color:var(--c-accent)}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--c-line)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand img{height:46px;width:auto}
.nav{display:flex;align-items:center;gap:6px}
.nav a{color:var(--c-primary);font-weight:700;font-size:.97rem;padding:9px 12px;border-radius:8px}
.nav a:hover{background:var(--c-primary-50);text-decoration:none}
.header-cta{display:flex;align-items:center;gap:10px}
.header-cta__phone{display:flex;flex-direction:column;line-height:1.05;text-align:right}
.header-cta__phone b{color:var(--c-primary);font-size:1.05rem}
.header-cta__phone span{font-size:.72rem;color:var(--c-muted);font-weight:600}
.burger{display:none;background:none;border:0;cursor:pointer;padding:8px;border-radius:8px}
.burger span{display:block;width:26px;height:3px;background:var(--c-primary);border-radius:2px;margin:5px 0;transition:.2s}

/* ---- Bullets / lists ---- */
.checks{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.checks li{display:flex;align-items:flex-start;gap:10px;font-weight:600}
.checks li svg{flex:0 0 auto;margin-top:3px}
.tick{width:22px;height:22px;border-radius:50%;background:var(--c-accent);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-top:1px}
.tick svg{width:13px;height:13px}

/* ---- Trust stat strip ---- */
.stats{display:flex;flex-wrap:wrap;gap:14px}
.stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:12px 16px;min-width:120px}
.stat b{display:block;font-size:1.45rem;font-weight:800;color:#fff;line-height:1}
.stat span{font-size:.8rem;color:rgba(255,255,255,.82);font-weight:600}
.stats--light .stat{background:var(--c-bg-soft);border-color:var(--c-line)}
.stats--light .stat b{color:var(--c-primary)}
.stats--light .stat span{color:var(--c-muted)}

/* ---- Rating badge (dormant variant: no numbers) ---- */
.rating{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.9rem}
.rating .stars{color:var(--c-accent);letter-spacing:1px}

/* ============================================================
   HERO — base + 5 comparison variants
   ============================================================ */
.hero{position:relative}
.hero .checks li{color:#fff}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}

/* V1 — full-bleed image + navy overlay */
.heroV1{color:#fff;background:var(--c-primary)}
.heroV1__media{position:absolute;inset:0;overflow:hidden}
.heroV1__media img{width:100%;height:100%;object-fit:cover;opacity:.42}
.heroV1{position:relative;isolation:isolate}
.heroV1::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,var(--c-primary) 30%,rgba(5,30,70,.55));z-index:-1}
.heroV1 .container{position:relative;padding-top:70px;padding-bottom:70px;max-width:760px;margin-left:auto;margin-right:auto}
.heroV1 h1{color:#fff}
.heroV1 .lede{font-size:1.18rem;color:rgba(255,255,255,.9);margin-bottom:22px}

/* V2 — split 50/50 text left, image right */
.heroV2{background:var(--c-primary);color:#fff;overflow:hidden}
.heroV2 .grid{display:grid;grid-template-columns:1.05fr .95fr;gap:0;align-items:stretch}
.heroV2__text{padding:64px 48px 64px 0}
.heroV2 h1{color:#fff}
.heroV2 .lede{font-size:1.12rem;color:rgba(255,255,255,.88);margin-bottom:20px}
.heroV2__media{position:relative;min-height:420px}
.heroV2__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* V3 — framed rounded card beside text (light bg) */
.heroV3{background:linear-gradient(180deg,#fff,var(--c-bg-soft))}
.heroV3 .grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:60px 0}
.heroV3 .checks li{color:var(--c-ink)}
.heroV3 .lede{font-size:1.15rem;color:var(--c-muted);margin-bottom:20px}
.heroV3__frame{position:relative;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lg);border:6px solid #fff}
.heroV3__frame img{width:100%;aspect-ratio:4/3.2;object-fit:cover}
.heroV3__badge{position:absolute;left:18px;bottom:18px;background:#fff;border-radius:12px;padding:12px 16px;box-shadow:var(--shadow);display:flex;align-items:center;gap:10px}
.heroV3__badge .tick{width:34px;height:34px}.heroV3__badge .tick svg{width:18px;height:18px}
.heroV3__badge b{display:block;color:var(--c-primary)}.heroV3__badge span{font-size:.8rem;color:var(--c-muted)}

/* V4 — centered text, image band below */
.heroV4{text-align:center;background:var(--c-bg-soft)}
.heroV4 .top{padding:58px 0 30px;max-width:760px;margin:0 auto}
.heroV4 .checks{justify-content:center;grid-auto-flow:column;grid-template-columns:none;flex-wrap:wrap;display:flex;gap:18px}
.heroV4 .checks li{color:var(--c-ink)}
.heroV4 .lede{font-size:1.18rem;color:var(--c-muted);margin-bottom:22px}
.heroV4 .hero__cta{justify-content:center}
.heroV4__band{height:340px;overflow:hidden}
.heroV4__band img{width:100%;height:100%;object-fit:cover}

/* V5 — asymmetric overlap + stat bar */
.heroV5{background:var(--c-primary);color:#fff;position:relative;padding-bottom:40px}
.heroV5 .grid{display:grid;grid-template-columns:1fr 1.15fr;gap:36px;align-items:center;padding:56px 0 0}
.heroV5 h1{color:#fff}
.heroV5 .lede{font-size:1.12rem;color:rgba(255,255,255,.88);margin-bottom:20px}
.heroV5__media{position:relative}
.heroV5__media img{border-radius:18px;width:100%;aspect-ratio:5/3.4;object-fit:cover;box-shadow:var(--shadow-lg)}
.heroV5__card{position:absolute;right:-8px;bottom:-26px;background:var(--c-accent);color:var(--c-primary-700);border-radius:14px;padding:14px 18px;font-weight:800;box-shadow:var(--shadow-lg);max-width:230px}
.heroV5__statbar{margin-top:44px}
.heroV5__statbar .stats{justify-content:flex-start}

/* ============================================================
   FOOTER — base + 5 comparison variants
   ============================================================ */
.site-footer{background:var(--c-primary);color:rgba(255,255,255,.82);padding:0;font-size:.95rem}
.site-footer a{color:rgba(255,255,255,.82)}
.site-footer a:hover{color:#fff;text-decoration:none}
.foot-h{color:#fff;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin:0 0 14px;font-weight:800}
.foot-links{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.foot-brand img{height:40px;margin-bottom:14px}
.foot-phone{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:800;font-size:1.25rem}
.foot-phone:hover{color:#fff}
.foot-sub{color:rgba(255,255,255,.7);font-size:.88rem}
.city-chips{display:flex;flex-wrap:wrap;gap:8px}
.city-chips a{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px 13px;font-size:.86rem;font-weight:600}
.city-chips a:hover{background:rgba(255,255,255,.16)}
.foot-rating{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:10px 16px}
.foot-rating .stars{color:var(--c-accent);font-size:1.05rem;letter-spacing:2px}
.foot-rating b{color:#fff}.foot-rating span{color:rgba(255,255,255,.72);font-size:.82rem}
.foot-disclosure{color:rgba(255,255,255,.66);font-size:.82rem;line-height:1.55;border-top:1px solid rgba(255,255,255,.14);margin-top:30px;padding:22px 0 0}
.foot-bottom{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;justify-content:space-between;
  border-top:1px solid rgba(255,255,255,.14);margin-top:24px;padding:18px 0 30px;font-size:.85rem;color:rgba(255,255,255,.7)}
.foot-bottom nav{display:flex;gap:18px;flex-wrap:wrap}
.foot-grid{display:grid;gap:34px;padding:48px 0 0}

/* V1 classic 4-col */
.footV1 .foot-ratingband{display:flex;justify-content:center;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.footV1 .foot-grid{grid-template-columns:1.4fr 1fr 1fr 1.3fr}
/* V2 emergency band */
.footV2 .foot-emband{background:var(--c-emergency-700);text-align:center;padding:22px 0}
.footV2 .foot-emband a{color:#fff}
.footV2 .foot-emband .btn{margin-top:10px}
.footV2 .foot-grid{grid-template-columns:1.4fr 1fr 1fr 1.2fr}
/* V3 centered compact */
.footV3{text-align:center}
.footV3 .foot-grid{display:block;padding:46px 0 0}
.footV3 .foot-brand img{margin:0 auto 14px}
.foot-logo-svg{height:auto;display:inline-block}
.footV3 .foot-inline{display:flex;gap:8px 22px;justify-content:center;flex-wrap:wrap;margin:14px 0 22px;font-weight:700}
.footV3 .foot-inline a{color:#fff}
.footV3 .foot-rating{margin:0 auto}
.footV3 .city-chips{justify-content:center;margin-top:22px}
.footV3 .foot-bottom{justify-content:center}
/* V4 brand-split */
.footV4 .foot-grid{grid-template-columns:1.5fr 1fr 1fr}
.footV4 .foot-cities{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.14);padding-top:26px}
/* V5 service-areas focused */
.footV5 .foot-areas{padding:46px 0 0}
.footV5 .foot-areas h2{color:#fff}
.footV5 .city-chips{margin:18px 0 8px}
.footV5 .foot-grid{grid-template-columns:1.4fr 1fr 1fr;border-top:1px solid rgba(255,255,255,.14);margin-top:34px}

@media (max-width:820px){
  .footV1 .foot-grid,.footV2 .foot-grid,.footV4 .foot-grid,.footV5 .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .footV1 .foot-grid,.footV2 .foot-grid,.footV4 .foot-grid,.footV5 .foot-grid{grid-template-columns:1fr}
  .foot-bottom{flex-direction:column;align-items:flex-start}
}

/* ---- Sticky mobile call ---- */
.sticky-call{display:none}

/* ---- preview page helper ---- */
.variant-label{background:var(--c-accent);color:var(--c-primary-700);font-weight:800;padding:10px 20px;font-size:.95rem;position:sticky;top:0;z-index:5;border-bottom:2px solid var(--c-primary)}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:900px){
  .heroV2 .grid,.heroV3 .grid,.heroV5 .grid{grid-template-columns:1fr}
  .heroV2__text{padding:48px 20px 0}
  .heroV2__media{min-height:300px;order:-1}
  .heroV5__media{order:-1}
  .heroV5__card{right:12px}
}
@media (max-width:780px){
  .nav,.header-cta__phone{display:none}
  .burger{display:block}
  .nav.open{display:flex;position:fixed;inset:68px 0 auto 0;flex-direction:column;background:#fff;
    padding:14px 20px;border-bottom:1px solid var(--c-line);gap:4px;box-shadow:var(--shadow)}
  .nav.open a{width:100%;padding:13px 10px;border-radius:8px}
  .sticky-call{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;
    background:var(--c-emergency-700);color:#fff;align-items:center;justify-content:center;gap:8px;
    padding:14px;font-weight:800;font-size:1.05rem;box-shadow:0 -4px 20px rgba(0,0,0,.2)}
  .sticky-call:hover{color:#fff;text-decoration:none}
  body{padding-bottom:58px}
  .topbar__note span.long{display:none}
}
@media (max-width:520px){
  .brand img{height:38px}
  .section{padding:40px 0}
  .heroV4 .checks{flex-direction:column;align-items:center;gap:8px}
}

/* ============================================================
   COMPONENTS & CONTENT MODULES
   ============================================================ */
.lead{font-size:1.15rem;color:var(--c-muted);max-width:760px}
.center{text-align:center}.center .lead{margin-left:auto;margin-right:auto}

/* Availability widget */
.availability{background:#fff;border:1px solid var(--c-line);border-radius:16px;box-shadow:var(--shadow-lg);padding:24px;max-width:440px}
.heroV2 .availability{margin-top:8px}
.availability__head h2{font-size:1.25rem;margin-bottom:4px}
.availability__head p{color:var(--c-muted);font-size:.92rem;margin-bottom:16px}
.ac-field{display:block;margin-bottom:12px}
.ac-field span{display:block;font-weight:700;font-size:.85rem;margin-bottom:5px;color:var(--c-primary)}
.ac-field input,.ac-field select{width:100%;padding:12px 14px;border:1.5px solid var(--c-line);border-radius:10px;font:inherit;background:#fff}
.ac-field input:focus,.ac-field select:focus{outline:none;border-color:var(--c-primary)}
.availability__result{margin-top:6px}
.availability__ok{font-weight:700;color:var(--c-primary);margin-bottom:12px}
.availability__note{font-size:.82rem;color:var(--c-muted);margin:10px 0 0}

/* Service cards (what we handle) */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--c-line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card__body{padding:18px 20px}
.card__body h3{margin-bottom:6px}
.card__body p{color:var(--c-muted);font-size:.95rem;margin:0}

/* Split text + image */
.split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.split--rev .split__media{order:-1}
.split__media img{width:100%;border-radius:16px;box-shadow:var(--shadow);aspect-ratio:4/3;object-fit:cover}
.split h2{margin-bottom:.4em}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:s}
.step{background:#fff;border:1px solid var(--c-line);border-radius:14px;padding:24px 20px;position:relative}
.step::before{counter-increment:s;content:counter(s);display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--c-accent);color:var(--c-primary-700);font-weight:800;margin-bottom:12px}
.step h3{margin-bottom:6px}.step p{color:var(--c-muted);font-size:.95rem;margin:0}

/* Do / Don't */
.dodont{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.dd{border-radius:14px;padding:24px;border:1px solid var(--c-line)}
.dd--do{background:#f0f8f1;border-color:#cfe9d4}
.dd--dont{background:#fdf1f1;border-color:#f4d4d4}
.dd h3{display:flex;align-items:center;gap:8px}
.dd ul{margin:.6rem 0 0;padding-left:1.1rem}.dd li{margin:.35rem 0}

/* PDF offer */
.pdf-offer{background:var(--c-primary-50);border:1px solid #d9e2f0;border-radius:16px;padding:24px 26px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.pdf-offer__icon{font-size:2.4rem;line-height:1}
.pdf-offer__text{flex:1;min-width:220px}
.pdf-offer__text h3{margin-bottom:4px}.pdf-offer__text p{color:var(--c-muted);margin:0;font-size:.95rem}

/* FAQ (2-column on desktop) */
.faq{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;align-items:start;margin-top:24px}
.faq__item{border:1px solid var(--c-line);border-radius:12px;background:#fff;overflow:hidden;align-self:start}
.faq__item summary{cursor:pointer;padding:16px 20px;font-weight:700;color:var(--c-primary);list-style:none;position:relative}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"+";position:absolute;right:20px;font-size:1.3rem;color:var(--c-accent-600)}
.faq__item[open] summary::after{content:"–"}
.faq__a{padding:0 20px 18px;color:var(--c-ink)}

/* Emergency banner */
.notruf{background:var(--c-emergency-700);color:#fff}
.notruf__inner{display:flex;align-items:center;gap:24px;padding:30px 20px;flex-wrap:wrap}
.notruf h2{color:#fff;margin:0 0 4px;font-size:1.5rem}
.notruf p{margin:0;color:rgba(255,255,255,.92)}
.notruf__text{flex:1;min-width:240px}
.notruf--b .notruf__img{width:240px;border-radius:12px;flex:0 0 auto;aspect-ratio:4/3;object-fit:cover}
.notruf__cta strong{color:var(--c-primary-700)}

/* Teaser grid */
.teaser-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.teaser{background:#fff;border:1px solid var(--c-line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);display:block;color:inherit}
.teaser:hover{text-decoration:none;box-shadow:var(--shadow-lg)}
.teaser img{width:100%;aspect-ratio:5/3;object-fit:cover}
.teaser__body{padding:16px 18px}.teaser__body h3{font-size:1.05rem;margin-bottom:6px}
.teaser__body p{color:var(--c-muted);font-size:.9rem;margin:0 0 8px}
.teaser__more{font-weight:700;color:var(--c-accent-600);font-size:.9rem}

/* Region/areas chips */
.area-grid{display:flex;flex-wrap:wrap;gap:10px}
.area-grid a{background:#fff;border:1px solid var(--c-line);border-radius:999px;padding:9px 16px;font-weight:600}
.area-grid a:hover{background:var(--c-primary-50);text-decoration:none}

/* Drill-up / nearby block (city pages) */
.nearby{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.nearby a{background:#fff;border:1px solid var(--c-line);border-radius:999px;padding:7px 14px;font-size:.9rem;font-weight:600}

/* Blog / guides */
.crumbs{font-size:.85rem;color:rgba(255,255,255,.7);margin-bottom:10px}
.crumbs a{color:rgba(255,255,255,.9);font-weight:600}
.crumbs span{margin:0 4px;opacity:.6}
.article{max-width:820px;margin:0 auto}
.article__hero{width:100%;border-radius:16px;box-shadow:var(--shadow);aspect-ratio:16/9;object-fit:cover;margin-bottom:28px}
.article__body{font-size:1.06rem}
.article__body h2{margin-top:1.7em;font-size:1.5rem}
.article__body h3{margin-top:1.3em}
.article__body p{margin:0 0 1.1rem}
.article__body ul{list-style:none;padding:0;margin:1rem 0}
.article__body ul.check-list li,.article__body ul li{position:relative;padding-left:30px;margin:.5rem 0}
.article__body ul li::before{content:"";position:absolute;left:0;top:.5em;width:16px;height:16px;border-radius:50%;background:var(--c-accent)}
.article__body ul.check-list li::after{content:"✓";position:absolute;left:3px;top:.05em;font-size:.7rem;font-weight:800;color:var(--c-primary-700)}
.article__cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px;padding-top:24px;border-top:1px solid var(--c-line)}

/* Page hero (inner pages) + legal */
.page-hero{background:var(--c-primary);color:#fff;padding:46px 0}
.page-hero h1{color:#fff;margin:0}
.page-hero p{color:rgba(255,255,255,.85);margin:.5rem 0 0;max-width:720px}
.legal{max-width:820px;margin:0 auto}
.legal h2{margin-top:1.6em}.legal h3{margin-top:1.3em}
.legal ul{padding-left:1.2rem}.legal li{margin:.3rem 0}
.legal hr{margin:3rem 0;border:0;border-top:1px solid var(--c-line)}

/* image under the availability widget */
.talk-img{margin-top:18px;border-radius:16px;box-shadow:var(--shadow);width:100%;aspect-ratio:4/3;object-fit:cover}

@media (max-width:820px){
  .cards,.steps,.teaser-grid{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}.split--rev .split__media{order:0}
  .dodont{grid-template-columns:1fr}
  .faq{grid-template-columns:1fr}
}
@media (max-width:560px){
  .cards,.steps,.teaser-grid{grid-template-columns:1fr}
}

/* === Widget: Safety Triage === */
.triage{background:#fff;border:2px solid var(--c-line);border-radius:16px;padding:28px 24px;margin-top:24px}
.triage__head h2{font-size:1.25rem;margin:0 0 6px}
.triage__head p{color:var(--c-muted);margin:0 0 20px;font-size:.95rem}
.triage__step{display:none}.triage__step--active{display:block}
.triage__q{font-weight:600;margin:0 0 14px}
.triage__opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.triage__opt{display:flex;align-items:center;gap:10px;background:#f8f9fa;border:1.5px solid var(--c-line);border-radius:10px;padding:12px 14px;cursor:pointer;text-align:left;font-size:.9rem;transition:border-color .15s,background .15s}
.triage__opt:hover{border-color:var(--c-primary);background:#eef2ff}
.triage__icon{font-size:1.3rem;flex-shrink:0}
.triage__result{margin-top:4px}
.triage__verdict{border-radius:12px;padding:24px;text-align:center}
.triage__verdict h3{margin:8px 0 10px;font-size:1.15rem}
.triage__verdict p{margin:0 0 16px;font-size:.95rem}
.triage__verdict--danger{background:#fef2f2;border:2px solid #fca5a5}
.triage__verdict--urgent{background:#fffbeb;border:2px solid #fcd34d}
.triage__verdict--routine{background:#f0fdf4;border:2px solid #86efac}
.triage__verdict-icon{font-size:2.2rem}
.triage__note{color:var(--c-muted);font-size:.85rem;margin:10px 0 0}
.triage__reset{background:none;border:none;color:var(--c-primary);cursor:pointer;font-size:.9rem;margin-top:16px;text-decoration:underline}
@media(max-width:560px){.triage__opts{grid-template-columns:1fr}}

/* === Widget: Emergency Wizard === */
.wizard{background:var(--c-primary);color:#fff;border-radius:16px;padding:28px 24px}
.wizard__head h2{color:#fff;font-size:1.25rem;margin:0 0 6px}
.wizard__head p{color:rgba(255,255,255,.8);margin:0 0 22px;font-size:.95rem}
.wizard__step{display:none}.wizard__step--active{display:block}
.wizard__step-num{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--c-accent);margin-bottom:8px}
.wizard__step h3{color:#fff;margin:0 0 10px;font-size:1.05rem}
.wizard__step p{color:rgba(255,255,255,.88);font-size:.93rem;line-height:1.6;margin:0 0 12px}
.wizard__step .check-list{padding-left:1rem;margin:0 0 14px}
.wizard__step .check-list li{color:rgba(255,255,255,.88);margin:.35rem 0;font-size:.91rem}
.wizard__step .check-list li strong{color:#fff}
.wizard__warning{background:rgba(255,255,255,.12);border-left:3px solid var(--c-accent);border-radius:0 8px 8px 0;padding:10px 14px;font-size:.9rem;color:#fff;margin-top:8px}
.wizard__warning a{color:var(--c-accent)}
.wizard__cta{text-align:center;margin-top:16px}
.wizard__note{color:rgba(255,255,255,.7);font-size:.82rem;margin:10px 0 0;text-align:center}
.wizard__nav{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:12px}
.wizard__btn{background:rgba(255,255,255,.15);border:1.5px solid rgba(255,255,255,.3);border-radius:8px;color:#fff;cursor:pointer;padding:8px 18px;font-size:.9rem;transition:background .15s}
.wizard__btn:hover:not(:disabled){background:rgba(255,255,255,.25)}
.wizard__btn:disabled{opacity:.35;cursor:default}
.wizard__dots{display:flex;gap:8px}
.wizard__dot{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.3);cursor:pointer;transition:background .15s}
.wizard__dot--active{background:var(--c-accent)}
