/* Gestaltungs-Tokens Weingut Ermarth-Bogert. Verbindlich ist Gerds CD (Agentur Schönski):
   Beige #F1EBE7 (Basisweine), Greige #DBCDC3 (Gutsweine), Anthrazit #454243 (Premiumweine), Gold #D2AA76 (Akzent).
   Schriften: Miracle für große Überschriften, Barlow für Text, Farmhouse nur für Unterschrift und Zierzeilen.
   Gold nie als Textfarbe auf Beige oder Greige. Fließtext mindestens 18 px. Knöpfe rechteckig (4 px).
   Richtung B "Anthrazit-Bühne", freigegeben 22.10.2026 (docs/entwuerfe). */
@font-face { font-family: "Miracle"; src: url("/fonts/Miracle.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Farmhouse"; src: url("/fonts/FarmhouseRegular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --basis: #F1EBE7;
  --guts: #DBCDC3;
  --premium: #454243;
  --tief: #2E2C2B;
  --gold: #D2AA76;
  --gold-dunkel: #8A6A43;
  --hell: #F7F3F0;

  --text: #34312F;
  --text-2: #5E5955;
  --text-hell: #E7DFD8;
  --text-hell-2: #C9BFB6;
  --linie: rgba(69, 66, 67, 0.18);
  --linie-hell: rgba(241, 235, 231, 0.2);
  --rand-feld: #8F8780;

  --schrift-titel: "Miracle", Georgia, serif;
  --schrift-text: "Barlow", "Segoe UI", system-ui, sans-serif;
  --schrift-zier: "Farmhouse", cursive;

  --t-hero: clamp(3.25rem, 1.2rem + 6.2vw, 7rem);
  --t-1: clamp(2.75rem, 1.4rem + 4.4vw, 5.25rem);
  --t-2: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem);
  --t-3: clamp(1.625rem, 1.3rem + 0.9vw, 2.125rem);
  --t-lead: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);
  --t-text: 1.1875rem;
  --t-klein: 1.125rem;

  --radius: 4px;
  --radius-karte: 8px;
  --rand: clamp(20px, 5vw, 72px);
  --breite: 1320px;
  --kopf-hoehe: 96px;
  --abstand: clamp(88px, 10vw, 140px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Grundlagen: Satz, Fokus, Hilfsklassen, Einblendungen. */
*, *::before, *::after { box-sizing: border-box; }
/* Die Kopfzeile ist fest: Fokus und Sprungziele landen darunter, nicht verdeckt (WCAG 2.4.11). */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
body {
  margin: 0; background: var(--basis); color: var(--text);
  font-family: var(--schrift-text); font-size: var(--t-text); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 400; font-style: normal; line-height: 1.04; letter-spacing: 0.005em; text-wrap: balance; hyphens: none; overflow-wrap: break-word; }
img, svg, video, canvas { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
address { font-style: normal; }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--premium); outline-offset: 3px; border-radius: var(--radius); }
[data-thema="dunkel"] :focus-visible, .fuss :focus-visible, .summe :focus-visible { outline-color: var(--gold); }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Telefonlinks im Text: für die Zielgruppe 55+ ebenfalls eine volle Klickfläche (44 px). */
main a[href^="tel:"]:not(.knopf):not(.tel-gross) { display: inline-flex; align-items: center; min-height: 44px; }
.sprung { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--premium); color: var(--basis); border-radius: var(--radius); font-weight: 700; }
.sprung:focus { top: 12px; }

.rahmen { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.t-hero { font-size: var(--t-hero); }
.t-1 { font-size: var(--t-1); }
.t-2 { font-size: var(--t-2); }
.t-3 { font-size: var(--t-3); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--text-2); max-width: 34em; }
.zeile { font: 700 1.125rem/1.2 var(--schrift-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
[data-thema="dunkel"] .zeile { color: var(--gold); }
.zier { font-family: var(--schrift-zier); font-size: clamp(1.9rem, 1.6rem + 1vw, 2.5rem); line-height: 1.2; color: var(--gold-dunkel); }
.wort--hervor { color: var(--gold-dunkel); }
[data-thema="dunkel"] .wort--hervor { color: var(--gold); }
.klein { font-size: var(--t-klein); color: var(--text-2); }

/* Einblendungen: nur mit JS, nur ohne reduzierte Bewegung. Ohne JS ist alles sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js .zeige { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .zeige.ist-sichtbar { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .nav, .nav * { transition: none !important; }
}

/* Bausteine aller Seiten: Knöpfe, Kopfzeile mit Menü, Fuß mit Turm und Rosette, Mengenwahl, Hinweis. */

/* Knöpfe: rechteckig, groß, klar beschriftet */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px;
  border: 2px solid transparent; border-radius: var(--radius); font: 700 1.125rem/1.1 var(--schrift-text);
  text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.knopf .icon { width: 22px; height: 22px; flex: none; }
.knopf--dunkel { background: var(--premium); color: var(--basis); }
.knopf--dunkel:hover { background: var(--tief); }
.knopf--gold { background: var(--gold); color: var(--tief); }
.knopf--gold:hover { background: #DDB988; }
.knopf--linie { border-color: currentColor; background: transparent; }
.knopf--breit { width: 100%; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Kopfzeile: helles Glas über der Szene, Telefon und Warenkorb immer sichtbar */
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--rand); pointer-events: none; }
.kopf__innen {
  position: relative; max-width: var(--breite); margin: 0 auto; display: flex; align-items: center; gap: 20px;
  padding: 10px 12px 10px 22px; border-radius: 6px; pointer-events: auto;
}
/* Glas auf ::before: backdrop-filter am Element selbst machte es zum Bezugsrahmen des festen Menüs (Morgenlese-Falle). */
.kopf__innen::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(241, 235, 231, 0.9); backdrop-filter: blur(14px); box-shadow: 0 10px 40px -24px rgba(46, 44, 43, 0.5); }
.marke { flex: none; display: flex; align-items: center; min-height: 44px; color: var(--tief); text-decoration: none; }
.marke__quer { height: 28px; width: auto; }
.marke__klein, .marke__mini { display: none; height: 38px; width: auto; }
.marke__mini { height: 40px; }
.nav { margin-left: auto; }
.nav__liste { display: flex; gap: 22px; list-style: none; padding: 0; font: 500 1.125rem/1 var(--schrift-text); }
.nav__liste a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 10px 0; text-decoration: none; border-bottom: 2px solid transparent; }
.nav__liste a[aria-current="page"], .nav__liste a:hover { border-color: var(--gold); }
.kopf__tel { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 44px; padding: 0 6px; font: 700 1.125rem/1 var(--schrift-text); text-decoration: none; color: var(--premium); white-space: nowrap; }
.kopf__tel .icon { width: 22px; height: 22px; }
.korb { display: flex; align-items: center; justify-content: center; min-width: 44px; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--radius); background: var(--premium); color: var(--basis); font: 700 1.125rem/1 var(--schrift-text); text-decoration: none; white-space: nowrap; }
.korb .icon { width: 22px; height: 22px; }
.korb__zahl { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--gold); color: var(--tief); font-size: 1rem; }
.korb__zahl:empty { display: none; }
.menue { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 2px solid var(--premium); border-radius: var(--radius); background: none; color: var(--premium); font: 700 1.125rem/1 var(--schrift-text); cursor: pointer; }
.menue .icon { width: 22px; height: 22px; }
/* Telefon, Warenkorb und Menü behalten ihre Breite; Platz wird über die Stufen unten geschaffen (ln-12, Kopfzeile 360 bis 1240 px). */
.kopf__tel, .korb, .menue, .kopf .icon { flex: none; }

/* Ab 1340 px abwärts klappt die Navigation ein: darüber passen Logo, fünf Wörter, Telefon und Warenkorb mit dreistelliger Zahl (gemessen: 1193 px Inhalt, bei 1341 px stehen 1207 px zur Verfügung). */
@media (max-width: 1340px) {
  .menue { display: inline-flex; }
  .kopf__tel { margin-left: auto; }
  /* Nur die Nummer ausblenden: „anrufen“ (.sr) bleibt der Name für Screenreader (Lighthouse link-name). */
  .kopf__tel span:not(.sr) { display: none; }
  .nav { position: fixed; inset: 0; z-index: -2; margin: 0; padding: calc(var(--kopf-hoehe) + 24px) var(--rand) 40px; background: var(--basis); visibility: hidden; opacity: 0; transition: opacity 0.25s, visibility 0.25s; pointer-events: auto; overflow-y: auto; }
  .ist-menue-offen .nav { visibility: visible; opacity: 1; }
  .nav__liste { flex-direction: column; gap: 6px; font: 400 2.5rem/1.1 var(--schrift-titel); }
  .nav__liste a { justify-content: flex-start; padding: 12px 0; }
}
@media (max-width: 1000px) { .marke__quer { display: none; } .marke__klein { display: block; } }
@media (max-width: 760px) {
  .kopf { padding: 10px 12px; }
  .kopf__innen { gap: 8px; padding: 8px 8px 8px 12px; }
  .marke__quer { display: none; }
  .marke__klein { display: block; }
  .korb { padding: 0 12px; }
  .korb__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menue { padding: 0 12px; }
}
/* Schmale Handys: Platz für Telefon, Warenkorb mit Zahl und „Menü“; beim offenen Menü weicht der Warenkorb für „Schließen“. */
@media (max-width: 420px) {
  .kopf { padding: 8px; }
  .kopf__innen { gap: 6px; padding: 6px 6px 6px 10px; }
  .marke__klein { height: 30px; }
  .menue .icon { display: none; }
  .korb { gap: 6px; padding: 0 10px; }
  .ist-menue-offen .korb { display: none; }
}
/* Unter 360 px (und bei 400 % Zoom) trägt nur die Rosette die Marke. */
@media (max-width: 359px) { .marke__klein { display: none; } .marke__mini { display: block; } }

/* Mengenwahl: groß genug für jeden Finger */
.menge { display: inline-flex; align-items: center; height: 56px; border: 2px solid var(--premium); border-radius: var(--radius); background: var(--hell); }
.menge button { width: 48px; height: 100%; border: 0; background: none; color: var(--premium); font: 700 1.625rem/1 var(--schrift-text); cursor: pointer; }
.menge input { width: 44px; height: 100%; border: 0; background: none; text-align: center; font: 700 1.25rem/1 var(--schrift-text); -moz-appearance: textfield; }
.menge input::-webkit-outer-spin-button, .menge input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Hinweis (Live-Bereich), z. B. "In den Warenkorb gelegt" */
.hinweis { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); max-width: min(92vw, 520px); padding: 16px 22px; border-radius: 6px; background: var(--tief); color: var(--basis); font-size: 1.125rem; opacity: 0; pointer-events: none; }
.hinweis:not(:empty) { opacity: 1; }

/* Fuß: Anthrazit, Turm zeichnet sich in Gold auf, Rosette geht über ihm auf */
.fuss { --zeile: 44px; position: relative; background: var(--tief); color: var(--basis); padding-top: 110px; overflow: clip; }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.fuss__titel { margin: 0; height: var(--zeile); font: 700 1.125rem/var(--zeile) var(--schrift-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
/* Alle Zeilen im Fuß sind genau eine Zeile (44 px, die Klickfläche) hoch, Überschrift und Siegel ein Vielfaches davon:
   dadurch liegen die Zeilen aller Spalten auf denselben Linien. */
.fuss address, .fuss p, .fuss li { margin: 0; font-size: 1.125rem; line-height: var(--zeile); color: var(--text-hell); }
.fuss ul { list-style: none; padding: 0; }
.fuss a { text-decoration: none; }
/* Klickflächen 55+: jeder Link im Fuß mindestens 44 px hoch. */
.fuss li a, .fuss p a, .fuss__unten a, .textlink { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.fuss a:hover { text-decoration: underline; }
.fuss__logo { display: block; height: calc(var(--zeile) * 3); width: auto; margin: 0; color: var(--basis); }
.fuss__welt { position: relative; height: 340px; margin-top: 70px; color: var(--gold); }
.fuss__turm { position: absolute; left: 50%; bottom: 0; width: min(1100px, 96vw); height: auto; transform: translateX(-50%); }
.js .fuss__turm { clip-path: inset(0 100% 0 0); }
.js .fuss__welt.ist-sichtbar .fuss__turm { clip-path: inset(0 0 0 0); transition: clip-path 3.4s cubic-bezier(0.6, 0, 0.2, 1); }
.fuss__urheber { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.fuss__urheber a { gap: 8px; }
.fuss__urheber--links { align-items: flex-start; text-align: left; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding-block: 22px 30px; border-top: 1px solid var(--linie-hell); font-size: 1.125rem; color: var(--text-hell-2); }
@media (max-width: 900px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__welt { height: 200px; } }
@media (max-width: 560px) { .fuss__urheber { align-items: flex-start; text-align: left; } }
@media (max-width: 560px) { .fuss__raster { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .js .fuss__turm { clip-path: none; } }

.fuss__widerruf { margin-top: 14px; color: var(--basis); }

/* Startseite: Hero (ruhig, ohne Bewegung), Turm-Bühne, drei Linien, Familie, Besuch. */

/* Hero: Gerds Foto vom Turm im Herbstlicht über die ganze Fläche, Text unten links auf dunkler werdendem Grund. */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; overflow: clip; background: var(--tief); color: var(--basis); }
/* Das Bildfeld ist breiter als der Bildschirm und rechts abgeschnitten: so steht der Turm rechts der Mitte, der Text links daneben. */
.hero__bild { position: absolute; inset: 0 auto 0 0; width: 150%; }
.hero__foto, .hero__foto img { display: block; width: 100%; height: 100%; }
.hero__foto img { object-fit: cover; object-position: 50% 58%; }
.hero__schleier { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(34, 30, 27, 0.82) 0%, rgba(34, 30, 27, 0.5) 34%, rgba(34, 30, 27, 0) 62%), linear-gradient(90deg, rgba(34, 30, 27, 0.5) 0%, rgba(34, 30, 27, 0) 52%); }
.hero__text { position: relative; width: 100%; padding-bottom: clamp(40px, 9svh, 96px); }
.hero__titel { max-width: 9em; font-size: var(--t-1); color: var(--basis); }
.hero__lead { max-width: 28em; margin-top: 22px; color: var(--text-hell); }
.hero__text .knoepfe { margin-top: 32px; }
.hero__text .knopf--linie { color: var(--basis); }
.hero :focus-visible { outline-color: var(--gold); }
/* Absender über dem Slogan: Name in Versalien, Gold als Linie. */
.hero__absender { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; font-family: var(--schrift-text); font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.4375rem); font-weight: 500; letter-spacing: 0.2em; line-height: 1.2; text-transform: uppercase; color: var(--basis); }
.hero__absender::before { content: ""; flex: none; width: 56px; height: 2px; background: var(--gold); }
/* Am Handy steht das Bild oben, der Text darunter: der Turm bleibt frei, das Bild blendet unten in den Grund. */
@media (max-width: 760px) {
  .hero__bild { inset: 0 0 auto 0; width: 100%; height: 56%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero__foto img { object-position: 45% 50%; }
  .hero__schleier { background: linear-gradient(0deg, rgba(34, 30, 27, 0.6) 0%, rgba(34, 30, 27, 0) 40%); }
}

/* Bühne Anthrazit: Turm */
.buehne { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 92vh; background: var(--premium); color: var(--basis); }
.buehne__bild { position: relative; overflow: clip; min-height: 60vh; }
.buehne__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;  }
.seite-start .buehne__bild img { object-position: 50% 52%; }
.buehne__karte { position: absolute; left: 28px; bottom: 28px; max-width: 310px; padding: 18px 22px; border-radius: 6px; background: rgba(241, 235, 231, 0.92); color: var(--text); font-size: 1.125rem; line-height: 1.45; backdrop-filter: blur(8px); }
.buehne__karte strong { display: block; margin-bottom: 6px; font: 400 1.875rem/1 var(--schrift-titel); color: var(--tief); }
.buehne__wort { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 110px); }
.buehne__wort { container-type: inline-size; }
.buehne__wort h2 { margin: 18px 0 22px; font-size: min(var(--t-1), 11cqi); }
.buehne__wort p { max-width: 30em; color: var(--text-hell); }
.buehne__wort .knopf { margin-top: 34px; align-self: flex-start; color: var(--basis); }
@media (max-width: 900px) { .buehne { grid-template-columns: minmax(0, 1fr); } .buehne__wort { padding: 56px var(--rand); } }

/* Drei Linien als Farbfelder; die Flasche steht auf ihrer eigenen Bühne */
.linien__kopf { padding: var(--abstand) 0; text-align: center; }
.linien__kopf h2 { max-width: 14em; margin: 16px auto 18px; }
.linien__kopf .lead { margin: 0 auto; }
.linien { display: grid; grid-template-columns: repeat(3, 1fr); }
.linie { display: flex; flex-direction: column; padding: 56px clamp(28px, 3vw, 52px) 52px; text-decoration: none; }
.linie--basis { background: var(--basis); }
.linie--guts { background: var(--guts); }
.linie--premium { background: var(--premium); color: var(--basis); }
.linie__buehne { height: 400px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 36px; border-bottom: 1px solid var(--linie); }
.linie--premium .linie__buehne { border-color: var(--linie-hell); }
.linie__buehne img { height: 380px; width: auto; filter: drop-shadow(0 26px 18px rgba(46, 44, 43, 0.22)); }
.linie__etikett { display: grid; place-items: center; width: 170px; height: 320px; border: 2px solid var(--guts); border-radius: 8px 8px 4px 4px; background: var(--hell); font: 400 2.125rem/1 var(--schrift-titel); color: var(--premium); }
.linie h3 { font-size: clamp(2.5rem, 1.8rem + 1.6vw, 3.5rem); margin-bottom: 14px; }
.linie p { max-width: 20em; }
.linie__preis { margin-top: auto; padding-top: 30px; font: 700 1.25rem/1.3 var(--schrift-text); }
.linie__preis small { display: block; font-weight: 400; font-size: 1.125rem; }
.linie .knopf { margin-top: 22px; align-self: flex-start; }
.linie--premium .knopf { background: var(--gold); color: var(--tief); }
@media (prefers-reduced-motion: no-preference) {
  .linie__buehne img { transition: transform 0.5s var(--ease); }
  .linie:hover .linie__buehne img { transform: translateY(-10px); }
}
@media (max-width: 900px) { .linien { grid-template-columns: 1fr; } .linie__buehne { height: 320px; } .linie__buehne img { height: 300px; } }

/* Familie: Vollbild mit hellem Glas */
.familie { position: relative; min-height: 96vh; display: flex; align-items: flex-end; }
.familie > img, .familie picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.familie__glas { position: relative; max-width: 560px; margin: 0 var(--rand) 8vh; padding: 38px 40px; border-radius: var(--radius-karte); background: rgba(241, 235, 231, 0.92); backdrop-filter: blur(14px); }
.familie__glas h2 { margin: 12px 0 16px; }
.familie__glas .zier { margin-top: 18px; }
/* Mobil-Review: Am Handy verdeckte die Karte fast das ganze Familienfoto. Jetzt Foto oben, Karte darunter. */
@media (max-width: 760px) {
  .familie { display: block; min-height: 0; padding-bottom: 56px; background: var(--basis); }
  .familie picture { display: block; }
  .familie > img, .familie picture img { position: static; height: 58vh; height: 58svh; object-position: 50% 70%; }
  .familie__glas { margin: -48px var(--rand) 0; padding: 28px 24px; }
}

/* Besuch und Termine */
.besuch { padding: var(--abstand) 0; }
.besuch__raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.besuch__bild { overflow: clip; aspect-ratio: 4 / 3; border-radius: 6px; }
.besuch__bild img { width: 100%; height: 100%; object-fit: cover; }
.besuch h2 { margin: 16px 0 18px; }
.tel-gross { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin: 28px 0 8px; font: 700 1.875rem/1.2 var(--schrift-text); color: var(--tief); text-decoration: none; }
.tel-gross .icon { width: 30px; height: 30px; }
.termine { list-style: none; padding: 0; margin-top: 44px; border-top: 1px solid var(--linie); }
.termine li { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.termine time { font-weight: 700; color: var(--premium); }
.termine--breit li { padding: 28px 0; }
.termine--breit time { font-size: 1.25rem; line-height: 1.3; }
.termine__text h3 { margin: 0 0 6px; font: 400 1.625rem/1.15 var(--schrift-titel); color: var(--tief); }
.termine__ort { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: var(--t-klein); color: var(--text-2); }
.termine__ort .icon { width: 18px; height: 18px; flex: none; color: var(--gold-dunkel); }
.termine__text p { margin: 0 0 10px; }
.termine__text .textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.termine__text .textlink .icon { width: 18px; height: 18px; }
@media (max-width: 900px) { .besuch__raster { grid-template-columns: 1fr; } .termine li { grid-template-columns: 1fr; gap: 2px; } }

/* Unterseiten: Szenenkopf mit echtem Foto, Zeitleiste, dunkles Band, Rechtstexte, 404. */

.szenenkopf { position: relative; min-height: 74vh; display: flex; align-items: flex-end; padding-top: 120px; color: var(--basis); }
.szenenkopf--kurz { min-height: 56vh; }
.szenenkopf > img, .szenenkopf picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.szenenkopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46, 44, 43, 0.5) 0%, rgba(46, 44, 43, 0.3) 45%, rgba(46, 44, 43, 0) 70%), linear-gradient(0deg, rgba(46, 44, 43, 0.9) 0%, rgba(46, 44, 43, 0.58) 55%, rgba(46, 44, 43, 0.22) 100%); }
.szenenkopf .rahmen { position: relative; z-index: 1; width: 100%; padding-bottom: 70px; }
.szenenkopf h1 { max-width: 12em; margin: 14px 0 18px; }
.szenenkopf .lead, .szenenkopf .zeile { color: #EFE7E0; }

.zeitleiste { padding: var(--abstand) 0; }
.zeit { display: grid; grid-template-columns: 220px 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 60px 0; border-top: 1px solid var(--linie); }
.zeit__jahr { font: 400 clamp(3.25rem, 2.2rem + 3vw, 5.25rem)/1 var(--schrift-titel); color: var(--premium); }
.zeit img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.zeit--historisch img { filter: sepia(0.25); }
.zeit h2 { font-size: var(--t-3); margin-bottom: 14px; }
.zeit p { color: var(--text-2); }
@media (max-width: 900px) { .zeit { grid-template-columns: 1fr; } }

.dunkel-band { padding: var(--abstand) 0; background: var(--premium); color: var(--basis); }
.dunkel-band .lead { color: var(--text-hell); }
.dunkel-band h2 { margin: 14px 0 18px; }
.natur__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.natur__bild { aspect-ratio: 3 / 2; overflow: clip; border-radius: 4px; }
.natur__bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; list-style: none; padding: 0; }
.drei li { padding-top: 22px; border-top: 2px solid var(--gold); }
.drei h3 { font-size: 2rem; margin-bottom: 10px; }
.drei p { color: var(--text-hell); }
[data-thema="hell"] .drei p { color: inherit; }
.drei--zwei { grid-template-columns: repeat(2, 1fr); gap: 50px; }
@media (max-width: 900px) { .drei { grid-template-columns: 1fr; } .natur__kopf { grid-template-columns: minmax(0, 1fr); } }

.raum__text { margin-top: 24px; }
.raum__text p + p { margin-top: 14px; }

/* Kontakt (27.10.2026): links die direkten Wege als Liste, rechts das Formular, darunter die gezeichnete Anfahrtskarte. */
.kontakt { padding: var(--abstand) 0; }
.kontakt__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.wege { list-style: none; margin: 22px 0 0; padding: 0; }
.wege li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--linie); }
.wege li:last-child { border-bottom: 1px solid var(--linie); }
.wege__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--premium); color: var(--gold); }
.wege__icon .icon { width: 28px; height: 28px; }
.wege h2 { margin: 0 0 4px; font: 700 1.125rem/1.3 var(--schrift-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.wege .tel-gross { margin: 0; }
.wege__link { display: inline-flex; align-items: center; min-height: 48px; font: 700 clamp(1.25rem, 1rem + 1vw, 1.625rem)/1.2 var(--schrift-text); color: var(--tief); overflow-wrap: anywhere; }
.wege address { font-style: normal; font-size: 1.375rem; line-height: 1.45; color: var(--tief); }
.wege .klein { margin-top: 10px; }
/* Newsletter (04.11.2026): unter den direkten Wegen, gleicher Aufbau wie ein Listenpunkt. Das Winestro-Formular kommt erst nach dem Klick. */
.newsletter { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--linie); }
.newsletter h2 { margin: 0 0 8px; font: 700 1.125rem/1.3 var(--schrift-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.newsletter p { margin: 0 0 10px; }
.newsletter .knopf { margin-top: 10px; }
.newsletter__hinweis { margin-top: 12px; color: var(--text-2); }
.newsletter__rahmen { margin-top: 18px; }
.newsletter [hidden] { display: none; }
.newsletter__rahmen iframe { display: block; width: 100%; height: 600px; border: 0; border-radius: var(--radius-karte); background: #F4F4F4; }
@media (max-width: 560px) { .newsletter { grid-template-columns: minmax(0, 1fr); } .newsletter .wege__icon { display: none; } }
.kontakt__formular { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-karte); background: #fff; border-top: 4px solid var(--gold); box-shadow: 0 24px 60px -30px rgba(46, 44, 43, 0.45); }
.kontakt__formular .t-3 { margin: 10px 0 24px; }
.kontakt__formular .felder { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.kontakt__formular .feld input, .kontakt__formular .feld textarea { width: 100%; min-width: 0; }
@media (max-width: 900px) { .kontakt__formular .felder { grid-template-columns: minmax(0, 1fr); } }
.kontakt__formular .feld--breit { margin-bottom: 18px; }
.kontakt__formular textarea { min-height: 170px; resize: vertical; font-family: inherit; line-height: 1.5; }
.feld__frei { font-weight: 400; color: var(--text-2); font-size: 1.125rem; }
.kontakt__falle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.kontakt__falle input { width: 1px; min-height: 1px; height: 1px; padding: 0; border: 0; }
.kontakt__ergebnis { padding: 24px 0; outline: none; }
.kontakt__ergebnis .lead { margin-bottom: 10px; }
.kontakt__ergebnis .knopf { margin-top: 22px; }
.kontakt__haken { display: block; width: 56px; height: 56px; margin-bottom: 18px; color: var(--gold-dunkel); }
.kontakt__haken .icon { width: 56px; height: 56px; }

.anfahrt { padding: var(--abstand) 0; background: var(--premium); color: var(--basis); }
.anfahrt__raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.anfahrt .lead { color: var(--text-hell); }
.anfahrt h2 { margin: 14px 0 18px; }
.anfahrt address { margin: 26px 0 0; font-style: normal; font-size: 1.5rem; line-height: 1.45; }
.anfahrt .knopf--linie { color: var(--basis); }
/* geo:-Links öffnen am Rechner meist nichts: nur auf Geräten mit Fingerbedienung zeigen. */
@media (hover: hover) and (pointer: fine) { .knopf--geo { display: none; } }
.anfahrt__hinweis { margin-top: 22px; color: var(--text-hell-2); }
.anfahrt__karte { margin: 0; }
.karte { display: block; width: 100%; height: auto; border-radius: var(--radius-karte); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); }
.anfahrt__karte figcaption { margin-top: 12px; font-size: 1.125rem; color: var(--text-hell-2); }
.anfahrt__karte figcaption a { color: var(--text-hell); text-decoration: underline; text-underline-offset: 3px; }
.k-grund { fill: #EAE2DB; }
.k-haus { fill: #D6CABF; }
.k-weg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.k-weg--f path { stroke: #DCD2C8; stroke-width: 2; }
.k-weg--s path { stroke: #F6F1EC; stroke-width: 3; }
.k-weg--o path { stroke: #FBF8F5; stroke-width: 6; }
.k-weg--n path { stroke: #FBF8F5; stroke-width: 12; }
.k-weg--h path { stroke: #F3E3C7; stroke-width: 17; }
.k-weg--a path { stroke: #D2AA76; stroke-width: 15; }
.k-schild rect { fill: #454243; }
.k-schild--a rect { fill: #8A6A43; }
.k-schild text { fill: #F1EBE7; font: 700 21px var(--schrift-text); }
.k-ort { fill: #5E5955; font: 400 52px var(--schrift-titel); paint-order: stroke; stroke: #EAE2DB; stroke-width: 10px; stroke-linejoin: round; }
.k-ring { fill: rgba(210, 170, 118, 0.35); }
.k-pin path { fill: #454243; stroke: #F1EBE7; stroke-width: 4; }
.k-pinkern { fill: #D2AA76; }
.k-adresse { fill: #2E2C2B; font: 700 34px var(--schrift-text); paint-order: stroke; stroke: #EAE2DB; stroke-width: 9px; stroke-linejoin: round; }
.k-adresse--klein { font: 500 28px var(--schrift-text); }
@media (max-width: 900px) {
  .kontakt__raster, .anfahrt__raster { grid-template-columns: minmax(0, 1fr); }
  .k-adresse { font-size: 42px; }
  .k-adresse--klein { font-size: 36px; }
  .k-ort { font-size: 62px; }
  .k-schild text { font-size: 26px; }
}

.textseite { padding: calc(var(--kopf-hoehe) + 60px) 0 var(--abstand); }
.textseite h1 { margin-bottom: 30px; font-size: min(var(--t-1), 8.2vw); }
.textseite__inhalt { max-width: 46em; }
.textseite__inhalt h2 { font-size: var(--t-3); margin: 40px 0 12px; }
.textseite__inhalt p, .textseite__inhalt li { margin-top: 12px; }
.platzhalter { padding: 22px 24px; border: 2px dashed var(--gold-dunkel); border-radius: 6px; background: var(--hell); color: var(--text-2); }

/* Shop: Weinliste, Weinseite, Warenkorb, Kasse (Gestaltung aus den freigegebenen Entwürfen, docs/entwuerfe).
   Die Seiten selbst baut der Server zur Laufzeit (Tasks 12 bis 14); hier liegen nur die Klassen. */

.hinweis-paket { padding: 20px 24px; border: 1px solid var(--linie); border-radius: 6px; background: var(--hell); }
.filter { position: sticky; top: var(--kopf-hoehe); z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0; background: var(--basis); list-style: none; margin: 0; }
.filter button, .filter a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 2px solid var(--premium); border-radius: var(--radius); background: transparent; color: var(--premium); font: 700 1.125rem/1 var(--schrift-text); text-decoration: none; cursor: pointer; }
.filter [aria-pressed="true"], .filter [aria-current="page"] { background: var(--premium); color: var(--basis); }
.gruppe { padding: 60px 0 20px; }
.gruppe__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 30px; }
.gruppe__kopf p { color: var(--text-2); }
.weine { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; list-style: none; padding: 0; }
.wein { position: relative; display: flex; flex-direction: column; overflow: clip; border-radius: var(--radius-karte); background: var(--hell); box-shadow: 0 0 0 1px var(--linie); }
.wein__bild { height: 330px; display: grid; place-items: center; background: var(--basis); }
.wein--guts .wein__bild { background: var(--guts); }
.wein--premium .wein__bild { background: var(--premium); }
.wein__bild img { height: 290px; width: auto; max-width: calc(100% - 24px); object-fit: contain; filter: drop-shadow(0 20px 14px rgba(46, 44, 43, 0.2)); }
/* Ersatz-Etikett ohne Foto: Papier mit feinem Goldrahmen wie Gerds Etiketten, Rosette, Art, Name, Jahrgang */
.wein__etikett { container-type: inline-size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 150px; height: 240px; padding: 18px 12px; border-radius: 4px; background: var(--hell); color: var(--premium); text-align: center; box-shadow: inset 0 0 0 6px var(--hell), inset 0 0 0 7px rgba(138, 106, 67, 0.45), 0 10px 24px rgba(69, 66, 67, 0.12); }
.wein__etikett-zeichen { width: 34px; height: 34px; color: var(--gold-dunkel); flex: none; }
.wein__etikett-art { font: 600 0.6875rem/1.2 var(--schrift-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dunkel); }
.wein__etikett-name { font: 400 min(1.375rem, 12cqi)/1.08 var(--schrift-titel); hyphens: none; overflow-wrap: normal; max-width: 100%; }
.wein__etikett-jahr { font: 500 0.875rem/1 var(--schrift-text); letter-spacing: 0.08em; }
.wein--premium .wein__etikett { background: #5A5657; color: var(--basis); }
.wein__text { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 22px 22px 24px; }
.wein__name { font: 400 1.875rem/1.05 var(--schrift-titel); color: var(--tief); }
.wein__name a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
/* Ganze Kachel führt zur Detailseite: der Link des Namens wird über die Kachel gezogen, der Kaufbereich liegt darüber. */
.wein__name a::after { content: ''; position: absolute; inset: 0; }
.wein:has(.wein__name a:focus-visible) { outline: 3px solid var(--gold-dunkel); outline-offset: 2px; }
.wein .kauf { position: relative; z-index: 1; }
.wein__daten { font-size: var(--t-klein); color: var(--text-2); }
.wein__preis { margin-top: auto; padding-top: 14px; font: 700 1.5rem/1.2 var(--schrift-text); color: var(--tief); }
.wein__preis small { margin-left: 6px; font: 400 1.125rem var(--schrift-text); color: var(--text-2); }
.wein__nachlass { margin-top: 4px; font-size: 1.125rem; color: var(--text); }
.wein__nachlass a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wein__nachlass--gross { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, 0.06); color: var(--basis); }
.kauf { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.kauf .knopf { flex: 1 1 150px; padding: 0 14px; }
@media (max-width: 600px) {
  .weine { gap: 14px; }
  .wein { display: grid; grid-template-columns: 108px minmax(0, 1fr); }
  .wein__bild { height: auto; min-height: 220px; }
  .wein__bild img { height: 196px; max-width: calc(100% - 12px); }
  .wein__bild .wein__etikett { width: 92px; height: 150px; padding: 10px 6px; gap: 5px; }
  .wein__bild .wein__etikett-name { font-size: min(1rem, 12cqi); }
  .wein__bild .wein__etikett-zeichen { width: 24px; height: 24px; }
  .wein__text { gap: 4px; padding: 14px 14px 16px; }
  .wein__name { font-size: 1.5rem; }
  .wein__preis { padding-top: 8px; font-size: 1.375rem; }
  .wein__preis small { display: block; margin-left: 0; }
  .kauf .knopf { flex-basis: 100%; }
}
/* Rebsorten: aufklappbar unter der festen Filterzeile, damit nicht zwei Zeilen am Kopf kleben. */
/* Mobil-Review: Die klebende Filterzeile belegte am Handy 312 px. Jetzt eine Zeile zum Wischen, rechts läuft sie aus. */
@media (max-width: 760px) {
  .filter:not(.filter--rebsorte) { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-inline: calc(var(--rand) * -1); padding: 10px calc(var(--rand) + 44px) 10px var(--rand); scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .filter:not(.filter--rebsorte)::-webkit-scrollbar { display: none; }
  .filter:not(.filter--rebsorte) a { flex: none; padding: 0 16px; }
}
.shop__fuss { padding: 20px 0 100px; }
/* Etikett-Kachel auf der Weinseite, wenn das Foto fehlt: in der Linienfarbe. */
.wein__etikett--gross { width: 220px; height: 350px; gap: 12px; }
.wein__etikett--gross .wein__etikett-name { font-size: min(2.125rem, 12cqi); }
.wein__etikett--gross .wein__etikett-zeichen { width: 48px; height: 48px; }
.wein__etikett--basis { background: var(--basis); }
.wein__etikett--guts { background: var(--guts); }
.wein__etikett--premium { background: #5A5657; color: var(--basis); }
.weinbuehne__hinweis { margin-top: 14px; font-size: 1.125rem; color: var(--text-hell-2); }

.weinbuehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100vh; padding-top: 110px; background: var(--premium); color: var(--basis); }
.weinbuehne__flasche { display: grid; place-items: center; padding: 40px; }
/* Zurück zur Übersicht (Gerd, 03.11.2026): oben über beiden Spalten, mobil über der Flasche. */
/* Desktop: oben in der Textspalte, die Flasche läuft über beide Zeilen und bleibt wie vorher. */
.weinbuehne__zurueck { grid-column: 2; grid-row: 1; padding: 24px var(--rand) 0 20px; }
.weinbuehne > .weinbuehne__flasche { grid-column: 1; grid-row: 1 / span 2; }
.weinbuehne > .weinbuehne__text { grid-column: 2; grid-row: 2; }
.knopf--klein { min-height: 44px; padding: 0 18px; gap: 10px; font-size: 1rem; }
.knopf--klein .icon { width: 18px; height: 18px; }
/* max-width: Gerds Fotos sind bei 78vh breiter als die Handy-Spalte (Mobil-Review: 46 von 71 Weinseiten liefen über). */
.weinbuehne__flasche img { max-height: 78vh; max-width: 100%; width: auto; height: auto; filter: drop-shadow(0 40px 34px rgba(0, 0, 0, 0.45)); }
.weinbuehne__text { container-type: inline-size; align-self: center; padding: 60px var(--rand) 80px 20px; }
.weinbuehne__text h1 { font-size: min(var(--t-1), 9.5cqi); }
.weinbuehne__text .lead { margin: 22px 0; color: #EFE7E0; }
.brot { margin-bottom: 22px; font-size: var(--t-klein); color: var(--text-hell); }
.brot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 28px 0; border-top: 1px solid var(--linie-hell); }
.fakten div { padding: 14px 0; border-bottom: 1px solid var(--linie-hell); }
.fakten dt { font-size: 1.125rem; color: var(--text-hell-2); }
.fakten dd { font-weight: 700; font-size: 1.1875rem; overflow-wrap: anywhere; hyphens: none; }
/* Lange Angaben aus Winestro (Allergene, Zutaten) laufen über beide Spalten und stehen nicht fett, damit sie lesbar bleiben. */
.fakten .fakten__breit { grid-column: 1 / -1; }
.fakten .fakten__breit dd { font-weight: 400; }
.naehrwerte { margin: -8px 0 28px; }
.naehrwerte table { width: 100%; border-collapse: collapse; font-size: 1.125rem; }
.naehrwerte caption { text-align: left; padding-bottom: 8px; font-weight: 700; font-size: 1.1875rem; }
.naehrwerte th, .naehrwerte td { padding: 10px 0; border-bottom: 1px solid var(--linie-hell); text-align: left; font-weight: 400; }
.naehrwerte td { text-align: right; font-weight: 700; }
.naehrwerte p { margin-top: 10px; font-size: 1.125rem; color: var(--text-hell-2); }
.naehrwerte__label a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-block; min-height: 44px; padding: 10px 0; }
.preiszeile { margin-top: 10px; font: 700 2.125rem/1.2 var(--schrift-text); }
.preiszeile small { margin-left: 8px; font: 400 1.125rem var(--schrift-text); color: var(--text-hell-2); }
.weinbuehne .menge { border-color: var(--basis); background: transparent; }
.weinbuehne .menge button, .weinbuehne .menge input { color: var(--basis); }
/* Desktop: Die Flasche stand mittig neben dem langen Text und damit unter dem ersten Bildschirm; jetzt bleibt sie oben stehen. */
@media (min-width: 901px) { .weinbuehne__flasche { position: sticky; top: 110px; align-self: start; height: calc(100vh - 110px); height: calc(100svh - 110px); } }
@media (max-width: 900px) {
  .weinbuehne { grid-template-columns: minmax(0, 1fr); padding-top: var(--kopf-hoehe); }
  .weinbuehne__zurueck, .weinbuehne > .weinbuehne__flasche, .weinbuehne > .weinbuehne__text { grid-column: 1; grid-row: auto; }
  .weinbuehne__zurueck { padding: 24px var(--rand) 0; }
  .weinbuehne__text { padding: 8px var(--rand) 60px; }
  /* Mobil-Review: Name und Preis sollen im ersten Bildschirm stehen, die Flasche bleibt darüber kleiner. */
  .weinbuehne__flasche { padding: 12px var(--rand) 0; }
  .weinbuehne__flasche img { max-height: 38vh; max-height: 38svh; }
  .weinbuehne__flasche .wein__etikett--gross { width: 160px; height: 250px; }
  .weinbuehne__flasche .wein__etikett--gross .wein__etikett-name { font-size: min(1.625rem, 12cqi); }
}

.korbseite { padding: calc(var(--kopf-hoehe) + 54px) 0 var(--abstand); }
.korbseite [hidden] { display: none; }
.korbseite__raster { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; margin-top: 40px; }
.korbliste { list-style: none; padding: 0; border-top: 1px solid var(--linie); }
.korbzeile { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.korbzeile img { height: 110px; width: auto; justify-self: center; }
.korbzeile b { display: block; font: 400 1.625rem/1.1 var(--schrift-titel); }
.korbzeile small { font-size: var(--t-klein); color: var(--text-2); }
.korbzeile__preis { min-width: 90px; text-align: right; font-weight: 700; font-size: 1.3125rem; }
.korbzeile__weg { display: flex; width: fit-content; align-items: center; min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--premium); font: 400 1.125rem/1.2 var(--schrift-text); text-decoration: underline; cursor: pointer; }
.menge output { display: grid; place-items: center; min-width: 44px; height: 100%; font: 700 1.25rem/1 var(--schrift-text); }
.korbmeldung { margin: 24px 0 0; padding: 16px 20px; border: 2px solid var(--gold-dunkel); border-radius: 6px; background: var(--hell); font-size: 1.125rem; }
.korbleer { margin-top: 40px; }
.korbleer p { margin-bottom: 22px; }
.paketstand { margin-top: 30px; padding: 28px; border: 2px solid var(--gold-dunkel); border-radius: var(--radius-karte); background: var(--hell); }
.paketstand h2 { font: 700 1.375rem/1.3 var(--schrift-text); margin-bottom: 10px; }
.plaetze { display: grid; grid-template-columns: repeat(var(--plaetze, 12), 1fr); gap: 6px; max-width: 520px; margin: 18px 0 12px; }
.plaetze span { height: 46px; border: 2px solid var(--premium); border-radius: 4px 4px 10px 10px; }
.plaetze span.voll { background: var(--premium); }
/* Warenkorb und Kasse füllen sich erst im Browser: Platz halten, damit der Fuß nicht springt (CLS). */
.korbseite { min-height: 100vh; min-height: 100svh; }
.summe { position: sticky; top: calc(var(--kopf-hoehe) + 24px); padding: 34px; border-radius: var(--radius-karte); background: var(--premium); color: var(--basis); }
.summe h2 { font-size: 2.375rem; margin-bottom: 18px; }
.summe dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie-hell); }
.summe dd { font-weight: 700; }
.summe .summe__gesamt { border: 0; font-weight: 700; font-size: 1.5rem; }
.summe .knopf { margin-top: 22px; }
.summe p { margin-top: 14px; font-size: 1.125rem; color: var(--text-hell-2); }
@media (max-width: 900px) { .korbseite__raster { grid-template-columns: 1fr; } .korbzeile .menge, .korbzeile__preis { grid-column: 2; text-align: left; } .korbzeile { grid-template-columns: 70px 1fr; } .summe { position: static; } }

.kasse fieldset { margin: 0 0 46px; padding: 0; border: 0; }
.kasse legend { margin-bottom: 22px; font: 400 2.375rem/1.1 var(--schrift-titel); color: var(--tief); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-weight: 700; font-size: 1.125rem; }
.feld input, .feld select, .feld textarea { min-height: 56px; padding: 12px 16px; border: 2px solid var(--rand-feld); border-radius: var(--radius); background: #fff; font-size: 1.1875rem; color: var(--text); }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--gold-dunkel); outline-offset: 2px; border-color: var(--premium); }
.feld__fehler { color: #8E2A1E; font-weight: 700; font-size: 1.125rem; }
.feld [aria-invalid="true"] { border-color: #8E2A1E; }
.wahl { display: grid; gap: 12px; }
.wahl label { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 2px solid var(--rand-feld); border-radius: 6px; background: #fff; font-size: 1.1875rem; cursor: pointer; }
.wahl label:has(input:checked) { border-color: var(--premium); box-shadow: inset 0 0 0 1px var(--premium); }
.wahl input { width: 24px; height: 24px; margin-top: 3px; accent-color: var(--premium); }
.wahl b { display: block; }
.wahl small { display: block; font-size: var(--t-klein); color: var(--text-2); }
.marken { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.marken span { padding: 4px 10px; border: 1px solid var(--linie); border-radius: 4px; font-weight: 700; font-size: 1.125rem; color: var(--text-2); }
.kasse__termin { margin-top: 24px; }
.haken { display: flex; gap: 14px; align-items: flex-start; min-height: 44px; padding: 8px 0; margin-top: 6px; font-size: 1.125rem; }
.haken input { width: 26px; height: 26px; margin-top: 2px; accent-color: var(--premium); }
@media (max-width: 900px) { .felder { grid-template-columns: 1fr; } }
/* Kasse (Task 14): Abstände und Knopf als Klassen, weil die CSP keine Inline-Stile erlaubt. */
.kasse__hinweis { margin-top: 14px; font-size: 1.125rem; color: var(--text-2); }
.kasse__nachricht { margin-top: 22px; }
/* Amtlicher EU-Hinweis zur Gewährleistung vor dem Bestellknopf (Pflicht seit 27.09.2026): deutlich, 44 px Zielfläche. */
.kasse__gewaehrleistung { margin-top: 22px; font-size: 1.125rem; }
.kasse__gewaehrleistung a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.kasse__knopf { margin-top: 26px; min-height: 64px; font-size: 1.25rem; }
.kasse__knopf[disabled] { cursor: progress; background: var(--text-2); }
.kasse fieldset > .feld__fehler, .haken + .feld__fehler { margin: 8px 0 12px; }
.wahl label:has(input:disabled) { border-style: dashed; background: transparent; color: var(--text-2); cursor: not-allowed; }
.danke__text { margin-top: 30px; }
.danke__text p + p, .danke__text .knopf { margin-top: 14px; }
.danke__tel { margin-top: 30px; font-size: 1.125rem; }
.danke__bezahlt { margin-top: 30px; font-weight: 700; }
.danke__tel a, .summe a[href^="tel:"] { white-space: nowrap; }
.kasse__pflicht { margin-bottom: 30px; font-size: 1.125rem; color: var(--text-2); }
.wein--premium .wein__etikett .wein__etikett-zeichen, .wein--premium .wein__etikett .wein__etikett-art,
.wein__etikett--premium .wein__etikett-zeichen, .wein__etikett--premium .wein__etikett-art { color: var(--gold); }

/* 29.10.2026: Preis und Kauf oben, Angaben darunter kleiner (Gerd); Wein-Nr., Gewährleistung, Versand-Link */
.wein__unter { margin-top: 6px; font-style: italic; color: var(--text-hell-2); }
.weinnr { margin-top: 6px; font-size: var(--t-klein); letter-spacing: 0.06em; color: var(--text-hell-2); }
.weinbuehne__text .preiszeile { margin-top: 18px; }
.wein__gewaehrleistung { margin-top: 8px; font-size: var(--t-klein); }
.wein__gewaehrleistung a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.fakten--klein { margin-top: 22px; }
.fakten--klein dt { font-size: 1.125rem; }
.fakten--klein dd { font-size: 1.125rem; font-weight: 600; }
.fakten--klein .fakten__breit dd { font-weight: 400; }
.shop__versandlink { margin: 6px 0 0; font-size: var(--t-klein); }
.shop__versandlink a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#versand { scroll-margin-top: calc(var(--kopf-hoehe) + 20px); margin-top: 40px; }
