/* ==========================================================================
   ihr-entruempler.de – Stylesheet
   --------------------------------------------------------------------------
   Designidee: „Platz schaffen". Viel Luft, warmes Papierweiß, Tannengrün als
   Ruhepol, Kraftpapier-Braun wie Umzugskartons und Klebeband-Gelb als Akzent.
   Nur Systemschriften – es wird nichts von fremden Servern geladen.

   Nach jeder Änderung wird der Versionsstempel automatisch neu gesetzt
   (asset() hängt ?v=<Änderungszeit> an).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --paper-3: #e7dfd1;
  --card: #fffdf9;
  --ink: #17221d;
  --ink-2: #36443d;
  --muted: #5f6c65;
  --line: #e0d8ca;
  --line-strong: #cfc4b2;

  --brand: #1f4d3a;
  --brand-2: #2b6650;
  --brand-ink: #123326;
  --on-brand: #ffffff;
  --accent: #1f5d44;
  --accent-hover: #123f2e;
  --kraft: #a86a32;
  --kraft-soft: #ecd9c2;
  --tape: #f0c24b;
  --tape-soft: #f9e7ae;

  --info: #2c5d7c;
  --info-soft: #e3eef4;
  --tip: #2b6650;
  --tip-soft: #e1efe7;
  --warn: #a4471f;
  --warn-soft: #f8e6da;
  --law: #5b4a86;
  --law-soft: #ebe6f5;

  --foot-bg: #13241c;
  --foot-ink: #dfe9e3;
  --foot-muted: #9fb3a8;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-1: 0 1px 2px rgb(23 34 29 / .06), 0 4px 14px rgb(23 34 29 / .05);
  --shadow-2: 0 2px 6px rgb(23 34 29 / .05), 0 22px 44px -18px rgb(23 34 29 / .28);
  --shadow-3: 0 30px 70px -30px rgb(18 51 38 / .45);

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 72px;

  --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --step--1: clamp(.84rem, .81rem + .12vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.075rem);
  --step-1: clamp(1.16rem, 1.08rem + .38vw, 1.34rem);
  --step-2: clamp(1.42rem, 1.24rem + .85vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.42rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.55rem + 3.1vw, 4rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1612;
    --paper-2: #141d18;
    --paper-3: #1b2620;
    --card: #17211c;
    --ink: #e8eee9;
    --ink-2: #c6d0c9;
    --muted: #97a59c;
    --line: #26332c;
    --line-strong: #34443a;

    --brand: #2c6e50;
    --brand-2: #37835f;
    --brand-ink: #0c1f16;
    --accent: #7cc7a1;
    --accent-hover: #a5dcbf;
    --kraft: #d9a066;
    --kraft-soft: #3a2a1b;
    --tape: #e8b93f;
    --tape-soft: #4a3c14;

    --info: #8cc2e2;
    --info-soft: #16262f;
    --tip: #7cc7a1;
    --tip-soft: #14271e;
    --warn: #f0a37d;
    --warn-soft: #321d13;
    --law: #b8a8e6;
    --law-soft: #211c33;

    --foot-bg: #0a100d;
    --shadow-1: 0 1px 2px rgb(0 0 0 / .3), 0 4px 14px rgb(0 0 0 / .25);
    --shadow-2: 0 2px 6px rgb(0 0 0 / .3), 0 22px 44px -18px rgb(0 0 0 / .6);
    --shadow-3: 0 30px 70px -30px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   2. Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

@view-transition { navigation: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--brand);
  color: var(--on-brand);
  padding: .6em 1em;
  border-radius: var(--radius-s);
  font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; color: var(--on-brand); }

/* Lesefortschritt */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--tape), var(--kraft));
  transform-origin: 0 50%;
  transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .progress__bar {
    animation: progress-grow linear both;
    animation-timeline: scroll(root);
  }
  @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Textmarker wie ein Streifen Klebeband */
.mark {
  background: linear-gradient(transparent 58%, var(--tape-soft) 58%, var(--tape-soft) 92%, transparent 92%);
  padding-inline: .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--brand-2);
}
@media (prefers-color-scheme: dark) { .serif-accent { color: var(--accent); } }

/* --------------------------------------------------------------------------
   3. Schaltflächen, Dachzeilen, Abschnitte
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-ink: var(--on-brand);
  --btn-bd: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .82em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 650;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
  box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 8px 18px -10px rgb(18 51 38 / .6);
}
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover { color: var(--btn-ink); text-decoration: none; transform: translateY(-1px); background: var(--brand-2); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--small { padding: .55em 1em; font-size: var(--step--1); }
.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); --btn-bd: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--card); color: var(--ink); }
.btn--tape { --btn-bg: var(--tape); --btn-ink: #1d1a10; --btn-bd: var(--tape); box-shadow: 0 8px 18px -10px rgb(120 90 10 / .6); }
.btn--tape:hover { background: #f5cd62; color: #1d1a10; }
.btn--light { --btn-bg: #fff; --btn-ink: var(--brand-ink); --btn-bd: #fff; }
.btn--light:hover { background: var(--tape); color: #1d1a10; }
.btn--outline-light { --btn-bg: transparent; --btn-ink: #fff; --btn-bd: rgb(255 255 255 / .45); box-shadow: none; }
.btn--outline-light:hover { background: rgb(255 255 255 / .1); color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin: 0 0 1rem;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--kraft);
}
.kicker__icon {
  display: grid;
  place-items: center;
  width: 2em; height: 2em;
  border-radius: 50%;
  background: var(--kraft-soft);
}
.kicker__icon .ic { width: 1.1em; height: 1.1em; }

.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tint { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--step-3); margin-bottom: .35em; }
.section-lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; margin: 0; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* Einblenden beim Scrollen – nur mit JavaScript, sonst sofort sichtbar */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   4. Kopfzeile und Navigation
   -------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgb(0 0 0 / .45); }
.site-head__row { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 6px 16px -8px rgb(18 51 38 / .7); transition: transform .35s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 750; font-size: 1.14rem; letter-spacing: -.02em; }
.brand__claim { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .55em .9em;
  border-radius: 999px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--paper-3); color: var(--ink); text-decoration: none; }
.nav__item.is-active > .nav__link, .nav__link[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--tape) 30%, transparent); }
.nav__chev { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 320px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub--mega { min-width: 640px; }
.sub__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sub--mega .sub__list { grid-template-columns: 1fr 1fr; }
.sub__link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .15s;
}
.sub__link:hover, .sub__link.is-active { background: var(--paper-2); color: var(--ink); text-decoration: none; }
.sub__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--tip-soft); color: var(--accent); flex: none; }
.sub__text { display: flex; flex-direction: column; line-height: 1.3; }
.sub__label { font-weight: 650; }
.sub__desc { font-size: .84rem; color: var(--muted); margin-top: 2px; }

.nav__item.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1000px) {
  .nav__item.has-sub:hover > .sub { opacity: 1; visibility: visible; transform: none; }
  .nav__item.has-sub:hover .nav__chev { transform: rotate(180deg); }
}

.site-head__tools { display: flex; align-items: center; gap: 8px; }
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.burger .ic { width: 22px; height: 22px; }
.burger__close { display: none; }
.nav-open .burger__open { display: none; }
.nav-open .burger__close { display: block; }

@media (max-width: 999px) {
  .burger { display: grid; }
  .site-head__cta span { display: none; }
  .site-head__cta { padding: .6em; }
  .nav {
    position: fixed;
    inset: var(--head-h) 0 0 0;
    background: var(--paper);
    padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    border-top: 1px solid var(--line);
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  /* backdrop-filter macht die Kopfzeile zum Bezugsrahmen für position:fixed –
     das offene Menü hätte dann keine Höhe. Solange es offen ist: ohne Filter. */
  .nav-open .site-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.15rem; padding: .8em 1em; border-radius: 14px; }
  .sub, .sub--mega {
    position: static;
    translate: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item.is-open > .sub { display: block; }
  .sub--mega .sub__list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand__claim { display: none; }
  .site-head__row { gap: 12px; }
}

/* --------------------------------------------------------------------------
   5. Startseite
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 84px) clamp(56px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tape) 26%, transparent), transparent 70%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: min(60vw, 700px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%);
  z-index: -1;
}
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.02fr 1fr; } }
.hero__title { font-size: var(--step-4); font-weight: 780; letter-spacing: -.035em; margin-bottom: .4em; }
.hero__title .serif-accent { font-weight: 500; letter-spacing: -.02em; }
.hero__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 36em; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: var(--step--1); }
.hero__trust li { display: inline-flex; align-items: center; gap: .45em; }
.hero__trust .ic { color: var(--accent); width: 1.1em; height: 1.1em; }

/* Vorher-Nachher-Regler */
.compare {
  --pos: 50%;
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--paper-3);
  user-select: none;
  touch-action: pan-y;
}
.compare__layer { position: absolute; inset: 0; }
.compare__layer .img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.compare__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__layer--before .ph { background-color: var(--kraft-soft); justify-items: start; padding-left: 12%; }
.compare__layer--after .ph { justify-items: end; padding-right: 12%; }
.compare__label {
  position: absolute;
  top: 16px;
  padding: .35em .8em;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgb(15 22 18 / .62);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: rgb(240 194 75 / .92); color: #1d1a10; }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 0 24px rgb(0 0 0 / .25);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-ink);
  box-shadow: 0 8px 24px -6px rgb(0 0 0 / .45);
  transition: transform .2s var(--ease);
}
.compare__knob .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 3px solid var(--tape); outline-offset: 3px; }
.compare:hover .compare__knob { transform: scale(1.06); }
.compare__caption { margin-top: 12px; font-size: var(--step--1); color: var(--muted); text-align: center; }

/* Hinweisband unter dem Hero */
.strip {
  border-block: 1px solid var(--line);
  background: var(--card);
}
.strip__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.strip__item { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.strip__item .ic { width: 28px; height: 28px; color: var(--kraft); }
.strip__item strong { display: block; font-size: .98rem; line-height: 1.3; }
.strip__item span { color: var(--muted); font-size: .88rem; line-height: 1.35; display: block; }
@media (max-width: 700px) {
  .strip__item { border-left: 0; border-top: 1px solid var(--line); }
  .strip__item:first-child { border-top: 0; }
}

/* Themenkarten im Bento-Raster */
.bento { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento > .card--wide { grid-column: span 2; }
  .bento > .card--wide .card__media .img { aspect-ratio: 21 / 9; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { color: var(--ink); text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card__media .img { border-radius: 0; }
.card__media img { transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.card__title { font-size: var(--step-1); margin: 0; }
.card__text { color: var(--muted); font-size: .95rem; margin: 0; line-height: 1.5; }
.card__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: .4em; font-weight: 650; font-size: .92rem; color: var(--accent); }
.card__more .ic { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.card:hover .card__more .ic { transform: translateX(4px); }
.card--compact .card__body { padding-top: 18px; }

/* Ablauf in fünf Schritten */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.process__step {
  counter-increment: step;
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.process__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--kraft);
  margin-bottom: 14px;
}
.process__step h3 { font-size: 1.12rem; margin-bottom: .35em; }
.process__step p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* Kennzahlen */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 600px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--card); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--font-display); font-weight: 780; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); letter-spacing: -.035em; line-height: 1; color: var(--brand-2); }
@media (prefers-color-scheme: dark) { .stat__num { color: var(--accent); } }
.stat__label { font-weight: 650; line-height: 1.35; }
.stat__note { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: auto; }
.stat__note a { color: inherit; }

/* Werkzeuge */
.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 24px;
  border-radius: var(--radius-l);
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tool:hover { color: var(--ink); text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tool::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tape) 22%, transparent);
  transition: transform .5s var(--ease);
}
.tool:hover::after { transform: scale(1.3); }
.tool__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand); color: var(--on-brand); }
.tool__icon .ic { width: 26px; height: 26px; }
.tool h3 { font-size: var(--step-1); margin: 8px 0 0; }
.tool p { margin: 0; color: var(--muted); }
.tool .card__more { margin-top: auto; }
.tool--feature { background: var(--brand); border-color: var(--brand); color: #fff; }
.tool--feature:hover { color: #fff; }
.tool--feature p { color: rgb(255 255 255 / .8); }
.tool--feature h3 { color: #fff; }
.tool--feature .tool__icon { background: var(--tape); color: #1d1a10; }
.tool--feature .card__more { color: var(--tape); }
.tool--feature::after { background: rgb(255 255 255 / .08); }

/* Vergleich Selbst vs. Profi */
.duo { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.duo__col { padding: 28px 26px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.duo__col h3 { display: flex; align-items: center; gap: .5em; font-size: var(--step-1); }
.duo__col h3 .ic { color: var(--kraft); }
.duo__col--pro { background: var(--tip-soft); border-color: transparent; }

/* Band „Über diese Seite" */
.about-band {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: auto 1fr;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px dashed var(--line-strong);
}
.about-band__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--kraft-soft); color: var(--kraft); }
.about-band__icon .ic { width: 30px; height: 30px; }
.about-band h2 { font-size: var(--step-2); }
.about-band p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .about-band { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   6. Kopf der Unterseiten
   -------------------------------------------------------------------------- */
.phero { position: relative; padding-block: clamp(20px, 3vw, 36px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); overflow: hidden; }
.phero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .phero--image .phero__grid { grid-template-columns: 1.1fr .9fr; } }
.phero__title { font-size: var(--step-4); font-weight: 780; letter-spacing: -.035em; max-width: 20ch; }
.phero:not(.phero--image) .phero__title { max-width: 26ch; }
.phero__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 40em; line-height: 1.55; }
.phero__media .img { border-radius: var(--radius-l); box-shadow: var(--shadow-3); }

.crumbs { margin-bottom: clamp(16px, 2.5vw, 28px); font-size: var(--step--1); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: .25em .5em; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs__item + .crumbs__item::before { content: "/"; margin-right: .5em; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; color: var(--muted); font-size: var(--step--1); }
.meta__item { display: inline-flex; align-items: center; gap: .4em; }
.meta__item .ic { width: 1.1em; height: 1.1em; color: var(--kraft); }

/* --------------------------------------------------------------------------
   7. Bilder und Platzhalter
   -------------------------------------------------------------------------- */
.img {
  position: relative;
  aspect-ratio: var(--ratio, 16 / 9);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
}
.img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.img--missing img { visibility: hidden; }
/* Vermerk für beschnittene KI-Bilder – der Vermerk im Bild selbst sitzt in
   der unteren Ecke und fällt beim Zuschnitt auf 16:10 oder 21:9 weg */
.img__ai {
  position: absolute;
  right: 9px; bottom: 7px;
  z-index: 2;
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / .65), 0 0 6px rgb(0 0 0 / .35);
  pointer-events: none;
}
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background-color: var(--paper-3);
  background-image:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--tape) 30%, transparent), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 22px, color-mix(in srgb, var(--kraft) 9%, transparent) 22px 24px);
  color: var(--kraft);
}
.img:not(.img--missing) .ph { display: none; }
.ph__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: color-mix(in srgb, var(--card) 80%, transparent); box-shadow: var(--shadow-1); }
.ph__icon .ic { width: 38px; height: 38px; stroke-width: 1.5; }
.ph__file { font: 600 .75rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: .3em .6em; border-radius: 6px; background: color-mix(in srgb, var(--card) 85%, transparent); color: var(--muted); }

/* --------------------------------------------------------------------------
   8. Artikel-Layout, Inhaltsverzeichnis, Seitenleiste
   -------------------------------------------------------------------------- */
.layout { display: grid; gap: clamp(32px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px); }
@media (min-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .layout--single { grid-template-columns: minmax(0, 800px); justify-content: center; }
}
.layout__main { min-width: 0; }
.side-sticky { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1039px) { .layout__side { order: -1; } .side-sticky { position: static; } .layout__side .side-box { display: none; } }

.toc { padding: 20px 20px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.toc__title, .side-box__title { margin: 0 0 10px; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--kraft); }
.toc__list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.toc__list a {
  counter-increment: toc;
  display: flex;
  gap: .6em;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.toc__list a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--muted); font-size: .78rem; padding-top: .12em; }
.toc__list a:hover { background: var(--paper-2); color: var(--ink); }
.toc__list a.is-active { background: color-mix(in srgb, var(--tape) 28%, transparent); color: var(--ink); font-weight: 600; }
@media (max-width: 1039px) {
  .toc { padding: 0; }
  .toc__title { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; margin: 0; cursor: pointer; }
  .toc__title::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
  .toc:not(.is-collapsed) .toc__title::after { transform: rotate(-135deg) translateY(-3px); }
  .toc__list { max-height: none; padding: 0 12px 14px; }
  .toc.is-collapsed .toc__list { display: none; }
}

.side-box { padding: 20px; border-radius: var(--radius); background: var(--paper-2); }
.side-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-tools a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.side-tools a:hover { border-color: var(--line-strong); transform: translateX(3px); color: var(--ink); }
.side-tools__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: var(--on-brand); flex: none; }
.side-tools strong { display: block; font-size: .95rem; line-height: 1.2; }
.side-tools small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }

/* --------------------------------------------------------------------------
   9. Fließtext
   -------------------------------------------------------------------------- */
.prose { font-size: var(--step-0); line-height: 1.72; }
.prose > * + * { margin-top: 0; }
.prose .lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); margin-bottom: 1.4em; }
.prose h2 {
  position: relative;
  font-size: var(--step-2);
  margin: 2.2em 0 .6em;
  padding-top: .9em;
  border-top: 1px solid var(--line);
}
.prose h2::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 56px; height: 4px;
  border-radius: 2px;
  background: var(--tape);
}
.prose h3 { font-size: var(--step-1); margin: 1.7em 0 .45em; }
.prose h4 { font-size: 1.02rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; padding-left: .2em; }
.prose li::marker { color: var(--kraft); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--tape); font-family: var(--font-serif); font-size: var(--step-1); font-style: italic; color: var(--ink-2); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { margin-top: 8px; font-size: var(--step--1); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose abbr { text-decoration: underline dotted; cursor: help; }

/* Häkchenliste */
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 2em !important; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 1.3em; height: 1.3em;
  border-radius: 50%;
  background: var(--tip-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6650' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.checks--no li::before {
  background: var(--warn-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4471f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* Nummerierte Schrittfolge im Text */
.steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 1.4em 0 1.8em !important; display: grid; gap: 12px; }
.steps > li {
  counter-increment: s;
  position: relative;
  padding: 18px 20px 16px 72px !important;
  margin: 0 !important;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 18px; top: 16px;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 750;
  font-family: var(--font-display);
}
.steps > li > strong:first-child { display: block; font-size: 1.05rem; margin-bottom: .2em; }
.steps > li p { margin: 0; color: var(--ink-2); }

/* Hinweiskästen */
.note {
  --n: var(--info);
  --n-soft: var(--info-soft);
  margin: 1.8em 0;
  padding: 18px 22px 16px;
  border-radius: var(--radius);
  background: var(--n-soft);
  border-left: 4px solid var(--n);
}
.note--tip { --n: var(--tip); --n-soft: var(--tip-soft); }
.note--warn { --n: var(--warn); --n-soft: var(--warn-soft); }
.note--law { --n: var(--law); --n-soft: var(--law-soft); }
.note__title { display: flex; align-items: center; gap: .5em; margin: 0 0 .4em; font-weight: 750; color: var(--n); font-size: 1rem; }
.note__body { font-size: .98rem; }
.note__body > :last-child { margin-bottom: 0; }
.note__body ul { margin-bottom: .6em; }

/* Tabellen */
.table { margin: 1.6em 0 2em; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); -webkit-overflow-scrolling: touch; }
.table table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; min-width: 520px; }
.table caption { caption-side: bottom; text-align: left; padding: 10px 16px 12px; font-size: var(--step--1); color: var(--muted); }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--paper-2); font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--tape) 8%, transparent); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Kernfakten */
.keyfacts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 1.6em 0 2em; }
.keyfact { padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.keyfact b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; letter-spacing: -.03em; color: var(--brand-2); margin-bottom: 6px; }
@media (prefers-color-scheme: dark) { .keyfact b { color: var(--accent); } }
.keyfact span { font-size: .9rem; color: var(--ink-2); line-height: 1.45; display: block; }

/* Pro und Contra */
.proscons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 1.4em 0 2em; }
.proscons > div { padding: 18px 20px 6px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.proscons h4 { margin-top: 0; }

/* Quellen */
.sources { margin-top: 2.6em; padding: 20px 22px; border-radius: var(--radius); background: var(--paper-2); font-size: .9rem; }
.sources h2 { font-size: 1rem !important; margin: 0 0 .6em !important; padding: 0 !important; border: 0 !important; letter-spacing: .02em; }
.sources h2::before { display: none; }
.sources ul { margin: 0; padding-left: 1.1em; }
.sources li { margin-bottom: .3em; }

/* Häufige Fragen */
.faq { margin-top: 2.6em; }
.section .faq { margin-top: 0; }
.section .faq > h2 { font-size: var(--step-3); margin-bottom: .7em; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__chev { transition: transform .25s var(--ease); color: var(--kraft); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 4px 18px; color: var(--ink-2); }
.faq__a > :last-child { margin-bottom: 0; }

/* Linkblock (Backlinkseller) – bewusst neutrale Klassennamen */
.linkbox { margin: 2em 0; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.linkbox__label { margin: 0 0 .5em; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--kraft); }
.linkbox__note { margin: 0 0 .8em; font-size: .88rem; color: var(--muted); }
.linkbox__links { font-size: .96rem; line-height: 1.6; }
.linkbox__links ul { margin: 0; padding-left: 1.1em; }
.linkbox__links p:last-child { margin-bottom: 0; }

/* Verwandte Seiten */
.related { padding-block: clamp(48px, 6vw, 84px); background: var(--paper-2); border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   10. Kostenrechner
   -------------------------------------------------------------------------- */
.calc { display: grid; gap: 24px; margin: 1.4em 0 2.4em; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }
.calc__form { display: grid; gap: 22px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.calc__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__legend { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .98rem; }
.calc__legend output { font-variant-numeric: tabular-nums; color: var(--accent); }
.calc__hint { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 100px), 1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  height: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  font-weight: 600;
  font-size: .93rem;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.seg small { font-weight: 400; font-size: .78rem; color: var(--muted); }
.seg input:checked + span { border-color: var(--brand); background: var(--tip-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.seg input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }

.range { width: 100%; accent-color: var(--brand); height: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: .45em; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: var(--card); transition: all .15s; }
.chip input:checked + span { border-color: var(--brand); background: var(--tip-soft); }
.chip input:checked + span::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 90% no-repeat; border-color: var(--brand); }
.chip input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }

.calc__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.select { padding: .6em 2.2em .6em .9em; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-size: .95rem; }

.calc__result {
  position: sticky;
  top: calc(var(--head-h) + 20px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  isolation: isolate;
}
.calc__result::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgb(240 194 75 / .16); z-index: -1; }
.result__label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tape); }
.result__range { font-family: var(--font-display); font-weight: 780; font-size: clamp(2rem, 1.6rem + 1.8vw, 2.9rem); letter-spacing: -.035em; line-height: 1.05; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.result__vol { margin: 0 0 18px; color: rgb(255 255 255 / .82); font-size: .98rem; }
.result__list { list-style: none; margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid rgb(255 255 255 / .2); display: grid; gap: 6px; font-size: .92rem; }
.result__list li { display: flex; justify-content: space-between; gap: 12px; }
.result__list li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: rgb(255 255 255 / .9); }
.result__tax { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / .09); font-size: .9rem; line-height: 1.5; }
.result__note { margin: 0; font-size: .8rem; color: rgb(255 255 255 / .7); line-height: 1.5; }
.calc__result .btn { margin-top: 16px; }

/* --------------------------------------------------------------------------
   11. Checkliste
   -------------------------------------------------------------------------- */
.cl-bar {
  position: sticky;
  top: calc(var(--head-h) + 10px);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 0 0 28px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.cl-bar__progress { flex: 1 1 220px; display: grid; gap: 6px; }
.cl-bar__count { font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.cl-meter { height: 8px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.cl-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--tape)); transition: width .4s var(--ease); }
.cl-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-bar .btn { font-size: .88rem; padding: .5em .95em; }

.cl-phase { margin: 0 0 30px; }
.cl-phase h2 { display: flex; align-items: baseline; gap: .6em; }
.cl-phase__when { font-family: var(--font-sans); font-size: .82rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--kraft); }
.cl-list { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.cl-item { margin: 0 !important; padding: 0 !important; }
.cl-item label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.cl-item label:hover { border-color: var(--line-strong); }
.cl-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cl-box { width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; border: 2px solid var(--line-strong); background: var(--paper); display: grid; place-items: center; transition: all .2s var(--ease); }
.cl-box .ic { width: 16px; height: 16px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.4); transition: all .2s var(--ease); }
.cl-item input:checked + .cl-box { background: var(--brand); border-color: var(--brand); }
.cl-item input:checked + .cl-box .ic { opacity: 1; transform: none; }
.cl-item input:focus-visible + .cl-box { outline: 3px solid var(--tape); outline-offset: 2px; }
.cl-text { line-height: 1.45; }
.cl-text strong { display: block; font-weight: 650; }
.cl-text small { display: block; margin-top: 3px; color: var(--muted); font-size: .88rem; }
.cl-item input:checked ~ .cl-text strong { text-decoration: line-through; text-decoration-color: var(--kraft); color: var(--muted); }
.cl-item:has(input:checked) label { background: var(--tip-soft); border-color: transparent; }

/* --------------------------------------------------------------------------
   12. Entsorgungs-ABC
   -------------------------------------------------------------------------- */
.abc-tools {
  position: sticky;
  top: calc(var(--head-h) + 10px);
  z-index: 5;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.abc-search { position: relative; }
.abc-search .ic { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.abc-search input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}
.abc-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.abc-letters { display: flex; flex-wrap: wrap; gap: 4px; }
.abc-letters a, .abc-letters span { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 8px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--ink-2); }
.abc-letters a:hover { background: var(--paper-2); color: var(--ink); }
.abc-letters span { color: var(--line-strong); }
.abc-count { font-size: .85rem; color: var(--muted); margin: 0; }

.abc-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.abc-group { margin-bottom: 26px; }
.abc-group h2 { font-size: var(--step-2) !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
.abc-group h2::before { display: none; }
.abc-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); list-style: none; margin: 0 !important; padding: 0 !important; }
.abc-item { margin: 0 !important; padding: 16px 18px !important; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.abc-item h3 { font-size: 1.06rem; margin: 0 0 8px; }
.abc-item p { margin: 8px 0 0; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.abc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.abc-empty { padding: 30px; text-align: center; border-radius: var(--radius); background: var(--paper-2); color: var(--muted); }
[hidden] { display: none !important; }

.tag {
  --t: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .22em .65em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--t) 13%, transparent);
  color: color-mix(in srgb, var(--t) 80%, var(--ink));
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.tag::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--t); }
.tag--rest { --t: #6b7670; }
.tag--gelb { --t: #c99a06; }
.tag--papier { --t: #2f63a4; }
.tag--glas { --t: #1f8a70; }
.tag--bio { --t: #85562c; }
.tag--sperr { --t: #b8793c; }
.tag--wsh { --t: #2b6650; }
.tag--schad { --t: #c0392b; }
.tag--handel { --t: #7050a8; }
.tag--elektro { --t: #1c7ea6; }
.tag--textil { --t: #b0487f; }
.tag--spez { --t: #8e2b1c; }
.tag--weiter { --t: #4f9a2f; }
@media (prefers-color-scheme: dark) {
  .tag { color: color-mix(in srgb, var(--t) 55%, #fff); background: color-mix(in srgb, var(--t) 22%, transparent); }
}

/* --------------------------------------------------------------------------
   13. Linksammlung
   -------------------------------------------------------------------------- */
.linkgroup { margin-bottom: 2.4em; }
.linkcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); list-style: none; margin: 0 !important; padding: 0 !important; }
.linkcards li { margin: 0 !important; padding: 0 !important; }
.linkcard { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.linkcard:hover { color: var(--ink); text-decoration: none; border-color: var(--line-strong); transform: translateY(-2px); }
.linkcard strong { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 1rem; }
.linkcard strong .ic { width: 1em; height: 1em; color: var(--muted); }
.linkcard small { color: var(--kraft); font-size: .8rem; font-weight: 600; }
.linkcard span { color: var(--ink-2); font-size: .9rem; line-height: 1.45; }

/* Bildnachweise */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); list-style: none; margin: 1.4em 0 1.6em !important; padding: 0 !important; }
.gallery > li { margin: 0 !important; padding: 0 !important; }
.gallery figure { margin: 0; height: 100%; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.gallery .img { border-radius: 0; }
.gallery figcaption { margin: 0; padding: 12px 14px 14px; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.gallery figcaption strong { display: block; margin-bottom: 4px; font-size: .9rem; color: var(--ink); }
.gallery figcaption small { display: block; margin-top: 6px; font: 600 .74rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--muted); }

/* --------------------------------------------------------------------------
   14. Rechtstexte
   -------------------------------------------------------------------------- */
.legal h2 { font-size: var(--step-1); }
.legal__box { margin: .6em 0 1.4em; padding: 18px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.legal__box address { font-style: normal; line-height: 1.7; }
.legal__box--mark { border: 2px solid var(--ink); background: var(--card); }
.legal__updated { margin-top: 2.4em; color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   15. Fehlerseite
   -------------------------------------------------------------------------- */
.err { padding-block: clamp(60px, 10vw, 140px); text-align: center; }
.err__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--kraft); margin: 0 0 .1em; }
.err .section-lead { max-width: 34em; margin: 0 auto 28px; }
.err__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   16. Fußzeile
   -------------------------------------------------------------------------- */
.site-foot { background: var(--foot-bg); color: var(--foot-ink); padding-top: clamp(40px, 6vw, 72px); margin-top: 0; }
/* :not(.btn) – sonst überschreibt die Linkfarbe die Schriftfarbe der
   Schaltflächen (weiße Schrift auf weißem Knopf) */
.site-foot a:not(.btn) { color: var(--foot-ink); text-decoration: none; }
.site-foot a:not(.btn):hover { color: var(--tape); text-decoration: underline; }
.foot-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, #1f4d3a 0%, #2b6650 60%, #3a7a5c 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.foot-cta__kicker { margin: 0 0 6px; color: var(--tape); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.foot-cta__title { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: #fff; max-width: 26em; }
.foot-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-cta .btn--light:hover { color: #1d1a10; text-decoration: none; }
.foot-cta .btn--outline-light:hover { color: #fff; text-decoration: none; }

.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 36px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.brand--foot { margin-bottom: 14px; }
.brand--foot .brand__name { color: #fff; }
.brand--foot .brand__claim { color: var(--foot-muted); }
.site-foot a.brand--foot:hover { text-decoration: none; }
.foot-brand p { color: var(--foot-muted); font-size: .93rem; max-width: 30em; }
.foot-brand strong { color: var(--foot-ink); }
.foot-nav__title { margin: 0 0 12px; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--tape); }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgb(255 255 255 / .1); color: var(--foot-muted); font-size: .85rem; }
.foot-bottom p { margin: 0; }
.foot-bottom__badges { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-bottom__badges span { display: inline-flex; align-items: center; gap: .4em; }
.foot-bottom__badges .ic { width: 1.05em; height: 1.05em; color: var(--tape); }

/* --------------------------------------------------------------------------
   17. Bewegung reduzieren
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* --------------------------------------------------------------------------
   18. Druck – vor allem für die Checkliste
   -------------------------------------------------------------------------- */
@media print {
  :root { --paper: #fff; --card: #fff; --ink: #000; --ink-2: #222; --muted: #555; --line: #bbb; }
  body { background: #fff; font-size: 11pt; }
  .site-head, .progress, .site-foot, .layout__side, .related, .linkbox, .cl-bar__actions, .phero__media, .crumbs, .skip, .no-print { display: none !important; }
  .phero { padding: 0 0 12pt; background: none; border: 0; }
  .phero__title { font-size: 20pt; }
  .layout { display: block; padding: 0; }
  .cl-bar { position: static; box-shadow: none; border: 1px solid #999; }
  .cl-item label { border: 0; border-bottom: 1px solid #ddd; border-radius: 0; padding: 6pt 0; background: none !important; break-inside: avoid; }
  .cl-box { border-color: #000; }
  .cl-phase { break-inside: avoid-page; }
  .prose h2 { border: 0; padding: 0; margin-top: 16pt; }
  .prose h2::before { display: none; }
  a { color: #000; text-decoration: none; }
  .note, .table, .steps > li, .card, .abc-item { box-shadow: none; break-inside: avoid; }
  .js .reveal { opacity: 1; transform: none; }
}
