/* Tarifo – Landingpage (nur index.html). Eigenständig, lädt tarifo-ui.css bewusst nicht. */

:root {
  --paper: #F6F5F1;
  --white: #FFFFFF;
  --ink: #0B1530;
  --ink-2: #4B5468;
  --ink-3: #8A90A0;
  --line: #E3E0D7;
  --line-2: #D3CFC3;
  --blue: #1D5BDB;
  --blue-soft: #E8EEFC;
  --orange: #FF8A00;
  --orange-ink: #3A1F00;
  --green: #0E7F45;
  --red: #B4432B;
  --navy: #0B1530;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------- Kopf ---------------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 245, 241, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand img { height: 30px; width: auto; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a, .top-login {
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-2);
  transition: color .15s;
}
.top-nav a:hover, .top-login:hover { color: var(--ink); }
.top-login {
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px;
}
.top-login:hover { border-color: var(--ink); }

/* ---------------- Einstieg ---------------- */
.intro { padding: 72px 0 40px; }
.kicker {
  font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.intro h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
  max-width: 14ch;
}
.intro-lead { margin-top: 24px; max-width: 60ch; font-size: 18px; line-height: 1.65; color: var(--ink-2); }

/* ---------------- Vergleich ---------------- */
.compare-section { padding-bottom: 72px; }
.compare {
  display: grid; grid-template-columns: 340px 1fr;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 1px 0 rgba(11, 21, 48, .03), 0 18px 40px -24px rgba(11, 21, 48, .18);
  overflow: clip;
}
.compare { background: linear-gradient(90deg, #FBFAF7 339px, var(--line) 339px 340px, var(--white) 340px); }
.cmp-input { padding: 28px; position: sticky; top: 68px; align-self: start; }
.cmp-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #EEECE5; border-radius: 12px; }
.seg-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s, box-shadow .15s;
}
.seg-btn svg { width: 17px; height: 17px; fill: currentColor; }
.seg-btn[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 21, 48, .12); }
.seg-btn[aria-pressed="true"][data-sparte="strom"] svg { fill: var(--orange); }
.seg-btn[aria-pressed="true"][data-sparte="gas"] svg { fill: var(--blue); }

.presets { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.presets legend, .field label, .field .label {
  display: block; padding: 0; font-size: 14px; font-weight: 700; margin-bottom: 8px;
}
.preset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.preset {
  text-align: left; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--white); cursor: pointer; transition: border-color .15s, background .15s;
}
.preset span { display: block; font-weight: 600; font-size: 14px; }
.preset small { display: block; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.preset:hover { border-color: var(--ink-3); }
.preset[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.preset[aria-pressed="true"] small { color: var(--blue); }

.field { margin-top: 20px; }
.field input, .field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--white);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 91, 219, .15); }
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 67, 43, .12); }
.field-unit { position: relative; }
.field-unit input { padding-right: 56px; font-weight: 700; font-variant-numeric: tabular-nums; }
.field-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; font-size: 14px; }
.field-hint { margin-top: 6px; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.opt { font-weight: 500; color: var(--ink-3); margin-left: 4px; }

.cmp-result { padding: 24px 28px 28px; min-width: 0; }
.res-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.res-count { font-weight: 700; font-size: 16px; }
.res-sort { font-size: 13px; color: var(--ink-3); }

.res-list { list-style: none; margin: 0; padding: 0; }
.res-row {
  display: grid;
  grid-template-columns: 1fr auto 112px;
  grid-template-areas: "main cost ask" "bar bar ask" "diff diff ask";
  column-gap: 24px; row-gap: 6px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.res-main { grid-area: main; min-width: 0; }
.res-name { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.res-flag {
  font-size: 12px; font-weight: 700; color: var(--green);
  border: 1px solid currentColor; border-radius: 6px; padding: 1px 7px; line-height: 1.5;
}
.res-tarif { font-size: 14px; color: var(--ink-2); }
.res-price { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-top: 2px; }
.res-cost { grid-area: cost; text-align: right; }
.res-year { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-year small { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.res-month { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.res-bar { grid-area: bar; position: relative; height: 6px; background: #F0EEE8; border-radius: 3px; margin-top: 6px; }
.res-bar span { position: absolute; inset: 0 auto 0 0; background: #C9CEDC; border-radius: 3px; transition: width .35s cubic-bezier(.2, .7, .2, 1); }
.res-row.is-best .res-bar span { background: var(--blue); }
.res-diff { grid-area: diff; font-size: 13px; color: var(--ink-3); }
.res-diff .save { color: var(--green); font-weight: 700; }
.res-diff .more { color: var(--ink); font-weight: 700; }
.res-ask {
  grid-area: ask; justify-self: end; height: 40px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s, color .15s;
}
.res-ask:hover { background: var(--ink); color: #fff; }
.res-row.is-best .res-ask { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); }
.res-row.is-best .res-ask:hover { background: #F07F00; }
.res-empty { padding: 32px 0; color: var(--ink-2); }

.res-note { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); max-width: 70ch; }

/* ---------------- Fakten ---------------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 36px 32px 36px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.fact p { color: var(--ink-2); font-size: 15px; }

/* ---------------- Abschnitte ---------------- */
.sec-title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

.steps-section { padding: 96px 0; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.step-n { display: block; font-size: 14px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.steps h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); }

/* ---------------- Anfrage ---------------- */
.ask-section { padding: 96px 0; background: var(--navy); color: #E7EAF3; }
.ask { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.ask .sec-title { color: #fff; }
.ask-copy > p { margin-top: 18px; color: #AEB6CC; max-width: 46ch; }
.pick { margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); background: rgba(255, 255, 255, .04); }
.pick-label { font-size: 12.5px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }
.pick-name { margin-top: 6px; font-size: 18px; font-weight: 700; color: #fff; }
.pick-meta { margin-top: 2px; font-size: 14px; color: #AEB6CC; }
.pick-clear { margin-top: 10px; padding: 0; border: 0; background: none; color: #AEB6CC; font-size: 13px; text-decoration: underline; cursor: pointer; }
.pick-clear:hover { color: #fff; }
.ask-direct { margin-top: 32px; font-size: 15px; color: #AEB6CC; }
.ask-direct a { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.ask-direct a:hover { border-bottom-color: #fff; }

.ask-form { background: var(--white); color: var(--ink); border-radius: 18px; padding: 28px; }
.ask-form > .field:first-child, .ask-form > .row2:first-child .field { margin-top: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radios label { margin: 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.radios label { position: relative; }
.radios input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.radios span { display: block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; transition: all .15s; }
.radios input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.radios input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn-main {
  margin-top: 24px; width: 100%; height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 12px; background: var(--orange); color: var(--orange-ink);
  font-weight: 800; font-size: 16px; cursor: pointer; transition: background .15s, transform .1s;
}
.btn-main:hover { background: #F07F00; }
.btn-main:active { transform: translateY(1px); }
.btn-main svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 1px; }
.form-msg.is-error { color: var(--red); }
.form-msg.is-ok { color: var(--green); }

/* ---------------- Fragen ---------------- */
.faq-section { padding: 96px 0; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--ink-2); max-width: 68ch; }

/* ---------------- Fuß ---------------- */
.foot { background: var(--navy); color: #AEB6CC; padding: 56px 0 28px; }
.foot-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin-top: 14px; font-size: 14px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: #DCE1EE; }
.foot-links a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; font-size: 13px; }
.foot-bottom p { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------------- Live-Abfrage ---------------- */
.cmp-btn { margin-top: 24px; }
.cmp-btn.is-loading { opacity: .7; cursor: progress; }
.cmp-msg { margin-top: 10px; font-size: 13.5px; color: var(--red); min-height: 1px; }
.cmp-msg:empty { display: none; }

.res-net {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: var(--blue-soft); color: #23324F; font-size: 14px; line-height: 1.5;
}
.res-total { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cmp-result.is-stale .res-list, .cmp-result.is-stale .res-net { opacity: .45; transition: opacity .2s; }

.res-state { padding: 8px 0 4px; }
.res-state.is-empty { max-width: 46ch; padding-top: 4px; }
.res-state-big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.res-state p { color: var(--ink-2); }
.res-state-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.res-state-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; font-size: 15px; }
.res-state-list li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--blue); }
.res-state.is-loading { display: flex; gap: 16px; align-items: flex-start; padding-top: 24px; }
.res-state.is-error { padding-top: 24px; }
.res-state.is-error strong, .res-state.is-loading strong { color: var(--ink); }
.res-mail { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--blue); }
.spinner {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  border: 2.5px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 67, 43, .12); }

/* ---------------- Lebendiger: Hero, Illustration, Bewegung ---------------- */
.intro { position: relative; overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.intro-grid h1 { font-size: clamp(40px, 4.7vw, 66px); max-width: none; }
.intro h1 .hl { position: relative; display: inline-block; white-space: nowrap; }
.intro h1 .hl svg { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .32em; overflow: visible; }
.intro h1 .hl path {
  fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s .35s cubic-bezier(.6, .1, .2, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; flex: none; }
.live-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #16A34A;
  opacity: 0; animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.kicker .live-dot + * { margin-left: 0; }
.kicker.has-dot::before { content: none; }

.intro-cta { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.btn-inline { display: inline-flex; width: auto; margin-top: 0; padding: 0 24px; text-decoration: none; }
.link-quiet { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--line-2); padding-bottom: 2px; transition: border-color .15s; }
.link-quiet:hover { border-color: var(--ink); }

.intro-art { margin: 0; }
.art { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--font); }
.a-bg { fill: #E6ECFA; }
.a-sun { fill: #FFC15C; animation: sun 6s ease-in-out infinite; transform-origin: 384px 86px; }
@keyframes sun { 50% { transform: scale(1.08); } }
.a-ground { fill: var(--line-2); }
.a-ink { fill: var(--ink); }
.a-wire { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.a-current { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 16; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.a-smoke { fill: #B9C0D2; animation: smoke 3.5s ease-in-out infinite; transform-origin: 352px 112px; }
@keyframes smoke { 0% { opacity: 0; transform: translateY(6px) scale(.8); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px) scale(1.1); } }
.a-house { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.a-roof { fill: var(--ink); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.a-win { fill: #FFC86B; animation: glow 4s ease-in-out infinite; }
.a-win-2 { animation-delay: 1.6s; }
@keyframes glow { 50% { fill: #FFB238; } }
.a-frame { stroke: var(--white); stroke-width: 3; }
.a-door { fill: var(--blue); }
.a-knob { fill: var(--white); }
.a-badge rect { fill: var(--white); stroke: var(--line); stroke-width: 1; filter: drop-shadow(0 10px 18px rgba(11, 21, 48, .12)); }
.a-badge .t1 { font-size: 15px; font-weight: 800; fill: var(--ink); }
.a-badge .t2 { font-size: 12px; font-weight: 600; fill: var(--ink-3); }
.a-badge .i-bolt { fill: var(--orange); }
.a-badge .i-flame { fill: var(--blue); }
.a-badge .i-down { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.a-badge { animation: bob 5s ease-in-out infinite; }
.b2 { animation-delay: -1.7s; }
.b3 { animation-delay: -3.3s; }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* Anbieterzeile */
.brands { padding: 0 0 64px; }
.brands-inner { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.brands-label { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.brands-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.brands-list li { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #9AA1B2; transition: color .2s; }
.brands-list li:hover { color: var(--ink); }
.brands-list li:last-child { font-weight: 600; font-size: 16px; align-self: center; letter-spacing: 0; }

/* Fakten als Farbband */
.facts { background: var(--blue); border: 0; color: #fff; }
.facts .fact h3 { color: #fff; }
.facts .fact p { color: #D6E0FA; }
.fact + .fact { border-left-color: rgba(255, 255, 255, .18); }
.fact-ico {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 12px; background: rgba(255, 255, 255, .14);
}
.fact-ico svg { width: 20px; height: 20px; fill: none; stroke: #FFC15C; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Schritte */
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.step-top .step-n { margin-bottom: 0; }
.step-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FFF1DE; transition: transform .25s; }
.step-ico svg { width: 18px; height: 18px; fill: none; stroke: #C25E00; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.steps li:hover .step-ico { transform: rotate(-8deg) scale(1.08); }

/* Ergebnis-Zeilen erscheinen nacheinander */
.res-row { animation: rowIn .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); transition: background .15s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.res-row:hover { background: linear-gradient(90deg, transparent, #FAF9F5 12%, #FAF9F5 88%, transparent); }
.res-bar span { animation: barIn .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms + .15s); transform-origin: left; }
@keyframes barIn { from { transform: scaleX(0); } }
.btn-main svg, .res-ask { transition: transform .15s, background .15s, color .15s; }
.btn-main:hover svg { transform: translateX(3px); }
.btn-inline:hover svg { transform: translateY(3px); }

/* Einblenden beim Scrollen (nur mit JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsiv ---------------- */
@media (max-width: 960px) {
  .compare { grid-template-columns: 1fr; }
  .compare { background: var(--white); }
  .cmp-input { position: static; background: #FBFAF7; border-bottom: 1px solid var(--line); }
  .preset-grid { grid-template-columns: repeat(4, 1fr); }
  .ask { grid-template-columns: 1fr; gap: 40px; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .top-nav { display: none; }
  .top-login { margin-left: auto; }
  .intro { padding: 44px 0 28px; }
  .intro-lead { font-size: 16.5px; }
  .preset-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 24px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps-section, .ask-section, .faq-section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 26px; }
  .cmp-input, .cmp-result { padding: 20px 16px; }
  .compare { border-radius: 16px; }
  .res-head { flex-direction: column; gap: 2px; }
  .res-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "main cost" "bar bar" "diff ask";
    column-gap: 12px;
  }
  .res-name { font-size: 16px; }
  .res-year { font-size: 19px; }
  .res-ask { height: 36px; padding: 0 14px; font-size: 13px; }
  .row2 { grid-template-columns: 1fr; }
  .ask-form .row2:first-child .field + .field { margin-top: 20px; }
  .ask-form { padding: 20px 16px; }
}
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; gap: 8px; }
  .intro-art { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .brands-list li { font-size: 18px; }
  .brands-inner { gap: 10px; }
  .intro-art { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .intro h1 .hl path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ================= Transparenz (12.10.2026) ================= */
.sec-head { max-width: 760px; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.sec-lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 62ch; }
.brands-note { flex-basis: 100%; font-size: 13.5px; color: var(--ink-3); }
.brands-note a { color: var(--ink-2); font-weight: 600; }

/* Preisbestandteile pro Tarif – immer sichtbar */
.res-row { grid-template-areas: "main cost ask" "bar bar ask" "diff diff ask" "parts parts parts" "way way way"; }
.res-parts { grid-area: parts; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; background: #FAF9F5; }
.res-parts div { padding: 8px 12px; min-width: 0; }
.res-parts div + div { border-left: 1px solid var(--line); }
.res-parts dt { font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.res-parts dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.res-parts small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.res-way { grid-area: way; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* Auf einen Blick */
.glance-section { padding: 32px 0 88px; }
.glance { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.glance > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); }
.glance > div:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
.glance dt { font-weight: 700; }
.glance dd { margin: 0; color: var(--ink-2); }
.glance dd strong { color: var(--ink); }
.glance a { color: var(--blue); font-weight: 600; }

/* So rechnen wir */
.calc-section { padding: 96px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.formula { margin-top: 40px; padding: 28px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.formula-label { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.formula-line { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: clamp(17px, 2vw, 22px); font-weight: 700; }
.formula-line span { padding: 8px 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; }
.formula-line b { color: var(--ink-3); font-weight: 800; }
.formula-line .formula-res { background: var(--ink); color: #fff; border-color: var(--ink); }
.formula-foot { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.inout { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inout-col { padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.inout-col h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.inout-col h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.inout-col.is-out h3::before { background: var(--ink-3); }
.inout-col ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-2); }
.inout-col li + li { margin-top: 8px; }
.inout-col strong { color: var(--ink); }
.facts-table { margin-top: 32px; border-top: 2px solid var(--ink); }
.ft-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ft-k { font-weight: 700; }
.ft-v { color: var(--ink-2); max-width: 72ch; }
.calc-disclaimer { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }

/* Geld */
.money-section { padding: 88px 0; }
.money { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.money-copy > p { font-size: 18px; color: var(--ink); line-height: 1.65; }
.money-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.money-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.money-list strong { color: var(--ink); }

/* Ablauf mit 5 Schritten + Unterlagen */
.steps-section { background: var(--white); border-top: 1px solid var(--line); }
.steps.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps-5 h3 { font-size: 18px; }
.steps-5 p { font-size: 15px; }
.needs { margin-top: 56px; padding: 28px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.needs h3 { font-size: 20px; font-weight: 700; }
.needs > p { margin-top: 6px; color: var(--ink-2); }
.needs ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.needs li { position: relative; padding-left: 26px; }
.needs li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* Anfrage – Datenhinweis */
.ask-privacy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 46ch; }
.ask-privacy-title { font-weight: 700; color: #fff; margin-bottom: 6px; }
.ask-privacy p:last-child { font-size: 14px; color: #AEB6CC; }

/* Über uns */
.who-section { padding: 0 0 96px; }
.who { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.who-k { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.who-v { font-weight: 600; line-height: 1.55; }
.who-v a { color: var(--blue); }

/* Fuß */
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols > div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols a, .foot-cols span { text-decoration: none; font-size: 14px; font-weight: 600; color: #DCE1EE; }
.foot-cols span { font-weight: 500; color: #AEB6CC; }
.foot-cols a:hover { color: #fff; }
.foot-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #7E88A3; margin-bottom: 4px; }

.top-nav { gap: 22px; }
@media (max-width: 1100px) {
  .top-nav { gap: 16px; }
  .top-nav a { font-size: 14px; }
  .steps.steps-5 { grid-template-columns: repeat(3, 1fr); }
  .who { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .top-nav { display: none; }
  .top-login { margin-left: auto; }
  .glance { grid-template-columns: 1fr; }
  .glance > div, .glance > div:nth-child(even) { padding: 18px 0; border-left: 0; }
  .money { grid-template-columns: 1fr; gap: 20px; }
  .inout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .glance-section, .calc-section, .money-section { padding: 64px 0; }
  .who-section { padding-bottom: 64px; }
  .glance > div { grid-template-columns: 1fr; gap: 4px; }
  .ft-row { grid-template-columns: 1fr; gap: 4px; }
  .steps.steps-5 { grid-template-columns: 1fr; }
  .needs ul { grid-template-columns: 1fr; }
  .formula { padding: 20px; }
  .formula-line { font-size: 16px; gap: 8px; }
  .formula-line span { padding: 6px 10px; }
}
@media (max-width: 560px) {
  .res-row { grid-template-areas: "main cost" "bar bar" "diff ask" "parts parts" "way way"; }
  .res-parts { grid-template-columns: 1fr 1fr; }
  .res-parts div + div { border-left: 0; }
  .res-parts div:nth-child(even) { border-left: 1px solid var(--line); }
  .res-parts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .who { grid-template-columns: 1fr; }
  .needs, .inout-col { padding: 20px 16px; }
  .foot-cols { gap: 32px; }
}

/* Fragen offen, ohne Aufklappen */
.faq { grid-template-columns: 1fr; gap: 32px; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 2px solid var(--ink); }
.faq-list .qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list .qa h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.faq-list .qa p { color: var(--ink-2); max-width: 62ch; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

/* Netto/Brutto */
.res-parts dd.is-net { margin-top: 0; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.res-parts dt span { text-transform: none; letter-spacing: 0; font-weight: 600; }
.res-netline { font-size: 13.5px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.res-parts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .res-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================= Schlanke Version ohne Preise (12.10.2026) ================= */
.intro { padding-bottom: 56px; }
.intro-trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.intro-trust li { position: relative; padding-left: 22px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.intro-trust li::before, .ask-points li::before {
  content: ''; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg);
}
.perks-section { padding: 96px 0; }
.perks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.perks li { padding: 22px 0; border-top: 1px solid var(--line); }
.perks li:nth-child(-n+3) { border-top: 2px solid var(--ink); }
.perks h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.perks p { color: var(--ink-2); }
.steps-section { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ask-points { list-style: none; margin: 24px 0 0; padding: 0; }
.ask-points li { position: relative; padding: 6px 0 6px 24px; color: #DCE1EE; font-weight: 600; }
.ask-points li::before { top: 1em; border-color: #FFC15C; }
.form-hint { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.who-section { padding-top: 0; }
@media (max-width: 960px) { .perks { grid-template-columns: 1fr 1fr; } .perks li:nth-child(3) { border-top-width: 1px; border-top-color: var(--line); } }
@media (max-width: 760px) {
  .perks-section { padding: 64px 0; }
  .perks { grid-template-columns: 1fr; }
  .perks li:nth-child(2) { border-top-width: 1px; border-top-color: var(--line); }
}
