@charset "UTF-8";
/* ==========================================================================
   Energieberatung André Schellenberg — Designsystem
   Palette "Salbei & Honig": warm, naturnah, nachhaltig — Grün für
   Nachhaltigkeit und CO2-Neutralität, Honigton für Wärme und Wohlbefinden.
   ========================================================================== */

/* ── Schriften ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-var-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../assets/fonts/intertight-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
/* Metrisch angeglichene Fallbacks — verhindern Layoutsprung beim Font-Swap */
@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Georgia'), local('Times New Roman'), local('serif');
  size-adjust: 104%; ascent-override: 92%; descent-override: 23%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Tight Fallback';
  src: local('Arial'), local('Helvetica'), local('sans-serif');
  size-adjust: 97%; ascent-override: 96%; descent-override: 24%; line-gap-override: 0%;
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  /* Marke: Salbeigrün (Nachhaltigkeit, Natur, CO2-Neutralität) */
  --brand-50:#F2F6EC;  --brand-100:#E1EAD1; --brand-200:#C3D5A6;
  --brand-300:#A0BD79; --brand-400:#7FA355; --brand-500:#62863C;
  --brand-600:#4C6B2E; --brand-700:#3A5223; --brand-800:#2C3F1B;
  --brand-900:#1F2E13; --brand-950:#14200D;

  /* Akzent: Honig (Wärme, Behaglichkeit, Wohlbefinden) */
  --ember-100:#FDF0DA; --ember-200:#FADFAE; --ember-300:#F5C67C;
  --ember-400:#EDA84A; --ember-500:#D8862A; --ember-600:#B66A1C;
  --ember-700:#8A5013;

  /* Neutral: warmer Stein, nie reines Grau */
  --n-0:#FFFFFF;  --n-25:#FBFAF8; --n-50:#F6F5F1; --n-100:#EEEDE8;
  --n-200:#E4E2DD; --n-300:#CFCCC4; --n-400:#A8A49B; --n-500:#7E7A72;
  --n-600:#5A6466; --n-700:#3D4547; --n-800:#232A2B; --n-900:#161B1C;
  --n-950:#0B1417;

  /* Energieausweis-Skala: gesetzlich anerkannt — hier ist Grün korrekt */
  --cls-Ap:#00873C; --cls-Ap-ink:#FFFFFF;
  --cls-A:#2E9B3E;  --cls-A-ink:#1A1A18;
  --cls-B:#63AE33;  --cls-B-ink:#1A1A18;
  --cls-C:#9DBF2B;  --cls-C-ink:#1A1A18;
  --cls-D:#D8CE21;  --cls-D-ink:#1A1A18;
  --cls-E:#F5C21B;  --cls-E-ink:#1A1A18;
  --cls-F:#EE8B18;  --cls-F-ink:#1A1A18;
  --cls-G:#E15516;  --cls-G-ink:#1A1A18;
  --cls-H:#D2231C;  --cls-H-ink:#FFFFFF;

  /* Semantik */
  --bg:var(--n-25);
  --bg-sunken:var(--n-50);
  --surface:var(--n-0);
  --surface-2:var(--n-50);
  --surface-inv:var(--ember-200);   /* warm statt schwarz */
  --ink-inv:var(--ink);             /* dunkler Text auf der warmen Fläche */
  --ink:var(--n-800);
  --ink-strong:var(--n-900);
  --ink-muted:var(--n-600);
  --accent:var(--brand-600);
  --accent-hover:var(--brand-700);
  --accent-soft:var(--brand-50);
  --hot:var(--ember-600);
  --hot-ink:var(--ember-700);
  --hot-soft:var(--ember-100);
  --btn-ink:#FFFFFF;              /* invertiert im Dark Mode — nie #fff hartkodieren */
  --line:color-mix(in oklab, var(--n-300) 62%, transparent);
  --line-strong:var(--n-300);
  --focus:#7FA355;                /* ≥3:1 auf hell, dunkel UND Salbeiband */

  --shadow-color:90 20% 12%;
  --shadow-1:0 1px 2px hsl(var(--shadow-color)/.05), 0 1px 1px hsl(var(--shadow-color)/.04);
  --shadow-2:0 2px 4px hsl(var(--shadow-color)/.05), 0 6px 12px -4px hsl(var(--shadow-color)/.07);
  --shadow-3:0 4px 8px hsl(var(--shadow-color)/.05), 0 16px 32px -8px hsl(var(--shadow-color)/.10);
  --shadow-4:0 8px 16px hsl(var(--shadow-color)/.06), 0 32px 64px -16px hsl(var(--shadow-color)/.16);

  --r-xs:6px; --r-sm:10px; --r-md:14px; --r-lg:20px;
  --r-xl:28px; --r-2xl:36px; --r-pill:999px;

  --sp-1:.25rem; --sp-2:.5rem;  --sp-3:.75rem; --sp-4:1rem;
  --sp-5:1.5rem; --sp-6:2rem;   --sp-7:2.5rem; --sp-8:3rem;
  --sp-9:4rem;   --sp-10:5rem;  --sp-11:6.5rem; --sp-12:8rem;
  --section-y:clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter:clamp(1.25rem, .8rem + 2.2vw, 3rem);
  --measure:68ch;
  --w-content:68rem; --w-wide:82rem; --w-narrow:42rem;

  --fs--1:clamp(.833rem, .81rem + .11vw, .9375rem);
  --fs-0: clamp(1rem, .97rem + .14vw, 1.0625rem);
  --fs-1: clamp(1.2rem, 1.14rem + .3vw, 1.36rem);
  --fs-2: clamp(1.44rem, 1.33rem + .55vw, 1.74rem);
  --fs-3: clamp(1.73rem, 1.54rem + .95vw, 2.23rem);
  --fs-4: clamp(2.07rem, 1.76rem + 1.55vw, 2.85rem);
  --fs-5: clamp(2.49rem, 1.99rem + 2.5vw, 3.65rem);
  --fs-6: clamp(2.7rem, 2.1rem + 3.4vw, 4.4rem);

  --font-display:'Fraunces','Fraunces Fallback',Georgia,'Times New Roman',serif;
  --font-sans:'Inter Tight','Inter Tight Fallback',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;

  --lh-display:1.05; --lh-heading:1.18; --lh-body:1.65; --lh-ui:1.4;
  --ls-display:-.025em; --ls-heading:-.015em; --ls-caps:.09em;

  --ease-out:cubic-bezier(.25,.46,.45,.94);
  --ease-expo:cubic-bezier(.16,1,.3,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);
  --ease-back:cubic-bezier(.34,1.4,.5,1);
  --dur-1:120ms; --dur-2:200ms; --dur-3:320ms; --dur-4:560ms; --dur-5:900ms;
  --motion:1;
  --reveal-y:calc(22px * var(--motion));

  --header-h:8rem;
  --z-header:100; --z-drawer:200; --z-overlay:300;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg:#12160E; --bg-sunken:#0D100A; --surface:#1A2015; --surface-2:#222A1B;
  --surface-inv:#3D2D14;
  --ink:#ECEAE2; --ink-strong:#F8F7F2; --ink-muted:#A8AE9C; --ink-inv:#F5C67C;
  --accent:#A0BD79; --accent-hover:#C3D5A6; --accent-soft:#212B17;
  --hot:#EDA84A; --hot-ink:#F5C67C; --hot-soft:#2E2210;
  --btn-ink:#14200D;              /* dunkle Schrift auf Honig-400 */
  --line:color-mix(in oklab, #7C8770 30%, transparent);
  --line-strong:#3A4530;
  --shadow-color:90 25% 3%;
  --shadow-1:0 1px 2px hsl(var(--shadow-color)/.35);
  --shadow-2:0 2px 4px hsl(var(--shadow-color)/.4), 0 6px 16px -4px hsl(var(--shadow-color)/.5);
  --shadow-3:0 4px 10px hsl(var(--shadow-color)/.45), 0 18px 40px -10px hsl(var(--shadow-color)/.6);
  --shadow-4:0 10px 24px hsl(var(--shadow-color)/.5), 0 40px 80px -20px hsl(var(--shadow-color)/.7);
}
[data-theme="dark"] .scale__band { filter: saturate(.94); }

/* ── Reset ─────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  tab-size: 4;
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-0);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern' 1,'liga' 1,'calt' 1;
  overflow-x: hidden;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
img,svg,video { display: block; max-width: 100%; height: auto; }
button,input,select,textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--accent); text-underline-offset: .18em; }
:lang(de) { hyphens: auto; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
::selection { background: var(--ember-200); color: var(--n-900); }

h1,h2,h3,h4,.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
  color: var(--ink-strong);
}
h1 { font-size: var(--fs-6); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-2); font-weight: 500; }
p { text-wrap: pretty; }
p, li { max-inline-size: var(--measure); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ── Layout ────────────────────────────────────────────────────────────── */
.wrap { width: min(100% - var(--gutter) * 2, var(--w-content)); margin-inline: auto; }
.wrap--wide { width: min(100% - var(--gutter) * 2, var(--w-wide)); }
.wrap--narrow { width: min(100% - var(--gutter) * 2, var(--w-narrow)); }
.section { padding-block: var(--section-y); position: relative; }
.section--sunken { background: var(--bg-sunken); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs--1); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--ls-caps); color: var(--accent);
  font-family: var(--font-sans);
}
.section__head { max-width: 46rem; margin-bottom: var(--sp-8); }
.section__head p { color: var(--ink-muted); font-size: var(--fs-1); margin-top: var(--sp-4); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82em 1.55em; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-0); line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  background: var(--btn-bg); color: #fff;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              background var(--dur-2) var(--ease-out);
}
.btn:hover { background: var(--accent-hover); box-shadow: var(--shadow-3); }
.btn:active { transform: scale(.985); }
.btn--hot { --btn-bg: var(--hot); color: var(--btn-ink); }
.btn--hot:hover { --btn-bg: var(--ember-700); }
[data-theme="dark"] .btn--hot:hover { --btn-bg: var(--ember-300); }
.btn--ghost {
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--sm { padding: .6em 1.1em; font-size: var(--fs--1); }

/* ── Header ────────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  transition: background var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out),
              border-color var(--dur-3) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header[data-stuck] {
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--header-h);
  transition: height var(--dur-3) var(--ease-out);
}
.header[data-stuck] .header__inner { height: 7.4rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink-strong); }
.brand__mark {
  width: 7.05rem; height: 7.05rem; border-radius: var(--r-pill);
  background: var(--brand-700); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; flex: none;
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
@media (max-width: 30rem) {
  :root { --header-h: 6.4rem; }
  .brand__mark { width: 5rem; height: 5rem; }
  .header[data-stuck] .header__inner { height: 5.6rem; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.brand__role { font-size: .7rem; color: var(--ink-muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { margin-left: auto; position: relative; }
.nav__list { display: flex; gap: .3rem; list-style: none; padding: 0; margin: 0; }
.nav__link {
  display: block; padding: .5rem .8rem; border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink-muted); font-size: var(--fs--1);
  font-weight: 500; transition: color var(--dur-2) var(--ease-out);
  white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--ink-strong); }
.nav__indicator {
  position: absolute; bottom: -2px; left: 0; height: 2px; width: 0;
  background: var(--hot); border-radius: 2px; opacity: 0;
  transition: transform var(--dur-3) var(--ease-expo),
              width var(--dur-3) var(--ease-expo),
              opacity var(--dur-2) var(--ease-out);
  pointer-events: none;
}
.header__actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  width: 2.4rem; height: 2.4rem; border-radius: var(--r-pill);
  display: grid; place-items: center; color: var(--ink-muted);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color var(--dur-2), background var(--dur-2), box-shadow var(--dur-2);
}
.theme-toggle:hover { color: var(--ink-strong); background: var(--surface-2); }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; }
.theme-toggle [data-icon] { display: none; }
:root:not([data-theme-auto]) [data-theme="light"] .theme-toggle [data-icon="light"] { display: block; }

.burger { display: none; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: var(--r-sm); }
.burger span {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-3) var(--ease-expo), opacity var(--dur-2);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) var(--section-y); }
.hero__grid {
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4rem);
  grid-template-columns: minmax(0,1fr);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); }
}
.hero h1 { margin-block: var(--sp-5) var(--sp-5); }
.hero h1 em { font-style: normal; color: var(--hot-ink); }
.hero__sub { font-size: var(--fs-1); color: var(--ink-muted); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-6); font-size: var(--fs--1); color: var(--ink-muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust svg { width: 1rem; height: 1rem; color: var(--accent); flex: none; }

/* Zeilenweiser Clip-Reveal — Wrapper stehen im HTML, nicht per JS */
.line { display: block; overflow: clip; padding-block: .04em; }
.line > i {
  display: block; font-style: inherit;
  transform: translateY(calc(105% * var(--motion)));
  animation: lineUp var(--dur-5) var(--ease-expo) forwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes lineUp { to { transform: translateY(0); } }

/* Thermisches Mesh — reines CSS, keine Bilder, GPU-kompositiert */
.hero__mesh { position: absolute; inset: -20% -10%; z-index: -2; filter: blur(60px); opacity: .75; pointer-events: none; }
.hero__mesh::before, .hero__mesh::after, .hero__mesh i {
  content: ''; position: absolute; border-radius: 50%; will-change: transform;
}
.hero__mesh::before {
  width: 46vw; height: 46vw; left: 4%; top: 2%;
  background: radial-gradient(circle, var(--brand-300) 0%, transparent 68%);
  opacity: .30; animation: drift1 46s var(--ease-in-out) infinite alternate;
}
.hero__mesh::after {
  width: 40vw; height: 40vw; right: 2%; top: 22%;
  background: radial-gradient(circle, var(--ember-400) 0%, transparent 68%);
  opacity: .22; animation: drift2 58s var(--ease-in-out) infinite alternate;
}
.hero__mesh i {
  width: 34vw; height: 34vw; left: 38%; bottom: -12%;
  background: radial-gradient(circle, var(--brand-500) 0%, transparent 70%);
  opacity: .20; animation: drift3 52s var(--ease-in-out) infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(9vw,5vh,0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-8vw,8vh,0) scale(1.12); } }
@keyframes drift3 { to { transform: translate3d(5vw,-7vh,0) scale(1.22); } }

/* Isothermen-Kontur: Wärmebild-Anmutung ohne einziges Rasterbild */
.hero__iso { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .085; overflow: hidden; }
.hero__iso svg { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(70rem, 96%); height: auto; }
.hero__iso path { fill: none; stroke: var(--brand-600); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
[data-theme="dark"] .hero__iso { opacity: .16; }
[data-theme="dark"] .hero__iso path { stroke: var(--brand-300); }
.js .hero__iso path {
  stroke-dasharray: var(--len, 2400); stroke-dashoffset: var(--len, 2400);
  animation: draw 2.4s var(--ease-expo) forwards;
  animation-delay: calc(.35s + var(--d, 0) * .16s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Filmkorn — killt den flachen Vektor-Template-Look */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ── Karte / Widget-Shell ──────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-4), inset 0 0 0 1px var(--line);
  padding: clamp(1.25rem, .8rem + 1.6vw, 2rem);
}

/* ── Aktualitätsblock ──────────────────────────────────────────────────── */
.news { background: var(--bg-sunken); border-block: 1px solid var(--line); }
.news__grid { display: grid; gap: var(--sp-7); }
@media (min-width: 55rem) { .news__grid { grid-template-columns: .85fr 1.15fr; gap: var(--sp-9); } }
.news__badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem;
  border-radius: var(--r-pill); background: var(--hot-soft); color: var(--hot-ink);
  font-size: var(--fs--1); font-weight: 600;
}
.news__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--hot); flex: none; }
.news p + p { margin-top: var(--sp-4); }
.news__list { list-style: none; padding: 0; display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.news__list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-muted); }
.news__list svg { width: 1.15rem; height: 1.15rem; color: var(--accent); flex: none; margin-top: .28em; }

/* ── Vertrauensleiste ──────────────────────────────────────────────────── */
/* ── Sanierungsvergleich ───────────────────────────────────────────────── */
.compare-figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-3); }
.compare-figure img { width: 100%; height: auto; display: block; }
.compare-figure figcaption { padding: var(--sp-4) var(--sp-5); font-size: var(--fs--1); color: var(--ink-muted); background: var(--surface-2); border-top: 1px solid var(--line); }

.trust { padding-block: var(--sp-7); border-bottom: 1px solid var(--line); }
.trust__grid {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: var(--sp-5) var(--sp-8);
}
.trust__item {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs--1); font-weight: 600; letter-spacing: .01em;
  color: var(--ink-muted); filter: grayscale(1); opacity: .82;
  transition: filter var(--dur-3), opacity var(--dur-3), color var(--dur-3);
  text-decoration: none; text-align: left;
}
.trust__item:hover { filter: grayscale(0); opacity: 1; color: var(--ink-strong); }
.trust__item svg { width: 1.5rem; height: 1.5rem; color: var(--accent); flex: none; }
.trust__note { text-align: center; margin-top: var(--sp-5); font-size: var(--fs--1); color: var(--ink-muted); max-width: none; }

/* ── Bento: Leistungen ─────────────────────────────────────────────────── */
.bento { display: grid; gap: var(--sp-4); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 40rem) { .bento { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 64rem) { .bento { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.tile {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3);
  transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.tile:hover { box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-3); }
.tile:has(a:focus-visible) { box-shadow: inset 0 0 0 2px var(--focus), var(--shadow-3); }
.tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%),
              color-mix(in oklab, var(--accent) 13%, transparent), transparent 70%);
  transition: opacity var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .tile:hover::before { opacity: 1; } }
@media (min-width: 64rem) {
  .tile--lead { grid-column: span 2; grid-row: span 2; }
  .tile--wide { grid-column: span 2; }
}
.tile__icon {
  width: 2.6rem; height: 2.6rem; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.tile__icon svg { width: 1.3rem; height: 1.3rem; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a::after { content: ''; position: absolute; inset: 0; }
.tile p { color: var(--ink-muted); font-size: var(--fs--1); }
.tile__list { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: var(--fs--1); color: var(--ink-muted); }
.tile__list li { display: flex; gap: .5rem; align-items: flex-start; }
.tile__list svg { width: .95rem; height: .95rem; color: var(--accent); flex: none; margin-top: .38em; }
.tile__tag {
  margin-top: auto; align-self: flex-start;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: var(--hot-soft); color: var(--hot-ink);
  font-size: .78rem; font-weight: 600;
}
.tile--lead { background: var(--surface-inv); color: var(--ink-inv); }
.tile--lead h3, .tile--lead h3 a { color: var(--ink-inv); }
.tile--lead p, .tile--lead .tile__list { color: color-mix(in oklab, var(--ink-inv) 78%, transparent); }
.tile--lead .tile__icon { background: color-mix(in oklab, var(--ink-inv) 10%, transparent); color: var(--brand-700); }
.tile--lead .tile__list svg { color: var(--brand-700); }
.tile--lead:hover { box-shadow: inset 0 0 0 1px var(--ember-600), var(--shadow-4); }

/* ── Unabhängigkeit ────────────────────────────────────────────────────── */
.indep {
  display: grid; gap: var(--sp-6); align-items: center;
  padding: clamp(1.5rem,1rem + 2.5vw,3rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in oklab, var(--hot-soft) 55%, transparent));
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 52rem) { .indep { grid-template-columns: auto 1fr; gap: var(--sp-8); } }
.indep__icon { width: 3.5rem; height: 3.5rem; color: var(--accent); }
.indep p { color: var(--ink); }
.indep p + p { margin-top: var(--sp-4); }
.indep strong { color: var(--ink-strong); }

/* ── Ablauf: Sticky-Timeline ───────────────────────────────────────────── */
.flow__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 56rem) { .flow__grid { grid-template-columns: .82fr 1.18fr; gap: var(--sp-10); } }
.flow__sticky { display: none; }
@media (min-width: 56rem) {
  .flow__sticky {
    display: block; position: sticky; align-self: start;
    top: calc(var(--header-h) + 4rem);
  }
}
.flow__num {
  font-family: var(--font-display); font-size: clamp(4rem,3rem + 6vw,7.5rem);
  line-height: .9; color: var(--hot); font-weight: 600;
  display: block; overflow: clip; height: 1em;
}
.flow__num span { display: block; transition: transform var(--dur-4) var(--ease-expo), opacity var(--dur-3); }
.flow__title { font-family: var(--font-display); font-size: var(--fs-3); margin-top: var(--sp-4); min-height: 2.6em; }
.flow__rail { margin-top: var(--sp-6); height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.flow__rail i { display: block; height: 100%; width: calc(var(--p,0) * 100%); background: var(--hot); transition: width var(--dur-4) var(--ease-expo); }
.flow__steps { display: grid; gap: var(--sp-5); list-style: none; padding: 0; counter-reset: step; }
@media (min-width: 56rem) { .flow__steps { gap: var(--sp-8); } }
.flow__step {
  background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur-3), opacity var(--dur-3);
  max-inline-size: none;
}
@media (min-width: 56rem) { .flow__step { min-height: 42vh; display: flex; flex-direction: column; justify-content: center; opacity: .55; } }
.flow__step[data-active] { opacity: 1; box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-2); }
.flow__step h3 { display: flex; align-items: baseline; gap: .7rem; }
.flow__step h3::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-size: var(--fs--1); color: var(--hot); font-family: var(--font-sans);
  font-weight: 700; letter-spacing: .08em;
}
.flow__step p { color: var(--ink-muted); margin-top: var(--sp-3); }

/* ── Förderung: invertiertes Band ──────────────────────────────────────── */
.funding { background: var(--surface-inv); color: var(--ink-inv); position: relative; overflow: hidden; }
.funding h2, .funding h3 { color: var(--ink-inv); }
.funding .eyebrow { color: var(--brand-700); }
.funding .section__head p { color: color-mix(in oklab, var(--ink-inv) 78%, transparent); }
.funding__grid { display: grid; gap: var(--sp-4); }
@media (min-width: 52rem) { .funding__grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.pot {
  background: color-mix(in oklab, var(--ink-inv) 6%, transparent);
  border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink-inv) 15%, transparent);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.pot__label { font-size: var(--fs--1); color: var(--brand-700); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pot__value { font-family: var(--font-display); font-size: var(--fs-5); line-height: 1; color: var(--ink-inv); }
.pot__value small { font-size: .42em; font-family: var(--font-sans); color: color-mix(in oklab,var(--ink-inv) 74%, transparent); font-weight: 500; }
.pot p { color: color-mix(in oklab, var(--ink-inv) 80%, transparent); font-size: var(--fs--1); }
.pot__bar { display: flex; height: 9px; border-radius: var(--r-pill); overflow: hidden; background: color-mix(in oklab,var(--ink-inv) 15%,transparent); }
.pot__seg {
  height: 100%; width: 0;
  transition: width var(--dur-4) var(--ease-expo);
  transition-delay: calc(var(--i,0) * 110ms);
}
.pot__legend { list-style: none; padding: 0; display: grid; gap: .4rem; font-size: .82rem; }
.pot__legend li { display: flex; align-items: center; gap: .5rem; color: color-mix(in oklab,var(--ink-inv) 82%,transparent); max-inline-size: none; }
.pot__swatch { width: .7rem; height: .7rem; border-radius: 3px; flex: none; }

.notice {
  display: grid; gap: var(--sp-3); margin-top: var(--sp-7);
  padding: var(--sp-6); border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--ember-700) 16%, transparent);
  box-shadow: inset 0 0 0 1px var(--ember-600);
}
.notice h3 { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-1); color: var(--ink-inv); }
.notice svg { width: 1.3rem; height: 1.3rem; color: var(--ember-700); flex: none; }
.notice p { color: color-mix(in oklab,var(--ink-inv) 88%,transparent); max-inline-size: 60ch; }
.stand { margin-top: var(--sp-6); font-size: .8rem; color: color-mix(in oklab,var(--ink-inv) 65%,transparent); max-inline-size: 70ch; }
.section .stand { color: var(--ink-muted); }

/* ── Zwischen-CTA ──────────────────────────────────────────────────────── */
.midcta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-5); padding: var(--sp-7) clamp(1.5rem,1rem + 2vw,2.5rem);
  border-radius: var(--r-xl); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
}
.midcta h2 { font-size: var(--fs-2); }
.midcta p { color: var(--ink-muted); margin-top: .35rem; font-size: var(--fs--1); }

/* ── Über mich ─────────────────────────────────────────────────────────── */
.about__grid { display: grid; gap: var(--sp-8); }
@media (min-width: 56rem) { .about__grid { grid-template-columns: .8fr 1.2fr; gap: var(--sp-10); align-items: start; } }
.about__figure { position: relative; }
.about__figure img, .about__ph {
  border-radius: var(--r-xl); box-shadow: var(--shadow-3); width: 100%;
  aspect-ratio: 4/5; object-fit: cover;
  filter: saturate(.45) contrast(1.04);
  transition: filter var(--dur-5) var(--ease-out);
}
.about__figure[data-revealed] img, .about__figure[data-revealed] .about__ph { filter: saturate(1) contrast(1); }
.about__ph {
  display: grid; place-items: center; text-align: center; padding: var(--sp-6);
  background: linear-gradient(150deg, var(--brand-700), var(--brand-900));
  color: color-mix(in oklab,#fff 70%,transparent); font-size: var(--fs--1);
}
.about__figure::after {
  content: ''; position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: -1;
  border-radius: var(--r-xl); box-shadow: inset 0 0 0 1.5px var(--hot); opacity: .5;
}
.about p + p { margin-top: var(--sp-4); }
.about p { color: var(--ink-muted); }
.creds { list-style: none; padding: 0; display: grid; gap: .6rem; margin-top: var(--sp-6); }
.creds li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs--1); }
.creds svg { width: 1.05rem; height: 1.05rem; color: var(--accent); flex: none; margin-top: .32em; }

.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-5); margin-top: var(--sp-8); }
@media (min-width: 40rem) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { border-top: 2px solid var(--line-strong); padding-top: var(--sp-3); }
.stat__num {
  font-family: var(--font-display); font-size: var(--fs-3); color: var(--hot-ink);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat__label { font-size: .8rem; color: var(--ink-muted); margin-top: .2rem; }

/* ── Referenzen ────────────────────────────────────────────────────────── */
.refs { display: grid; gap: var(--sp-4); }
@media (min-width: 52rem) { .refs { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.ref {
  background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: var(--sp-4);
}
.ref blockquote { font-family: var(--font-display); font-size: var(--fs-1); line-height: 1.42; color: var(--ink-strong); }
.ref figcaption { font-size: var(--fs--1); color: var(--ink-muted); margin-top: auto; }
.ref__chip {
  align-self: flex-start; padding: .35rem .75rem; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent);
  font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: .6rem; }
.faq__item { background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq__item h3 { font-size: inherit; margin: 0; }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5); text-align: left;
  font-family: var(--font-display); font-size: var(--fs-1); font-weight: 500;
  color: var(--ink-strong); line-height: 1.35;
}
.faq__q:hover { color: var(--accent); }
.faq__icon { width: 1.4rem; height: 1.4rem; flex: none; color: var(--accent); margin-top: .15em; transition: transform var(--dur-3) var(--ease-expo); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-expo); }
.faq__item[data-open] .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-muted); }
.faq__panel p + p { padding-top: 0; margin-top: calc(var(--sp-3) * -1 + var(--sp-4)); }

/* ── Kontakt ───────────────────────────────────────────────────────────── */
.contact__grid { display: grid; gap: var(--sp-8); }
@media (min-width: 56rem) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: var(--sp-9); } }
.contact__direct { display: grid; gap: var(--sp-5); align-content: start; }
.contact__link {
  display: flex; align-items: center; gap: var(--sp-4); text-decoration: none;
  color: var(--ink-strong); padding: var(--sp-4); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line); background: var(--surface);
  transition: box-shadow var(--dur-2), transform var(--dur-2);
}
.contact__link:hover { box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-2); }
.contact__link svg { width: 1.3rem; height: 1.3rem; color: var(--accent); flex: none; }
.contact__link b { display: block; font-size: var(--fs-1); font-family: var(--font-display); font-weight: 600; }
.contact__link span { font-size: .8rem; color: var(--ink-muted); }
.contact__meta { font-size: var(--fs--1); color: var(--ink-muted); }
.contact__meta dt { font-weight: 600; color: var(--ink); margin-top: var(--sp-4); }

/* ── Formular ──────────────────────────────────────────────────────────── */
.form { background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.25rem,.8rem + 1.8vw,2rem); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.form__steps { display: flex; align-items: center; gap: .5rem; margin-bottom: var(--sp-6); font-size: .8rem; color: var(--ink-muted); }
.form__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--line-strong); transition: background var(--dur-2), transform var(--dur-2); }
.form__dot[data-on] { background: var(--hot); transform: scale(1.35); }
.field { display: grid; gap: .4rem; margin-bottom: var(--sp-5); }
.field > label, .fieldset__legend { font-size: var(--fs--1); font-weight: 600; color: var(--ink-strong); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; padding: .72rem .9rem; border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--line-strong);
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.field :is(input,select,textarea):focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in oklab,var(--focus) 26%,transparent); }
.field textarea { min-height: 7rem; resize: vertical; }
.field :is(input,textarea):user-invalid { border-color: var(--ember-600); }
.field__hint { font-size: .78rem; color: var(--ink-muted); }
.field__err { font-size: .78rem; color: var(--ember-700); min-height: 1.1em; display: flex; align-items: center; gap: .35rem; }
[data-theme="dark"] .field__err { color: var(--ember-300); }
fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-5); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: block; padding: .5rem .9rem; border-radius: var(--r-pill);
  font-size: var(--fs--1); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: box-shadow var(--dur-2) var(--ease-back), background var(--dur-2), color var(--dur-2);
  user-select: none;
}
.chip input:checked + span { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--accent); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs--1); color: var(--ink-muted); }
.consent input { margin-top: .28em; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--accent); }
.form__nav { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__result { display: grid; gap: var(--sp-4); }
.form__result h3 { font-size: var(--fs-2); }
.form__result p { color: var(--ink-muted); }
.form__result .btn { align-self: flex-start; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--bg-sunken); border-top: 1px solid var(--line); position: relative; overflow: hidden; padding-top: var(--sp-9); }
.footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 44rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-7); } }
.footer h2 { font-size: var(--fs-1); margin-bottom: var(--sp-3); }
.footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: var(--fs--1); }
.footer a { color: var(--ink-muted); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__tag { font-size: var(--fs--1); color: var(--ink-muted); margin-top: var(--sp-3); }
.footer__bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between;
  margin-top: var(--sp-8); padding: var(--sp-5) 0; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--ink-muted); position: relative; z-index: 1;
}
.footer__mark {
  position: absolute; left: 50%; bottom: -.32em; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem,16vw,13rem);
  color: var(--ink); opacity: .04; pointer-events: none; white-space: nowrap; line-height: .8;
}

/* ── Scroll-Reveal ─────────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(var(--reveal-y)); }
.js [data-reveal][data-revealed] {
  opacity: 1; transform: none;
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-expo);
  transition-delay: calc(var(--i,0) * 70ms);
}

/* ── Mobile Navigation ─────────────────────────────────────────────────── */
@media (max-width: 61.99rem) {
  .burger { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: var(--z-drawer);
    background: var(--surface-inv); padding: calc(var(--header-h) + 2rem) var(--gutter) var(--gutter);
    margin: 0; opacity: 0; visibility: hidden;
    clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
    transition: clip-path var(--dur-4) var(--ease-expo), opacity var(--dur-2), visibility var(--dur-2);
  }
  .nav[data-open] { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 3rem) 2.5rem); }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__link { font-size: var(--fs-3); font-family: var(--font-display); color: color-mix(in oklab,var(--ink-inv) 82%,transparent); padding: .5rem 0; }
  .nav__link:hover, .nav__link[aria-current="true"] { color: var(--ink-inv); }
  .nav[data-open] .nav__link { animation: navIn var(--dur-4) var(--ease-expo) backwards; animation-delay: calc(.1s + var(--i,0) * 45ms); }
  @keyframes navIn { from { opacity: 0; transform: translateY(14px); } }
  .nav__indicator { display: none; }
  .header__actions { margin-left: auto; }
  .header__cta { display: none; }
}
@media (min-width: 62rem) { .burger { display: none; } }

/* ── Bewegungsreduktion: reduzieren, nicht löschen ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  :root { --motion: 0; --dur-3: 1ms; --dur-4: 1ms; --dur-5: 1ms; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .hero__mesh, .grain { display: none; }
  .js .hero__iso path { stroke-dashoffset: 0; animation: none; }
  .line > i { transform: none; animation: none; }
  /* Hover-/Fokus-Feedback bleibt erhalten — es ist Rückmeldung, keine Dekoration */
  .btn, .tile, .nav__link, .contact__link, .faq__q { transition-duration: var(--dur-2) !important; }
}

@media (prefers-contrast: more) {
  :root { --line: var(--line-strong); }
  .grain { display: none; }
  .header[data-stuck] { background: var(--bg); backdrop-filter: none; }
}

/* ── Sanierungs-Check (Signatur-Widget) ────────────────────────────────── */
.check__title { font-size: var(--fs-2); }
.check__lead { font-size: var(--fs--1); color: var(--ink-muted); margin-top: .3rem; }
.check__form { margin-top: var(--sp-5); display: grid; gap: var(--sp-5); }
.check__row { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.check__row > label, .check__row legend {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: var(--fs--1); font-weight: 600; color: var(--ink-strong); padding: 0; width: 100%;
}
.check__out-val {
  font-variant-numeric: tabular-nums; color: var(--hot-ink); font-weight: 700;
}
.check__hint { font-size: .74rem; color: var(--ink-muted); }
.chips--sm .chip span { padding: .38rem .7rem; font-size: .82rem; }

/* Regler: sichtbarer Fokus und ausreichend große Ziehfläche */
.check__row input[type="range"] {
  width: 100%; height: 1.5rem; background: transparent; appearance: none; -webkit-appearance: none;
}
.check__row input[type="range"]::-webkit-slider-runnable-track {
  height: 5px; border-radius: 3px; background: var(--line-strong);
}
.check__row input[type="range"]::-moz-range-track {
  height: 5px; border-radius: 3px; background: var(--line-strong);
}
.check__row input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; margin-top: -9px;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--hot); border: 3px solid var(--surface); box-shadow: var(--shadow-2);
  cursor: grab;
}
.check__row input[type="range"]::-moz-range-thumb {
  width: 23px; height: 23px; border-radius: 50%; border: 3px solid var(--surface);
  background: var(--hot); box-shadow: var(--shadow-2); cursor: grab;
}
.check__row input[type="range"]:focus-visible { outline: none; }
.check__row input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--focus) 45%, transparent);
}
.check__row input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--focus) 45%, transparent);
}
.check__row datalist { display: flex; justify-content: space-between; padding: 0 10px; }

.check__result { margin-top: var(--sp-6); }

/* Die Skala: gleich breite Bänder wie im Energieausweis, Nadel über Bandindex */
.scale {
  position: relative; display: grid; grid-template-columns: repeat(9, 1fr);
  border-radius: var(--r-sm); overflow: visible; margin-top: 2.2rem; height: 2.1rem;
}
.scale__band {
  background: var(--c); color: var(--t);
  display: grid; place-items: center; font-size: .68rem; font-weight: 700;
  opacity: .5; transition: opacity var(--dur-3) var(--ease-out), filter var(--dur-3);
}
.scale__band:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.scale__band:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.scale__band[data-active] { opacity: 1; filter: brightness(1.08); }
.scale__marker {
  position: absolute; top: -1.75rem; left: 50%; transform: translateX(-50%);
  transition: left var(--dur-4) var(--ease-expo);
  display: grid; place-items: center; pointer-events: none;
}
.scale__marker b {
  display: grid; place-items: center; min-width: 1.85rem; height: 1.55rem; padding: 0 .35rem;
  border-radius: var(--r-xs); background: var(--ink-strong); color: var(--bg);
  font-size: .78rem; font-weight: 700; font-family: var(--font-sans);
}
.scale__marker::after {
  content: ''; width: 2px; height: .55rem; background: var(--ink-strong);
}
.scale__marker--ziel { opacity: 0; animation: ghostIn var(--dur-3) var(--ease-out) .25s forwards; }
.scale__marker--ziel b {
  background: transparent; color: var(--ink-strong);
  box-shadow: inset 0 0 0 2px var(--ink-strong); border-style: dashed;
}
.scale__marker--ziel::after { background: repeating-linear-gradient(var(--ink-strong) 0 3px, transparent 3px 5px); }
@keyframes ghostIn { to { opacity: .78; } }
.scale__legend {
  display: flex; gap: var(--sp-5); margin-top: .9rem;
  font-size: .74rem; color: var(--ink-muted); max-inline-size: none;
}
.scale__legend span { display: inline-flex; align-items: center; gap: .35rem; }
.dot { width: .6rem; height: .6rem; border-radius: 2px; background: var(--ink-strong); }
.dot--ziel { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-strong); }

.check__figs {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--sp-4); margin-top: var(--sp-6);
}
.check__figs > div { border-top: 1px solid var(--line); padding-top: .55rem; }
.check__figs dt { font-size: .72rem; color: var(--ink-muted); }
.check__figs dd {
  margin: .15rem 0 0; font-family: var(--font-display); font-size: var(--fs-1);
  color: var(--ink-strong); font-variant-numeric: tabular-nums; line-height: 1.2;
}
.check__figs dd.is-hot { color: var(--hot-ink); }
.check__note { font-size: .72rem; color: var(--ink-muted); margin: var(--sp-5) 0 var(--sp-5); }
.check .btn { width: 100%; }

/* ── Performance ───────────────────────────────────────────────────────────
   Bewusst KEIN `content-visibility: auto` auf den Sektionen: Es lässt noch
   nicht gerenderte Abschnitte auf ihre contain-intrinsic-size zusammenfallen,
   wodurch Sprungmarken (#foerderung, #kontakt …) an der falschen Stelle
   landen. Auf einer Onepage-Seite, die vollständig über Ankernavigation
   funktioniert, wiegt das schwerer als der geringe Renderingvorteil. */
