:root {
  color-scheme: light;
  --ink: #15201d;
  --muted: #53635e;
  --line: #d6dfd9;
  --paper: #fbfaf3;
  --surface: #ffffff;
  --green: #29745a;
  --green-dark: #164d3a;
  --blue: #315f80;
  --yellow: #f1c44d;
  --shadow: 0 22px 70px rgba(26, 41, 36, 0.15);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

/* Sichtbarer Tastatur-Fokus (Basis, 0-Spezifität – Spezial-Regeln unten gewinnen) */
:where(a, button, summary, input, select):focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 2px;
}
.topbar a:focus-visible,
.navToggle:focus-visible { outline-color: var(--yellow); outline-offset: 3px; }
.button.secondary:focus-visible { outline-color: #ffffff; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
main { display: block; width: 100%; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, p, li, a, dd, td, th, summary { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.06; letter-spacing: 0; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding: 0 32px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(12, 20, 18, 0.68), rgba(12, 20, 18, 0));
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}
.brandMark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(22, 77, 58, 0.82);
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand small { color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; }
.topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.2rem;
  max-width: min(980px, calc(100% - 230px));
}
.topbar nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  text-decoration: none;
}
.topbar nav a:hover { background: rgba(255, 255, 255, 0.14); }

/* Header wird beim Scrollen (und bei offenem Menü) deckend – bessere Lesbarkeit */
.topbar.scrolled {
  background: var(--green-dark);
  box-shadow: 0 6px 24px rgba(12, 20, 18, 0.28);
}
.topbar.navOpen { background: var(--green-dark); }

/* Hamburger-Schalter (nur mobil sichtbar) */
.navToggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(22, 77, 58, 0.9);
  cursor: pointer;
}
.navToggleBar {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform .25s ease, opacity .2s ease;
}
.topbar.navOpen .navToggleBar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.navOpen .navToggleBar:nth-child(2) { opacity: 0; }
.topbar.navOpen .navToggleBar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 18, 16, 0.72), rgba(10, 18, 16, 0.34) 42%, rgba(10, 18, 16, 0.06)),
    url("/hero-leego.webp") center / cover no-repeat;
  color: #ffffff;
}
.heroShade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(10, 18, 16, 0), rgba(10, 18, 16, 0.7));
}
.heroInner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 30px;
}
.eyebrow {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 9.5em;
  margin-top: 0.5rem;
  font-size: clamp(3.25rem, 8vw, 7.8rem);
}
.heroLead {
  max-width: 660px;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
}
.heroActions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.05rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { background: var(--yellow); color: #1d2014; }
.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.heroFacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin: 5.5rem 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}
.heroFacts div { min-height: 108px; padding: 1rem; background: rgba(14, 23, 20, 0.22); }
.heroFacts dt { margin: 0 0 0.35rem; color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; }
.heroFacts dd { margin: 0; font-size: 1.05rem; font-weight: 800; }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 5.4rem 0; }
.sectionHead { max-width: 760px; }
.sectionHead h2, .calculatorCopy h2, .trustText h2, .contact h2 {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.sectionHead p:not(.eyebrow), .calculatorCopy p, .trustText p, .contact p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.benefitGrid, .steps, .joinList, .faqGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.benefitGrid article, .steps article, .trustCards article, .calculator, .joinList li, .contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
}
.benefitGrid article { min-height: 252px; padding: 1.2rem; }
.cardNumber { display: inline-flex; margin-bottom: 1.5rem; color: var(--blue); font-weight: 900; }
.benefitGrid h3, .steps h3, .trustCards h3 { font-size: 1.18rem; }
.benefitGrid p, .steps p, .trustCards p, .joinList span { margin-top: 0.65rem; color: var(--muted); }

.billingExplanation {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.06rem;
}
.billingFlow {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  overflow: hidden;
}
.billingFlowHead {
  padding: 1.15rem 1.15rem 0;
}
.billingFlowHead h3 {
  margin-top: 0.35rem;
  font-size: 1.35rem;
}
.billingTableWrap {
  margin-top: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.billingTable {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}
.billingTable th,
.billingTable td {
  border-top: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}
.billingTable thead th {
  background: #edf5ee;
  color: var(--green-dark);
  font-size: 0.86rem;
}
.billingTable tbody th {
  width: 220px;
  color: var(--ink);
  font-weight: 850;
}
.billingTable td {
  color: var(--muted);
}
.comparisonBlock {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  overflow: hidden;
}
.comparisonIntro {
  padding: 1.15rem 1.15rem 0;
}
.comparisonIntro h3 {
  margin-top: 0.35rem;
  font-size: 1.35rem;
}
.comparisonIntro p:not(.eyebrow),
.comparisonSummary,
.comparisonNote {
  margin-top: 0.65rem;
  color: var(--muted);
}
.comparisonTableWrap {
  margin-top: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparisonTable {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}
.comparisonTable th,
.comparisonTable td {
  border-top: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}
.comparisonTable thead th {
  background: #edf5ee;
  color: var(--green-dark);
  font-size: 0.86rem;
}
.comparisonTable tbody th {
  color: var(--ink);
  font-weight: 850;
}
.comparisonTable td {
  color: var(--muted);
}
.comparisonTable .totalRow th,
.comparisonTable .totalRow td {
  background: #f6f0d8;
  color: var(--ink);
  font-weight: 850;
}
.comparisonSummary {
  margin: 1rem 1.15rem 0;
  border-radius: 8px;
  background: #edf5ee;
  padding: 1rem;
}
.comparisonNote {
  padding: 0 1.15rem 1.15rem;
  font-size: 0.92rem;
}

.calculatorSection {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 2rem;
  align-items: center;
}
.calculator { padding: 1.25rem; }
.calculator label { display: grid; gap: 0.7rem; margin-bottom: 1.25rem; }
.calculator label span, .calculator output { font-weight: 800; }
.calculator output { color: var(--green-dark); }
.calculator input { width: 100%; accent-color: var(--green); }
.estimateGrid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; margin-top: 1rem; }
.estimateGrid div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 8px;
  background: #edf5ee;
  padding: 0.9rem;
}
.estimateGrid span { color: var(--muted); }
.estimateGrid strong { color: var(--green-dark); }

.supplySection {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.9fr);
  gap: 2rem;
  align-items: center;
}
.supplyCopy h2 {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.supplyCopy p:not(.eyebrow) {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.supplyCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.supplyHeader {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.supplyHeader h3 {
  margin-top: 0.25rem;
  font-size: 1.35rem;
}
.supplyTableWrap {
  margin-top: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.supplyTable {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.supplyTable th,
.supplyTable td {
  border-top: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}
.supplyTable thead th {
  background: #edf5ee;
  color: var(--green-dark);
  font-size: 0.86rem;
}
.supplyTable tbody th {
  color: var(--ink);
  font-weight: 850;
}
.supplyTable td {
  color: var(--green-dark);
  font-weight: 850;
  text-align: right;
}
.supplyNote {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}
.forecastSection {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.9fr);
  gap: 2rem;
  align-items: center;
}
.forecastCopy h2 {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.forecastCopy p:not(.eyebrow) {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.forecastWidget {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.forecastHeader {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.forecastHeader h3 {
  margin-top: 0.25rem;
  font-size: 1.35rem;
}
.statusPill {
  flex: 0 0 auto;
  min-width: 106px;
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  background: #edf5ee;
  color: var(--green-dark);
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 850;
}
.windowValue {
  display: block;
  margin-top: 1rem;
  color: var(--green-dark);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.forecastGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.25rem 0 0;
}
.forecastGrid div {
  min-height: 84px;
  border-radius: 8px;
  background: #f3f7f1;
  padding: 0.85rem;
}
.forecastGrid dt {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.forecastGrid dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
}
.forecastNote {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.process { width: 100%; max-width: none; background: #eaf1ed; }
.process > .sectionHead, .steps { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.steps article { position: relative; min-height: 245px; padding: 1.2rem; }
.steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background: var(--yellow);
  color: #1d2014;
  font-weight: 900;
}
.allocationModel {
  width: min(1120px, calc(100% - 40px));
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 1rem;
}
.allocationCopy,
.allocationExample {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  padding: 1.15rem;
}
.allocationCopy h3,
.allocationExample h4 {
  margin-top: 0.35rem;
  font-size: 1.35rem;
}
.allocationCopy p:not(.eyebrow),
.allocationExample dl {
  margin-top: 0.85rem;
  color: var(--muted);
}
.allocationExample dl {
  display: grid;
  gap: 0.6rem;
}
.allocationExample div {
  border-radius: 8px;
  background: #f6f8f3;
  padding: 0.75rem;
}
.allocationExample dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}
.allocationExample dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-weight: 800;
}
.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.trustCards, .membershipCards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.trustCards article { min-height: 182px; padding: 1.05rem; }
.membership {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.membershipCopy h2 {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.membershipCopy p:not(.eyebrow) {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.membershipCards article {
  min-height: 185px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  padding: 1.05rem;
}
.membershipCards article:first-child {
  grid-column: 1 / -1;
}
.membershipCards h3 {
  font-size: 1.18rem;
}
.membershipCards p {
  margin-top: 0.65rem;
  color: var(--muted);
}
.membershipCards a {
  color: var(--green-dark);
  font-weight: 800;
}
.selfCheck {
  width: 100%;
  max-width: none;
  background: #f3f7f1;
}
.selfCheck > .sectionHead,
.checkLayout,
.checkNote {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.checkLayout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.checkCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  padding: 1.15rem;
}
.checkCard h3 {
  font-size: 1.35rem;
}
.checkCard p,
.checkNote {
  margin-top: 0.75rem;
  color: var(--muted);
}
.checkList,
.checkSteps {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  color: var(--muted);
}
.checkList {
  padding-left: 1.15rem;
}
.checkSteps {
  padding-left: 1.25rem;
}
.checkSteps a {
  color: var(--green-dark);
  font-weight: 850;
}
.joinList { padding: 0; list-style: none; counter-reset: join; }
.joinList li { min-height: 170px; padding: 1.1rem; counter-increment: join; }
.joinList li::before {
  content: counter(join);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}
.joinList strong, .joinList span { display: block; }
.joinSplit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.joinSplit > article,
.legalGrid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  padding: 1.15rem;
}
.joinSplit h3,
.legalGrid h3 {
  font-size: 1.35rem;
}
.joinSplit .joinList {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
.joinSplit .joinList li {
  box-shadow: none;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 1.35rem;
}
address { display: grid; gap: 0.5rem; color: var(--muted); font-style: normal; }
address a { color: var(--green-dark); font-weight: 800; }
.faqGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.faqGrid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  padding: 1rem;
}
.faqGrid summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
}
.faqGrid summary::marker {
  color: var(--green);
}
.faqGrid p {
  margin-top: 0.8rem;
  color: var(--muted);
}
.legalSection {
  padding-top: 3rem;
}
.legalGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.legalGrid p,
.legalNote,
.plainList {
  color: var(--muted);
}
.legalList {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
}
.legalList div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 1rem;
  border-radius: 8px;
  background: #f6f8f3;
  padding: 0.7rem;
}
.legalList dt {
  color: var(--muted);
  font-weight: 850;
}
.legalList dd {
  margin: 0;
}
.legalGrid a {
  color: var(--green-dark);
  font-weight: 800;
}
.legalNote {
  margin-top: 1rem;
}
.representatives {
  margin-top: 1rem;
}
.representatives h4 {
  margin: 0;
  font-size: 1rem;
}
.plainList {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}
.downloads {
  padding-top: 3rem;
}
.downloadGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.downloadGrid article {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  padding: 1.1rem;
}
.downloadType,
.downloadState {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
}
.downloadType {
  background: #edf5ee;
  color: var(--green-dark);
}
.downloadGrid h3 {
  margin-top: 1.25rem;
  font-size: 1.2rem;
}
.downloadGrid p {
  margin-top: 0.65rem;
  color: var(--muted);
}
.downloadState {
  margin-top: 1rem;
  background: #f6f0d8;
  color: #5e5115;
}
.linksSection {
  padding-top: 3rem;
}
.linkCards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.linkCards article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(28, 45, 39, 0.08);
  padding: 1.1rem;
}
.linkCards h3 {
  font-size: 1.2rem;
}
.linkCards p,
.externalNote {
  margin-top: 0.65rem;
  color: var(--muted);
}
.textLink {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--green-dark);
  font-weight: 850;
}
.externalNote {
  max-width: 820px;
  font-size: 0.92rem;
}
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .topbar { position: fixed; padding: 0 20px; }
  .navToggle { display: inline-flex; }
  .topbar nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    max-width: none;
    max-height: 0;
    overflow: hidden;
    background: var(--green-dark);
    box-shadow: 0 18px 40px rgba(12, 20, 18, 0.35);
    transition: max-height .3s ease;
  }
  .topbar.navOpen nav { max-height: min(78vh, 620px); overflow-y: auto; }
  .topbar nav a {
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1rem;
  }
  .topbar nav a:first-child { border-top: none; }
  .hero { min-height: 88svh; background-position: 58% center; }
  .heroInner { width: min(100% - 32px, 1120px); padding-top: 118px; }
  .heroLead { font-size: 1.12rem; }
  .heroFacts, .benefitGrid, .calculatorSection, .supplySection, .forecastSection, .steps, .allocationModel, .trust, .trustCards, .membership, .membershipCards, .joinList, .joinSplit, .checkLayout, .contact, .faqGrid, .downloadGrid, .linkCards, .legalGrid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Zweispaltige EDA-Tabelle passt auf dem Handy ohne Scrollen (Zeilenlabel bricht um, Zahlen bleiben) */
  .supplyTable { min-width: 0; }
  .supplyTable td { white-space: nowrap; }
  .membershipCards article:first-child {
    grid-column: auto;
  }
  .heroFacts { margin-top: 3rem; }
  .section { width: min(100% - 32px, 1120px); padding: 4rem 0; }
  .process { width: 100%; }
  .process > .sectionHead, .steps, .allocationModel,
  .selfCheck > .sectionHead, .checkLayout, .checkNote {
    width: min(100% - 32px, 1120px);
  }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .brandMark { width: 38px; height: 38px; }
  .hero { min-height: 94svh; background-position: 68% center; }
  .heroInner { padding-bottom: 20px; }
  .heroActions { display: grid; }
  .button { width: 100%; }
  .heroFacts div { min-height: 88px; }
  .estimateGrid div, .footer { display: grid; }
  .forecastGrid,
  .legalList div {
    grid-template-columns: 1fr;
  }
}

/* ---- Umbau roter Faden (2026-07-25): gebündelte Sektionen ---- */
/* Abrechnungstabelle im vollbreiten Funktionsweise-Band einfassen */
.process .billingFlow {
  width: min(1120px, calc(100% - 40px));
  margin: 2rem auto 0;
}
.billingFlowHead p {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .98rem;
}
/* Rechner sitzt jetzt unter der Vergleichstabelle im Ersparnis-Block */
#ersparnis .calculatorSection { margin-top: 2.4rem; }

/* Mitmachen: Verbraucher-Hauptweg + Erzeuger-Abzweig + Kontakt-CTA */
.joinPrimary { margin-top: 1.5rem; }
.joinPrimary > h3,
.joinBranch > h3 { font-size: 1.35rem; }
.joinBranch {
  margin-top: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f3f7f1;
  padding: 1.15rem;
}
.joinBranch .branchLabel {
  margin: 0 0 .15rem;
  color: var(--blue);
  font-weight: 850;
}
.contactCta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf5ee;
  padding: 1.25rem 1.35rem;
}
.contactCta p { margin: 0; color: var(--muted); }

/* Vergleichstabelle invertiert: Ergebnis oben, Aufschlüsselung darunter */
.comparisonTable .breakdownHead th {
  background: #edf5ee;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.comparisonTable .totalRow th,
.comparisonTable .totalRow td { font-size: 1.02rem; }

/* Nach-oben-Button (erscheint beim Scrollen) */
.toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-dark);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20, 40, 32, 0.3);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toTop.show { opacity: 1; transform: none; pointer-events: auto; }
.toTop:hover { background: var(--green); }
.toTop:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toTop,
  .topbar nav,
  .navToggleBar { transition: none; }
}

/* Tarif-Rechner (eigener kWh-Preis) */
.priceForm .fieldGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.priceForm .fieldGrid label {
  display: grid;
  gap: .4rem;
  margin-bottom: 0;
  font-weight: 800;
  font-size: .92rem;
}
.priceForm .fieldUnit {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-weight: 800;
}
.priceForm .fieldUnit input,
.priceForm select {
  width: auto;
  flex: 1;
  min-width: 0;
  padding: .6rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}
.priceForm select { width: 100%; }
.priceForm .fieldUnit input:focus-visible,
.priceForm select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.priceResult { margin-top: 1.25rem; }
.priceResult .highlight { background: #f6f0d8; }
.priceResult .highlight strong { color: var(--green-dark); }
.calcFootnote {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .88rem;
}

/* Nützliches: Downloads + Tarifvergleich als Unterabschnitte */
.subHead {
  margin: 2.6rem 0 1rem;
  font-size: 1.3rem;
}
#nuetzliches .downloadGrid,
#nuetzliches .linkCards { margin-top: 0; }
#nuetzliches .nuetzlichesIntro {
  margin: 0 0 1rem;
  max-width: 820px;
  color: var(--muted);
}
