/* NOKK (Beispiel) · Street Art Wien
   Welt: Sichtbeton-Anthrazit, Knochenweiß für Text, ein Zinnober-Sprühlack als einziger Akzent.
   Schriften: Anybody (Überschriften, schmal und fett), Schibsted Grotesk (Text), Chivo Mono (nur Maße mit Einheit).
   Ecken: überall eckig. Linienwerk: Maßketten wie in einer Ansichtszeichnung. */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("../fonts/chivo-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --grund: #202324;
  --grund-tief: #1a1c1d;
  --grund-hoch: #282b2c;
  --feld: #161818;
  --linie: #3d4142;
  --linie-hell: #61676a;
  --text: #ece8e0;
  --text-leise: #b3b4af;
  --text-still: #979994;
  --akzent: #f65a38;
  --akzent-hell: #ff7653;
  --akzent-text: #ff8a6e;
  --auf-akzent: #1b1c1c;

  --anzeige: "Anybody", "Arial Narrow", sans-serif;
  --fliess: "Schibsted Grotesk", system-ui, sans-serif;
  --mass: "Chivo Mono", ui-monospace, "Cascadia Mono", monospace;

  --breite: 84rem;
  --rand: clamp(1rem, 4.2vw, 3rem);
  --kopfzeile: 4.25rem;
  --raus: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopfzeile) + 1rem);
  scrollbar-color: #4b5051 var(--grund-tief);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--fliess);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--akzent);
  overflow-x: clip;
}

::selection { background: var(--akzent); color: var(--auf-akzent); }

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

input, button, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration-color: var(--akzent); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }

.sprung {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--akzent);
  color: var(--auf-akzent);
  font-weight: 700;
  text-decoration: none;
}
.sprung:focus { top: 1rem; }

.rahmen {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* ---------- Knopf ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.65rem;
  border: 0;
  border-radius: 0;
  background: var(--akzent);
  color: var(--auf-akzent);
  font-family: var(--anzeige);
  font-weight: 800;
  font-stretch: 92%;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.9);
  transition: transform 160ms var(--raus), background-color 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: var(--akzent-hell); box-shadow: 0 18px 32px -18px rgba(0, 0, 0, 0.95); }
}
.knopf:active { transform: scale(0.97); }
.knopf:focus-visible { outline-color: var(--text); }
.knopf--klein { min-height: 2.75rem; padding: 0.55rem 1rem; font-size: 0.95rem; box-shadow: none; }
.knopf--voll { width: 100%; }

/* ---------- Kopfzeile ---------- */

.kopfzeile {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--kopfzeile);
  background: rgba(26, 28, 29, 0.96);
  border-bottom: 1px solid var(--linie);
  transition: background-color 300ms ease, border-color 300ms ease;
}
.js .kopfzeile:not(.fest) { background: rgba(26, 28, 29, 0); border-bottom-color: transparent; }
.kopfzeile-innen {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}
.marke {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--anzeige);
  font-weight: 900;
  font-stretch: 78%;
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
}
.menue { margin-left: auto; }
.menue ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.menue a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--akzent), var(--akzent)) left 100% / 0 2px no-repeat;
  transition: background-size 220ms var(--raus);
}
@media (hover: hover) and (pointer: fine) {
  .menue a:hover { background-size: 100% 2px; }
}
@media (max-width: 47.99rem) {
  .menue { display: none; }
  .kopfzeile .knopf--klein { margin-left: auto; }
}

/* ---------- Kopf: die Wand ---------- */

.kopf {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--kopfzeile) + clamp(1.75rem, 6vh, 4.5rem)) var(--rand) clamp(3.5rem, 9vh, 6rem);
  overflow: hidden;
  background: #232627;
}
html:not(.js) .kopf,
.kein-gl .kopf {
  background: #2a2d2e url("../bilder/beton.webp") center / cover no-repeat;
}
.kopf-marke { position: absolute; top: 3.5rem; left: 0; width: 1px; height: 1px; pointer-events: none; }
.kopf-wand {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.kopf-inhalt { width: 100%; max-width: calc(var(--breite) - 2 * var(--rand)); margin-inline: auto; }

.kopf-titel { container-type: inline-size; font-weight: inherit; }
.kopf-vor {
  display: block;
  font-family: var(--anzeige);
  font-weight: 760;
  font-stretch: 86%;
  font-size: clamp(1.45rem, 0.95rem + 2vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 2px rgba(10, 11, 11, 0.55);
}
.kopf-name {
  display: block;
  width: min(100%, 74rem);
  aspect-ratio: 3.05 / 1;
  margin-top: clamp(0.4rem, 1.6vh, 1rem);
  font-family: var(--anzeige);
  font-weight: 900;
  font-stretch: 84%;
  font-size: min(25.5cqi, 18.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--akzent);
  text-shadow: 0 0 0.04em rgba(246, 90, 56, 0.5), 0.025em 0.04em 0.06em rgba(10, 11, 11, 0.75);
  white-space: nowrap;
}
.js .kopf-name { color: transparent; text-shadow: none; }
.js.kein-gl .kopf-name { color: var(--akzent); text-shadow: 0 0 0.04em rgba(246, 90, 56, 0.5), 0.025em 0.04em 0.06em rgba(10, 11, 11, 0.75); }

.kopf-unten {
  display: grid;
  grid-template-columns: minmax(0, 31rem) minmax(0, 24rem);
  gap: 1.25rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(2rem, 6vh, 4rem);
}
.kopf-satz {
  font-size: clamp(1.05rem, 0.96rem + 0.42vw, 1.28rem);
  line-height: 1.5;
  max-width: 36ch;
  text-shadow: 0 1px 2px rgba(10, 11, 11, 0.6);
}
.kopf-handlung { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.kopf-sicher {
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(10, 11, 11, 0.6);
}
.kopf-beleg {
  grid-column: 1 / -1;
  font-size: 0.9375rem;
  text-shadow: 0 1px 2px rgba(10, 11, 11, 0.6);
}
.kopf-beleg strong { font-weight: 700; }

@media (max-width: 47.99rem) {
  .kopf { align-items: start; }
  .kopf-unten { grid-template-columns: minmax(0, 1fr); }
  .kopf-beleg { grid-column: auto; }
}

/* ---------- Abschnitte ---------- */

main > section:not(.kopf) { padding-block: clamp(4.5rem, 9vw, 8.5rem); }

h2 {
  font-family: var(--anzeige);
  font-weight: 860;
  font-stretch: 72%;
  font-size: clamp(2.35rem, 1.35rem + 3.7vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  max-width: 15ch;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}
h3 {
  font-family: var(--anzeige);
  font-weight: 780;
  font-stretch: 86%;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.einleitung {
  max-width: 50ch;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  color: var(--text-leise);
  text-wrap: pretty;
}

/* ---------- Maßkette (Linienwerk der Seite) ---------- */

.masskette {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.1rem;
  margin-top: 0.85rem;
  font-family: var(--mass);
  font-size: 0.75rem;
  color: var(--text-leise);
}
.masskette::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 0;
  border-top: 1px solid var(--linie-hell);
}
.masskette::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--linie-hell), var(--linie-hell)) left center / 1px 100% no-repeat,
    linear-gradient(var(--linie-hell), var(--linie-hell)) right center / 1px 100% no-repeat;
}
.masskette span { position: relative; z-index: 1; padding-inline: 0.65rem; background: var(--grund); }
.js .masskette::before { transform: scaleX(0); transition: transform 900ms var(--raus); }
.js .masskette::after,
.js .masskette span { opacity: 0; transition: opacity 400ms ease 500ms; }
.js .masskette.sichtbar::before { transform: scaleX(1); }
.js .masskette.sichtbar::after,
.js .masskette.sichtbar span { opacity: 1; }

/* ---------- Wände ---------- */


.wand { margin: 0; }
.wand-bild img { width: 100%; background: var(--grund-hoch); }
.wand-text p { color: var(--text-leise); max-width: 42ch; }
.werte {
  display: grid;
  gap: 0.35rem;
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--linie);
}
.werte div { display: grid; grid-template-columns: 6.25rem 1fr; gap: 0.75rem; align-items: baseline; }
.werte dt { font-size: 0.85rem; color: var(--text-still); }
.werte dd { margin: 0; font-size: 0.975rem; }

/* Kopf des Abschnitts links über der Beschriftung, die große Feuermauer läuft rechts aus dem Raster bis an den Bildrand */
.waende-oben {
  display: grid;
  padding-left: max(var(--rand), calc((100% - var(--breite)) / 2 + var(--rand)));
  grid-template-columns: minmax(15rem, 24rem) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(1.5rem, 3.5vw, 3.5rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.waende-kopf { grid-column: 1; grid-row: 1; }
.wand--gross {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}
.wand--gross .wand-text { grid-column: 1; grid-row: 2; align-self: end; padding: 2rem 0 2.4rem; }
.wand--gross .wand-bild { grid-column: 2; grid-row: 1 / 3; }
.wand--gross .masskette { margin-right: var(--rand); }

.waende-raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: start;
}
.waende-raster .wand-text { margin-top: 1.4rem; }
.wand--lokal { grid-column: 1 / span 7; }
.wand--rollbalken { grid-column: 9 / span 4; margin-top: clamp(4rem, 12vw, 10rem); }
.wand--schulhof { grid-column: 3 / span 10; }

@media (max-width: 56rem) {
  .waende-oben { display: block; padding-left: 0; }
  .waende-kopf { padding-inline: var(--rand); margin-bottom: 2.5rem; }
  .wand--gross { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .wand--gross .wand-bild { grid-column: 1; grid-row: 1; }
  .wand--gross .masskette { margin-inline: var(--rand); }
  .wand--gross .wand-text { grid-column: 1; grid-row: 2; padding: 1.4rem var(--rand) 0; }
  .waende-raster { grid-template-columns: minmax(0, 1fr); }
  .wand--lokal, .wand--rollbalken, .wand--schulhof { grid-column: 1; margin-top: 0; }
}

/* ---------- Ablauf ---------- */

/* der Beton der Kopfwand setzt sich hier fort: dieselbe Wand, stark abgedunkelt, mit Schalungsfugen */
.ablauf,
.anfrage {
  background-color: var(--grund-tief);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(26, 28, 29, 0.8), rgba(26, 28, 29, 0.8)),
    url("../bilder/beton.webp");
  background-size: 640px 320px, 640px 320px, auto, 1600px auto;
  background-position: -120px -60px, -120px -60px, 0 0, center top;
}
.ablauf { border-block: 1px solid #2a2d2e; }
.ablauf-kopf {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.ablauf-bild { margin: 0; }
.ablauf-bild figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--text-still); }

.plan { margin: 0; padding: 0; list-style: none; }
.plan li {
  display: grid;
  grid-template-columns: minmax(10rem, 18rem) 6.5rem minmax(0, 1fr);
  align-items: center;
  column-gap: 1.25rem;
  min-height: 3rem;
}
.plan-name { font-size: 1rem; }
.plan-zeit { font-family: var(--mass); font-size: 0.78rem; color: var(--text-leise); white-space: nowrap; }
.plan-zeile { position: relative; }
.plan-zeile::after {
  content: "";
  grid-column: 3;
  grid-row: 1;
  align-self: stretch;
  background-image: linear-gradient(to right, #2f3334 1px, transparent 1px);
  background-size: calc(100% / 17) 100%;
  border-right: 1px solid #2f3334;
}
.plan-balken {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  z-index: 1;
  height: 0.85rem;
  background: var(--text-leise);
  transform-origin: left center;
}
.plan-zeile--spruehen .plan-balken { background: var(--akzent); height: 1.15rem; }
.plan-zeile--spruehen .plan-name { font-weight: 700; }
.plan-zeile[data-schritt="1"] .plan-balken { margin-left: 0; width: calc(100% / 17); }
.plan-zeile[data-schritt="2"] .plan-balken { margin-left: calc(100% / 17 * 2); width: calc(100% / 17); }
.plan-zeile[data-schritt="3"] .plan-balken { margin-left: calc(100% / 17 * 2); width: calc(100% / 17 * 5); }
.plan-zeile[data-schritt="4"] .plan-balken { margin-left: calc(100% / 17 * 7); width: calc(100% / 17 * 3); }
.plan-zeile[data-schritt="5"] .plan-balken { margin-left: calc(100% / 17 * 11); width: calc(100% / 17); }
.plan-zeile[data-schritt="6"] .plan-balken { margin-left: calc(100% / 17 * 12); width: calc(100% / 17 * 4); }
.plan-zeile[data-schritt="7"] .plan-balken { margin-left: calc(100% / 17 * 16); width: calc(100% / 17); }
.plan-kopf { min-height: 2rem !important; }
.plan-tage {
  grid-column: 3;
  position: relative;
  align-self: end;
  height: 1.9rem;
  margin-bottom: 0.35rem;
  font-family: var(--mass);
  font-size: 0.72rem;
  color: var(--text-still);
}
.plan-tage span { position: absolute; top: 0; transform: translateX(-50%); }
.plan-tage span::after { content: ""; position: absolute; left: 50%; top: calc(100% + 0.2rem); height: 0.35rem; border-left: 1px solid var(--linie-hell); }
.plan-tage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.6rem;
  border-bottom: 1px solid var(--linie-hell);
  background:
    linear-gradient(var(--linie-hell), var(--linie-hell)) left bottom / 1px 100% no-repeat,
    linear-gradient(var(--linie-hell), var(--linie-hell)) right bottom / 1px 100% no-repeat;
}
.plan-tage span:nth-child(1) { left: calc(100% / 17 * 0.5); }
.plan-tage span:nth-child(2) { left: calc(100% / 17 * 4.5); }
.plan-tage span:nth-child(3) { left: calc(100% / 17 * 9.5); }
.plan-tage span:nth-child(4) { left: calc(100% / 17 * 14.5); }
.plan-tage span:nth-child(5) { left: calc(100% / 17 * 16.5); }
.js .plan .plan-balken { transform: scaleX(0); transition: transform 700ms var(--raus); }
.js .plan.sichtbar .plan-balken { transform: scaleX(1); }
.plan.sichtbar li:nth-child(3) .plan-balken { transition-delay: 120ms; }
.plan.sichtbar li:nth-child(4) .plan-balken { transition-delay: 240ms; }
.plan.sichtbar li:nth-child(5) .plan-balken { transition-delay: 360ms; }
.plan.sichtbar li:nth-child(6) .plan-balken { transition-delay: 480ms; }
.plan.sichtbar li:nth-child(7) .plan-balken { transition-delay: 600ms; }
.plan.sichtbar li:nth-child(8) .plan-balken { transition-delay: 720ms; }
.plan-fuss { margin-top: 1.75rem; max-width: 60ch; font-size: 0.95rem; color: var(--text-leise); }

@media (max-width: 56rem) {
  .ablauf-kopf { grid-template-columns: minmax(0, 1fr); }
  .ablauf-bild { max-width: 30rem; }
  .plan li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.4rem; padding-block: 0.55rem; }
  .plan-zeile::after, .plan-balken, .plan-tage { grid-column: 1 / -1; grid-row: 2; }
  .plan-zeile::after { min-height: 1.15rem; }
  .plan-kopf .plan-name { display: none; }
  .plan-tage { grid-row: 1; }
}

/* ---------- Preise ---------- */

.preise-raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.preisliste { margin: 2.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.preisliste li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 1.1rem;
}
.preisliste li + li { border-top: 1px solid var(--linie); }
.preis-art { display: flex; flex-direction: column; gap: 0.15rem; font-size: 1.075rem; font-weight: 600; }
.preis-art small, .preis-wert small { font-size: 0.875rem; font-weight: 400; color: var(--text-still); }
.preis-wert {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--anzeige);
  font-weight: 820;
  font-stretch: 80%;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.preis-wert small { font-family: var(--mass); font-size: 0.75rem; margin-top: 0.35rem; }
.preisliste li.preisliste-extra { border-top-style: dashed; }
.preisliste-extra .preis-wert { color: var(--akzent); }
.preise-fuss { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-still); }

.rechner {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--grund-hoch);
  border: 1px solid var(--linie);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}
.rechner-titel { margin-bottom: 1.25rem; }
.rechner-label { display: block; font-size: 0.9rem; color: var(--text-leise); }
.rechner-zeile { display: flex; align-items: center; gap: 1.25rem; margin-top: 0.6rem; }
.rechner-m2 {
  min-width: 5.5ch;
  font-family: var(--anzeige);
  font-weight: 820;
  font-stretch: 80%;
  font-size: 2rem;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rechner-spur { flex: 1; min-width: 0; }
.rechner-regler {
  --anteil: 15%;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.rechner-regler::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(to right, var(--akzent) var(--anteil), var(--linie-hell) var(--anteil));
}
.rechner-regler::-moz-range-track { height: 2px; background: var(--linie-hell); }
.rechner-regler::-moz-range-progress { height: 2px; background: var(--akzent); }
.rechner-regler::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: calc(-0.7rem + 1px);
  background: var(--akzent);
  border: 3px solid var(--grund-hoch);
  outline: 1px solid var(--akzent);
  border-radius: 0;
  transition: transform 160ms var(--raus);
}
.rechner-regler::-moz-range-thumb {
  width: 1.1rem;
  height: 1.1rem;
  background: var(--akzent);
  border: 3px solid var(--grund-hoch);
  outline: 1px solid var(--akzent);
  border-radius: 0;
}
.rechner-regler:active::-webkit-slider-thumb { transform: scale(1.12); }
.rechner-skala {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 1.1rem;
  margin-top: 0.15rem;
  font-family: var(--mass);
  font-size: 0.72rem;
  color: var(--text-still);
}
.rechner-skala::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.45rem;
  background:
    linear-gradient(var(--linie-hell), var(--linie-hell)) left top / 1px 100% no-repeat,
    linear-gradient(var(--linie-hell), var(--linie-hell)) right top / 1px 100% no-repeat;
}
.rechner-skala span { padding-top: 0.5rem; }
.rechner-regler:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; }
.rechner-ergebnis { display: grid; gap: 0.6rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
.rechner-ergebnis div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.rechner-ergebnis dt { font-size: 0.975rem; color: var(--text-leise); }
.rechner-ergebnis dd {
  margin: 0;
  font-family: var(--anzeige);
  font-weight: 780;
  font-stretch: 84%;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.rechner-fuss { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-still); }

@media (max-width: 56rem) {
  .preise-raster { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Workshops ---------- */

.workshops-raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.workshops-bild { margin: 0; }
.workshops-bild img { width: 100%; }
.termine { margin: 2.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.termine li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
}
.termine li + li { border-top: 1px solid var(--linie); }
.termin-tag {
  font-family: var(--anzeige);
  font-weight: 830;
  font-stretch: 78%;
  font-size: 1.85rem;
  line-height: 1;
}
.termin-was { display: flex; flex-direction: column; gap: 0.15rem; font-weight: 600; }
.termin-was small { font-size: 0.875rem; font-weight: 400; color: var(--text-still); }
.termin-platz { font-size: 0.9rem; font-weight: 600; color: var(--akzent-text); white-space: nowrap; }
.termin-platz--voll { color: var(--text-still); }
.workshops-fuss { margin-top: 1.4rem; font-size: 0.95rem; color: var(--text-leise); max-width: 58ch; }
.workshops-schule {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--grund-hoch);
  font-size: 0.975rem;
  max-width: 58ch;
}

@media (max-width: 56rem) {
  .workshops-raster { grid-template-columns: minmax(0, 1fr); }
  .workshops-bild { max-width: 26rem; }
}
@media (max-width: 30rem) {
  .termine li { grid-template-columns: minmax(0, 1fr) auto; }
  .termin-tag { grid-column: 1 / -1; }
}

/* ---------- Anfrage ---------- */

.anfrage { border-top: 1px solid #2a2d2e; }
.anfrage-raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.anfrage-direkt { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.anfrage-direkt p:first-child { color: var(--text-leise); }
.anfrage-telefon {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.35rem;
  font-family: var(--anzeige);
  font-weight: 830;
  font-stretch: 82%;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  color: var(--akzent);
  text-decoration: none;
}
.anfrage-zeiten { margin-top: 0.4rem; font-size: 0.95rem; color: var(--text-leise); }
.anfrage-mail { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.95rem; }

.formular { display: grid; gap: 1.25rem; }
.feld { display: grid; gap: 0.4rem; align-content: start; }
.feld-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.feld label { font-size: 0.95rem; font-weight: 600; }
.feld input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--linie-hell);
  border-radius: 0;
  background: var(--feld);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.feld input:hover { border-color: #7d8486; }
.feld input:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent); }
.feld input[aria-invalid="true"] { border-color: var(--akzent-text); }
.feld input::-webkit-outer-spin-button,
.feld input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.feld input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.feld-hilfe { font-size: 0.85rem; color: var(--text-still); }
.feld-fehler { font-size: 0.875rem; color: var(--akzent-text); }
.formular .knopf { margin-top: 0.5rem; }
.formular-status { min-height: 1.5rem; font-size: 0.95rem; }
.formular-status--ok {
  padding: 1rem 1.15rem;
  border-left: 1px solid var(--akzent);
  background: var(--grund-hoch);
}
@media (prefers-reduced-motion: no-preference) {
  .formular-status--ok { animation: status-ein 240ms cubic-bezier(0.23, 1, 0.32, 1); }
}
@keyframes status-ein { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 56rem) {
  .anfrage-raster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 30rem) {
  .feld-paar { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Fußzeile ---------- */

.fuss { padding: 2.25rem 0 0.75rem; border-top: 1px solid var(--linie); }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 2rem; }
.fuss-betreiber { font-size: 0.925rem; color: var(--text-leise); max-width: 60ch; }
.fuss-betreiber strong { color: var(--text); font-weight: 600; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.925rem; }
.fuss-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.fuss-zeile {
  width: 100%;
  max-width: none;
  margin: 1.75rem 0 0;
  padding-inline: var(--rand);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-still);
}
.fuss-zeile a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ---------- Bewegung reduziert ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0ms !important; animation: none !important; }
  .js .masskette::before, .js .plan .plan-balken { transform: none; }
  .js .masskette::after, .js .masskette span { opacity: 1; }
}

/* ---------- Rechtliches ---------- */

.recht-zurueck { margin-left: auto; }
.recht-inhalt { padding-top: calc(var(--kopfzeile) + clamp(3rem, 8vw, 5.5rem)); padding-bottom: clamp(4rem, 8vw, 6rem); }
.recht-inhalt h1 {
  font-family: var(--anzeige);
  font-weight: 860;
  font-stretch: 72%;
  font-size: clamp(2.35rem, 1.35rem + 3.7vw, 4.4rem);
  line-height: 0.95;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.recht-inhalt section { margin-top: clamp(3rem, 6vw, 4.5rem); max-width: 46rem; }
.recht-inhalt h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.recht-inhalt h3 { margin-top: 1.75rem; font-size: 1.25rem; }
.recht-inhalt section p { color: var(--text-leise); margin-top: 0.5rem; }
.recht-liste { display: grid; gap: 0.45rem; margin: 1.25rem 0; padding-top: 1rem; border-top: 1px solid var(--linie); }
.recht-liste div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.recht-liste dt { font-family: var(--mass); font-size: 0.8rem; color: var(--text-still); padding-top: 0.2rem; }
.recht-liste dd { margin: 0; }
@media (max-width: 30rem) { .recht-liste div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } }
