/* Schlierwerk Hallerbeck – Beispiel-Website, Stil aus MXL-020 (PURE). */

@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --schwarz: #000;
  --weiss: #fff;
  --gelb: #ffff01;
  --leise: #d6d6d6;
  --streifen: 50px;
  --kopf-mobil: 64px;
  --s1: 10px;
  --s2: 16px;
  --s3: 20px;
  --s4: 30px;
  --s5: 60px;
  --s6: 120px;
  --system: "Archivo Black", "Archivo", sans-serif;
  --text: "Archivo", sans-serif;
  --serif: "Cormorant", serif;
  --aus: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--weiss) var(--schwarz);
}

body {
  margin: 0;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  font-variation-settings: normal;
  padding-left: var(--streifen);
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

::selection {
  background: var(--weiss);
  color: var(--schwarz);
}

:focus-visible {
  outline: 3px solid var(--weiss);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--schwarz);
}

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

.skip {
  position: fixed;
  left: calc(var(--streifen) + var(--s2));
  top: var(--s2);
  z-index: 60;
  padding: 12px 18px;
  min-height: 44px;
  background: var(--weiss);
  color: var(--schwarz);
  font-family: var(--system);
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

/* ---------- Seitenstreifen (Desktop-Menüzugang) ---------- */

.streifen {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--streifen);
  z-index: 40;
  display: block;
  background: var(--weiss);
  color: var(--schwarz);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}
.streifen-text {
  position: absolute;
  top: 0;
  left: 50%;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font-family: var(--system);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 900ms var(--aus);
}
.streifen-text b {
  font-weight: 400;
  -webkit-text-stroke: 1px var(--schwarz);
  color: transparent;
}
.streifen:hover .streifen-text,
.streifen:focus-visible .streifen-text {
  transform: translateX(-50%) rotate(180deg) translateY(-140px);
}
.streifen:focus-visible {
  outline-offset: -6px;
  outline-color: var(--schwarz);
  box-shadow: none;
}

/* ---------- Masthead ---------- */

.masthead {
  background: var(--schwarz);
  padding: var(--s3) var(--s3) var(--s2);
}
.masthead-mobil {
  display: none;
}
.wortmarke {
  display: block;
  margin: 0;
  font-family: var(--system);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.02em;
  font-size: calc((100vw - var(--streifen) - 2 * var(--s3) - 4px) / 8.1);
  text-decoration: none;
  white-space: nowrap;
}
.unterzeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s1) var(--s4);
  margin: var(--s2) 0 0;
  font-family: var(--text);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.unterzeile a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -10px 0;
  text-decoration: none;
}
.unterzeile a:hover {
  text-decoration: underline;
}

/* ---------- Menü (Vollbild, schwarz) ---------- */

.menue {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: var(--schwarz);
  overflow-y: auto;
  padding: var(--s5) var(--s3);
}
.menue:target,
.menue.offen {
  display: grid;
  place-items: center;
}
.menue ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.menue li + li {
  margin-top: var(--s1);
}
.menue a {
  display: inline-block;
  padding: 4px 8px;
  font-family: var(--system);
  font-size: clamp(2rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.menue a:hover,
.menue a[aria-current="page"] {
  -webkit-text-stroke: 2px var(--weiss);
  color: transparent;
}
.menue .zu {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--weiss);
  color: var(--schwarz);
  border: 0;
  cursor: pointer;
  font: inherit;
}
.menue .zu svg {
  width: 26px;
  height: 26px;
}
.menue-fuss {
  margin-top: var(--s5);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  text-align: center;
}

/* ---------- Mosaik ---------- */

.mosaik {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}
.kachel {
  position: relative;
  overflow: hidden;
  margin: 0;
  isolation: isolate;
  background: #111;
}
.kachel.voll {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.kachel.paar {
  aspect-ratio: auto;
  min-height: calc((100vw - var(--streifen)) / 2);
}
.kachel picture,
.kachel > img {
  position: absolute;
  inset: 0;
}
.kachel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--aus);
}
.kachel:hover img,
.kachel:focus-within img {
  transform: scale(1.035);
}
.kachel h2 {
  margin: 0;
  position: absolute;
  z-index: 2;
  font-weight: 400;
}
.kachel h2 a {
  text-decoration: none;
}
.kachel:has(h2 a:focus-visible) {
  outline: 4px solid var(--weiss);
  outline-offset: -10px;
}
.kachel h2 a:focus-visible {
  outline: none;
  box-shadow: none;
}
.kachel .flaeche {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.k-non h2 a,
.k-bouquet h2 a {
  pointer-events: auto;
}
.nr {
  position: absolute;
  z-index: 3;
  margin: 0;
  font-family: var(--system);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  background: var(--schwarz);
  color: var(--weiss);
  padding: 8px 10px;
  pointer-events: none;
}
.rezept {
  position: absolute;
  z-index: 3;
  margin: 0;
  max-width: min(46ch, 80%);
  font-family: var(--text);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.rezept span {
  background: var(--schwarz);
  color: var(--weiss);
  padding: 3px 7px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Etikettstreifen: Titelzeilen sitzen im Bild auf Streifen in einer Farbe des Bogens. */
.etikett span {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0.02em 0.14em 0.06em;
}

.kachel.k-pfau {
  aspect-ratio: auto;
  height: max(540px, calc(100svh - (100vw - var(--streifen) - 44px) / 8.1 * 0.8 - 92px));
}

/* Nr. 01 – Pfauenkamm: Serifenstimme, Kreide auf Indigo, unten links, Rezept senkrecht an der rechten Kante */
.k-pfau h2 {
  left: var(--s4);
  bottom: var(--s4);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.25rem, min(8.4vw, 13svh), 9rem);
  line-height: 1.1;
  max-width: 11ch;
}
.k-pfau h2 span {
  background: #1f2c66;
  color: #f2ecdf;
}
.k-pfau .nr {
  left: var(--s4);
  top: var(--s4);
}
.k-pfau .rezept {
  right: 0;
  top: 0;
  bottom: 0;
  max-width: none;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
}
.k-pfau .rezept span {
  padding: 14px 10px;
}
.aktion {
  position: absolute;
  z-index: 4;
  right: calc(var(--s4) + 44px);
  bottom: var(--s4);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 14px 22px;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: var(--system);
  font-size: 1rem;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 300ms var(--aus), color 300ms var(--aus);
}
.aktion svg {
  width: 22px;
  height: 22px;
  transition: transform 600ms var(--aus);
}
.aktion:hover {
  background: var(--weiss);
  color: var(--schwarz);
}
.aktion:hover svg {
  transform: translateX(5px);
}

/* Nr. 02 – Steingrund: breite Grotesk, Ocker auf Rebschwarz, oben rechts */
.k-stein h2 {
  right: var(--s3);
  top: var(--s3);
  text-align: right;
  font-family: var(--text);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.k-stein h2 span {
  background: #1c1a1d;
  color: #e3a640;
}
.k-stein .nr {
  left: var(--s3);
  bottom: var(--s3);
}
.k-stein .rezept {
  left: var(--s3);
  bottom: calc(var(--s3) + 40px);
}

/* Nr. 03 – Zickzack: senkrecht an der linken Kante, Preußischblau auf Kreide */
.k-zick h2 {
  left: 0;
  top: 0;
  bottom: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  font-family: var(--system);
  font-size: clamp(2.25rem, 5.2vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.k-zick h2 span {
  background: #f2ecdf;
  color: #16466e;
  padding: 0.12em 0.08em;
}
.k-zick .nr {
  right: var(--s3);
  top: var(--s3);
}
.k-zick .rezept {
  right: var(--s3);
  bottom: var(--s3);
  text-align: right;
}

/* Nr. 05 – Nonpareil: schmale Grotesk, riesig, mittig */
.k-non h2 {
  inset: 0;
  pointer-events: none;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--text);
  font-stretch: 62%;
  font-weight: 800;
  font-size: clamp(4rem, 15vw, 15rem);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.k-non h2 span {
  background: #0f1430;
  color: #f2ecdf;
  padding: 0.04em 0.08em 0.02em;
}
.k-non .nr {
  left: var(--s4);
  top: var(--s4);
}
.k-non .rezept {
  left: var(--s4);
  bottom: var(--s4);
}

/* Nr. 04 – Schneckenzug: Serif kursiv, Krapp auf Kreide, oben rechts */
.k-schnecke h2 {
  right: var(--s3);
  top: var(--s3);
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 5.4vw, 5.5rem);
  line-height: 1.12;
}
.k-schnecke h2 span {
  background: #fbf3ea;
  color: #8a1f2a;
}
.k-schnecke .nr {
  left: var(--s3);
  top: var(--s3);
}
.k-schnecke .rezept {
  left: var(--s3);
  bottom: var(--s3);
}

/* Nr. 06 – Herzgrund: Archivo Black Zinnober, unten über volle Breite */
.k-herz h2 {
  left: var(--s3);
  right: var(--s3);
  bottom: var(--s3);
  font-family: var(--system);
  font-size: clamp(2.5rem, 6.4vw, 6.5rem);
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.k-herz h2 span {
  background: #1c1a1d;
  color: #f0603d;
}
.k-herz .nr {
  right: var(--s3);
  top: var(--s3);
}
.k-herz .rezept {
  left: var(--s3);
  top: var(--s3);
}

/* Nr. 07 – Wellengrund: breite, leichte Grotesk oben über die Breite */
.k-welle h2 {
  left: var(--s4);
  right: var(--s4);
  top: var(--s4);
  font-family: var(--text);
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(2.5rem, 7.4vw, 7.5rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.k-welle h2 span {
  background: #2f4a3a;
  color: #f6f1e3;
}
.k-welle .nr {
  right: var(--s4);
  bottom: var(--s4);
}
.k-welle .rezept {
  left: var(--s4);
  bottom: var(--s4);
}

/* Nr. 08 – Achat: Serif-Versalien, weit gesperrt, unten links */
.k-achat h2 {
  left: var(--s3);
  bottom: var(--s3);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.k-achat h2 span {
  background: #121014;
  color: #e6e1ef;
}
.k-achat .nr {
  left: var(--s3);
  top: var(--s3);
}
.k-achat .rezept {
  right: var(--s3);
  top: var(--s3);
  text-align: right;
}

/* Nr. 09 – Federkiel: senkrecht rechts, von oben nach unten, Ocker auf Indigo */
.k-feder h2 {
  right: 0;
  top: 0;
  bottom: 0;
  writing-mode: vertical-rl;
  display: flex;
  align-items: flex-start;
  font-family: var(--system);
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.k-feder h2 span {
  background: #1f2c66;
  color: #f0b94a;
  padding: 0.3em 0.1em;
}
.k-feder .nr {
  left: var(--s3);
  top: var(--s3);
}
.k-feder .rezept {
  left: var(--s3);
  bottom: var(--s3);
}

/* Nr. 10 – Bouquet: Serif kursiv, mittig, Krapp auf Kreide */
.k-bouquet h2 {
  inset: 0;
  pointer-events: none;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: 1.14;
}
.k-bouquet h2 span {
  background: #f1e7d6;
  color: #8a1f2a;
}
.k-bouquet .nr {
  right: var(--s4);
  top: var(--s4);
}
.k-bouquet .rezept {
  right: var(--s4);
  bottom: var(--s4);
  text-align: right;
}

/* Text-Kacheln: Systemstimme in Schwarz/Weiß, gleiches Raster */
.textkachel {
  min-height: calc((100vw - var(--streifen)) / 2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s4);
  padding: clamp(24px, 4vw, 60px);
}
.textkachel.hell {
  background: var(--weiss);
  color: var(--schwarz);
}
.textkachel.dunkel {
  background: var(--schwarz);
  color: var(--weiss);
}
.textkachel h2 {
  position: static;
  font-family: var(--system);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.textkachel p {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
}
.textkachel .leise {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw, 2.125rem);
  line-height: 1.15;
  max-width: 24ch;
}
.termine {
  list-style: none;
  margin: 0;
  padding: 0;
  font-stretch: 75%;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
}
.termine li {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  padding: 10px 0;
  border-top: 2px solid currentColor;
}
.termine li:last-child {
  border-bottom: 2px solid currentColor;
}
.termine time {
  font-variant-numeric: tabular-nums;
}
.pfeil-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-family: var(--system);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.0625rem;
  align-self: flex-start;
  border-bottom: 3px solid currentColor;
}
.pfeil-link svg {
  width: 20px;
  height: 20px;
  transition: transform 600ms var(--aus);
}
.pfeil-link:hover svg {
  transform: translateX(5px);
}

/* ---------- Schlussband und Fußzeile ---------- */

.schlussband {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  min-height: 132px;
  padding: var(--s4) var(--s3);
  background: var(--gelb);
  color: var(--schwarz);
  font-family: var(--system);
  font-size: clamp(1.75rem, 4.4vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.schlussband svg {
  width: 0.8em;
  height: 0.8em;
  flex: none;
  transition: transform 700ms var(--aus);
}
.schlussband:hover svg {
  transform: translateY(-8px);
}
.schlussband:focus-visible {
  outline-color: var(--schwarz);
  outline-offset: -10px;
  box-shadow: none;
}

.fuss {
  background: var(--schwarz);
  padding: var(--s5) var(--s3) var(--s4);
}
.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s4);
}
.fuss ul a {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--system);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.fuss ul a:hover {
  text-decoration: underline;
}
.fuss .herkunft {
  margin: var(--s4) 0 0;
  font-size: 0.9375rem;
  color: var(--leise);
  max-width: 70ch;
}

/* ---------- Unterseiten: Schwarz, weiße H1 in Archivo Black ---------- */

.seite {
  padding: clamp(40px, 7vw, 110px) var(--s3) var(--s6);
}
.seite-kopf h1 {
  margin: 0;
  font-family: var(--system);
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.seite-kopf .vorspann {
  margin: var(--s4) 0 0;
  max-width: 44ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.625rem, 3vw, 2.75rem);
  line-height: 1.12;
}
.fliess {
  max-width: 68ch;
}
.fliess h2,
.block h2 {
  margin: var(--s5) 0 var(--s2);
  font-family: var(--system);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.fliess h3 {
  margin: var(--s4) 0 var(--s1);
  font-family: var(--system);
  font-weight: 400;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.fliess p,
.fliess li {
  max-width: 68ch;
}

/* Arbeitsfolge der Werkstatt: Bildband + Text, randlos wie das Mosaik */
.folge {
  list-style: none;
  margin: var(--s5) calc(-1 * var(--s3)) 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  counter-reset: schritt;
}
.folge li {
  counter-increment: schritt;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--s4);
  min-height: 340px;
  padding: clamp(24px, 3.4vw, 48px);
  border-top: 2px solid var(--weiss);
}
.folge li:nth-child(odd) {
  border-right: 2px solid var(--weiss);
}
.folge li::before {
  content: counter(schritt, decimal-leading-zero);
  font-family: var(--system);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.8;
  -webkit-text-stroke: 2px var(--weiss);
  color: transparent;
}
.folge h3 {
  margin: 0 0 var(--s1);
  font-family: var(--system);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}
.folge p {
  margin: 0;
  max-width: 52ch;
}

.band {
  margin: var(--s5) calc(-1 * var(--s3)) 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.band img + img {
  aspect-ratio: auto;
}

/* Register: dreispaltig wie ein Namensregister */
.register {
  list-style: none;
  margin: var(--s5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--weiss);
}
.register > li {
  padding: var(--s4) var(--s3) var(--s4) 0;
  border-bottom: 2px solid var(--weiss);
}
.register > li:not(:nth-child(3n + 1)) {
  padding-left: var(--s3);
  border-left: 2px solid var(--weiss);
}
.register h2,
.register h3 {
  margin: 0 0 var(--s1);
  font-family: var(--system);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.register .wer {
  margin: 0 0 var(--s2);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.15;
}
.register dl {
  margin: var(--s2) 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px var(--s2);
  font-stretch: 75%;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9375rem;
}
.register dt {
  color: var(--leise);
}
.register dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.register p {
  margin: 0;
}

.hinweis-demo {
  display: inline-block;
  margin-top: var(--s4);
  padding: 6px 10px;
  border: 2px solid var(--weiss);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Formulare (Demo, ohne Ziel) ---------- */

.formular {
  display: grid;
  gap: var(--s3);
  max-width: 720px;
  margin-top: var(--s4);
}
.feld {
  display: grid;
  gap: 6px;
}
.feld label,
.feld legend {
  font-family: var(--system);
  text-transform: uppercase;
  font-size: 1rem;
}
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--schwarz);
  color: var(--weiss);
  border: 2px solid var(--weiss);
  border-radius: 0;
  font: inherit;
  caret-color: var(--weiss);
}
.feld textarea {
  min-height: 140px;
  resize: vertical;
}
.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  outline: 3px solid var(--weiss);
  outline-offset: 3px;
  box-shadow: none;
}
.feld .hilfe {
  font-size: 0.9375rem;
  color: var(--leise);
}
.feld [aria-invalid="true"] {
  border-style: dashed;
  border-width: 3px;
}
.fehler {
  font-weight: 700;
}
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 24px;
  background: var(--weiss);
  color: var(--schwarz);
  border: 2px solid var(--weiss);
  border-radius: 0;
  font-family: var(--system);
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 250ms var(--aus), color 250ms var(--aus);
}
.knopf:hover {
  background: var(--schwarz);
  color: var(--weiss);
}
.knopf.zweit {
  background: var(--schwarz);
  color: var(--weiss);
}
.knopf.zweit:hover {
  background: var(--weiss);
  color: var(--schwarz);
}
.knopf[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.knopf svg {
  width: 20px;
  height: 20px;
}
.meldung {
  min-height: 1.5em;
  font-weight: 600;
}

/* ---------- Rezeptwerk ---------- */

.werk {
  margin: var(--s5) calc(-1 * var(--s3)) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  border-top: 2px solid var(--weiss);
}
.werk-bild {
  position: relative;
  background: #111;
  border-right: 2px solid var(--weiss);
}
.werk-bild canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  image-rendering: auto;
}
.werk-bild .stand {
  position: absolute;
  left: var(--s2);
  top: var(--s2);
  margin: 0;
  background: var(--schwarz);
  padding: 8px 12px;
  font-stretch: 75%;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9375rem;
}
.werk-notation {
  margin: 0;
  padding: var(--s3);
  border-top: 2px solid var(--weiss);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}
.werk-steuer {
  padding: var(--s3);
  display: grid;
  gap: var(--s4);
  align-content: start;
}
.werk-steuer fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.werk-steuer legend {
  margin-bottom: var(--s1);
  font-family: var(--system);
  text-transform: uppercase;
  font-size: 1rem;
}
.farben {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.farbe {
  position: relative;
}
.farbe input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.farbe span {
  display: flex;
  align-items: flex-end;
  width: 92px;
  height: 64px;
  padding: 6px 8px;
  border: 2px solid var(--weiss);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.farbe span i {
  font-style: normal;
  background: var(--schwarz);
  color: var(--weiss);
  padding: 2px 4px;
}
.farbe input:checked + span {
  outline: 4px solid var(--weiss);
  outline-offset: 2px;
}
.farbe input:checked + span i::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  background: var(--weiss);
  vertical-align: 1px;
}
.farbe input:focus-visible + span {
  outline: 3px dashed var(--weiss);
  outline-offset: 4px;
}
.schritte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.schritte .knopf {
  width: 100%;
  font-size: 0.9375rem;
  padding: 12px 10px;
}
.werk-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.buch {
  list-style: none;
  margin: var(--s5) calc(-1 * var(--s3)) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.buch li {
  position: relative;
}
.buch img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.buch p {
  margin: 0;
  padding: 10px 12px 16px;
  font-stretch: 75%;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.35;
}
.buch strong {
  display: block;
  font-family: var(--system);
  font-weight: 400;
  font-stretch: 100%;
  font-size: 1rem;
  margin-bottom: 4px;
}
.buch button {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: block;
}
.buch button:hover img {
  opacity: 0.85;
}

.zweispaltig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
.adresse {
  font-style: normal;
  font-size: 1.375rem;
  line-height: 1.4;
}

/* ---------- Mobil ---------- */

@media (max-width: 1099px) {
  .register {
    grid-template-columns: 1fr 1fr;
  }
  .register > li:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }
  .register > li:nth-child(even) {
    padding-left: var(--s3);
    border-left: 2px solid var(--weiss);
  }
  .werk {
    grid-template-columns: 1fr;
  }
  .werk-bild {
    border-right: 0;
  }
  .buch {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --streifen: 0px;
  }
  body {
    padding-left: 0;
  }
  .streifen {
    display: none;
  }
  .masthead {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: var(--s2);
    height: var(--kopf-mobil);
    padding: 0 var(--s2) 0 6px;
  }
  .masthead-mobil {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    background: var(--schwarz);
    color: var(--weiss);
    border: 0;
    cursor: pointer;
  }
  .masthead-mobil svg {
    width: 30px;
    height: 30px;
  }
  .masthead .wortmarke {
    font-size: clamp(1.75rem, 9.6vw, 2.6rem);
    line-height: 1;
  }
  .masthead a.wortmarke {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
  }
  .masthead .unterzeile {
    display: none;
  }
  .kopf-unterzeile {
    display: block !important;
  }
  .mosaik {
    grid-template-columns: 1fr;
  }
  .kachel.voll {
    aspect-ratio: 4 / 5;
  }
  .kachel.k-pfau {
    aspect-ratio: auto;
    height: max(520px, calc(100svh - var(--kopf-mobil)));
  }
  .kachel.paar {
    min-height: 100vw;
  }
  .textkachel {
    min-height: 0;
    padding: 36px var(--s2);
  }
  .k-pfau h2 {
    left: var(--s2);
    bottom: 92px;
    font-size: clamp(3.25rem, 16vw, 5rem);
  }
  .k-pfau .nr {
    left: var(--s2);
    top: var(--s2);
  }
  .k-pfau .rezept {
    top: 0;
    bottom: auto;
    height: 64%;
  }
  .aktion {
    left: var(--s2);
    right: auto;
    bottom: var(--s2);
  }
  .k-non h2 {
    font-size: 18.5vw;
  }
  .k-welle h2 {
    left: var(--s2);
    right: var(--s2);
    top: var(--s2);
    font-size: 9.2vw;
  }
  .k-welle .nr {
    right: var(--s2);
    bottom: var(--s2);
  }
  .k-welle .rezept,
  .k-non .rezept {
    left: var(--s2);
    bottom: calc(var(--s2) + 40px);
  }
  .k-non .nr {
    left: var(--s2);
    top: var(--s2);
  }
  .k-non .rezept {
    bottom: var(--s2);
  }
  .k-bouquet h2 {
    font-size: 19vw;
  }
  .k-bouquet .nr {
    right: var(--s2);
    top: var(--s2);
  }
  .k-bouquet .rezept {
    right: var(--s2);
    bottom: var(--s2);
  }
  .k-stein h2,
  .k-zick h2,
  .k-schnecke h2,
  .k-herz h2,
  .k-feder h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }
  .k-achat h2 {
    font-size: clamp(1.75rem, 8.6vw, 2.5rem);
  }
  .rezept {
    font-size: 0.8125rem;
    max-width: 78%;
  }
  .seite {
    padding: var(--s5) var(--s2) var(--s5);
  }
  .seite-kopf h1 {
    font-size: clamp(2.75rem, 14.5vw, 5rem);
  }
  .folge,
  .band,
  .werk,
  .buch {
    margin-left: calc(-1 * var(--s2));
    margin-right: calc(-1 * var(--s2));
  }
  .folge {
    grid-template-columns: 1fr;
  }
  .folge li:nth-child(odd) {
    border-right: 0;
  }
  .folge li {
    min-height: 0;
    padding: 28px var(--s2);
  }
  .band {
    grid-template-columns: 1fr;
  }
  .register {
    grid-template-columns: 1fr;
  }
  .register > li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .register > li {
    padding-right: 0;
  }
  .buch {
    grid-template-columns: 1fr 1fr;
  }
  .zweispaltig {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }
  .werk-steuer,
  .werk-notation {
    padding: var(--s2);
  }
  .farbe span {
    width: 84px;
  }
  .fuss {
    padding: var(--s5) var(--s2) var(--s4);
  }
  .schlussband {
    min-height: 112px;
    padding: var(--s3) var(--s2);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
  html {
    scroll-behavior: auto;
  }
  .kachel:hover img,
  .kachel:focus-within img {
    transform: none;
  }
}

/* ---------- Ergänzungen ---------- */

.block {
  margin-top: var(--s6);
}
.block > h2:first-child {
  margin-top: 0;
}
.lesart {
  margin: var(--s3) 0 0;
  max-width: 68ch;
}
.lesart dt {
  margin-top: var(--s3);
  font-family: var(--system);
  text-transform: uppercase;
  font-size: 1.125rem;
}
.lesart dd {
  margin: 4px 0 0;
}
.wortmarke-h1 {
  margin: 0;
  font-weight: 400;
}
.kachel h2 a:focus-visible span {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}
main:focus {
  outline: none;
}

/* Rezeptwerk: Bad früh im ersten Bildschirm */
.seite.kompakt {
  padding-top: clamp(28px, 3vw, 48px);
}
.kompakt .seite-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--s2) var(--s5);
}
.kompakt .seite-kopf h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
}
.kompakt .seite-kopf .vorspann {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
}
.kompakt .werk {
  margin-top: var(--s4);
}
