@import url("./fonts.css?v=6eceb02e9e");

/* ============================================================
   Cremosa Cheesecake Munich
   Farbtokens aus brand/colors.css des Asset-Pakets uebernommen
   (aus den Produktfotos berechnet, nicht frei gewaehlt).
   ============================================================ */

:root {
  /* Marke */
  --cc-black:         #0A0A0A;
  --cc-ink:           #28130F;

  /* Produkt */
  --cc-burnt:         #803A25;
  --cc-caramel:       #A85B37;
  --cc-caramel-light: #C3754C;

  /* Umfeld */
  --cc-jute:          #DA9369;
  --cc-sand:          #D6AF97;
  --cc-porcelain:     #D9D4D0;
  --cc-cream:         #F6F1E9;
  --cc-white:         #FFFFFF;

  /* Akzent */
  --cc-berry:         #8E2E4D;

  /* Semantik. Die Seite ist weiss, nicht creme — Creme bleibt als
     Markenfarbe erhalten (E-Mail-Vorlagen, Karten), nur die Flaechen der
     Website nutzen sie nicht mehr. Abschnitte werden nicht mehr ueber
     Tonwerte getrennt, sondern ueber Haarlinien. */
  --bg:        var(--cc-white);
  --bg-raised: var(--cc-white);
  --bg-sunken: var(--cc-white);

  /* Rhythmus der Abschnitte: Weiss ist die Grundflaeche, jedes zweite
     inhaltliche Band steht auf Creme. Auf der Startseite ergibt das
     Kopfbild (dunkel) → Sorten (weiss) → Ueber uns (creme) →
     Lieferung (weiss). Seiten mit mehreren Abschnitten folgen demselben
     Wechsel, damit die Seiten zusammengehoerig wirken. */
  --band-creme: #EFE7DB;
  --fg:        var(--cc-ink);
  --fg-muted:  #6B4A3F;
  --accent:    var(--cc-caramel);
  --accent-hi: var(--cc-burnt);

  /* Karamell (#A85B37) ist die Leitfarbe, erreicht auf Creme aber nur
     4,43:1 — knapp unter WCAG AA fuer Kleintext. Fuer Text und Links
     gibt es deshalb einen dunkleren Ton AUS DERSELBEN Palette:
     Roestbraun, 7,33:1 auf Creme. Karamell bleibt fuer Flaechen,
     Linien und grosse Schrift zustaendig. */
  --accent-text: var(--cc-burnt);
  --border:    rgba(40, 19, 15, 0.14);
  --border-hi: rgba(40, 19, 15, 0.30);
  --shadow:    0 1px 2px rgba(40,19,15,.05), 0 8px 24px -12px rgba(40,19,15,.18);
  --shadow-lg: 0 2px 4px rgba(40,19,15,.06), 0 24px 60px -24px rgba(40,19,15,.32);

  /* Typografie */
  --font-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body:  "EB Garamond", Georgia, "Times New Roman", serif;
  --track-wide: 0.28em;
  --track-mid:  0.18em;

  /* Raster */
  --measure: 34rem;
  --page:    76rem;
  --gap:     clamp(1.25rem, 3vw, 2.5rem);
  --section: clamp(4rem, 10vw, 8rem);
  --radius:  2px;
}

/* ---------- Grundlagen ---------- */

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

html {
  /* Eine einzige Gestaltung, kein Hell-/Dunkel-Umschalten. Ohne diese
     Angabe faerbt der Browser bei Systemeinstellung "dunkel" die eigenen
     Bedienelemente (Datumsauswahl, Kontrollkaestchen, Bildlaufleisten)
     dunkel ein — mitten in einer hellen Seite. */
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cc-black); color: var(--cc-white);
  padding: .75rem 1.25rem; font-family: var(--font-brand); font-size: .8rem;
  letter-spacing: var(--track-mid); text-transform: uppercase;
}
.skip-link:focus { left: 0; }

.wrap { width: min(100% - 2.5rem, var(--page)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }

/* ---------- Typografie ---------- */

h1, h2, h3 { font-family: var(--font-body); font-weight: 500; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.25rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-brand);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px; max-width: 5rem;
  background: currentColor; opacity: .4;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before {
  content: ""; flex: 1; height: 1px; max-width: 5rem;
  background: currentColor; opacity: .4;
}

.lead { font-size: 1.2em; color: var(--fg-muted); }

/* Wortmarke als Text — laut Asset-README unterhalb ~180px
   Kreisdurchmesser nicht das Logo, sondern gesperrte Montserrat. */
.wordmark {
  font-family: var(--font-brand);
  font-weight: 300;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  line-height: 1.3;
}

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

/* Dunkel, nicht hell: das freigestellte Logo ist eine WEISSE Marke auf
   Transparenz. Auf der cremefarbenen Flaeche waere es unsichtbar, also
   bekommt die Marke ueberall dort, wo sie steht, einen schwarzen Grund —
   Kopf, Seitenkopf und Fuss. Das ist auch die Anmutung des Originals. */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cc-black) 92%, transparent);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
  color: var(--cc-white);
}
.site-header[data-scrolled="true"] {
  background: color-mix(in srgb, var(--cc-black) 97%, transparent);
  border-bottom-color: rgba(255, 255, 255, .13);
}

.site-header .wrap {
  display: flex; align-items: center; gap: var(--gap);
  min-height: 4.75rem;
}

.brand {
  display: flex; align-items: center; gap: .85rem;
  text-decoration: none; color: var(--cc-white); margin-right: auto;
}
/* Das Monogramm, nicht das Vollsiegel. Das Asset-README warnt: unter etwa
   180 px Kreisdurchmesser wird die Zeile "CREMOSA CHEESECAKE" im Ring zu
   Grafik statt zu Schrift. Hier stehen deshalb die zwei C und daneben der
   Name als gesperrte Montserrat — genau die dort empfohlene Loesung. */
.brand img { width: 40px; height: 40px; flex: none; }
.brand .wordmark {
  padding-left: .85rem;
  border-left: 1px solid rgba(255, 255, 255, .20);
}
.brand .wordmark { font-size: .72rem; color: var(--cc-white); }
.brand .wordmark span {
  display: block; font-size: .56rem; margin-top: .28rem;
  color: rgba(255, 255, 255, .58); letter-spacing: var(--track-wide);
}
/* Die Wortmarke verschwindet erst auf sehr schmalen Geraeten. Bei 26 rem
   (416 px) war sie schon auf jedem normalen Telefon weg — dort stand dann
   nur "CC", und der Name der Backstube war auf der Startseite nicht zu
   lesen. Bei 390 px passen Monogramm, Name und Menueknopf bequem. */
@media (max-width: 20rem) { .brand .wordmark { display: none; } }
@media (max-width: 26rem) {
  .brand .wordmark { font-size: .64rem; padding-left: .7rem; }
  .brand .wordmark span { font-size: .5rem; }
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

/* WICHTIG — ":not(.btn)" ist hier kein Schoenheitsfehler, sondern Absicht.
   ".nav a" (0,1,1) ist spezifischer als ".btn" (0,1,0). Ohne die
   Ausnahme nimmt die Navigationsregel dem Knopf erst die Schriftfarbe
   und dann den Innenabstand weg — der weisse Knopf wird unlesbar und
   fällt auf Textzeilenhoehe zusammen. Der Knopf bleibt so komplett
   ausserhalb dieser Regeln. */
.nav a:not(.btn) {
  font-family: var(--font-brand); font-size: .71rem; font-weight: 400;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  color: rgba(255, 255, 255, .82); text-decoration: none; white-space: nowrap;
  padding: .35rem 0; position: relative;
}
.nav a:not(.btn):hover { color: var(--cc-white); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--cc-sand);
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn)[aria-current="true"]::after { transform: scaleX(1); }
.nav a:not(.btn)[aria-current="true"] { color: var(--cc-white); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.32);
  color: var(--cc-white); width: 2.75rem; height: 2.75rem; border-radius: var(--radius);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 4.75rem 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cc-black); border-bottom: 1px solid rgba(255,255,255,.14);
    padding: .5rem 0 1.4rem; box-shadow: 0 24px 60px -24px rgba(0,0,0,.9);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a:not(.btn) { padding: .95rem clamp(1.25rem, 5vw, 2rem); font-size: .78rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: .9rem clamp(1.25rem, 5vw, 2rem) 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-brand); font-size: .74rem; font-weight: 500;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  padding: .95rem 1.9rem; border-radius: var(--radius);
  border: 1px solid var(--cc-black); background: var(--cc-black); color: var(--cc-white);
  text-decoration: none; cursor: pointer;
  white-space: nowrap; flex: none;
  transition: background .2s, color .2s, border-color .2s, transform .12s;
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--cc-white); }

.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-hi); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.btn-light { background: var(--cc-white); color: var(--cc-black); border-color: var(--cc-white); }
.btn-light:hover { background: var(--cc-sand); border-color: var(--cc-sand); color: var(--cc-black); }

/* Umriss auf dunklem Grund */
.btn-outline {
  background: transparent; color: var(--cc-white);
  border-color: rgba(255, 255, 255, .42);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .10); color: var(--cc-white);
  border-color: rgba(255, 255, 255, .75);
}

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

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

section { padding-block: var(--section); }
section:first-of-type { padding-top: 0; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Seitenkopf ---------- */

/* Ohne Produktfoto. Die vorhandenen Aufnahmen zeigen alle einen fremden
   Markenkeks obenauf, also traegt der Seitenkopf die Marke selbst:
   schwarzer Grund, das freigestellte Logo, ein warmer Karamellschimmer
   aus den Markenfarben. Sobald ein eigenes Querformat vorliegt, kann es
   als .hero-bg hinter .hero-inner gelegt werden — die Abdunklung dafuer
   steht schon bereit. */

.hero {
  position: relative;
  min-height: min(92svh, 52rem);
  display: grid; place-items: center;
  padding-block: clamp(5.5rem, 13vh, 9rem) clamp(6rem, 14vh, 10rem);
  background: var(--cc-black);
  overflow: hidden;
  isolation: isolate;
}

/* Abdunklung. Das Uebersichtsfoto ist unruhig — helle Deckel, dunkler
   Schiefer — deshalb ein kraeftiger Verlauf, sonst traegt die Schrift
   nicht. Zwei Lagen: ein Verlauf von oben und unten fuer Kopf und
   Knopfzeile, dazu eine Vignette, die die Mitte freihaelt. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    /* Deutlich leichter als zuvor: die Seite ist weiss, ein schwerer
       schwarzer Schleier wirkte dagegen wie ein Fremdkoerper. Oben und
       unten bleibt es kraeftiger — dort liegen Kopfzeile und Knopfzeile
       und brauchen Halt. Die Schrift bekommt zusaetzlich einen Schatten,
       damit die Lesbarkeit nicht am Verlauf allein haengt. */
    linear-gradient(to bottom,
      rgba(10, 10, 10, .62) 0%,
      rgba(10, 10, 10, .28) 32%,
      rgba(10, 10, 10, .30) 62%,
      rgba(10, 10, 10, .66) 100%),
    radial-gradient(80% 64% at 50% 50%, rgba(10, 10, 10, .06) 0%, rgba(10, 10, 10, .42) 100%);
}
/* Feine Koernung, damit der Verlauf nicht bandet */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.hero .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}

.hero-inner {
  text-align: center; color: var(--cc-white); position: relative;
  isolation: isolate;
}
/* Oertlicher Schleier nur hinter dem Textblock. Das Kopfbild bleibt damit
   insgesamt hell, waehrend die Schrift ueberall genug Halt bekommt — auch
   dort, wo darunter eine helle Stelle des Fotos liegt. */
.hero-inner::before {
  content: ""; position: absolute; z-index: -1;
  inset: -14% -8%;
  background: radial-gradient(60% 54% at 50% 50%,
    rgba(10, 10, 10, .62) 0%,
    rgba(10, 10, 10, .44) 55%,
    rgba(10, 10, 10, 0) 100%);
  filter: blur(16px);
  pointer-events: none;
}

.hero h1 {
  color: var(--cc-white); text-wrap: balance; margin-bottom: 1.35rem;
  text-shadow: 0 1px 3px rgba(10, 10, 10, .45), 0 2px 26px rgba(10, 10, 10, .55);
  animation: hero-auf 1.1s cubic-bezier(.2,.7,.3,1) .1s both;
}
.hero h1 em { font-style: italic; color: var(--cc-sand); }

.hero-inner > p {
  color: rgba(255, 255, 255, .94);
  max-width: 34rem; margin-inline: auto; text-wrap: balance;
  text-shadow: 0 1px 3px rgba(10, 10, 10, .5), 0 1px 18px rgba(10, 10, 10, .6);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  animation: hero-auf 1.1s cubic-bezier(.2,.7,.3,1) .2s both;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  animation: hero-auf 1.1s cubic-bezier(.2,.7,.3,1) .3s both;
}

@keyframes hero-auf {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero-scroll {
  position: absolute; left: 50%; bottom: clamp(1.5rem, 4vh, 2.75rem);
  transform: translateX(-50%);
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: color .25s, border-color .25s, background .25s;
}
.hero-scroll svg { width: 18px; height: 18px; animation: nick 2.4s ease-in-out infinite; }
.hero-scroll:hover { color: var(--cc-white); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
@keyframes nick { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }

/* ---------- Sorten ---------- */

/* Aufbau nach der mobilen Referenzvorlage, 1:1: eine Spalte, weisser Grund,
   je Sorte Bild, dann Name, dann ein kurzer Satz mit kursiven Betonungen.
   Die Aufnahmen sind NICHT rund beschnitten — sie stehen wie fotografiert.
   Ab Tablet laufen dieselben Bausteine im Zickzack nebeneinander. */

/* Kein eigener Grund: der Abschnitt steht auf der Seitenfarbe (Creme),
   wie die uebrigen Abschnitte auch. */

.flavors { display: grid; gap: clamp(3rem, 9vw, 5rem); }

.flavor {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  justify-items: center; align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.flavor-media { width: 100%; max-width: 26rem; }
.flavor-media {
  /* Der Ausschnitt sitzt auf der Huelle, damit der Zoom beim Zeigen
     innerhalb der abgerundeten Kante bleibt. */
  border-radius: clamp(.9rem, 2.5vw, 1.5rem);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(40,19,15,.05), 0 18px 34px -18px rgba(40,19,15,.22);
}
.flavor-media img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 1;                 /* die Aufnahmen sind quadratisch */
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.3,1);
}
.flavor:hover .flavor-media img { transform: scale(1.03); }

.flavor-text { text-align: center; max-width: 26rem; }
.flavor-text h3 {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
.flavor-tm {
  font-family: var(--font-brand); font-size: .62rem; font-weight: 400;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  color: var(--fg-muted);
  margin: .85rem 0 0; max-width: none;
}
.flavor-text > p:not(.flavor-tm) {
  margin: 1.1rem auto 0;
  color: var(--fg-muted);
  font-size: 1.05em;
  text-wrap: pretty;
}
.flavor-text em { font-style: italic; color: var(--fg); }

/* --- ab Tablet: Zickzack --- */
@media (min-width: 45rem) {
  .flavors { gap: clamp(1.5rem, 4vw, 3rem); }
  .flavor {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 4rem);
  }
  .flavor:nth-child(even) .flavor-media { order: 2; }
  .flavor:nth-child(even) .flavor-text  { order: 1; }
  /* Das Bild waechst mit der Spalte, statt bei 22 rem stehen zu bleiben —
     sonst sitzt es bei 768 px verloren in einer zu breiten Spalte. */
  .flavor-media { max-width: min(44vw, 26rem); }
  .flavor-text  { max-width: 26rem; }
}

/* --- Mobil: eine Spalte, Trennlinien zwischen den Sorten --- */
@media (max-width: 45rem) {
  .flavor-media { max-width: min(84vw, 22rem); }
  .flavor + .flavor {
    padding-top: clamp(2.5rem, 8vw, 3.5rem);
    border-top: 1px solid var(--border);
  }
}

.sorten-cta {
  margin: clamp(3rem, 7vw, 4.5rem) 0 0;
  text-align: center; max-width: none;
}

/* ---------- Bestellseite ---------- */

/* Die Vorbestellung ist eine eigene Seite. Die Startseite bleibt dadurch
   kurz, und wer bestellen will, landet auf einer Seite, die nur das tut. */
.order-page {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(4rem, 9vw, 7rem);
}
.order-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.order-head h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.order-head .lead { max-width: 38rem; }

/* Aufruf unter den Sortenkarten */
.sorten-cta {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  text-align: center; max-width: none;
}

.order-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 62rem) {
  .order-grid { grid-template-columns: 20rem minmax(0, 1fr); align-items: start; }
  .order-aside { position: sticky; top: 6.5rem; }
}
.order-photo {
  display: block; margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  max-width: 28rem; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-raised); box-shadow: var(--shadow);
}
.order-photo img { display: block; width: 100%; height: auto; }
.order-aside dl { margin: 0; display: grid; gap: 1.4rem; }
.order-aside dt {
  font-family: var(--font-brand); font-size: .66rem; font-weight: 500;
  letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--accent-text);
  margin-bottom: .35rem;
}
.order-aside dd { margin: 0; color: var(--fg-muted); font-size: .98em; }

.form {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

fieldset { border: 0; margin: 0 0 2.25rem; padding: 0; }
fieldset:last-of-type { margin-bottom: 1.5rem; }
legend {
  font-family: var(--font-brand); font-size: .68rem; font-weight: 500;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  color: var(--fg); padding: 0 0 1rem;
}
.legend-hint {
  display: block; font-family: var(--font-body); font-size: 1rem;
  letter-spacing: normal; text-transform: none; color: var(--fg-muted);
  margin-top: .55rem; font-weight: 400; max-width: var(--measure);
}

.field { margin-bottom: 1.35rem; }
.field-row { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

label.lbl, .lbl {
  display: block; margin-bottom: .45rem;
  font-family: var(--font-brand); font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg);
}
.lbl .opt { color: var(--fg-muted); font-weight: 400; text-transform: none; letter-spacing: normal; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], textarea, select {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  /* Auf weissem Grund braucht das Eingabefeld einen Hauch Ton, sonst ist
     nur noch der Rahmen da und man sieht das Feld nicht mehr. */
  color: var(--fg); background: #FCFBFA;
  border: 1px solid var(--border-hi); border-radius: var(--radius);
  padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
/* Tastaturfokus zusaetzlich mit Rahmen. Der weiche Schein allein reicht bei
   Textfeldern, aber nicht bei Kontrollkaestchen: dort ist er auf 1,15 rem
   Flaeche praktisch unsichtbar — die Pflicht-Einwilligung war mit der
   Tastatur nicht als fokussiert zu erkennen. */
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  box-shadow: none;
}
textarea { resize: vertical; min-height: 6.5rem; line-height: 1.55; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--cc-berry); }

.hint { display: block; margin-top: .4rem; font-size: .9rem; color: var(--fg-muted); }
.err {
  display: none; margin-top: .4rem; font-size: .9rem; color: var(--cc-berry); font-weight: 500;
}
.err:not(:empty) { display: block; }

/* Sorten-Mengenwaehler */


.qty-list { display: grid; gap: .75rem; }
.qty {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: .8rem 1rem; background: var(--bg);
  transition: border-color .2s, background .2s;
}
.qty:has(.qty-input:not([value="0"])) { border-color: var(--border-hi); }
/* Runde Miniatur der Sorte — dasselbe Bild wie im Zickzack, nur klein.
   Der Kreis passt zum runden Teller und braucht keinen Rahmen. */
.qty-thumb { flex: none; display: block; }
.qty-thumb img {
  width: 3rem; height: 3rem; border-radius: 50%;
  object-fit: cover; display: block;
  box-shadow: 0 2px 8px -4px rgba(40, 19, 15, .45);
}

.qty-name { flex: 1; min-width: 0; }
.qty-name strong { display: block; font-size: 1.05rem; font-weight: 500; }
.qty-name span {
  font-family: var(--font-brand); font-size: .62rem;
  letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--fg-muted);
  display: block; text-wrap: balance;
}
.stepper { display: flex; align-items: center; gap: .25rem; flex: none; }
.stepper button {
  width: 2.4rem; height: 2.4rem; flex: none;
  border: 1px solid var(--border-hi); background: var(--bg-raised); color: var(--fg);
  border-radius: var(--radius); cursor: pointer; font-size: 1.25rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s, color .15s;
}
.stepper button:hover:not([disabled]) { background: var(--cc-black); border-color: var(--cc-black); color: var(--cc-white); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper input.qty-input {
  width: 3.25rem; text-align: center; padding: .55rem .25rem;
  font-family: var(--font-brand); font-size: 1rem; font-weight: 500;
  -moz-appearance: textfield;
}
.stepper input.qty-input::-webkit-outer-spin-button,
.stepper input.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Auf schmalen Geraeten steht der Mengenwaehler unter dem Namen. Vorher
   quetschte er die Namensspalte so weit zusammen, dass der Zusatz mitten
   im Wort umbrach ("DAS / ORIGINAL"). */
@media (max-width: 30rem) {
  .qty {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "thumb name" "stepper stepper";
    row-gap: .85rem; column-gap: .9rem;
    align-items: center;
  }
  .qty-thumb { grid-area: thumb; }
  .qty-name  { grid-area: name; }
  .qty .stepper {
    grid-area: stepper;
    justify-self: stretch;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: .4rem;
  }
  .qty .stepper button { width: 100%; }
  .qty .stepper input.qty-input { width: 100%; }
}


.total {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .75rem 1.5rem; margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.total-label {
  font-family: var(--font-brand); font-size: .68rem; font-weight: 500;
  letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--fg-muted);
}
.total-value { font-family: var(--font-brand); font-size: 1.5rem; font-weight: 500; letter-spacing: .01em; }
.total-value .cnt { color: var(--fg-muted); font-size: .95rem; font-weight: 400; }
.total[data-over="true"] .total-value { color: var(--cc-berry); }

/* Captcha */
.captcha { display: grid; gap: .75rem; grid-template-columns: auto 1fr; align-items: start; }
.captcha-img {
  border: 1px solid var(--border-hi); border-radius: var(--radius);
  background: var(--cc-white); width: 190px; height: 68px; flex: none;
}
.captcha-side { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.captcha-reload {
  align-self: flex-start; background: none; border: 0; cursor: pointer;
  padding: 0; color: var(--accent-text);
  font-family: var(--font-brand); font-size: .64rem;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .4rem;
}
.captcha-reload:hover { color: var(--accent); text-decoration: underline; }
.captcha-reload svg { width: .95em; height: .95em; }
@media (max-width: 30rem) { .captcha { grid-template-columns: 1fr; } .captcha-img { width: 100%; } }

/* Checkboxen */
.check { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; margin-bottom: 1rem; }
.check input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem; margin: .28rem 0 0; flex: none;
  accent-color: var(--cc-black); cursor: pointer;
}
.check label { font-size: .97em; line-height: 1.5; cursor: pointer; }
.check label small { display: block; color: var(--fg-muted); font-size: .88em; margin-top: .2rem; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.form-actions .btn { flex: none; }
.form-status { font-size: .95em; color: var(--fg-muted); }

/* Ergebnis-Meldung */
.result { border-radius: var(--radius); padding: 1.15rem 1.35rem; margin-bottom: 1.5rem; display: none; }
.result:not([hidden]) { display: block; }
.result h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.result p { font-size: .98em; }
.result[data-kind="ok"] { background: color-mix(in srgb, var(--cc-caramel) 12%, var(--bg-raised)); border: 1px solid var(--accent); }
.result[data-kind="err"] { background: color-mix(in srgb, var(--cc-berry) 10%, var(--bg-raised)); border: 1px solid var(--cc-berry); }
.result[data-kind="err"] h3 { color: var(--cc-berry); }

.spinner {
  width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ueber uns ---------- */

/* Reiner Textabschnitt, zentriert. Es gibt (noch) kein eigenes Foto der
   Backstube, und ein "Foto folgt"-Platzhalter hat auf einer Seite, die
   online ist, nichts zu suchen. Sobald eines vorliegt, passt es als
   Querformat oberhalb der Ueberschrift. */
/* "Ueber uns" behaelt seine creme-farbene Flaeche, auch nachdem die
   uebrige Seite auf Weiss umgestellt wurde. Der Wert ist derselbe wie
   zuvor (#EFE7DB), steht jetzt aber als Token, damit die anderen Seiten
   denselben Ton treffen. */
.about, .band-creme { background: var(--band-creme); }

.about-text.center { text-align: center; }
.about-text.center p { margin-inline: auto; }

.about-sign {
  font-size: .68rem; color: var(--accent-text); margin-top: 2.25rem;
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  max-width: none;
}
.about-sign::before, .about-sign::after {
  content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .45;
}

/* ---------- Standort ---------- */

/* Wechsel der Flaechen: Sorten hell, Ueber-uns abgesetzt, Standort wieder hell. */
.standort { background: var(--bg); }
.standort-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.standort-card {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.standort-card h3 {
  font-family: var(--font-brand); font-size: .7rem; font-weight: 500;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 1.1rem;
}
.standort-card address { font-style: normal; line-height: 1.75; margin-bottom: 1.35rem; }
.standort-card p { color: var(--fg-muted); }
.standort-card p + p { margin-top: 1.1rem; }
.standort-card .small { font-size: .92em; }
.standort-card .btn { margin-top: .25rem; }
.ways { margin: 0 0 1.1rem; padding-left: 1.2rem; color: var(--fg-muted); }
.ways li { margin-bottom: .45rem; }

/* ---------- Fusszeile ---------- */

/* Zentriert nach Vorbild: erst die Links in einer Zeile, dann die Marke
   gross in der Mitte, darunter die Pflichtangaben. */

.site-footer {
  background: var(--cc-black); color: var(--cc-porcelain);
  padding-block: clamp(3.5rem, 8vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .85rem clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.footer-links a {
  font-family: var(--font-brand); font-size: .66rem; font-weight: 500;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  color: rgba(255, 255, 255, .78); text-decoration: none;
  padding-bottom: .3rem; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer-links a:hover { color: var(--cc-white); border-bottom-color: var(--cc-sand); }

.footer-mark { padding-bottom: clamp(2rem, 5vw, 3rem); }
.footer-mark img {
  width: clamp(112px, 15vw, 150px); height: auto; margin-inline: auto;
  opacity: .95;
}

.footer-meta { display: grid; gap: .8rem; justify-items: center; }
.footer-meta address {
  font-style: normal; font-size: .93rem; line-height: 1.7;
  color: rgba(255, 255, 255, .62); max-width: 44rem;
}
.footer-meta a { color: var(--cc-sand); text-decoration: none; }
.footer-meta a:hover { color: var(--cc-white); text-decoration: underline; text-underline-offset: .2em; }
.footer-meta p { color: rgba(255, 255, 255, .55); font-size: .86rem; margin: 0; max-width: 46rem; }
.footer-meta .tm {
  font-size: .75rem; color: rgba(255, 255, 255, .38); line-height: 1.6;
  max-width: 52rem; margin-top: .5rem;
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */

.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 2.5rem; }
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 2.75rem 0 1rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.15rem; margin: 1.75rem 0 .6rem; }
.legal p, .legal li { max-width: 44rem; }
.legal ul, .legal ol { padding-left: 1.3rem; margin: 0 0 1.15em; }
.legal li { margin-bottom: .45rem; }
.legal address { font-style: normal; line-height: 1.8; margin-bottom: 1.15em; }
.legal dl { display: grid; gap: .9rem; margin: 0 0 1.5em; max-width: 44rem; }
.legal dt { font-family: var(--font-brand); font-size: .66rem; font-weight: 500;
  letter-spacing: var(--track-mid); text-transform: uppercase; color: var(--accent-text); }
.legal dd { margin: .3rem 0 0; }
.legal .updated {
  font-family: var(--font-brand); font-size: .68rem; letter-spacing: var(--track-mid);
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 2.5rem;
}

/* Platzhalter in den Musterdaten sichtbar markieren */
.ph {
  background: color-mix(in srgb, var(--cc-berry) 12%, transparent);
  border-bottom: 1px dashed var(--cc-berry);
  padding: 0 .22em; border-radius: 2px;
  font-family: var(--font-brand); font-size: .88em;
}
.ph-note {
  background: color-mix(in srgb, var(--cc-berry) 8%, var(--bg-raised));
  border: 1px solid color-mix(in srgb, var(--cc-berry) 35%, transparent);
  border-radius: var(--radius); padding: 1.15rem 1.35rem; margin-bottom: 2.5rem;
}
.ph-note p { font-size: .95em; margin: 0; max-width: none; }
.ph-note strong { color: var(--cc-berry); }

.back-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-brand); font-size: .68rem;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  text-decoration: none; margin-bottom: 2rem;
}
.back-link:hover { text-decoration: underline; text-underline-offset: .25em; }

/* ---------- Herkunftsseite ---------- */

.herkunft-kopf {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.herkunft-kopf h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  margin-bottom: 1.15rem;
}
.herkunft-kopf .lead { margin-inline: auto; max-width: 34rem; }

.herkunft-text { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.herkunft-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: clamp(2.25rem, 5vw, 3.25rem) 0 1rem;
}
.herkunft-text h2:first-child { margin-top: 0; }
.herkunft-text p { font-size: 1.06em; }
.herkunft-text em { font-style: italic; }

.zitat {
  margin: clamp(2rem, 5vw, 3rem) 0;
  padding: 0 0 0 clamp(1.25rem, 3vw, 2rem);
  border-left: 2px solid var(--accent);
}
.zitat p {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic; color: var(--fg);
  max-width: 30rem; margin: 0;
}

/* --- Karten --- */

/* Die beiden Kartenbaender sind die Creme-Baender dieser Seite. */
.karten-block { padding-block: clamp(2.5rem, 6vw, 4rem); background: var(--band-creme); }


.karte-figur { margin: 0; }
.karte-huelle {
  max-width: 46rem; margin-inline: auto;
  /* Die Zeichnung braucht Luft, sonst klebt die Kueste am Rand. */
  padding: clamp(.5rem, 2vw, 1.25rem);
}
.karte-huelle img { width: 100%; height: auto; display: block; }

.karte-figur figcaption {
  max-width: 34rem; margin: clamp(1rem, 3vw, 1.75rem) auto 0;
  text-align: center; font-size: .96rem; color: var(--fg-muted);
}
.karte-hinweis {
  display: block; margin-top: .45rem;
  font-family: var(--font-brand); font-size: .58rem;
  letter-spacing: var(--track-mid); text-transform: uppercase;
  color: var(--fg-muted); opacity: .75;
}

/* --- Impressionen --- */

.impressionen { padding-block: clamp(3rem, 7vw, 5rem); }
.impr-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
@media (min-width: 52rem) {
  .impr-grid { grid-template-columns: repeat(2, 1fr); }
  .impr-gross { grid-column: 1 / -1; }
}
.impr { margin: 0; }
.impr img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.impr-gross img { aspect-ratio: 4 / 3; object-fit: cover; }
.impr figcaption {
  margin-top: .8rem; font-size: .93rem; color: var(--fg-muted); text-align: center;
}

/* ---------- Fehlerseite ---------- */

.fehlerseite {
  padding-block: clamp(4rem, 12vw, 8rem);
  text-align: center;
}
.fehlerseite h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  margin-bottom: 1.15rem;
}
.fehlerseite .lead { margin-inline: auto; max-width: 30rem; }
.fehler-aktionen {
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
}
.fehler-hilfe {
  margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; max-width: 34rem;
  padding-top: 1.75rem; border-top: 1px solid var(--border);
  font-size: .95rem; color: var(--fg-muted);
}

/* ---------- Druckansicht ---------- */

/* Impressum, AGB und Datenschutzerklaerung werden ausgedruckt oder als PDF
   abgelegt. Ohne diese Regeln landen Navigation, Fusszeile und schwarze
   Flaechen mit auf dem Papier. */
@media print {
  .site-header, .site-footer, .skip-link, .hero-scroll,
  .nav, .nav-toggle, .sorten-cta, .fehler-aktionen { display: none !important; }

  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }
  .wrap, .narrow { width: auto; max-width: none; }
  main, section { padding-block: 0 !important; }

  a { color: #000 !important; text-decoration: underline; }
  /* Ziel-URL mit ausdrucken — auf Papier ist ein Link sonst wertlos */
  .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }

  h1, h2, h3 { break-after: avoid; }
  p, li, dd { orphans: 3; widows: 3; }
  .legal h2 { border-top: 1px solid #999; }

  /* Die Musterdaten muessen auch auf Papier erkennbar bleiben */
  .ph {
    background: none !important;
    border-bottom: 1px dashed #000 !important;
    font-weight: bold;
  }
  .ph::before { content: "[ausfüllen: "; }
  .ph::after  { content: "]"; }
  .ph-note { border: 1px solid #000 !important; background: none !important; }

  .flavor-media, .impr, .karte-huelle { break-inside: avoid; }
  img { max-width: 100% !important; }
}

/* ---------- Sprachmenue ---------- */

.language-menu { position: relative; flex: none; }
.language-menu summary {
  display: flex; align-items: center; gap: .7rem; min-width: 7.4rem;
  padding: .62rem .78rem; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius); cursor: pointer; list-style: none;
  font-family: var(--font-brand); font-size: .67rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  color: rgba(255, 255, 255, .88); user-select: none;
  transition: color .2s, border-color .2s, background .2s;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
  content: ""; width: .42rem; height: .42rem; margin-left: auto;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-.12rem) rotate(45deg); transition: transform .2s;
}
.language-menu summary:hover,
.language-menu summary:focus-visible,
.language-menu[open] summary {
  color: var(--cc-white); border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .07); outline: none;
}
.language-menu[open] summary::after { transform: translateY(.12rem) rotate(225deg); }
.language-options {
  position: absolute; z-index: 10; top: calc(100% + .55rem); right: 0;
  min-width: 10rem; padding: .38rem; border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); background: #171513;
  box-shadow: 0 18px 45px rgba(0,0,0,.38);
}
.nav .language-options a:not(.btn) {
  display: block; padding: .72rem .78rem; border-radius: 2px;
  font-size: .69rem; letter-spacing: .08em; text-transform: none;
}
.nav .language-options a:not(.btn)::after { display: none; }
.nav .language-options a:not(.btn):hover { background: rgba(255,255,255,.08); }
.nav .language-options a[aria-current="page"] {
  color: var(--cc-sand); background: rgba(255,255,255,.05); cursor: default;
}

@media (max-width: 880px) {
  .language-menu { margin: .9rem clamp(1.25rem, 5vw, 2rem) 0; }
  .language-menu summary { width: 100%; min-height: 2.75rem; }
  .language-options {
    position: static; width: 100%; margin-top: .35rem; box-shadow: none;
    background: rgba(255,255,255,.035);
  }
  .nav .language-options a:not(.btn) { padding: .8rem .78rem; }
}
