@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("../fonts/ubuntu-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #F5F8FC;
  --surface: #FCFDFE;
  --surface-2: #EAF2FB;
  --ink: #142D63;
  --text: #2E3D58;
  --muted: #56667F;
  --line: #DAE3EE;
  --input-border: #7A8BA6;
  --accent: #0069B4;
  --accent-hover: #00579A;
  --accent-soft: #E1EFFB;
  --on-accent: #FCFDFE;
  /* Logo-Grün: --green = "o" im Logo, --lime = Logo-Bogen. Blau bleibt für Buttons, Links, Fokus. */
  --green: #12A04A;
  --green-ink: #0B7A37;
  --lime: #9BC83A;
  --green-soft: #E7F4DB;
  --brand-arc: linear-gradient(90deg, #9BC83A 0%, #12A04A 45%, #2088C8 100%);
  --chart-muted: #C3CEDC;
  --error: #B42318;
  --shadow: 0 1px 2px rgb(20 45 99 / .06), 0 18px 40px -20px rgb(20 45 99 / .28);
  --radius-card: 24px;
  --radius-menu: 16px;
  --radius-input: 12px;
  --radius-pill: 999px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; text-wrap: balance; }
/* Lange deutsche Komposita (Energieeinkaufskonditionen …) dürfen auf schmalen Bildschirmen getrennt werden, lange URLs umbrechen */
/* Schmale Handys: erst Silbentrennung/weiche Trennstellen, im Notfall Umbruch im Wort statt Überlauf */
@media (max-width: 599px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: anywhere; } }
p, li, dd, td, a { overflow-wrap: break-word; }
.h2 { font-size: clamp(2rem, 1.35rem + 2vw, 3rem); letter-spacing: -.015em; line-height: 1.1; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-head { max-width: 760px; }
.section-head .lead { margin-top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 12px 18px; border-radius: var(--radius-pill); font-weight: 500; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 52px; padding: 0 26px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-weight: 500; font-size: 1rem; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary .ic-arrow { transition: transform .25s var(--ease); }
.btn-primary:hover .ic-arrow { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-light { background: #FCFDFE; color: #142D63; }
.btn-light:hover { background: #E1EFFB; }
.btn-outline-light { color: #FCFDFE; border-color: rgb(252 253 254 / .55); }
.btn-outline-light:hover { border-color: #FCFDFE; background: rgb(252 253 254 / .08); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); }
.text-link .ic { transition: transform .25s var(--ease); }
.text-link:hover .ic { transform: translateX(3px); }

/* Header (z-index: Header 50, Mobilmenü 60, Skip-Link 100) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 28px -22px rgb(20 45 99 / .45); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 50px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--radius-pill); font-weight: 500; font-size: .9375rem; color: var(--ink); white-space: nowrap; transition: background-color .2s; }
.nav-link:hover { background: var(--surface-2); }
.nav-link .ic { width: 16px; height: 16px; color: var(--accent); transition: transform .2s var(--ease); }
.has-sub:hover > .nav-link .ic, .has-sub:focus-within > .nav-link .ic { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .nav-link .ic { transition: none; } }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-menu); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 10px; font-size: .9375rem; font-weight: 500; color: var(--text); }
.sub a:hover { background: var(--surface-2); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9375rem; color: var(--ink); white-space: nowrap; padding: 10px 4px; }
.header-phone .ic { color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; }
.menu-toggle .ic { width: 22px; height: 22px; }
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 60; background: var(--bg); padding: 16px var(--gutter) 40px; overflow-y: auto; }
.mobile-menu > ul > li > a { display: block; padding: 16px 0; font-size: 1.25rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .sub-m a { display: block; padding: 12px 0 12px 16px; color: var(--muted); font-weight: 500; }
.mobile-menu .btn { width: 100%; margin-top: 28px; }
.mobile-menu .header-phone { margin-top: 12px; justify-content: center; width: 100%; }
@media (max-width: 1279px) { .header-phone .phone-text { display: none; } }
@media (max-width: 1079px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
/* Tablet und Handy: Telefon als runder Knopf passend zum Menü-Knopf */
@media (max-width: 1079px) {
  .header-actions { gap: 10px; }
  .header-actions .header-phone { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: var(--accent-soft); transition: background-color .2s; }
  .header-actions .header-phone:hover { background: var(--surface-2); }
}
/* Handy: kompakter Button "Beratung" statt Leere zwischen Logo und Menü */
@media (max-width: 599px) {
  .brand img { height: 44px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 0 16px; }
  .header-actions .btn .hide-sm { display: none; }
}
@media (max-width: 359px) { .header-actions .header-phone { display: none; } }

/* Hero: vollflächige Bühne mit dem Hintergrund des Live-Sliders */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #EEF5FC url("../img/hero-hintergrund.jpg") center / cover no-repeat; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 560px; padding-block: 48px; }
.hero-copy { max-width: 660px; }
.hero-copy .lead { max-width: 50ch; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; margin-top: 18px; }
.hero h1 .accent { color: var(--lime); }
.hero .eyebrow { color: var(--accent); }
.hero .lead { margin-top: 24px; color: var(--text); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
/* Ebenen 1:1 wie im Live-Slider, umgerechnet aus dessen Raster (1240 x 560 px) */
.hero-art { position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: min(1240px, 100%); aspect-ratio: 1240 / 560; }
.hero-art img { position: absolute; max-width: none; }
.hero-art .windrad { left: 70%; top: -6.79%; width: 53.39%; z-index: 0; }
.hero-art .wasser { left: 69.27%; top: 50%; width: 68.15%; z-index: 1; }
.hero-art .schwein { left: 47.58%; top: 25.54%; width: 53.55%; z-index: 2; filter: drop-shadow(0 26px 30px rgb(20 45 99 / .16)); }
@media (max-width: 1099px) {
  .hero-inner { min-height: 0; padding-block: 40px 0; }
  /* Gleiche Komposition, größer skaliert und auf die Glühbirne zentriert */
  .hero-visual { position: relative; inset: auto; height: calc(min(165vw, 1240px) * .4516); }
  .hero-art { width: min(165vw, 1240px); left: calc(50% - min(165vw, 1240px) * .7436); translate: none; }
}

.facts-section { padding-top: 32px; }

/* Fakten */
/* Typografisch statt Icons: großes Schlagwort, Erläuterung, Akzentstreifen im Grünverlauf des Logos */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 30px 12px; box-shadow: var(--shadow); }
.fact { position: relative; padding: 2px 20px 2px 24px; }
.fact::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--lime) 0%, var(--green) 100%); }
.fact strong { display: block; color: var(--ink); font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.fact > span { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.5; margin-top: 6px; text-wrap: balance; }
.nowrap { white-space: nowrap; }
@media (max-width: 999px) { .facts-grid { grid-template-columns: 1fr 1fr; padding: 28px 12px; } }
@media (max-width: 559px) { .facts-grid { grid-template-columns: 1fr; } }

/* Kosten-Vorab-Check: rückt eng an die Faktenleiste, darunter normaler Abschnittsabstand */
.section.check-section { padding-block: 40px 0; }
.check-section + .section { padding-top: clamp(56px, 7vw, 88px); }
.check-panel {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 4.5vw, 64px); border-radius: var(--radius-card); border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 0% 0%, #E1EFFB 0%, transparent 70%), radial-gradient(60% 80% at 100% 100%, #E9F5DD 0%, transparent 70%), var(--surface);
}
.check-intro .lead { margin-top: 16px; }
.check-points { margin-top: 28px; display: grid; gap: 14px; }
.check-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink); }
.check-points .ic { width: 22px; height: 22px; color: var(--green); }
.check-card { position: relative; display: flex; flex-direction: column; min-height: 500px; padding: clamp(22px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow); overflow: hidden; }
#check-form { display: flex; flex-direction: column; flex: 1; }
.check-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.check-progress span { height: 5px; border-radius: var(--radius-pill); background: var(--line); transition: background-color .4s var(--ease); }
.check-progress span.is-done { background: linear-gradient(90deg, var(--lime), var(--green)); }
.check-step-label { margin-top: 12px; font-size: .875rem; font-weight: 500; color: var(--muted); }
.check-step { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.check-step:focus { outline: none; }
.check-step legend { padding: 0; margin-bottom: 20px; font-size: 1.375rem; font-weight: 700; color: var(--ink); }
.check-sub { margin: 24px 0 10px; font-weight: 500; font-size: .9375rem; color: var(--ink); }
.energy-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.energy input { position: absolute; opacity: 0; pointer-events: none; }
.energy label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--input-border); font-weight: 700; font-size: 1.125rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.energy-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background-color .2s, color .2s; }
.energy-ic .ic { width: 22px; height: 22px; }
@media (max-width: 479px) { .energy-choices { gap: 8px; } .energy label { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; } }
.energy input:checked + label { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.energy input:checked + label .energy-ic { background: var(--accent); color: var(--on-accent); }
.energy input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
.check-fields { display: grid; gap: 22px; }
.check-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.range-row { display: grid; grid-template-columns: 1fr 170px; gap: 16px; align-items: center; }
.range-row input[type="range"] { width: 100%; height: 28px; accent-color: var(--accent); cursor: pointer; }
.unit-input { display: flex; align-items: center; min-width: 0; height: 52px; border-radius: var(--radius-input); border: 1.5px solid var(--input-border); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.unit-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.unit-input.is-invalid { border-color: var(--error); }
.field .unit-input input[type="text"] { flex: 1 1 0; min-width: 0; width: 0; height: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0 10px 0 16px; text-align: right; font-weight: 500; color: var(--ink); }
.field .unit-input input[type="text"]:focus { outline: none; box-shadow: none; }
.unit-input input::placeholder { color: var(--muted); opacity: 1; }
.unit-input span { padding-right: 14px; color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.hint { font-size: .875rem; color: var(--muted); }
.check-nav { margin-top: auto; padding-top: 28px; display: flex; gap: 12px; }
.check-nav .btn-primary { margin-left: auto; }
.check-step:not([hidden]), .check-loading:not([hidden]), .check-result:not([hidden]) { animation: step-in .5s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

.check-loading { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.check-loading h3 { font-size: 1.375rem; }
.loading-steps { display: grid; gap: 16px; }
.loading-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 500; opacity: .45; transition: opacity .3s, color .3s; }
.loading-steps li.is-active, .loading-steps li.is-done { opacity: 1; color: var(--ink); }
.loading-steps .ic { display: none; width: 24px; height: 24px; color: var(--green); }
.loading-steps li.is-done .ic { display: block; animation: pop .35s var(--ease) both; }
.ls-spin { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--line); flex: none; }
.loading-steps li.is-active .ls-spin { border-color: var(--accent); border-right-color: transparent; animation: spin .7s linear infinite; }
.loading-steps li.is-done .ls-spin { display: none; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.check-result { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.check-result:focus { outline: none; }
.result-head { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; }
.gauge { position: relative; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge path { fill: none; stroke-width: 16; stroke-linecap: round; }
.gauge-bg { stroke: var(--line); }
.gauge-fg { stroke: url(#gauge-grad); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .15s; }
.gauge-needle { transform-origin: 100px 100px; transform: rotate(-90deg); transition: transform 1.6s cubic-bezier(.34, 1.4, .5, 1) .15s; }
.gauge-needle line { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.gauge-needle circle { fill: var(--ink); }
.gauge-label { margin-top: 4px; text-align: center; }
.gauge-label span { display: block; font-size: .8125rem; color: var(--muted); }
.gauge-label strong { display: block; font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.result-head h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); }
.result-saving { margin-top: 10px; }
.rs-label { display: block; font-size: .9375rem; color: var(--muted); }
.rs-amount { display: block; white-space: nowrap; font-weight: 700; font-size: 1.0625rem; color: var(--green-ink); }
.rs-amount strong { font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.result-saving-alt { margin-top: 8px; color: var(--muted); }
.result-bars { display: grid; gap: 12px; }
.rbar { display: grid; grid-template-columns: 170px 1fr 90px; align-items: center; gap: 14px; font-size: .9375rem; }
.rbar > span { color: var(--text); }
.rbar-fill { height: 14px; width: 0; border-radius: var(--radius-pill); transition: width 1.3s var(--ease) .3s; }
.rbar-fill--now { background: var(--chart-muted); }
.rbar-fill--new { background: linear-gradient(90deg, var(--lime), var(--green)); transition-delay: .55s; }
.rbar strong { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.result-hints { display: grid; gap: 10px; }
.result-hints li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--text); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.9s + var(--i, 0) * 120ms); }
.check-result.is-shown .result-hints li { opacity: 1; transform: none; }
.result-hints .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--green); }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.result-note { font-size: .8125rem; color: var(--muted); }
.mock-flag { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: var(--radius-pill); background: #FFF1CC; color: #6B4A00; font-weight: 500; }
@media (max-width: 999px) { .check-panel { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
  .check-card { min-height: 0; }
  .range-row, .check-fields-2 { grid-template-columns: 1fr; }
  .result-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .gauge { width: 190px; }
  .rbar { grid-template-columns: 1fr auto; }
  .rbar-fill { grid-column: 1 / -1; grid-row: 2; }
}

/* Zielgruppen */
.audience-list { margin-top: 48px; border-top: 1px solid var(--line); }
/* Typografisch wie die Faktenleiste: Titel mit Akzentstreifen im Grünverlauf, Beschreibung, Link zum Kosten-Check */
.audience-row { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr auto; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.audience-row h3 { position: relative; padding-left: 22px; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); }
.audience-row h3::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--lime) 0%, var(--green) 100%); }
.audience-row p { color: var(--muted); max-width: 60ch; }
.audience-row .text-link { white-space: nowrap; }
@media (max-width: 899px) {
  .audience-row { grid-template-columns: 1fr; gap: 10px; }
  .audience-row p, .audience-row .text-link { padding-left: 22px; }
}

/* Leistungen (Bento) */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); }
.tile h3 { font-size: 1.25rem; }
.tile p { color: var(--muted); font-size: 1rem; }
/* Kacheln ohne Icon: kurzer Akzentstrich im Grünverlauf oben, Text unten */
.tile--text::before { content: ""; width: 40px; height: 4px; flex: none; border-radius: 4px; background: linear-gradient(90deg, var(--lime) 0%, var(--green) 100%); margin-bottom: auto; }
.tile--text h3 { margin-top: 28px; }
.tile--feature { grid-column: span 2; grid-row: span 2; border: 0; justify-content: flex-end; background: radial-gradient(70% 55% at 88% 8%, rgb(155 200 58 / .75) 0%, transparent 70%), linear-gradient(165deg, #23AE54 0%, #0F8A3F 50%, #0A6B31 100%); }
.tile--feature h3 { color: #FCFDFE; font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); margin-top: 24px; }
.tile--feature p { color: #E6F5EA; font-size: 1.0625rem; max-width: 42ch; }
/* Einsparungs-Kachel mit Foto: grüner Verlauf von unten hält den weißen Text lesbar */
.tile--feature.tile--photo img { object-position: 70% 55%; }
.tile--feature.tile--photo::after { background: linear-gradient(180deg, rgb(8 80 38 / 0) 30%, rgb(8 80 38 / .55) 55%, rgb(7 74 36 / .94) 100%); }
.tile--photo { grid-column: span 2; border: 0; justify-content: flex-end; min-height: 260px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; z-index: -2; transition: transform .8s var(--ease); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 26 56 / 0) 15%, rgb(11 26 56 / .88) 100%); }
.tile--photo:hover img { transform: scale(1.03); }
.tile--photo .img-unabhaengig { object-position: 70% 40%; }
.tile--photo h3 { color: #FCFDFE; }
.tile--photo p { color: #DCE7F5; max-width: 46ch; }
/* Helles Foto: heller Verlauf von unten, dunkle Schrift */
.tile--photo-light::after { background: linear-gradient(180deg, rgb(244 248 252 / 0) 20%, rgb(244 248 252 / .8) 58%, rgb(244 248 252 / .96) 100%); }
.tile--photo-light h3 { color: var(--ink); }
.tile--photo-light p { color: var(--text); }
.tile--tint { background: var(--accent-soft); border-color: transparent; }
.tile--wide { grid-column: span 3; }
.tile--wide p { max-width: 64ch; }
.tile--wide .text-link { margin-top: 6px; }
/* Tablet: Bildkarten nebeneinander, die drei Textkarten in einer Reihe, Kostenauswertung über die volle Breite */
@media (max-width: 999px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; }
  .tile--feature, .tile--photo { grid-column: span 3; grid-row: auto; min-height: 340px; }
  .tile--text { grid-column: span 2; padding: 24px; }
  .tile--wide { grid-column: 1 / -1; }
  .tile--text::before { margin-bottom: 0; }
  .tile--text h3 { margin-top: 20px; font-size: 1.125rem; }
}
/* Handy und kleine Tablets: eine Spalte, kompakte Textkarten */
@media (max-width: 759px) {
  .bento { grid-template-columns: 1fr; }
  .tile--feature, .tile--photo, .tile--text, .tile--wide { grid-column: auto; }
  .tile--photo { min-height: 300px; }
}

/* Ablauf + Diagramm */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; margin-top: 56px; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step-ic { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); }
.step-ic .ic { width: 20px; height: 20px; }
.step h3 { font-size: 1.125rem; margin-top: 9px; }
.step p { color: var(--muted); margin-top: 4px; }
.chart-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.chart-card h3 { font-size: 1.25rem; }
.chart-card .caption { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.chart { position: relative; height: 300px; margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2vw, 22px); align-items: end; border-bottom: 1.5px solid var(--line); }
.bar { position: relative; z-index: 1; height: var(--h); border-radius: 12px 12px 4px 4px; background: color-mix(in srgb, var(--accent) 28%, var(--surface)); transform-origin: bottom; }
.bar--base { background: var(--chart-muted); }
.bar--win { background: linear-gradient(180deg, var(--lime) 0%, var(--green) 100%); }
.band { position: absolute; z-index: 0; left: 0; right: 0; top: 0; bottom: 48%; background: color-mix(in srgb, var(--green) 9%, transparent); border-block: 1.5px dashed color-mix(in srgb, var(--green) 60%, transparent); }
.band-label { position: absolute; right: 6px; top: 26%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--green) 50%, transparent); color: var(--green-ink); font-weight: 700; font-size: .875rem; white-space: nowrap; }
.band-label .ic { width: 16px; height: 16px; }
.chart-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2vw, 22px); margin-top: 12px; text-align: center; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.chart-labels .win { color: var(--green-ink); font-weight: 700; }
@media (max-width: 899px) {
  .process-grid { grid-template-columns: 1fr; }
  .chart-card { position: static; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-intro .lead { margin-top: 16px; }
.faq-intro .text-link { margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-weight: 500; font-size: 1.125rem; line-height: 1.4; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s; }
.plus .ic { width: 18px; height: 18px; }
.faq-item summary:hover .plus { border-color: var(--ink); }
.faq-item[open] .plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.answer { padding: 0 62px 26px 0; color: var(--muted); }
@media (max-width: 899px) { .faq-grid { grid-template-columns: 1fr; } .answer { padding-right: 0; } }

/* Kontakt */
.contact { background: var(--surface-2); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-intro .lead { margin-top: 16px; }
/* Kurze Spalte läuft neben der langen mit (Kontakt neben dem Formular, FAQ-Einleitung neben den Fragen).
   Nur bei zweispaltigem Layout und genug Bildschirmhöhe, damit nichts unerreichbar wird. */
@media (min-width: 900px) {
  .contact-intro, .faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
}
.person { margin-top: 36px; display: flex; gap: 20px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.person img { width: 92px; height: 122px; object-fit: cover; border-radius: var(--radius-menu); }
.person-name { font-weight: 700; color: var(--ink); font-size: 1.125rem; }
.person-role { color: var(--muted); font-size: .9375rem; }
.person-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 1.25rem; color: var(--accent); white-space: nowrap; }
/* Sehr schmale Handys: Foto kleiner, Nummer etwas kleiner – sonst ragt die Karte über den Rand */
@media (max-width: 374px) { .person { gap: 14px; padding: 16px; } .person img { width: 72px; height: 96px; } .person-phone { font-size: 1.0625rem; } }
/* Ablauf nach der Anfrage: Schritte mit Verbindungslinie, laufen beim Scrollen nacheinander ein */
.next-steps { margin-top: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.next-steps h3 { font-size: 1.125rem; }
.next-steps ol { position: relative; margin-top: 18px; display: grid; gap: 18px; }
.next-steps ol::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(180deg, var(--lime), var(--green)); border-radius: 2px; transform-origin: top; }
.next-steps li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.ns-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--lime), var(--green)); color: #FCFDFE; box-shadow: 0 0 0 4px var(--surface); }
.ns-dot .ic { width: 18px; height: 18px; }
.next-steps strong { display: block; color: var(--ink); font-weight: 700; line-height: 1.35; margin-top: 4px; }
.next-steps li p { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin-top: 2px; }
.address { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); color: var(--muted); font-size: .9375rem; }
.address .ic { width: 24px; height: 24px; color: var(--green); flex: none; }
.address strong { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .js .next-steps ol::before { transform: scaleY(0); transition: transform 1.2s var(--ease) .2s; }
  .js .next-steps.is-visible ol::before { transform: scaleY(1); }
  .js .next-steps li { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.3s + var(--i, 0) * 250ms); }
  .js .next-steps.is-visible li { opacity: 1; transform: none; }
}
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.5rem; }
.form-card .form-note { color: var(--muted); font-size: .9375rem; margin-top: 6px; }
.form-card .forminator-ui { margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-weight: 500; font-size: .9375rem; color: var(--ink); padding: 0; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--radius-input); border: 1.5px solid var(--input-border);
  background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { min-height: 0; color: var(--error); font-size: .875rem; font-weight: 500; }
.error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--input-border); font-weight: 500; font-size: .9375rem; color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.choice label .ic { width: 18px; height: 18px; }
.choice input:checked + label { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.choice input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .form-grid { grid-template-columns: 1fr; } }

/* Blog */
.blog-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.blog-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 3vw, 32px); margin-top: 48px; }
.post-teaser { display: block; }
.post-img { overflow: hidden; border-radius: var(--radius-card); background: var(--surface-2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-teaser:hover .post-img img { transform: scale(1.03); }
.post-teaser time { display: block; font-size: .875rem; color: var(--muted); }
.post-teaser h3 { transition: color .2s; }
.post-teaser:hover h3 { color: var(--accent); }
.post-lg .post-img { aspect-ratio: 16 / 9; }
.post-lg time { margin-top: 20px; }
.post-lg h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); margin-top: 6px; }
.post-lg p { color: var(--muted); margin-top: 10px; max-width: 62ch; }
/* Rechte Spalte: die kleinen Beiträge teilen sich die Höhe des großen, beide Spalten enden bündig */
.post-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 20px; }
.post-sm { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; gap: 20px; align-items: center; min-height: 0; }
.post-sm .post-img { height: 100%; min-height: 96px; border-radius: var(--radius-menu); }
.post-sm h3 { font-size: 1.0625rem; margin-top: 4px; }
@media (max-width: 899px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-side { grid-template-rows: none; }
  .post-sm { grid-template-columns: 132px 1fr; }
  .post-sm .post-img { height: auto; aspect-ratio: 4 / 3; }
}

/* Vertriebspartner */
.partner { padding-top: clamp(72px, 9vw, 120px); }
.partner-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-card); min-height: 400px; display: flex; align-items: center; padding: clamp(28px, 5vw, 64px); }
.partner-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; z-index: -2; }
.partner-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(14 33 74 / .95) 0%, rgb(14 33 74 / .84) 45%, rgb(14 33 74 / .2) 100%); }
.partner-copy { max-width: 540px; color: #DCE7F5; }
.partner-copy .eyebrow { color: #B9DD6A; }
.partner-copy h2 { color: #FCFDFE; margin-top: 14px; }
.partner-copy p { margin-top: 16px; font-size: 1.125rem; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 767px) {
  .partner-panel { align-items: flex-end; min-height: 520px; }
  .partner-panel::before { background: linear-gradient(180deg, rgb(14 33 74 / .25) 0%, rgb(14 33 74 / .92) 55%); }
}

/* Footer: dunkles Markenblau als Abschluss, oben der Farbverlauf des Logo-Bogens */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #0E2149; color: #FCFDFE; }
.site-footer::before { content: ""; display: block; height: 4px; background: var(--brand-arc); }
.footer-deco { position: absolute; right: -80px; bottom: -60px; width: min(620px, 70vw); max-width: none; opacity: .07; z-index: -1; pointer-events: none; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: 56px; border-bottom: 1px solid rgb(252 253 254 / .12); }
.footer-top h2 { color: #FCFDFE; font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); }
.footer-top p { margin-top: 8px; color: #FCFDFE; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.btn-lime { background: #9BC83A; color: #0E2149; }
.btn-lime:hover { background: #AED452; }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; color: #FCFDFE; font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.footer-phone .ic { width: 22px; height: 22px; color: #9BC83A; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-top: 56px; }
.footer-brand img { height: 60px; width: auto; }
.footer-brand p { font-size: .9375rem; margin-top: 18px; max-width: 30ch; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgb(252 253 254 / .24); display: grid; place-items: center; color: #FCFDFE; transition: border-color .2s, color .2s; }
.social a:hover { border-color: #9BC83A; color: #9BC83A; }
.footer-grid h3 { color: #FCFDFE; font-size: .9375rem; margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid ul a, .footer-grid address { color: #FCFDFE; font-size: .9375rem; font-style: normal; transition: color .2s; }
.footer-grid ul a:hover { color: #B9DD6A; }
.footer-grid address a { color: #FCFDFE; font-weight: 500; }
.footer-bottom { margin-top: 56px; padding-block: 24px; border-top: 1px solid rgb(252 253 254 / .12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; color: #FCFDFE; font-size: .875rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: #FCFDFE; transition: color .2s; }
.footer-bottom a:hover { color: #B9DD6A; }
/* Handy und Tablet: Link-Spalten als Akkordeon (main.js setzt die Knöpfe; ohne JavaScript bleibt alles offen) */
@media (max-width: 999px) {
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-brand { margin-bottom: 32px; }
  .footer-col { border-top: 1px solid rgb(252 253 254 / .12); }
  .footer-col:last-child { border-bottom: 1px solid rgb(252 253 254 / .12); }
  .footer-grid .footer-col-title { margin: 0; font-size: 1rem; }
  .js .footer-col-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
  .js .footer-col.is-open .footer-col-body { grid-template-rows: 1fr; }
  .js .footer-col-body > div { min-height: 0; overflow: hidden; }
  .footer-col-body > div > :is(ul, address) { padding-bottom: 18px; }
  .footer-col-title:not(:has(button)) { padding-block: 16px 12px; }
  .footer-col-body li + li { margin-top: 2px; }
  .footer-col-body ul a { display: inline-block; padding-block: 7px; }
}
.footer-col-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0; border: 0; background: none; color: #FCFDFE; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.footer-col-toggle .ic { width: 18px; height: 18px; color: #9BC83A; transition: transform .3s var(--ease); }
.footer-col.is-open .footer-col-toggle .ic { transform: rotate(180deg); }
.footer-col-toggle:focus-visible { outline: 2px solid #B9DD6A; outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .js .footer-col-body, .footer-col-toggle .ic { transition: none; } }
@media (max-width: 599px) { .footer-top { padding-block: 44px; } }

/* Eingeloggt: Header unter der WordPress-Werkzeugleiste (fest ab 601 px) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Bewegung: nur mit no-preference */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
  .hero-visual { animation: fade-in 1.1s var(--ease) both .1s; }
  .hero-visual .schwein { animation: rise 1.2s var(--ease) both .4s; }
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .chart .bar { transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 150ms); }
  .js .chart .band { opacity: 0; transition: opacity .6s ease .9s; }
  .js .chart.is-visible .bar { transform: scaleY(1); }
  .js .chart.is-visible .band { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== Inhaltsseiten (page.php) – Grundgerüst, wird mit den Unterseiten ausgebaut ===== */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 3vw, 40px); background: var(--surface-2); }
.page-head h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); letter-spacing: -.02em; }
.entry-content { max-width: 760px; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 112px); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.375rem; margin-top: 1.5em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content .alignwide { max-width: 1240px; }
.entry-content img { border-radius: var(--radius-menu); }
.form-fallback { margin-top: 20px; }

/* ===== Formulare (Forminator mit Design "Kein") im Pavago-Stil =====
   Forminator liefert nur Raster und Logik, die Optik kommt komplett von hier. */
.forminator-ui[data-design="none"] { --f-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23FCFDFE' d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); --f-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23142D63' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); color: var(--text); font-size: 1rem; }
.forminator-ui[data-design="none"] .forminator-row:not(:last-child) { margin-bottom: 20px !important; }
.forminator-ui[data-design="none"] .forminator-label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.forminator-ui[data-design="none"] .forminator-required { color: var(--error); }
.forminator-ui[data-design="none"] :is(.forminator-input, .forminator-textarea, .forminator-select--field) { display: block; width: 100%; height: 52px; padding: 0 16px; border-radius: var(--radius-input); border: 1.5px solid var(--input-border); background: var(--bg); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.forminator-ui[data-design="none"] .forminator-textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.forminator-ui[data-design="none"] .forminator-select--field { -webkit-appearance: none; appearance: none; padding-right: 48px; background: var(--bg) var(--f-caret) right 16px center / 18px no-repeat; cursor: pointer; }
.forminator-ui[data-design="none"] :is(.forminator-input, .forminator-textarea)::placeholder { color: var(--muted); opacity: 1; }
.forminator-ui[data-design="none"] :is(.forminator-input, .forminator-textarea, .forminator-select--field):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.forminator-ui[data-design="none"] .forminator-has_error :is(.forminator-input, .forminator-textarea, .forminator-select--field) { border-color: var(--error); }
.forminator-ui[data-design="none"] :is(.forminator-error-message, .forminator-description) { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.45; }
.forminator-ui[data-design="none"] .forminator-error-message { color: var(--error); font-weight: 500; }
.forminator-ui[data-design="none"] .forminator-description { color: var(--muted); }
/* Mehrfachauswahl als Chips (wie im Kosten-Check) */
.forminator-ui[data-design="none"] :is(.forminator-field-checkbox, .forminator-field-radio) .forminator-field { display: flex; flex-wrap: wrap; gap: 8px; }
.forminator-ui[data-design="none"] :is(.forminator-field-checkbox, .forminator-field-radio) .forminator-label { flex-basis: 100%; margin-bottom: 0; }
.forminator-ui[data-design="none"] :is(.forminator-checkbox-inline, .forminator-radio-inline) { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--input-border); color: var(--text); font-size: .9375rem; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.forminator-ui[data-design="none"] :is(.forminator-checkbox-inline, .forminator-radio-inline) input { position: absolute; opacity: 0; pointer-events: none; }
.forminator-ui[data-design="none"] :is(.forminator-checkbox-inline, .forminator-radio-inline) :is(.forminator-checkbox-box, .forminator-radio-bullet) { display: none; }
.forminator-ui[data-design="none"] :is(.forminator-checkbox-inline, .forminator-radio-inline):has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.forminator-ui[data-design="none"] :is(.forminator-checkbox-inline, .forminator-radio-inline):has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
/* Einzelne Checkbox (Datenschutz) */
.forminator-ui[data-design="none"] .forminator-checkbox:not(.forminator-checkbox-inline) { position: relative; display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.forminator-ui[data-design="none"] .forminator-checkbox:not(.forminator-checkbox-inline) input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.forminator-ui[data-design="none"] .forminator-checkbox:not(.forminator-checkbox-inline) .forminator-checkbox-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--input-border); background: var(--bg) var(--f-check) center / 0 no-repeat; transition: background-color .2s, border-color .2s, background-size .2s var(--ease); }
.forminator-ui[data-design="none"] .forminator-checkbox:not(.forminator-checkbox-inline) input:checked + .forminator-checkbox-box { border-color: var(--accent); background-color: var(--accent); background-size: 14px; }
.forminator-ui[data-design="none"] .forminator-checkbox:not(.forminator-checkbox-inline) input:focus-visible + .forminator-checkbox-box { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
.forminator-ui[data-design="none"] .forminator-checkbox-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* Datei-Upload als Ablagefläche */
.forminator-ui[data-design="none"] .forminator-multi-upload { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; padding: 20px; border: 1.5px dashed var(--input-border); border-radius: var(--radius-input); background: var(--bg); color: var(--muted); font-size: .9375rem; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.forminator-ui[data-design="none"] .forminator-multi-upload:hover, .forminator-ui[data-design="none"] .forminator-multi-upload.forminator-dragover { border-color: var(--accent); background: var(--accent-soft); }
.forminator-ui[data-design="none"] .forminator-multi-upload :is(a, button, .forminator-upload-file--link) { color: var(--accent); font-weight: 500; }
.forminator-ui[data-design="none"] .forminator-multi-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.forminator-ui[data-design="none"] .forminator-multi-upload::before { content: "Datei auswählen"; display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font-weight: 500; }
.forminator-ui[data-design="none"] .forminator-multi-upload::after { content: "oder Datei hierher ziehen"; font-size: .875rem; }
.forminator-ui[data-design="none"] .forminator-multi-upload:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.forminator-ui[data-design="none"] .forminator-multi-upload p { margin: 0; }
.forminator-ui[data-design="none"] .forminator-multi-upload [class*="forminator-icon"] { color: var(--accent); font-size: 28px; }
.forminator-ui[data-design="none"] .forminator-uploaded-files { margin-top: 10px; display: grid; gap: 6px; font-size: .875rem; }
/* Absenden */
.forminator-ui[data-design="none"] .forminator-button-submit { display: inline-flex; align-items: center; justify-content: center; gap: .6em; height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 500; cursor: pointer; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent); transition: background-color .25s var(--ease), transform .25s var(--ease); }
.forminator-ui[data-design="none"] .forminator-button-submit:hover { background: var(--accent-hover); }
.forminator-ui[data-design="none"] .forminator-button-submit:active { transform: translateY(1px) scale(.98); }
.forminator-ui[data-design="none"] .forminator-button-submit:disabled { opacity: .7; cursor: progress; }
/* Rückmeldung nach dem Absenden */
.forminator-ui[data-design="none"] .forminator-response-message:not(:empty) { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-input); font-size: .9375rem; font-weight: 500; }
.forminator-ui[data-design="none"] .forminator-response-message.forminator-error:not(:empty) { background: #FDECEB; color: var(--error); }
.forminator-ui[data-design="none"] .forminator-response-message.forminator-success:not(:empty) { background: var(--green-soft); color: var(--green-ink); }
.forminator-ui[data-design="none"] .forminator-response-message p { margin: 0; }
.forminator-ui[data-design="none"] .forminator-response-message ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; }
/* Telefonfeld mit Ländervorwahl */
.forminator-ui[data-design="none"] .iti { display: block; width: 100%; }

/* ===== Cookie-Einwilligung (inc/consent.php, assets/js/consent.js) ===== */
.consent { position: fixed; z-index: 70; left: 24px; bottom: 24px; width: min(440px, calc(100vw - 32px)); }
.consent:not([hidden]) { animation: consent-in .5s var(--ease) both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent-card { overflow: auto; overscroll-behavior: contain; max-height: calc(100dvh - 48px); padding: 28px 28px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 2px 4px rgb(20 45 99 / .06), 0 28px 60px -24px rgb(20 45 99 / .45); }
.consent-card:focus { outline: none; }
.consent-title { font-size: 1.375rem; }
.consent-title::before { content: ""; display: block; width: 40px; height: 4px; margin-bottom: 16px; border-radius: 4px; background: linear-gradient(90deg, var(--lime) 0%, var(--green) 100%); }
.consent-text { margin-top: 10px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.consent-text a, .consent-meta a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent-details { margin-top: 18px; border-top: 1px solid var(--line); }
.consent-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.consent-row h3 { font-size: 1rem; }
.consent-row p { margin-top: 4px; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.consent-row .consent-meta { font-size: .8125rem; }
.consent-always { flex: none; margin-top: 2px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--green-soft); color: var(--green-ink); font-size: .8125rem; font-weight: 500; white-space: nowrap; }
.switch { position: relative; flex: none; margin-top: 2px; cursor: pointer; }
.switch input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { position: relative; display: block; width: 46px; height: 28px; border-radius: var(--radius-pill); background: var(--chart-muted); transition: background-color .25s var(--ease); }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FCFDFE; box-shadow: 0 1px 3px rgb(20 45 99 / .3); transition: transform .3s var(--ease); }
.switch input:checked + .switch-track { background: var(--green); }
.switch input:checked + .switch-track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.consent-actions .btn { width: 100%; padding-inline: 12px; }
.consent-actions .btn-ghost { border-color: var(--ink); }
.consent-actions [data-consent-save] { grid-column: 1 / -1; }
.consent-toggle { display: block; margin: 12px auto 0; padding: 6px 4px; background: none; border: 0; color: var(--accent); font-size: .9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.consent-open { padding: 0; background: none; border: 0; color: #FCFDFE; font-size: inherit; transition: color .2s; }
/* Fußzeile: Tippfläche der Rechtlich-Links auf ca. 44 px erhöhen, Zeilenabstand bleibt gleich */
.footer-legal :is(a, .consent-open) { display: inline-block; padding-block: 10px; margin-block: -10px; }
.consent-open:hover { color: #B9DD6A; }
@media (max-width: 599px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .consent-card { max-height: calc(100dvh - 24px); padding: 22px 20px 14px; }
}

/* Hinweis im Formular, solange reCAPTCHA nicht erlaubt ist */
.consent-inline { margin-bottom: 14px; padding: 18px 20px; border-radius: var(--radius-input); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); font-size: .9375rem; line-height: 1.55; }
.consent-inline:focus { outline: none; }
.consent-inline p { margin: 0; }
.consent-inline .consent-inline-title { margin-bottom: 4px; color: var(--ink); font-weight: 700; }
.consent-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.consent-inline-actions a { color: var(--accent); font-weight: 500; white-space: nowrap; }
.consent-inline.is-pulse { animation: consent-pulse 1s var(--ease); }
@keyframes consent-pulse { from { box-shadow: 0 0 0 0 rgb(0 105 180 / .45); } to { box-shadow: 0 0 0 14px rgb(0 105 180 / 0); } }
