/* Pendelpilot – Designsystem. Werte und Rollen: siehe DESIGN.md */

/* ---------- Schrift: D-DIN (Datto, SIL OFL 1.1), selbst gehostet ---------- */
@font-face { font-family: "D-DIN"; src: url("../fonts/D-DIN.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN"; src: url("../fonts/D-DIN-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN Condensed"; src: url("../fonts/D-DINCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F1F0EB;
  --plate: #FFFFFF;
  --ink: #15171A;
  --ink-2: #464B53;
  --ink-3: #62676F;
  --line: #D8D6CF;
  --field: #8C8A83;
  --blue: #0B4C8C;
  --blue-deep: #083B6D;
  --link: #0B4C8C;
  --yellow: #F5C400;
  --asphalt: #1C1E21;
  --asphalt-2: #272A2E;
  --asphalt-line: #3A3E44;
  --marking: #F3F2EE;
  --go: #0E7A4B;
  --caution: #F5C400;
  --stop: #C2181B;
  --focus: #0B4C8C;
  --on-sign: #FFFFFF;

  --font: "D-DIN", Bahnschrift, "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
  --font-fig: "D-DIN Condensed", "Bahnschrift Condensed", Bahnschrift, "DIN Condensed", "Arial Narrow", sans-serif;

  --fs-hero: clamp(2.6rem, 1.55rem + 4.6vw, 5.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.22rem + 0.7vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.06rem + 0.35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.875rem;
  --fs-fig-xl: clamp(4.5rem, 2.4rem + 8.6vw, 10rem);
  --fs-fig-l: clamp(2.75rem, 1.9rem + 3.4vw, 4.5rem);
  --fs-fig-m: clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(72px, 9vw, 128px);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --measure: 66ch;

  --r-1: 4px; --r-2: 8px; --r-3: 14px;
  --shadow-float: 0 10px 28px -14px rgba(0, 0, 0, .45);
  --sign-rim: inset 0 0 0 6px var(--blue), inset 0 0 0 8px var(--on-sign);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111315; --plate: #1A1D20; --ink: #EDECE7; --ink-2: #B9BCC1; --ink-3: #9A9EA5;
    --line: #2C3035; --field: #6B7078; --link: #8EB9EA; --asphalt: #1F2226; --asphalt-2: #2A2E33; --asphalt-line: #41464D;
    --focus: #F5C400;
  }
}
:root[data-theme="dark"] {
  --paper: #111315; --plate: #1A1D20; --ink: #EDECE7; --ink-2: #B9BCC1; --ink-3: #9A9EA5;
  --line: #2C3035; --field: #6B7078; --link: #8EB9EA; --asphalt: #1F2226; --asphalt-2: #2A2E33; --asphalt-line: #41464D;
  --focus: #F5C400;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.012em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
sub, sup { font-size: .62em; line-height: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--yellow); color: #15171A; }

.visually-hidden { 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-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--yellow); color: #15171A; padding: 10px 16px; font-weight: 700; border-radius: var(--r-2); text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.section--tight { padding-block: var(--s-8) 0; }

/* ---------- Typografie ---------- */
.h-hero { font-size: var(--fs-hero); line-height: .96; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.018em; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.small { font-size: var(--fs-small); line-height: 1.45; }
.label { font-size: var(--fs-label); font-weight: 700; line-height: 1.3; letter-spacing: .01em; color: var(--ink-3); }
.muted { color: var(--ink-2); }
.meta { font-size: var(--fs-small); color: var(--ink-3); }
.fig { font-family: var(--font-fig); font-weight: 700; line-height: .9; letter-spacing: -0.005em; font-feature-settings: "lnum"; }
.fig-xl { font-size: var(--fs-fig-xl); line-height: .85; }
.fig-l { font-size: var(--fs-fig-l); }
.fig-m { font-size: var(--fs-fig-m); line-height: 1; }
.fig .unit, .unit { font-family: var(--font); font-weight: 700; font-size: .36em; letter-spacing: 0; margin-left: .18em; }
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding-inline: .04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); max-width: 820px; }
.section-head .lead { margin-top: var(--s-1); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--s-7); }
.prose h3 { font-size: 1.25rem; margin-top: var(--s-6); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--blue); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-6); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__word { font-weight: 700; font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav a { color: var(--ink); text-decoration: none; font-size: 1rem; padding-block: 6px; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--blue); }
.menu-toggle { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px; background: var(--plate); border: 1.5px solid var(--ink); border-radius: var(--r-2); font-weight: 700; }
.menu-toggle svg { width: 18px; height: 18px; }
.mobile-nav { display: none; }

@media (max-width: 899px) {
  .nav, .site-header .btn-arrow { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { height: 64px; }
  .mobile-nav:not([hidden]) { display: block; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav ul { list-style: none; padding-block: var(--s-3) var(--s-5); display: grid; }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 700; border-bottom: 1px solid var(--line); }
  .mobile-nav a svg { width: 20px; height: 20px; color: var(--blue); }
}

/* ---------- Buttons ---------- */
.btn-arrow {
  --tip: 22px; --h: 52px;
  position: relative; display: inline-flex; align-items: center; gap: .55em;
  height: var(--h); padding: 0 .9rem 0 1.2rem; margin-right: var(--tip);
  background: var(--blue); color: #fff; border: 0; border-radius: var(--r-2) 0 0 var(--r-2);
  font-weight: 700; font-size: 1.0625rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease;
}
.btn-arrow::after { content: ""; position: absolute; top: 0; right: calc(-1 * var(--tip) + 1px); width: var(--tip); height: 100%; background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.btn-arrow:hover { background: var(--blue-deep); color: #fff; }
.btn-arrow--sm { --tip: 18px; --h: 44px; font-size: 1rem; padding-left: 1rem; }
.btn-arrow--down::after { display: none; }
.btn-arrow--down { margin-right: 0; border-radius: var(--r-2); }
.btn-arrow[disabled], .btn-arrow[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-plate {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 52px; padding: 0 1.15rem;
  background: var(--plate); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r-2);
  font-weight: 700; font-size: 1.0625rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn-plate:hover { background: var(--ink); color: var(--paper); }
.btn-plate--sm { height: 44px; font-size: 1rem; padding: 0 .95rem; }
.btn-plate svg, .btn-arrow svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--link); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Schild (Grundform) ---------- */
.sign { position: relative; background: var(--blue); color: var(--on-sign); border-radius: var(--r-3); box-shadow: var(--sign-rim); }
.sign a { color: inherit; }
.sign .label { color: rgba(255, 255, 255, .78); }

/* Ergebnis-Schild */
.result-sign { padding: clamp(24px, 3vw, 36px); display: grid; gap: var(--s-5); }
.result-sign__top { display: grid; gap: var(--s-2); }
.result-sign__cost { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: var(--s-3); }
.result-sign__cost .fig-xl { font-size: clamp(4rem, 2.2rem + 6.4vw, 7.5rem); }
.result-sign__per { font-size: 1.25rem; font-weight: 700; }
.result-sign__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid rgba(255, 255, 255, .9); padding-top: var(--s-4); gap: var(--s-3); }
.result-sign__row > div + div { border-left: 1px solid rgba(255, 255, 255, .35); padding-left: var(--s-3); }
.result-sign__row .fig-m { display: block; }
.result-sign__row .small { color: rgba(255, 255, 255, .82); margin-top: 6px; display: block; }
.result-sign__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.result-sign__foot a { font-weight: 700; display: inline-flex; gap: .4em; align-items: center; text-decoration: none; }
.result-sign__foot a:hover { text-decoration: underline; }
.result-sign__foot svg { width: 16px; height: 16px; }

/* Leitlinie (Score als Fahrbahnmarkierung) */
.leitlinie { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; height: 10px; }
.leitlinie span { background: currentColor; opacity: .25; border-radius: 1px; }
.leitlinie span.on { opacity: 1; }

/* Wegweiser-Liste */
.wegweiser { padding: 8px; }
.wegweiser ul { list-style: none; }
.wegweiser li + li { border-top: 2px solid rgba(255, 255, 255, .9); }
.wegweiser__item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--s-4); padding: var(--s-5) clamp(16px, 2.4vw, 28px); text-decoration: none; border-radius: 8px; }
a.wegweiser__item:hover { background: var(--blue-deep); }
.wegweiser__arrow { width: 40px; height: 40px; }
.wegweiser__name { font-size: var(--fs-h3); font-weight: 700; line-height: 1.1; display: block; }
.wegweiser__text { display: block; margin-top: 6px; color: rgba(255, 255, 255, .82); font-size: var(--fs-small); max-width: 60ch; }
.wegweiser__extra { font-weight: 700; white-space: nowrap; }
@media (max-width: 599px) {
  .wegweiser__item { grid-template-columns: 32px 1fr; gap: var(--s-3); }
  .wegweiser__arrow { width: 30px; height: 30px; }
  .wegweiser__extra { grid-column: 2; font-size: var(--fs-small); }
}

/* Ortsschild */
.ortsschild { display: grid; place-items: center; text-align: center; background: var(--yellow); color: #15171A; border-radius: 10px; box-shadow: inset 0 0 0 5px var(--yellow), inset 0 0 0 7px #15171A; padding: 22px 14px 18px; }
.ortsschild__name { font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.05; letter-spacing: -0.01em; }
.ortsschild__region { font-size: .8125rem; margin-top: 6px; line-height: 1.2; }

/* Ortsausgang (Stadtseiten) */
.ortsausgang { display: grid; background: var(--yellow); color: #15171A; border-radius: var(--r-3); box-shadow: inset 0 0 0 7px var(--yellow), inset 0 0 0 10px #15171A; padding: 10px; max-width: 460px; }
.ortsausgang__half { padding: clamp(18px, 3vw, 30px) clamp(18px, 3vw, 28px); text-align: center; position: relative; }
.ortsausgang__half + .ortsausgang__half { border-top: 3px solid #15171A; margin-inline: 4px; }
.ortsausgang__dest { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.ortsausgang__dest strong { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1; }
.ortsausgang__dest .fig { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.ortsausgang__town { font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1; }
.ortsausgang__region { margin-top: 8px; font-size: 1rem; }
.ortsausgang__strike { position: absolute; top: 14px; left: 8px; width: calc(100% - 16px); height: calc(100% - 28px); max-width: none; pointer-events: none; }

/* ---------- Seitenkopf / Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__copy { display: grid; gap: var(--s-5); }
.hero__aside { position: sticky; top: 96px; }
.hero__kicker { font-weight: 700; color: var(--blue); font-size: 1rem; }
.trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); color: var(--ink-2); list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 14px; height: 4px; background: var(--blue); border-radius: 1px; }
.counter { font-size: var(--fs-small); color: var(--ink-2); }
.counter strong { color: var(--ink); }
@media (max-width: 1019px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .hero__aside { position: static; }
  /* Mobil: Schild direkt unter den Satz-Eingaben, damit man das Ergebnis beim Tippen sieht */
  .hero .hero__copy { display: contents; }
  .hero .h-hero { order: 1; } .hero .lead { order: 2; } .hero .sentence { order: 3; }
  .hero .hero__aside { order: 4; margin-block: var(--s-2); }
  .hero .btn-row { order: 5; } .hero .trust { order: 6; } .hero .counter { order: 7; }
}

/* Satz-Eingabe im Hero */
.sentence { font-size: clamp(1.375rem, 1.1rem + 1.25vw, 2rem); line-height: 1.6; font-weight: 400; color: var(--ink); max-width: 30ch; }
.sentence__field { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.sentence input {
  width: 3.2ch; min-width: 2ch; padding: 0 2px; margin: 0 2px; text-align: center;
  font-family: var(--font-fig); font-weight: 700; font-size: 1.25em; line-height: 1; color: var(--ink);
  background: color-mix(in srgb, var(--yellow) 26%, transparent); border: 0; border-bottom: 3px solid var(--ink); border-radius: 4px 4px 0 0;
  -moz-appearance: textfield; appearance: textfield;
}
.sentence input:hover { background: color-mix(in srgb, var(--yellow) 45%, transparent); }
.sentence input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; background: color-mix(in srgb, var(--yellow) 55%, transparent); }
.sentence input::-webkit-outer-spin-button, .sentence input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Seitenkopf Unterseiten */
.page-head { padding-block: clamp(40px, 6vw, 80px) 0; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-head__copy { display: grid; gap: var(--s-4); }
.page-head__headline { font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem); line-height: 1.2; color: var(--ink-2); font-weight: 700; max-width: 30ch; }
.page-head--narrow .page-head__grid { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1019px) { .page-head__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (max-width: 1019px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--plate); border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(20px, 2.6vw, 32px); }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-5); }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.presets .label { margin-right: var(--s-2); }
.chip { height: 40px; padding: 0 14px; background: transparent; border: 1.5px solid var(--field); border-radius: var(--r-1); font-weight: 700; font-size: .9375rem; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip small { font-weight: 400; color: inherit; opacity: .75; margin-left: 4px; font-size: .85em; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-5); }
@media (max-width: 519px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: var(--s-2); }
.field__label { font-weight: 700; font-size: .9375rem; color: var(--ink); }
.field__label span { font-weight: 400; color: var(--ink-3); }
.field__control { display: flex; align-items: center; height: 60px; background: var(--plate); border: 1.5px solid var(--field); border-radius: var(--r-2); overflow: hidden; }
.field__control:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.field__control input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 4px 0 14px;
  font-family: var(--font-fig); font-weight: 700; font-size: 1.875rem; line-height: 1; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.field__control input:focus { outline: none; }
.field__control input::-webkit-outer-spin-button, .field__control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__unit { padding-right: 10px; font-weight: 700; color: var(--ink-3); font-size: .9375rem; white-space: nowrap; }
.field__step { flex: none; width: 48px; height: 100%; display: grid; place-items: center; background: transparent; border: 0; border-left: 1px solid var(--line); color: var(--ink); }
.field__step:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.field__step:focus-visible { outline-offset: -3px; }
.field__step svg { width: 16px; height: 16px; }
.field__hint { font-size: .875rem; color: var(--ink-3); }

/* Preismast (Kraftstoff & Spritpreis) */
.pylon { margin: 0; border: 0; background: var(--asphalt); color: var(--marking); border-radius: var(--r-3); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: var(--s-5); min-width: 0; }
.pylon legend { padding: 0; float: left; width: 100%; font-weight: 700; font-size: 1.125rem; }
.pylon legend + * { clear: both; }
.pylon__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.pylon__src { font-size: .8125rem; color: rgba(243, 242, 238, .7); }
.pylon__rows { display: grid; border-radius: 10px; overflow: hidden; border: 1px solid var(--asphalt-line); }
.pylon__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 12px 16px 12px 22px; cursor: pointer; background: #121315; }
.pylon__row + .pylon__row { border-top: 1px solid var(--asphalt-line); }
.pylon__row input { position: absolute; opacity: 0; pointer-events: none; }
.pylon__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: transparent; }
.pylon__name { font-weight: 700; font-size: 1.0625rem; }
.pylon__price { font-family: var(--font-fig); font-weight: 700; font-size: 2.375rem; line-height: 1; color: #fff; letter-spacing: .01em; }
.pylon__price sup { font-size: .5em; vertical-align: top; position: relative; top: .12em; margin-left: 1px; }
.pylon__row:hover { background: #18191c; }
.pylon__row:has(input:checked) { background: #222428; }
.pylon__row:has(input:checked)::before { background: var(--yellow); }
.pylon__row:has(input:checked) .pylon__name { color: var(--yellow); }
.pylon__row:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: -3px; }
.pylon__live { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--s-2); align-items: end; }
.pylon__live .dark-field { grid-column: 1; }
.dark-field { display: grid; gap: 6px; }
.dark-field label { font-size: .875rem; font-weight: 700; color: rgba(243, 242, 238, .85); }
.dark-field input { height: 48px; width: 100%; padding: 0 12px; background: #121315; color: #fff; border: 1.5px solid #6B7078; border-radius: var(--r-2); font-weight: 700; font-size: 1.125rem; }
.dark-field input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
.btn-dark { height: 48px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--marking); color: #15171A; border: 0; border-radius: var(--r-2); font-weight: 700; white-space: nowrap; }
.btn-dark:hover { background: #fff; }
.btn-dark--ghost { background: transparent; color: var(--marking); border: 1.5px solid #6B7078; }
.btn-dark--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-dark:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn-dark svg { width: 16px; height: 16px; }
.btn-dark[aria-busy="true"] { opacity: .7; cursor: progress; }
.pylon__status { font-size: .875rem; color: rgba(243, 242, 238, .85); min-height: 1.3em; }
.pylon__manual { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); align-items: end; padding-top: var(--s-4); border-top: 1px dashed var(--asphalt-line); }
.pylon__manual .dark-field input { font-family: var(--font-fig); font-size: 1.5rem; }
@media (max-width: 519px) {
  .pylon__live { grid-template-columns: 1fr 1fr; }
  .pylon__live .dark-field { grid-column: 1 / -1; }
}

/* ---------- Ergebnis ---------- */
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(64px, 7vw, 104px); }
.results > *, .hero__grid > *, .page-head__grid > *, .calc > *, .result-top > *, .focus__grid > *, .share > *, .duo > *, .jobs > * { min-width: 0; }
.result-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
@media (max-width: 1019px) { .result-top { grid-template-columns: minmax(0, 1fr); } }
.score { border-radius: var(--r-3); padding: clamp(24px, 3vw, 36px); display: grid; gap: var(--s-4); align-content: space-between; min-height: 340px; }
.score[data-level="go"] { background: var(--go); color: #fff; }
.score[data-level="caution"] { background: var(--caution); color: #15171A; }
.score[data-level="stop"] { background: var(--stop); color: #fff; }
.score__label { font-weight: 700; font-size: 1.0625rem; }
.score__num { display: flex; align-items: baseline; gap: var(--s-2); }
.score__num .fig-xl { font-size: clamp(6rem, 3rem + 10vw, 11rem); }
.score__of { font-weight: 700; font-size: 1.25rem; opacity: .8; }
.score__verdict { font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; }
.result-explain { display: grid; gap: var(--s-6); align-content: start; }
.result-explain > p { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.metrics > div { padding: var(--s-4) var(--s-4) 0 0; }
.metrics > div + div { padding-left: var(--s-4); border-left: 1px solid var(--line); }
.metrics .fig-m { display: block; margin-top: var(--s-2); }
@media (max-width: 699px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: var(--s-4); }
}
.breakdown { font-size: var(--fs-small); color: var(--ink-3); }

/* Lebenszeit-Band */
.lifetime { background: var(--asphalt); color: var(--marking); border-radius: var(--r-3); padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.lifetime .label { color: rgba(243, 242, 238, .72); }
.lifetime__big { display: grid; gap: var(--s-3); }
.lifetime__big p { color: rgba(243, 242, 238, .85); max-width: 36ch; }
.lifetime__year { display: grid; gap: var(--s-3); }
.lifetime__days { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.lifetime__days .fig-l { color: var(--yellow); }
.yeargrid { width: 100%; height: auto; }
.yeargrid rect { fill: #3B3F45; }
.yeargrid rect.on { fill: var(--yellow); }
.lifetime__caption { font-size: .875rem; color: rgba(243, 242, 238, .72); }
@media (max-width: 899px) { .lifetime { grid-template-columns: minmax(0, 1fr); } }

/* Vergleiche */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); list-style: none; }
.compare li { border-top: 2px solid var(--ink); padding: var(--s-5) 0 var(--s-6); display: grid; gap: var(--s-3); }
.compare__fig { display: flex; align-items: baseline; gap: var(--s-2); }
.compare__unit { font-weight: 700; font-size: 1.125rem; }
.compare p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 699px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Umleitungen (Empfehlungen) */
.detours { list-style: none; border-top: 2px solid var(--ink); }
.detour { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: var(--s-3) clamp(16px, 3vw, 40px); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); align-items: start; }
.u-tag { display: inline-grid; place-items: center; width: 64px; height: 44px; background: var(--yellow); color: #15171A; border-radius: 6px; box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 0 5px #15171A; font-weight: 700; font-size: 1.125rem; letter-spacing: .02em; }
.detour__body { display: grid; gap: var(--s-2); }
.detour__body p { color: var(--ink-2); max-width: 58ch; }
.detour__body .link-arrow { margin-top: var(--s-2); }
.detour__save { text-align: right; }
.detour__save .fig-m { display: block; color: var(--go); }
.detour__save .small { color: var(--ink-3); }
@media (max-width: 699px) {
  .detour { grid-template-columns: 64px minmax(0, 1fr); }
  .detour__save { grid-column: 2; text-align: left; }
}

/* CO2 & Kennzahlen-Reihe */
.figrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.figrow > div { padding: var(--s-5) var(--s-5) 0 0; display: grid; gap: var(--s-2); align-content: start; }
.figrow > div + div { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.figrow p { color: var(--ink-2); font-size: var(--fs-small); max-width: 34ch; }
@media (max-width: 699px) {
  .figrow { grid-template-columns: minmax(0, 1fr); }
  .figrow > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: var(--s-5); }
}
.source { font-size: .8125rem; color: var(--ink-3); margin-top: var(--s-4); max-width: 80ch; }

/* Vergleichstabelle */
.table-wrap { overflow-x: auto; }
.bench { width: 100%; border-collapse: collapse; font-size: 1rem; }
.bench caption { text-align: left; }
.bench th, .bench td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bench th:first-child, .bench td:first-child { text-align: left; padding-left: 0; white-space: normal; }
.bench thead th { font-size: var(--fs-label); color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.bench tbody th { font-weight: 700; font-size: 1.0625rem; }
.bench td { font-weight: 700; }
.bench .avg { color: var(--ink-3); font-weight: 400; }
.diff { display: inline-flex; align-items: center; gap: 4px; }
.diff[data-dir="worse"] { color: var(--stop); }
.diff[data-dir="better"] { color: var(--go); }
:root[data-theme="dark"] .diff[data-dir="worse"] { color: #FF7A72; }
:root[data-theme="dark"] .diff[data-dir="better"] { color: #4CC38A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .diff[data-dir="worse"] { color: #FF7A72; }
  :root:not([data-theme="light"]) .diff[data-dir="better"] { color: #4CC38A; }
  :root:not([data-theme="light"]) .detour__save .fig-m { color: #4CC38A; }
}
.diff svg { width: 12px; height: 12px; }
@media (max-width: 599px) {
  .bench { font-size: .9375rem; }
  .bench th, .bench td { padding: 12px 6px; }
  .bench tbody th { font-size: 1rem; }
}

/* Teilen, PDF, Kaffee */
.share { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.share__card { margin: 0; border-radius: var(--r-3); overflow: hidden; background: var(--blue); max-width: 520px; justify-self: end; width: 100%; }
@media (max-width: 899px) { .share__card { justify-self: start; } }
.share__card canvas, .share__card img { width: 100%; height: auto; }
.share__status { font-size: .875rem; color: var(--ink-3); min-height: 1.3em; }
@media (max-width: 899px) { .share { grid-template-columns: minmax(0, 1fr); } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 899px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.duo > * { display: grid; gap: var(--s-4); align-content: start; }
.coffee { background: var(--yellow); color: #15171A; border-radius: var(--r-3); padding: clamp(20px, 2.6vw, 32px); box-shadow: inset 0 0 0 6px var(--yellow), inset 0 0 0 8px #15171A; }
.coffee .btn-plate { background: #15171A; color: var(--yellow); border-color: #15171A; justify-self: start; }
.coffee .btn-plate:hover { background: #000; }
.coffee p { color: #2B2D31; max-width: 46ch; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 700; font-size: .9375rem; }
.input { height: 52px; width: 100%; padding: 0 14px; background: var(--plate); border: 1.5px solid var(--field); border-radius: var(--r-2); font-size: 1.0625rem; color: var(--ink); }
.input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9375rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }

/* Fokus-Panels (Themenseiten) */
.focus { display: grid; gap: var(--s-6); }
.focus__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 899px) { .focus__grid { grid-template-columns: minmax(0, 1fr); } }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.kv > div { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.kv > div:nth-child(even) { padding-left: var(--s-4); border-left: 1px solid var(--line); }
.kv .fig-m { color: var(--ink); }
.kv .is-hi .fig-m { color: var(--go); }
.year-band { border-top: 2px solid var(--ink); padding-top: var(--s-5); align-items: end; }
.ho-days { display: grid; gap: var(--s-3); }
.ho-days__value { display: flex; align-items: baseline; gap: var(--s-3); }
.range { width: 100%; accent-color: var(--blue); height: 32px; }
.range-scale { display: flex; justify-content: space-between; font-size: .875rem; color: var(--ink-3); font-weight: 700; padding-inline: 4px; }
.calc-lines { list-style: none; border-top: 2px solid var(--ink); }
.calc-lines li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line); }
.calc-lines li strong { white-space: nowrap; }
.calc-lines li.total { border-bottom: 2px solid var(--ink); font-size: 1.125rem; }

/* Städte */
.cities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; }
.cities a { display: grid; gap: 10px; text-decoration: none; color: var(--ink); }
.cities a:hover .ortsschild { box-shadow: inset 0 0 0 5px var(--yellow), inset 0 0 0 7px #15171A, 0 0 0 3px var(--ink); }
.cities__meta { font-size: .875rem; color: var(--ink-2); text-align: center; }
@media (max-width: 1019px) { .cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 759px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); padding: var(--s-5) 0; cursor: pointer; font-weight: 700; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--blue) no-repeat center / 14px 14px; background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); background-size: 14px 2.5px, 2.5px 14px; background-position: center; }
.faq details[open] summary::after { background-size: 14px 2.5px, 0 0; }
.faq__answer { padding: 0 0 var(--s-6); max-width: var(--measure); color: var(--ink-2); }

/* Atlas: Entfernungstafel */
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.stats4 > div { padding: var(--s-5) var(--s-5) 0 0; display: grid; gap: var(--s-2); align-content: start; }
.stats4 > div + div { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.stats4 p { font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 899px) {
  .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats4 > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats4 > div:nth-child(n+3) { margin-top: var(--s-5); border-top: 1px solid var(--line); }
}
.tafel { padding: 10px; }
.tafel table { width: 100%; border-collapse: collapse; }
.tafel th, .tafel td { padding: 16px clamp(10px, 1.6vw, 20px); text-align: right; vertical-align: baseline; }
.tafel thead th { font-size: .875rem; font-weight: 700; color: rgba(255, 255, 255, .78); border-bottom: 2px solid rgba(255, 255, 255, .9); }
.tafel tbody tr + tr td, .tafel tbody tr + tr th { border-top: 1px solid rgba(255, 255, 255, .3); }
.tafel tbody th { text-align: left; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 700; }
.tafel .rank { text-align: left; width: 3ch; font-size: .875rem; color: rgba(255, 255, 255, .7); }
.tafel td.num { font-family: var(--font-fig); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); white-space: nowrap; }
.tafel td.note { text-align: left; font-size: .9375rem; color: rgba(255, 255, 255, .82); max-width: 32ch; }
@media (max-width: 759px) {
  .tafel thead { display: none; }
  .tafel tr { display: grid; grid-template-columns: 2.5ch 1fr auto auto; column-gap: 12px; padding: 14px 10px; }
  .tafel tbody tr + tr { border-top: 1px solid rgba(255, 255, 255, .3); }
  .tafel tbody tr + tr td, .tafel tbody tr + tr th { border-top: 0; }
  .tafel th, .tafel td { padding: 0; }
  .tafel td.num { font-size: 1.125rem; }
  .tafel td.num.share-col { display: none; }
  .tafel td.note { grid-column: 2 / -1; margin-top: 6px; }
}

/* Jobwechsel */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 899px) { .jobs { grid-template-columns: minmax(0, 1fr); } }
.job { border-radius: var(--r-3); padding: clamp(20px, 2.6vw, 32px); display: grid; gap: var(--s-5); align-content: start; }
.job--old { background: var(--plate); border: 1px solid var(--line); }
.job--new { background: var(--blue); color: #fff; box-shadow: var(--sign-rim); }
.job__head { display: flex; align-items: center; gap: var(--s-3); }
.job__head svg { width: 34px; height: 34px; flex: none; }
.job__tag { font-size: .875rem; font-weight: 700; opacity: .8; display: block; }
.job .fields { gap: var(--s-4); }
.job--new .field__label { color: #fff; }
.job--new .field__label span { color: rgba(255, 255, 255, .75); }
.job--new .field__control { background: #fff; border-color: #fff; }
.job--new .field__control input, .job--new .field__step { color: #15171A; }
.job--new .field__unit { color: #4A4F57; }
.job--new .field__step { border-left-color: #D8D6CF; }
.job--new .chip { border-color: rgba(255, 255, 255, .7); color: #fff; }
.job--new .chip[aria-pressed="true"] { background: #fff; color: var(--blue); border-color: #fff; }
.job__sum { border-top: 2px solid currentColor; padding-top: var(--s-4); display: grid; gap: 6px; }
.job--new .job__sum .small { color: rgba(255, 255, 255, .85); }
.verdict { border-radius: var(--r-3); padding: clamp(24px, 4vw, 48px); display: grid; gap: var(--s-6); }
.verdict[data-level="go"] { background: var(--go); color: #fff; }
.verdict[data-level="caution"] { background: var(--caution); color: #15171A; }
.verdict[data-level="stop"] { background: var(--stop); color: #fff; }
.verdict__text { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.5rem); font-weight: 700; line-height: 1.12; max-width: 30ch; }
.verdict__figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid currentColor; }
.verdict__figs > div { padding: var(--s-4) var(--s-4) 0 0; display: grid; gap: 6px; }
.verdict__figs > div + div { padding-left: var(--s-4); border-left: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.verdict__figs .label { color: inherit; opacity: .85; }
.verdict__extra { font-size: var(--fs-small); opacity: .9; }
@media (max-width: 699px) {
  .verdict__figs { grid-template-columns: minmax(0, 1fr); }
  .verdict__figs > div + div { border-left: 0; padding-left: 0; border-top: 1px solid color-mix(in srgb, currentColor 40%, transparent); margin-top: var(--s-4); }
}
.tips { list-style: none; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.tips li { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-2); }
.tips p { color: var(--ink-2); }
@media (max-width: 699px) { .tips { grid-template-columns: minmax(0, 1fr); } }

/* B2B */
.benefits { list-style: none; counter-reset: b; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); }
.benefits li { padding: var(--s-5) 0; display: grid; gap: var(--s-3); align-content: start; }
.benefits li::before { counter-increment: b; content: counter(b); font-family: var(--font-fig); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--blue); }
.benefits p { color: var(--ink-2); }
@media (max-width: 899px) { .benefits { grid-template-columns: minmax(0, 1fr); } .benefits li + li { border-top: 1px solid var(--line); } }
.lead-form { display: grid; gap: var(--s-5); }
.lead-form .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 599px) { .lead-form .grid2 { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.form-msg { padding: 14px 16px; border-radius: var(--r-2); font-weight: 700; }
.form-msg--error { background: color-mix(in srgb, var(--stop) 12%, var(--plate)); color: var(--ink); border-left: 6px solid var(--stop); }
.form-success { background: var(--go); color: #fff; border-radius: var(--r-3); padding: clamp(24px, 3vw, 40px); display: grid; gap: var(--s-3); }
.form-success a { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Abschluss-CTA */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); align-items: center; padding-block: var(--s-7); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
@media (max-width: 699px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); background: var(--asphalt); color: var(--marking); position: relative; }
.site-footer::before { content: ""; display: block; height: 5px; margin: 0 auto; max-width: calc(var(--maxw) + 2 * var(--gutter)); transform: translateY(36px); background: repeating-linear-gradient(90deg, var(--marking) 0 48px, transparent 48px 84px); background-clip: content-box; padding-inline: var(--gutter); opacity: .5; }
:root[data-theme="dark"] .site-footer { background: #0B0C0D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #0B0C0D; } }
.site-footer a { color: var(--marking); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--s-7) clamp(24px, 4vw, 56px); padding-block: var(--s-8) var(--s-7); }
.footer-grid h2 { font-size: .9375rem; color: rgba(243, 242, 238, .7); margin-bottom: var(--s-4); letter-spacing: .01em; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-brand p { margin-top: var(--s-4); color: rgba(243, 242, 238, .78); max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--asphalt-line); padding-block: var(--s-5) var(--s-6); font-size: .875rem; color: rgba(243, 242, 238, .7); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Sticky CTA (mobil) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: var(--shadow-float); transform: translateY(110%); transition: transform .2s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn-arrow { width: calc(100% - 22px); justify-content: center; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* 404 */
.notfound { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 8vw, 120px) 0; }
.notfound__sign { width: clamp(140px, 22vw, 240px); }
@media (max-width: 699px) { .notfound { grid-template-columns: minmax(0, 1fr); } }

/* Bericht nur für den Druck */
.report { display: none; }

/* ---------- Hilfsklassen ---------- */
.h-hero--page { font-size: clamp(2.35rem, 1.45rem + 3.8vw, 4.75rem); }
h1, h2, .h-hero { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.r45 { transform: rotate(45deg); } .r90 { transform: rotate(90deg); } .r-45 { transform: rotate(-45deg); } .r-90 { transform: rotate(-90deg); }
.mobile-only { display: none; }
.tafel th.left { text-align: left; }
.tafel th a { color: #fff; text-decoration: none; }
.tafel th a:hover { text-decoration: underline; }
.coffee .label { color: #2B2D31; }
.coffee .h3 { color: #15171A; }
.job--new .label { color: rgba(255, 255, 255, .82); }
.job--new :focus-visible { outline-color: var(--yellow); }
.sign :focus-visible, .result-sign :focus-visible { outline-color: var(--yellow); }
.legal h2 { font-size: var(--fs-h3); }
.legal .h-hero { margin-bottom: var(--s-5); }
@media (max-width: 759px) { .mobile-only { display: inline; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Druck / PDF-Report ---------- */
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  :root { --paper: #fff; --plate: #fff; --ink: #000; --ink-2: #222; --ink-3: #444; --line: #bbb; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .sticky-cta, .skip-link, .no-print, .share, .duo, .btn-row, .mobile-nav { display: none !important; }
  body.print-report > *:not(.report) { display: none !important; }
  body.print-report .report { display: block; }
  .report { color: #000; }
  .report * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .report__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2pt solid #000; padding-bottom: 8pt; margin-bottom: 14pt; }
  .report__brand { display: flex; align-items: center; gap: 8pt; font-weight: 700; font-size: 16pt; }
  .report__brand svg { width: 26pt; height: 26pt; }
  .report h1 { font-size: 22pt; margin-bottom: 4pt; }
  .report h2 { font-size: 13pt; margin: 16pt 0 6pt; border-bottom: 1pt solid #000; padding-bottom: 3pt; }
  .report__top { display: grid; grid-template-columns: 1fr 2fr; gap: 14pt; align-items: stretch; }
  .report__score { border-radius: 8pt; padding: 12pt; color: #fff; }
  .report__score[data-level="caution"] { color: #000; }
  .report__score[data-level="go"] { background: #0E7A4B; }
  .report__score[data-level="caution"] { background: #F5C400; }
  .report__score[data-level="stop"] { background: #C2181B; }
  .report__score .fig { font-size: 44pt; }
  .report table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
  .report td, .report th { padding: 4pt 0; border-bottom: .6pt solid #bbb; text-align: left; }
  .report td:last-child { text-align: right; font-weight: 700; }
  .report ul { padding-left: 14pt; }
  .report li { margin: 3pt 0; }
  .report__foot { margin-top: 18pt; font-size: 8.5pt; color: #444; border-top: .6pt solid #bbb; padding-top: 6pt; }
}
