/* Schriften liegen auf dem eigenen Server: keine Anfrage an Google */
@font-face{font-family:"Archivo";font-style:normal;font-weight:400 800;font-stretch:100% 125%;font-display:swap;src:url("/schriften/archivo-variabel-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Archivo";font-style:normal;font-weight:400 800;font-stretch:100% 125%;font-display:swap;src:url("/schriften/archivo-variabel-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url("/schriften/poppins-500-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url("/schriften/poppins-500-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url("/schriften/poppins-700-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url("/schriften/poppins-700-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* MollTonCreative – Website im Design „Schichten“
   Layout-Idee: ein weißes Blatt, alles linksbündig auf einem 12er-Raster.
   Farbe kommt nur aus den neun Lagen, Text steht in Tinte, Blau ist die einzige Textfarbe daneben. */

:root {
  /* Farbe (aus dem Designsystem „MollTonCreative Schichten“) */
  --papier: #ffffff;
  --tinte: #23262d;
  --tinte-leise: #6b6f78;
  --haarlinie: #dfe1e6;
  --bett: #f2f4f7;
  --blau: #316cc6;
  --blau-tief: #27589f;
  --lage-1: #fc55ad;
  --lage-2: #e962c2;
  --lage-3: #b97fe0;
  --lage-4: #7aa6f2;
  --lage-5: #39ccf7;
  --lage-6: #3aa9e6;
  --lage-7: #316cc6;
  --lage-8: #3a8fc8;
  --lage-9: #2ec8bb;
  --baender: linear-gradient(to top,
    var(--lage-1) 0 11.11%, var(--lage-2) 11.11% 22.22%, var(--lage-3) 22.22% 33.33%,
    var(--lage-4) 33.33% 44.44%, var(--lage-5) 44.44% 55.55%, var(--lage-6) 55.55% 66.66%,
    var(--lage-7) 66.66% 77.77%, var(--lage-8) 77.77% 88.88%, var(--lage-9) 88.88% 100%);

  /* Schrift */
  --sans: "Archivo", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --wortmarke: "Poppins", "Archivo", Arial, sans-serif;
  --g-klein: 0.875rem;
  --g-text: 1.0625rem;
  --g-einstieg: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --g-h3: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  --g-h2: clamp(2.05rem, 1.2rem + 3.9vw, 4.1rem);

  /* Maß */
  --rand: clamp(16px, 4.2vw, 64px);
  --breite: 1280px;
  --abschnitt: clamp(72px, 10.5vw, 156px);
  --kopf-hoehe: 72px;
  --weich: cubic-bezier(0.2, 0.7, 0.1, 1);

  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: var(--g-text);
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--papier);
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, h4, figure, ul, ol, dl, dd, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
/* Leere Zeichenkette statt „none“: So behalten Listen in Safari/VoiceOver ihre Bedeutung als Liste. */
ul, ol { list-style-type: ""; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blau); text-decoration-thickness: 0.09em; text-underline-offset: 0.2em; }
a:hover { color: var(--blau-tief); }
::selection { background: var(--lage-5); color: var(--tinte); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.unsichtbar {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.sprung {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--tinte); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.sprung:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); color: #fff; }

/* ───────── Raster ───────── */
.huelle {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-left: max(var(--rand), env(safe-area-inset-left, 0px));
  padding-right: max(var(--rand), env(safe-area-inset-right, 0px));
}
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt + .abschnitt { padding-top: 0; }
.spalten { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: clamp(28px, 5vw, 56px); }

/* ───────── Schrift ───────── */
.gross, .titel, .wert, .summe output {
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.022em;
  line-height: 0.98;
}
.titel { font-size: var(--g-h2); text-wrap: balance; max-width: 18ch; }
.titel.breit { max-width: none; margin-bottom: clamp(28px, 4vw, 52px); }
.titel span { display: block; }
h3, .h3 { font-size: var(--g-h3); font-weight: 800; font-stretch: 112%; line-height: 1.15; letter-spacing: -0.012em; text-wrap: balance; }
.einstieg { font-size: var(--g-einstieg); line-height: 1.42; font-weight: 500; max-width: 34em; text-wrap: pretty; }
.fliess { display: grid; gap: 1em; max-width: 39em; text-wrap: pretty; }
.klein { font-size: var(--g-klein); line-height: 1.5; color: var(--tinte-leise); }
.claim { font-weight: 700; font-stretch: 112%; color: var(--blau); letter-spacing: -0.005em; }
.kopf-ueber { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.gross, .titel, h3, .h3, .stoff-name, .news-text h2 { overflow-wrap: break-word; }
/* Auf schmalen Bildschirmen dürfen lange Wörter in Überschriften getrennt werden (Kosten-berechnung) */
.projekt figcaption, .frage summary, .text h2, .punkt-kopf h3 { overflow-wrap: break-word; }
@media (max-width: 700px) {
  .gross, .titel, .stoff-name, .news-text h2, .projekt figcaption, .frage summary, .text h2, h3, .h3 {
    -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5;
    -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5;
  }
}

/* Überschrift „frisch gedruckt“: kommt in den neun Lagenfarben und kühlt Schicht für Schicht zu Tinte ab */
.druckt {
  background-image: linear-gradient(var(--tinte), var(--tinte)), var(--baender);
  background-size: 100% 0%, 100% 100%;
  background-position: 0 100%, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: abkuehlen 0.95s steps(9, end) 0.2s forwards;
}
.druckt.langsam { animation-duration: 1.35s; animation-delay: 0.5s; }
@keyframes abkuehlen { to { background-size: 100% 100%, 100% 100%; } }

/* ───────── Knöpfe und Verweise ───────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 50px; padding: 0.72em 1.5em;
  border: 2px solid var(--tinte); border-radius: 999px;
  background: var(--tinte); color: #fff;
  font-weight: 700; font-stretch: 112%; font-size: 1rem; line-height: 1.15; text-decoration: none;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.knopf:hover { background: var(--blau); border-color: var(--blau); color: #fff; }
.knopf.leise { background: transparent; color: var(--tinte); }
.knopf.leise:hover { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.knopf.klein-knopf { min-height: 40px; padding: 0.45em 1.1em; font-size: 0.9375rem; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Textverweis mit einer Lage als Unterstrich */
.verweis {
  display: inline-block; position: relative; padding-bottom: 5px;
  color: var(--tinte); font-weight: 700; font-stretch: 108%; text-decoration: none;
}
.verweis::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; border-radius: 9px;
  background: var(--lage-7); transform-origin: left; transition: transform 0.35s var(--weich), background-color 0.2s;
}
.verweis:hover { color: var(--blau-tief); }
.verweis:hover::after { background: var(--lage-1); transform: scaleX(1.06); }

/* ───────── Farblagen ───────── */
.lagen { display: grid; gap: 4px; }
.lagen i { display: block; height: 6px; border-radius: 99px; transform-origin: left center; animation: lage-ziehen 0.9s var(--weich) both; }
.lagen i:nth-child(1) { background: var(--lage-1); width: 88%; animation-delay: 0.04s; }
.lagen i:nth-child(2) { background: var(--lage-2); width: 91%; animation-delay: 0.1s; }
.lagen i:nth-child(3) { background: var(--lage-3); width: 94%; animation-delay: 0.16s; }
.lagen i:nth-child(4) { background: var(--lage-4); width: 97%; animation-delay: 0.22s; }
.lagen i:nth-child(5) { background: var(--lage-5); width: 100%; animation-delay: 0.28s; }
.lagen i:nth-child(6) { background: var(--lage-6); width: 97%; animation-delay: 0.34s; }
.lagen i:nth-child(7) { background: var(--lage-7); width: 94%; animation-delay: 0.4s; }
.lagen i:nth-child(8) { background: var(--lage-8); width: 91%; animation-delay: 0.46s; }
.lagen i:nth-child(9) { background: var(--lage-9); width: 88%; animation-delay: 0.52s; }
.lagen.fein { gap: 3px; }
.lagen.fein i { height: 4px; animation: none; }
@keyframes lage-ziehen { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.fusslagen { display: grid; gap: 5px; }
.fusslagen i { display: block; height: 6px; border-radius: 99px; }
.fusslagen i:nth-child(1) { background: var(--lage-1); }
.fusslagen i:nth-child(2) { background: var(--lage-4); }
.fusslagen i:nth-child(3) { background: var(--lage-7); }

/* Lagen-Piktogramme und geschnittene Ziffern (werkzeug/scheiben.py) */
.scheiben { display: block; width: 100%; height: auto; overflow: visible; }
.scheiben rect { fill: var(--c); }
.l1 { --c: var(--lage-1); } .l2 { --c: var(--lage-2); } .l3 { --c: var(--lage-3); }
.l4 { --c: var(--lage-4); } .l5 { --c: var(--lage-5); } .l6 { --c: var(--lage-6); }
.l7 { --c: var(--lage-7); } .l8 { --c: var(--lage-8); } .l9 { --c: var(--lage-9); }
.s1 { --f: var(--lage-1); } .s2 { --f: var(--lage-3); } .s3 { --f: var(--lage-5); } .s4 { --f: var(--lage-7); } .s5 { --f: var(--lage-9); }
.js .geist rect { fill: var(--haarlinie); transition: fill 0.25s; }
.js .geist rect.an { fill: var(--c); }

/* Seitenfortschritt: neun Lagen, die sich beim Scrollen von unten nach oben füllen */
.stapel {
  position: fixed; left: max(20px, env(safe-area-inset-left, 0px)); top: 50%; z-index: 40;
  display: none; flex-direction: column-reverse; gap: 4px; transform: translateY(-50%);
  pointer-events: none;
}
.stapel i { display: block; position: relative; width: 22px; height: 4px; border-radius: 9px; background: var(--haarlinie); overflow: hidden; }
.stapel i::after { content: ""; position: absolute; inset: 0; border-radius: 9px; background: var(--f); transform: scaleX(var(--p, 0)); transform-origin: left; }
.stapel i:nth-child(1) { --f: var(--lage-1); } .stapel i:nth-child(2) { --f: var(--lage-2); } .stapel i:nth-child(3) { --f: var(--lage-3); }
.stapel i:nth-child(4) { --f: var(--lage-4); } .stapel i:nth-child(5) { --f: var(--lage-5); } .stapel i:nth-child(6) { --f: var(--lage-6); }
.stapel i:nth-child(7) { --f: var(--lage-7); } .stapel i:nth-child(8) { --f: var(--lage-8); } .stapel i:nth-child(9) { --f: var(--lage-9); }
@media (min-width: 1240px) { .js .stapel { display: flex; } }

/* ───────── Kopf ───────── */
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.kopf.gerollt { border-bottom-color: var(--haarlinie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--kopf-hoehe); }
.marke { display: inline-flex; align-items: center; gap: 11px; color: var(--tinte); text-decoration: none; flex: none; }
.marke:hover { color: var(--tinte); }
.marke img { width: auto; height: 38px; }
.marke-wort { display: grid; line-height: 1; }
.marke-wort b { font-family: var(--wortmarke); font-weight: 700; font-size: 1.36rem; letter-spacing: -0.012em; }
.marke-wort i { font-family: var(--wortmarke); font-style: normal; font-weight: 500; font-size: 0.5rem; letter-spacing: 0.42em; margin-top: 4px; text-transform: uppercase; }

.haupt-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.haupt-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }
.haupt-nav a:not(.knopf) {
  position: relative; display: block; padding: 10px 0; color: var(--tinte); text-decoration: none;
  font-size: 0.9688rem; font-weight: 600; font-stretch: 106%; white-space: nowrap;
}
.haupt-nav a:not(.knopf)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 9px;
  background: var(--lage-7); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--weich);
}
.haupt-nav a:not(.knopf):hover::after, .haupt-nav a[aria-current]::after { transform: scaleX(1); }
.haupt-nav li:nth-child(1) a::after { background: var(--lage-1); }
.haupt-nav li:nth-child(2) a::after { background: var(--lage-3); }
.haupt-nav li:nth-child(3) a::after { background: var(--lage-4); }
.haupt-nav li:nth-child(4) a::after { background: var(--lage-5); }
.haupt-nav li:nth-child(5) a::after { background: var(--lage-7); }
.haupt-nav li:nth-child(6) a::after { background: var(--lage-9); }

.menue-knopf {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; border-radius: 12px;
}
.menue-knopf span { display: grid; gap: 5px; width: 26px; }
.menue-knopf i { display: block; height: 3px; border-radius: 9px; background: var(--tinte); transition: transform 0.3s var(--weich), width 0.3s var(--weich), opacity 0.2s; }
.menue-knopf i:nth-child(1) { width: 88%; } .menue-knopf i:nth-child(3) { width: 70%; }

/* Schmale Bildschirme. Ohne JavaScript steht die Navigation als gewöhnliche Liste unter dem Logo
   und der Kopf bleibt nicht kleben. Mit JavaScript (Klasse .js) klappt sie hinter dem Menüknopf auf. */
@media (max-width: 1039px) {
  .kopf { position: static; }
  .kopf-innen { flex-wrap: wrap; row-gap: 0; }
  .haupt-nav { flex-wrap: wrap; width: 100%; gap: 6px 18px; padding-bottom: 14px; }
  .haupt-nav ul { flex-wrap: wrap; gap: 0 18px; }
  .haupt-nav a:not(.knopf) { padding: 7px 0; }

  .js .kopf { position: sticky; }
  .js .kopf-innen { flex-wrap: nowrap; }
  .js .menue-knopf { display: inline-flex; }
  .js .haupt-nav {
    position: fixed; inset: calc(var(--kopf-hoehe) + env(safe-area-inset-top, 0px)) 0 0 0;
    display: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 28px; width: auto;
    padding: 24px max(var(--rand), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--rand), env(safe-area-inset-left, 0px));
    background: var(--papier); overflow-y: auto;
  }
  .js .kopf[data-offen] .haupt-nav { display: flex; }
  .js .kopf[data-offen] { background: var(--papier); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .haupt-nav ul { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .js .haupt-nav li { border-bottom: 1px solid var(--haarlinie); }
  .js .haupt-nav a:not(.knopf) { padding: 16px 0; font-size: 1.7rem; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; }
  .js .haupt-nav a:not(.knopf)::after { display: none; }
  .js .haupt-nav .knopf { align-self: flex-start; }
  .js .kopf[data-offen] .menue-knopf i:nth-child(1) { width: 100%; transform: translateY(8px) rotate(45deg); }
  .js .kopf[data-offen] .menue-knopf i:nth-child(2) { opacity: 0; }
  .js .kopf[data-offen] .menue-knopf i:nth-child(3) { width: 100%; transform: translateY(-8px) rotate(-45deg); }
}

/* ───────── Held ───────── */
.held { padding-top: clamp(18px, 2.4vw, 30px); padding-bottom: clamp(48px, 7vw, 96px); }
.held .lagen { margin-bottom: clamp(22px, 3vw, 40px); }
.held-titel { font-size: clamp(2.45rem, 12.6vw, 4.8rem); line-height: 0.93; text-wrap: balance; }
.held-titel .zeile { display: inline; }
.held-raster { display: grid; gap: clamp(26px, 5vw, 44px); margin-top: clamp(20px, 3vw, 34px); }
.held-text { display: grid; gap: clamp(16px, 2vw, 22px); align-content: start; }
.held-text .claim { font-size: clamp(1.25rem, 1rem + 1.3vw, 2rem); line-height: 1.15; }
.held-text .knopf-reihe { margin-top: 10px; }

/* Die drei Wörter im Fließtext schalten das Modell um. Im Quelltext sind sie abgeschaltete Knöpfe
   und sehen wie Text aus. Das Skript schaltet sie frei, erst dann bekommen sie den Unterstrich. */
.wort {
  display: inline; padding: 0; margin: 0; border: 0; background: none; -webkit-appearance: none; appearance: none;
  font: inherit; font-weight: 700; color: inherit; cursor: text;
}
.wort:disabled { color: inherit; opacity: 1; }
.js .wort:enabled {
  padding: 0 0.1em; margin: 0 -0.1em; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.22em;
  text-decoration-color: var(--haarlinie); transition: text-decoration-color 0.2s;
}
.js .wort:enabled:hover, .js .wort.aktiv { text-decoration-color: var(--lage-7); }
.js .wort[data-objekt="geschenk"]:enabled:hover, .js .wort[data-objekt="geschenk"].aktiv { text-decoration-color: var(--lage-1); }
.js .wort[data-objekt="ersatzteil"]:enabled:hover, .js .wort[data-objekt="ersatzteil"].aktiv { text-decoration-color: var(--lage-9); }

.buehne { display: grid; gap: 10px; min-width: 0; }
.buehne-flaeche { position: relative; aspect-ratio: 1 / 0.88; width: 100%; max-width: 660px; }
/* Ältere Browser ohne aspect-ratio (Safari vor 15): Höhe über den Innenabstand halten */
@supports not (aspect-ratio: 1 / 1) { .buehne-flaeche::before { content: ""; display: block; padding-top: 88%; } }
.buehne-flaeche canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.buehne-flaeche canvas:active { cursor: grabbing; }
.buehne-ersatz { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.js .buehne-ersatz { display: none; }
.buehne-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.buehne-status { font-size: var(--g-klein); color: var(--tinte-leise); font-weight: 500; min-height: 1.5em; }
.buehne-status b { color: var(--tinte); font-weight: 700; }

.wahl { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.wahl button, .wahl label {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0.35em 1em;
  border: 1.5px solid var(--haarlinie); border-radius: 999px; background: var(--papier);
  font-size: 0.9375rem; font-weight: 600; font-stretch: 106%; line-height: 1.2; cursor: pointer;
  transition: border-color 0.18s, background-color 0.18s, color 0.18s;
}
.wahl button:hover, .wahl label:hover { border-color: var(--tinte); }
.wahl button[aria-pressed="true"], .wahl input:checked + label { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl input:focus-visible + label { outline: 3px solid var(--blau); outline-offset: 3px; }
.symbol-knopf {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1.5px solid var(--haarlinie); border-radius: 999px; background: var(--papier);
  transition: border-color 0.18s;
}
.symbol-knopf:hover { border-color: var(--tinte); }
.symbol-knopf svg { width: 14px; height: 14px; fill: var(--tinte); }
.symbol-knopf .ic-play { display: none; }
.symbol-knopf[data-angehalten] .ic-play { display: block; }
.symbol-knopf[data-angehalten] .ic-pause { display: none; }

@media (max-width: 899px) { .held .buehne { order: -1; } }
@media (min-width: 900px) {
  .held-titel { font-size: min(8.6vw, 7.3rem); }
  .held-titel .zeile { display: block; }
  .held-raster { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(24px, 4vw, 64px); margin-top: clamp(22px, 2.6vw, 38px); }
  .held .buehne { margin-top: calc(min(8.6vw, 7.3rem) * -1.3); }
  .held .buehne-flaeche { margin-left: auto; }
  .held .buehne-leiste { padding-left: clamp(0px, 4vw, 60px); }
}

/* ───────── Fakten ───────── */
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-top: 2px solid var(--tinte); }
.fakt { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; padding: 26px clamp(0px, 2vw, 26px) 26px 0; border-bottom: 1px solid var(--haarlinie); }
.fakt p { font-weight: 600; font-stretch: 106%; line-height: 1.38; text-wrap: pretty; }

.pruefer { display: none; gap: clamp(22px, 4vw, 48px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.js .pruefer { display: grid; }
.pruefer-text { display: grid; gap: 16px; align-content: start; }
.masse { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 8px; }
.masse label { display: grid; gap: 4px; font-size: var(--g-klein); font-weight: 600; color: var(--tinte-leise); }
.masse input {
  width: min(6.2em, 21vw); padding: 8px 2px 6px; border: 0; border-bottom: 2px solid var(--tinte); border-radius: 0; background: none;
  font-size: 1.5rem; font-weight: 800; font-stretch: 112%; color: var(--tinte); -moz-appearance: textfield; appearance: textfield;
}
.masse input::-webkit-outer-spin-button, .masse input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.masse .mal { padding-bottom: 10px; font-size: 1.3rem; font-weight: 700; color: var(--tinte-leise); }
.pruefer-ergebnis { font-size: 1.125rem; font-weight: 700; font-stretch: 106%; line-height: 1.35; min-height: 2.7em; max-width: 30em; }
.pruefer-ergebnis[data-passt="nein"] { color: var(--tinte-leise); }
.pruefer .buehne-flaeche { aspect-ratio: 1 / 0.86; max-width: 520px; }
.pruefer canvas { cursor: grab; }
@media (min-width: 860px) { .pruefer { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ───────── Ablauf ───────── */
.ablauf-raster { display: grid; gap: clamp(30px, 5vw, 60px); }
.schritte { display: grid; gap: clamp(38px, 6vw, 76px); }
.schritt { display: grid; grid-template-columns: clamp(52px, 9vw, 104px) minmax(0, 1fr); column-gap: clamp(18px, 3.4vw, 46px); align-items: start; }
.schritt-nr { padding-top: 4px; }
.schritt-inhalt { display: grid; gap: 14px; }
.schritt-inhalt .fliess { gap: 0.8em; }
@media (min-width: 1100px) {
  .ablauf-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 72px); }
  .ablauf-raster > .kopf-ueber { position: sticky; top: calc(var(--kopf-hoehe) + 40px); align-self: start; }
  .ablauf-raster > .kopf-ueber .titel, .fragen-raster > .kopf-ueber .titel { font-size: clamp(2.05rem, 0.6rem + 2.9vw, 3.3rem); }
}

/* ───────── Material ───────── */
.material-kopf { display: grid; gap: 22px; margin-bottom: clamp(28px, 4vw, 48px); }
/* Filter und Materialknöpfe brauchen JavaScript. Ohne Skript stehen alle Materialkarten untereinander. */
.filter { display: none; flex-wrap: wrap; gap: 8px; }
.js .filter { display: flex; }
.filter-meldung { min-height: 1.5em; font-size: 0.9375rem; font-weight: 600; line-height: 1.45; }
.material-raster { display: grid; gap: clamp(26px, 4vw, 56px); border-top: 2px solid var(--tinte); padding-top: clamp(22px, 3vw, 36px); }
.material-hinweis { margin-top: clamp(22px, 3vw, 34px); max-width: 46em; }
.stoffe { display: none; gap: 22px; align-content: start; }
.js .stoffe { display: grid; }
.stoff-gruppe { display: grid; gap: 8px; }
.stoff-gruppe > p { font-size: var(--g-klein); font-weight: 600; color: var(--tinte-leise); }
.stoff-gruppe ul { display: flex; flex-wrap: wrap; gap: 6px; }
.stoff-knopf {
  display: inline-flex; align-items: baseline; gap: 0.4em; min-height: 42px; padding: 0.4em 1em;
  border: 1.5px solid var(--haarlinie); border-radius: 999px; background: var(--papier);
  font-weight: 700; font-stretch: 108%; font-size: 1rem; line-height: 1.2;
  transition: border-color 0.18s, background-color 0.18s, color 0.18s, opacity 0.18s;
}
.stoff-knopf small { font-size: 0.8125rem; font-weight: 500; color: var(--tinte-leise); }
.stoff-knopf:hover { border-color: var(--tinte); }
.stoff-knopf[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.stoff-knopf[aria-pressed="true"] small { color: #d8dbe2; }
/* Passt nicht zum gewählten Filter: leiser gesetzt, aber weiter gut lesbar (Kontrast 5:1) und wählbar.
   Welche Materialien passen, steht zusätzlich als Text in .filter-meldung. */
.stoff-knopf.blass { border-style: dashed; color: var(--tinte-leise); font-weight: 500; }
.stoff-knopf.blass[aria-pressed="true"] { border-style: solid; color: #fff; font-weight: 700; }

.stoff-karten { min-width: 0; }
.stoff-karte { display: grid; gap: 20px; align-content: start; }
.stoff-karte + .stoff-karte { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--haarlinie); }
.js .stoff-karte + .stoff-karte { margin-top: 0; padding-top: 0; border-top: 0; }
.js .stoff-karte[hidden] { display: none; }
.stoff-name { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); font-weight: 800; font-stretch: 125%; letter-spacing: -0.022em; line-height: 0.98; }
.stoff-name small { display: block; margin-top: 10px; font-size: 1rem; font-weight: 600; font-stretch: 106%; letter-spacing: 0; color: var(--tinte-leise); }
.stoff-karte.neu .stoff-name { animation: einlage 0.5s var(--weich) both; }
@keyframes einlage { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.einsatz { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.einsatz li { padding: 4px 12px; border-radius: 999px; background: var(--bett); font-size: 0.9375rem; font-weight: 500; }
.pegel-liste { display: grid; gap: 12px; max-width: 34em; }
.pegel { display: grid; grid-template-columns: minmax(6.2em, 8em) 132px minmax(0, 1fr); gap: 4px 16px; align-items: center; font-size: 0.9688rem; }
.pegel dt { font-weight: 600; }
.pegel dd { color: var(--tinte-leise); line-height: 1.35; }
.pegel .stufen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pegel .stufen i { height: 8px; border-radius: 9px; background: var(--haarlinie); }
.pegel .stufen i.an:nth-child(1) { background: var(--lage-1); }
.pegel .stufen i.an:nth-child(2) { background: var(--lage-3); }
.pegel .stufen i.an:nth-child(3) { background: var(--lage-5); }
.pegel .stufen i.an:nth-child(4) { background: var(--lage-7); }
.pegel .stufen i.an:nth-child(5) { background: var(--lage-9); }
/* blasse Balken: Der Wert reicht je nach Trägermaterial bis hierhin (Carbon-, Glasfaser) */
.pegel .stufen i.evtl { opacity: 0.38; }
.nw { white-space: nowrap; }
@media (max-width: 520px) { .pegel { grid-template-columns: minmax(0, 1fr) 132px; } .pegel dd { grid-column: 1 / -1; } }
@media (min-width: 920px) {
  .js .material-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(24px, 4vw, 72px); }
  .js .stoff-karten { position: sticky; top: calc(var(--kopf-hoehe) + 32px); align-self: start; }
}

/* ───────── Haltung ───────── */
.haltung-raster { display: grid; gap: clamp(30px, 5vw, 64px); align-items: start; }
.haltung-text { display: grid; gap: clamp(20px, 2.6vw, 30px); }
.bild-lagen { display: grid; gap: 12px; }
.bild-lagen img { width: 100%; background: var(--bett); }
.bild-lagen figcaption { font-size: var(--g-klein); color: var(--tinte-leise); line-height: 1.45; }
.haltung-bild img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.streich { position: relative; white-space: nowrap; }
.streich::after {
  content: ""; position: absolute; left: -0.12em; right: -0.12em; top: 54%; height: 0.17em; border-radius: 9px;
  background: var(--lage-1); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--weich);
}
.streich:nth-of-type(2)::after { background: var(--lage-7); transition-delay: 0.22s; }
.streich:nth-of-type(3)::after { background: var(--lage-9); transition-delay: 0.44s; }
.streich.gestrichen::after { transform: scaleX(1); }
.schluss-satz { font-size: var(--g-h3); font-weight: 800; font-stretch: 112%; line-height: 1.18; letter-spacing: -0.012em; max-width: 20em; text-wrap: balance; }
@media (min-width: 900px) {
  .haltung-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 5vw, 88px); }
  .haltung-bild { position: sticky; top: calc(var(--kopf-hoehe) + 32px); }
}

/* ───────── Projekte ───────── */
.projekt-kopf { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 48px); }
.projekt-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(14px, 2.2vw, 28px); }
.projekt { display: grid; gap: 12px; align-content: start; }
.projekt-bild { display: block; overflow: hidden; background: var(--bett); }
.projekt img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.7s var(--weich); }
a.projekt-bild:hover img { transform: scale(1.04); }
.projekt figcaption { display: grid; gap: 2px; }
.projekt figcaption b { font-weight: 700; font-stretch: 108%; line-height: 1.3; }
.projekt figcaption span { font-size: 0.9688rem; color: var(--tinte-leise); line-height: 1.4; }
.projekt .verweis { justify-self: start; margin-top: 6px; font-size: 0.9375rem; }
@media (min-width: 900px) {
  .projekt-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .projekt:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
}

/* ───────── Kosten ───────── */
.kosten-kopf { display: grid; gap: 22px; margin-bottom: clamp(30px, 4.6vw, 60px); }
.kosten-raster { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }
.punkte { border-top: 2px solid var(--tinte); }
.punkt { display: grid; gap: 14px; padding: clamp(22px, 2.8vw, 32px) 0; border-bottom: 1px solid var(--haarlinie); }
.punkt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.punkt-kopf h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }
.punkt-zahl { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.wert { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); color: var(--blau); letter-spacing: -0.02em; line-height: 1.1; }
.punkt-zahl small { font-size: var(--g-klein); color: var(--tinte-leise); font-weight: 500; }
.punkt .fliess { font-size: 1rem; gap: 0.75em; }
.preisstand { padding-top: 14px; }

.rechner { --innen: clamp(20px, 3vw, 36px); display: grid; gap: 22px; padding: var(--innen); border: 1.5px solid var(--tinte); background: var(--papier); }
.rechner-kopf { display: grid; gap: 14px; }
/* Die Eingaben brauchen JavaScript. Ohne Skript steht die Beispielrechnung da, mit einem Satz dazu. */
.rechner-eingaben { display: none; gap: 22px; }
.js .rechner-eingaben { display: grid; }
.js .ohne-js { display: none; }
.rechner-kopf .lagen { width: min(100%, 300px); }
.feld { display: grid; gap: 8px; }
.feld > label, .feld > legend, .feld-name { font-size: 0.9375rem; font-weight: 700; font-stretch: 106%; }
.feld-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.feld-zahl { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 800; font-stretch: 112%; }
.feld-zahl input {
  width: 4.6em; padding: 2px 0; border: 0; border-bottom: 2px solid var(--haarlinie); border-radius: 0; background: none;
  text-align: right; font-weight: 800; font-size: 1.125rem; -moz-appearance: textfield; appearance: textfield;
}
.feld-zahl input:focus { border-bottom-color: var(--blau); }
.feld-zahl input[aria-invalid="true"], .masse input[aria-invalid="true"] { border-bottom-color: #b3261e; }
.feld-hinweis { font-size: 0.8125rem; color: var(--tinte-leise); line-height: 1.4; }
.feld-fehler { font-size: 0.8125rem; font-weight: 600; color: #b3261e; line-height: 1.4; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: none; cursor: pointer;
  --anteil: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 9px;
  background: linear-gradient(to right, var(--tinte) var(--anteil), var(--haarlinie) var(--anteil));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 9px; background: var(--haarlinie); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 9px; background: var(--tinte); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px;
  border: 2.5px solid var(--tinte); border-radius: 50%; background: var(--papier);
}
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 2.5px solid var(--tinte); border-radius: 50%; background: var(--papier); }

.auswahl {
  width: 100%; min-height: 46px; padding: 8px 40px 8px 0; border: 0; border-bottom: 2px solid var(--haarlinie); border-radius: 0;
  background: none; -webkit-appearance: none; appearance: none; font-weight: 600;
  background-image: linear-gradient(45deg, transparent 50%, var(--tinte) 50%), linear-gradient(135deg, var(--tinte) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 9px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.auswahl:focus { border-bottom-color: var(--blau); }
.beispiele { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 0.875rem; color: var(--tinte-leise); }
.beispiele button {
  padding: 5px 12px; border: 1.5px solid var(--haarlinie); border-radius: 999px; background: none;
  font-size: 0.875rem; font-weight: 600; transition: border-color 0.18s;
}
.beispiele button:hover { border-color: var(--tinte); }

.ergebnis { display: grid; gap: 14px; padding-top: 4px; }
.schichtbalken { display: none; gap: 3px; height: 14px; }
.js .schichtbalken { display: flex; }
.schichtbalken i { display: block; flex: 1 1 0%; min-width: 0; height: 100%; border-radius: 9px; background: var(--f); transition: flex-grow 0.45s var(--weich); }
.posten { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.posten th { padding: 0 0 8px; border-bottom: 2px solid var(--tinte); text-align: left; font-weight: 700; font-stretch: 106%; }
.posten td { padding: 9px 0; border-bottom: 1px solid var(--haarlinie); vertical-align: baseline; }
.posten .r { text-align: right; white-space: nowrap; }
.posten .farbe { display: inline-block; width: 16px; height: 6px; margin-right: 10px; border-radius: 9px; background: var(--f); vertical-align: middle; }
.posten small { color: var(--tinte-leise); font-size: 0.8125rem; }
.posten tr[hidden] { display: none; }
/* Der Richtwert klebt am unteren Fensterrand, solange der Rechner im Bild ist: Wer oben einen Regler
   zieht, sieht den Preis, auch wenn die Aufstellung darunter noch außerhalb des Fensters liegt. */
.summe {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; align-items: baseline; justify-content: flex-end; gap: 18px;
  margin: 0 calc(-1 * var(--innen)); padding: 12px var(--innen) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--papier); border-top: 1px solid var(--haarlinie);
}
.summe span { font-size: 0.9375rem; color: var(--tinte-leise); }
/* Der Betrag bleibt in einer Zeile („ca. 34–46 €“ bricht nicht am Strich). Nur sehr lange Beträge
   (seite.js setzt dann .lang) werden kleiner und dürfen umbrechen. */
.summe output { font-size: clamp(1.6rem, 0.9rem + 3.6vw, 2.7rem); color: var(--blau); letter-spacing: -0.025em; line-height: 1.05; white-space: nowrap; }
.summe output.lang { font-size: clamp(1.25rem, 0.8rem + 2.6vw, 2.1rem); white-space: normal; text-align: right; }
@media (max-width: 400px) {
  /* Auf schmalen Handys gehört die Zeile dem Betrag. Das Wort „Richtwert“ bleibt für Vorleseprogramme da. */
  .summe span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 1000px) {
  .kosten-raster { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(28px, 4.4vw, 80px); }
}
/* Der ganze Rechner bleibt nur stehen, wenn er vollständig ins Fenster passt. Sonst wäre sein
   unterer Teil erst am Ende der linken Spalte zu erreichen. */
@media (min-width: 1000px) and (min-height: 1500px) {
  .rechner { position: sticky; top: calc(var(--kopf-hoehe) + 24px); }
}

/* ───────── Fragen ───────── */
.fragen-raster { display: grid; gap: clamp(28px, 4vw, 56px); }
.fragen-liste { border-top: 2px solid var(--tinte); }
.frage { border-bottom: 1px solid var(--haarlinie); }
.frage summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 18px; align-items: start;
  padding: clamp(18px, 2.2vw, 26px) 0; list-style: none; cursor: pointer;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 700; font-stretch: 108%; line-height: 1.28; text-wrap: balance;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--blau-tief); }
.plus { position: relative; width: 22px; height: 22px; margin-top: 3px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 9.5px; width: 22px; height: 3px; border-radius: 9px; background: var(--tinte); transition: transform 0.35s var(--weich), background-color 0.2s; }
.plus::after { transform: rotate(90deg); }
.frage[open] .plus::before { background: var(--lage-7); }
.frage[open] .plus::after { transform: rotate(0deg); background: var(--lage-7); }
.antwort { overflow: hidden; }
.antwort .fliess { padding: 0 44px clamp(22px, 2.6vw, 30px) 0; }
@media (min-width: 1100px) {
  .fragen-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 72px); }
  .fragen-raster > .kopf-ueber { position: sticky; top: calc(var(--kopf-hoehe) + 40px); align-self: start; }
}

/* ───────── Anfrage ───────── */
.anfrage-raster { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.anfrage-seite { display: grid; gap: clamp(20px, 2.6vw, 30px); align-content: start; }
.kontakt-daten { display: grid; gap: 18px; padding-top: 22px; border-top: 2px solid var(--tinte); }
.kontakt-daten div { display: grid; gap: 2px; }
.kontakt-daten dt { font-size: var(--g-klein); font-weight: 600; color: var(--tinte-leise); }
.kontakt-daten dd { font-weight: 600; font-stretch: 106%; }
.kopier-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.kopier-zeile .adresse { font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.4rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; overflow-wrap: anywhere; user-select: all; }

.formular { display: grid; gap: 24px; }
.formular .zeile2 { display: grid; gap: 24px; }
@media (min-width: 620px) { .formular .zeile2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.eingabe { display: grid; gap: 6px; }
.eingabe label { font-size: 0.9375rem; font-weight: 700; font-stretch: 106%; }
.eingabe label small { font-weight: 500; color: var(--tinte-leise); font-size: 0.8125rem; }
.eingabe input, .eingabe textarea {
  width: 100%; padding: 10px 0 9px; border: 0; border-bottom: 2px solid var(--tinte); border-radius: 0;
  background: none; font-size: 1.125rem; font-weight: 500; line-height: 1.4;
}
.eingabe textarea { min-height: 6.6em; resize: vertical; }
.eingabe input::placeholder, .eingabe textarea::placeholder { color: #9a9fa9; opacity: 1; }
.eingabe input:focus, .eingabe textarea:focus { outline: none; border-bottom-color: var(--blau); box-shadow: 0 2px 0 0 var(--blau); }
.eingabe .auswahl { border-bottom-color: var(--tinte); font-size: 1.125rem; font-weight: 500; }
.eingabe .fehler { font-size: 0.875rem; font-weight: 600; color: #b3261e; }
.eingabe input[aria-invalid="true"], .eingabe textarea[aria-invalid="true"] { border-bottom-color: #b3261e; }
.topf { position: absolute; left: -9999px; }
.formular-fuss { display: grid; gap: 14px; justify-items: start; }
.rueckmeldung { display: grid; gap: 14px; padding: clamp(18px, 2.6vw, 28px); border: 1.5px solid var(--tinte); }
.rueckmeldung textarea {
  width: 100%; min-height: 9em; padding: 12px; border: 1px solid var(--haarlinie); border-radius: 0; background: var(--bett);
  font-size: 0.9375rem; line-height: 1.5; resize: vertical;
}
@media (min-width: 960px) { .anfrage-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 5vw, 96px); } }

/* ───────── Kaffee ───────── */
.kaffee { display: grid; gap: 22px; align-items: center; padding-block: clamp(26px, 4vw, 44px); border-top: 1px solid var(--haarlinie); }
.kaffee-text { display: grid; gap: 16px; justify-items: start; }
.kaffee img { width: 132px; height: 132px; }
@media (min-width: 640px) { .kaffee { grid-template-columns: minmax(0, 1fr) auto; } }

/* ───────── Fuß ───────── */
.fuss { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(30px, 4vw, 48px); }
.fuss-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 30px clamp(20px, 4vw, 60px); margin-top: clamp(30px, 4vw, 52px); }
.fuss h2 { margin-bottom: 10px; font-size: var(--g-klein); font-weight: 600; color: var(--tinte-leise); }
.fuss p, .fuss li { font-size: 0.9688rem; line-height: 1.6; }
.fuss a { color: var(--tinte); text-decoration: none; }
.fuss a:hover { color: var(--blau-tief); text-decoration: underline; }
.fuss-marke { grid-column: 1 / -1; }
.fuss-marke .marke img { height: 46px; }
.fuss-marke .marke-wort b { font-size: 1.66rem; }
.fuss-marke .marke-wort i { font-size: 0.6rem; margin-top: 5px; }
@media (min-width: 860px) { .fuss-marke { grid-column: auto; } }
.fuss-zeile { margin-top: clamp(30px, 4vw, 52px); padding-top: 18px; border-top: 1px solid var(--haarlinie); font-size: 0.8125rem; color: var(--tinte-leise); line-height: 1.55; }

/* ───────── Unterseiten ───────── */
.seitenkopf { padding-top: clamp(18px, 2.4vw, 30px); padding-bottom: clamp(30px, 4.4vw, 60px); }
.seitenkopf .lagen { margin-bottom: clamp(22px, 3vw, 40px); }
.seitenkopf + .abschnitt, .artikel-kopf-bild + .abschnitt { padding-top: 0; }
.seitenkopf .gross { font-size: clamp(2.4rem, 1.2rem + 6.4vw, 6.4rem); line-height: 0.95; text-wrap: balance; max-width: 13ch; overflow-wrap: break-word; }
.seitenkopf .gross.lang { font-size: clamp(2rem, 1.1rem + 4.4vw, 4.4rem); max-width: 18ch; line-height: 1; }
.seitenkopf .einstieg, .seitenkopf .klein { margin-top: clamp(20px, 2.8vw, 34px); }
.brot { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 18px; font-size: var(--g-klein); color: var(--tinte-leise); }
.brot a { color: var(--tinte-leise); }

.text { display: grid; gap: 1.05em; max-width: 41em; text-wrap: pretty; }
.text h2 { margin-top: 0.9em; font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.8rem); font-weight: 800; font-stretch: 112%; line-height: 1.18; letter-spacing: -0.012em; text-wrap: balance; }
.text h3 { margin-top: 0.6em; font-size: 1.2rem; }
.text ul { display: grid; gap: 0.5em; }
.text ul li { position: relative; padding-left: 1.5em; }
.text ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.8em; height: 3px; border-radius: 9px; background: var(--lage-7); }
.text ul li:nth-child(3n + 1)::before { background: var(--lage-1); }
.text ul li:nth-child(3n + 2)::before { background: var(--lage-4); }
.text ol { display: grid; gap: 0.5em; padding-left: 1.4em; list-style: decimal; }
.text strong { font-weight: 700; }
.nachtrag { padding: 16px 20px; background: var(--bett); font-size: 0.9688rem; line-height: 1.5; }

/* Über uns */
.wer-raster { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .wer-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 5vw, 88px); } }
.wer-raster .buehne-flaeche { max-width: 520px; }
.zettel { display: grid; gap: clamp(18px, 2.4vw, 26px); max-width: 46em; padding: clamp(24px, 4vw, 52px); background: var(--bett); }
.zettel .ansage { font-size: var(--g-klein); font-weight: 600; color: var(--tinte-leise); }
.zettel h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.zettel p span { display: block; }
.zettel .trio { display: grid; gap: 10px; counter-reset: kopf; }
.zettel .trio li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: baseline; font-weight: 600; }
.zettel .trio li::before { content: ""; height: 6px; border-radius: 9px; background: var(--lage-1); align-self: center; }
.zettel .trio li:nth-child(2)::before { background: var(--lage-4); }
.zettel .trio li:nth-child(3)::before { background: var(--lage-7); }
.zettel .motto { font-size: var(--g-h3); font-weight: 800; font-stretch: 112%; line-height: 1.18; }
.nach-zettel { display: grid; gap: 10px; max-width: 41em; margin-top: clamp(22px, 3vw, 34px); }
.nach-zettel .einstieg { font-weight: 700; }

/* News */
.news-liste { border-top: 2px solid var(--tinte); }
.news-eintrag { display: grid; gap: 18px clamp(20px, 4vw, 56px); padding: clamp(26px, 3.6vw, 44px) 0; border-bottom: 1px solid var(--haarlinie); align-items: start; }
.news-bild { display: block; width: 100%; max-width: 300px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bett); }
.news-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--weich); }
.news-bild:hover img { transform: scale(1.04); }
.news-bild.zeichnung { display: grid; place-items: center; background: none; aspect-ratio: auto; max-width: 150px; }
.news-bild.zeichnung svg { width: 100%; }
.news-text { display: grid; gap: 12px; align-content: start; }
.news-text h2 { font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.3rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.018em; line-height: 1.08; text-wrap: balance; }
.news-text h2 a { color: var(--tinte); text-decoration: none; }
.news-text h2 a:hover { color: var(--blau-tief); }
.meta { font-size: var(--g-klein); color: var(--tinte-leise); font-weight: 500; }
@media (min-width: 760px) { .news-eintrag { grid-template-columns: 220px minmax(0, 1fr); } .news-bild.zeichnung { max-width: 170px; } }

.artikel-kopf-bild { margin-bottom: clamp(28px, 4vw, 52px); }
.artikel-kopf-bild img { width: 100%; max-height: 640px; object-fit: cover; }
.artikel-raster { display: grid; gap: clamp(28px, 5vw, 60px); align-items: start; }
.artikel-zeichen { width: clamp(110px, 20vw, 210px); }
@media (min-width: 900px) { .artikel-raster { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(28px, 6vw, 110px); } .artikel-zeichen { position: sticky; top: calc(var(--kopf-hoehe) + 40px); justify-self: end; } }
.artikel-fuss { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 80px); padding-top: 24px; border-top: 2px solid var(--tinte); }
.blaettern { display: grid; gap: 22px; }
.blaettern a { display: grid; gap: 4px; color: var(--tinte); text-decoration: none; }
.blaettern a span { font-size: var(--g-klein); color: var(--tinte-leise); font-weight: 600; }
.blaettern a b { font-size: 1.15rem; font-weight: 800; font-stretch: 112%; line-height: 1.2; text-wrap: balance; }
.blaettern a:hover b { color: var(--blau-tief); }
@media (min-width: 700px) { .blaettern { grid-template-columns: 1fr 1fr; } .blaettern .vor { text-align: right; } }

/* Rechtliches */
.recht-raster { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
.recht-inhalt { display: grid; gap: clamp(28px, 3.6vw, 44px); min-width: 0; }
.recht-inhalt section { display: grid; gap: 0.95em; max-width: 42em; scroll-margin-top: calc(var(--kopf-hoehe) + 24px); text-wrap: pretty; }
.recht-inhalt h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); font-weight: 800; font-stretch: 112%; line-height: 1.2; letter-spacing: -0.01em; }
.recht-inhalt ul { display: grid; gap: 0.4em; padding-left: 1.3em; list-style: disc; }
.verzeichnis { display: grid; gap: 2px; padding: 18px 0; border-block: 1px solid var(--haarlinie); font-size: 0.9375rem; }
.verzeichnis a { display: block; padding: 5px 0; color: var(--tinte); text-decoration: none; line-height: 1.35; }
.verzeichnis a:hover { color: var(--blau-tief); text-decoration: underline; }
.angaben { display: grid; gap: 22px; max-width: 42em; }
.angaben div { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--haarlinie); }
.angaben dt { font-size: var(--g-klein); font-weight: 600; color: var(--tinte-leise); }
.angaben dd { font-size: 1.2rem; font-weight: 700; font-stretch: 106%; }
.angaben a { color: var(--tinte); }
.stand { font-size: var(--g-klein); color: var(--tinte-leise); line-height: 1.6; max-width: 46em; padding-top: 20px; border-top: 1px solid var(--haarlinie); }
@media (min-width: 960px) {
  .recht-raster { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(28px, 5vw, 88px); }
  .verzeichnis { position: sticky; top: calc(var(--kopf-hoehe) + 28px); max-height: calc(100vh - var(--kopf-hoehe) - 56px); overflow: auto; border: 0; padding: 0; }
}

/* 404 */
.fehldruck { display: grid; gap: clamp(22px, 3vw, 34px); justify-items: start; padding-block: clamp(30px, 6vw, 90px) var(--abschnitt); }
.fehldruck .scheiben { width: min(100%, 560px); }

/* ───────── Nur mit JavaScript ─────────
   Bedienelemente, die ohne Skript nichts täten, erscheinen auch nur mit Skript. Steht am Ende,
   damit es über den allgemeinen Knopf-Regeln liegt. */
.buehne-leiste .wahl, [data-kopieren], .nur-js { display: none; }
.js .buehne-leiste .wahl, .js [data-kopieren] { display: inline-flex; }
.js .nur-js { display: block; }
/* Das Anfrageformular braucht das Skript. Ohne Skript steht direkt davor die E-Mail-Adresse (.ohne-js). */
html:not(.js) #anfrage-formular { display: none; }

/* ───────── Bewegung reduzieren ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
}

/* ───────── Druck ───────── */
@media print {
  .kopf, .fuss-raster, .stapel, .kaffee, .knopf, .verzeichnis, .blaettern, .buehne { display: none !important; }
  body { font-size: 11pt; }
  .abschnitt { padding-block: 18pt; }
  a { color: inherit; text-decoration: none; }
}
