/* TAQA Solar – Demo v2 (nicht live) */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #163d6e;
  --navy-dark: #0f2a4d;
  --navy-deep: #0b2140;
  --blue: #1452a0;
  --green: #4f9a3a;
  --green-dark: #3d7d2c;
  --green-soft: #eaf5e6;
  --sun: #f6c431;
  --sun-soft: #fff6d6;
  --whatsapp: #25d366;
  --red: #c2412d;
  --ink: #18222f;
  --muted: #505d6e;
  --line: #dde3ea;
  --soft: #f3f6f9;
  --cream: #fbf8f1;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(15, 42, 77, 0.12);
  --shadow-sm: 0 2px 8px rgba(15, 42, 77, 0.06);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.bg-soft { background: var(--soft); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 14px;
}
.eyebrow .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.bg-navy .eyebrow { color: var(--sun); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 660px; }
.bg-navy .lead { color: rgba(255,255,255,.78); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 48px; }

/* Gelbe Markierung unter Schlüsselwörtern */
.mark {
  background-image: linear-gradient(var(--sun), var(--sun));
  background-repeat: no-repeat; background-position: 0 88%;
  background-size: 0% .32em;
  transition: background-size 1s var(--ease) .35s;
  padding: 0 .05em;
}
.is-ready .mark, .mark.in { background-size: 100% .32em; }

/* ---------- Demo-Leiste ---------- */
.demo-bar {
  background: #262626; color: #fff; font-size: .85rem;
  padding: 8px 20px; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.demo-bar strong { color: var(--sun); }
.demo-bar button {
  font-weight: 600; cursor: pointer; background: var(--sun); color: #222; border: 0; border-radius: 999px; padding: 4px 12px;
}
.demo-bar a { color: #fff; }

.show-checks .check { outline: 2px dashed #e0a800; outline-offset: 3px; background-color: rgba(246, 196, 49, .18); border-radius: 4px; position: relative; }
.show-checks .check[data-note]:hover::after {
  content: attr(data-note); position: absolute; left: 0; top: calc(100% + 8px); z-index: 60;
  background: #262626; color: #fff; font-size: .8rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none;
  padding: 6px 10px; border-radius: 6px; width: max-content; max-width: 260px; text-align: left;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a, .phone-pill, .header-cta .btn { white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.phone-pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: 6px 16px 6px 8px; }
.phone-pill .ic { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.phone-pill .ic svg { width: 16px; height: 16px; }
.phone-pill small { display: block; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); line-height: 1.1; }
.phone-pill b { display: block; font-size: 1rem; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 12px; padding: 14px 24px; min-height: 56px;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,42,77,.16); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-sun { background: var(--sun); color: var(--navy-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-whatsapp { background: var(--whatsapp); color: #08361b; }
.btn-small { padding: 10px 18px; min-height: 46px; font-size: .95rem; }
.btn-block { width: 100%; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); margin-top: 12px; }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 112px; background: radial-gradient(1200px 500px at 85% -10%, var(--sun-soft), transparent 60%), linear-gradient(180deg, #fff, var(--cream)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.hero-tag .pin { width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; }
.hero-tag .pin svg { width: 14px; height: 14px; color: var(--green-dark); }
.hero .lead { margin-bottom: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .95rem; }
.pill svg { width: 18px; height: 18px; color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.call-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }

.hero-visual { position: relative; }
.hero-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 76% center; animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.rating-chip { position: absolute; top: 22px; left: -22px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; gap: 12px; align-items: center; }
.rating-chip .g { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 800; color: var(--blue); }
.rating-chip b { font-size: 1.15rem; color: var(--navy); }
.stars { color: #f2a900; letter-spacing: 1px; }
.rating-chip small { display: block; color: var(--muted); font-size: .8rem; }

/* Rechnungs-Schieberegler */
.bill-card { position: absolute; right: -18px; bottom: -28px; width: min(360px, 92%); background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 20px 22px; border: 1px solid var(--line); }
.bill-card h4 { font-size: .95rem; margin: 0 0 4px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.bill-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bill-now { font-size: 1.9rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.bill-after { text-align: right; }
.bill-after small { display: block; font-size: .78rem; color: var(--muted); }
.bill-after b { font-size: 1.35rem; color: var(--green-dark); font-variant-numeric: tabular-nums; }
.range { width: 100%; margin: 12px 0 10px; accent-color: var(--green); height: 32px; cursor: pointer; }
.bill-save { background: var(--green-soft); color: var(--green-dark); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .95rem; display: flex; justify-content: space-between; gap: 10px; }
.bill-card .btn { margin-top: 12px; }
.fine { font-size: .75rem; color: var(--muted); margin: 8px 0 0; line-height: 1.4; }

/* Scroll-Hinweis unten in der Mitte des Heros */
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--navy); text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: opacity .4s var(--ease);
}
.scroll-cue .ring { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; animation: cue-bounce 1.8s var(--ease) infinite; }
.scroll-cue svg { width: 22px; height: 22px; color: var(--green-dark); }
.scroll-cue:hover .ring { border-color: var(--green); }
.scroll-cue.hide { opacity: 0; pointer-events: none; }
@keyframes cue-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ---------- Trust-Band ---------- */
.trust-band { background: var(--navy-deep); color: #fff; padding: 20px 0; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center; align-items: center; list-style: none; margin: 0 auto; padding: 0 24px; font-weight: 600; font-size: .98rem; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list svg { width: 18px; height: 18px; color: var(--sun); }

/* ---------- Wege-Kacheln ---------- */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path {
  display: flex; flex-direction: column; gap: 10px; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
  text-decoration: none;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.path .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--sun-soft); display: grid; place-items: center; }
.path .ico svg { width: 28px; height: 28px; color: var(--navy); }
.path b { font-size: 1.12rem; color: var(--navy); }
.path span { color: var(--muted); font-size: .95rem; }
.path .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-dark); font-size: .95rem; }
.path .go svg { width: 16px; height: 16px; transition: transform .2s; }
.path:hover .go svg { transform: translateX(4px); }

/* ---------- Dach-Check ---------- */
.check-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.check-aside .points { list-style: none; padding: 0; margin: 26px 0 0; }
.check-aside .points li { display: flex; gap: 12px; margin-bottom: 14px; }
.check-aside .points svg { width: 24px; height: 24px; color: var(--green); flex: none; margin-top: 2px; }
.funnel { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 32px; position: relative; }
.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.progress-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--green), #7cc35f); border-radius: 99px; transition: width .5s var(--ease); }
.progress small { font-weight: 700; color: var(--muted); font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.step { display: none; animation: stepIn .45s var(--ease); }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.step h3 { font-size: 1.45rem; margin-bottom: 6px; }
.step .hint { color: var(--muted); margin-bottom: 22px; }
.q-label { font-weight: 700; color: var(--navy); margin: 18px 0 10px; display: block; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile { cursor: pointer; position: relative; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  border: 2px solid var(--line); border-radius: 14px; padding: 18px 10px; min-height: 124px; font-weight: 600; font-size: .97rem;
  transition: border-color .15s, background .15s, transform .15s;
}
.tile .box svg { width: 40px; height: 40px; color: var(--navy); }
.tile:hover .box { border-color: #b6c3d1; transform: translateY(-2px); }
.tile input:checked + .box { border-color: var(--green); background: var(--green-soft); }
.tile input:checked + .box::after { content: ""; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tile input:focus-visible + .box { outline: 3px solid var(--green); outline-offset: 2px; }
.tile.compact .box { min-height: 64px; padding: 12px 8px; flex-direction: row; }
.tile.compact .box svg { width: 24px; height: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid #c9d2dc; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: all .15s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.kwh-out { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.kwh-out b { font-size: 2rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.link-back { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; padding: 10px 4px; display: inline-flex; align-items: center; gap: 6px; }
.link-back svg { width: 18px; height: 18px; }

.result { background: linear-gradient(135deg, var(--navy), #1f5291); color: #fff; border-radius: 18px; padding: 24px; margin-bottom: 22px; }
.result-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.result-top h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 48px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.3); position: relative; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--sun); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--sun); outline-offset: 2px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: rgba(255,255,255,.1); border-radius: 12px; padding: 14px; }
.kpi b { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi > span { font-size: .82rem; color: rgba(255,255,255,.78); }
.kpi.hl { background: var(--sun); }
.kpi.hl b, .kpi.hl > span { color: var(--navy-dark); }
.result .fine { color: rgba(255,255,255,.7); }
.warn { background: #fff3e6; color: #8a4b00; border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: -8px 0 18px; display: none; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 14px; border: 1.5px solid #c3cdd8; border-radius: 12px; background: #fff; min-height: 54px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(79,154,58,.25); border-color: var(--green); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); margin: 6px 0 18px; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--green); }
.success { text-align: center; padding: 30px 10px; }
.success .big { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; margin: 0 auto 18px; }
.success .big svg { width: 44px; height: 44px; color: var(--green); }
.success .big svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Zeitstrahl ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 16px; bottom: 16px; width: 3px; background: rgba(255,255,255,.18); border-radius: 3px; }
.timeline .fill { position: absolute; left: 31px; top: 16px; width: 3px; height: 0; background: var(--sun); border-radius: 3px; transition: height 1.4s var(--ease); }
.timeline.in .fill { height: calc(100% - 32px); }
.t-item { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 20px; margin-bottom: 18px; }
.t-dot { width: 66px; height: 66px; border-radius: 50%; background: var(--navy); border: 3px solid rgba(255,255,255,.25); display: grid; place-items: center; position: relative; z-index: 1; }
.t-dot svg { width: 28px; height: 28px; color: var(--sun); }
.t-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 22px; }
.t-card .when { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sun); margin-bottom: 4px; }
.t-card h3 { margin: 0 0 4px; color: #fff; }
.t-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; }
.t-item.last .t-card { background: var(--sun); border-color: var(--sun); }
.t-item.last .t-card .when, .t-item.last .t-card h3, .t-item.last .t-card p { color: var(--navy-dark); }

/* ---------- Referenzen + Karte ---------- */
.ref-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: stretch; }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.map-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 8px; }
.map-head b { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.map-head > span { color: var(--muted); font-size: .95rem; }
.map { width: 100%; height: auto; flex: 1; }
.map .dot { fill: var(--green); opacity: 0; transform-box: view-box; } /* Skalierpunkt = Ortsmitte, per JS gesetzt */
.map.in .dot { opacity: .8; animation: pop .5s var(--ease) backwards; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.map .town { cursor: pointer; outline: none; }
.map .town .hit { fill: transparent; }
.map .town circle:not(.hit) { transition: r .3s var(--ease); }
.map .town text { transition: fill .3s, font-size .3s var(--ease); }
.map .town:focus-visible .hit { stroke: var(--green); stroke-width: 3; }
.map.focus .dot.hl { opacity: 1; transform: scale(1.5); }
.map .town.active circle:not(.hit) { r: 11; }
.map .town.home.active circle:not(.hit) { r: 15; }
.map .town.active text { fill: var(--green-dark); font-size: 21px; }
.map .town.home.active text { font-size: 23px; }
#map-label b { color: var(--green-dark); font-size: 1.15rem; }
.map-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
@keyframes pop { 0% { opacity: 0; transform: scale(0); } 70% { opacity: .9; transform: scale(1.5); } 100% { opacity: .8; transform: scale(1); } }
.map .town circle:not(.hit) { fill: var(--navy); }
.map .town.home circle:not(.hit) { fill: var(--sun); stroke: var(--navy); stroke-width: 3; }
.map .town text { font-size: 15px; font-weight: 700; fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map .town.home text { font-size: 17px; }
.map .river { fill: none; stroke: #b9d6ef; stroke-width: 5; stroke-linecap: round; }
.map .road { fill: none; stroke: #e3e8ee; stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.map .area { fill: #f2f6ef; stroke: #dbe6d3; stroke-width: 2; }
.legend { display: flex; gap: 18px; font-size: .85rem; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: rgba(255,255,255,.94); color: var(--navy); font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.tag.dark { background: var(--navy); color: #fff; }

/* ---------- Bewertungen ---------- */
.g-head { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; width: fit-content; margin: 0 auto 40px; box-shadow: var(--shadow-sm); }
.g-logo { width: 46px; height: 46px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: var(--blue); }
.g-head b { font-size: 2rem; color: var(--navy); line-height: 1; }
.g-head small { display: block; color: var(--muted); font-size: .88rem; }
.reviews { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review p { flex: 1; margin: 0; font-size: 1.02rem; }
.review .who { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.review .who b { color: var(--ink); display: block; }
.review.featured { grid-row: span 2; background: var(--navy); border-color: var(--navy); color: #fff; padding: 30px; }
.review.featured p { font-size: 1.35rem; font-weight: 600; line-height: 1.45; }
.review.featured .who { color: rgba(255,255,255,.75); }
.review.featured .who b { color: #fff; }
.review.featured .avatar { background: var(--sun); color: var(--navy-dark); }
.spec { display: grid; gap: 8px; }
.spec div { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.1); border-radius: 10px; padding: 9px 12px; font-size: .92rem; }
.spec div b { color: #fff; }
.review.cta { background: var(--sun-soft); border-color: #f3e2a3; }

/* ---------- Vergleich ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); max-width: 980px; margin: 0 auto; }
.compare > div { padding: 30px 32px; }
.compare .grid-side { background: #fff; }
.compare .own-side { background: var(--navy); color: #fff; }
.compare h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare .own-side h3 { color: #fff; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.compare .own-side li { border-color: rgba(255,255,255,.14); }
.compare li:last-child { border-bottom: 0; }
.compare li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.compare .no svg { color: var(--red); }
.compare .yes svg { color: var(--sun); }

/* ---------- Garantien ---------- */
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.g-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.g-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 16px; }
.g-card .ico svg { width: 26px; height: 26px; color: var(--green-dark); }
.g-card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Energiefluss ---------- */
.flow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.toggle-dn { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px; margin: 10px 0 24px; }
.toggle-dn button { border: 0; background: transparent; color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; min-height: 46px; }
.toggle-dn button svg { width: 18px; height: 18px; }
.toggle-dn button[aria-pressed="true"] { background: var(--sun); color: var(--navy-dark); }
.flow-explain { list-style: none; padding: 0; margin: 0; }
.flow-explain li { display: flex; gap: 14px; margin-bottom: 14px; color: rgba(255,255,255,.85); }
.flow-explain b { color: #fff; }
.flow-explain .n { width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--navy-dark); display: grid; place-items: center; font-weight: 800; flex: none; font-size: .9rem; }
.flow-card { background: linear-gradient(180deg, #1d4c86, #163d6e); border-radius: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.12); transition: background .6s; }
.is-night .flow-card { background: linear-gradient(180deg, #0b1830, #10264a); }
svg.flow { width: 100%; height: auto; display: block; }
.swipe-hint { display: none; text-align: center; font-size: .85rem; color: rgba(255,255,255,.7); margin: 10px 0 0; }
.flow .node rect { fill: #fff; }
.flow .node text { font-size: 15px; font-weight: 700; fill: var(--navy); text-anchor: middle; }
.flow .node .sub { font-size: 12px; font-weight: 600; fill: var(--muted); }
.flow .wire { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 4; stroke-linecap: round; }
.flow .wire.on { stroke: rgba(246,196,49,.65); }
.flow .pulse { fill: var(--sun); }
.night-only { display: none !important; }
.is-night .night-only { display: revert !important; }
.is-night .day-only { display: none !important; }
.flow .sun { fill: var(--sun); transition: opacity .6s; }
.is-night .flow .sun { opacity: 0; }
.flow .moon { fill: #e8edf5; opacity: 0; transition: opacity .6s; }
.is-night .flow .moon { opacity: 1; }
.flow .battery-level { fill: var(--green); transition: height 1s var(--ease), y 1s var(--ease); }

/* ---------- Komponenten ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.product .pic { background: linear-gradient(180deg, var(--soft), #fff); height: 220px; display: grid; place-items: center; padding: 18px; }
.product .pic img { height: 184px; width: auto; max-width: 100%; object-fit: contain; }
.product .body { padding: 22px 24px 26px; }
.product .brand { font-size: .8rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .08em; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.facts span { background: var(--soft); border-radius: 8px; padding: 4px 10px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.brands { display: flex; justify-content: center; gap: 40px; align-items: center; margin-top: 34px; }
.brands img { height: 52px; width: auto; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-weight: 700; color: var(--navy); position: relative; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163d6e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.ask-card { background: var(--navy); color: #fff; border-radius: 20px; padding: 28px; margin-top: 26px; }
.ask-card h3 { color: #fff; }
.ask-card p { color: rgba(255,255,255,.8); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 26px; }
.c-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
a.c-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--green); }
.c-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; flex: none; }
.c-card .ic svg { width: 24px; height: 24px; color: var(--navy); }
.c-card b { display: block; font-size: 1.1rem; color: var(--navy); }
.c-card small { color: var(--muted); font-size: .9rem; }
form.quick { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-success { display: none; background: var(--green-soft); border: 1px solid #b9dcae; color: var(--green-dark); border-radius: 12px; padding: 16px; font-weight: 600; margin-top: 12px; }

/* ---------- CTA-Band + Footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), #1f5291); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(246,196,49,.35), transparent 65%); }
.cta-band .inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 60px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; letter-spacing: 0; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { height: 42px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Schwebende Elemente ---------- */
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 64px; height: 64px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .2s var(--ease); }
.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 34px; height: 34px; color: #fff; }
.mobile-bar { display: none; }
.to-top { position: fixed; right: 30px; bottom: 100px; z-index: 44; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--navy); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-photo img { animation: none; }
  .scroll-cue .ring { animation: none; }
  .map .dot { opacity: .8; }
  .mark { background-size: 100% .32em; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1280px) {
  .nav { gap: 18px; }
  .nav a { font-size: .94rem; }
  .phone-pill small { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-grid, .check-wrap, .ref-grid, .flow-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto 30px; width: 100%; }
  .paths { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .review.featured { grid-column: span 2; grid-row: auto; }
  .guarantees, .products { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; padding-bottom: 76px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .sec-head { margin-bottom: 32px; }
  .header-inner { height: 68px; }
  .logo img { height: 40px; }
  .phone-pill { display: none; }
  .hero { padding-top: 32px; padding-bottom: 64px; }
  .scroll-cue { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-photo { aspect-ratio: 4 / 3.3; }
  .rating-chip { left: 10px; top: 10px; padding: 8px 12px; }
  .bill-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -40px; }
  .paths, .reviews, .guarantees, .products, .row-2, .footer-grid, .compare { grid-template-columns: 1fr; }
  .review.featured { grid-column: auto; }
  .tiles, .tiles.four { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .funnel { padding: 22px 18px; min-height: 0; }
  .compare > div { padding: 24px 20px; }
  .gallery { grid-auto-rows: 130px; }
  .timeline::before, .timeline .fill { left: 25px; }
  .t-item { grid-template-columns: 54px 1fr; gap: 14px; }
  .t-dot { width: 54px; height: 54px; }
  .t-dot svg { width: 22px; height: 22px; }
  .float-wa, .to-top { display: none; }
  .flow-card { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 12px; }
  svg.flow { min-width: 600px; }
  .swipe-hint { display: block; }
  .map .town text { font-size: 26px; stroke-width: 6px; }
  .map .town.home text { font-size: 30px; }
  .map .town.active text { font-size: 32px; }
  .map .town.home.active text { font-size: 34px; }
  .brands { gap: 24px; }
  .brands img { height: 40px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(15,42,77,.08); }
  .mobile-bar .btn { min-height: 52px; padding: 10px; }
}

/* ======================================================================
   Ratgeber / Blog
   ====================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card[hidden] { display: none; }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb .tag { position: absolute; left: 14px; top: 14px; }
.post-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.post-meta { margin-top: auto; display: flex; gap: 16px; font-size: .88rem; color: var(--muted); align-items: center; flex-wrap: wrap; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 16px; height: 16px; }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-dark); margin-left: auto; }
.post-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.post-card:hover .more svg { transform: translateX(4px); }
.post-card.featured { grid-column: 1 / -1; flex-direction: row; }
.post-card.featured .thumb { aspect-ratio: auto; flex: 1.1; min-height: 340px; }
.post-card.featured .body { flex: 1; padding: 40px; justify-content: center; }
.post-card.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.post-card.featured p { font-size: 1.1rem; }
.section-foot { display: flex; justify-content: center; margin-top: 36px; }

.page-hero { padding: 64px 0 40px; background: radial-gradient(900px 400px at 90% -20%, var(--sun-soft), transparent 60%), linear-gradient(180deg, #fff, var(--cream)); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin: 0 0 18px; list-style: none; padding: 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb li + li::before { content: "\203A"; margin-right: 8px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.filter-chips button { border: 1.5px solid #c9d2dc; background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; min-height: 46px; color: var(--ink); transition: all .15s; }
.filter-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Artikel */
#read-progress { position: fixed; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--green), var(--sun)); transform: scaleX(0); transform-origin: left; z-index: 70; }
.article-head { max-width: 860px; }
.article-head .lead { font-size: 1.22rem; max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.article-meta .who { display: flex; align-items: center; gap: 10px; }
.article-meta .who b { color: var(--ink); display: block; line-height: 1.2; }
.article-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 17px; height: 17px; }
.article-hero { margin: 34px 0 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21 / 9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 40px; }
.toc { position: sticky; top: 104px; background: var(--soft); border-radius: 16px; padding: 20px 22px; }
.toc > b { display: block; color: var(--navy); margin-bottom: 10px; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc ol a { display: flex; gap: 10px; padding: 8px 0 8px 12px; border-left: 3px solid transparent; color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.35; transition: color .15s, border-color .15s; }
.toc ol a::before { content: counter(toc) "."; font-weight: 700; color: #9aa6b4; }
.toc ol a:hover { color: var(--navy); }
.toc ol a.active { color: var(--navy); font-weight: 700; border-color: var(--green); }
.toc .toc-cta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.toc .toc-cta p { font-size: .92rem; color: var(--muted); margin-bottom: 10px; }

.article-body { font-size: 1.12rem; line-height: 1.75; max-width: 760px; }
.article-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.1em 0 .6em; scroll-margin-top: 110px; }
.article-body h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.article-body p { margin: 0 0 1.15em; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article-body li { margin-bottom: .45em; }
.article-body ul.ticks { list-style: none; padding: 0; }
.article-body ul.ticks li { padding-left: 34px; position: relative; }
.article-body ul.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.summary-box { background: var(--sun-soft); border: 1px solid #f3e2a3; border-radius: 18px; padding: 24px 28px; margin: 0 0 2em; }
.summary-box .title { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.summary-box .title svg { width: 22px; height: 22px; color: #c89400; }
.summary-box ul { margin: 0; }
.callout { display: flex; gap: 16px; background: #eef4fb; border-left: 5px solid var(--blue); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 1.6em 0; font-size: 1.02rem; }
.callout svg { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 3px; }
.callout p:last-child { margin: 0; }
.callout.green { background: var(--green-soft); border-color: var(--green); }
.callout.green svg { color: var(--green-dark); }
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border-radius: 14px; border: 1px solid var(--line); }
.cost-table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 520px; }
.cost-table th, .cost-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.cost-table th { background: var(--navy); color: #fff; font-size: .92rem; font-weight: 700; }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table tr:nth-child(even) td { background: var(--soft); }
.cost-table td.num { font-weight: 700; color: var(--navy); white-space: nowrap; }
.inline-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(120deg, var(--navy), #1f5291); color: #fff; border-radius: 20px; padding: 28px 30px; margin: 2.2em 0; }
.inline-cta b { display: block; font-size: 1.25rem; margin-bottom: 4px; }
.inline-cta p { margin: 0; color: rgba(255,255,255,.8); font-size: 1rem; }
.article-faq { margin-top: 1em; }
.article-faq details { border-bottom: 1px solid var(--line); }
.article-faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green-dark); font-weight: 400; }
.article-faq details[open] summary::after { content: "\2013"; }
.article-faq details p { color: var(--muted); }
.author-box { display: flex; gap: 20px; align-items: center; background: var(--soft); border-radius: 18px; padding: 24px; margin-top: 2.6em; }
.author-box .avatar { width: 64px; height: 64px; font-size: 1.4rem; }
.author-box b { color: var(--navy); font-size: 1.08rem; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.sources { font-size: .9rem; color: var(--muted); margin-top: 2em; border-top: 1px solid var(--line); padding-top: 1.2em; }

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; }
  .toc { position: static; order: -1; }
  .toc .toc-cta { display: none; }
}
@media (max-width: 680px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { flex-direction: column; }
  .post-card.featured .thumb { min-height: 0; aspect-ratio: 16 / 10; }
  .post-card.featured .body { padding: 22px 24px 24px; }
  .page-hero { padding: 36px 0 28px; }
  .article-hero { aspect-ratio: 16 / 10; border-radius: 16px; margin-top: 24px; }
  .article-body { font-size: 1.06rem; }
  .inline-cta { padding: 22px; }
  .inline-cta .btn { width: 100%; }
  .author-box { flex-direction: column; align-items: flex-start; }
}

.post-grid.two { grid-template-columns: 1fr 1fr; }
.nav a[aria-current="page"] { color: var(--green-dark); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 680px) { .post-grid.two { grid-template-columns: 1fr; } }

/* Telefon im Header: zuerst nur das Symbol, beim Darüberfahren erscheint die Nummer */
.phone-pill { gap: 0; padding: 0; background: var(--navy); transition: padding .5s var(--ease), background .35s ease; }
/* Geschlossen: ein voller blauer Kreis (44 + 2×2 Rand = 48 px). Offen: kleiner Kreis in der Pille, gleiche Höhe. */
.phone-pill .ic { width: 44px; height: 44px; transition: width .5s var(--ease), height .5s var(--ease), transform .4s var(--ease); }
.phone-pill .ic svg { width: 19px; height: 19px; transition: width .5s var(--ease), height .5s var(--ease); }
.phone-pill:hover .ic, .phone-pill:focus-visible .ic { width: 32px; height: 32px; }
.phone-pill:hover .ic svg, .phone-pill:focus-visible .ic svg { width: 16px; height: 16px; }
.phone-pill .pp-text { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; margin-left: 0;
  transition: max-width .5s var(--ease), opacity .25s ease, margin-left .5s var(--ease); }
.phone-pill:hover, .phone-pill:focus-visible { padding: 6px 18px 6px 6px; background: #fff; }
.phone-pill:hover .pp-text, .phone-pill:focus-visible .pp-text { max-width: 200px; opacity: 1; margin-left: 10px; transition-delay: 0s, .15s, 0s; }
.phone-pill:hover .ic { transform: rotate(-14deg); }
@media (min-width: 1081px) { .header-cta { min-width: 370px; justify-content: flex-end; } }

/* Spam-Falle für Formulare: für Menschen unsichtbar */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
