/* ==========================================================================
   Mr. Thai — Stylesheet

   Stand: Brand Sheet V1.0 (November 2026), Input geprüft am 20.11.2026.
   Quelle: Input/mr-thai_corporate_design.pdf
   Jede Designentscheidung belegt in Input/CD-ANALYSE.md (mit Seitenangabe).

   Aufbau von :root in Schichten (Skill /design-system-markenwebsiten):
     1   Markenfarben    exakt aus dem Brand Sheet S. 5 (+ zwei Werte aus der
                         Zeichnung S. 1/S. 8, + gemessener Fotogrund)
     1b  Abgeleitete     nur mit Grund, Grund und Messwert daneben
     2   Rollen          damit arbeitet der Rest des Stylesheets
     3   Komponenten     Maße und Schrift

   DIESE DATEI WIRD NACH Output/ KOPIERT. Bearbeitet wird sie in
   build/web/assets/css/style.css, Output/ wird bei jedem Bau geleert.
   ../../assets/img/form/pinselbalken-01ee1d95.svg, ../../assets/img/form/pinselkante-senkrecht-7c9b9370.svg, ../../assets/img/form/kante-waagerecht-1be59b09.svg, ../../assets/img/form/bluete-mono-74d28f14.svg und
   die Seitenverhältnisse der Kanten setzt build/seite.py ein (Pfade mit
   Inhalts-Hash, Formen aus dem Brand Sheet geschnitten).
   ========================================================================== */

/* ------------------------------------------------------------ Schriften -- */
/* Drei Google Fonts laut Brand Sheet S. 6, alle SIL OFL, lokal abgelegt als
   Latin-Teilmenge (aus den TTF des Google-Fonts-Repos, pyftsubset). Kanit 600
   zusätzlich mit genau den vier Thai-Zeichen des Stempels „อร่อย" (S. 8).
   Neue Schriftdatei = neuer Dateiname (immutable). */
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/kanit-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/kanit-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/kanit-600-thai-aroi.woff2') format('woff2');
  unicode-range: U+0E22-0E23, U+0E2D, U+0E48; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/kanit-800-latin.woff2') format('woff2'); }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 900; font-display: swap;
  src: url('../fonts/kanit-900-latin.woff2') format('woff2'); }
@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/sarabun-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Sarabun'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/sarabun-400-kursiv-latin.woff2') format('woff2'); }
@font-face { font-family: 'Sarabun'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/sarabun-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Kaushan Script'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/kaushan-script-400-latin.woff2') format('woff2'); }

/* ================================================================ :root == */
:root {
  /* KEIN DARK MODE (CD-ANALYSE.md, „CD offen — gewählt"): das Brand Sheet
     baut die Seite selbst aus hell und dunkel auf („Hell im Text, dunkel im
     Bild", S. 3). color-scheme: light hält den Browser davon ab, Formular-
     felder und Scrollbalken auf einem dunkel gestellten Gerät einzufärben;
     laufzeit.js vergleicht beide Geräte. */
  color-scheme: light;

  /* ----------------------------------------- 1 Markenfarben (CD S. 5) -- */
  --mt-reispapier:      #FFF6E5;   /* Fläche überall, „kein reines Weiß" */
  --mt-chilirot:        #F30005;   /* Logo-Schrift, Headlines ab 18 pt */
  --mt-orange:          #FF9F1C;   /* Blüte, Akzent, große Formen, nie Schrift auf hell */
  --mt-kurkuma:         #FFD83D;   /* Blütenmitte, Punkte, kleine Dosen */
  --mt-holzkohle:       #1D150E;   /* Bildflächen, Text */
  --mt-chilirot-dunkel: #C8000A;   /* kleine rote Schrift, Labels, Buttons */
  --mt-basilikum:       #2E7D32;   /* V und Ve, Kräuter-Hinweise */
  --mt-holzkohle-72:    #5C544A;   /* Zweittext, Beschreibungen */

  /* Zwei Werte, die das Brand Sheet einsetzt, ohne sie in der Palette zu
     führen (CD-ANALYSE.md): Kartenfläche auf Reispapier (S. 8, 23 Flächen)
     und Zweittext auf Holzkohle (S. 1, 6, 7: 2411 Zeichen). */
  --mt-kartenflaeche:   #FFFCF6;
  --mt-zweittext-dunkel: #BBB3A4;

  /* Grund der Speisenfotos, gemessen: Median der Ecken aller 38 Fotos
     (bilder.py prüft bei jedem Bau, Abweichung > 2 bricht ab). Nur für den
     Platzhalter eines gesperrten Fotos, damit er wie die Fotos aussieht. */
  --mt-fotogrund:       #F0E4D3;

  /* Fremde Marken: bei jeder Marke dieselben Werte (CLAUDE.md, Primärquelle
     wolt.com bzw. Projekttabelle). */
  --mt-wolt:              #00C2E8;
  --mt-wolt-dunkel:       #00A9CC;
  --mt-wolt-tief:         #0091AF;
  --mt-lieferando:        #FF8000;
  --mt-lieferando-dunkel: #CC6600;
  --mt-lieferando-tief:   #9E4F00;

  /* ------------------------------------------------ 1b Abgeleitete ------ */
  /* Hauptbutton Chilirot dunkel (S. 8): Hover x0,80 und Klickkante x0,62 nach
     Projektregel (kontrast.py --stufen "#C8000A" --auf "#FFF6E5"):
     Reispapier auf Ruhe 5,65:1, auf Hover #A00008 7,83:1. */
  --mt-chilirot-dunkel-hover: #A00008;
  --mt-chilirot-dunkel-kante: #7C0006;

  /* ------------------------------------------------------- 2 Rollen ----- */
  --mt-bg:            var(--mt-reispapier);
  --mt-surface:       var(--mt-kartenflaeche);       /* Karten auf Reispapier */
  --mt-text:          var(--mt-holzkohle);           /* 16,78 Reispapier */
  --mt-text-muted:    var(--mt-holzkohle-72);        /* 6,93 Reispapier (S. 5) */
  /* Headlines in Chilirot NUR ab 24 px (S. 5: „nur ab 18 pt", 4,07:1);
     darunter --mt-brand-text. */
  --mt-heading:       var(--mt-chilirot);
  --mt-brand-text:    var(--mt-chilirot-dunkel);     /* 5,65 Reispapier */
  /* Trennlinien, Kopfzeile: S. 7 Zeichnung 12, Holzkohle 14 % Deckkraft. */
  --mt-line:          color-mix(in srgb, var(--mt-holzkohle) 14%, var(--mt-reispapier));
  /* Rahmen von Bedienelementen (Eingabefeld): WCAG 1.4.11 verlangt 3:1. */
  --mt-border:        color-mix(in srgb, var(--mt-holzkohle) 62%, var(--mt-reispapier));

  --mt-accent:            var(--mt-chilirot-dunkel);  /* Hauptbutton S. 8 */
  --mt-on-accent:         var(--mt-reispapier);       /* 5,65:1 */
  --mt-accent-kante:      var(--mt-chilirot-dunkel-kante);
  --mt-accent-hover:      var(--mt-chilirot-dunkel-hover);
  --mt-on-accent-hover:   var(--mt-reispapier);       /* 7,83:1 */

  /* Pinselbalken (S. 8): Kaushan in Reispapier auf Chilirot. 4,07:1, die
     Schrift steht nur ab 1,625 rem (26 px) = Großtext, Soll 3:1
     (kontrast.py --paare=--mt-on-pinsel:--mt-pinsel). */
  --mt-pinsel:        var(--mt-chilirot);
  --mt-on-pinsel:     var(--mt-reispapier);

  /* Holzkohle-Flächen: Hero-Bühne, Fuß, Consent. */
  --mt-dunkel:        var(--mt-holzkohle);
  --mt-on-dunkel:     var(--mt-reispapier);           /* 16,78:1 */
  --mt-on-dunkel-leise: var(--mt-zweittext-dunkel);   /* 8,66:1 */
  --mt-dunkel-akzent: var(--mt-orange);               /* 8,77:1 („Orange auf Holzkohle") */

  /* Orange-Fläche „Über Mr. Thai" (S. 3 Markenkern auf Orange): nur
     Holzkohle darauf, 8,77:1. Holzkohle 72 % hätte 3,62:1, Chilirot 2,13:1. */
  --mt-orange-flaeche: var(--mt-orange);
  --mt-on-orange:      var(--mt-holzkohle);

  /* Siegel (S. 7): Orange mit Holzkohle-Schrift und -Blüte, 8,77:1. */
  --mt-siegel:        var(--mt-orange);
  --mt-on-siegel:     var(--mt-holzkohle);

  /* Zutat-Chip (S. 8): Reispapier mit Holzkohle 14 % darüber. */
  --mt-chip:          color-mix(in srgb, var(--mt-holzkohle) 14%, var(--mt-reispapier));
  --mt-on-chip:       var(--mt-holzkohle);

  /* V und Ve (S. 6/8): grüne Kreise, nur dafür. Reispapier 4,78:1. */
  --mt-kennung:       var(--mt-basilikum);
  --mt-on-kennung:    var(--mt-reispapier);

  /* Schärfe (S. 8): Chili gefüllt in Chilirot mit Stiel in Basilikum, leere
     Chilis Holzkohle 16 % Deckkraft (S. 8 Zeichnung 101/102). Immer neben dem
     Wort. Chilirot auf Kartenfläche 4,26:1, auf Reispapier 4,07:1 (Grafik,
     Soll 3:1). */
  --mt-chili:         var(--mt-chilirot);
  --mt-chili-gruen:   var(--mt-basilikum);
  --mt-chili-leer:    color-mix(in srgb, var(--mt-holzkohle) 16%, transparent);
  --mt-chili-stiel:   var(--mt-chili-gruen);          /* je Chili überschrieben */

  --mt-link-hover:    var(--mt-chilirot-dunkel);      /* 5,65 Reispapier */

  --mt-disabled:      color-mix(in srgb, var(--mt-holzkohle) 10%, var(--mt-reispapier));
  --mt-on-disabled:   color-mix(in srgb, var(--mt-holzkohle) 72%, var(--mt-reispapier));

  /* Fokusring je Fläche gemessen: Holzkohle auf Reispapier 16,78:1, auf
     Kartenfläche 17,59:1, auf Orange 8,77:1. Auf Holzkohle (Bühne, Fuß,
     Consent) Orange 8,77:1 (S. 8 „Orange für Auswahl").
     kontrast.py --auto meldet „Fokusring auf Akzentfläche" mit 2,97:1
     (Holzkohle auf Chilirot dunkel). Diese Lage gibt es nicht: der Ring
     steht mit outline-offset 3px AUSSERHALB des Buttons auf dem Seitengrund
     (16,78:1 Reispapier, 17,59:1 Kartenfläche). Nicht ändern. */
  --mt-focus:         var(--mt-holzkohle);
  --mt-focus-dunkel:  var(--mt-orange);

  /* Bestell-Buttons: Text Holzkohle statt Weiß, gemessen (kontrast.py --stufen):
       Wolt        Weiß 2,13:1 | Holzkohle 8,48 Ruhe, 6,47 Hover (#00A9CC)
       Lieferando  Weiß 2,52:1 | Holzkohle 7,15 Ruhe, 4,69 Hover (#CC6600)
     Eigener Shop = die Marke selbst: Chilirot dunkel mit Reispapier wie
     „Jetzt bestellen". */
  --mt-on-plattform:  var(--mt-holzkohle);

  /* Schatten nur ganz weich unter Karten (S. 8: Holzkohle 8 % Deckkraft). */
  --mt-schatten:      0 6px 18px color-mix(in srgb, var(--mt-holzkohle) 8%, transparent);

  /* ------------------------------------------------- 3 Komponenten ----- */
  --mt-font-head:   'Kanit', 'Arial Black', 'Segoe UI', sans-serif;
  --mt-font-text:   'Sarabun', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mt-font-pinsel: 'Kaushan Script', 'Segoe Script', cursive;

  /* Buttons „ganz rund" (S. 8), Karten am Brand Sheet gemessen (S. 8:
     Kartenradius 12 pt = 16 px, Chips voll rund). */
  --mt-radius-karte: 16px;
  --mt-radius-klein: 10px;
  --mt-kante:        4px;     /* Button-Kante in Ruhe; Hover 6px, Klick 1px */

  --mt-space-1: 4px;
  --mt-space-2: 8px;
  --mt-space-3: 12px;
  --mt-space-4: 16px;
  --mt-space-5: 24px;
  --mt-space-6: 32px;
  --mt-space-7: 48px;
  --mt-sektion: clamp(56px, 8vw, 104px);
  --mt-wrap:    1200px;
  --mt-rand:    clamp(16px, 4vw, 32px);

  /* Höhe des Sekundärlogos (Inhalt 5,22:1, viewBox 1000 × 197) in der
     Kopfzeile. Das CD nennt nur für das Primärlogo eine Mindestgröße (150 px
     breit); darunter „Sekundärlogo oder Icon" (S. 4). Untergrenze aus der
     schmalsten Zeile GERECHNET (CLAUDE.md), Werte im Mobilblock unten. */
  --mt-logo-kopf:  46px;
  --mt-kopf-hoehe: 80px;

  /* Pinselkanten aus dem Brand Sheet (bilder.py), Seitenverhältnis Breite
     zu Höhe der Zeichnung: senkrecht S. 7, waagerecht S. 1. */
  --mt-kante-senkrecht-verh: 0.0919;
  --mt-kante-waagerecht-verh: 41.563;
}

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

/* Eine Klassenregel mit display hebelt das hidden-Attribut aus (CLAUDE.md). */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mt-kopf-hoehe) + var(--mt-space-4));
}

body {
  margin: 0;
  background: var(--mt-bg);
  color: var(--mt-text);
  font-family: var(--mt-font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

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

/* Bei 200 % Schriftgröße passt ein langes Wort nicht mehr in eine schmale
   Spalte: lieber umbrechen als die Seite waagerecht scrollen lassen. KEIN
   hyphens: auto auf Überschriften (CLAUDE.md). */
h1, h2, h3, h4 { margin: 0 0 var(--mt-space-3); line-height: 1.15; overflow-wrap: break-word; }
p, a, li { overflow-wrap: break-word; }
p { margin: 0 0 var(--mt-space-4); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 600; }

a { color: var(--mt-text); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--mt-orange); }
a:hover { color: var(--mt-link-hover); }

mark {
  background: color-mix(in srgb, var(--mt-kurkuma) 55%, var(--mt-reispapier));
  color: var(--mt-text);
  padding: 0 .2em;
}

:focus-visible {
  outline: 3px solid var(--mt-focus);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Holzkohle-Flächen: eigener, gemessener Ring (siehe :root). */
.hero__buehne :focus-visible,
.fuss :focus-visible,
.consent :focus-visible { outline-color: var(--mt-focus-dunkel); }

.nur-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Das Chili-Sprite am Anfang des <body>: unsichtbar, aber nicht display:none,
   sonst zeichnen manche Browser die <use>-Verweise nicht. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sprungmarke {
  position: absolute;
  left: var(--mt-space-4);
  top: -100px;
  z-index: 200;
  background: var(--mt-dunkel);
  color: var(--mt-on-dunkel);
  padding: var(--mt-space-3) var(--mt-space-4);
  border-radius: var(--mt-radius-klein);
  font-weight: 600;
}
.sprungmarke:focus { top: var(--mt-space-3); color: var(--mt-on-dunkel); }

.wrap {
  width: 100%;
  max-width: calc(var(--mt-wrap) + 2 * var(--mt-rand));
  margin-inline: auto;
  padding-inline: var(--mt-rand);
}

/* ============================================================= Kicker ==== */
/* „Kicker: Kanit 600 · Versalien gesperrt" (S. 6), klein in Chilirot dunkel
   (S. 5 „unter 18 pt Chilirot dunkel"). */
.kicker {
  margin: 0 0 var(--mt-space-3);
  color: var(--mt-brand-text);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ============================================================ Buttons ==== */
/* „Kanit 600 in Versalien, ganz rund" (S. 8). Effekt projektweit wie
   .btn--primary: Kante 4px, im Hover Fläche dunkler und Kante 6px, beim
   Klick 1px und translateY(2px). Die Textfarbe steht in JEDEM Zustand
   ausgeschrieben: a:hover hat (0,1,1) und schlüge einen Modifier mit (0,1,0). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mt-space-2);
  min-height: 48px;
  padding: var(--mt-space-3) var(--mt-space-5);
  border: 0;
  border-radius: 999px;
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s ease-out, box-shadow .15s ease-out, background-color .15s ease-out, color .15s ease-out;
}
.btn--klein { min-height: 44px; padding: var(--mt-space-2) var(--mt-space-4); font-size: .8125rem; }

/* Hauptbutton: Chilirot dunkel mit Reispapier (S. 8). */
.btn--primaer        { background: var(--mt-accent); color: var(--mt-on-accent); box-shadow: 0 var(--mt-kante) 0 var(--mt-accent-kante); }
.btn--primaer:active { background: var(--mt-accent); color: var(--mt-on-accent); box-shadow: 0 1px 0 var(--mt-accent-kante); transform: translateY(2px); }

/* Zweitbutton als Kontur in Holzkohle (S. 8), auf Holzkohle in Reispapier. */
.btn--kontur        { background: transparent; color: var(--mt-text); box-shadow: inset 0 0 0 2px var(--mt-text); }
.btn--kontur:active { background: color-mix(in srgb, var(--mt-text) 10%, transparent); color: var(--mt-text); transform: translateY(2px); }
.btn--kontur-hell        { background: transparent; color: var(--mt-on-dunkel); box-shadow: inset 0 0 0 2px var(--mt-on-dunkel); }
.btn--kontur-hell:active { background: color-mix(in srgb, var(--mt-on-dunkel) 16%, transparent); color: var(--mt-on-dunkel); transform: translateY(2px); }

/* Bestell-Buttons. Reihenfolge und Texte NUR in SHOPS (standorte.js),
   Farben NUR in :root. */
.btn--wolt              { background: var(--mt-wolt); color: var(--mt-on-plattform); box-shadow: 0 var(--mt-kante) 0 var(--mt-wolt-tief); }
.btn--wolt:active       { background: var(--mt-wolt); color: var(--mt-on-plattform); box-shadow: 0 1px 0 var(--mt-wolt-tief); transform: translateY(2px); }
.btn--lieferando        { background: var(--mt-lieferando); color: var(--mt-on-plattform); box-shadow: 0 var(--mt-kante) 0 var(--mt-lieferando-tief); }
.btn--lieferando:active { background: var(--mt-lieferando); color: var(--mt-on-plattform); box-shadow: 0 1px 0 var(--mt-lieferando-tief); transform: translateY(2px); }
.btn--eigener-shop        { background: var(--mt-accent); color: var(--mt-on-accent); box-shadow: 0 var(--mt-kante) 0 var(--mt-accent-kante); }
.btn--eigener-shop:active { background: var(--mt-accent); color: var(--mt-on-accent); box-shadow: 0 1px 0 var(--mt-accent-kante); transform: translateY(2px); }

@media (hover: hover) {
  .btn--primaer:hover:not(:active)      { background: var(--mt-accent-hover); color: var(--mt-on-accent-hover); box-shadow: 0 6px 0 var(--mt-accent-kante); transform: translateY(-2px); }
  .btn--kontur:hover:not(:active)       { background: color-mix(in srgb, var(--mt-text) 8%, transparent); color: var(--mt-text); }
  .btn--kontur-hell:hover:not(:active)  { background: color-mix(in srgb, var(--mt-on-dunkel) 12%, transparent); color: var(--mt-on-dunkel); }
  .btn--wolt:hover:not(:active)         { background: var(--mt-wolt-dunkel); color: var(--mt-on-plattform); box-shadow: 0 6px 0 var(--mt-wolt-tief); transform: translateY(-2px); }
  .btn--lieferando:hover:not(:active)   { background: var(--mt-lieferando-dunkel); color: var(--mt-on-plattform); box-shadow: 0 6px 0 var(--mt-lieferando-tief); transform: translateY(-2px); }
  .btn--eigener-shop:hover:not(:active) { background: var(--mt-accent-hover); color: var(--mt-on-accent-hover); box-shadow: 0 6px 0 var(--mt-accent-kante); transform: translateY(-2px); }
}

/* Deaktiviert schlägt alles: gleiche oder höhere Spezifität als jeder
   Modifier-Zustand und steht danach. Keine Hover-Reaktion. */
.btn[disabled],
.btn[disabled]:hover,
.btn[disabled]:active {
  background: var(--mt-disabled);
  color: var(--mt-on-disabled);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* ============================================================== Kopf ===== */
/* Navigation laut S. 8: „Reispapier mit feiner Linie, Sekundärlogo links,
   Links in Kanit Versalien, ein Bestell-Button." Der Schalter kommt dazu,
   sonst wäre die Navigation auf dem Telefon nicht erreichbar. Ein Logo in
   jedem Scrollzustand (CLAUDE.md). */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mt-bg);
  border-bottom: 1px solid var(--mt-line);
}
.kopf__inner {
  display: flex;
  flex-wrap: wrap;            /* große Schrift: Button rutscht in die nächste Zeile */
  align-items: center;
  gap: var(--mt-space-2) var(--mt-space-5);
  min-height: var(--mt-kopf-hoehe);
}
.kopf__logo { flex: none; display: block; line-height: 0; }
.kopf__logo img { height: var(--mt-logo-kopf); width: auto; }

.kopf__nav { margin-left: auto; }
.kopf__nav ul { display: flex; gap: var(--mt-space-1); }
.kopf__nav a {
  display: inline-block;
  padding: 12px var(--mt-space-3);
  min-height: 44px;
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--mt-radius-klein);
}
.kopf__nav a:hover { color: var(--mt-link-hover); }
.kopf__cta { flex: none; }

.kopf__schalter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mt-space-2);
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--mt-space-3);
  border: 2px solid var(--mt-text);
  border-radius: 999px;
  background: transparent;
  color: var(--mt-text);
  font: 600 .8125rem/1.2 var(--mt-font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.kopf__schalter svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (min-width: 1040px) {
  .kopf__schalter { display: none; }
}

/* Schmal: Navigation klappt, sobald JavaScript den Schalter freigibt.
   Ohne JavaScript bleibt sie als umbrechende Zeile sichtbar. */
@media (max-width: 1039.98px) {
  :root { --mt-logo-kopf: 40px; --mt-kopf-hoehe: 72px; }
  .kopf__inner { gap: var(--mt-space-3); }
  .kopf__nav { order: 3; width: 100%; margin-left: 0; }
  .kopf__nav ul { flex-wrap: wrap; }
  .kopf--js .kopf__nav { display: none; }
  .kopf--js.kopf--offen .kopf__nav { display: block; padding-bottom: var(--mt-space-3); }
  .kopf--js .kopf__nav ul { flex-direction: column; gap: 0; }
  .kopf--js .kopf__nav a { width: 100%; border-top: 1px solid var(--mt-line); border-radius: 0; }
  .kopf__cta { order: 2; margin-left: auto; }
  .kopf__schalter { order: 2; }
}
/* Telefon: Logo, „Bestellen" und Schalter in EINER Reihe. Die Logohöhe ist
   aus der schmalsten Zeile gerechnet (CLAUDE.md) und in laufzeit.js
   nachgemessen („Kopfzeile in einer Reihe" auf 360 und 390 px):
   360 px − 2 × 16 px Rand = 328 px; davon Schalter 44 px, Button
   „Bestellen" (gemessen, siehe laufzeit.js), zwei Lücken à 8 px. Die
   Logobreite ergibt sich bei 5,08:1 (viewBox) aus der Höhe. */
@media (max-width: 559.98px) {
  :root { --mt-logo-kopf: 30px; --mt-kopf-hoehe: 64px; }
  .kopf__inner { gap: var(--mt-space-2); }
  .kopf__cta-jetzt { display: none; }
  .kopf__cta { padding-inline: var(--mt-space-3); }
  .kopf__schalter-text { display: none; }
  .kopf__schalter { padding: 0; }
}

/* ============================================================== Hero ===== */
/* Schema S. 7: Reispapier links mit Text, Foto rechts randlos, dazwischen
   die Pinselkante. Auf dem Telefon untereinander, die Holzkohle-Fläche
   beginnt mit der ausgefransten Kante des Covers (S. 1). */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--mt-bg);
  overflow: hidden;
}
.hero__text {
  padding: clamp(32px, 6vw, 72px) var(--mt-rand) clamp(48px, 7vw, 88px);
  min-width: 0;
}
.hero__titel { margin: 0 0 var(--mt-space-4); }
.hero__marke {
  display: block;
  margin-bottom: var(--mt-space-3);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.35;
  color: var(--mt-text);
}
/* „Slogan als H1 in Chilirot über drei Zeilen" (S. 7), Kanit 900 Versalien.
   Chilirot auf Reispapier 4,07:1: ab 48 px weit über der Großtext-Grenze. */
.hero__slogan {
  display: block;
  font-family: var(--mt-font-head);
  font-weight: 900;
  font-size: clamp(3rem, 8.4vw, 6.25rem);
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--mt-heading);
}
.hero__slogan > span { display: block; }
/* Signatur im Pinsel (S. 7): eine Zeile Kaushan, leicht gedreht. */
.hero__signatur {
  display: inline-block;
  margin: 0 0 var(--mt-space-4);
  font-family: var(--mt-font-pinsel);
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  line-height: 1.3;
  color: var(--mt-text);
  transform: rotate(-2.5deg);
  transform-origin: left center;
}
.hero__satz { max-width: 38ch; color: var(--mt-text-muted); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: var(--mt-space-3); margin-top: var(--mt-space-5); }

/* Bühne: Holzkohle als „Bühne für Fotos" (S. 5). */
.hero__buehne {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(72px, 14vw, 120px) var(--mt-rand) clamp(32px, 6vw, 48px);
  background: var(--mt-dunkel);
  color: var(--mt-on-dunkel);
}
/* Telefon: Oberkante ausgefranst (S. 1, Zeichnung 9). Ein Element über der
   Fläche in ihrer Farbe, maskiert mit dem Band aus dem Brand Sheet. */
.hero__buehne::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: max(12px, calc(100vw / var(--mt-kante-waagerecht-verh)));
  background: var(--mt-dunkel);
  -webkit-mask: url('../../assets/img/form/kante-waagerecht-1be59b09.svg') no-repeat center bottom / 100% 100%;
  mask: url('../../assets/img/form/kante-waagerecht-1be59b09.svg') no-repeat center bottom / 100% 100%;
  pointer-events: none;
}
.hero__bild { width: min(100%, 520px); height: auto; }

/* Schärfe-Siegel (S. 7, S. 8 Bogen-Siegel): Orange, Bogenschrift und Blüte
   in Holzkohle. Zier (aria-hidden), die Angabe steht als Text im Label. */
.siegel {
  position: absolute;
  top: clamp(28px, 6vw, 56px);
  left: clamp(12px, 4vw, 48px);
  width: clamp(104px, 13vw, 156px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mt-siegel);
  color: var(--mt-on-siegel);
  transform: rotate(-8deg);
  pointer-events: none;
}
.siegel::after {
  content: '';
  position: absolute;
  inset: 27%;
  background: var(--mt-on-siegel);
  -webkit-mask: url('../../assets/img/form/bluete-mono-74d28f14.svg') no-repeat center / contain;
  mask: url('../../assets/img/form/bluete-mono-74d28f14.svg') no-repeat center / contain;
}
.siegel__schrift { position: absolute; inset: 0; width: 100%; height: 100%; }
.siegel__schrift text {
  fill: currentColor;
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: 21px;
}
/* Zutaten-Label unter dem Gericht (S. 7): Reispapier mit Holzkohle-Schrift
   („Auf Fotos: Reispapier mit Holzkohle-Schrift", S. 8). Im Fluss unter dem
   Bild, NICHT absolut: absolut gesetzt wuchs es bei 150/200 % Schrift auf
   360/390 px auf zwei Zeilen und lag auf bis zu 8.793 deckenden Bildpixeln
   (laufzeit.js, Abschnitt 6). */
.hero__label {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mt-space-1) var(--mt-space-3);
  max-width: 100%;
  margin: var(--mt-space-4) 0 0;
  padding: var(--mt-space-2) var(--mt-space-4);
  border-radius: 999px;
  background: var(--mt-bg);
  color: var(--mt-text);
  font-style: italic;
  font-size: .9375rem;
  line-height: 1.35;
}
.hero__label-name { min-width: 0; }
.hero__label .schaerfe { font-style: normal; }

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: min(84vh, 720px);
  }
  .hero__text {
    align-self: center;
    padding-left: max(var(--mt-rand), calc((100vw - var(--mt-wrap)) / 2));
    padding-right: clamp(32px, 4vw, 64px);
  }
  .hero__buehne { padding: 88px clamp(48px, 5vw, 80px) 48px clamp(72px, 7vw, 112px); }
  .hero__buehne::before {
    /* Desktop: senkrechte Pinselkante (S. 7, Zeichnung 7), Reispapier über
       der linken Kante der Holzkohle-Fläche, wie im Hero-Schema. */
    left: -1px;
    right: auto;
    top: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    aspect-ratio: var(--mt-kante-senkrecht-verh);
    background: var(--mt-bg);
    -webkit-mask: url('../../assets/img/form/pinselkante-senkrecht-7c9b9370.svg') no-repeat left center / 100% 100%;
    mask: url('../../assets/img/form/pinselkante-senkrecht-7c9b9370.svg') no-repeat left center / 100% 100%;
  }
  .hero__bild { width: min(100%, 560px); }
  .siegel { left: clamp(80px, 8vw, 128px); }
}

/* =========================================================== Sektionen === */
.sektion { padding-block: var(--mt-sektion); }
.sektion--flaeche { background: var(--mt-surface); }
.sektion--orange { background: var(--mt-orange-flaeche); color: var(--mt-on-orange); }

.sektion__kopf { max-width: 820px; margin-bottom: var(--mt-space-6); }
.sektion__kopf p:last-child { margin-bottom: 0; }
.sektion__kopf > p:not(.kicker) { max-width: 66ch; color: var(--mt-text-muted); }

/* H2: ein Wort groß in Kanit 900 Versalien Chilirot (S. 6 „Headlines in
   Versalien 800 und 900"), der Rest darunter in Kanit 600 Holzkohle. Die
   ganze Zeile bleibt EINE Überschrift. */
.h2__wort {
  display: block;
  font-family: var(--mt-font-head);
  font-weight: 900;
  font-size: clamp(2.125rem, 5.4vw, 3.75rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--mt-heading);
}
.h2__rest {
  display: block;
  margin-top: var(--mt-space-2);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: clamp(1.1875rem, 2.4vw, 1.5rem);
  line-height: 1.25;
  color: var(--mt-text);
}
/* Auf Orange: alles Holzkohle (Chilirot hätte dort 2,13:1). */
.sektion--orange .kicker,
.sektion--orange .h2__wort,
.sektion--orange .h2__rest { color: var(--mt-on-orange); }
.sektion--orange .sektion__kopf > p:not(.kicker),
.sektion--orange .ueber__text > p:not(.kicker) { color: var(--mt-on-orange); }

/* Blüte als Aufzählungszeichen (S. 8), per Maske in Orange. */
.bluete-liste li,
.deal__teile li {
  position: relative;
  padding-left: 26px;
  margin-bottom: var(--mt-space-1);
}
.bluete-liste li::before,
.deal__teile li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .3em;
  width: 17px;
  height: 17px;
  background: var(--mt-orange);
  -webkit-mask: url('../../assets/img/form/bluete-mono-74d28f14.svg') no-repeat center / contain;
  mask: url('../../assets/img/form/bluete-mono-74d28f14.svg') no-repeat center / contain;
}

/* ============================================================== Deals ==== */
.deals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--mt-space-5);
}
.deal {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--mt-radius-karte);
  background: var(--mt-surface);
  box-shadow: var(--mt-schatten);
}
.deal__bild { position: relative; aspect-ratio: 1; background: var(--mt-fotogrund); }
.deal__bild img { width: 100%; height: 100%; object-fit: cover; }
/* Nummer als runde Marke in Orange mit Holzkohle (8,77:1). */
.deal__nr {
  position: absolute;
  left: var(--mt-space-4);
  top: var(--mt-space-4);
  display: grid;
  place-items: center;
  min-width: 3.5rem;
  min-height: 3.5rem;
  padding: var(--mt-space-1);
  border-radius: 50%;
  background: var(--mt-siegel);
  color: var(--mt-on-siegel);
  font-family: var(--mt-font-head);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
}
.deal__nr-wort { display: block; font-weight: 600; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.deal__inhalt { display: flex; flex-direction: column; flex: 1; padding: var(--mt-space-4) var(--mt-space-5) var(--mt-space-5); }
.deal__anlass {
  margin: 0 0 var(--mt-space-1);
  color: var(--mt-brand-text);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.deal__name {
  font-family: var(--mt-font-head);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--mt-text);
}
.deals__wahl { max-width: 75ch; margin: var(--mt-space-5) 0 0; color: var(--mt-text-muted); }

/* ======================================================== Speisekarte ==== */
.legende {
  display: grid;
  gap: var(--mt-space-3);
  margin-bottom: var(--mt-space-6);
  padding: var(--mt-space-4) var(--mt-space-5);
  border-radius: var(--mt-radius-karte);
  background: var(--mt-surface);
  box-shadow: var(--mt-schatten);
}
.legende__titel { margin: 0; font-family: var(--mt-font-head); font-weight: 600; }
.legende__liste { display: flex; flex-wrap: wrap; gap: var(--mt-space-3) var(--mt-space-5); }
.legende__liste li { display: flex; align-items: center; gap: var(--mt-space-2); min-width: 0; }
.legende__text { margin: 0; color: var(--mt-text-muted); }

.karte-nav { margin-bottom: var(--mt-space-6); }
.karte-nav ul { display: flex; flex-wrap: wrap; gap: var(--mt-space-2); }
.karte-nav a {
  display: inline-block;
  min-height: 44px;
  padding: 10px var(--mt-space-4);
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--mt-text);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.karte-nav a:hover { color: var(--mt-link-hover); box-shadow: inset 0 0 0 2px var(--mt-link-hover); }

.karte-gruppen { display: grid; gap: var(--mt-space-6); }
.karte-gruppe {
  min-width: 0;
  padding: var(--mt-space-5);
  border-radius: var(--mt-radius-karte);
  background: var(--mt-surface);
  box-shadow: var(--mt-schatten);
  scroll-margin-top: calc(var(--mt-kopf-hoehe) + var(--mt-space-4));
}
@media (min-width: 760px) { .karte-gruppe { padding: var(--mt-space-6); } }
.karte-gruppe__kopf { margin-bottom: var(--mt-space-5); }
.karte-gruppe__nr {
  margin: 0;
  color: var(--mt-brand-text);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.karte-gruppe__hinweis { margin: var(--mt-space-1) 0 0; max-width: 75ch; color: var(--mt-text-muted); }

/* Pinselbalken als Abschnittskopf (S. 8, Zeichnung 61): Kaushan in
   Reispapier auf Chilirot. Der Balken ist eine Maske hinter dem Text, die
   Form wächst mit dem Text; der Innenabstand hält die Schrift im deckenden
   Kern des Pinsels (der Rand franst aus). Pro Karte EIN Balken (S. 8). */
.pinsel {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0 0 var(--mt-space-3) -6px;
  /* Unten .5em: die Pinselform hat bei 75,8 bis 77 % ihrer Höhe einen
     Einschnitt (x 55 bis 62 %); mit .42em reichte die Textzone bis 77,8 %
     hinein. Jetzt endet sie bei 74,6 % (gerastert mit PyMuPDF, Alpha im
     Kern 99,87 % deckend, 20.11.2026). */
  padding: .32em 1.05em .5em .9em;
  font-family: var(--mt-font-pinsel);
  font-weight: 400;
  font-size: clamp(1.625rem, 3.2vw, 2rem);
  line-height: 1.15;
  color: var(--mt-on-pinsel);
  isolation: isolate;
}
.pinsel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mt-pinsel);
  -webkit-mask: url('../../assets/img/form/pinselbalken-01ee1d95.svg') no-repeat center / 100% 100%;
  mask: url('../../assets/img/form/pinselbalken-01ee1d95.svg') no-repeat center / 100% 100%;
}
.pinsel__text { display: inline-block; transform: rotate(-2deg); overflow-wrap: anywhere; }

/* Zutat nach Wahl als Chips (S. 8), Kanit 500. Ohne Aufpreise (Preisstufen). */
.zutaten { display: flex; flex-wrap: wrap; align-items: center; gap: var(--mt-space-2) var(--mt-space-3); margin-top: var(--mt-space-3); }
.zutaten__titel { margin: 0; font-family: var(--mt-font-head); font-weight: 600; font-size: .9375rem; }
.zutaten__liste { display: flex; flex-wrap: wrap; gap: var(--mt-space-2); }
.chip {
  display: inline-block;
  padding: .3em .9em;
  border-radius: 999px;
  background: var(--mt-chip);
  color: var(--mt-on-chip);
  font-family: var(--mt-font-head);
  font-weight: 500;
  font-size: .875rem;
  line-height: 1.35;
}

/* ----------------------------------------------------------- Gerichte -- */
/* Zeilen wie die Karte im Brand Sheet (S. 8): Name, Beschreibung, Schärfe.
   Foto rund daneben, auf dem Telefon quer (CLAUDE.md: Foto links, Text
   rechts), ab 900 px zwei Spalten. minmax(0, 1fr): lange Namen weiten keine
   Spalte (CLAUDE.md). */
.gerichte {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--mt-space-6);
}
@media (min-width: 900px) { .gerichte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gericht {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--mt-space-4);
  align-items: start;
  padding-block: var(--mt-space-4);
  border-top: 1px solid var(--mt-line);
  min-width: 0;
}
@media (min-width: 560px) { .gericht { grid-template-columns: 96px minmax(0, 1fr); } }
.gericht__bild {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--mt-fotogrund);
}
.gericht__bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
/* Gesperrtes Foto (bilder.py, GESPERRT): Fotogrund mit der Blüte. */
.gericht__bild--ohne { position: relative; }
.gericht__bild--ohne::after {
  content: '';
  position: absolute;
  inset: 26%;
  background: var(--mt-orange);
  -webkit-mask: url('../../assets/img/form/bluete-mono-74d28f14.svg') no-repeat center / contain;
  mask: url('../../assets/img/form/bluete-mono-74d28f14.svg') no-repeat center / contain;
}
.gericht__inhalt { display: flex; flex-direction: column; gap: var(--mt-space-1); min-width: 0; }
.gericht__name {
  margin: 0;
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--mt-text);
}
.nummer {
  margin-right: .25em;
  color: var(--mt-brand-text);
  font-weight: 600;
  font-size: .875em;
}
.gericht__text { margin: 0; color: var(--mt-text-muted); font-size: 1rem; line-height: 1.5; }
.gericht__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: var(--mt-space-2) var(--mt-space-3); margin-top: var(--mt-space-1); }

/* V und Ve: grüne Kreise, nur dafür (S. 8). */
.kennung {
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 .3em;
  border-radius: 999px;
  background: var(--mt-kennung);
  color: var(--mt-on-kennung);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  line-height: 1;
}

/* Schärfe: drei Chilis + Wort (S. 8), nie Farbe allein. */
.schaerfe { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .45em; font-size: .9375rem; line-height: 1.4; }
.schaerfe__chilis { display: inline-flex; gap: 2px; }
.chili { width: 16px; height: 14px; color: var(--mt-chili-leer); --mt-chili-stiel: var(--mt-chili-leer); }
.chili--voll { color: var(--mt-chili); --mt-chili-stiel: var(--mt-chili-gruen); }

/* ---------------------------------------------------------- Getränke -- */
.karte-liste {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--mt-space-6);
}
@media (min-width: 760px) { .karte-liste { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.zeile {
  display: flex;
  flex-direction: column;
  padding-block: var(--mt-space-3);
  border-top: 1px solid var(--mt-line);
  min-width: 0;
}
.zeile__name { font-family: var(--mt-font-head); font-weight: 600; font-size: 1.0625rem; }
.zeile__hinweis { font-size: 1rem; color: var(--mt-text-muted); }

/* Allergene: nur mit marke.ALLERGENE_ANZEIGEN (Repo-Regel 08.10.2026: aus). */
.allergene { margin: 0; font-size: .875rem; color: var(--mt-text-muted); }

/* ===================================================== Über Mr. Thai ==== */
/* minmax(0, 1fr): sonst weitet ein langes Wort der großen Überschrift die
   Spalte (CLAUDE.md). */
/* Telefon: Text, Karten, Logo untereinander (DOM-Reihenfolge). Desktop: Text
   und Logo nebeneinander, die Karten darunter über beide Spalten. */
.ueber { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--mt-space-6); }
@media (min-width: 960px) {
  .ueber {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    grid-template-areas: "text logo" "karten karten";
    gap: var(--mt-space-6) var(--mt-space-7);
    align-items: center;
  }
  .ueber__text { grid-area: text; }
  .ueber__logo { grid-area: logo; }
  .info-reihe { grid-area: karten; }
}
.ueber__text { min-width: 0; }
.ueber__text > p:not(.kicker) { max-width: 62ch; }
.info-reihe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--mt-space-4);
}
.info-karte {
  min-width: 0;
  padding: var(--mt-space-4) var(--mt-space-5) var(--mt-space-5);
  border-radius: var(--mt-radius-karte);
  background: var(--mt-surface);
  color: var(--mt-text);
  box-shadow: var(--mt-schatten);
}
.info-karte h3 {
  font-family: var(--mt-font-head);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--mt-brand-text);
}
.info-karte p { margin: 0; }

/* Primärlogo, zweite prominente Stelle (CLAUDE.md), auf Reispapier (S. 4),
   mindestens 150 px breit am Bildschirm (S. 4). Der Stempel steht darunter,
   nie auf dem Logo: Schutzraum „mindestens die Höhe des M" (S. 4). Das M
   misst 24,4 % der Logohöhe (Messung und Aufruf in laufzeit.js, 6b); das
   Logo ist quadratisch, also Abstand = 24,4 % der Logobreite plus Puffer
   für die Drehung des Stempels (−4° heben seine Ecken um rund 2 % der
   Logobreite an; mit 26 % fehlten gemessen 1 bis 2 px): 30 %. Aus derselben
   Variablen abgeleitet (CLAUDE.md: zwei Größen aus EINER Variablen). */
.ueber__logo {
  --mt-ueber-logo: clamp(150px, 58vw, 300px);
  display: grid;
  justify-items: center;
  gap: calc(var(--mt-ueber-logo) * .30);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--mt-radius-karte);
  background: var(--mt-bg);
  color: var(--mt-text);
  box-shadow: var(--mt-schatten);
}
.ueber__logo img { width: var(--mt-ueber-logo); max-width: 100%; min-width: 150px; }
/* Thai-Wort als Stempel, nur mit Übersetzung (S. 6, S. 8). */
.stempel {
  display: grid;
  justify-items: center;
  margin: 0;
  padding: .35em 1em .5em;
  border: 2px solid var(--mt-brand-text);
  border-radius: var(--mt-radius-klein);
  color: var(--mt-brand-text);
  font-family: var(--mt-font-head);
  font-weight: 600;
  transform: rotate(-4deg);
}
.stempel__thai { font-size: 1.75rem; line-height: 1.3; }
.stempel__wort { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }

/* ================================================================ FAQ ==== */
.faq { max-width: 880px; border-top: 1px solid var(--mt-line); }
.faq__eintrag { border-bottom: 1px solid var(--mt-line); }
.faq__frage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--mt-space-4);
  min-height: 56px;
  padding: var(--mt-space-3) 0;
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq__frage::-webkit-details-marker { display: none; }
/* Plus und Minus als gezeichnete Striche in Holzkohle auf Orange (8,77:1). */
.faq__frage::after {
  content: '';
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(var(--mt-on-siegel), var(--mt-on-siegel)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--mt-on-siegel), var(--mt-on-siegel)) center / 2.5px 14px no-repeat,
    var(--mt-siegel);
}
.faq__eintrag[open] .faq__frage::after {
  background:
    linear-gradient(var(--mt-on-siegel), var(--mt-on-siegel)) center / 14px 2.5px no-repeat,
    var(--mt-siegel);
}
.faq__antwort { padding-bottom: var(--mt-space-4); max-width: 70ch; }
.faq__antwort p { margin: 0; color: var(--mt-text-muted); }

/* ========================================================== Standorte ==== */
.standorte__start {
  max-width: 820px;
  padding: var(--mt-space-4) var(--mt-space-5);
  border-left: 6px solid var(--mt-orange);
  border-radius: var(--mt-radius-klein);
  background: var(--mt-bg);
}
.standorte__start strong { display: block; font-family: var(--mt-font-head); font-weight: 600; }

.finder {
  margin-bottom: var(--mt-space-6);
  padding: var(--mt-space-5);
  border-radius: var(--mt-radius-karte);
  background: var(--mt-bg);
}
.finder h3 { font-family: var(--mt-font-head); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; color: var(--mt-brand-text); }
.finder__form { display: grid; gap: var(--mt-space-4); }
.finder__feld { display: grid; gap: var(--mt-space-1); }
.finder__feld label { font-weight: 600; }
.finder__feld input {
  min-height: 48px;
  padding: 0 var(--mt-space-4);
  border: 2px solid var(--mt-border);
  border-radius: var(--mt-radius-klein);
  background: var(--mt-surface);
  color: var(--mt-text);
  font: 400 1rem var(--mt-font-text);
}
.finder__knoepfe { display: flex; flex-wrap: wrap; gap: var(--mt-space-3); }
.finder__status { margin: var(--mt-space-3) 0 0; font-weight: 600; }
.finder__status:empty { display: none; }

.loc-gruppe { margin-top: var(--mt-space-6); }
.loc-gruppe__titel {
  font-family: var(--mt-font-head);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  text-transform: uppercase;
  color: var(--mt-brand-text);
  margin-bottom: var(--mt-space-4);
}
.standorte-liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: var(--mt-space-4);
}
.loc {
  display: flex;
  flex-direction: column;
  gap: var(--mt-space-2);
  min-width: 0;
  padding: var(--mt-space-4) var(--mt-space-5);
  border-radius: var(--mt-radius-karte);
  background: var(--mt-bg);
  box-shadow: var(--mt-schatten);
}
.loc--nearest { box-shadow: inset 0 0 0 2px var(--mt-orange), var(--mt-schatten); }
.loc__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--mt-space-2); }
.loc__name { margin: 0; font-family: var(--mt-font-head); font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.loc__badge {
  padding: 0 var(--mt-space-2);
  background: var(--mt-siegel);
  color: var(--mt-on-siegel);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
}
.loc__dist { font-size: .9375rem; color: var(--mt-text-muted); }
.loc__addr { color: var(--mt-text-muted); overflow-wrap: anywhere; }
.loc__hinweis { margin: 0; font-size: .9375rem; }
.loc__actions { display: grid; gap: var(--mt-space-3); margin-top: var(--mt-space-2); }
.loc__actions .btn { width: 100%; }
.leerzustand { grid-column: 1 / -1; margin: 0; }
.ohne-js { margin-top: var(--mt-space-4); font-weight: 600; }

/* =============================================================== Fuß ===== */
/* Fuß in Holzkohle (S. 5), Primärlogo farbig (S. 4 „auf dunklen Bildflächen
   bleibt es farbig"), Oberkante ausgefranst wie das Cover (S. 1). */
.fuss {
  position: relative;
  margin-top: max(12px, calc(100vw / var(--mt-kante-waagerecht-verh)));
  background: var(--mt-dunkel);
  color: var(--mt-on-dunkel);
  padding-bottom: var(--mt-space-5);
}
.fuss__kante {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: max(12px, calc(100vw / var(--mt-kante-waagerecht-verh)));
  background: var(--mt-dunkel);
  -webkit-mask: url('../../assets/img/form/kante-waagerecht-1be59b09.svg') no-repeat center bottom / 100% 100%;
  mask: url('../../assets/img/form/kante-waagerecht-1be59b09.svg') no-repeat center bottom / 100% 100%;
  pointer-events: none;
}
.fuss > .wrap { padding-top: var(--mt-space-7); }
.fuss a, .fuss__knopf { color: var(--mt-on-dunkel); text-decoration-color: var(--mt-dunkel-akzent); }
.fuss a:hover, .fuss__knopf:hover { color: var(--mt-on-dunkel); text-decoration-color: var(--mt-on-dunkel); }
.fuss__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--mt-space-6);
}
.fuss__logo { width: 168px; height: auto; margin-bottom: var(--mt-space-4); }
.fuss__claim { font-family: var(--mt-font-head); font-weight: 900; font-size: 1.125rem; line-height: 1.3; text-transform: uppercase; }
.fuss h2 {
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mt-dunkel-akzent);
  margin-bottom: var(--mt-space-3);
}
.fuss li { margin-bottom: var(--mt-space-1); }
/* Kein inline-flex: dessen anonymes Textkind bricht nicht um (CLAUDE.md). */
.fuss li a, .fuss__knopf { display: inline-block; min-height: 44px; padding-block: 10px; line-height: 1.5; }
/* E-Mail-Adresse: ein Wort ohne Trennstelle. break-word senkt die Mindestbreite
   eines inline-block NICHT, anywhere schon. */
.fuss li a { overflow-wrap: anywhere; }
.fuss__knopf {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--mt-space-2) var(--mt-space-5);
  margin-top: var(--mt-space-6);
  padding-top: var(--mt-space-4);
  border-top: 1px solid color-mix(in srgb, var(--mt-on-dunkel) 22%, var(--mt-dunkel));
  color: var(--mt-on-dunkel-leise);
  font-size: .9375rem;
}

/* ============================================================ Consent ==== */
.consent {
  position: fixed;
  z-index: 100;
  left: var(--mt-space-4);
  right: var(--mt-space-4);
  bottom: var(--mt-space-4);
  max-width: 560px;
  padding: var(--mt-space-5);
  background: var(--mt-dunkel);
  color: var(--mt-on-dunkel);
  border-top: 6px solid var(--mt-orange);
  border-radius: var(--mt-radius-karte);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--mt-holzkohle) 30%, transparent);
}
.consent__titel { font-family: var(--mt-font-head); font-weight: 900; font-size: 1.375rem; line-height: 1.2; text-transform: uppercase; margin-bottom: var(--mt-space-2); }
.consent__aktionen { display: flex; flex-wrap: wrap; gap: var(--mt-space-3); margin-bottom: var(--mt-space-4); }
.consent__aktionen .btn { flex: 1 1 160px; }
.consent__links { margin: 0; font-size: .9375rem; }
.consent__links a { color: var(--mt-on-dunkel); text-decoration-color: var(--mt-dunkel-akzent); }
.consent__links a:hover { color: var(--mt-on-dunkel); }

/* ============================================================== Recht ==== */
.recht { padding-block: var(--mt-sektion); }
.recht__inner { max-width: 780px; }
.recht .rubrik { margin-bottom: var(--mt-space-3); }
.recht .pill {
  display: inline-block;
  color: var(--mt-brand-text);
  font-family: var(--mt-font-head);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.recht h1 {
  font-family: var(--mt-font-head);
  font-weight: 900;
  font-size: clamp(2.25rem, 5.6vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--mt-heading);
}
.recht h2 { font-family: var(--mt-font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--mt-text); margin-top: var(--mt-space-6); }
.recht ul { list-style: disc; padding-left: 1.25em; margin-bottom: var(--mt-space-4); }
.recht li { margin-bottom: var(--mt-space-2); }
.recht address { margin-bottom: var(--mt-space-4); }
/* Lange URLs (policies.google.com/…) brechen nur mit anywhere (CLAUDE.md). */
.recht a { overflow-wrap: anywhere; }
.recht__zurueck { display: inline-block; min-height: 44px; padding-block: 10px; margin-bottom: var(--mt-space-4); font-weight: 600; }
.recht__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--mt-text);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--mt-orange);
  cursor: pointer;
}
.recht__link:hover { color: var(--mt-link-hover); }
.recht__stand { color: var(--mt-text-muted); font-size: .9375rem; }
.recht code { font-size: .9375em; }

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