/* THG-Prämien-Vergleich – main.css */

@font-face {
	font-family: "Archivo";
	src: url("fonts/archivo-var.woff2") format("woff2-variations"), url("fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #16262b;
	--muted: #55686d;
	--paper: #ffffff;
	--hell: #eef3f1;
	--line: #d6e0dc;
	--tafel: #123a3f;
	--tafel-2: #0d2c30;
	--led: #7ee08a;
	--brand: #0e6b5c;
	--brand-dunkel: #0a5145;
	--amber: #f0b54a;
	--fokus: #f0b54a;
	--r: 10px;
	--wrap: 1160px;
	--pad: clamp(16px, 3vw, 28px);
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-variation-settings: "wdth" 100;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 {
	font-stretch: 82%;
	font-variation-settings: "wdth" 82;
	line-height: 1.12;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); font-weight: 760; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 720; margin-top: 0; }
h3 { font-size: 1.2rem; font-weight: 680; margin-top: 1.6em; }
p, ul, ol, dl { margin: 0 0 1em; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.prosa > * { max-width: 72ch; }
.prosa > .tabelle-scroll, .prosa > .anbieter-liste { max-width: 90ch; }
.prosa li { margin-bottom: .35em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.klein { font-size: .9rem; color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5em 1em; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Kopf */
.kopf { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 5; }
.kopf-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.marke:hover { color: var(--ink); }
.marke-zeichen { width: 34px; height: 34px; flex: none; }
.marke-text { font-weight: 760; font-variation-settings: "wdth" 78; font-size: 1.18rem; letter-spacing: -.01em; }
.marke-text span { font-weight: 450; color: var(--muted); }
.nav-liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-liste a { display: block; padding: .55em .8em; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 520; font-size: .98rem; }
.nav-liste a:hover { background: var(--hell); color: var(--ink); }
.nav-liste a[aria-current="page"], .nav-liste .current-menu-item > a { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45em .9em; color: var(--ink); cursor: pointer; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
	.nav.is-offen { display: block; }
	.nav-liste { flex-direction: column; padding: 8px var(--pad) 16px; }
	.nav-liste a { padding: .8em .4em; border-bottom: 1px solid var(--hell); border-radius: 0; }
	.nav-liste a[aria-current="page"] { box-shadow: none; }
}

/* ---------- Abschnitte */
.band { padding: clamp(48px, 7vw, 84px) 0; }
.band--hell { background: var(--hell); }
.band--dunkel { background: var(--tafel); color: #e6f0ee; }
.band--dunkel h2, .band--dunkel h3 { color: #fff; }
.band--dunkel a { color: var(--led); }
.band-kopf { max-width: 70ch; margin-bottom: 28px; }
.band-kopf p { color: var(--muted); }
.band--dunkel .band-kopf p, .band--dunkel .weg p { color: #c4d6d2; }
.band--dunkel .wege { border-top-color: rgba(255,255,255,.35); }
.band--dunkel .weg + .weg { border-color: rgba(255,255,255,.18); }

.seite-kopf { padding-top: 28px; padding-bottom: 8px; }
.seite-kopf h1 { max-width: 22ch; }
.seite > .wrap.prosa, .seite > .prosa { padding-bottom: 56px; }
.brotkrumen { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.brotkrumen a { color: var(--muted); }

/* ---------- Hero mit Preistafel */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); background: #fff; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 17ch; font-size: clamp(2.05rem, 4.2vw, 3.1rem); }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-punkte { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: .98rem; }
.hero-punkte li { padding-left: 26px; position: relative; }
.hero-punkte li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; }
}

.tafel {
	margin: 0;
	background: linear-gradient(180deg, var(--tafel) 0%, var(--tafel-2) 100%);
	border-radius: 14px;
	padding: 10px;
	color: #fff;
	box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 48px -28px rgba(13,44,48,.55);
	position: relative;
}
.tafel::after { /* Mast */
	content: ""; position: absolute; left: 50%; bottom: -22px; width: 18px; height: 22px; transform: translateX(-50%);
	background: linear-gradient(90deg, #0b2629, #1b4a50 50%, #0b2629);
	border-radius: 0 0 3px 3px;
}
.tafel-kopf { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px 12px; font-size: .9rem; color: #b9cdc9; }
.tafel-kopf span:first-child { color: #fff; font-weight: 700; font-variation-settings: "wdth" 80; font-size: 1.05rem; }
.tafel-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tafel-row {
	display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
	background: #08201f; border-radius: 8px; padding: 8px 14px;
	border: 1px solid rgba(126,224,138,.08);
}
.tafel-name { color: #fff; text-decoration: none; font-weight: 620; font-size: 1.05rem; font-variation-settings: "wdth" 88; }
.tafel-name:hover { color: var(--led); }
.tafel-plate { background: var(--amber); color: #2a1d00; font-size: .74rem; font-weight: 700; padding: .2em .55em; border-radius: 4px; }
.tafel-preis { display: inline-flex; align-items: baseline; gap: 4px; min-width: 4.4ch; justify-content: flex-end; }
.tafel-ziffern {
	font-size: clamp(2.2rem, 4.2vw, 2.9rem); line-height: 1; font-weight: 640;
	font-variation-settings: "wdth" 62; font-variant-numeric: tabular-nums;
	color: var(--led); letter-spacing: .03em;
	text-shadow: 0 0 14px rgba(126,224,138,.35);
}
.tafel-eur { color: var(--led); opacity: .8; font-size: 1.1rem; font-weight: 600; }
.tafel-row.is-empf { border-color: rgba(240,181,74,.55); }
.tafel-fuss { margin: 10px 14px 6px; font-size: .82rem; color: #9fb8b3; }

/* ---------- Buttons & Badges */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--brand); color: #fff; text-decoration: none; font-weight: 640;
	padding: .72em 1.15em; border-radius: 8px; border: 2px solid var(--brand);
	font: inherit; font-weight: 640; line-height: 1.2; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--brand-dunkel); border-color: var(--brand-dunkel); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.band--dunkel .btn { background: var(--led); border-color: var(--led); color: var(--tafel-2); }
.band--dunkel .btn--ghost { background: transparent; color: var(--led); }
.badge { display: inline-block; background: var(--amber); color: #2a1d00; font-size: .76rem; font-weight: 700; padding: .22em .6em; border-radius: 4px; text-decoration: none; vertical-align: middle; line-height: 1.3; }
.badge:hover { color: #2a1d00; background: #e6a632; }
.hinweis { font-size: .85rem; color: var(--muted); }

/* ---------- Vergleichstabelle */
.vgl { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.vgl-kopf, .vgl-zeile { display: grid; grid-template-columns: 96px minmax(0, 1.2fr) 130px minmax(0, 2fr) 150px; gap: 16px; align-items: center; padding: 14px 18px; }
.vgl-kopf { background: var(--hell); font-size: .85rem; color: var(--muted); font-weight: 600; padding-top: 10px; padding-bottom: 10px; }
.vgl-zeile { border-top: 1px solid var(--line); }
.vgl-zeile.is-empf { background: #fffaf0; box-shadow: inset 4px 0 0 var(--amber); }
.platz { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.vgl-name a { color: var(--ink); font-weight: 680; text-decoration: none; font-size: 1.08rem; }
.vgl-name a:hover { color: var(--brand); text-decoration: underline; }
.vgl-name small { display: block; color: var(--muted); font-size: .84rem; }
.vgl-betrag { font-size: 1.55rem; font-weight: 700; font-variation-settings: "wdth" 70; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vgl-betrag .fn { font-size: .8rem; color: var(--muted); margin-left: 2px; }
.vgl-info { font-size: .92rem; color: var(--muted); line-height: 1.45; }
.vgl-cta { text-align: right; }
.vgl-cta .btn { padding: .6em 1em; font-size: .95rem; }
.vgl-fuss { font-size: .85rem; color: var(--muted); margin-top: 12px; max-width: 95ch; }
.vgl--ls .vgl-kopf, .vgl--ls .vgl-zeile { grid-template-columns: minmax(0, 1.2fr) 190px minmax(0, 2fr) 150px; }
.vgl--ls .vgl-betrag { font-size: 1.15rem; font-variation-settings: "wdth" 85; white-space: normal; }

@media (max-width: 860px) {
	.vgl-kopf { display: none; }
	.vgl-zeile { grid-template-columns: auto 1fr auto; grid-template-areas: "platz name betrag" "info info info" "cta cta cta"; gap: 8px 12px; padding: 16px; }
	.vgl-platz { grid-area: platz; }
	.vgl-name { grid-area: name; }
	.vgl-betrag { grid-area: betrag; text-align: right; }
	.vgl-info { grid-area: info; }
	.vgl-cta { grid-area: cta; text-align: left; }
	.vgl-cta .btn { width: 100%; }
	.vgl--ls .vgl-zeile { grid-template-columns: 1fr auto; grid-template-areas: "name name" "betrag betrag" "info info" "cta cta"; }
	.vgl--ls .vgl-betrag { text-align: left; }
}

/* ---------- Zweispaltige Inhalte, Karten nur wo sie Inhalte gruppieren */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.weg { padding: 22px 22px 6px 0; }
.weg + .weg { padding-left: 22px; border-left: 1px solid var(--line); }
.weg h3 { margin-top: 0; }
.weg p { color: var(--muted); }
@media (max-width: 860px) { .wege { grid-template-columns: 1fr; } .weg + .weg { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Ablauf – echte Reihenfolge, daher nummeriert */
.ablauf { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.ablauf > * { counter-increment: s; position: relative; padding-top: 56px; }
.ablauf > *::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--tafel); color: var(--led); display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ablauf h3 { margin-top: 0; }
.ablauf p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .ablauf { grid-template-columns: 1fr; } }

/* Merksätze */
.regeln { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.regeln > * { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 18px; }
.regeln > * > p { margin: 0; color: var(--muted); }
.regeln > * > p:first-child, .regel-titel { font-weight: 700; color: var(--ink); font-variation-settings: "wdth" 85; }
@media (max-width: 700px) { .regeln > * { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Fakten (Anbieterseiten) */
.fakten { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); margin: 0 0 18px; }
.fakten div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fakten dt { font-weight: 640; }
.fakten dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .fakten div { grid-template-columns: 1fr; gap: 2px; } }
.fakten-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.anbieter-liste { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.anbieter-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.anbieter-liste a.name { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.anbieter-liste p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Rechner */
.rechner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 16px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.rechner[data-rechner="kwh"] { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); }
.rechner label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.feld { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.rechner input, .rechner select, .anfrage input, .anfrage select, .anfrage textarea {
	font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
	border: 1.5px solid #b8c7c3; border-radius: 8px; padding: .62em .75em; background: #fff;
}
.rechner input:focus, .rechner select:focus, .anfrage input:focus, .anfrage select:focus, .anfrage textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,107,92,.18); }
.rechner-ergebnis { background: var(--tafel); color: #fff; border-radius: 8px; padding: 10px 16px; display: grid; }
.r-wert { font-size: 2.1rem; line-height: 1.1; font-weight: 650; font-variation-settings: "wdth" 62; font-variant-numeric: tabular-nums; color: var(--led); }
.r-text { font-size: .85rem; color: #b9cdc9; }
@media (max-width: 860px) { .rechner, .rechner[data-rechner="kwh"] { grid-template-columns: 1fr 1fr; } .rechner-ergebnis { grid-column: 1 / -1; } }
@media (max-width: 480px) { .rechner, .rechner[data-rechner="kwh"] { grid-template-columns: 1fr; } }

/* ---------- Anfrageformular */
.anfrage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); }
.anfrage label { display: block; font-size: .92rem; font-weight: 600; }
.anfrage label > input, .anfrage label > select, .anfrage label > textarea { display: block; margin-top: 6px; }
.anfrage .voll { grid-column: 1 / -1; }
.anfrage .opt { font-weight: 400; color: var(--muted); }
.anfrage .check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.anfrage .check input { width: 20px; height: 20px; margin: 2px 0 0; }
.anfrage p { margin: 0; }
.anfrage a { color: var(--brand); }
@media (max-width: 640px) { .anfrage { grid-template-columns: 1fr; } }
.meldung { border-left: 4px solid #c0392b; background: #fdf1ef; padding: 10px 14px; border-radius: 0 8px 8px 0; margin-bottom: 14px; }

/* ---------- FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 80ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 650; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq details > :not(summary) { color: #33474c; max-width: 72ch; }
.faq details > :last-child:not(summary) { padding-bottom: 16px; margin-bottom: 0; }

/* ---------- Infobox */
.info { border-left: 4px solid var(--brand); background: var(--hell); padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; margin: 0 0 1.2em; }
.info p:last-child { margin: 0; }
.info--amber { border-left-color: var(--amber); background: #fff8ea; }

table.daten, .daten table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 0 0 1.2em; }
table.daten th, table.daten td, .daten th, .daten td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.daten th, .daten thead th { background: var(--hell); font-weight: 640; }
.tabelle-scroll { overflow-x: auto; }

/* ---------- Fuß */
.fuss { background: var(--tafel-2); color: #b9cdc9; padding: 48px 0 40px; font-size: .94rem; }
.fuss a { color: #e6f0ee; }
.fuss a:hover { color: var(--led); }
.fuss-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
.fuss-titel { color: #fff; font-weight: 720; font-variation-settings: "wdth" 80; font-size: 1.15rem; margin-bottom: .4em; }
.fuss-offen { font-size: .86rem; color: #93aea9; }
.fuss-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fuss-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (max-width: 760px) { .fuss-inner, .fuss-nav { grid-template-columns: 1fr; } }
.vgl-name a.badge { font-size: .76rem; font-weight: 700; color: #2a1d00; text-decoration: none; margin-left: 4px; }

.vgl-trenner { border-top: 1px solid var(--line); background: var(--hell); padding: 10px 18px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.vgl-zeile.is-markt .vgl-betrag { color: var(--muted); }
.vgl-betrag small { font-size: .9rem; font-weight: 500; font-variation-settings: "wdth" 100; }
.platz--leer { border-style: dashed; color: var(--muted); font-weight: 500; }

/* Drei Vergleiche: Auswahlkarten */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.tab {
	position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon wert" "icon sub";
	column-gap: 14px; align-items: center; text-align: left;
	font: inherit; color: var(--ink); background: #fff; cursor: pointer;
	border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.tab:hover { border-color: #9fb7b1; }
.tab-icon { grid-area: icon; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--hell); color: var(--brand); align-self: start; }
.tab-name { grid-area: name; font-weight: 700; font-size: 1.02rem; }
.tab-wert { grid-area: wert; font-size: 1.7rem; line-height: 1.15; font-weight: 700; font-variation-settings: "wdth" 68; font-variant-numeric: tabular-nums; color: var(--brand); }
.tab-sub { grid-area: sub; font-size: .85rem; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--tafel); border-color: var(--tafel); color: #fff; box-shadow: 0 14px 28px -18px rgba(13,44,48,.7); }
.tab[aria-selected="true"] .tab-icon { background: rgba(126,224,138,.14); color: var(--led); }
.tab[aria-selected="true"] .tab-wert { color: var(--led); }
.tab[aria-selected="true"] .tab-sub { color: #b9cdc9; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 18px; background: var(--tafel); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.tab-panel + .tab-panel { margin-top: 40px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.js .tab-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tab-text { color: var(--muted); max-width: 70ch; margin: 6px 0 16px; }
.tab-panel .vgl { border-width: 2px; border-color: var(--tafel); }
.tab-panel .vgl-kopf { background: var(--tafel); color: #b9cdc9; }
@media (max-width: 760px) {
	.tabs { grid-template-columns: 1fr; gap: 8px; }
	.tab { grid-template-areas: "icon name wert" "icon sub wert"; grid-template-columns: auto 1fr auto; padding: 12px 14px; }
	.tab-icon { width: 38px; height: 38px; padding: 8px; align-self: center; }
	.tab-wert { font-size: 1.35rem; text-align: right; }
	.tab[aria-selected="true"]::after { display: none; }
}

/* Bilder */
.bild { margin: 0 0 28px; }
.bild img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--hell); }
.bild--seite { margin-top: 8px; }
.weg .bild { margin-bottom: 16px; }
.weg .bild img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }
.vgl-betrag small.min { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.tafel-bis { color: var(--led); opacity: .75; font-size: .95rem; font-weight: 600; margin-right: 2px; }

/* Anbieter deutlich als externe Anbieter kennzeichnen */
svg.ext { width: .72em; height: .72em; margin-left: .3em; vertical-align: .05em; opacity: .7; }
.tafel-spalten { display: flex; justify-content: space-between; padding: 0 14px 6px; font-size: .74rem; color: #8fb0aa; letter-spacing: .02em; }
.tafel-anbieter { display: grid; line-height: 1.2; }
.tafel-anbieter small { color: #8fb0aa; font-size: .78rem; font-weight: 400; }
.tafel-row { grid-template-columns: 1fr auto; }
.vgl-name small { word-break: break-word; }
.split--bild { align-items: center; margin-bottom: 36px; }
.split--bild .bild { margin: 0; }
.split--bild .lede { margin-bottom: 0; }

/* Kern-Blöcke von WordPress */
.wp-block-group { box-sizing: border-box; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1em; }
.hero .wp-block-buttons.hero-aktionen { margin: 26px 0 18px; }
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--brand); color: #fff; text-decoration: none;
	padding: .72em 1.15em; border-radius: 8px; border: 2px solid var(--brand);
	font: inherit; font-weight: 640; line-height: 1.2; white-space: nowrap;
}
.wp-block-button__link:hover { background: var(--brand-dunkel); border-color: var(--brand-dunkel); color: #fff; text-decoration: none; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--brand); }
.is-style-outline .wp-block-button__link:hover { background: var(--brand); color: #fff; }
.band--dunkel .wp-block-button__link { background: var(--led); border-color: var(--led); color: var(--tafel-2); }
.wp-block-image { margin: 0 0 28px; }
.wp-block-image img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--hell); }
.weg .wp-block-image { margin-bottom: 16px; }
.weg .wp-block-image img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }
.split--bild .wp-block-image { margin: 0; }
.wp-block-table { margin: 0 0 1.2em; overflow-x: auto; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.seite-inhalt { padding-bottom: 56px; }
.seite-inhalt > .wp-block-image { max-width: 72ch; }
.marke-logo { height: 34px; width: auto; }
.wp-block-heading:first-child { margin-top: 0; }
.prosa > .wp-block-table { max-width: 90ch; }
.wp-block-table table.has-fixed-layout { table-layout: auto; }
.daten tbody td:first-child { font-weight: 640; background: var(--hell); }
