/* Nordlicht Studio — Oberflaeche
 *
 * Die Zahlen hier sind nachgeschlagen, nicht geschaetzt (Skill app-ui-craft):
 * Tippziel ab 44 px, Abstaende auf dem 4er-Raster, verschachtelte Radien nach
 * "innen = aussen minus Abstand", Ladezustand erst ab 300 ms, nichts Wichtiges
 * hinter Hover. Schriften liegen unter /schrift und werden selbst ausgeliefert —
 * ein Google-Fonts-Link wuerde die IP jedes Besuchers in die USA schicken.
 */

/* ── Schriften ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Playfair Display'; src: url('/schrift/playfair.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond'; src: url('/schrift/cormorant.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat'; src: url('/schrift/montserrat.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter'; src: url('/schrift/inter.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Allura'; src: url('/schrift/allura.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ── Merkmale ──────────────────────────────────────────────────────────── */
:root {
  --papier: #FBF9F6;
  --flaeche: #FFFFFF;
  --tinte: #1C1A17;
  --leise: #6B655C;
  --linie: #E5DFD6;
  --akzent: #9C4A2F;
  --akzent-tief: #7A3A23;
  --akzent-hell: #F6EBE5;
  --salbei: #7C8A72;
  --erfolg: #2F6B4F;
  --fehler: #A33A2E;
  --hinweis-bg: #FDF4E3;
  --hinweis-fg: #7A5410;

  --serife: 'Playfair Display', Georgia, serif;
  --serife-leicht: 'Cormorant Garamond', Georgia, serif;
  --grotesk: 'Montserrat', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, sans-serif;

  --r-gross: 16px;
  --r-mittel: 12px;
  --r-klein: 8px;
  --schatten: 0 1px 2px rgb(28 26 23 / .04), 0 8px 24px -12px rgb(28 26 23 / .10);
  --schatten-hoch: 0 2px 4px rgb(28 26 23 / .05), 0 24px 56px -20px rgb(28 26 23 / .20);
  --kurve: cubic-bezier(.16, 1, .3, 1);
}

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

/* Das Browser-eigene [hidden] ist nur `display: none` mit sehr schwacher
   Gewichtung — jede eigene display-Regel schlaegt es. Ohne diese Zeile blieben
   Ladegeruest und Warenkorb-Pille sichtbar, obwohl das Attribut gesetzt ist. */
[hidden] { display: none !important; }

html {
  /* Ohne das springt das Layout um ~15 px, sobald eine Seite scrollt oder ein
     Panel den Scroll sperrt. Einzeiler, auf jeder Seite sichtbar. */
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serife); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }
img, svg { max-width: 100%; display: block; }

a { color: var(--akzent); text-underline-offset: 3px; }
a:hover { color: var(--akzent-tief); }

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

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

.springmarke {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--tinte); color: var(--papier); padding: 12px 20px;
  border-radius: var(--r-klein); transition: top 160ms var(--kurve);
}
.springmarke:focus { top: 8px; }

.bahn { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .bahn { width: calc(100% - 32px); } }

/* ── Kopf ──────────────────────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: rgb(251 249 246 / .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.marke {
  font-family: var(--serife); font-size: 22px; font-weight: 600;
  letter-spacing: -.01em; color: var(--tinte); text-decoration: none;
}
.marke span { color: var(--akzent); }
.kopf-nav { display: flex; align-items: center; gap: 4px; }
.kopf-nav a {
  font-family: var(--grotesk); font-size: 13px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--leise);
  text-decoration: none; padding: 12px; min-height: 44px;
  display: inline-flex; align-items: center; border-radius: var(--r-klein);
}
@media (hover: hover) { .kopf-nav a:hover { color: var(--tinte); background: var(--akzent-hell); } }
@media (max-width: 860px) { .kopf-nav a:not(.korb-knopf) { display: none; } }

/* ── Betriebshinweis ───────────────────────────────────────────────────── */
.betriebsband {
  background: var(--hinweis-bg); color: var(--hinweis-fg);
  border-bottom: 1px solid #EBD9B4;
  font-size: 14px; padding: 10px 0;
}
.betriebsband strong { font-weight: 600; }

/* ── Auftakt ───────────────────────────────────────────────────────────── */
.auftakt { padding: 88px 0 56px; text-align: center; }
.auftakt h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  letter-spacing: -.02em; margin-bottom: 20px;
}
.auftakt h1 em { font-style: normal; color: var(--akzent); }
.auftakt p {
  max-width: 56ch; margin-inline: auto; font-size: 18px; color: var(--leise);
}
.auftakt-marken {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 32px;
}
.marker {
  font-family: var(--grotesk); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--akzent); background: var(--akzent-hell);
  padding: 8px 14px; border-radius: 999px;
}

/* ── Namensfrage ───────────────────────────────────────────────────────────
 * Der eine Griff, den kein anderer Shop macht: der Besucher tippt den Namen
 * einmal oben ein, und er steht sofort auf allen zwanzig Motiven. Das ist
 * zugleich die Navigation — man muss nichts filtern, um zu sehen, was einen
 * angeht. Die Messung stuetzt es: Personalisierung ist der staerkste
 * Preistreiber (+0,62), Digitalanteil der staerkste Preiszerstoerer (−0,62).
 */
.namensfrage { margin-top: 40px; }
.namensfrage label {
  display: block; font-family: var(--grotesk); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--leise);
  margin-bottom: 12px;
}
.namensfrage-zeile {
  display: flex; gap: 8px; justify-content: center; align-items: center;
  flex-wrap: wrap;
}
.namensfrage input {
  width: min(320px, 100%); min-height: 56px; padding: 12px 20px;
  font-family: var(--serife); font-size: 26px; font-weight: 500;
  text-align: center; color: var(--tinte);
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-mittel);
  transition: border-color 200ms, box-shadow 200ms;
}
.namensfrage input::placeholder {
  font-family: var(--text); font-size: 16px; font-weight: 400; color: #A39C90;
}
.namensfrage input:focus {
  border-color: var(--akzent); box-shadow: 0 0 0 4px var(--akzent-hell);
  outline: none;
}
.namensfrage-hilfe {
  margin-top: 12px; font-size: 14px; color: var(--leise);
  min-height: 1.5em;
}
.namensfrage-hilfe.getroffen { color: var(--akzent); font-weight: 500; }

/* ── Beweisband ───────────────────────────────────────────────────────────
 * Drei Punkte unter dem Auftakt. Sie beantworten die Fragen, die vor jedem
 * Kauf im Kopf stehen — bekomme ich, was ich sehe; wo kommt es her; welche
 * Form. Nummeriert, weil eine Reihenfolge gelesen wird und eine Aufzaehlung
 * ueberflogen. */
.beweis {
  display: grid; gap: 20px; margin: 8px auto 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.beweis-punkt {
  padding: 22px 22px 22px 20px;
  border-left: 2px solid var(--akzent);
  background: linear-gradient(to right, var(--akzent-hell), transparent 78%);
  border-radius: 0 var(--r-mittel) var(--r-mittel) 0;
}
.beweis-zahl {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin-bottom: 10px;
  font-family: var(--grotesk); font-size: 12px; font-weight: 700;
  color: var(--flaeche); background: var(--akzent); border-radius: 999px;
}
.beweis-punkt b {
  display: block; font-family: var(--serife); font-size: 19px;
  font-weight: 500; margin-bottom: 4px;
}
.beweis-punkt p { font-size: 15px; line-height: 1.5; color: var(--leise); }

/* ── Abschlussblock ───────────────────────────────────────────────────────
 * Steht am Ende des Sortiments, nicht am Anfang. Wer bis hierher gescrollt
 * hat, hat sich alles angesehen — das ist der Moment zu fragen, nicht vorher. */
.abschluss-block {
  margin: 72px 0 8px; padding: 48px 40px; text-align: center;
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-gross);
}
.abschluss-block h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 12px; }
.abschluss-block > p {
  max-width: 54ch; margin: 0 auto 28px; color: var(--leise); font-size: 17px;
}
.abschluss-klein { margin-top: 16px; font-size: 14px; color: var(--leise); }

/* ── Spartenleiste ─────────────────────────────────────────────────────── */
.spartenleiste {
  position: sticky; top: 72px; z-index: 30;
  background: rgb(251 249 246 / .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
  padding: 12px 0;
}
.spartenleiste-inner {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 2px;
}
.spartenleiste-inner::-webkit-scrollbar { display: none; }
.spartenleiste { position: sticky; }
.spartenleiste::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 56px;
  pointer-events: none; opacity: 0; transition: opacity 200ms;
  background: linear-gradient(to right, rgb(251 249 246 / 0), rgb(251 249 246 / .96));
}
.spartenleiste.mehr-rechts::after { opacity: 1; }
.sparte-knopf {
  flex: 0 0 auto; min-height: 44px; padding: 10px 18px;
  font-family: var(--grotesk); font-size: 13px; font-weight: 600;
  letter-spacing: .03em; color: var(--leise);
  background: transparent; border: 1px solid var(--linie);
  border-radius: 999px; cursor: pointer;
  transition: color 160ms, background 160ms, border-color 160ms;
}
@media (hover: hover) {
  .sparte-knopf:hover { color: var(--tinte); border-color: var(--tinte); }
}
.sparte-knopf[aria-pressed="true"] {
  color: var(--flaeche); background: var(--tinte); border-color: var(--tinte);
}

/* ── Sortiment ─────────────────────────────────────────────────────────── */
.sparte-block { padding: 56px 0 8px; }
.sparte-kopf { margin-bottom: 28px; }
.sparte-kopf h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.01em; }
.sparte-kopf p { color: var(--leise); margin-top: 6px; font-size: 17px; }
.sparte-beleg {
  font-family: var(--grotesk); font-size: 12px; letter-spacing: .04em;
  color: var(--leise); margin-top: 12px;
}
.sparte-beleg b { color: var(--tinte); font-weight: 600; }

.raster {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--r-gross);
  /* Radius innen = aussen minus Abstand: 16 − 8 = 8 */
  padding: 8px;
  display: flex; flex-direction: column;
  text-align: left; cursor: pointer; font: inherit; color: inherit;
  transition: border-color 200ms var(--kurve), box-shadow 260ms var(--kurve),
              transform 260ms var(--kurve);
}
@media (hover: hover) {
  .karte:hover {
    border-color: #CFC6B8;
    box-shadow: var(--schatten-hoch);
    transform: translateY(-3px);
  }
}
/* Die Bühne. Ohne sie hielt der erste Betrachter A2-Poster für Postkarten:
 * ein randloses Blatt auf weissem Grund hat keinen Massstab. Rahmen,
 * Passepartout, Wandfarbe und Schlagschatten geben ihm einen — und die
 * Maßangabe darunter sagt es zusätzlich in Zahlen. */
.buehne {
  /* Feste Bühnenhöhe, damit gerahmtes Poster und Leinwand gleich gross
     erscheinen und die Zeile nicht verspringt. Vorher war die rahmenlose
     Leinwand sichtbar hoeher als ihre Nachbarn. */
  display: flex; align-items: center; justify-content: center;
  position: relative; aspect-ratio: 100 / 112;
  padding: 16px 16px 34px;
  border-radius: var(--r-klein);
  background:
    radial-gradient(120% 88% at 50% 0%, #F7F2EA 0%, #EFE8DE 58%, #E7DFD3 100%);
  overflow: hidden;
}
.buehne::after {
  /* Andeutung einer Fussleiste: gibt der Fläche eine Wand-Lesart. */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: linear-gradient(to bottom, rgb(28 26 23 / .045), rgb(28 26 23 / .02));
  border-top: 1px solid rgb(28 26 23 / .07);
}
.rahmen {
  display: block; position: relative;
  width: 82%; padding: 9px;
  background: linear-gradient(150deg, #3A322A 0%, #241E19 42%, #332C25 100%);
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgb(255 255 255 / .10) inset,
    0 10px 18px -8px rgb(28 26 23 / .40),
    0 26px 44px -20px rgb(28 26 23 / .34);
}
.rahmen-leinwand {
  /* Leinwand hat keinen Rahmen, sondern eine umlaufende Kante. Schmaler
     gesetzt, damit die bedruckte Flaeche so gross wirkt wie im Rahmen. */
  width: 72%; padding: 0; background: none;
  box-shadow:
    -3px 0 0 #E3DACD inset, 3px 0 0 #CFC4B4 inset,
    0 12px 20px -10px rgb(28 26 23 / .34),
    0 28px 46px -22px rgb(28 26 23 / .28);
  border-radius: 1px;
}
.passepartout {
  display: block; padding: 6%;
  background: #FEFDFB;
  box-shadow: 0 0 0 1px rgb(28 26 23 / .07) inset;
}
.rahmen-leinwand .passepartout { padding: 0; background: none; box-shadow: none; }
.passepartout svg { width: 100%; height: auto; display: block; }
.mass {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  font-family: var(--grotesk); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; color: #8A8073; white-space: nowrap;
}
.karte-text { display: block; padding: 16px 8px 8px; }
.karte-titel {
  display: block; font-family: var(--serife); font-size: 19px;
  font-weight: 500; line-height: 1.25;
}
.karte-unterzeile {
  display: block; font-size: 14px; line-height: 1.4; color: var(--leise);
  margin-top: 4px; min-height: 2.8em;
}
.karte-fuss {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-top: 14px;
}
.karte-preis { font-family: var(--grotesk); font-size: 17px; font-weight: 600; }
.karte-preis em {
  font-style: normal; font-size: 12px; font-weight: 500; color: var(--leise);
  margin-right: 4px;
}
.karte-hinweis {
  font-family: var(--grotesk); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--leise);
  white-space: nowrap;
}

/* ── Knöpfe ────────────────────────────────────────────────────────────── */
.knopf {
  font-family: var(--grotesk); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; line-height: 20px;
  min-height: 56px; padding: 16px 28px;
  border: 1px solid transparent; border-radius: var(--r-mittel);
  cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px;
  transition: background 180ms, color 180ms, border-color 180ms, transform 120ms;
}
.knopf:active { transform: translateY(1px); }
.knopf-primaer { background: var(--tinte); color: var(--papier); }
@media (hover: hover) { .knopf-primaer:hover { background: #000; } }
.knopf-umriss {
  background: transparent; color: var(--tinte); border-color: var(--linie);
}
@media (hover: hover) {
  .knopf-umriss:hover { border-color: var(--tinte); background: var(--akzent-hell); }
}
.knopf-klein { min-height: 44px; padding: 12px 20px; font-size: 14px; }
/* Icon links traegt optisch weniger als Text — darum links enger padden. */
.knopf-mit-icon { padding-left: 20px; }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf-voll { width: 100%; }

/* ── Warenkorbknopf im Kopf ────────────────────────────────────────────── */
.korb-knopf {
  position: relative; min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--linie);
  border-radius: 999px; background: var(--flaeche);
  font-family: var(--grotesk); font-size: 13px; font-weight: 600;
  color: var(--tinte); text-decoration: none; cursor: pointer;
}
@media (hover: hover) { .korb-knopf:hover { border-color: var(--tinte); } }
.korb-zahl {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--akzent); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  transition: transform 260ms var(--kurve);
}
.korb-zahl.puls { transform: scale(1.34); }

/* ── Werkbank (Motiv einrichten) ───────────────────────────────────────── */
.werkbank-grund {
  position: fixed; inset: 0; z-index: 60;
  background: rgb(28 26 23 / .34);
  opacity: 0; pointer-events: none; transition: opacity 240ms var(--kurve);
}
.werkbank-grund.offen { opacity: 1; pointer-events: auto; }

.werkbank {
  position: fixed; z-index: 61; inset: auto 0 0 0;
  max-height: 92dvh; overflow-y: auto;
  background: var(--flaeche);
  border-top-left-radius: 20px; border-top-right-radius: 20px;
  box-shadow: var(--schatten-hoch);
  transform: translateY(100%);
  transition: transform 320ms var(--kurve);
}
.werkbank.offen { transform: translateY(0); }
@media (min-width: 861px) {
  .werkbank {
    inset: 0 0 0 auto; width: min(920px, 92vw); max-height: none;
    border-radius: 0; transform: translateX(100%);
  }
  .werkbank.offen { transform: translateX(0); }
}

.werkbank-inner { padding: 24px; }
@media (min-width: 861px) {
  .werkbank-inner {
    padding: 40px; display: grid; grid-template-columns: 1fr 340px;
    gap: 40px; align-items: start; min-height: 100%;
  }
}
.werkbank-schliessen {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 44px; height: 44px; padding: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 999px; cursor: pointer; color: var(--tinte);
}
@media (hover: hover) { .werkbank-schliessen:hover { border-color: var(--tinte); } }

.werkbank-blatt {
  border-radius: var(--r-mittel); overflow: hidden;
  position: sticky; top: 40px;
  padding: 40px 46px 52px;
  background: radial-gradient(120% 88% at 50% 0%, #F7F2EA 0%, #EFE8DE 58%, #E7DFD3 100%);
}
.werkbank-blatt > .rahmen { width: 100%; max-width: 330px; margin-inline: auto; }
.werkbank-blatt svg { width: 100%; height: auto; display: block; }
.werkbank-blatt-fuss {
  border-top: 1px solid var(--linie); padding: 12px 16px;
  font-family: var(--grotesk); font-size: 12px; color: var(--leise);
  display: flex; justify-content: space-between; gap: 12px;
}

.werkbank-blaettern {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: 12px;
}
.blaetter-knopf {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; max-width: 46%;
  background: transparent; border: 1px solid var(--linie);
  border-radius: 999px; cursor: pointer; color: var(--tinte);
  font-family: var(--grotesk); font-size: 13px; font-weight: 600;
}
.blaetter-knopf span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (hover: hover) { .blaetter-knopf:hover { border-color: var(--tinte); background: var(--akzent-hell); } }
.blaetter-stand {
  font-family: var(--grotesk); font-size: 12px; letter-spacing: .06em;
  color: var(--leise); flex: 0 0 auto;
}

.werkbank h2 { font-size: 30px; letter-spacing: -.01em; }
.werkbank-unterzeile { color: var(--leise); margin-top: 4px; }
.werkbank-preis {
  font-family: var(--grotesk); font-size: 26px; font-weight: 600;
  margin: 20px 0 4px;
}
.werkbank-produkt { font-size: 14px; color: var(--leise); }

/* Formatwahl. Der eigentliche Kern des Angebots: verkauft wird das Motiv,
 * nicht das Papier. Vier Formen, ein Entwurf — und der Preis folgt sichtbar. */
.formatwahl { margin: 24px 0 0; padding: 0; border: 0; }
.formatwahl legend {
  padding: 0; font-family: var(--grotesk); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--leise);
  margin-bottom: 10px;
}
.formatwahl-reihe { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.formatknopf {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 64px; padding: 12px 14px; text-align: left;
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-klein); cursor: pointer;
  transition: border-color 160ms, background 160ms;
}
@media (hover: hover) { .formatknopf:hover { border-color: var(--tinte); } }
.formatknopf[aria-pressed="true"] {
  border-color: var(--akzent); background: var(--akzent-hell);
  box-shadow: 0 0 0 1px var(--akzent) inset;
}
.formatknopf b {
  font-family: var(--grotesk); font-size: 13px; font-weight: 600; color: var(--tinte);
}
.formatknopf span {
  font-size: 12px; color: var(--leise);
}
.formatknopf i {
  font-style: normal; font-family: var(--grotesk); font-size: 13px;
  font-weight: 600; color: var(--akzent);
}

.feldgruppe { margin-top: 24px; display: grid; gap: 16px; }
.feld label {
  display: block; font-family: var(--grotesk); font-size: 12px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--leise); margin-bottom: 6px;
}
.feld input, .feld select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-family: var(--text); font-size: 16px; color: var(--tinte);
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-klein);
}
.feld input:focus, .feld select:focus { border-color: var(--akzent); outline-offset: 1px; }
.feld-fuss {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 6px; font-size: 12px; color: var(--leise);
}
.feld-zaehler.knapp { color: var(--akzent); font-weight: 600; }
.feld-fehler {
  display: none; margin-top: 6px; font-size: 13px; color: var(--fehler);
}
.feld.fehlerhaft input { border-color: var(--fehler); }
.feld.fehlerhaft .feld-fehler { display: block; }

.werkbank-aktion { margin-top: 28px; display: grid; gap: 12px; }
.werkbank-fussnote { font-size: 13px; color: var(--leise); margin-top: 4px; }

/* ── Mini-Warenkorb ────────────────────────────────────────────────────── */
.korb-pille {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  transform: translate(-50%, 140%);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 12px 12px 12px 24px;
  background: var(--tinte); color: var(--papier);
  border-radius: 999px; box-shadow: var(--schatten-hoch);
  font-family: var(--grotesk); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: transform 380ms var(--kurve);
}
.korb-pille.sichtbar { transform: translate(-50%, 0); }
/* Bei 390 px brach die Beschriftung dreizeilig um und die Pille wurde zum
   Klotz. Eine Zeile, notfalls kuerzerer Text. */
.korb-pille > span { white-space: nowrap; }
@media (max-width: 460px) {
  .korb-pille { padding-left: 20px; gap: 10px; font-size: 13px; max-width: calc(100vw - 32px); }
}
.korb-pille-betrag {
  background: rgb(251 249 246 / .16); border-radius: 999px;
  padding: 8px 16px; min-height: 32px;
  display: inline-flex; align-items: center;
}

.flugbild {
  position: fixed; z-index: 70; pointer-events: none;
  border-radius: var(--r-klein); overflow: hidden;
  box-shadow: var(--schatten-hoch);
}

/* ── Zustände: leer, Fehler, Laden ─────────────────────────────────────── */
.zustand {
  border: 1px dashed var(--linie); border-radius: var(--r-gross);
  padding: 48px 32px; text-align: center; background: var(--flaeche);
}
.zustand h3 { font-size: 22px; margin-bottom: 8px; }
.zustand p { color: var(--leise); max-width: 46ch; margin: 0 auto 20px; }
.zustand-fehler { border-color: #E8C4BE; background: #FDF6F5; }
.zustand-fehler h3 { color: var(--fehler); }

.geruest { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
.geruest-karte {
  border: 1px solid var(--linie); border-radius: var(--r-gross);
  padding: 8px; background: var(--flaeche);
}
.geruest-blatt {
  aspect-ratio: 420 / 594; border-radius: var(--r-klein);
  background: linear-gradient(100deg, #F1ECE4 8%, #F8F5F0 24%, #F1ECE4 40%);
  background-size: 300% 100%;
  animation: schimmer 1800ms linear infinite;
}
.geruest-zeile {
  height: 12px; border-radius: 6px; margin: 14px 8px 0;
  background: linear-gradient(100deg, #F1ECE4 8%, #F8F5F0 24%, #F1ECE4 40%);
  background-size: 300% 100%; animation: schimmer 1800ms linear infinite;
}
.geruest-zeile.kurz { width: 52%; }
@keyframes schimmer { from { background-position: 140% 0; } to { background-position: -40% 0; } }

/* ── Fuß ───────────────────────────────────────────────────────────────── */
.fuss {
  margin-top: 88px; border-top: 1px solid var(--linie);
  padding: 48px 0 64px; background: var(--flaeche);
}
.fuss-inner {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.fuss h3 {
  font-family: var(--grotesk); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--leise);
  margin-bottom: 12px;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fuss a {
  color: var(--tinte); text-decoration: none; font-size: 15px;
  display: inline-flex; align-items: center; min-height: 44px;
}
@media (hover: hover) { .fuss a:hover { color: var(--akzent); } }
.fuss-schluss {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linie);
  font-size: 13px; color: var(--leise);
}

/* ── Bewegung ─────────────────────────────────────────────────────────────
 * Drei Regeln, an die sich alles hier haelt: Bewegung erklaert eine
 * Veraenderung, sie schmueckt nicht. Nichts Wichtiges haengt davon ab — jedes
 * Element ist auch ohne Animation im Endzustand sichtbar. Und alles endet,
 * nichts laeuft endlos.
 */

/* Karten steigen beim Hereinscrollen gestaffelt auf. Der Versatz kommt aus
   --n, das die Reihenfolge in der Zeile traegt — dadurch liest sich das
   Raster von links nach rechts auf, statt als Block zu erscheinen. */
.karte {
  opacity: 0;
  transform: translateY(14px);
}
.karte.da {
  opacity: 1;
  transform: none;
  transition:
    opacity 520ms var(--kurve) calc(var(--n, 0) * 55ms),
    transform 620ms var(--kurve) calc(var(--n, 0) * 55ms),
    border-color 200ms var(--kurve),
    box-shadow 260ms var(--kurve);
}
@media (hover: hover) {
  .karte.da:hover { transform: translateY(-4px); transition-delay: 0ms; }
  /* Das Blatt tritt beim Ueberfahren einen Schritt vor — der Rahmen bleibt
     stehen, nur der Druck darin bewegt sich. Das liest sich als Tiefe. */
  .karte .rahmen { transition: transform 420ms var(--kurve), box-shadow 420ms var(--kurve); }
  .karte.da:hover .rahmen {
    transform: scale(1.035);
    box-shadow:
      0 1px 0 rgb(255 255 255 / .10) inset,
      0 14px 24px -8px rgb(28 26 23 / .44),
      0 34px 56px -22px rgb(28 26 23 / .38);
  }
}

/* Der Spartenkopf blendet mit auf, damit der Abschnitt als Einheit ankommt. */
.sparte-kopf { opacity: 0; transform: translateY(10px); }
.sparte-kopf.da {
  opacity: 1; transform: none;
  transition: opacity 460ms var(--kurve), transform 520ms var(--kurve);
}

/* Wechselt das Motiv in der Werkbank, blendet das Blatt kurz durch. Ohne das
   springt beim Blaettern hart ein anderes Bild an dieselbe Stelle. */
.werkbank-blatt > .rahmen { animation: blatt-ein 380ms var(--kurve) both; }
@keyframes blatt-ein {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* Der eingetippte Name laesst die Vorschau kurz atmen — eine Ruecksmeldung,
   dass die Eingabe angekommen ist, ohne den Blick zu reissen. */
.passepartout { transition: transform 260ms var(--kurve); }
.passepartout.getippt { transform: scale(1.012); }

/* Formatknopf: der Preis ist die eigentliche Information, also bewegt er sich. */
.formatknopf i { transition: transform 240ms var(--kurve), color 200ms; }
.formatknopf[aria-pressed="true"] i { transform: scale(1.08); }

/* Die Warenkorb-Pille kommt federnd, weil sie eine Belohnung ist. */
.korb-pille { transition: transform 440ms cubic-bezier(.2, 1.35, .35, 1); }

@media (prefers-reduced-motion: reduce) {
  /* Ohne Bewegung muss trotzdem alles sichtbar sein — sonst bleibt die Seite
     leer statt nur ruhig. */
  .karte, .sparte-kopf { opacity: 1 !important; transform: none !important; }
  .werkbank-blatt > .rahmen { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── Warteliste ───────────────────────────────────────────────────────────
 * Der Umschlagpunkt im Testbetrieb. Die Seite muss zwei Dinge leisten: sagen,
 * was passiert (genau eine Nachricht), und zeigen, was der Besucher ausgewaehlt
 * hat — die Auswahl ist das Argument, nicht der Text daneben. */
.warteliste {
  display: grid; gap: 48px; align-items: start;
  grid-template-columns: minmax(0, 1fr) 380px;
}
@media (max-width: 900px) {
  .warteliste { grid-template-columns: 1fr; gap: 36px; }
}
.warteliste-vorspann {
  font-size: 18px; color: var(--leise); max-width: 56ch; margin-bottom: 28px;
}
.warteliste-merkmale {
  display: grid; gap: 12px; margin-bottom: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.warteliste-merkmale div {
  padding: 16px; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: var(--r-mittel);
}
.warteliste-merkmale b {
  display: block; font-family: var(--grotesk); font-size: 13px;
  font-weight: 600; color: var(--tinte); margin-bottom: 4px;
}
.warteliste-merkmale span { font-size: 14px; color: var(--leise); line-height: 1.45; }

.warteliste-form { display: grid; gap: 20px; max-width: 520px; }
.feld-freiwillig {
  font-weight: 400; text-transform: none; letter-spacing: 0;
  color: #A39C90; margin-left: 6px;
}
.zustimmung {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; min-height: 44px; cursor: pointer;
  border: 1px solid var(--linie); border-radius: var(--r-mittel);
  background: var(--flaeche);
}
.zustimmung:has(input:checked) { border-color: var(--akzent); background: var(--akzent-hell); }
.zustimmung input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--akzent); }
.zustimmung span { font-size: 14px; line-height: 1.5; color: #3A362F; }
.warteliste-form .feld-fehler { display: none; }

.warteliste-danke {
  padding: 32px; border: 1px solid var(--linie); border-radius: var(--r-gross);
  background: var(--flaeche); max-width: 520px;
}
.warteliste-danke h2 { font-size: 28px; margin-bottom: 8px; }
.warteliste-danke p { color: var(--leise); margin-bottom: 20px; }

.warteliste-auswahl {
  position: sticky; top: 96px;
  padding: 24px; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: var(--r-gross);
}
.warteliste-auswahl h2 {
  font-family: var(--grotesk); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--leise);
  margin-bottom: 16px;
}
.auswahl-zeile { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.auswahl-zeile:last-child { border-bottom: none; }
.auswahl-blatt {
  flex: 0 0 56px; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--linie); background: var(--papier);
}
.auswahl-blatt svg { width: 100%; height: auto; display: block; }
.auswahl-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.auswahl-text b { font-family: var(--serife); font-size: 16px; font-weight: 500; }
.auswahl-text span {
  font-size: 13px; color: var(--leise);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auswahl-text i {
  font-style: normal; font-family: var(--grotesk); font-size: 14px;
  font-weight: 600; margin-top: 2px;
}
.warteliste-leerhinweis { font-size: 14px; color: var(--leise); line-height: 1.5; }

/* ═══ Bestandsseiten ══════════════════════════════════════════════════════
 * Warenkorb, Kasse, Bestaetigung und die vier Rechtsseiten benutzen die
 * Klassennamen der ersten Fassung. Statt sie doppelt zu pflegen erben sie hier
 * dieselbe Palette und Typografie — eine Stildatei, ein Auftritt.
 */
header:not(.kopf) {
  position: sticky; top: 0; z-index: 40;
  background: rgb(251 249 246 / .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.header-content {
  width: min(1240px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.logo {
  font-family: var(--serife); font-size: 22px; font-weight: 600;
  letter-spacing: -.01em; color: var(--tinte); text-decoration: none;
}
.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  font-family: var(--grotesk); font-size: 13px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--leise);
  text-decoration: none; padding: 12px; min-height: 44px;
  display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-klein);
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--tinte); background: var(--akzent-hell); }
}
@media (max-width: 860px) { .nav-links li:not(:last-child) { display: none; } }

.cart-icon { border: 1px solid var(--linie); border-radius: 999px; }
.cart-count-badge {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--akzent); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}

main {
  width: min(1240px, 100% - 48px); margin-inline: auto;
  padding: 48px 0 24px;
}
.page-title {
  font-family: var(--serife); font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 500; letter-spacing: -.02em; margin: 0 0 28px;
}
.legal-page { max-width: 72ch; }
.legal-page h2 { font-size: 24px; margin: 36px 0 10px; }
.legal-page p, .legal-page li { color: #3A362F; }

.placeholder-box {
  background: var(--hinweis-bg); color: var(--hinweis-fg);
  border: 1px solid #EBD9B4; border-left: 4px solid #C79A2E;
  border-radius: var(--r-mittel); padding: 16px 20px; margin: 16px 0;
}

.btn {
  font-family: var(--grotesk); font-weight: 600; font-size: 15px;
  line-height: 20px; min-height: 56px; padding: 16px 28px;
  border: 1px solid transparent; border-radius: var(--r-mittel);
  cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; text-decoration: none;
  transition: background 180ms, color 180ms, border-color 180ms, transform 120ms;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--tinte); color: var(--papier); }
@media (hover: hover) { .btn-primary:hover { background: #000; color: var(--papier); } }
.btn-secondary { background: transparent; color: var(--tinte); border-color: var(--linie); }
@media (hover: hover) {
  .btn-secondary:hover { border-color: var(--tinte); background: var(--akzent-hell); color: var(--tinte); }
}
.btn:disabled { opacity: .45; cursor: not-allowed; }

.product-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}
.product-price-small { font-family: var(--grotesk); font-weight: 600; }

.summary-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--linie);
}
.summary-row.total {
  border-bottom: none; border-top: 2px solid var(--tinte);
  margin-top: 8px; padding-top: 16px;
  font-family: var(--grotesk); font-size: 19px; font-weight: 700;
}
.qty-input {
  min-height: 44px; width: 72px; padding: 10px 12px; text-align: center;
  font-family: var(--text); font-size: 16px;
  border: 1px solid var(--linie); border-radius: var(--r-klein);
}
.cart-item-remove {
  min-height: 44px; padding: 10px 16px;
  background: transparent; border: 1px solid var(--linie);
  border-radius: var(--r-klein); color: var(--fehler);
  font-family: var(--grotesk); font-size: 13px; font-weight: 600; cursor: pointer;
}
@media (hover: hover) { .cart-item-remove:hover { border-color: var(--fehler); background: #FDF6F5; } }

.checkout-form { max-width: 640px; display: grid; gap: 20px; }
.form-group label {
  display: block; font-family: var(--grotesk); font-size: 12px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--leise); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-family: var(--text); font-size: 16px; color: var(--tinte);
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-klein);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--akzent); outline-offset: 1px;
}
.required { color: var(--akzent); }
.form-error { margin-top: 6px; font-size: 13px; color: var(--fehler); }
.form-group:has(.form-error:not(:empty)) input { border-color: var(--fehler); }

.payment-options { display: grid; gap: 12px; }
.payment-option {
  display: flex; align-items: flex-start; gap: 12px;
  min-height: 56px; padding: 16px;
  border: 1px solid var(--linie); border-radius: var(--r-mittel);
  background: var(--flaeche); cursor: pointer;
}
@media (hover: hover) { .payment-option:hover { border-color: var(--tinte); } }
.payment-option:has(input:checked) { border-color: var(--akzent); background: var(--akzent-hell); }

.confirmation-container { max-width: 720px; }
.order-ref-label {
  font-family: var(--grotesk); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--leise);
}
.order-ref {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
  font-size: clamp(24px, 4vw, 34px); font-weight: 600;
  letter-spacing: .06em; color: var(--tinte); margin: 4px 0 24px;
}

footer:not(.fuss) {
  margin-top: 88px; border-top: 1px solid var(--linie);
  padding: 48px 0 64px; background: var(--flaeche);
}
.footer-content { width: min(1240px, 100% - 48px); margin-inline: auto; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a {
  color: var(--tinte); text-decoration: none; font-size: 15px;
  display: inline-flex; align-items: center; min-height: 44px;
}
@media (hover: hover) { .footer-links a:hover { color: var(--akzent); } }

@media (max-width: 640px) {
  .header-content, main, .footer-content { width: calc(100% - 32px); }
}
