/* ==== 00-base.css ==== */
/* Farbmühle Gerstenau – Beispiel-Website (fiktiver Betrieb), Stil aus MXL-002 (Mika UX Library).
   Grundlage: graue Wand, Ink, eine Schrift, keine Akzentfarbe, keine Rundungen, keine Schatten,
   keine Rahmen. Farbe kommt nur aus Produktbildern und Farbfeldern.
   Seiten-Agenten hängen ihre Abschnitte am Ende an (je ein Kommentar /* == <seite> == *\/). */

/* == Schriften == */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* == Tokens == */
:root {
  --wand: #dedede;            /* Seitenhintergrund, überall */
  --ink: #515151;             /* Text, 5,9:1 auf --wand */
  --ink-meta: #5c5c5c;        /* hellster erlaubter Ton für kleine Meta-Texte (4,9:1) */
  --studio: #fbfbfb;          /* Eingabe-/Tabellenkopf-Flächen, Text auf Ink */
  --schwarz: #030303;         /* nur Fokusring und dunkle Bildflächen */
  --linie: rgb(81 81 81 / .3);/* leise Trennlinie (Ink), nur wo Lesbarkeit sie braucht */
  --linie-stark: var(--ink);

  --rand: clamp(16px, 2.4vw, 34px);
  --spalt: 20px;
  --klick: 44px;

  --schrift: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --fs-nav: clamp(18px, 1.8vw, 22px);
  --fs-zeile: 13px;
  --fs-text: 16px;
  --fs-lese: 18px;
  --fs-h1: clamp(30px, 3.2vw, 42px);
  --fs-zitat: clamp(20px, 1.75vw, 25px);
  --sperr-nav: .04em;
  --sperr-zeile: .05em;

  --dauer: 180ms;
  --kurve: cubic-bezier(.2, .7, .2, 1);

  --banner-h: 0px;            /* Höhe des Einwilligungs-Banners, setzt fm-core.js */

  --licht-farbe: transparent;
  --licht-op: 0;
  --licht-dunkel: 0;

  color-scheme: light;
  accent-color: var(--ink);
  scrollbar-color: #6e6e6e var(--wand);
}

/* Lichtprobe: Lichtfarbe je Stufe (Wert am <html data-licht>) */
:root[data-licht="nordfenster"] {
  --licht-farbe: #c7d3e3;
  --licht-op: .55;
  --licht-dunkel: 0;
}
:root[data-licht="lampe"] {
  --licht-farbe: #f2b979;
  --licht-op: .45;
  --licht-dunkel: .08;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--wand);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--wand);
  color: var(--ink);
  font-family: var(--schrift);
  font-size: var(--fs-text);
  font-weight: 400;
  line-height: 1.5;
  font-synthesis: none;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--ink);
  accent-color: var(--ink);
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
  display: block;
  padding: 20px var(--rand) 0;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, fieldset, address {
  margin: 0;
}

address {
  font-style: normal;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.012em;
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-nav);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-nav);
  text-wrap: balance;
}

h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

h4, h5, h6 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

b, strong {
  font-weight: 700;
}

small {
  font-size: 13px;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  transition: opacity 120ms var(--kurve);
}

a:hover {
  opacity: .72;
}

button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: opacity 120ms var(--kurve);
}

button:disabled {
  cursor: not-allowed;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

hr {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--linie);
}

[hidden] {
  display: none !important;
}

html.fm-gesperrt,
html.fm-gesperrt body {
  overflow: hidden;
}

/* bis fm-core.js die gewählte Sprache angewendet hat (max. 1,5 s, siehe Inline-Script) */
html.fm-i18n-warten body {
  visibility: hidden;
}

/* == Browser-Flächen == */
::selection {
  background: var(--ink);
  color: var(--studio);
}

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

:focus:not(:focus-visible) {
  outline: none;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--wand);
}
::-webkit-scrollbar-thumb {
  background: #6e6e6e;
  border: 3px solid var(--wand);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}

/* == Hilfsklassen == */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Abstand zwischen Geschwistern. Bausteine setzen selbst nie margin-top, damit .stapel greift. */
.stapel > * + * {
  margin-top: var(--stapel, 16px);
}
.stapel--eng {
  --stapel: 8px;
}
.stapel--weit {
  --stapel: 32px;
}
.stapel--sehr-weit {
  --stapel: clamp(48px, 6vw, 80px);
}

.zahl {
  font-variant-numeric: tabular-nums;
}

.klein {
  font-size: 13px;
  line-height: 1.45;
}

.versal {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.vorspann {
  font-size: var(--fs-lese);
  line-height: 1.5;
  max-width: 52ch;
}

.demo-hinweis {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-meta);
  max-width: 60ch;
}

.demo-hinweis strong,
.demo-hinweis b {
  color: var(--ink);
}

.etikett {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  background: var(--ink);
  color: var(--studio);
  white-space: nowrap;
}

.etikett--leise {
  background: transparent;
  color: var(--ink);
  padding-inline: 0;
}

.vollbreit {
  margin-inline: calc(var(--rand) * -1);
}

/* == Icons == */
.i {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  overflow: visible;
}

.i--klein {
  width: 18px;
  height: 18px;
}

.i--voll {
  fill: currentColor;
}

.sterne {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.sterne .i {
  width: 16px;
  height: 16px;
}

/* == Skip-Link == */
.skip {
  position: absolute;
  top: 8px;
  left: var(--rand);
  z-index: 1000;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--studio);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: none;
  transform: translateY(calc(-100% - 16px));
}

.skip:focus,
.skip:focus-visible {
  transform: none;
  opacity: 1;
}

/* == Kopfzeile == */
.kopf {
  position: relative;
  z-index: 20;
  padding: 28px var(--rand) 0;
}

.kopf__zeile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: end;
}

.marke {
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
}

.marke:hover {
  opacity: .72;
}

.marke__wort {
  font-size: clamp(30px, 3.35vw, 48px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.018em;
  text-transform: uppercase;
  padding-top: .12em;
}

.marke__ort {
  margin-top: .62em;
  font-size: clamp(10px, .92vw, 13px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-align: justify;
  text-align-last: justify;
  hyphens: auto;
  white-space: normal;
}

.kopf__nav {
  grid-column: 2;
}

.kopf__liste {
  display: flex;
  flex-wrap: wrap;
  column-gap: .5em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-nav);
}

.kopf__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--sperr-nav);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.kopf__link[aria-current],
.menue__link[aria-current],
.menue__klein[aria-current],
.fuss__link[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}

.kopf__dienst {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: .5em;
  font-size: var(--fs-nav);
}

.korb-zahl {
  font-variant-numeric: tabular-nums;
}

.kopf__menueknopf {
  display: none;
  width: var(--klick);
  height: var(--klick);
  align-items: center;
  justify-content: center;
  margin-right: -10px;
}

.kopf__menueknopf .i {
  width: 28px;
  height: 28px;
}

/* Sprachwahl im Kopf */
.sprache {
  position: relative;
}

.sprache__knopf {
  justify-content: center;
  min-width: var(--klick);
  margin-inline: -6px;
}

.sprache__knopf[aria-expanded="true"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}

.sprache__liste {
  position: absolute;
  top: calc(100% + 4px);
  right: -16px;
  z-index: 30;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--wand);
  border-top: 1px solid var(--ink);
}

.sprache__wahl {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: var(--klick);
  padding: 0 16px;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

.sprache__kurz {
  width: 2.2em;
  font-size: var(--fs-zeile);
  font-weight: 700;
  letter-spacing: var(--sperr-zeile);
}

.sprache__wahl[aria-pressed="true"] {
  font-weight: 700;
}

.sprache__wahl[aria-pressed="true"]::after {
  content: "";
  width: 16px;
  height: 9px;
  margin-left: auto;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.sprache__wahl:hover {
  opacity: .72;
}

/* == Lichtprobe (Steuerung) == */
.lichtprobe {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: center;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.lichtprobe--kopf {
  margin-top: 16px;
}

.lichtprobe__titel {
  grid-column: 1;
}

.lichtprobe__stufen {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
}

.lichtprobe__stufe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--klick);
  padding: 0 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  white-space: nowrap;
}

.lichtprobe__stufe:hover {
  opacity: .72;
}

.lichtprobe__stufe[aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

.lichtprobe__stufe .i {
  width: 18px;
  height: 18px;
}

.lichtprobe__hinweis {
  grid-column: 3;
  max-width: 46ch;
  justify-self: end;
  font-size: var(--fs-zeile);
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  text-align: right;
  text-wrap: balance;
}

:root[data-licht="mittag"] .lichtprobe--kopf .lichtprobe__hinweis {
  visibility: hidden;
}

.no-js .lichtprobe {
  display: none;
}

/* Lichtprobe als Spalte (z. B. neben dem Produktbild): .lichtprobe--block */
.lichtprobe--block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
}

.lichtprobe--block .lichtprobe__stufen {
  margin-left: -8px;
}

.lichtprobe--block .lichtprobe__hinweis {
  flex-basis: 100%;
  max-width: 52ch;
  justify-self: auto;
  text-align: left;
  padding-top: 4px;
}

/* == Lichtprobe (Überlagerung) == */
.licht {
  position: relative;
  display: block;
  isolation: isolate;
}

.licht::before,
.licht::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity var(--dauer) var(--kurve), background-color var(--dauer) var(--kurve);
}

.licht::before {
  background: #000;
  opacity: var(--licht-dunkel);
}

.licht::after {
  z-index: 2;
  background-color: var(--licht-farbe);
  mix-blend-mode: multiply;
  opacity: var(--licht-op);
}

/* == Farbfeld == */
/* Farbe als Inline-Style: style="--farbe:#7a2b24" (Inhalt, nicht UI). Die graue Kalktextur legt
   sich per Mischmodus darüber: soft-light lässt den Ton bei 50 % Grau unverändert und erzeugt
   nur die wolkige Struktur eines Kalkanstrichs. Fehlt die Textur, bleibt die reine Farbfläche.
   Mischmodus zentral über --textur-modus änderbar. */
:root {
  --textur-modus: soft-light;
}

.farbfeld {
  display: block;
  position: relative;
  aspect-ratio: var(--seiten, 4 / 3);
  background-color: var(--farbe, #cfcfcf);
  background-image: url("../img/textur-kalk.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: var(--textur-modus);
}

.farbfeld--klein {
  width: 44px;
  aspect-ratio: 1;
}

/* == Mauerwerk (Wand) == */
.wand {
  columns: 3;
  column-gap: var(--spalt);
}

.wand > * {
  break-inside: avoid;
  margin-bottom: var(--spalt);
}

/* == Kachel == */
.kachel {
  display: block;
  position: relative;
}

.kachel__bild {
  display: block;
  background-color: var(--farbe, #cfcfcf);
  color: inherit;
  text-decoration: none;
}

.kachel__bild:hover {
  opacity: 1;
}

.kachel__bild img {
  width: 100%;
  height: auto;
}

.bildzeile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bildzeile__titel {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.bildzeile__titel a {
  display: flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: none;
}

.bildzeile__nr {
  margin-right: .55em;
  font-variant-numeric: tabular-nums;
}

.bildzeile__daten {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.bildzeile__preis {
  flex: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.bildzeile__plus {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
  margin-right: -10px;
}

.bildzeile__plus .i {
  width: 22px;
  height: 22px;
}

.bildzeile__plus:hover {
  opacity: .72;
}

/* Zitat-Kachel */
.kachel--zitat {
  padding: clamp(16px, 2.6vw, 36px) 0 0;
}

.kachel--zitat blockquote,
.kachel--zitat .kachel__zitat {
  font-size: var(--fs-zitat);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.008em;
  text-wrap: pretty;
}

.kachel--zitat blockquote p + p {
  margin-top: .6em;
}

.kachel--zitat .bildzeile {
  margin-top: 10px;
}

/* == Knöpfe == */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  background: var(--ink);
  color: var(--studio);
  font-family: var(--schrift);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 120ms var(--kurve);
}

.knopf:hover {
  opacity: .86;
}

.knopf .i {
  width: 20px;
  height: 20px;
}

.knopf--zweit {
  min-height: var(--klick);
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

.knopf--zweit:hover {
  opacity: .72;
}

.knopf--breit {
  width: 100%;
}

.knopf:disabled,
.knopf[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
}

.knopf[aria-busy="true"] {
  cursor: progress;
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

/* Elemente auf Ink-Fläche: heller Fokusring */
.knopf:focus-visible,
.toast :focus-visible,
.direkt__knopf:focus-visible,
.etikett:focus-visible {
  outline-color: var(--schwarz);
}

.toast :focus-visible {
  outline-color: var(--studio);
  outline-offset: -4px;
}

/* == Formulare == */
.feld {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.feld__label,
.formular label:not(.wahl),
fieldset > legend:not(.sr-only) {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

.feld__eingabe,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="time"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: var(--klick);
  padding: 9px 0 8px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5' fill='none' stroke='%23515151' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 22px;
  cursor: pointer;
}

input[type="number"] {
  -moz-appearance: textfield;
  font-variant-numeric: tabular-nums;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::placeholder {
  color: var(--ink-meta);
  opacity: 1;
}

[aria-invalid="true"]:not([type="checkbox"]):not([type="radio"]) {
  border-bottom-width: 2px;
  padding-bottom: 7px;
}

.feld__hilfe {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-meta);
}

.feld__fehler {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.feld__fehler .i {
  width: 20px;
  height: 20px;
  margin-top: -1px;
}

.formular-fehler {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-top: 2px solid var(--ink);
  font-weight: 700;
}

/* Kästchen und Optionsfelder: 24px, Klickfläche 44px über das Label */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: inline-grid;
  place-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  vertical-align: middle;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.25 4.25 8.75-9' fill='none' stroke='%23fbfbfb' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center / 20px no-repeat;
}

input[type="radio"]:checked {
  background: radial-gradient(circle, var(--ink) 0 5.5px, transparent 6px);
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: .45;
  cursor: not-allowed;
}

input[type="checkbox"][aria-invalid="true"],
input[type="radio"][aria-invalid="true"] {
  border-width: 2.5px;
}

.wahl {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: var(--klick);
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
}

.wahl > input {
  margin-top: -1px;
}

.wahl--block strong {
  display: block;
  font-size: var(--fs-zeile);
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.wahl-gruppe {
  display: grid;
  gap: 0;
}

@media (forced-colors: active) {
  input[type="checkbox"],
  input[type="radio"] {
    -webkit-appearance: auto;
    appearance: auto;
  }
}

/* == Tabellen == */
.tabelle-rahmen {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.tabelle caption {
  caption-side: top;
  padding-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  color: var(--ink-meta);
}

/* In breiten, waagerecht scrollbaren Tabellen bleibt die Beschriftung im Blick. */
.tabelle-rahmen .tabelle caption {
  position: sticky;
  left: 0;
  max-width: min(90ch, calc(100vw - 2 * var(--rand)));
}

.tabelle th,
.tabelle td {
  padding: 11px 20px 11px 0;
  text-align: left;
  vertical-align: top;
}

.tabelle th:last-child,
.tabelle td:last-child {
  padding-right: 0;
}

.tabelle thead th {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  vertical-align: bottom;
  white-space: nowrap;
}

.tabelle tbody tr + tr > * {
  border-top: 1px solid var(--linie);
}

.tabelle tbody th {
  font-weight: 700;
}

.tabelle tfoot th,
.tabelle tfoot td {
  border-top: 1px solid var(--ink);
  font-weight: 700;
}

.tabelle .zahl {
  text-align: right;
  white-space: nowrap;
}

.tabelle a {
  text-decoration: underline;
}

.tabelle--seo td {
  min-width: 14ch;
}

.tabelle--seo td:nth-child(4) {
  min-width: 28ch;
}

.seo__abw {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

/* == Fakten (Definitionsliste) == */
.fakten {
  display: grid;
  grid-template-columns: minmax(9em, 2fr) 3fr;
  column-gap: var(--spalt);
}

.fakten dt,
.fakten dd {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--linie);
  line-height: 24px;
}

.fakten dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.fakten dd {
  font-variant-numeric: tabular-nums;
}

/* == Lesetext == */
.text {
  max-width: 66ch;
  font-size: var(--fs-lese);
  line-height: 1.6;
}

.text > * + * {
  margin-top: 1em;
}

.text h2 {
  margin-top: 2.4em;
  font-size: var(--fs-nav);
}

.text h3 {
  margin-top: 2em;
  font-size: 18px;
}

.text h2 + *,
.text h3 + * {
  margin-top: .65em;
}

.text ul,
.text ol {
  padding-left: 1.25em;
}

.text li + li {
  margin-top: .4em;
}

.text li::marker {
  font-variant-numeric: tabular-nums;
}

.text a {
  text-decoration: underline;
}

.text blockquote {
  margin-block: 1.6em;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.text figure {
  margin-block: 2em;
}

.text figcaption,
.bildunterschrift {
  margin-top: 8px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.text dfn {
  font-style: normal;
  font-weight: 700;
}

/* == Seitenaufbau == */
.seitenkopf {
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.seitenkopf > * + * {
  margin-top: 16px;
}

.raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 32px;
  align-items: start;
}

.raster > .breit {
  grid-column: span 2;
}

.raster > .voll {
  grid-column: 1 / -1;
}

.abschnitt {
  padding-top: clamp(48px, 6vw, 96px);
}

.abschnitt > h2 {
  margin-bottom: 24px;
}

/* == Brotkrumen == */
.pfad ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.pfad li {
  display: inline-flex;
  align-items: center;
}

.pfad li + li::before {
  content: "/";
  content: "/" / "";
  margin: 0 .65em;
  font-weight: 400;
}

.pfad a {
  display: inline-flex;
  align-items: center;
  min-width: var(--klick);
  min-height: var(--klick);
  text-decoration: none;
}

.pfad [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
}

/* == Reiter (ARIA-Tabs) == */
.reiter__liste {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}

.reiter__liste [role="tab"] {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  padding: 0 12px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  white-space: nowrap;
}

.reiter__liste [role="tab"]:first-child {
  padding-left: 0;
}

.reiter__liste [role="tab"]:hover {
  opacity: .72;
}

.reiter__liste [role="tab"][aria-selected="true"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}

.reiter__feld:focus-visible {
  outline-offset: 8px;
}

.no-js .reiter__feld + .reiter__feld {
  margin-top: 48px;
}

/* == Teilung 1/3 Info + 2/3 Bild == */
.split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "info bild bild";
  column-gap: var(--spalt);
  row-gap: 28px;
  align-items: start;
}

.split__info {
  grid-area: info;
  min-width: 0;
}

.split__bild {
  grid-area: bild;
  position: sticky;
  top: var(--spalt);
  min-width: 0;
}

.split--rechts {
  grid-template-areas: "bild bild info";
}

/* == Bildstrecke (Lightbox) == */
.bildstrecke {
  --lb-w: calc(100vw - 2 * var(--rand));
  --lb-h: calc(100vh - 128px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--wand);
  color: var(--ink);
  overflow: hidden;
}

.bildstrecke::backdrop {
  background: var(--wand);
}

.bildstrecke[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.bildstrecke__buehne {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 64px var(--rand) 0;
  column-gap: var(--spalt);
}

.bildstrecke__figur {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
}

@supports (height: 100svh) {
  .bildstrecke {
    --lb-h: calc(100svh - 128px);
  }
}

/* Bild so groß wie möglich: Breite aus verfügbarer Fläche und Seitenverhältnis (--lb-ratio setzt fm-core.js) */
.bildstrecke__bild {
  position: relative;
  display: block;
  flex: none;
  touch-action: pan-y pinch-zoom;
}

.bildstrecke__bild img {
  display: block;
  width: min(var(--lb-w), calc(var(--lb-h) * var(--lb-ratio, 1)));
  height: auto;
  max-height: var(--lb-h);
  user-select: none;
  -webkit-user-drag: none;
}

.bildstrecke__zitat {
  display: none;
}

.bildstrecke__leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 var(--rand) env(safe-area-inset-bottom);
}

.bildstrecke__zeile {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.6em;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bildstrecke__zaehler {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bildstrecke__pfeile {
  display: flex;
  margin-right: -10px;
}

.bildstrecke__pfeil,
.bildstrecke__zu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
}

.bildstrecke__pfeil:hover,
.bildstrecke__zu:hover {
  opacity: .72;
}

.bildstrecke__pfeil:disabled {
  opacity: .3;
}

.bildstrecke__zu {
  position: absolute;
  top: 10px;
  right: calc(var(--rand) - 10px);
}

.bildstrecke__zu .i {
  width: 28px;
  height: 28px;
}

@media (min-width: 1024px) {
  .bildstrecke--zitat {
    --lb-w: calc((100vw - 2 * var(--rand) - 2 * var(--spalt)) * 2 / 3 + var(--spalt));
  }

  .bildstrecke--zitat .bildstrecke__buehne {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bildstrecke--zitat .bildstrecke__figur {
    grid-column: 2 / 4;
  }

  .bildstrecke--zitat .bildstrecke__zitat {
    display: block;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    max-width: 30ch;
    font-size: var(--fs-zitat);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -.008em;
  }

  .bildstrecke__wer {
    margin-top: 14px;
    font-size: var(--fs-zeile);
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: var(--sperr-zeile);
  }
}

/* == Hinweise (Toast) == */
.toasts {
  position: fixed;
  left: var(--rand);
  bottom: calc(var(--rand) + var(--banner-h));
  z-index: 70;
  display: grid;
  gap: 8px;
  width: min(460px, calc(100vw - 2 * var(--rand)));
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 8px;
  padding: 2px 2px 4px 16px;
  background: var(--ink);
  color: var(--studio);
  font-size: 15px;
  line-height: 1.4;
  pointer-events: auto;
}

.toast__text {
  grid-column: 1;
  grid-row: 1;
  padding: 10px 0 8px;
}

.toast__aktion {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin-top: -6px;
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  padding: 0;
  color: inherit;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-underline-offset: .3em;
  white-space: nowrap;
}

.toast__zu {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
}

.toast__zu .i {
  width: 20px;
  height: 20px;
}

/* == Einwilligung (Banner, nicht modal) == */
.einwilligung {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 16px;
  align-items: end;
  max-height: 100vh;
  max-height: 100svh;
  overflow-y: auto;
  padding: 20px var(--rand) calc(20px + env(safe-area-inset-bottom));
  background: var(--wand);
  border-top: 1px solid var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.einwilligung__text {
  grid-column: 1 / span 2;
  max-width: 78ch;
}

.einwilligung__titel {
  margin-bottom: 6px;
  font-size: var(--fs-zeile);
  letter-spacing: var(--sperr-zeile);
}

.einwilligung__titel:focus {
  outline: none;
}

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

.einwilligung__wahl {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.einwilligung__wahl fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
}

.einwilligung__wahl .wahl {
  font-size: 14px;
}

.einwilligung__knoepfe {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.einwilligung__knoepfe .knopf {
  padding: 8px;
  letter-spacing: .02em;
}

/* == Direktkontakt == */
.direkt {
  position: fixed;
  right: var(--rand);
  bottom: calc(var(--rand) + var(--banner-h));
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.direkt > * {
  pointer-events: auto;
}

.direkt__knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 14px;
  background: var(--ink);
  color: var(--studio);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.direkt__knopf:hover {
  opacity: .86;
}

.direkt__knopf .i {
  width: 22px;
  height: 22px;
}

.direkt__panel {
  width: min(380px, calc(100vw - 2 * var(--rand)));
  max-height: calc(100vh - 2 * var(--rand) - 64px - var(--banner-h));
  max-height: calc(100svh - 2 * var(--rand) - 64px - var(--banner-h));
  overflow-y: auto;
  padding: 16px 20px 20px;
  background: var(--wand);
  border-top: 1px solid var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.direkt__panel > * + * {
  margin-top: 14px;
}

.direkt__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.direkt__titel {
  font-size: var(--fs-zeile);
  letter-spacing: var(--sperr-zeile);
}

.direkt__zu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
  margin-right: -12px;
}

.direkt__zeiten {
  font-size: 13px;
  color: var(--ink-meta);
}

.direkt__panel .knopf--breit {
  justify-content: flex-start;
}

.direkt__vorschau > * + * {
  margin-top: 8px;
}

.direkt__label {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.direkt__nachricht {
  padding: 12px 14px;
  background: var(--studio);
  font-size: 15px;
  white-space: pre-wrap;
}

.no-js .direkt {
  display: none;
}

/* == Menü (Vollbild, unter 1024px) == */
.menue {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 18px var(--rand) 28px;
  border: 0;
  background: var(--wand);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menue::backdrop {
  background: var(--wand);
}

.menue[open] {
  display: flex;
  flex-direction: column;
}

.menue__kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.menue__zu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
  margin-right: -10px;
}

.menue__zu .i {
  width: 28px;
  height: 28px;
}

.menue__inhalt {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 28px 0 8px;
  text-align: center;
}

.menue__liste {
  display: grid;
  justify-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menue__link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: clamp(26px, 8.4vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
}

.menue__fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 22px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.menue__sprachen {
  display: inline-flex;
  gap: 4px;
}

.menue__klein {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--klick);
  min-height: var(--klick);
  padding: 0 4px;
  text-decoration: none;
}

.menue__klein[aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

/* == Hinweis „nur Deutsch“ == */
.hinweis-sprache {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--linie);
  font-size: 14px;
  line-height: 1.4;
}

.hinweis-sprache .i {
  width: 20px;
  height: 20px;
}

/* == Fußzeile == */
.fuss {
  margin-top: clamp(80px, 9vw, 136px);
  padding: 0 var(--rand) calc(var(--rand) + 72px);
  font-size: 14px;
  line-height: 1.5;
}

.fuss__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
  align-items: start;
}

.fuss__copy {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.4;
}

.newsletter__titel {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.fuss__adresse {
  display: grid;
  justify-items: start;
  margin-top: 14px;
}

.fuss__kontakt {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
}

.fuss__adresse span + .fuss__kontakt {
  margin-top: 2px;
}

.fuss__zeiten {
  margin-top: 6px;
}

.fuss__links {
  columns: 2;
  column-gap: var(--spalt);
  margin: -12px 0 0;
  padding: 0;
  list-style: none;
}

.fuss__links li {
  break-inside: avoid;
}

.fuss__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-align: left;
  text-decoration: none;
}

.fuss__link:hover {
  opacity: .72;
}

.newsletter {
  display: grid;
  gap: 14px;
  max-width: 440px;
}

.newsletter__text {
  max-width: 44ch;
}

.newsletter .feld--wahl .wahl {
  font-size: 14px;
  padding-block: 4px;
}

.newsletter .knopf {
  justify-self: start;
}

.fuss__sprachen {
  display: flex;
  gap: 4px;
  margin: 18px 0 0 -12px;
}

.fuss__sprachen .fuss__link {
  justify-content: center;
  min-width: var(--klick);
}

.fuss__sprachen [aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

.fuss__schluss {
  display: grid;
  row-gap: 4px;
  margin-top: 56px;
  font-size: 13px;
  line-height: 1.45;
}

.fuss__herkunft {
  font-weight: 700;
}

.fuss__demo {
  max-width: 80ch;
  color: var(--ink-meta);
}

.no-js .fuss__sprachen,
.no-js [data-fm="consent-open"],
.no-js .korb-zahl,
.no-js .sprache,
.no-js .nur-js {
  display: none;
}

.js .ohne-js {
  display: none;
}

/* == Breite: 640–1023px == */
@media (max-width: 1023.98px) {
  .kopf {
    padding-top: 18px;
  }

  .kopf__zeile {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .kopf__nav,
  .sprache,
  .kopf__muehle,
  .kopf__konto {
    display: none;
  }

  .kopf__dienst {
    grid-column: 2;
    grid-row: 1;
    column-gap: 14px;
    font-size: 18px;
  }

  .kopf__dienst .kopf__link {
    font-size: 18px;
  }

  .kopf__menueknopf {
    display: inline-flex;
  }

  .no-js .kopf__menueknopf {
    display: none;
  }

  .no-js .kopf__nav {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
  }

  .no-js .kopf__muehle,
  .no-js .kopf__konto {
    display: inline-flex;
  }

  .lichtprobe {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
  }

  .lichtprobe--kopf {
    margin-top: 10px;
  }

  .lichtprobe__stufen {
    justify-content: flex-end;
    margin: 0 -8px 0 0;
  }

  .lichtprobe__hinweis {
    grid-column: 1 / -1;
    max-width: 60ch;
    justify-self: start;
    text-align: left;
    padding-bottom: 6px;
  }

  :root[data-licht="mittag"] .lichtprobe--kopf .lichtprobe__hinweis {
    display: none;
  }

  .wand {
    columns: 2;
  }

  .raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .raster > .breit {
    grid-column: 1 / -1;
  }

  .split,
  .split--rechts {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "bild" "info";
  }

  .split__bild {
    position: static;
  }

  .einwilligung {
    grid-template-columns: minmax(0, 1fr);
  }

  .einwilligung__text,
  .einwilligung__wahl,
  .einwilligung__knoepfe {
    grid-column: 1;
    grid-row: auto;
  }

  .einwilligung__wahl fieldset {
    grid-template-columns: minmax(0, 1fr);
  }

  .fuss__raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fuss__post {
    grid-column: 1 / -1;
  }

}

/* == Breite: 1024–1279px == */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .einwilligung {
    grid-template-columns: minmax(0, 1fr);
  }

  .einwilligung__text,
  .einwilligung__wahl,
  .einwilligung__knoepfe {
    grid-column: 1;
    grid-row: auto;
  }
}

/* == Breite: unter 640px == */
@media (max-width: 639.98px) {
  .wand {
    columns: 1;
  }

  .raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .raster > .breit,
  .raster > .voll {
    grid-column: 1;
  }

  .fakten {
    grid-template-columns: minmax(0, 1fr);
  }

  .fakten dd {
    padding-top: 0;
    border-top: 0;
  }

  .fuss__raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .fuss__post {
    grid-column: 1;
  }

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

  .direkt__knopf {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }

  .einwilligung {
    padding-top: 16px;
    font-size: 14px;
  }

  .einwilligung__knoepfe .knopf {
    min-height: 52px;
    padding: 6px 4px;
    font-size: 12px;
    letter-spacing: .01em;
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .tabelle {
    font-size: 14px;
  }
}

/* == Bewegung reduzieren == */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* == Druck == */
@media print {
  .kopf__nav,
  .kopf__dienst,
  .lichtprobe,
  .einwilligung,
  .direkt,
  .toasts,
  .fuss__nav,
  .fuss__post,
  .skip {
    display: none !important;
  }

  body,
  html {
    background: #fff;
  }

  .licht::before,
  .licht::after {
    display: none;
  }
}

/* == Seiten-Abschnitte (von Seiten-Agenten angehängt) == */

/* Einwilligungs-Banner verdeckt keinen fokussierten Inhalt */
html { scroll-padding-bottom: var(--banner-h, 0px); }

/* Direktkontakt: im Ruhezustand nur ein 48px-Quadrat am Seitenrand, damit er keine
   Kachel und keine Bildzeile verdeckt („das Foto ist die Fläche“). Die Beschriftung
   erscheint bei Zeiger oder Fokus; Screenreader lesen sie immer. */
.direkt {
  right: max(8px, calc(var(--rand) - 40px));
  bottom: calc(max(8px, calc(var(--rand) - 40px)) + var(--banner-h));
}
.direkt__knopf {
  width: 48px;
  justify-content: center;
  padding: 0;
  gap: 0;
  transition: width 160ms var(--kurve, ease-out);
}
.direkt__knopf .direkt__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (hover: hover) {
  .direkt__knopf:hover,
  .direkt__knopf:focus-visible,
  .direkt__knopf[aria-expanded="true"] {
    width: auto;
    gap: 10px;
    padding: 0 18px 0 14px;
  }
  .direkt__knopf:hover .direkt__text,
  .direkt__knopf:focus-visible .direkt__text,
  .direkt__knopf[aria-expanded="true"] .direkt__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .direkt__knopf { transition: none; }
}

/* Ein Abstand für alle Unterseiten: Kopf → Brotkrumen 44px, egal welcher Seitentyp. */
main#inhalt:has(.pfad) {
  padding-top: 44px;
}
main#inhalt .seitenkopf {
  padding-top: 0;
}

/* Brotkrumen: Trenner bleibt bei der folgenden Stufe, keine verwaiste „/“-Zeile. */
.pfad li {
  white-space: nowrap;
}
/* Handy: die aktuelle Seite wiederholt das h1 – ausblenden, damit die Brotkrumen nicht umbrechen. */
@media (max-width: 639px) {
  .pfad li:last-child:has([aria-current="page"]) {
    display: none;
  }
}

/* Direktkontakt im Kopf (Review, zweite Runde): ein 44px-Symbolknopf neben Sprache/Konto/Korb,
   das Panel klappt unter dem Kopf auf. Er liegt damit auf keinem Bild, keiner Bildzeile, keiner Tabelle. */
.kopf .direkt {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 60;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  pointer-events: auto;
}
.kopf .direkt__knopf {
  width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  gap: 0;
  background: transparent;
  color: var(--ink);
}
.kopf .direkt__knopf:hover { opacity: .72; }
.kopf .direkt__knopf .direkt__text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}
.kopf .direkt__knopf[aria-expanded="true"] {
  background: var(--ink);
  color: var(--studio);
  width: 44px;
  padding: 0;
}
.kopf .direkt__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  max-height: calc(100svh - 140px);
}
/* 1024–1279px: Spalte 3 ist schmal – Sprachwahl bleibt in der Fußzeile, damit der Direktkontakt Platz hat. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .kopf .sprache { display: none; }
}
/* Handy: Panel an den Bildschirmrändern statt am Knopf. */
@media (max-width: 1023px) {
  .kopf .direkt { position: static; }
  .kopf .direkt__panel {
    position: absolute;
    top: 100%;
    left: var(--rand);
    right: var(--rand);
    width: auto;
  }
  .kopf { position: relative; }
}

/* ==== 20-shop.css ==== */
/* == Shop: Wand, Sortiment, Produktseiten == */
/* Farbmühle Gerstenau (fiktiv), Stil MXL-002. Abstand und Versalzeilen statt Rahmen
   (1px-Linien nur noch in der Sortimentstabelle und unter Eingabefeldern);
   Farbe kommt aus Bildern und Farbfeldern (--farbe als Inhalt). */

/* ---------------------------------------------------------------------------
   Wand: drei feste Spalten (Reihenfolge in src/templates/wall.mjs), darunter
   2 bzw. 1 Spalte im Fluss der Seite.
   --------------------------------------------------------------------------- */
.wand-seite {
  padding-top: 12px;
}

.wand--spalten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: start;
}

.wand--spalten > .wand__spalte {
  margin-bottom: 0;
  min-width: 0;
}

.wand__spalte > * {
  break-inside: avoid;
  margin-bottom: var(--spalt);
}

@media (max-width: 1023.98px) {
  .wand--spalten {
    display: block;
  }

  .wand__spalte {
    display: contents;
  }
}

/* Kachelbild: Fläche in der Produktfarbe, solange das Bild lädt */
.kachel__bild {
  overflow: hidden;
}

.kachel--produkt .kachel__bild,
.kachel--raum .kachel__bild {
  aspect-ratio: var(--seiten, 4 / 5);
}

.kachel--produkt .kachel__bild img,
.kachel--raum .kachel__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: var(--studio);
  font-size: 13px;
}

/* Bildzeile mit zwei Zeilen: links Nummer/Name + Daten, rechts Preis + Hinweis */
.kachel .bildzeile {
  align-items: flex-start;
  padding-top: 4px;
}

.bildzeile__titel .kachel__link {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 5px 0 4px;
  text-decoration: none;
}

.bildzeile__name {
  display: block;
}

.kachel .bildzeile__daten,
.strecke__zeile .bildzeile__daten {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-meta);
}

.bildzeile abbr[title],
.produkt__art abbr[title],
.liste abbr[title] {
  text-decoration: none;
  cursor: help;
}

.kachel .bildzeile__preis {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  padding: 5px 0 4px;
  text-align: right;
}

.kachel .bildzeile__plus {
  margin-top: 0;
}

/* Ganzes Bild klickbar über den Namenslink (ein Tab-Halt je Kachel) */
.kachel--produkt .kachel__link::after,
.kachel--raum .kachel__link::after,
.kachel--journal .kachel__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  aspect-ratio: var(--seiten, 4 / 5);
}

.kachel__link:hover {
  opacity: .72;
}

.kachel--produkt .kachel__link:focus-visible,
.kachel--raum .kachel__link:focus-visible,
.kachel--journal .kachel__link:focus-visible {
  outline: none;
}

.kachel--produkt .kachel__link:focus-visible::after,
.kachel--raum .kachel__link:focus-visible::after,
.kachel--journal .kachel__link:focus-visible::after {
  outline: 2px solid var(--schwarz);
  outline-offset: 3px;
}

.kachel__link:focus-visible .bildzeile__name {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}

/* Zitat-Kachel */
.kachel--zitat {
  padding-bottom: clamp(16px, 2.4vw, 32px);
}

.kachel__zitat p {
  max-width: 24ch;
}

.kachel--zitat .bildzeile {
  margin-top: 18px;
}

.bildzeile__sterne {
  flex: none;
  padding-top: 8px;
}

/* Journal-Kachel: ein Farbfeld unter drei festen Lichtarten */
.kachel--journal {
  --seiten: 4 / 3;
}

.journal-licht {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  aspect-ratio: var(--seiten);
  background: var(--farbe);
}

.journal-licht .farbfeld {
  aspect-ratio: auto;
  height: 100%;
}

/* Feste Lichtstufen (gleiche Werte wie :root[data-licht] in 00-base.css) */
.licht--nordfenster {
  --licht-farbe: #c7d3e3;
  --licht-op: .55;
  --licht-dunkel: 0;
}

.licht--mittag {
  --licht-farbe: transparent;
  --licht-op: 0;
  --licht-dunkel: 0;
}

.licht--lampe {
  --licht-farbe: #f2b979;
  --licht-op: .45;
  --licht-dunkel: .08;
}

/* Leise Zeile am Ende der Wand */
.wand-ende ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
}

.wand-ende a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

@media (max-width: 639.98px) {
  .wand-ende ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------
   Sortiment
   --------------------------------------------------------------------------- */
.sortiment__kopf .vorspann {
  max-width: 60ch;
}

.filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "art hell sort"
    "art hell bestand";
  column-gap: var(--spalt);
  row-gap: 4px;
  align-items: start;
  padding-bottom: 8px;
}

.filter > :nth-child(2) { grid-area: art; }
.filter > :nth-child(3) { grid-area: hell; }
.filter > :nth-child(4) { grid-area: bestand; }

@media (min-width: 900px) {
  .filter > :nth-child(4) {
    padding-top: 14px;
  }
}
.filter > :nth-child(5) { grid-area: sort; }

.filter__gruppe > legend,
.filter__gruppe > .feld__label {
  margin-bottom: 2px;
}

.filter__legende-zusatz {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-meta);
}

.filter__wahlen {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
}

.filter__wahl {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  padding: 0 8px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  white-space: nowrap;
  cursor: pointer;
}

.filter__wahl > input[type] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.filter__wahl > input:checked + span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}

.filter__wahl > input:focus-visible + span {
  outline: 2px solid var(--schwarz);
  outline-offset: 5px;
}

.filter__wahl:hover > span {
  opacity: .72;
}

.filter__wahl > input:disabled + span {
  opacity: .45;
}

.filter__anzahl {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--ink-meta);
}

.filter__hilfe {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-meta);
}

.filter__haken {
  padding-top: 6px;
  font-size: 14px;
}

.ergebnis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  margin-top: 20px;
  min-height: var(--klick);
  border-top: 1px solid var(--ink);
  padding-top: 6px;
}

.ergebnis__zahl {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  font-variant-numeric: tabular-nums;
}

.ergebnis__hinweis {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-meta);
}

.sortiment-statisch .ergebnis__hinweis {
  margin: 24px 0 0;
}

.liste-sprung ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.liste-sprung a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.liste-gruppe {
  padding-top: 40px;
}

.liste-gruppe > h2 {
  margin-bottom: 12px;
}

.liste-leer {
  padding: 32px 0;
}

.liste-leer > * + * {
  margin-top: 8px;
}

/* Tabelle */
.liste {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.liste caption {
  text-align: left;
}

.liste thead th {
  padding: 12px 16px 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  white-space: nowrap;
  vertical-align: bottom;
}

.liste thead th[aria-sort]:not([aria-sort="none"]) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

.liste td,
.liste tbody th {
  padding: 12px 16px 12px 0;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}

.liste tbody tr + tr > * {
  border-top: 1px solid var(--linie);
}

.liste th:last-child,
.liste td:last-child {
  padding-right: 0;
}

.liste .zahl {
  text-align: right;
  white-space: nowrap;
}

.liste__farbe {
  width: 112px;
}

.liste__farbe .farbfeld,
.liste__bild {
  display: block;
  width: 96px;
  aspect-ratio: 3 / 2;
}

.liste__bild {
  overflow: hidden;
  background: var(--farbe, #cfcfcf);
}

.liste__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liste__produkt a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: none;
}

.liste__produkt a:hover {
  opacity: .72;
}

.liste__nr {
  margin-right: .35em;
}

.liste__kurz {
  display: block;
  max-width: 52ch;
  margin-top: -6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-meta);
}

.liste__geaendert {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.liste__hbw-kurz {
  display: none;
}

.liste__stufe {
  display: block;
  font-size: 13px;
  color: var(--ink-meta);
}

.liste__bestand {
  font-size: 14px;
  min-width: 10ch;
}

.liste__bestand[data-stand="teil"],
.liste__bestand[data-stand="aus"],
.liste__bestand[data-stand="knapp"] {
  font-weight: 700;
}

.liste__korb {
  width: 44px;
}

.liste__korb .bildzeile__plus {
  margin-right: -10px;
}

.sortiment__cms {
  margin-top: 28px;
}

.sortiment__cms a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-weight: 700;
}

@media (max-width: 1279.98px) {
  .liste .liste__art {
    display: none;
  }
}

@media (max-width: 899.98px) {
  .filter {
    row-gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "art art"
      "hell hell"
      "sort bestand";
  }

  .liste,
  .liste tbody,
  .liste tr {
    display: block;
  }

  .liste thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .liste tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: 72px auto auto minmax(0, 1fr) 44px;
    grid-template-areas:
      "farbe produkt produkt produkt korb"
      "farbe hbw verbrauch verbrauch korb"
      "farbe preis bestand bestand korb";
    column-gap: 14px;
    align-items: start;
    padding: 14px 0;
  }

  .liste tbody tr + tr {
    border-top: 1px solid var(--linie);
  }

  .liste tbody tr + tr > * {
    border-top: 0;
  }

  .liste td,
  .liste tbody th {
    display: block;
    padding: 0;
  }

  .liste .zahl {
    text-align: left;
  }

  .liste__farbe { grid-area: farbe; width: auto; }
  .liste__produkt { grid-area: produkt; }
  .liste__hbw { grid-area: hbw; font-size: 14px; }
  .liste__verbrauch { grid-area: verbrauch; font-size: 14px; }
  .liste .liste__preis { grid-area: preis; padding-top: 4px; font-weight: 700; }
  .liste .liste__bestand { grid-area: bestand; padding-top: 4px; min-width: 0; }
  .liste__korb { grid-area: korb; width: auto; }

  .liste__farbe .farbfeld,
  .liste__bild {
    width: 72px;
  }

  .liste__produkt a {
    min-height: 0;
    padding: 2px 0 6px;
  }

  /* ganze Zeile führt zur Ware, der „+“-Knopf bleibt darüber bedienbar */
  .liste__produkt a::after {
    content: "";
    position: absolute;
    inset: 0 54px 0 0;
  }

  .liste__korb .bildzeile__plus {
    position: relative;
    z-index: 1;
  }

  .liste__kurz {
    margin: 0 0 6px;
  }

  .liste__hbw-kurz {
    display: inline;
  }

  .liste__stufe {
    display: inline;
    margin-left: .4em;
    font-size: inherit;
  }

  .liste__hbw .liste__stufe::before {
    content: "· ";
  }

  .liste__verbrauch:not(:empty)::before {
    content: "· ";
  }

  .ergebnis__hinweis {
    flex-basis: 100%;
    margin-left: 0;
  }
}

@media (max-width: 559.98px) {
  .filter {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "hell" "bestand" "sort";
  }
}

/* ---------------------------------------------------------------------------
   Produktseite: Projektansicht
   Spalte 1: Kauf und Lichtprobe (klebt; ist sie höher als das Fenster, setzt
   fm-shop.js --info-oben, damit ihr Ende sichtbar bleibt). Spalten 2–3: die
   Bildstrecke als Seite – Produktbild bis an den rechten Rand, Farbfeld, Räume.
   Keine Linien zwischen Zeilen: Trennung über Grauabstand und Schrift.
   --------------------------------------------------------------------------- */
.produkt {
  --strecke-abstand: clamp(36px, 3.6vw, 52px);
}

.produkt__ansicht {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "info lead lead"
    "info strecke strecke";
  grid-template-rows: auto 1fr;
  column-gap: var(--spalt);
  align-items: start;
}

.produkt__info {
  grid-area: info;
  min-width: 0;
  padding-bottom: 4px;
}

.js .produkt__info {
  position: sticky;
  top: var(--info-oben, var(--spalt));
}

.produkt__info > * + * {
  margin-top: 24px;
}

.produkt__info > .pfad + * {
  margin-top: 8px;
}

.produkt__kopf > * + * {
  margin-top: 12px;
}

.produkt__titel {
  overflow-wrap: anywhere;
}

.produkt__nr {
  font-variant-numeric: tabular-nums;
}

.produkt__art {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.produkt__kurz {
  max-width: 44ch;
  font-size: var(--fs-lese);
  line-height: 1.45;
}

/* Preis und Kauf */
.kauf__preis > * + * {
  margin-top: 2px;
}

.kauf__betrag {
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1.15;
}

.kauf__hinweis {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-meta);
}

.kauf__aus {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
}

.kauf > * + * {
  margin-top: 20px;
}

/* Gebinde: Zeilen ohne Linien, getrennt durch Abstand; gewählt = unterstrichen */
.gebinde__liste {
  display: grid;
  row-gap: 2px;
  margin-top: 6px;
}

.gebinde__wahl {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  grid-template-areas:
    "punkt name preis"
    "punkt bestand bestand";
  column-gap: 12px;
  align-items: center;
  min-height: var(--klick);
  padding: 6px 0;
  cursor: pointer;
}

.gebinde__wahl > input {
  grid-area: punkt;
  align-self: start;
  margin-top: -2px;
}

.gebinde__name {
  grid-area: name;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.gebinde__preis {
  grid-area: preis;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.gebinde__bestand {
  grid-area: bestand;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-meta);
}

.gebinde__wahl[data-stand="knapp"] .gebinde__bestand {
  color: var(--ink);
  font-weight: 700;
}

.gebinde__wahl:has(input:checked) .gebinde__name {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

.gebinde__wahl[aria-disabled="true"] {
  cursor: not-allowed;
}

.gebinde__wahl[aria-disabled="true"] .gebinde__name,
.gebinde__wahl[aria-disabled="true"] .gebinde__preis {
  opacity: .55;
}

.gebinde__wahl:hover:not([aria-disabled="true"]) .gebinde__name {
  opacity: .72;
}

.gebinde--einzeln .gebinde__wahl {
  grid-template-columns: 0 minmax(0, 1fr) auto;
  column-gap: 0;
}

.gebinde--einzeln .gebinde__wahl > input {
  width: 0;
  opacity: 0;
}

.kauf__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px var(--spalt);
}

.kauf__knopf {
  flex: 1 1 180px;
}

/* Mengenregler: die Linie unten ist die Bedienfläche des Felds (WCAG 1.4.11) */
.menge__regler {
  justify-self: start;
  display: inline-flex;
  align-items: stretch;
  border-bottom: 1px solid var(--ink);
}

.menge__knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  min-height: var(--klick);
}

.menge__knopf .i {
  width: 18px;
  height: 18px;
}

.menge__knopf:hover {
  opacity: .72;
}

.menge__knopf:disabled {
  opacity: .35;
}

.menge__regler .menge__zahl {
  width: 3.4em;
  border-bottom: 0;
  text-align: center;
  font-weight: 700;
}

.no-js .menge__regler .menge__zahl {
  text-align: left;
}

.kauf__bestand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0;
  font-size: 14px;
  line-height: 1.4;
}

.kauf__abgleich {
  gap: 8px;
  margin-left: 16px;
  font-size: var(--fs-zeile);
}

.kauf__abgleich .i {
  width: 18px;
  height: 18px;
}

.kauf__abgleich[aria-busy="true"] .i {
  opacity: .5;
}

.kauf__charge {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-meta);
}

.kauf__marke {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  color: var(--ink);
}

.kauf__charge .zahl {
  font-weight: 700;
  color: var(--ink);
}

/* Lichtprobe in der Kaufspalte – klebt mit ihr neben Bild, Farbfeld und Räumen */
.produkt__info > .produkt__licht {
  margin-top: 36px;
}

.produkt__licht .lichtprobe--block {
  display: block;
}

/* ohne JavaScript: Mittag, Steuerung ausgeblendet (wie in der Kopfzeile) */
.no-js .produkt__licht {
  display: none;
}

.produkt__licht .lichtprobe__titel {
  display: block;
}

.produkt__licht .lichtprobe__stufen {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -8px;
}

.produkt__licht .lichtprobe__hinweis {
  max-width: 46ch;
  padding-top: 2px;
  text-align: left;
}

/* Bildstrecke als Seite */
.strecke__teil {
  min-width: 0;
  margin: 0;
}

.strecke__teil--lead {
  grid-area: lead;
}

.produkt__strecke {
  grid-area: strecke;
  min-width: 0;
  display: grid;
  row-gap: var(--strecke-abstand);
  padding-top: var(--strecke-abstand);
}

.strecke__bild {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--seiten, 4 / 5);
  overflow: hidden;
  background-color: var(--farbe, #cfcfcf);
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.strecke__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: var(--studio);
  font-size: 13px;
}

.strecke__bild:hover {
  opacity: 1;
}

/* Farbfeld: ohne JavaScript nur Fläche, mit JavaScript ein Knopf zur Bildstrecke */
.strecke__feld {
  aspect-ratio: auto;
  background: none;
}

span.strecke__feld {
  cursor: default;
}

.strecke__feld > .farbfeld {
  --seiten: 4 / 3;
}

.strecke__zeile {
  padding-top: 4px;
}

.strecke__zeile .bildzeile__titel {
  padding: 5px 0;
}

.strecke__zeile .bildzeile__daten {
  max-width: 76ch;
}

.bildzeile__titel .strecke__raumlink {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
}

.strecke__raumlink:hover {
  opacity: .72;
}

.strecke__raumlink .bildzeile__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

/* Musterkarte: vierzehn Karten A6 nebeneinander */
.strecke__karten {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(6px, 1.1vw, 16px);
}

.strecke__karte {
  display: block;
}

.strecke__karte > .farbfeld {
  --seiten: 105 / 148;
}

/* Raum: Hochformat mit Zitat und Angaben daneben (wie die Projektansicht),
   Querformat mit Zitat und Angaben darunter */
.strecke__raum {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: center;
}

.strecke__raumbild {
  min-width: 0;
  margin: 0;
}

.strecke__raum--hoch .strecke__raumbild {
  grid-column: 2;
  grid-row: 1;
}

.strecke__raum--hoch .strecke__raumtext {
  grid-column: 1;
  grid-row: 1;
  padding-bottom: var(--klick);
}

.strecke__raum--hoch .strecke__raumfakten {
  margin-top: 28px;
}

.strecke__raum--quer .strecke__raumbild,
.strecke__raum--ohne-text .strecke__raumbild {
  grid-column: 1 / -1;
}

.strecke__raum--quer .strecke__raumtext {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: start;
  margin-top: 18px;
}

.strecke__raum--quer .strecke__raumfakten {
  grid-column: 2;
}

.strecke__raumtext {
  min-width: 0;
}

.strecke__raumtext-lauf {
  max-width: 46ch;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.5;
}

.strecke__raum--quer .strecke__raumtext-lauf {
  grid-column: 1;
  margin-top: 20px;
}

.strecke__raum--quer .strecke__raumfakten {
  grid-row: 1 / span 2;
}

.strecke__raumfakten {
  display: grid;
  row-gap: 14px;
  margin: 0;
  max-width: 40ch;
}

.strecke__raumfakten dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.strecke__raumfakten dd {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.strecke__zitat {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(22px, 2vw, 29px);
}

.strecke__zitat blockquote {
  margin: 0;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.008em;
  text-wrap: pretty;
}

.strecke__wer {
  margin-top: 14px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

/* ---------------------------------------------------------------------------
   Produktseite: Abschnitte unter der Bildstrecke, auf dem Raster der drei Spalten
   --------------------------------------------------------------------------- */
.produkt-abschnitt {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  align-items: start;
}

.produkt-abschnitt > h2 {
  grid-column: 1 / -1;
  margin: 0;
}

/* Fließtext über drei Spalten; die Überschrift steht oben in Spalte 1 */
.produkt-abschnitt__fluss {
  grid-column: 1 / -1;
  min-width: 0;
  columns: 3;
  column-gap: var(--spalt);
}

.produkt-abschnitt__fluss > h2 {
  margin: 0 0 22px;
  break-after: avoid;
}

/* Mengenrechner: Titel und Eingabe in Spalte 1, Formel und Ergebnis in Spalte 2,
   die Anstriche als Schichten in Spalte 3 über die ganze Höhe */
.rechner {
  grid-template-areas:
    "titel kopf schichten"
    "form ausgabe schichten";
  grid-template-rows: auto 1fr;
  row-gap: 32px;
}

.rechner > h2 {
  grid-area: titel;
}

.rechner__kopf {
  grid-area: kopf;
  min-width: 0;
}

.rechner__kopf > * + * {
  margin-top: 14px;
}

.rechner__formel,
.rechner__beispiel {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.5;
}

.rechner__form {
  grid-area: form;
  min-width: 0;
}

.rechner__form > * + * {
  margin-top: 18px;
}

.rechner__modus .filter__wahlen {
  margin-top: 2px;
}

.rechner__felder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
}

.rechner__felder--zwei {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rechner__felder--eins {
  grid-template-columns: minmax(0, 1fr);
}

.feld__zusatz {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-meta);
}

.rechner__wahl .wahl {
  padding-block: 6px;
}

.rechner__anstriche .feld__hilfe {
  margin-top: 2px;
}

.rechner__ausgabe {
  grid-area: ausgabe;
  min-width: 0;
  display: grid;
  row-gap: 28px;
  align-content: start;
}

.rechner__werte {
  display: grid;
  row-gap: 22px;
  margin: 0;
}

.rechner__wert dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.rechner__wert dd {
  margin: 4px 0 0;
  font-variant-numeric: tabular-nums;
}

.rechner__wert dd strong {
  display: block;
  font-size: var(--fs-nav);
  line-height: 1.2;
}

.rechner__wert--bedarf dd strong {
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -.012em;
}

.rechner__klein {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-meta);
}

.rechner__fehler {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 700;
}

.no-js .rechner {
  grid-template-areas:
    "titel kopf schichten";
  grid-template-rows: auto;
}

/* Anstriche als Schichten, von unten nach oben; füllen die Höhe des Rechners */
.schichten {
  --schicht-farbe: var(--farbe);
  grid-area: schichten;
  align-self: stretch;
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  min-width: 0;
}

.schicht {
  flex: 1 1 0;
  display: grid;
  grid-template-rows: minmax(28px, 1fr) auto;
  min-height: 72px;
}

.schicht__feld {
  position: relative;
  display: block;
}

.schicht__feld .farbfeld {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  --farbe: #cfc9bd; /* Kalkputz, ungestrichen */
}

.schicht__feld .schicht__farbe {
  --farbe: var(--schicht-farbe);
  opacity: var(--deckung, 1);
}

.schicht__text {
  display: flex;
  flex-wrap: wrap;
  column-gap: .4em;
  align-items: baseline;
  padding-top: 5px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.schicht__menge {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.schicht--putz .schicht__text {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--ink-meta);
}

.schichten--bauen .schicht:not(.schicht--putz) {
  animation: fm-schicht 300ms var(--kurve) both;
  animation-delay: calc(var(--i, 1) * 240ms - 200ms);
}

@keyframes fm-schicht {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schichten--bauen .schicht:not(.schicht--putz) {
    animation: none;
  }
}

/* Eigenschaften: Text in drei Spalten, Merkmale als dreispaltige Liste */
.produkt__text {
  max-width: none;
}

.produkt__text > h2 + p {
  margin-top: 0;
}

.produkt__text p {
  orphans: 2;
  widows: 2;
}

.merkmale {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 26px;
  margin: 24px 0 0;
}

.merkmal {
  min-width: 0;
}

.merkmal dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.merkmal dd {
  max-width: 44ch;
  margin: 5px 0 0;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

/* Anwendung: Schritte im Fluss der drei Spalten, Nummer trägt die Reihenfolge */
.schritte {
  counter-reset: schritt;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schritte > li {
  counter-increment: schritt;
  position: relative;
  padding-left: 2em;
  font-size: 17px;
  line-height: 1.55;
  orphans: 3;
  widows: 2;
}

.schritte > li + li {
  margin-top: 24px;
}

.schritte > li::before {
  content: counter(schritt);
  position: absolute;
  top: 0;
  left: 0;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 26px;
  font-variant-numeric: tabular-nums;
}

.schritt__titel {
  display: block;
  break-after: avoid;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

/* Bewertungen: Übersicht in Spalte 1, Stimmen in Spalten 2–3, eine davon groß auf Grau */
.bewertungen {
  grid-template-areas: "kopf inhalt inhalt";
}

.bewertungen__kopf {
  grid-area: kopf;
  min-width: 0;
}

.js .bewertungen__kopf {
  position: sticky;
  top: var(--spalt);
}

.bewertungen__kopf > * + * {
  margin-top: 18px;
}

.bewertungen__inhalt {
  grid-area: inhalt;
  min-width: 0;
}

.bewertungen__schnitt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.bewertungen__zahl {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1;
}

.bewertungen__sterne .i {
  width: 20px;
  height: 20px;
}

.bewertungen__anzahl {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.verteilung {
  width: 100%;
  max-width: 340px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.verteilung th,
.verteilung td {
  padding: 3px 0;
  text-align: left;
  font-weight: 400;
  vertical-align: middle;
}

.verteilung th {
  width: 3.2em;
  white-space: nowrap;
}

.verteilung th .i {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 3px;
  vertical-align: -1px;
}

.verteilung td.zahl {
  width: 2.5em;
  text-align: right;
}

.verteilung__balken span {
  display: block;
  height: 8px;
  background: linear-gradient(var(--ink), var(--ink)) left / calc(var(--anteil, 0) * 100%) 100% no-repeat, rgb(81 81 81 / .16);
}

.bewertungen__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bewertung {
  min-width: 0;
  max-width: 60ch;
}

.bewertung article > * + * {
  margin-top: 8px;
}

.bewertung__titel {
  font-size: 18px;
}

.bewertung__text {
  font-size: 17px;
  line-height: 1.55;
}

.bewertung__wer {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-meta);
}

.bewertung__kauf {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--ink);
}

.bewertung__kauf .i {
  width: 16px;
  height: 16px;
}

.bewertung__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bewertung__status .i {
  width: 18px;
  height: 18px;
}

/* bleibt eine Stimme allein in der Reihe, nimmt sie beide Spalten */
.bewertung:not(.bewertung--zitat):nth-child(even):last-child {
  grid-column: 1 / -1;
}

/* Die große Stimme: Zitat auf Grau wie in der Projektansicht */
.bewertung--zitat {
  grid-column: 1 / -1;
  max-width: none;
}

.bewertung--zitat article > * + * {
  margin-top: 12px;
}

.bewertung--zitat .bewertung__titel {
  font-size: var(--fs-zeile);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bewertung--zitat .bewertung__text {
  max-width: 30ch;
  font-size: clamp(24px, 2.25vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.bewertung--zitat .bewertung__text::before {
  content: "„";
}

.bewertung--zitat .bewertung__text::after {
  content: "“";
}

.bewertung--zitat .bewertung__wer {
  margin-top: 16px;
}

.bewertungen__leer {
  font-size: 17px;
}

/* Bewertung schreiben: zwei Spalten wie das Raster, das Textfeld über beide */
.bewertung-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "titel titel"
    "sterne kopfzeile"
    "text text"
    "wer wer"
    "senden senden";
  column-gap: var(--spalt);
  row-gap: 22px;
  align-items: start;
  margin-top: 64px;
}

.bewertungen__leer + .bewertung-form {
  margin-top: 40px;
}

.bewertung-form__titel {
  grid-area: titel;
  font-size: 18px;
}

.bewertung-form .sternwahl {
  grid-area: sterne;
}

.bewertung-form__kopfzeile {
  grid-area: kopfzeile;
  align-self: end;
}

.bewertung-form__text {
  grid-area: text;
}

.bewertung-form__text textarea {
  min-height: 112px;
}

.bewertung-form__zwei {
  grid-area: wer;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px var(--spalt);
}

.bewertung-form__senden {
  grid-area: senden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.bewertung-form__senden .demo-hinweis {
  flex: 1 1 24ch;
}

.bewertungen__inhalt > .demo-hinweis {
  margin-top: 32px;
}

/* Sterne wählen: fünf Optionsfelder, gefüllt bis zur Auswahl */
.sternwahl__reihe {
  display: flex;
  margin-left: -10px;
}

.sternwahl__stern {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
  cursor: pointer;
}

.sternwahl__stern > input[type] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.sternwahl__stern .i {
  width: 28px;
  height: 28px;
  fill: none;
}

.sternwahl:has(input[value="1"]:checked) .sternwahl__stern:nth-child(-n+1) .i,
.sternwahl:has(input[value="2"]:checked) .sternwahl__stern:nth-child(-n+2) .i,
.sternwahl:has(input[value="3"]:checked) .sternwahl__stern:nth-child(-n+3) .i,
.sternwahl:has(input[value="4"]:checked) .sternwahl__stern:nth-child(-n+4) .i,
.sternwahl:has(input[value="5"]:checked) .sternwahl__stern:nth-child(-n+5) .i {
  fill: currentColor;
}

@media (hover: hover) {
  .sternwahl .sternwahl__reihe:hover .sternwahl__stern .i {
    fill: none;
  }

  .sternwahl .sternwahl__reihe .sternwahl__stern:hover .i,
  .sternwahl .sternwahl__reihe .sternwahl__stern:has(~ .sternwahl__stern:hover) .i {
    fill: currentColor;
  }
}

.sternwahl__stern:has(input:focus-visible) {
  outline: 2px solid var(--schwarz);
  outline-offset: -3px;
}

.sternwahl:has([aria-invalid="true"]) .sternwahl__stern .i {
  stroke-width: 2.25;
}

/* Passt dazu: Kacheln wie auf der Wand, eine Reihe über drei Spalten */
.kachelreihe {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: var(--spalt);
  align-items: start;
}

/* == Produktseite: 1024–1279px == */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  /* Raum im Hochformat: Bild über beide Spalten, damit das Foto groß bleibt */
  .strecke__raum--hoch .strecke__raumbild {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .strecke__raum--hoch .strecke__raumtext {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--spalt);
    align-items: start;
    margin-top: 18px;
    padding-bottom: 0;
  }

  .strecke__raum--hoch .strecke__raumtext-lauf {
    grid-column: 1;
    margin-top: 20px;
  }

  .strecke__raum--hoch .strecke__raumfakten {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .produkt__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .schritte > li {
    font-size: 16px;
  }

  .rechner__felder:not(.rechner__felder--zwei):not(.rechner__felder--eins) {
    column-gap: 10px;
  }
}

/* == Produktseite: unter 1024px – eine Spalte: Bild, Kauf, übrige Bildstrecke, Abschnitte == */
@media (max-width: 1023.98px) {
  .produkt__ansicht {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "lead"
      "info"
      "strecke";
    grid-template-rows: none;
    row-gap: 28px;
  }

  .js .produkt__info {
    position: static;
  }

  .produkt__info {
    max-width: 640px;
  }

  .produkt__strecke {
    padding-top: 28px;
  }

  .strecke__raum {
    grid-template-columns: minmax(0, 1fr);
  }

  .strecke__raum--hoch .strecke__raumbild,
  .strecke__raum--hoch .strecke__raumtext {
    grid-column: 1;
    grid-row: auto;
  }

  .strecke__raum--hoch .strecke__raumtext {
    margin-top: 14px;
    padding-bottom: 0;
  }

  .strecke__raum--hoch .strecke__raumfakten {
    margin-top: 0;
  }

  .strecke__raum .strecke__raumtext {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--spalt);
    align-items: start;
  }

  .strecke__raum .strecke__raumtext-lauf {
    grid-column: 1;
    margin-top: 20px;
  }

  .strecke__raum .strecke__raumfakten {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .produkt-abschnitt {
    grid-template-columns: minmax(0, 1fr);
  }

  .produkt-abschnitt__fluss {
    columns: 2;
  }

  .merkmale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rechner {
    grid-template-areas:
      "titel"
      "kopf"
      "form"
      "ausgabe"
      "schichten";
    grid-template-rows: none;
    row-gap: 24px;
  }

  .no-js .rechner {
    grid-template-areas:
      "titel"
      "kopf"
      "schichten";
  }

  .rechner__kopf,
  .rechner__form,
  .rechner__ausgabe {
    max-width: 640px;
  }

  .schichten {
    max-width: 640px;
  }

  .schicht {
    flex: none;
    grid-template-rows: 44px auto;
    min-height: 0;
  }

  .bewertungen {
    grid-template-areas:
      "kopf"
      "inhalt";
  }

  .js .bewertungen__kopf {
    position: static;
  }

  .kachelreihe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023.98px) {
  .produkt__licht .lichtprobe__stufen {
    justify-content: flex-start;
  }
}

/* == Produktseite: unter 640px == */
@media (max-width: 639.98px) {
  .produkt-abschnitt__fluss {
    columns: 1;
  }

  .merkmale {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }

  .kachelreihe {
    grid-template-columns: minmax(0, 1fr);
  }

  .rechner__felder:not(.rechner__felder--zwei):not(.rechner__felder--eins) {
    column-gap: 10px;
  }

  .strecke__karten {
    gap: 5px;
  }

  .strecke__raum .strecke__raumtext {
    grid-template-columns: minmax(0, 1fr);
  }

  .strecke__raum .strecke__raumfakten {
    grid-column: 1;
    grid-row: auto;
    margin-top: 24px;
  }

  .bewertungen__liste {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .bewertung-form {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "titel"
      "sterne"
      "kopfzeile"
      "text"
      "wer"
      "senden";
    margin-top: 56px;
  }

  .bewertung-form__kopfzeile {
    align-self: start;
  }

  .bewertung-form__zwei {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Review, zweite Runde: Fließtext nicht mehr satzweise über drei Spalten brechen.
   Überschrift in Spalte 1, Text als ein Maß in Spalte 2–3; Schritte brechen nie innerhalb. */
@media (min-width: 1024px) {
  .produkt-abschnitt__fluss {
    columns: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--spalt);
    align-items: start;
  }
  .produkt-abschnitt__fluss > h2 {
    grid-column: 1;
    grid-row: 1 / span 12;
    margin: 0;
  }
  .produkt-abschnitt__fluss > :not(h2) {
    grid-column: 2 / -1;
    max-width: 72ch;
  }
  .produkt-abschnitt__fluss > p {
    margin: 0 0 .9em;
  }
  .produkt-abschnitt__fluss > .schritte {
    max-width: none;
    columns: 2;
    column-gap: var(--spalt);
  }
}
.schritte > li {
  break-inside: avoid;
}

/* Hervorgehobene Bewertung: Titel als fette Satzzeile wie bei den übrigen, kein Versal-Kicker über dem Zitat. */
.bewertung--zitat .bewertung__titel {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* ==== 30-checkout.css ==== */
/* == warenkorb, kasse (Kasse-Agent) ==
   Korb und Kasse in der Grammatik von MXL-002: graue Wand, Ink, Versalzeilen, Linien nur als
   Tabellen- und Formularlinien. Farbe kommt nur aus Farbfeldern und Produktbildern.
   Präfixe: korb- (Warenkorb), kasse- (Kasse), ck- (beide), stepper (Mengenwahl). */

/* -- gemeinsam ------------------------------------------------------------ */
.ck-kopf {
  margin-bottom: 18px;
}

.ck-bild {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--farbe, #cfcfcf);
}

.ck-bild--foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bild fehlt (noch): Farbfläche bleibt, kein kaputtes Symbol */
.ck-bild--foto img.ist-fehlend {
  visibility: hidden;
}

.ck-summe {
  display: grid;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.ck-summe__zeile {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--linie);
}

.ck-summe dt {
  min-width: 0;
  font-size: 15px;
  line-height: 1.4;
}

.ck-summe dd {
  margin: 0;
  font-size: 15px;
  white-space: nowrap;
  text-align: right;
}

.ck-summe__klein {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-meta);
}

.ck-summe__zeile--zwischen {
  border-top-color: var(--ink);
}

.ck-summe__zeile--gesamt {
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.ck-summe__zeile--gesamt dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ck-summe__zeile--gesamt dd {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.ck-summe__zeile--steuer {
  padding-top: 0;
  border-top: 0;
}

.ck-summe__zeile--steuer dt,
.ck-summe__zeile--steuer dd {
  font-size: 13px;
  color: var(--ink-meta);
}

.ck-notiz {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-meta);
}

.ck-satz {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.5;
}

.korb__summe .ck-weiter {
  margin-top: 24px;
}

.ck-weiter .i,
.kasse-weg .knopf .i,
.kasse-weiter .knopf .i {
  width: 18px;
  height: 18px;
}

.ck-gutschein {
  max-width: 420px;
}

.korb__summe .ck-gutschein {
  margin-top: 28px;
}

.ck-gutschein__zeile {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.ck-gutschein__zeile .feld__eingabe {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ck-gutschein__zeile .knopf {
  flex: none;
}

.ck-gutschein--aktiv {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
}

.ck-gutschein--aktiv p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.ck-land select {
  font-weight: 700;
}

/* Optionen (Versandart, Zahlart, Adressbuch): Zeilen mit Linien, ganze Zeile klickbar */
.ck-optionen {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--linie);
}

.ck-option + .ck-option {
  border-top: 1px solid var(--linie);
}

.ck-option__kopf {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
  min-height: var(--klick);
  padding: 13px 0;
  cursor: pointer;
}

.ck-option__kopf > input {
  grid-row: 1 / span 2;
  margin-top: 0;
}

.ck-option__titel {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ck-option__preis {
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ck-option__preis:empty {
  display: none;
}

.ck-option__text {
  grid-column: 2 / -1;
  max-width: 64ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-meta);
}

.ck-option__kopf:hover .ck-option__titel {
  opacity: .72;
}

.ck-option:has(> .ck-option__kopf input:checked) .ck-option__titel,
.ck-option.ist-gewaehlt .ck-option__titel {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

.ck-option__mehr {
  padding: 2px 0 26px 38px;
}

.ck-option__mehr > * + * {
  margin-top: 14px;
}

.ck-optionen--knapp .ck-option__kopf {
  padding: 10px 0;
}

.ck-liste {
  margin-bottom: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}

.ck-liste li {
  padding: 8px 0;
  border-top: 1px solid var(--linie);
}

/* Mengenwahl */
.stepper {
  display: inline-flex;
  align-items: center;
}

.stepper__knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
}

.stepper__knopf .i {
  width: 20px;
  height: 20px;
}

.stepper__knopf:hover {
  opacity: .72;
}

.stepper__knopf[aria-disabled="true"] {
  opacity: .4;
  cursor: not-allowed;
}

.stepper input.stepper__zahl {
  width: 3.4em;
  min-height: var(--klick);
  padding: 9px 0 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* -- Warenkorb ------------------------------------------------------------ */
.korb__kopf > .korb__stand {
  margin-top: 10px;
}

.korb__stand {
  min-height: 1.3em;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.korb__ohne-js {
  max-width: 66ch;
}

.korb__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 56px;
  align-items: start;
}

.korb__posten {
  grid-column: 1 / span 2;
  min-width: 0;
}

.korb__summe {
  grid-column: 3;
  min-width: 0;
}

.korb__app.ist-leer .korb__posten {
  grid-column: 1 / -1;
}

.korb-konto {
  max-width: 70ch;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.5;
}

.korb-konto__wege {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 2px;
}

.korb-zeile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 7.5em 8.75em 7.5em;
  column-gap: var(--spalt);
  align-items: start;
  padding: 20px 0;
}

.korb-liste {
  margin: 0;
  padding: 0;
}

.korb-liste > .korb-zeile + .korb-zeile {
  border-top: 1px solid var(--linie);
}

.korb-zeile--kopf {
  align-items: end;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.korb-zeile--kopf > :nth-child(3),
.korb-zeile--kopf > :nth-child(5) {
  text-align: right;
}

.korb-zeile--kopf > :nth-child(4) {
  text-align: center;
}

.korb-zeile__bild {
  display: block;
  grid-row: 1 / span 2;
}

.korb-zeile__bild:hover {
  opacity: 1;
}

.korb-zeile__info {
  min-width: 0;
}

.korb-zeile__name {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.korb-zeile__name a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: none;
}

.korb-zeile__variante {
  margin-top: -6px;
  font-size: 15px;
  line-height: 1.4;
}

.korb-zeile__je {
  display: none;
}

.korb-zeile__lager {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-meta);
}

.korb-zeile__knapp {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 52ch;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.korb-zeile__knapp .i {
  margin-top: 1px;
}

.korb-charge {
  max-width: 58ch;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.korb-charge .wahl {
  padding-bottom: 0;
  font-size: 14px;
  font-weight: 700;
}

.korb-zeile__weg {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  margin-top: 4px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

.korb-zeile__weg:hover {
  opacity: .72;
}

.korb-zeile__einzel,
.korb-zeile__summe {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--klick);
  font-size: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.korb-zeile__summe {
  font-weight: 700;
}

.korb-zeile__menge {
  justify-self: center;
}

/* leerer Korb */
.korb-leer {
  max-width: 760px;
}

.korb-leer__satz {
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: var(--sperr-nav);
}

.korb-leer__satz:focus {
  outline: none;
}

.korb-leer__text {
  max-width: 56ch;
  margin-top: 12px;
}

.korb-leer__wege {
  margin: 32px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--linie);
}

.korb-leer__wege > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  border-top: 1px solid var(--linie);
}

.korb-leer__wege > li:first-child {
  border-top-color: var(--ink);
}

.korb-leer__weg {
  display: grid;
  grid-template-columns: minmax(9em, 1fr) 2.2fr;
  column-gap: var(--spalt);
  align-items: baseline;
  flex: 1 1 420px;
  min-height: 56px;
  padding: 16px 0;
  text-decoration: none;
}

.korb-leer__titel {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

.korb-leer__info {
  font-size: 15px;
  line-height: 1.45;
}

.korb-leer__plus .i {
  width: 18px;
  height: 18px;
}

/* Regeln */
.korb__regeln > h2 {
  margin-bottom: 20px;
}

.ck-regeln {
  min-width: 680px;
}

.ck-regeln tbody tr.ist-gewaehlt > * {
  font-weight: 700;
}

.ck-gewaehlt {
  margin-left: 8px;
  vertical-align: 1px;
}

.ck-noten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px var(--spalt);
  margin-bottom: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}

.ck-noten li {
  max-width: 48ch;
  padding-top: 10px;
  border-top: 1px solid var(--linie);
}

/* -- Kasse ---------------------------------------------------------------- */
.kasse__app {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: var(--spalt);
  align-items: start;
}

.kasse__raster {
  display: contents;
}

.kasse-schritte {
  grid-column: 1 / span 2;
  grid-row: 1;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.kasse__schritte {
  grid-column: 1 / span 2;
  grid-row: 2;
  min-width: 0;
}

.kasse-uebersicht {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-width: 0;
}

.kasse__app.ist-leer .kasse__schritte {
  grid-row: 1 / span 2;
}

/* Fortschrittslinie: fünf Abschnitte, Linie oben, Nummer + Name */
.kasse-schritte ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 8px;
  margin: 0;
  padding: 0;
}

.kasse-schritte__punkt {
  min-width: 0;
  border-top: 2px solid var(--linie);
}

.kasse-schritte__punkt.ist-jetzt,
.kasse-schritte__punkt.ist-fertig {
  border-top-color: var(--ink);
}

.kasse-schritte__ziel {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding-top: 4px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: none;
  white-space: nowrap;
}

a.kasse-schritte__ziel:hover {
  opacity: .72;
}

.kasse-schritte__nr {
  font-variant-numeric: tabular-nums;
}

.ist-jetzt .kasse-schritte__name {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

.ist-spaeter .kasse-schritte__ziel {
  font-weight: 400;
  color: var(--ink-meta);
}

.kasse-schritte__haken {
  width: 16px;
  height: 16px;
}

/* Übersicht */
.kasse-uebersicht__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kasse-uebersicht__kopf .ck-kopf {
  margin-bottom: 0;
}

.kasse-uebersicht__klapp {
  display: none;
}

.kasse-uebersicht__inhalt {
  margin-top: 16px;
}

.kasse-uebersicht__inhalt > * + * {
  margin-top: 14px;
}

.kasse-uebersicht__inhalt > .knopf--zweit {
  margin-top: 8px;
}

.ck-mini {
  margin: 0;
  padding: 0;
}

.ck-mini__zeile {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--linie);
}

.ck-mini__zeile:first-child {
  border-top-color: var(--ink);
}

.ck-mini__text {
  min-width: 0;
}

.ck-mini__name {
  display: block;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ck-mini__var {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-meta);
}

.ck-mini__preis {
  font-size: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Schritte */
.kasse-schritt__titel {
  margin-bottom: 26px;
}

.kasse-schritt__titel:focus {
  outline: none;
}

.kasse-schritt__titel:focus-visible {
  outline: 2px solid var(--schwarz);
  outline-offset: 6px;
}

.kasse-schritt__nr {
  margin-right: .35em;
  font-variant-numeric: tabular-nums;
}

.kasse-form > * + * {
  margin-top: 36px;
}

.kasse-form > [hidden] + *,
.kasse-form > .kasse-text + * {
  margin-top: 24px;
}

.kasse-form > [data-fm="fehler"]:not([hidden]) + * {
  margin-top: 28px;
}

.kasse-gruppe > legend:not(.sr-only) {
  float: left;
  width: 100%;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.kasse-gruppe > div:empty {
  display: none;
}

.kasse-gruppe > legend + * {
  clear: left;
}

.kasse-gruppe > * + :not(legend) {
  margin-top: 16px;
}

.kasse-gruppe > legend + * {
  margin-top: 0;
}

.kasse-gruppe > .sr-only + * {
  margin-top: 0;
}

.kasse-felder {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 22px var(--spalt);
  max-width: 760px;
}

.kasse-felder > * {
  grid-column: span 3;
}

.kasse-felder > .kasse-felder__voll {
  grid-column: 1 / -1;
}

.kasse-felder > .kasse-felder__kurz {
  grid-column: span 2;
}

.kasse-felder > .kasse-felder__lang {
  grid-column: span 4;
}

.kasse-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.kasse-text {
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.5;
}

.kasse-unterkopf {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.kasse-hinweis {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 64ch;
  font-size: 14px;
  line-height: 1.45;
}

.kasse-hinweis:empty {
  display: none;
}

.kasse-hinweis .i {
  margin-top: 1px;
}

.kasse-zahl {
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.kasse-rechnung {
  margin-top: 18px;
}

.kasse-charge-ref {
  max-width: 460px;
}

.kasse-chargen {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin: 4px 0 0;
  padding: 0;
}

.kasse-charge-knopf {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-size: 14px;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  font-variant-numeric: tabular-nums;
}

.kasse-charge-knopf:hover {
  opacity: .72;
}

.kasse-charge-knopf[aria-pressed="true"] {
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.kasse-express {
  padding-top: 14px;
  border-top: 1px solid var(--linie);
}

.kasse-echt {
  max-width: 64ch;
  font-size: 14px;
  line-height: 1.5;
}

.kasse-karte {
  max-width: 520px;
}

.kasse-weiter {
  padding-top: 4px;
}

.kasse-weiter .knopf:not(.knopf--zweit) {
  min-width: 14em;
}

/* Schritt 1 */
.kasse-wege {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
}

.kasse-weg__titel {
  font-size: var(--fs-zeile);
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.kasse-konten {
  margin-bottom: 0;
  padding: 0;
  border-bottom: 1px solid var(--linie);
}

.kasse-konten li + li {
  border-top: 1px solid var(--linie);
}

.kasse-konten li:first-child {
  border-top: 1px solid var(--ink);
}

.kasse-konto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 10px 0;
  text-align: left;
}

.kasse-konto:hover {
  opacity: .72;
}

.kasse-konto__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.kasse-konto__rolle {
  grid-column: 1;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  color: var(--ink-meta);
}

.kasse-konto .i {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
}

.kasse-wer__label {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.kasse-wer__zeile {
  font-size: 16px;
}

/* Fehlerliste oben im Schritt */
.kasse-fehler {
  max-width: 760px;
  padding: 14px 0 6px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--linie);
}

.kasse-fehler:focus {
  outline: none;
}

.kasse-fehler:focus-visible {
  outline: 2px solid var(--schwarz);
  outline-offset: 4px;
}

.kasse-fehler__titel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.kasse-fehler__liste {
  margin: 4px 0 0;
  padding: 0 0 0 34px;
}

.kasse-fehler__liste a {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
}

.kasse-fehler__liste strong {
  font-weight: 700;
}

/* Schritt 5 */
.ck-pruef {
  max-width: 900px;
  margin: 0;
  border-bottom: 1px solid var(--linie);
}

.ck-pruef__zeile {
  display: grid;
  grid-template-columns: minmax(9em, 1fr) 2.4fr auto;
  column-gap: var(--spalt);
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--linie);
}

.ck-pruef__zeile:first-child {
  border-top-color: var(--ink);
}

.ck-pruef dt {
  padding-top: 2px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ck-pruef dd {
  margin: 0;
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
}

.ck-pruef__aktion a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  margin-top: -12px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.ck-posten {
  max-width: 900px;
}

.ck-posten__name {
  display: block;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ck-posten__var {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-meta);
}

.ck-posten tfoot th,
.ck-posten tfoot td {
  padding-top: 6px;
  padding-bottom: 6px;
  border-top: 0;
  font-weight: 400;
  text-align: right;
}

.ck-posten tfoot .ck-posten__var {
  display: inline;
}

.ck-posten tfoot tr:first-child > * {
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.ck-posten__fuss--gesamt > *,
.ck-posten__fuss--zwischen > * {
  border-top: 1px solid var(--ink);
  font-weight: 700;
}

.ck-posten tfoot .ck-posten__fuss--gesamt > *,
.ck-posten tfoot .ck-posten__fuss--zwischen > * {
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  font-weight: 700;
}

.ck-posten tfoot .ck-posten__fuss--gesamt > * {
  font-size: 18px;
}

.ck-posten tfoot .ck-posten__fuss--steuer > * {
  padding-top: 0;
}

.ck-posten__fuss--steuer > * {
  font-size: 13px;
  color: var(--ink-meta);
}

.kasse-agb .wahl {
  max-width: 64ch;
  font-size: 15px;
  font-weight: 700;
}

.kasse-form > .kasse-agb__muster {
  margin-top: 4px;
  font-size: 14px;
}

.kasse-agb__muster a {
  text-decoration: underline;
}

.kasse-bestellen .i {
  width: 18px;
  height: 18px;
}

/* Bestätigung */
.kasse-nr {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.kasse-fertig__fakten {
  max-width: 760px;
}

.ck-mail {
  max-width: 72ch;
}

.ck-mail__blatt {
  padding: clamp(16px, 2.2vw, 30px);
  background: var(--studio);
}

.ck-mail__kopf {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--linie);
}

.ck-mail__kopf > div {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  column-gap: 12px;
  padding: 3px 0;
}

.ck-mail__kopf dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ck-mail__kopf dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.ck-mail__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.kasse-zaehlung > * + * {
  margin-top: 4px;
}

.kasse-wohin {
  max-width: 760px;
  margin-bottom: 0;
  padding: 0;
  border-bottom: 1px solid var(--linie);
}

.kasse-wohin li {
  display: grid;
  grid-template-columns: minmax(12em, 1fr) 2fr;
  column-gap: var(--spalt);
  align-items: baseline;
  padding: 6px 0 12px;
  border-top: 1px solid var(--linie);
  font-size: 14px;
  line-height: 1.5;
}

.kasse-wohin li:first-child {
  border-top-color: var(--ink);
}

.kasse-wohin__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: none;
}

.kasse-wohin__link .i {
  width: 18px;
  height: 18px;
}

.kasse-leer > h2:focus {
  outline: none;
}

/* -- Breite: 1024px und mehr, hoch genug: Übersicht bleibt stehen ---------- */
@media (min-width: 1024px) and (min-height: 760px) {
  .kasse-uebersicht {
    position: sticky;
    top: var(--spalt);
  }
}

/* -- Breite: unter 1024px --------------------------------------------------- */
@media (max-width: 1023.98px) {
  .korb__raster {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }

  .korb__posten,
  .korb__summe,
  .korb__app.ist-leer .korb__posten {
    grid-column: 1;
  }

  .korb__summe {
    max-width: 560px;
  }

  .ck-noten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kasse__app {
    grid-template-columns: minmax(0, 1fr);
  }

  .kasse-schritte,
  .kasse__schritte,
  .kasse-uebersicht {
    grid-column: 1;
  }

  .kasse-schritte {
    grid-row: 1;
    margin-bottom: 20px;
  }

  .kasse-uebersicht {
    grid-row: 2;
    margin-bottom: 36px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--linie);
  }

  .kasse__schritte,
  .kasse__app.ist-leer .kasse__schritte {
    grid-row: 3;
  }

  .kasse-uebersicht__kopf {
    min-height: 52px;
  }

  .kasse-uebersicht__kopf .ck-kopf {
    font-size: var(--fs-zeile);
    letter-spacing: var(--sperr-zeile);
  }

  .kasse-uebersicht__klapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: var(--klick);
    padding-left: 12px;
    margin-right: -6px;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
  }

  .kasse-uebersicht__klapp .i {
    width: 20px;
    height: 20px;
  }

  .kasse-uebersicht.ist-zu .kasse-uebersicht__inhalt {
    display: none;
  }

  .kasse-uebersicht__inhalt {
    margin-top: 0;
    padding-bottom: 20px;
  }
}

@media (max-width: 759.98px) {
  .korb-zeile {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "bild info info"
      "bild menge summe";
    row-gap: 6px;
    padding: 18px 0;
  }

  .korb-zeile--kopf {
    display: none;
  }

  .korb-liste {
    border-top: 1px solid var(--ink);
  }

  .korb-zeile__bild {
    grid-area: bild;
    grid-row: 1 / span 2;
  }

  .korb-zeile__info {
    grid-area: info;
  }

  .korb-zeile__einzel {
    display: none;
  }

  .korb-zeile__je {
    display: inline;
  }

  .korb-zeile__menge {
    grid-area: menge;
    justify-self: start;
    margin-left: -12px;
  }

  .korb-zeile__summe {
    grid-area: summe;
  }

  .ck-noten {
    grid-template-columns: minmax(0, 1fr);
  }

  .kasse-wege {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* -- Breite: unter 640px ------------------------------------------------- */
@media (max-width: 639.98px) {
  .kasse-schritte ol {
    column-gap: 4px;
  }

  .kasse-schritte__ziel {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 52px;
    padding-top: 6px;
    font-size: 12px;
    letter-spacing: .02em;
  }

  .kasse-schritte__haken {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .kasse-schritte__name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .kasse-felder > *,
  .kasse-felder > .kasse-felder__voll {
    grid-column: 1 / -1;
  }

  .kasse-felder > .kasse-felder__kurz {
    grid-column: span 2;
  }

  .kasse-felder > .kasse-felder__lang {
    grid-column: span 4;
  }

  .kasse-karte > .feld:not(.kasse-felder__voll) {
    grid-column: span 3;
  }

  .ck-option__mehr {
    padding-left: 0;
  }

  .ck-pruef__zeile {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "dt aktion"
      "dd dd";
  }

  .ck-pruef dt {
    grid-area: dt;
    align-self: center;
  }

  .ck-pruef dd:not(.ck-pruef__aktion) {
    grid-area: dd;
  }

  .ck-pruef__aktion {
    grid-area: aktion;
  }

  .ck-pruef__aktion a {
    margin-top: -10px;
    margin-bottom: -10px;
  }

  .kasse-weiter .knopf:not(.knopf--zweit) {
    min-width: 0;
    flex: 1 1 100%;
  }

  .kasse-wohin li {
    grid-template-columns: minmax(0, 1fr);
  }

  .ck-posten th,
  .ck-posten td {
    padding-right: 10px;
  }

  .ck-posten thead th {
    font-size: 12px;
    letter-spacing: .02em;
  }

  .ck-posten__name {
    font-size: 12px;
    letter-spacing: .03em;
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .ck-posten tfoot .ck-posten__fuss--gesamt > * {
    font-size: 16px;
  }

  .korb-leer__weg {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }
}

/* Übersicht und Bedienelemente im Druck weglassen */
@media print {
  .stepper__knopf,
  .korb-zeile__weg,
  .ck-gutschein,
  .kasse-uebersicht__klapp {
    display: none !important;
  }
}

/* ==== 40-accounts.css ==== */
/* == Konten: konto.html, werkstattkreis.html, betrieb.html (Demo-Backoffice) ==
   MXL-002: graue Wand, Ink, Versalzeilen, Tabellen mit 1px-Linien, keine Karten oder Kästen.
   Farbe nur aus Farbfeldern (--farbe als Inhalt). Präfixe: ac- (gemeinsam), konto-, wk-, bt-. */

/* -- Gemeinsam ------------------------------------------------------------------ */

/* 1/3 Info + 2/3 Werkzeug, auf dem 3-Spalten-Raster; darunter gestapelt */
.ac-teil {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 24px;
  align-items: start;
}

.ac-teil__info {
  grid-column: 1;
  min-width: 0;
  max-width: 46ch;
}

.ac-teil__werk {
  grid-column: 2 / -1;
  min-width: 0;
}

.ac-teil__info .demo-hinweis {
  padding-top: 4px;
}

/* Zeile „Angemeldet als …“ mit Wechsel und Abmelden */
.ac-wer {
  display: grid;
  gap: 2px;
}

.ac-wer__zeile {
  font-size: 15px;
  line-height: 1.45;
}

.ac-wer__knoepfe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 22px;
}

.ac-wer__label {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  color: var(--ink-meta);
}

/* Kleine Zusatzzeile in Zellen und Köpfen */
.ac-fein {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-meta);
}

.tabelle thead .ac-fein {
  margin-top: 3px;
}

/* Farbfelder in Listen und Tabellen (Inhalt, nicht UI) */
.ac-farbe {
  flex: none;
  width: 36px;
}

.ac-farbe--klein {
  width: 20px;
}

.ac-posten__farbe {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ac-ja-nein {
  white-space: nowrap;
}

.ac-ja-nein .i,
.bt-pruef .i,
.wk-blatt__sicher .i,
.wk-charge__keins .i {
  display: inline-block;
  vertical-align: -4px;
  margin-right: 6px;
}

/* Klickfläche 44px um kleine Kästchen (Rechte-Tabelle) */
.ac-ziel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--klick);
  min-height: var(--klick);
  cursor: pointer;
}

.ac-icon-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--klick);
  height: var(--klick);
}

.ac-icon-knopf:hover {
  opacity: .72;
}

.ac-icon-knopf .i {
  width: 20px;
  height: 20px;
}

/* Schalter (Regel an/aus): Rechteck mit Riegel, Zustand zusätzlich als Text */
.ac-schalter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--klick);
  cursor: pointer;
}

.ac-schalter input[type="checkbox"] {
  position: relative;
  width: 42px;
  height: 24px;
  background: transparent;
}

.ac-schalter input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 3.5px;
  left: 3.5px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  transition: transform var(--dauer) var(--kurve);
}

.ac-schalter input[type="checkbox"]:checked {
  background: var(--ink);
}

.ac-schalter input[type="checkbox"]:checked::before {
  background: var(--studio);
  transform: translateX(18px);
}

.ac-schalter__text {
  min-width: 2.4em;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

@media (forced-colors: active) {
  .ac-schalter input[type="checkbox"]::before {
    display: none;
  }
}

/* Balken (Zahlen): Ink auf leiser Spur, nur Ergänzung zur Zahl */
.ac-balken {
  display: block;
  width: 100%;
  min-width: 72px;
  height: 10px;
  background: rgb(81 81 81 / .16);
}

.ac-balken__wert {
  display: block;
  height: 100%;
  background: var(--ink);
}

@media (forced-colors: active) {
  .ac-balken__wert {
    background: CanvasText;
  }
}

/* Gesperrter Bereich */
.ac-sperre {
  padding-top: 8px;
}

.ac-sperre__titel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ac-sperre__titel:focus {
  outline: none;
}

.ac-sperre__titel:focus-visible,
.konto h2:focus-visible,
.betrieb h3:focus-visible {
  outline: 2px solid var(--schwarz);
  outline-offset: 3px;
}

.ac-sperre__titel .i {
  width: 26px;
  height: 26px;
  margin-top: -3px;
}

.konto h1:focus,
.wk h1:focus,
.betrieb h1:focus,
.konto h2:focus:not(:focus-visible),
.betrieb h3:focus:not(:focus-visible),
.betrieb th:focus {
  outline: none;
}

/* -- Konto ------------------------------------------------------------------------ */

.konto__kopf .vorspann {
  max-width: 60ch;
}

.konto__status {
  display: grid;
  gap: 12px;
}

.konto__raster {
  row-gap: 56px;
}

.konto__spalte > h2 {
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.konto__an > .abschnitt:first-child {
  padding-top: 8px;
}

.konto__ohne-js {
  padding-bottom: 24px;
}

.ac-passwort {
  position: relative;
}

.ac-passwort .feld__eingabe {
  padding-right: 96px;
}

.ac-passwort__zeigen {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 80px;
  height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.ac-passwort__zeigen:hover {
  opacity: .72;
}

.ac-konten {
  padding: 0;
  list-style: none;
}

.ac-konto {
  display: grid;
  gap: 2px;
  padding: 14px 0 6px;
  border-top: 1px solid var(--linie);
}

.ac-konto:first-child {
  border-top: 0;
  padding-top: 0;
}

.ac-konto__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.ac-konto__person {
  font-weight: 400;
}

.ac-konto__rolle {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ac-konto__info {
  font-size: 14px;
  line-height: 1.45;
}

.ac-konto__mail {
  color: var(--ink-meta);
  overflow-wrap: anywhere;
}

.ac-konto__knopf {
  justify-self: start;
}

.ac-rechte-kurz {
  max-width: 34rem;
}

.ac-rechte-kurz td {
  width: 9rem;
}

.ac-antrag {
  max-width: 52ch;
}

.ac-antrag .feld {
  max-width: 26rem;
}

.ac-bestellung + .ac-bestellung {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.ac-bestellung__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
}

.ac-bestellung__kopf h3 {
  font-size: 20px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.ac-bestellung__stand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 14px;
}

.ac-posten td,
.ac-posten th {
  vertical-align: middle;
}

.ac-posten tbody th {
  font-weight: 400;
}

.ac-posten a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: none;
  font-weight: 700;
}

.ac-posten a:hover {
  text-decoration: underline;
  opacity: 1;
}

.ac-adressen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px var(--spalt);
  padding: 0;
  list-style: none;
}

.ac-adresse {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--linie);
}

.ac-adresse__titel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ac-adresse address {
  font-size: 15px;
  line-height: 1.5;
}

.ac-adresse .knoepfe {
  column-gap: 20px;
}

.ac-adressform {
  display: grid;
  gap: 18px;
  max-width: 36rem;
}

.ac-adressform__ort {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--spalt);
}

.ac-merkliste {
  padding: 0;
  list-style: none;
}

.ac-merk {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--linie);
}

.ac-merk:first-child {
  border-top: 0;
  padding-top: 0;
}

.ac-merk .ac-farbe {
  width: 44px;
}

.ac-merk__name {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  margin-block: -6px -8px;
  font-weight: 700;
  text-decoration: none;
}

.ac-merk__text {
  display: grid;
  justify-items: start;
}

.ac-merk__name:hover {
  text-decoration: underline;
}

.ac-merk__preis {
  display: block;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.ac-merk__preis .ac-fein {
  display: inline;
}

.ac-merk__knoepfe {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* -- Werkstattkreis --------------------------------------------------------------- */

.wk__sprung {
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.wk__sprung ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wk__sprung a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: none;
}

.wk .abschnitt {
  scroll-margin-top: 16px;
}

.wk__offen > .abschnitt:first-of-type {
  padding-top: clamp(32px, 4vw, 56px);
}

.wk__schritte {
  padding-left: 1.3em;
  font-size: 15px;
}

.wk__schritte li + li {
  margin-top: 6px;
}

.wk__schritte li::marker {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wk-blatt + .wk-blatt,
.wk-rezept + .wk-rezept,
.wk-kurs + .wk-kurs {
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.wk-blatt__kopf,
.wk-kurs__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
}

.wk-blatt__kopf h3,
.wk-kurs__kopf h3,
.wk-rezept h3,
.wk-charge__kopf h3 {
  font-size: 20px;
  line-height: 1.2;
}

.wk-blatt__werte {
  grid-template-columns: minmax(9em, 1fr) minmax(0, 2.4fr);
}

.wk-blatt__werte dt {
  hyphens: manual;
}

.wk-blatt__sicher {
  font-weight: 700;
}

.wk-rezept {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: var(--spalt);
  row-gap: 16px;
  align-items: start;
}

.wk-rezept__feld .farbfeld {
  width: 100%;
}

.wk-rezept__tabelle {
  max-width: 34rem;
}

.wk-staffel th[scope="col"].zahl {
  white-space: normal;
}

.wk-rechner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 18px var(--spalt);
  max-width: 40rem;
}

.wk-rechner__ergebnis {
  grid-column: 1 / -1;
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.wk-charge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: var(--spalt);
  max-width: 34rem;
}

.wk-charge .knopf {
  margin-top: 24px;
}

.wk-charge .feld__eingabe {
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.wk-charge .feld__eingabe::placeholder {
  letter-spacing: .04em;
}

.wk-charge__ergebnis:not(:empty) {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.wk-charge__kopf {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wk-charge__kopf .ac-farbe {
  width: 44px;
}

.wk-charge__keins {
  font-weight: 700;
  max-width: 56ch;
}

/* -- Betrieb (Demo-Backoffice) ------------------------------------------------------ */

.betrieb .ac-wer {
  padding-top: 4px;
}

.bt-reiter {
  padding-top: 8px;
}

.bt-reiter .reiter__liste {
  row-gap: 0;
}

.bt-feld {
  padding-bottom: 8px;
}

.bt-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 18px var(--spalt);
  max-width: 44rem;
}

.bt-schmal {
  max-width: 26rem;
}

.bt-zahl {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.bt-zahl .knopf--zweit {
  margin-left: 12px;
  font-weight: 700;
}

.bt-zahl .i {
  display: inline-block;
  vertical-align: -4px;
}

.bt-tabelle {
  font-size: 14px;
}

.bt-tabelle th,
.bt-tabelle td {
  padding: 10px 16px 10px 0;
}

.bt-tabelle th:last-child,
.bt-tabelle td:last-child {
  padding-right: 0;
}

.bt-tabelle tbody th {
  font-weight: 700;
}

.bt-nr {
  display: block;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bt-posten {
  padding: 0;
  list-style: none;
}

.bt-posten li + li {
  margin-top: 2px;
}

.bt-posten .ac-fein {
  display: inline;
}

.bt-bestellungen td:nth-child(3) {
  min-width: 15rem;
}

.bt-status {
  min-width: 11.5rem;
  font-size: 15px;
}

.bt-umbruch {
  overflow-wrap: anywhere;
}

.bt-tags {
  display: inline;
  padding: 0;
  list-style: none;
}

.bt-tags li {
  display: inline;
}

.bt-tags li + li::before {
  content: ", ";
}

.bt-kontakte th[scope="row"] {
  min-width: 13rem;
}

.bt-produkt {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bt-produkt .ac-farbe {
  width: 56px;
}

.bt-produkt__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.bt-preise {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 18px var(--spalt);
}

.bt-preise .feld__eingabe {
  font-variant-numeric: tabular-nums;
}

.betrieb textarea {
  font-size: 16px;
  line-height: 1.5;
}

.bt-csv {
  min-height: 0;
  padding: 10px 12px 9px;
  background: var(--studio);
  font-size: 15px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  white-space: pre;
  overflow-x: auto;
}

.bt-bewertungen,
.bt-antraege {
  padding: 0;
  list-style: none;
}

.bt-bewertung,
.bt-antrag {
  padding: 14px 0 4px;
  border-top: 1px solid var(--linie);
}

.bt-bewertung:first-child,
.bt-antrag:first-child {
  border-top: 0;
  padding-top: 0;
}

.bt-bewertung__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.bt-bewertung .ac-fein {
  display: block;
}

.bt-pruef {
  display: block;
}

.bt-pruef--fehler {
  font-weight: 700;
}

.bt-import td:last-child {
  min-width: 18rem;
}

.bt-live {
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.bt-live:empty {
  display: none;
}

.bt-live li {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  column-gap: 12px;
}

.bt-live li + li {
  margin-top: 2px;
}

.bt-live__zeit {
  color: var(--ink-meta);
}

.bt-live__fett {
  font-weight: 700;
}

.bt-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0 0;
  border-top: 2px solid var(--ink);
  font-size: 15px;
  line-height: 1.45;
  max-width: 70ch;
}

.bt-banner > .i {
  width: 22px;
  height: 22px;
}

.bt-hinweis .bt-banner {
  max-width: 64ch;
}

.bt-hinweis:focus {
  outline: none;
}

.bt-regeln th[scope="row"] {
  min-width: 14rem;
}

.bt-regeln td:first-child {
  width: 1%;
  white-space: nowrap;
}

.bt-test {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px var(--spalt);
}

.bt-test .feld {
  flex: 1 1 16rem;
  max-width: 22rem;
}

/* Postausgang: aufklappbare Mails */
.bt-mail,
.bt-csv-vorschau {
  border-top: 1px solid var(--linie);
}

.bt-mail:last-of-type {
  border-bottom: 1px solid var(--linie);
}

.bt-mail__kopf,
.bt-csv-vorschau > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  min-height: var(--klick);
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
}

.bt-mail__kopf::-webkit-details-marker,
.bt-csv-vorschau > summary::-webkit-details-marker {
  display: none;
}

.bt-mail__kopf:hover,
.bt-csv-vorschau > summary:hover {
  opacity: .72;
}

.bt-mail__betreff {
  grid-column: 1;
  font-weight: 700;
  line-height: 1.35;
}

.bt-mail__meta {
  grid-column: 1;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-meta);
  overflow-wrap: anywhere;
}

.bt-mail__status {
  grid-column: 1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bt-mail__zeichen {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 20px;
  height: 20px;
}

.bt-csv-vorschau > summary {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bt-csv-vorschau > summary .bt-mail__zeichen {
  grid-row: 1;
}

details[open] > summary .bt-mail__zeichen {
  transform: rotate(45deg);
}

.bt-mail__inhalt {
  padding: 2px 0 20px;
}

.bt-mail__text {
  max-width: 68ch;
  padding: 14px 16px;
  background: var(--studio);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bt-csv-vorschau__inhalt {
  padding-bottom: 16px;
}

/* Zahlen */
.bt-zahlen th[scope="row"] {
  font-weight: 400;
}

.bt-zahlen th[scope="row"] a {
  font-weight: 700;
  text-decoration: none;
}

.bt-zahlen th[scope="row"] a:hover {
  text-decoration: underline;
}

.bt-balken-zelle {
  width: 38%;
  vertical-align: middle !important;
}

.bt-trichter tbody th {
  white-space: nowrap;
  font-weight: 700 !important;
}

.bt-synthetisch {
  padding-top: 12px;
}

/* Rechte-Matrix */
.bt-matrix {
  font-size: 14px;
}

.bt-matrix th,
.bt-matrix td {
  padding: 4px 10px 4px 0;
  vertical-align: middle;
}

.bt-matrix thead th {
  padding-bottom: 10px;
}

.bt-matrix tbody th {
  padding-right: 20px;
}

.bt-matrix__rolle,
.bt-matrix__zelle {
  text-align: center !important;
  min-width: 6.5rem;
}

.bt-ihre {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.bt-db__tabelle {
  max-width: 32rem;
}

.bt-db__frage {
  max-width: 60ch;
}

/* Breite Tabellen (Bestellungen, Import, Kontakte): Text auf dem 3-Spalten-Raster, Werkzeug darunter in voller Breite */
@media (min-width: 1024px) {
  .ac-teil--breit > .ac-teil__info {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--spalt);
    row-gap: 12px;
    align-items: start;
    max-width: none;
  }

  .ac-teil--breit > .ac-teil__info > * {
    grid-column: 3;
    margin-top: 0;
    max-width: 46ch;
  }

  .ac-teil--breit > .ac-teil__info > h2 {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .ac-teil--breit > .ac-teil__info > p:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .ac-teil--breit > .ac-teil__werk {
    grid-column: 1 / -1;
  }
}

/* Unterabschnitte im Backoffice: Linie oben statt Kasten */
.bt-feld .ac-teil__werk > section > h3,
.bt-db h2 {
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}

.bt-feld .ac-teil__werk > section > h3 {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.ac-nur-schmal {
  display: none;
}

.ac-charge,
.ac-nowrap {
  white-space: nowrap;
}

/* -- Breiten ------------------------------------------------------------------------ */
@media (max-width: 1023.98px) {
  .ac-teil {
    grid-template-columns: minmax(0, 1fr);
  }

  .ac-teil__info,
  .ac-teil__werk {
    grid-column: 1;
    max-width: none;
  }

  .ac-teil__info {
    max-width: 62ch;
  }
}

@media (max-width: 639.98px) {
  .ac-adressen,
  .ac-adressform__ort,
  .bt-filter,
  .wk-rezept,
  .wk-rechner,
  .wk-blatt__werte {
    grid-template-columns: minmax(0, 1fr);
  }

  .wk-rezept__feld {
    max-width: 18rem;
  }

  .ac-merk {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ac-merk__knoepfe {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .wk-charge {
    grid-template-columns: minmax(0, 1fr);
  }

  .wk-charge .knopf {
    margin-top: 16px;
    justify-self: start;
  }

  .bt-live li {
    grid-template-columns: minmax(0, 1fr);
  }

  .bt-zahl .knopf--zweit {
    margin-left: 0;
  }

  .wk-blatt__werte dd {
    padding-top: 0;
    border-top: 0;
  }

  /* Positionen im Konto: Gebinde unter dem Namen statt eigener Spalte */
  .ac-posten .ac-gebinde {
    display: none;
  }

  .ac-posten .ac-nur-schmal {
    display: block;
  }

  .ac-posten .ac-farbe {
    width: 22px;
  }

  .ac-posten .ac-posten__farbe {
    gap: 10px;
    align-items: flex-start;
  }

  .ac-posten .ac-posten__farbe .ac-farbe {
    margin-top: 11px;
  }

  .ac-posten a {
    min-height: 0;
    padding-top: 10px;
  }

  .ac-posten th,
  .ac-posten td {
    padding-right: 10px;
  }

  /* Backoffice-Tabellen als gestapelte Zeilen mit Beschriftung */
  .bt-stapel thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .bt-stapel,
  .bt-stapel tbody,
  .bt-stapel tr,
  .bt-stapel th,
  .bt-stapel td {
    display: block;
    width: auto;
    min-width: 0 !important;
  }

  .bt-stapel tr {
    padding: 12px 0 10px;
  }

  .bt-stapel tbody tr + tr {
    border-top: 1px solid var(--linie);
  }

  .bt-stapel tbody tr + tr > * {
    border-top: 0;
  }

  .bt-stapel th,
  .bt-stapel td {
    padding: 3px 0 !important;
    text-align: left !important;
    white-space: normal;
  }

  .bt-stapel [data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: var(--sperr-zeile);
    color: var(--ink-meta);
  }

  .wk-staffel.bt-stapel td[data-label] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .wk-staffel.bt-stapel td[data-label]::before {
    display: inline;
  }

  .bt-import th[data-label]::before {
    display: inline;
    margin-right: .5em;
  }

  .bt-stapel .bt-status {
    width: 100%;
  }

  .bt-regeln tr {
    display: flex;
    flex-direction: column;
  }

  .bt-regeln tbody th {
    order: -1;
  }

  .bt-stapel .bt-aktion:empty {
    display: none;
  }

  .bt-stapel .zahl .ac-fein {
    display: inline;
    margin-left: .4em;
  }
}

/* ==== 50-content.css ==== */
/* == Inhalte (Räume, Journal, Fragen, Musterräume, Mühle, Bausteine, Rechtliches) ==
   Besitz: Inhalte-Agent. Nur Klassen der Inhaltsseiten; Grundlage in 00-base.css. */

/* -- Gemeinsam -- */
.inhalt-seite .seitenkopf {
  padding-top: clamp(20px, 3vw, 44px);
}

.inhalt-seite .seitenkopf h1 {
  max-width: 22ch;
}

/* Sprungmarken unter fester Kopfzeile: Luft nach oben */
.inhalt-seite [id] {
  scroll-margin-top: 24px;
}

/* Ruhige Linkliste in Bildzeilen-Typo */
.inhalt-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.inhalt-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.inhalt-links--senkrecht {
  flex-direction: column;
  align-items: flex-start;
}

.inhalt-nobr {
  white-space: nowrap;
}

/* Text in breiten Definitionsspalten auf Lesemaß halten (die Linie läuft durch) */
.inhalt-mass {
  display: block;
  max-width: 66ch;
}

/* Kleines Farbfeld als Punkt vor Farbnamen */
.farbfeld--punkt {
  display: inline-block;
  flex: none;
  width: 14px;
  height: 14px;
  aspect-ratio: auto;
  vertical-align: -2px;
  margin-right: 7px;
}

/* Zitat in Mauerwerk und Artikeln: Gewicht statt Farbe */
.inhalt-zitat blockquote,
.raum__zitat blockquote {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.004em;
  text-wrap: pretty;
}

.inhalt-zitat figcaption,
.raum__zitat figcaption {
  margin-top: 8px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

/* Kleine Datenliste (Begriff über Wert in zwei Spalten) */
.inhalt-daten {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 16px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.inhalt-daten dt,
.inhalt-daten dd {
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid var(--linie);
}

.inhalt-daten dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.inhalt-daten dd {
  font-variant-numeric: tabular-nums;
}

/* == raeume == */
.raeume__wand {
  margin-top: 8px;
}

.raum {
  padding-bottom: 28px;
}

.raum .bildzeile {
  align-items: flex-start;
  padding-top: 12px;
  min-height: 0;
}

.raum .bildzeile__titel {
  font-size: var(--fs-zeile);
  line-height: 1.35;
}

.raum__nr {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.raum > * + * {
  margin-top: 10px;
}

.raum > .kachel__bild + .bildzeile {
  margin-top: 0;
}

.raum__farben {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 18px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.raum__label {
  font-weight: 400;
}

.raum__farben a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.raum__text {
  font-size: 15px;
  line-height: 1.5;
  max-width: 60ch;
}

.raum__zitat {
  padding-top: 6px;
}

.raum__fakten {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.raum__fakten dt,
.raum__fakten dd {
  margin: 0;
  padding: 6px 0;
  border-top: 1px solid var(--linie);
}

.raum__fakten dt {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.raum__fakten dd {
  font-variant-numeric: tabular-nums;
}

/* Angesprungener Raum (z. B. von der Wand oder einer Produktseite) */
.raum:target .bildzeile__titel {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}

.raeume__weiter-text {
  max-width: 52ch;
}

.raeume__weiter .inhalt-links {
  align-self: start;
  margin-top: -12px;
}

/* Kleine Überschrift in Bildzeilen-Typo (z. B. Randspalten) */
.bs-klein {
  margin-bottom: 10px;
  font-size: var(--fs-zeile);
  line-height: 1.3;
  letter-spacing: var(--sperr-zeile);
}

/* == journal == */
.journal__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 48px;
  align-items: start;
}

.journal__beitraege {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
  align-items: start;
}

.journal-beitrag > * + * {
  margin-top: 8px;
}

.journal-beitrag > .kachel__bild + * {
  margin-top: 0;
}

.journal-beitrag__meta {
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 0;
  font-weight: 400;
}

.journal-beitrag__meta time {
  font-variant-numeric: tabular-nums;
}

.journal-beitrag__titel {
  font-size: var(--fs-nav);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-nav);
  text-wrap: balance;
}

.journal-beitrag__titel a {
  display: inline-block;
  padding-block: 2px;
  text-decoration: none;
}

.journal-beitrag__titel a:hover {
  opacity: .72;
}

.journal-beitrag__text {
  max-width: 52ch;
}

.journal__notizen > h2 {
  margin-bottom: 14px;
}

.notizen {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notiz {
  padding: 16px 0 20px;
  border-top: 1px solid var(--linie);
}

.notiz > * + * {
  margin-top: 6px;
}

.notiz__datum {
  display: block;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  font-variant-numeric: tabular-nums;
}

.notiz__titel {
  font-size: 17px;
  line-height: 1.3;
}

.notiz p {
  font-size: 15px;
  line-height: 1.5;
}

.notiz a,
.journal-beitrag__text a {
  text-decoration: underline;
}

.journal__hinweis {
  margin-top: 48px;
}

/* == journal-artikel == */
.artikel__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "kopf kopf seite"
    "text text seite";
  grid-template-rows: auto 1fr;
  column-gap: var(--spalt);
  align-items: start;
}

.artikel__kopf {
  grid-area: kopf;
}

.artikel__kopf h1 {
  max-width: 30ch;
}

.artikel__meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  font-variant-numeric: tabular-nums;
}

.artikel__seite {
  grid-area: seite;
  padding-top: clamp(20px, 3vw, 44px);
}

.artikel__seite > * + * {
  margin-top: 32px;
}

.artikel__bild .bildunterschrift {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

.artikel__kurz > h2 {
  margin-bottom: 12px;
}

.artikel__bild .bildunterschrift a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  margin-left: .4em;
  text-decoration: underline;
  text-underline-offset: .3em;
}

.artikel__text {
  grid-area: text;
  padding-bottom: 8px;
}

.artikel__text > ol > li::marker {
  font-weight: 700;
}

.artikel__text figure.artikel__einschub {
  max-width: 400px;
}

.artikel__text figure figcaption {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 15px;
}

.artikel__probe {
  margin-block: 2em;
}

.artikel__probe > * + * {
  margin-top: 12px;
}

.artikel__probe-text {
  font-size: 15px;
  line-height: 1.5;
  max-width: 56ch;
}

.artikel__probe-titel {
  display: block;
  margin-bottom: 2px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.artikel__probe .lichtprobe--block {
  font-size: var(--fs-zeile);
}

.artikel__probe .lichtprobe__hinweis {
  display: none;
}

.artikel__kacheln {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artikel__kachelbild {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.artikel__weiter {
  margin-top: 24px;
}

/* == fragen == */
.fragen__sprung {
  padding-top: 8px;
}

.fragen-gruppe {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: start;
  padding-top: clamp(40px, 5vw, 72px);
}

.seitenkopf + .fragen-gruppe {
  padding-top: 16px;
}

.fragen-gruppe__titel {
  padding-top: 15px;
}

.fragen-gruppe__liste {
  grid-column: 2 / 4;
  border-bottom: 1px solid var(--linie);
}

.frage {
  border-top: 1px solid var(--linie);
}

.frage__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 12px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
  transition: opacity 120ms var(--kurve);
}

.frage__kopf::-webkit-details-marker {
  display: none;
}

.frage__kopf::marker {
  content: "";
}

.frage__kopf:hover {
  opacity: .72;
}

.frage__kopf:focus-visible {
  outline-offset: 2px;
}

.frage__kopf .i {
  width: 22px;
  height: 22px;
}

.frage__zu,
.frage[open] .frage__auf {
  display: none;
}

.frage[open] .frage__zu {
  display: block;
}

.frage__antwort {
  max-width: 66ch;
  padding: 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
}

.frage__antwort a {
  text-decoration: underline;
}

.fragen__weiter-text {
  max-width: 52ch;
}

.fragen__weiter .inhalt-links {
  margin-top: -12px;
}

.fragen__tel {
  white-space: nowrap;
}

/* == musterraum (lokale Seiten) == */
.ort__info > * + * {
  margin-top: 36px;
}

.ort__block > h2 {
  margin-bottom: 12px;
  font-size: var(--fs-zeile);
  line-height: 1.3;
  letter-spacing: var(--sperr-zeile);
}

.ort__block > * + * {
  margin-top: 14px;
}

.nap {
  display: grid;
  justify-items: start;
  font-size: 18px;
  line-height: 1.45;
}

.nap__name {
  font-weight: 700;
}

.nap__kontakt {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.nap span + .nap__kontakt {
  margin-top: 4px;
}

.ort__zeiten {
  max-width: 380px;
  font-size: 16px;
}

.ort__zeiten dt {
  min-width: 7.5em;
}

.ort__hinweis {
  font-size: 14px;
  max-width: 44ch;
}

.ort__gbp {
  padding-top: 14px;
  border-top: 1px solid var(--linie);
}

.ort__bild .bildzeile {
  min-height: var(--klick);
}

.ort__abschnitt > .demo-hinweis {
  margin-top: 24px;
}

.ort__liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ort__liste li {
  padding-top: 14px;
  border-top: 1px solid var(--linie);
}

.ort__liste li > * + * {
  margin-top: 6px;
}

.ort__liste p,
.ort__spalten p {
  max-width: 52ch;
}

.ort__liste a,
.ort__spalten a {
  text-decoration: underline;
}

.ort__spalten > div {
  padding-top: 14px;
  border-top: 1px solid var(--linie);
}

.ort__spalten .stapel {
  --stapel: 6px;
}

.ort__raeume {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 32px;
  align-items: start;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.ort__raum-text {
  font-size: 14px;
  line-height: 1.45;
}

/* == muehle == */
.muehle__start {
  padding-top: 8px;
}

.muehle__start .split__info > h2,
.muehle__herstellung > h2 {
  margin-bottom: 18px;
}

.zeitleiste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zeitleiste li {
  display: grid;
  grid-template-columns: 4.2em minmax(0, 1fr);
  column-gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--linie);
}

.zeitleiste__jahr {
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.zeitleiste p {
  font-size: 15px;
  line-height: 1.5;
}

.muehle__nachsatz {
  margin-top: 18px;
  max-width: 52ch;
}

.muehle__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  align-items: start;
}

.muehle__schritte {
  grid-column: span 2;
}

.muehle__schritte .muehle-schritte {
  columns: 2;
  column-gap: var(--spalt);
}

.muehle__schritte .muehle-schritte li {
  break-inside: avoid;
}

.muehle__einleitung {
  max-width: 52ch;
  margin-bottom: 20px;
  font-size: var(--fs-lese);
}

.muehle-schritte {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: muehle-schritt;
}

.muehle-schritte li {
  counter-increment: muehle-schritt;
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  column-gap: 10px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--linie);
}

.muehle-schritte li::before {
  content: counter(muehle-schritt);
  grid-row: 1 / span 2;
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.muehle-schritte h3 {
  font-size: 16px;
}

.muehle-schritte p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 60ch;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team__person {
  padding-top: 14px;
  border-top: 1px solid var(--linie);
}

.team__person > * + * {
  margin-top: 6px;
}

.team__person h3 {
  font-size: 18px;
}

.team__rolle {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.team__person p:not(.team__rolle) {
  max-width: 52ch;
}

.haltung {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
}

.haltung dt,
.haltung dd {
  margin: 0;
  padding: 14px 0 16px;
  border-top: 1px solid var(--linie);
}

.haltung dt {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.haltung dd {
  grid-column: 2 / 4;
}

/* Links in Bildzeilen unter Bildern bleiben im Zeilenfluss */
.inhalt-seite figcaption.bildzeile .bildzeile__titel a {
  display: inline;
  min-height: 0;
  text-decoration: underline;
  text-underline-offset: .3em;
}

.inhalt-seite figcaption.bildzeile {
  padding-block: 10px;
}

.muehle__links {
  margin-top: 20px;
}

#haltung > .demo-hinweis {
  margin-top: 16px;
}

/* == bausteine == */
.bs-einleitung {
  padding-top: 8px;
}

.bs-einleitung p {
  max-width: 52ch;
}

.bs-text {
  max-width: 66ch;
}

.abschnitt > .bs-text + * {
  margin-top: 24px;
}

.bs-paket {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--linie);
}

.bs-paket li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--spalt);
  align-items: center;
  min-height: var(--klick);
  border-top: 1px solid var(--linie);
}

.bs-paket__name {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bs-paket a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: underline;
}

.bs-kopfzeile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  margin-top: 32px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bs-gruppe {
  padding-top: 40px;
}

.bs-gruppe__titel {
  margin-bottom: 4px;
  font-size: var(--fs-nav);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: var(--sperr-nav);
}

.bs-addons {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-addon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  padding: 12px 0 14px;
  border-top: 1px solid var(--linie);
}

.bs-addon:target {
  border-top: 2px solid var(--ink);
}

.bs-addon__name h4 {
  font-size: 17px;
  line-height: 1.35;
}

.bs-addon__skill {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.bs-addon__skill .etikett {
  margin-left: 6px;
  min-height: 0;
  padding: 0;
  font-size: 12px;
}

.bs-addon__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bs-addon__daten {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  margin: 0;
}

.bs-addon__daten dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Spaltenköpfe stehen über der Liste; je Eintrag nur für Screenreader */
.bs-addon__daten .bs-addon__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.bs-addon__links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  margin: -10px 0 0;
  padding: 0;
  list-style: none;
}

.bs-addon__links li {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
}

.bs-addon__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.bs-knopf {
  font-size: var(--fs-zeile);
}

.no-js .bs-knopf {
  display: none;
}

/* Größere Trefferfläche für Links in Tabellen, ohne die Zeilenhöhe zu ändern */
.bausteine .tabelle a {
  display: inline-block;
  padding-block: 13px;
  margin-block: -13px;
}

.bs-keywords th[scope="row"] {
  font-weight: 700;
  white-space: nowrap;
}

.bs-liste {
  margin: 0;
  padding-left: 1.1em;
  max-width: 70ch;
}

.bs-liste li + li {
  margin-top: 8px;
}

#performance > .tabelle-rahmen,
#seo-feinschliff > .tabelle-rahmen {
  margin-top: 32px;
}

.bs-sandbox {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  margin-top: 24px;
}

.bs-sandbox dt,
.bs-sandbox dd {
  margin: 0;
  padding: 12px 0 14px;
  border-top: 1px solid var(--linie);
}

.bs-sandbox dt {
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bs-sandbox dd {
  grid-column: 2 / 4;
}

.bs-sandbox a,
.bs-text a,
.bausteine .tabelle a {
  text-decoration: underline;
}

/* == recht (Impressum, Datenschutz) == */
.recht__muster {
  display: grid;
  gap: 4px;
  max-width: 100ch;
  margin-bottom: 40px;
  padding: 14px 0 16px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.recht__muster strong {
  font-size: var(--fs-nav);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-nav);
}

.recht__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "text text rand";
  column-gap: var(--spalt);
  align-items: start;
}

.recht__text {
  grid-area: text;
}

.recht__text > h2:first-child {
  margin-top: 0;
}

.recht__rand {
  grid-area: rand;
}

.recht__toc {
  position: sticky;
  top: var(--spalt);
}

.recht__nap {
  font-size: inherit;
}

.recht__nap a {
  text-decoration: underline;
}

.recht__tabelle {
  font-size: 15px;
}

.recht__tabelle td:nth-child(2) {
  min-width: 24ch;
}

.recht__tabelle td:last-child {
  min-width: 14ch;
}

.recht__knopf {
  margin-top: 1.2em;
}

.recht__text code {
  font-size: .88em;
}

.recht__stand {
  font-size: 14px;
  color: var(--ink-meta);
}

/* == Inhalte: Breite 640–1023px == */
@media (max-width: 1023.98px) {
  .journal__raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .journal__beitraege {
    grid-column: 1;
  }

  .artikel__raster {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "kopf" "seite" "text";
    grid-template-rows: auto;
  }

  .artikel__seite {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--spalt);
    align-items: start;
    padding-top: 0;
    padding-bottom: 36px;
  }

  .artikel__seite > * + * {
    margin-top: 0;
  }

  .artikel__kacheln {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .fragen-gruppe {
    grid-template-columns: minmax(0, 1fr);
  }

  .fragen-gruppe__titel {
    padding: 0 0 12px;
  }

  .fragen-gruppe__liste {
    grid-column: 1;
  }

  .ort__liste,
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .muehle__raster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .muehle__schritte {
    grid-column: 1 / -1;
  }

  .ort__raeume {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .haltung,
  .bs-sandbox {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  .haltung dd,
  .bs-sandbox dd {
    grid-column: 2;
  }

  .bs-kopfzeile {
    display: none;
  }

  .bs-addon {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }

  .bs-addon__daten {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  .bs-addon__daten .bs-addon__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    display: block;
    margin-bottom: 2px;
  }

  .bs-addon__links {
    margin-top: -8px;
  }

  .recht__raster {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }

  .recht__text,
  .recht__rand {
    grid-area: auto;
  }

  .recht__toc {
    position: static;
    margin-bottom: 32px;
  }

  .recht__rand:not(.recht__toc) {
    margin-top: 40px;
  }
}

/* == Inhalte: unter 640px == */
@media (max-width: 639.98px) {
  .journal__beitraege,
  .artikel__seite,
  .ort__liste,
  .team,
  .ort__raeume,
  .haltung,
  .bs-sandbox {
    grid-template-columns: minmax(0, 1fr);
  }

  .artikel__seite {
    row-gap: 28px;
  }

  .muehle__raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .muehle__schritte .muehle-schritte {
    columns: 1;
  }

  .haltung dd,
  .bs-sandbox dd {
    grid-column: 1;
    padding-top: 0;
    border-top: 0;
  }

  .haltung dt,
  .bs-sandbox dt {
    padding-bottom: 6px;
  }

  .bs-paket li {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 10px;
  }

  .recht__muster strong {
    font-size: 18px;
  }

  .frage__antwort {
    font-size: 16px;
  }

  .artikel__text figure.artikel__einschub {
    max-width: none;
  }

  .recht__tabelle td:nth-child(2),
  .recht__tabelle td:last-child {
    min-width: 0;
  }

  .recht__tabelle th,
  .recht__tabelle td {
    padding-right: 12px;
  }
}

/* Kontaktlinks im Adressblock: Klickziel mindestens 44 px */
.recht__nap a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick, 44px);
}

/* Typo-Stufen (Review): Abschnittsköpfe in der 22px-Versalstufe wie MENGENRECHNER/EIGENSCHAFTEN,
   13px-Versalien bleiben den Bildzeilen vorbehalten. */
.bs-klein,
.ort__block > h2 {
  font-size: var(--fs-nav, 22px);
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ==== 60-forms.css ==== */
/* == Formulare: beratung.html (Terminbuchung) und anfrage.html (Objektanfrage) ==
   MXL-002: unterstrichene Felder, Versal-Beschriftungen, keine Kästen. Farbe nur aus Bildern
   und Farbfeldern. Spalten folgen dem Drei-Spalten-Raster der Kopfzeile. */

/* -- Gemeinsam ----------------------------------------------------------- */
.formkopf .vorspann {
  max-width: 58ch;
}

.formspalten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 24px;
  align-items: start;
}

.formspalten > :first-child {
  grid-column: 1;
}

.formspalten > :nth-child(2) {
  grid-column: 2 / 4;
}

/* Kurzer Satz in Spalte 1, gesetzt wie ein Zitat auf der Wand */
.termin-regeln__kurz,
.anfrage-info__kurz {
  max-width: 22ch;
  font-size: var(--fs-zitat);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.008em;
  text-wrap: balance;
}

.formspalten .text {
  font-size: 17px;
}

.felder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px var(--spalt);
  align-items: start;
}

.felder > .feld--breit {
  grid-column: 1 / -1;
}

.feld--unten {
  align-self: end;
}

.feld__opt {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-meta);
}

.feld > .wahl + .wahl {
  padding-top: 2px;
}

.wahl-zeile {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
}

/* Fehlerliste über dem Formular (Text + Icon + Sprung zum Feld) */
.fehlerliste {
  max-width: 72ch;
  padding: 14px 0 4px;
  border-top: 2px solid var(--ink);
}

.fehlerliste:focus {
  outline: none;
}

.fehlerliste:focus-visible {
  outline: 2px solid var(--schwarz);
  outline-offset: 6px;
}

.fehlerliste__titel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.fehlerliste__titel .i {
  width: 22px;
  height: 22px;
}

.fehlerliste__hilfe {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-meta);
}

.fehlerliste__liste {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.fehlerliste__liste a {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  padding: 4px 0;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: .25em;
}

/* Aufklapp-Hilfe und Mail-Text: Versal-Unterstrich wie Sekundärknopf */
.hilfe summary,
.mail__zeigen {
  display: inline-flex;
  align-items: center;
  min-height: var(--klick);
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.hilfe summary::-webkit-details-marker,
.mail__zeigen::-webkit-details-marker {
  display: none;
}

.hilfe summary:hover,
.mail__zeigen:hover {
  opacity: .72;
}

.hilfe p {
  max-width: 66ch;
  margin-top: 6px;
  font-size: 15px;
}

/* Postausgang (Demo) */
.mails {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mail {
  padding: 12px 0 2px;
  border-top: 1px solid var(--linie);
}

.mail__betreff {
  font-weight: 700;
  line-height: 1.4;
}

.mail__meta {
  display: grid;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-meta);
  overflow-wrap: anywhere;
}

.mail__text {
  max-width: 70ch;
  margin: 2px 0 10px;
  padding: 12px 14px;
  background: var(--studio);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Kalendereintrag als Text (Daten, daher Ziffern tabellarisch; keine Monospace-Verkleidung) */
.ics {
  margin: 0;
  padding: 14px 16px;
  background: var(--studio);
  font-family: var(--schrift);
  font-size: 13px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ics::selection {
  background: var(--ink);
  color: var(--studio);
}

/* -- Terminbuchung: Ihre Termine -------------------------------------------- */
.termin-meine {
  padding-top: clamp(24px, 3vw, 40px);
}

.termin-meine > h2 {
  margin-bottom: 14px;
}

.termin-meine > h2:focus {
  outline: none;
}

.termin-meine__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--linie);
}

.termin-meine__eintrag {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: center;
  padding: 4px 0;
  border-top: 1px solid var(--linie);
}

.termin-meine__text {
  grid-column: 1 / 3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 18px;
  padding: 10px 0;
  font-variant-numeric: tabular-nums;
}

.termin-meine__status {
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.termin-meine__eintrag > .knoepfe {
  justify-content: flex-end;
}

.termin-meine__eintrag > .termin-frage {
  grid-column: 1 / -1;
  margin-bottom: 12px;
}

.termin-meine__eintrag.ist-abgesagt {
  color: var(--ink-meta);
}

.termin-meine__liste + .demo-hinweis {
  margin-top: 8px;
}

.termin-frage {
  max-width: 60ch;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.termin-frage > * + * {
  margin-top: 8px;
}

.termin-frage > p {
  font-weight: 700;
}

/* -- Terminbuchung: Art der Beratung ----------------------------------------- */
.termin-arten__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 48px;
  align-items: start;
}

.termin-art {
  display: grid;
  align-content: start;
  min-width: 0;
}

.termin-art__figur {
  margin: 0 0 6px;
}

.termin-art__bild {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #cfcfcf;
}

.termin-art__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Probeflächen: alle Töne nebeneinander, wie im Mahlboden */
.termin-art__bild--probe {
  display: flex;
  background: transparent;
}

.termin-art__bild--probe .farbfeld {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  aspect-ratio: auto;
}

.termin-art__titel {
  font-size: var(--fs-nav);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: var(--sperr-nav);
}

.termin-art__wahl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--klick);
  cursor: pointer;
}

.js .termin-art__wahl:hover span {
  opacity: .72;
}

.no-js .termin-art__wahl {
  cursor: auto;
}

.termin-art.ist-gewaehlt .termin-art__wahl span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}

.termin-art__daten {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
}

.termin-art__daten span:first-child {
  font-weight: 700;
}

.termin-art__text {
  max-width: 48ch;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.5;
}

.termin-art__text h4 {
  font-size: var(--fs-zeile);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.termin-art__text h4 + * {
  margin-top: 6px;
}

.termin-art__text * + h4 {
  margin-top: 18px;
}

.termin-art__liste {
  margin: 0;
  padding-left: 1.15em;
}

.termin-art__liste li + li {
  margin-top: 4px;
}

/* -- Terminbuchung: Kalender und Uhrzeiten ------------------------------------ */
.termin-zeit > h2:focus,
.termin-bestaetigung > h2:focus,
.anfrage-schritt__titel:focus,
.anfrage-fertig__titel:focus {
  outline: none;
}

.termin-zeit > h2:focus-visible,
.termin-bestaetigung > h2:focus-visible,
.anfrage-schritt__titel:focus-visible,
.anfrage-fertig__titel:focus-visible {
  outline: 2px solid var(--schwarz);
  outline-offset: 6px;
}

.termin-verlegen {
  max-width: 66ch;
  margin-bottom: 24px;
  font-weight: 700;
}

.termin-zeit__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
  align-items: start;
}

.kalender {
  grid-column: 1;
  min-width: 0;
}

.termin-slots {
  grid-column: 2 / 4;
  min-width: 0;
}

.kalender__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kalender__monat,
.termin-slots__titel {
  display: flex;
  align-items: center;
  min-height: var(--klick);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.kalender__blaettern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--klick);
  height: var(--klick);
}

.kalender__blaettern:first-child {
  margin-left: -10px;
}

.kalender__blaettern:last-child {
  margin-right: -10px;
}

.kalender__blaettern:hover {
  opacity: .72;
}

.kalender__blaettern[aria-disabled="true"] {
  opacity: .3;
  cursor: not-allowed;
}

.kalender__tabelle {
  width: 100%;
  margin-top: 6px;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.kalender__tabelle th {
  padding: 0 0 6px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.kalender__tabelle tbody tr:first-child td {
  padding-top: 6px;
}

.kalender__tabelle td {
  height: 48px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.kalender__tag {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  cursor: default;
}

.kalender__zahl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(42px, 100%);
  height: 42px;
}

.kalender__tag[aria-disabled="true"] .kalender__zahl {
  opacity: .45;
}

.kalender__tag.ist-frei {
  font-weight: 700;
  cursor: pointer;
}

.kalender__tag.ist-frei:hover .kalender__zahl {
  opacity: .72;
}

.kalender__tag.ist-heute .kalender__zahl {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .32em;
}

.kalender__tag.ist-gewaehlt .kalender__zahl,
.kalender__tag.ist-gewaehlt:hover .kalender__zahl {
  background: var(--ink);
  color: var(--studio);
  opacity: 1;
}

.kalender__tag:focus {
  outline: none;
}

.kalender__tag:focus-visible {
  outline: 2px solid var(--schwarz);
  outline-offset: -2px;
}

.kalender__hilfe {
  max-width: 46ch;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-meta);
}

.termin-slots__titel {
  border-bottom: 1px solid var(--ink);
}

.termin-slots__info {
  margin-top: 10px;
  font-size: 15px;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px var(--spalt);
  max-width: 780px;
  margin-top: 14px;
}

.slots:empty {
  display: none;
}

.slot {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2px;
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.slot:hover {
  opacity: .72;
}

.slot.ist-gewaehlt,
.slot.ist-gewaehlt:hover {
  padding: 0 12px;
  background: var(--ink);
  color: var(--studio);
  opacity: 1;
}

/* -- Terminbuchung: Angaben -------------------------------------------------- */
.termin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  align-items: start;
}

.termin-form__wahl {
  grid-column: 3;
  grid-row: 1 / span 3;
  position: sticky;
  top: 20px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.termin-form > .fehlerliste,
.termin-form__felder,
.termin-form__senden {
  grid-column: 1 / 3;
}

.termin-wahl__titel {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--klick);
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.termin-wahl__fakten {
  width: 100%;
  grid-template-columns: minmax(6.5em, 1fr) 2fr;
}

.termin-wahl__fakten dt:first-of-type,
.termin-wahl__fakten dt:first-of-type + dd {
  border-top: 0;
}

.termin-wahl__leer {
  max-width: 36ch;
}

.termin-wahl__verlegt {
  max-width: 40ch;
  font-weight: 700;
}

.termin-fotos__text {
  max-width: 66ch;
  font-size: 15px;
}

.termin-form__senden {
  display: grid;
  gap: 12px;
  justify-items: start;
}

/* -- Terminbuchung: Bestätigung ----------------------------------------------- */
.termin-bestaetigung__inhalt {
  --stapel: 14px;
}

.termin-bestaetigung__inhalt > .vorspann {
  max-width: 60ch;
  font-weight: 700;
}

.termin-bestaetigung__inhalt > .bestaetigung__raster,
.termin-bestaetigung__inhalt > .bestaetigung__aktionen {
  margin-top: 40px;
}

.bestaetigung__raster,
.fertig__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
  align-items: start;
}

.bestaetigung__raster > *,
.fertig__raster > * {
  min-width: 0;
}

.bestaetigung__raster h3,
.bestaetigung__aktionen h3,
.fertig__raster h3 {
  display: flex;
  align-items: center;
  min-height: var(--klick);
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.bestaetigung__raster .stapel > h3:not(:first-child),
.fertig__raster .stapel > h3:not(:first-child) {
  margin-top: 36px;
}

.ff-nowrap {
  white-space: nowrap;
}

.bestaetigung__raster .fakten,
.fertig__raster .fakten {
  grid-template-columns: minmax(7em, 1fr) 2fr;
}

.bestaetigung__raster .fakten dt:first-of-type,
.bestaetigung__raster .fakten dt:first-of-type + dd,
.fertig__raster .fakten dt:first-of-type,
.fertig__raster .fakten dt:first-of-type + dd {
  border-top: 0;
}

.bestaetigung__aktionen {
  max-width: 72ch;
}

/* -- Objektanfrage: Rahmen und Schritte ---------------------------------------- */
.anfrage__rahmen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  align-items: start;
}

.fortschritt {
  grid-column: 1;
  position: sticky;
  top: 20px;
}

.anfrage__form {
  grid-column: 2 / 4;
  min-width: 0;
}

.anfrage-fertig {
  grid-column: 1 / -1;
  min-width: 0;
}

.fortschritt__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.fortschritt__punkt {
  border-bottom: 1px solid var(--linie);
}

.fortschritt__knopf {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

button.fortschritt__knopf:hover {
  opacity: .72;
}

.fortschritt__punkt:not(.ist-aktuell):not(.ist-erreicht) .fortschritt__knopf {
  font-weight: 400;
  color: var(--ink-meta);
}

.fortschritt__nr {
  flex: none;
  min-width: 1.4em;
  font-variant-numeric: tabular-nums;
}

.ist-aktuell .fortschritt__name {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}

.fortschritt__ok {
  display: inline-flex;
  margin-left: auto;
}

.fortschritt__ok .i {
  width: 18px;
  height: 18px;
}

.fortschritt__entwurf {
  display: grid;
  justify-items: start;
  gap: 4px;
  max-width: 40ch;
  margin-top: 18px;
}

.fortschritt__frage {
  width: 100%;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.fortschritt__frage > * + * {
  margin-top: 8px;
}

.fortschritt__frage > p {
  font-weight: 700;
}

/* -- Objektanfrage: Schritt-Inhalte -------------------------------------------- */
.anfrage__form > .fehlerliste {
  margin-bottom: 28px;
}

.anfrage-schritt > * + * {
  margin-top: 28px;
}

.anfrage-schritt > .anfrage-schritt__text {
  max-width: 62ch;
  margin-top: 12px;
}

.wahl-raster,
.untergruende {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  margin-top: 6px;
}

.wahl-raster .wahl {
  padding: 12px 0;
  border-top: 1px solid var(--linie);
}

.wahl--block > span {
  min-width: 0;
}

.untergrund {
  padding: 2px 0 16px;
  border-top: 1px solid var(--linie);
}

.untergrund .wahl strong {
  align-self: center;
  font-size: var(--fs-zeile);
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.untergrund__test {
  max-width: 52ch;
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.45;
}

.untergrund__so {
  font-weight: 700;
}

.anfrage-fotos > p:not(.feld__label) {
  max-width: 66ch;
  font-size: 15px;
}

/* Flächen-Liste */
.flaechen {
  display: grid;
}

.flaeche {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto;
  column-gap: var(--spalt);
  row-gap: 12px;
  align-items: start;
  padding: 14px 0 18px;
  /* Linie als Hintergrund: ein Rahmen würde die Legende „Fläche n“ durchstreichen */
  background: linear-gradient(var(--linie), var(--linie)) top left / 100% 1px no-repeat;
}

.flaeche:first-child {
  background-image: linear-gradient(var(--ink), var(--ink));
}

.flaeche__nr {
  padding: 0 0 6px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.flaeche__lage .wahl {
  padding-block: 9px 10px;
}

.flaeche__weg {
  margin-top: 23px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--klick);
  font-size: var(--fs-zeile);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.flaeche__weg:hover {
  opacity: .72;
}

.flaeche__weg .i {
  width: 18px;
  height: 18px;
}

.flaechen__fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 0 !important;
  padding-top: 6px;
  border-top: 1px solid var(--ink);
}

.flaechen__summe {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Farbwahl mit Farbfeldern */
.farbwahl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 18px var(--spalt);
  margin-top: 10px;
}

.farbwahl__feld {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.farbwahl__bild {
  display: block;
  position: relative;
}

.farbwahl__bild .farbwahl__kasten {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 26px;
  height: 26px;
  background-color: var(--studio);
}

.farbwahl__bild .farbwahl__kasten:checked {
  background-color: var(--ink);
}

.farbwahl__bild .farbwahl__kasten:focus-visible {
  outline: 2px solid var(--studio);
  outline-offset: 2px;
}

/* Fokus zusätzlich um das ganze Farbfeld, sichtbar auch auf dunklen Tönen */
.farbwahl__feld:has(.farbwahl__kasten:focus-visible) .farbwahl__bild {
  outline: 2px solid var(--schwarz);
  outline-offset: 3px;
}

.farbwahl__zeile {
  display: block;
  padding-top: 9px;
  font-size: var(--fs-zeile);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .03em;
  overflow-wrap: normal;
  word-break: normal;
}

.farbwahl__zeile .bildzeile__nr {
  margin-right: 0;
}

.farbwahl__feld.ist-gewaehlt .farbwahl__zeile {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}

.farbwahl__daten {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-meta);
  font-variant-numeric: tabular-nums;
}

.farbwahl__status {
  min-height: 1.5em;
  margin-top: 14px;
  font-weight: 700;
}

.zuordnung {
  padding-top: 10px;
  border-top: 1px solid var(--ink);
}

.zuordnung > * + * {
  margin-top: 12px;
}

.zuordnung__eins {
  font-weight: 700;
}

.farbfeld--mini {
  display: inline-block;
  flex: none;
  width: 28px;
  height: 28px;
  aspect-ratio: 1;
}

/* Übersicht */
.uebersicht {
  display: grid;
  gap: 32px;
}

.uebersicht__teil {
  min-width: 0;
  border-top: 1px solid var(--ink);
}

.uebersicht__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--klick);
}

.uebersicht__kopf h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: var(--sperr-zeile);
}

.uebersicht__teil > .fakten dt:first-of-type,
.uebersicht__teil > .fakten dt:first-of-type + dd {
  border-top: 0;
}

.uebersicht__teil > * + * {
  margin-top: 6px;
}

.uebersicht__menge > p {
  max-width: 70ch;
}

.ue-farben {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.ue-farben li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.ue-menge__produkt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ue-menge__zusatz {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-meta);
}

.tabelle--menge td:nth-child(5) {
  min-width: 14ch;
}

/* Navigation der Schritte */
.anfrage__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

/* Fertig */
.anfrage-fertig > h2,
.termin-bestaetigung > h2 {
  margin-bottom: 16px;
}

.anfrage-fertig__inhalt {
  --stapel: 14px;
}

.anfrage-fertig__inhalt > .vorspann {
  max-width: 60ch;
  font-weight: 700;
}

.anfrage-fertig__inhalt > .fertig__raster {
  margin-top: 40px;
}

.anfrage-fertig__inhalt > .demo-hinweis {
  margin-top: 32px;
}

.fertig__raster > :first-child {
  grid-column: 1;
}

.fertig__raster > :last-child {
  grid-column: 2 / 4;
}

.fertig__schritte {
  margin: 0;
  padding-left: 1.4em;
  max-width: 46ch;
}

.fertig__schritte li + li {
  margin-top: 6px;
}

.fertig__schritte li::marker {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.anfrage-ohne-js {
  padding-top: clamp(24px, 3vw, 40px);
}

.anfrage-ohne-js > h2,
.termin-ohne-js > h2 {
  margin-bottom: 24px;
}

/* -- Breite: 640–1023px --------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .formspalten {
    grid-template-columns: minmax(0, 1fr);
  }

  .formspalten > :first-child,
  .formspalten > :nth-child(2) {
    grid-column: 1;
  }

  .termin-arten__raster {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .termin-zeit__raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .termin-slots {
    grid-column: 2;
  }

  .termin-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .termin-form__wahl,
  .termin-form > .fehlerliste,
  .termin-form__felder,
  .termin-form__senden {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }

  .bestaetigung__raster,
  .fertig__raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .fertig__raster > :first-child,
  .fertig__raster > :last-child {
    grid-column: 1;
  }

  .termin-meine__eintrag {
    grid-template-columns: minmax(0, 1fr);
  }

  .termin-meine__text {
    grid-column: 1;
    padding-bottom: 0;
  }

  .termin-meine__eintrag > .knoepfe {
    justify-content: flex-start;
  }

  .anfrage__rahmen {
    grid-template-columns: minmax(0, 1fr);
  }

  .fortschritt,
  .anfrage__form,
  .anfrage-fertig {
    grid-column: 1;
    position: static;
  }

  /* Schritte als Zeile: Nummern, nur der aktuelle mit Namen */
  .fortschritt__liste {
    display: flex;
    border-top: 0;
    border-bottom: 1px solid var(--ink);
  }

  .fortschritt__punkt {
    flex: none;
    border-bottom: 0;
  }

  .fortschritt__punkt.ist-aktuell {
    flex: 1 1 auto;
  }

  .fortschritt__knopf {
    justify-content: center;
    gap: 8px;
    min-width: var(--klick);
  }

  .ist-aktuell .fortschritt__knopf {
    justify-content: flex-start;
    padding: 0 6px;
  }

  .fortschritt__punkt:not(.ist-aktuell) .fortschritt__name,
  .fortschritt__ok {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .fortschritt__entwurf {
    max-width: none;
    margin-top: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
  }

  .fortschritt__frage {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .termin-art {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--spalt);
  }

  .termin-art > .termin-art__figur {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
  }

  .termin-art > :not(.termin-art__figur) {
    grid-column: 2;
  }

  .no-js .termin-art > :not(.termin-art__figur) {
    grid-column: 1 / -1;
  }
}

/* -- Breite: unter 640px ---------------------------------------------------------- */
@media (max-width: 639.98px) {
  /* Termin-Arten kompakt: kleines Bild neben Titel, Text darunter */
  .termin-art {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: 14px;
  }

  .termin-art > .termin-art__figur {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .termin-art__figur .bildzeile {
    display: none;
  }

  .termin-art > .termin-art__titel,
  .termin-art > .termin-art__daten {
    grid-column: 2;
  }

  .termin-art > .termin-art__text,
  .no-js .termin-art > * {
    grid-column: 1 / -1;
  }

  .termin-art__titel {
    font-size: 18px;
  }

  .termin-art__wahl {
    align-items: flex-start;
    gap: 10px;
    padding-top: 2px;
  }

  .termin-art__wahl input {
    margin-top: -2px;
  }

  .termin-art__daten {
    font-size: 14px;
  }

  .termin-art__text {
    margin-top: 16px;
  }

  .felder,
  .wahl-raster,
  .untergruende {
    grid-template-columns: minmax(0, 1fr);
  }

  .termin-zeit__raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .kalender,
  .termin-slots {
    grid-column: 1;
  }

  .slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
  }

  .flaeche {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .flaeche__name {
    grid-column: 1 / -1;
  }

  .flaeche__weg {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .farbwahl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
  }

  .farbwahl__zeile {
    letter-spacing: .02em;
  }

  /* Fakten wie in der Grundlage einspaltig */
  .termin-wahl__fakten,
  .bestaetigung__raster .fakten,
  .fertig__raster .fakten {
    grid-template-columns: minmax(0, 1fr);
  }

  .fortschritt__entwurf {
    grid-template-columns: minmax(0, 1fr);
  }

  .untergrund__test {
    padding-left: 0;
  }
}

/* Typo-Stufen (Review): Unterköpfe in Terminarten als 16px fett statt 13px-Versalien. */
.termin-art__text h4 {
  font-size: 16px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
