/* ============================================================
   Stromvergleich Hamburg — Website UI Kit styles
   Builds on colors_and_type.css tokens
   ============================================================ */
@import url('tokens.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg1);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  border: none; border-radius: var(--radius-md); cursor: pointer;
  padding: 13px 22px; transition: all var(--dur) var(--ease-out); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-primary:active { background: var(--primary-press); transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--on-accent); font-weight: 700; box-shadow: var(--shadow-volt); }
.btn-accent:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--primary); border: 1.5px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--primary); background: var(--green-050); }
.btn-ghost { background: transparent; color: var(--fg2); }
.btn-ghost:hover { background: var(--surface-sunken); color: var(--fg1); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; }
.brand .bword { display: flex; flex-direction: column; line-height: 1; }
.brand .bw-top { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--green-700); }
.brand .bw-top .dot { color: var(--volt-600); }
.brand .bw-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg3); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--fg2); transition: color var(--dur); white-space: nowrap; }
.nav a:hover { color: var(--green-700); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--fg2); white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; color: var(--green-600); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(200,242,92,0.30), transparent 60%),
    radial-gradient(70% 80% at 12% 0%, rgba(62,182,148,0.28), transparent 62%);
  z-index: 0; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); padding: 7px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--green-700); margin-bottom: 22px; }
.hero-eyebrow svg { width: 15px; height: 15px; color: var(--volt-600); }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 20px; color: var(--fg1); }
.hero h1 .hl { color: var(--green-700); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.32em; background: var(--volt-500); z-index: -1; border-radius: 3px; }
.hero p.sub { font-size: var(--text-md); line-height: 1.6; color: var(--fg2); margin: 0 0 28px; max-width: 30ch; }
.hero-trust { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust .t { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--fg2); }
.hero-trust .t svg { width: 17px; height: 17px; color: var(--green-600); }

/* ---------- rechner card ---------- */
.rechner {
  background: var(--surface); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); border: 1px solid var(--border);
  padding: 26px; position: relative;
}
.rechner-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rechner-head .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-600); }
.rechner h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 18px; letter-spacing: -0.01em; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--fg2); }
.control { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); padding: 0 14px; height: 52px; transition: border-color var(--dur), box-shadow var(--dur); }
.control:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 4px var(--focus-ring); }
.control svg { width: 18px; height: 18px; color: var(--fg3); flex: none; }
.control input { border: none; outline: none; font-family: var(--font-body); font-size: 16px; color: var(--fg1); width: 100%; background: transparent; }
.control input::placeholder { color: var(--fg3); }
.control .suffix { font-family: var(--font-mono); font-size: 13px; color: var(--fg3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rechner .hint { font-size: 12px; color: var(--fg3); margin: 2px 0 18px; display: flex; align-items: center; gap: 6px; }
.rechner .hint svg { width: 14px; height: 14px; color: var(--success); }
.rechner-foot { font-size: 11.5px; color: var(--fg3); text-align: center; margin-top: 12px; }

/* ---------- section scaffold ---------- */
.section { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-8) 0; }
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-600); }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); letter-spacing: -0.015em; margin: 12px 0 0; }
.section .section-lead { font-size: var(--text-md); color: var(--fg2); margin: 14px 0 0; max-width: 56ch; line-height: 1.6; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- trustbar ---------- */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trustbar .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; flex-wrap: wrap; }
.trustbar .item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--fg2); }
.trustbar .item svg { width: 20px; height: 20px; color: var(--green-600); }
.trustbar .stat b { font-family: var(--font-display); color: var(--fg1); font-size: 20px; }
.tb-attr { display: inline-flex; align-items: center; gap: 8px; background: var(--green-100); color: var(--green-800); font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: var(--radius-pill); }
.tb-attr svg { width: 16px; height: 16px; }
.trustbar .stat sup { color: var(--green-600); font-weight: 700; }
.tb-foot { font-size: 11.5px; color: var(--fg3); padding-bottom: 14px; margin-top: -6px; }

/* ---------- listing (Anbieterliste) ---------- */
.listing-grid { display: grid; grid-template-columns: 268px 1fr; gap: 32px; padding: 40px 0 64px; align-items: start; }
.filter-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.filter-rail h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.filter-rail h3 svg { width: 17px; height: 17px; color: var(--green-600); }
.filter-group { padding: 14px 0; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: none; }
.filter-group .gl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg3); margin-bottom: 10px; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--fg2); cursor: pointer; }
.filter-opt .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex: none; transition: all var(--dur); }
.filter-opt .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.filter-opt.on .box { background: var(--green-700); border-color: var(--green-700); }
.filter-opt.on .box svg { opacity: 1; }
.filter-opt.on { color: var(--fg1); font-weight: 500; }
.listing-main { display: flex; flex-direction: column; gap: 16px; }
.listing-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.listing-bar .count { font-size: 14px; color: var(--fg2); }
.listing-bar .count b { color: var(--fg1); }
.listing-bar .sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg3); }
.listing-bar .sort .pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); padding: 7px 13px; font-weight: 600; color: var(--fg1); cursor: pointer; }
.listing-bar .sort .pill svg { width: 15px; height: 15px; }
.provider-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; transition: box-shadow var(--dur), transform var(--dur); position: relative; }
.provider-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.provider-card.best { border: 2px solid var(--green-500); }
.pc-left { display: flex; gap: 16px; }
.pc-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--green-100); display: grid; place-items: center; color: var(--green-700); flex: none; }
.pc-logo svg { width: 28px; height: 28px; }
.pc-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.pc-tariff { font-size: 13px; color: var(--fg3); margin-bottom: 10px; }
.pc-feats { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.pc-feat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg2); }
.pc-feat svg { width: 15px; height: 15px; color: var(--green-600); }
.pc-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 168px; }
.pc-right .save { font-size: 12px; font-weight: 700; color: var(--green-600); }
.pc-right .big { font-family: var(--font-mono); font-weight: 600; font-size: 26px; color: var(--fg1); }
.pc-right .per { font-size: 12px; color: var(--fg3); font-weight: 400; }
.pc-ribbon { position: absolute; top: -11px; left: 22px; display: inline-flex; align-items: center; gap: 5px; background: var(--volt-500); color: var(--navy-900); font-weight: 700; font-size: 11px; padding: 4px 11px; border-radius: var(--radius-pill); }
.pc-ribbon svg { width: 13px; height: 13px; }
.listing-note { font-size: 12px; color: var(--fg3); display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.listing-note svg { width: 14px; height: 14px; }

/* ---------- guide overview (Ratgeberübersicht) ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 8px 0 8px; }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.guide-top { height: 132px; display: grid; place-items: center; color: #fff; position: relative; }
.guide-top svg { width: 44px; height: 44px; opacity: 0.95; }
.guide-top.g1 { background: linear-gradient(135deg, var(--green-700), var(--green-500)); }
.guide-top.g2 { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.guide-top.g3 { background: linear-gradient(135deg, var(--green-600), var(--volt-600)); }
.guide-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: var(--navy-900); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: var(--radius-pill); }
.guide-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.guide-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0; line-height: 1.25; }
.guide-body p { font-size: 13.5px; line-height: 1.55; color: var(--fg2); margin: 0; flex: 1; }
.guide-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--fg3); }
.guide-foot .read { color: var(--green-700); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.guide-foot .read svg { width: 16px; height: 16px; }
@media (max-width: 920px) {
  .listing-grid { grid-template-columns: 1fr; }
  .filter-rail { position: static; }
  .guide-grid { grid-template-columns: 1fr; }
  .provider-card { grid-template-columns: 1fr; }
  .pc-right { text-align: left; align-items: flex-start; }
}

/* reveal */

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); position: relative; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step .num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--green-500); }
.step .sicon { width: 46px; height: 46px; border-radius: 13px; background: var(--green-100); display: grid; place-items: center; color: var(--green-700); margin: 14px 0 16px; }
.step .sicon svg { width: 23px; height: 23px; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--fg2); margin: 0; }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-xs); }
.benefit .bicon { width: 42px; height: 42px; border-radius: 12px; background: var(--navy-800); display: grid; place-items: center; color: var(--volt-400); margin-bottom: 14px; }
.benefit .bicon svg { width: 21px; height: 21px; }
.benefit h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 7px; }
.benefit p { font-size: 13.5px; line-height: 1.55; color: var(--fg2); margin: 0; }

/* ---------- results ---------- */
.results-shell { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.results-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--border); background: var(--green-050); flex-wrap: wrap; gap: 12px; }
.results-top .meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg2); }
.results-top .meta b { color: var(--fg1); }
.results-top .powered { font-size: 11px; color: var(--fg3); display: flex; align-items: center; gap: 6px; }
.tariff-row { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--border); transition: background var(--dur); }
.tariff-row:last-child { border-bottom: none; }
.tariff-row:hover { background: var(--green-050); }
.tariff-row.best { background: linear-gradient(0deg, var(--green-050), var(--green-050)); }
.tr-rank { font-family: var(--font-mono); font-size: 13px; color: var(--fg3); width: 24px; flex: none; text-align: center; }
.tr-logo { width: 48px; height: 48px; border-radius: 12px; background: var(--green-100); display: grid; place-items: center; color: var(--green-700); flex: none; }
.tr-logo svg { width: 24px; height: 24px; }
.tr-main { flex: 1; min-width: 0; }
.tr-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.tr-tariff { font-size: 12.5px; color: var(--fg3); }
.tr-badges { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.tr-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-800); display: inline-flex; gap: 4px; align-items: center; }
.tr-badge svg { width: 12px; height: 12px; }
.tr-badge.volt { background: var(--volt-200); color: #4a5a14; }
.tr-price { text-align: right; flex: none; }
.tr-price .save { font-size: 12px; font-weight: 700; color: var(--green-600); }
.tr-price .big { font-family: var(--font-mono); font-weight: 600; font-size: 22px; color: var(--fg1); display: block; }
.tr-price .per { font-size: 11.5px; color: var(--fg3); }
.tr-cta { flex: none; }
.best-ribbon { display: inline-flex; align-items: center; gap: 5px; background: var(--volt-500); color: var(--navy-900); font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--radius-pill); }
.best-ribbon svg { width: 13px; height: 13px; }

/* ---------- embed shell (CHECK24 widget placeholder) ---------- */
.embed-shell { border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-sunken); padding: 40px; text-align: center; }
.embed-shell .ei { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--green-600); margin: 0 auto 14px; box-shadow: var(--shadow-sm); }
.embed-shell .ei svg { width: 26px; height: 26px; }
.embed-shell h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.embed-shell p { font-size: 13px; color: var(--fg3); margin: 0; max-width: 44ch; margin-inline: auto; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow var(--dur); }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--green-300); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--fg1); }
.faq-q svg { width: 20px; height: 20px; color: var(--green-600); transition: transform var(--dur); flex: none; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a .inner { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.6; color: var(--fg2); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-800); border-radius: var(--radius-2xl); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 360px; background: radial-gradient(50% 60% at 50% 50%, rgba(200,242,92,0.22), transparent 70%); }
.cta-band h2 { position: relative; font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: #fff; margin: 0 0 14px; letter-spacing: -0.02em; }
.cta-band p { position: relative; color: var(--fg-on-dark-2); font-size: var(--text-md); margin: 0 0 28px; }
.cta-band .acts { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: var(--fg-on-dark-2); padding: 64px 0 28px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand .bw-top { color: #fff; }
.site-footer .fdesc { font-size: 13.5px; line-height: 1.6; margin: 16px 0 0; max-width: 30ch; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--fg-on-dark-2); padding: 5px 0; transition: color var(--dur); }
.footer-col a:hover { color: var(--volt-400); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--navy-700); margin-top: 48px; padding-top: 22px; font-size: 12.5px; flex-wrap: wrap; gap: 12px; }

/* ---------- article / subpage ---------- */
.subhero { background: var(--green-050); border-bottom: 1px solid var(--border); padding: 32px 0 40px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg3); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb svg { width: 14px; height: 14px; }
.subhero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); letter-spacing: -0.025em; margin: 0 0 14px; max-width: 18ch; line-height: 1.05; }
.subhero .meta { display: flex; align-items: center; gap: 18px; font-size: 13.5px; color: var(--fg3); }
.subhero .meta span { display: flex; align-items: center; gap: 6px; }
.subhero .meta svg { width: 15px; height: 15px; color: var(--green-600); }
.article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; padding: 56px 0; align-items: start; }
.prose { max-width: 68ch; }
.prose > p { font-size: 16.5px; line-height: 1.7; color: var(--fg2); margin: 0 0 20px; }
.prose .lead-p { font-size: 19px; line-height: 1.6; color: var(--fg1); font-weight: 500; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -0.01em; margin: 40px 0 14px; }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 28px 0 10px; }
.prose ul { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.prose ul li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.6; color: var(--fg2); }
.prose ul li svg { position: absolute; left: 0; top: 3px; width: 19px; height: 19px; color: var(--green-600); }
.callout { background: var(--navy-800); color: var(--fg-on-dark); border-radius: var(--radius-lg); padding: 22px 24px; margin: 28px 0; display: flex; gap: 14px; align-items: flex-start; }
.callout .ci { width: 38px; height: 38px; border-radius: 11px; background: rgba(200,242,92,0.16); display: grid; place-items: center; color: var(--volt-400); flex: none; }
.callout .ci svg { width: 20px; height: 20px; }
.callout b { color: #fff; display: block; margin-bottom: 4px; font-family: var(--font-display); }
.callout p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-on-dark-2); }
.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); }
.aside-card.dark { background: var(--navy-800); border: none; }
.aside-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.aside-card.dark h4 { color: #fff; }
.aside-card p { font-size: 13.5px; line-height: 1.55; color: var(--fg2); margin: 0 0 16px; }
.aside-card.dark p { color: var(--fg-on-dark-2); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-bottom: 1px solid var(--border); }
.aside-links li:last-child { border: none; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 14.5px; font-weight: 500; color: var(--fg1); transition: color var(--dur); }
.aside-links a:hover { color: var(--green-700); }
.aside-links a svg { width: 16px; height: 16px; color: var(--fg3); }
@media (max-width: 920px) {
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
  .aside { position: static; }
}

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- info / explainer sections ---------- */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.info-split.reverse .info-text { order: 2; }
.info-media { position: relative; }
.info-media image-slot { width: 100%; height: 400px; display: block; box-shadow: var(--shadow-lg); }
.info-media .media-badge { position: absolute; left: 18px; bottom: 18px; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 12px 16px; display: flex; align-items: center; gap: 11px; }
.info-media .media-badge .mb-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--green-100); display: grid; place-items: center; color: var(--green-700); flex: none; }
.info-media .media-badge .mb-icon svg { width: 20px; height: 20px; }
.info-media .media-badge .mb-num { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1; color: var(--fg1); display: block; }
.info-media .media-badge .mb-cap { font-size: 12px; color: var(--fg3); margin-top: 3px; display: block; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 13px; }
.check-list .ci { width: 30px; height: 30px; border-radius: 9px; background: var(--green-100); display: grid; place-items: center; color: var(--green-700); flex: none; margin-top: 1px; }
.check-list .ci svg { width: 17px; height: 17px; }
.check-list .ct b { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--fg1); display: block; margin-bottom: 3px; }
.check-list .ct span { font-size: 14px; line-height: 1.5; color: var(--fg2); }
.info-stat { display: inline-flex; align-items: baseline; gap: 10px; background: var(--volt-200); border-radius: var(--radius-md); padding: 12px 18px; margin: 22px 0 6px; }
.info-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--navy-900); letter-spacing: -0.02em; }
.info-stat .t { font-size: 14px; font-weight: 600; color: #4a5a14; }

/* timeline (nach dem Wechsel) — navy band */
.timeline-band { background: var(--navy-800); border-radius: var(--radius-2xl); padding: 52px 48px; position: relative; overflow: hidden; }
.timeline-band::before { content: ""; position: absolute; inset: -40% 30% auto auto; width: 480px; height: 480px; background: radial-gradient(circle, rgba(200,242,92,0.14), transparent 65%); }
.timeline-band .eyebrow { color: var(--volt-400); }
.timeline-band h2 { color: #fff; position: relative; }
.timeline-band .section-lead { color: var(--fg-on-dark-2); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--navy-600), var(--green-500), var(--navy-600)); }
.tl-step { position: relative; }
.tl-dot { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-700); border: 1px solid var(--navy-600); display: grid; place-items: center; color: var(--volt-400); position: relative; z-index: 1; margin-bottom: 16px; }
.tl-dot svg { width: 22px; height: 22px; }
.tl-step .tl-num { font-family: var(--font-mono); font-size: 12px; color: var(--green-400); }
.tl-step h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; margin: 4px 0 7px; }
.tl-step p { font-size: 13.5px; line-height: 1.5; color: var(--fg-on-dark-2); margin: 0; }

@media (max-width: 920px) {
  .info-split { grid-template-columns: 1fr; gap: 28px; }
  .info-split.reverse .info-text { order: 0; }
  .info-media image-slot { height: 280px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 28px; }
  .timeline::before { display: none; }
  .timeline-band { padding: 36px 24px; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
}

/* responsive */
@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .tariff-row { flex-wrap: wrap; }
}

/* ============================================================
   PRODUCTION ADD-ONS — stromvergleich-stuttgart.de
   (alle vormals inline gesetzten Stile als echte Klassen)
   ============================================================ */

/* hero highlight in copy */
.hero p.sub strong { color: var(--green-700); font-weight: 700; }

/* person-size buttons in rechner */
.persons { display: flex; gap: 8px; }
.persons .pbtn {
  flex: 1; padding: 11px 0; font-size: 14px; font-weight: 600;
  background: var(--surface); color: var(--fg2);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  cursor: pointer; transition: all var(--dur) var(--ease-out);
}
.persons .pbtn:hover { border-color: var(--green-500); }
.persons .pbtn.on { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* check24 widget shell */
.widget-wrap { width: 100%; min-height: 320px; }
#stromrechner { width: 100%; }

/* cta secondary (ghost on dark) */
.btn-cta-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-cta-ghost:hover { background: rgba(255,255,255,0.08); }

/* cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 720px; margin: 0 auto; background: var(--navy-800); color: var(--fg-on-dark);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 20px 22px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-on-dark-2); flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--volt-400); text-decoration: underline; }
.cookie-banner .cb-acts { display: flex; gap: 10px; }
.cookie-banner.hide { display: none; }

/* mobile nav toggle */
.nav-toggle { display: none; background: transparent; border: none; color: var(--fg1); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: 8px 24px 16px;
  }
  .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
}

/* generic section intro for SEO copy on homepage */
.lead-copy { max-width: 70ch; }
.lead-copy p { font-size: 16.5px; line-height: 1.7; color: var(--fg2); margin: 0 0 18px; }
.lead-copy p:last-child { margin-bottom: 0; }

/* anbieter detail page */
.detail-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.detail-logo { width: 64px; height: 64px; border-radius: 16px; background: var(--green-100); display: grid; place-items: center; color: var(--green-700); flex: none; }
.detail-logo svg { width: 32px; height: 32px; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--green-100); color: var(--green-800); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); }
.badge-pill.oeko { background: var(--volt-200); color: #4a5a14; }
.data-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.data-table th { color: var(--fg3); font-weight: 600; width: 46%; }
.data-table td { color: var(--fg1); font-family: var(--font-mono); font-weight: 600; }
.aside-cta { display: inline-flex; width: 100%; justify-content: center; }
.aside-card .rating { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 600; font-size: 22px; color: var(--fg1); margin-bottom: 4px; }
.aside-card .rating svg { width: 20px; height: 20px; color: var(--volt-600); }

/* stadtteil chips on homepage / index */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 9px 15px; font-size: 14px; font-weight: 500; color: var(--fg1); transition: all var(--dur); box-shadow: var(--shadow-xs); }
.chip:hover { border-color: var(--green-500); color: var(--green-700); transform: translateY(-1px); }
.chip svg { width: 15px; height: 15px; color: var(--green-600); }
.chip .ew { font-size: 12px; color: var(--fg3); }

/* legal / sitemap pages */
.legal { padding: 48px 0 72px; }
.legal .prose { max-width: 760px; margin: 0 auto; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); letter-spacing: -0.02em; margin: 0 0 24px; }
.legal img { max-width: 440px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.sitemap-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.sitemap-cols h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 12px; }
.sitemap-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.sitemap-cols a { font-size: 14.5px; color: var(--fg2); }
.sitemap-cols a:hover { color: var(--green-700); }
@media (max-width: 760px) { .sitemap-cols { grid-template-columns: 1fr; } }

/* sparrechner (Geräte-Spartipps) */
.spar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 28px; max-width: 720px; margin: 0 auto; }
.spar .srow { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.spar .srow:last-of-type { border-bottom: none; }
.spar .sname { font-weight: 600; font-size: 15px; color: var(--fg1); }
.spar .ssub { font-size: 12.5px; color: var(--fg3); }
.spar input[type=range] { width: 100%; accent-color: var(--green-600); }
.spar .sval { font-family: var(--font-mono); font-size: 13px; color: var(--fg2); text-align: right; }
.spar .stotal { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--green-200); }
.spar .stotal .lbl { font-weight: 600; color: var(--fg1); }
.spar .stotal .amt { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--green-700); }
.spar .sfoot { font-size: 11.5px; color: var(--fg3); margin-top: 10px; }

/* related ratgeber strip */
.rel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 760px){ .rel-grid { grid-template-columns: 1fr; } }
.rel-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; transition: all var(--dur); }
.rel-card:hover { border-color: var(--green-400); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.rel-card .rc-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green-600); }
.rel-card h4 { font-family: var(--font-display); font-size: 15.5px; margin: 6px 0 0; }
