/* ==========================================================================
   Demo site "heuriger" (W6a): Heuriger am Lösshang, an invented Heuriger.
   Loaded after css/beispiele/rahmen.css; read the rules at the top of that file
   (no overflow on html/body, header not sticky, z-index below 900, never restyle
   .bsp-sprung, .bsp-banner or .bsp-uhl). Element rules are therefore scoped to
   the demo's own header, main and footer.

   Identity: cream, wine red and olive, loess ochre for accents; Space Grotesk
   headings in capitals with wide tracking, IBM Plex Sans for text, IBM Plex Mono
   for prices and small labels. Motifs: the Buschen (the bundle of green twigs
   hung out while the Heuriger is open), the arch of a press-house door and rows
   of vine stocks as dotted lines.

   Contrast (WCAG 2.2 AA, measured): text on cream, lime white and light olive
   at least 5.8:1, muted text 6.7:1, text on the dark wine and the footer at
   least 10:1. Focus ring wine red on light surfaces (7.9:1 or more), loess on
   dark ones (10:1 or more). Field borders 3.8:1 or more.

   Surfaces from top: cream hero, lime-white times, cream calendar, dark wine
   menu, light olive farm shop, cream directions, lime-white contact, dark
   brown footer. Mobile first; main breakpoints 30em, 40em, 56em, 64em; the
   header turns into one row at 68em.
   ========================================================================== */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/space-grotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/space-grotesk-700.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-500.woff2') format('woff2'); }

:root {
    color-scheme: light;

    --hl-creme: #F6EEDD;        /* page, hero, calendar, directions */
    --hl-kalk: #FFFBF4;         /* lime white: cards, times, contact */
    --hl-oliv-hell: #E3E6CB;    /* farm shop */
    --hl-erde: #2A1D15;         /* text, 14.2:1 on cream */
    --hl-leise: #5E4838;        /* muted text, 7.4:1 on cream, 6.7:1 on light olive */
    --hl-wein: #7D1D2C;         /* wine red: links, buttons, focus ring; 8.7:1 on cream */
    --hl-wein-dunkel: #5F1421;  /* button hover */
    --hl-wein-tief: #3F0F1A;    /* menu section */
    --hl-oliv: #4D5B22;         /* olive: small labels, 5.8:1 on light olive */
    --hl-loess: #E9CB8D;        /* loess ochre: accents and focus ring on dark surfaces */
    --hl-creme-leise: #E3D0BD;  /* muted text on dark surfaces, 10.8:1 */
    --hl-fuss: #24170F;         /* footer */
    --hl-holz: #6B4226;         /* wood: crates */
    --hl-rand: #8C7462;         /* field borders, 3.8:1 on cream */
    --hl-linie: #DCCBB0;        /* decorative lines */
    --hl-linie-dunkel: #6E3A44; /* decorative lines on the dark wine */
    --hl-knopf-aus: #ECE2D2;    /* disabled button */

    --hl-titel: 'Space Grotesk', 'Bahnschrift', 'Segoe UI', system-ui, sans-serif;
    --hl-text: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    --hl-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
}

body.bsp--heuriger {
    background: var(--hl-creme);
    color: var(--hl-erde);
    font-family: var(--hl-text);
    font-size: 1.0625rem;
    line-height: 1.6;
}


/* Base ----------------------------------------------------------------------- */

:where(.kopf, #inhalt, .fuss) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.kopf, #inhalt, .fuss) p { text-wrap: pretty; }   /* no single word on the last line, as on the main site */
:where(.kopf, #inhalt, .fuss) :where(ul, ol) { padding: 0; list-style: none; }

:where(#inhalt, .fuss) a {
    color: var(--hl-wein);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
:where(#inhalt, .fuss) a:hover { text-decoration-thickness: 2px; }

/* Same weight as the frame's fallback ring, which this file overrides by loading later */
:where(.kopf, #inhalt, .fuss) :focus-visible {
    outline: 3px solid var(--hl-wein);
    outline-offset: 3px;
}
:is(.abschnitt--wein, .fuss) :focus-visible { outline-color: var(--hl-loess); }

/* Long German compounds in capitals must never push the page sideways */
:where(.kopf, #inhalt, .fuss) :where(h1, h2, h3, h4) { overflow-wrap: break-word; }

.innen {
    width: 100%;
    max-width: 74rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 40em) {
    .innen { padding-inline: 1.5rem; }
}
@media (min-width: 64em) {
    .innen { padding-inline: 2rem; }
}

/* Small capitals label above a heading */
.dach {
    margin-bottom: 0.625rem;
    color: var(--hl-oliv);
    font-family: var(--hl-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.titel {
    color: inherit;
    font-family: var(--hl-titel);
    font-size: clamp(1.5rem, 5.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* A row of vine stocks under every section heading */
.titel::after {
    content: "";
    display: block;
    width: 7.5rem;
    height: 8px;
    margin-top: 0.875rem;
    background: radial-gradient(circle, var(--hl-oliv) 0 3px, transparent 3.5px) 0 50% / 15px 8px repeat-x;
}

.lead {
    max-width: 38em;
    margin-top: 1rem;
    font-size: 1.125rem;
}

.notiz {
    margin-top: 1rem;
    color: var(--hl-leise);
    font-size: 0.9375rem;
}

.kopfzeile { margin-bottom: 2rem; }

@media (min-width: 56em) {
    .kopfzeile { margin-bottom: 2.75rem; }
}

/* Logo mark: arch of a press-house door with the Buschen */
.zeichen__bogen { fill: var(--hl-wein); }
.zeichen__holz { stroke: var(--hl-loess); }
.zeichen__busch { fill: #A9BE6A; }
.zeichen__nadeln { stroke: var(--hl-wein); }
.zeichen__band { fill: #A9283A; }


/* Header --------------------------------------------------------------------- */

.kopf {
    background: var(--hl-kalk);
    border-bottom: 1px solid var(--hl-linie);
}

.kopf__innen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    padding-block: 0.75rem 1rem;
}

/* Name and mark; not a link on this one-page site */
.marke {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    color: var(--hl-erde);
}

.marke__zeichen {
    display: block;
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
}

.marke__text { display: block; }

.marke__name {
    display: block;
    font-family: var(--hl-titel);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.marke__zusatz {
    display: block;
    margin-top: 0.125rem;
    color: var(--hl-oliv);
    font-family: var(--hl-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kopf__nav { width: 100%; }

.navliste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.25rem, 1fr));
    gap: 0.375rem;
}

.navliste a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.375rem 0.5rem;
    color: var(--hl-erde);
    background: var(--hl-creme);
    border: 1px solid var(--hl-linie);
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}
.navliste a:hover { border-color: var(--hl-wein); text-decoration: underline; text-underline-offset: 0.2em; }

.navliste a.navliste__tisch {
    color: var(--hl-kalk);
    background: var(--hl-wein);
    border-color: var(--hl-wein);
    font-weight: 600;
}
.navliste a.navliste__tisch:hover { background: var(--hl-wein-dunkel); }

/* One row only where name and all six links fit side by side (they need about 960 px) */
@media (min-width: 68em) {
    .kopf__innen { flex-wrap: nowrap; padding-block: 1rem; }
    .kopf__nav { width: auto; }
    .navliste { display: flex; gap: 0.25rem; }
    .navliste a {
        padding-inline: 0.875rem;
        background: transparent;
        border-color: transparent;
        font-size: 1rem;
        white-space: nowrap;
    }
    .navliste a.navliste__tisch { margin-left: 0.5rem; padding-inline: 1.125rem; border-radius: 999px; }
}


/* Hero ----------------------------------------------------------------------- */

.held {
    padding-block: 2rem 3rem;
    background: var(--hl-creme);
}

.held__innen {
    display: grid;
    gap: 2.25rem;
}

.held__titel {
    color: var(--hl-erde);
    font-family: var(--hl-titel);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
}

.held__titel-klein {
    display: block;
    margin-bottom: 0.625rem;
    color: var(--hl-wein);
    font-size: clamp(1.0625rem, 4.4vw, 1.5rem);
    letter-spacing: 0.42em;
}

.held__titel-gross {
    display: block;
    font-size: clamp(2.125rem, 10vw, 4.5rem);
    letter-spacing: 0.04em;
}

.held__lead {
    max-width: 34em;
    margin-top: 1.25rem;
    font-size: 1.1875rem;
    line-height: 1.55;
}

.status {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    max-width: 32rem;
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    background: var(--hl-kalk);
    border: 2px solid var(--hl-linie);
    border-radius: 0.75rem;
}
.status--offen { border-color: var(--hl-oliv); }

.status__zeichen {
    display: block;
    width: 2.5rem;
    height: 3.25rem;
}
.status__zeichen .zeichen__holz { stroke: var(--hl-holz); }
.status__zeichen .zeichen__busch { fill: #4B6629; }
.status__zeichen .zeichen__nadeln { stroke: #9DB55E; }

.status__label {
    color: var(--hl-oliv);
    font-family: var(--hl-titel);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status__zeit {
    margin-top: 0.125rem;
    font-family: var(--hl-titel);
    font-size: 1.3125rem;
    font-weight: 500;
    line-height: 1.25;
}

.status__info {
    margin-top: 0.375rem;
    color: var(--hl-leise);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.held__knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.625rem 1.375rem;
    background: var(--hl-wein);
    border: 2px solid var(--hl-wein);
    border-radius: 999px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}
#inhalt a.knopf { color: var(--hl-kalk); text-decoration: none; }
#inhalt a.knopf:hover { background: var(--hl-wein-dunkel); border-color: var(--hl-wein-dunkel); text-decoration: underline; }
#inhalt a.knopf--rand { color: var(--hl-wein); background: transparent; }
#inhalt a.knopf--rand:hover { color: var(--hl-wein-dunkel); background: var(--hl-kalk); }

.held__bild {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
}

.szene {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 56em) {
    .held { padding-block: 3.5rem 4.5rem; }
    .held__innen {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        align-items: center;
        gap: 3rem;
    }
    .held__bild { max-width: none; }
}


/* Sections ------------------------------------------------------------------- */

.abschnitt { padding-block: 3.5rem; }
.abschnitt--kalk { background: var(--hl-kalk); }
.abschnitt--creme { background: var(--hl-creme); }
.abschnitt--oliv { background: var(--hl-oliv-hell); }
.abschnitt--wein { background: var(--hl-wein-tief); color: var(--hl-creme); }
.abschnitt--wein .dach { color: var(--hl-loess); }
.abschnitt--wein .titel::after {
    background-image: radial-gradient(circle, var(--hl-loess) 0 3px, transparent 3.5px);
}

@media (min-width: 56em) {
    .abschnitt { padding-block: 5rem; }
}


/* Opening times -------------------------------------------------------------- */

.zeiten {
    display: grid;
    gap: 2.5rem;
}

.zeitliste {
    max-width: 34rem;
    margin-top: 1.75rem;
    border-top: 2px solid var(--hl-erde);
}

.zeitliste__zeile {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    padding-block: 0.75rem;
    border-bottom: 1px dashed var(--hl-rand);
}

.zeitliste dt { font-weight: 600; }

.zeitliste dd {
    font-family: var(--hl-titel);
    font-size: 1.125rem;
    font-weight: 500;
}

.zeitliste__zeile--zu dd { color: var(--hl-leise); }

.zeitliste--kurz { border-top-color: var(--hl-oliv); }
.zeitliste--kurz dd { font-family: var(--hl-text); font-size: 1rem; font-weight: 400; }

.buschen-karte {
    position: relative;
    align-self: start;
    padding: 1.5rem;
    background: var(--hl-creme);
    border-radius: 1rem;
    border-top: 6px solid var(--hl-oliv);
}

.buschen-karte__bild {
    display: block;
    width: 7rem;
    height: auto;
    margin-bottom: 0.5rem;
}

.buschen-karte__titel {
    margin-top: 1rem;
    font-family: var(--hl-titel);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.buschen-karte__titel + p { margin-top: 0.375rem; }
.buschen-karte__bild + .buschen-karte__titel { margin-top: 0; }

@media (min-width: 56em) {
    .zeiten { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; }
    .buschen-karte { padding: 2rem; }
}


/* Serving calendar ----------------------------------------------------------- */

.termine {
    display: grid;
    gap: 1rem;
}

.termin {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.875rem;
    align-items: start;
    padding: 1rem;
    background: var(--hl-kalk);
    border: 1px solid var(--hl-linie);
    border-radius: 0.75rem;
}

/* Tear-off calendar sheet; min-width so a long label ("Winter") widens it instead of being cut */
.termin__blatt {
    display: flex;
    flex-direction: column;
    min-width: 3.5rem;
    overflow: clip;
    text-align: center;
    background: var(--hl-kalk);
    border: 2px solid var(--hl-wein);
    border-radius: 0.5rem;
}

.termin__monat {
    padding: 0.125rem 0.25rem;
    color: var(--hl-kalk);
    background: var(--hl-wein);
    font-family: var(--hl-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.termin__tag {
    padding: 0.25rem 0 0.375rem;
    color: var(--hl-wein);
    font-family: var(--hl-titel);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.termin__titel {
    font-family: var(--hl-titel);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.termin__marke {
    display: inline-block;
    margin-top: 0.375rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-family: var(--hl-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.termin__zeit {
    margin-top: 0.375rem;
    font-weight: 600;
    line-height: 1.45;
}

.termin__notiz {
    margin-top: 0.375rem;
    color: var(--hl-leise);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.termin--jetzt {
    border: 2px solid var(--hl-oliv);
    box-shadow: 0 0 0 4px var(--hl-oliv-hell);
}
.termin--jetzt .termin__marke { color: var(--hl-kalk); background: var(--hl-oliv); }

.termin--naechster { border: 2px solid var(--hl-loess); }
.termin--naechster .termin__marke { color: var(--hl-erde); background: var(--hl-loess); }

.termin--vorbei { background: transparent; border-style: dashed; border-color: var(--hl-rand); }
.termin--vorbei .termin__blatt { border-color: var(--hl-leise); }
.termin--vorbei .termin__monat { background: var(--hl-leise); }
.termin--vorbei .termin__tag { color: var(--hl-leise); }
.termin--vorbei .termin__marke { color: var(--hl-erde); background: var(--hl-linie); }

.termin--pause { background: transparent; border-style: dashed; border-color: var(--hl-rand); }
.termin--pause .termin__blatt { border-color: var(--hl-oliv); }
.termin--pause .termin__monat { background: var(--hl-oliv); }
.termin--pause .termin__tag { color: var(--hl-oliv); }

@media (min-width: 26em) {
    .termin { gap: 1rem; padding: 1.125rem; }
    .termin__blatt { min-width: 4rem; }
}
@media (min-width: 40em) {
    .termine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
    .termine { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
    .termin { padding: 1.25rem; }
}


/* Menu (dark wine) ----------------------------------------------------------- */

.abschnitt--wein .lead { color: var(--hl-creme); }

/* minmax(0, 1fr): with larger text spacing the price tables must shrink, not widen the page */
.karte {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem 4rem;
}

.karte__titel {
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    color: var(--hl-loess);
    border-bottom: 1px solid var(--hl-linie-dunkel);
    font-family: var(--hl-titel);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.karte__spalte > .karte__titel:first-child { margin-top: 0; }

.posten__eintrag { padding-top: 0.875rem; }

.posten__zeile {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.posten__name {
    flex: 0 1 auto;
    color: var(--hl-creme);
    font-weight: 600;
}

.posten__linie {
    flex: 1 1 1.5rem;
    min-width: 1.5rem;
    border-bottom: 2px dotted var(--hl-linie-dunkel);
}

.posten__preis {
    flex: none;
    color: var(--hl-loess);
    font-family: var(--hl-mono);
    font-weight: 500;
    white-space: nowrap;
}

.posten__info {
    max-width: 30em;
    margin-top: 0.125rem;
    color: var(--hl-creme-leise);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.weine {
    width: 100%;
    margin-top: 0.5rem;
    border-collapse: collapse;
}

.weine th,
.weine td {
    padding: 0.75rem 0.25rem 0.75rem 0;
    border-bottom: 1px solid var(--hl-linie-dunkel);
    text-align: left;
    vertical-align: baseline;
}

.weine thead th {
    padding-block: 0.625rem 0.5rem;
    color: var(--hl-creme-leise);
    font-family: var(--hl-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.weine tbody th {
    color: var(--hl-creme);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.weine__info {
    display: block;
    color: var(--hl-creme-leise);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.45;
}

.weine .weine__preis {
    padding-right: 0;
    padding-left: 0.75rem;
    text-align: right;
    white-space: nowrap;
}
.weine td.weine__preis {
    color: var(--hl-loess);
    font-family: var(--hl-mono);
    font-weight: 500;
}
/* Keeps the eighth and the quarter price apart on phones */
.weine .weine__preis:last-child { padding-left: 1.25rem; }

.karte__fuss {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    color: var(--hl-creme-leise);
    border-top: 1px solid var(--hl-linie-dunkel);
    font-size: 0.9375rem;
}

@media (min-width: 56em) {
    .karte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Farm shop (light olive) ---------------------------------------------------- */

.abhof {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

.preiskarte {
    align-self: start;
    padding: 1rem;
    background: var(--hl-kalk);
    border-radius: 0.75rem;
    box-shadow: 0 1px 0 var(--hl-linie), 0 12px 32px -20px rgba(42, 29, 21, 0.45);
}

.preiskarte__titel {
    font-family: var(--hl-titel);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.preisliste {
    width: 100%;
    margin-top: 0.75rem;
    border-collapse: collapse;
}

.preisliste th,
.preisliste td {
    padding: 0.625rem 1rem 0.625rem 0;
    border-bottom: 1px solid var(--hl-linie);
    text-align: left;
    vertical-align: baseline;
}

.preisliste thead th {
    color: var(--hl-leise);
    border-bottom: 2px solid var(--hl-erde);
    font-family: var(--hl-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.preisliste tbody th { font-weight: 600; overflow-wrap: anywhere; }
.preisliste td { white-space: nowrap; }

.preisliste__inhalt {
    display: block;
    color: var(--hl-leise);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
}

.preisliste .preisliste__preis {
    padding-right: 0;
    text-align: right;
}
.preisliste td.preisliste__preis {
    color: var(--hl-wein);
    font-family: var(--hl-mono);
    font-weight: 500;
}

.preiskarte__notiz {
    margin-top: 0.75rem;
    color: var(--hl-leise);
    font-size: 0.875rem;
}

.kisten__titel {
    margin-top: 3rem;
    font-family: var(--hl-titel);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kisten {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

/* A wine crate: slats top and bottom */
.kiste {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--hl-kalk);
    border: 2px solid var(--hl-holz);
    border-top-width: 10px;
    border-bottom-width: 6px;
    border-radius: 0.375rem;
}

.kiste__name {
    color: var(--hl-holz);
    font-family: var(--hl-titel);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kiste__inhalt {
    flex: 1;
    margin-top: 0.375rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.kiste__preis {
    margin-top: 1rem;
    color: var(--hl-wein);
    font-family: var(--hl-mono);
    font-size: 1.375rem;
    font-weight: 500;
}

.kiste__einzeln {
    display: block;
    color: var(--hl-leise);
    font-family: var(--hl-text);
    font-size: 0.875rem;
    font-weight: 400;
}

@media (min-width: 30em) {
    .preiskarte { padding: 1.25rem; }
}
@media (min-width: 40em) {
    .preiskarte { padding: 1.5rem 1.75rem; }
    .kisten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 56em) {
    .abhof { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; }
}


/* Directions ----------------------------------------------------------------- */

.anfahrt {
    display: grid;
    gap: 2.5rem;
}

.anfahrt__titel {
    margin-top: 1.5rem;
    font-family: var(--hl-titel);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.anfahrt__titel + p { max-width: 36em; margin-top: 0.25rem; }

.skizze {
    align-self: start;
    padding: 0.75rem;
    background: var(--hl-kalk);
    border: 1px solid var(--hl-linie);
    border-radius: 1rem;
}

.skizze__bild {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.skizze__bild text { font-family: var(--hl-titel); }
.skizze__haus { fill: #DCCAA6; }
.skizze__presshaus { fill: #FFFBF2; stroke: #B0946A; stroke-width: 1.5; }
.skizze__heuriger { fill: var(--hl-wein); stroke: #4B0F19; stroke-width: 2; }
.skizze__gasse {
    fill: var(--hl-holz);
    stroke: #F4E8CF;
    stroke-width: 5px;
    stroke-linejoin: round;
    paint-order: stroke;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.skizze__ort { fill: var(--hl-erde); font-size: 22px; font-weight: 700; letter-spacing: 0.24em; }
.skizze__strasse { fill: var(--hl-leise); font-size: 18px; font-weight: 500; letter-spacing: 0.04em; }
.skizze__nord { fill: var(--hl-erde); font-size: 18px; font-weight: 700; }
.skizze__p { fill: #3A4A63; font-size: 22px; font-weight: 700; }
.skizze__h { fill: var(--hl-oliv); font-size: 14px; font-weight: 700; }
.skizze__marker circle { fill: var(--hl-wein); stroke: var(--hl-kalk); stroke-width: 3; }
.skizze__marker text { fill: var(--hl-kalk); font-size: 19px; font-weight: 700; }

/* On phones the sketch shrinks to about half its size: bigger markers and labels keep it legible */
@media (max-width: 39.99em) {
    .skizze { padding: 0.5rem; }
    .skizze__marker circle { r: 24px; }
    .skizze__marker circle.skizze__ziel { r: 26px; }
    .skizze__marker text { font-size: 26px; }
    .skizze__gasse { font-size: 30px; }
    .skizze__strasse { font-size: 28px; }
    .skizze__ort { font-size: 30px; letter-spacing: 0.16em; }
    .skizze__nord { font-size: 28px; }
    .skizze__p { font-size: 30px; }
}

.skizze__text { padding: 1rem 0.5rem 0.5rem; }

.skizze__hinweis {
    color: var(--hl-leise);
    font-family: var(--hl-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legende {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.legende li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.legende__nr {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--hl-kalk);
    background: var(--hl-wein);
    border-radius: 50%;
    font-family: var(--hl-titel);
    font-size: 0.9375rem;
    font-weight: 700;
}

@media (min-width: 40em) {
    .legende { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}
@media (min-width: 56em) {
    .anfahrt { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; }
}


/* Contact and disabled form -------------------------------------------------- */

.kontakt {
    display: grid;
    gap: 2.5rem;
}

.kontakt__text > p:not(.dach):not(.lead) { max-width: 36em; margin-top: 1rem; }

.adresse {
    max-width: 22rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--hl-creme);
    border-left: 6px solid var(--hl-wein);
    border-radius: 0 0.75rem 0.75rem 0;
}

.adresse__titel {
    margin-bottom: 0.375rem;
    font-family: var(--hl-titel);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.formular {
    align-self: start;
    padding: 1.25rem;
    background: var(--hl-creme);
    border: 1px solid var(--hl-linie);
    border-radius: 1rem;
}

.formular__titel {
    margin-bottom: 1rem;
    font-family: var(--hl-titel);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feld {
    display: grid;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.feld label {
    font-weight: 600;
    line-height: 1.3;
}

.feld input,
.feld select,
.feld textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.625rem 0.75rem;
    color: var(--hl-erde);
    background: var(--hl-kalk);
    border: 2px solid var(--hl-rand);
    border-radius: 0.375rem;
    line-height: 1.4;
}

.feld textarea { min-height: 7.5rem; resize: vertical; }

.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
    border-color: var(--hl-wein);
    outline-offset: 2px;
}

.feldpaar { display: grid; }

.absenden {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 0.5rem;
}

.absenden__knopf {
    min-height: 3rem;
    padding: 0.625rem 1.5rem;
    color: var(--hl-leise);
    background: var(--hl-knopf-aus);
    border: 2px dashed var(--hl-rand);
    border-radius: 999px;
    font-weight: 600;
    cursor: not-allowed;
}

.absenden__hinweis {
    color: var(--hl-wein);
    font-family: var(--hl-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.formular__notiz {
    margin-top: 1rem;
    color: var(--hl-leise);
    font-size: 0.875rem;
}

@media (min-width: 30em) {
    .feldpaar { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}
@media (min-width: 40em) {
    .formular { padding: 1.75rem; }
}
@media (min-width: 56em) {
    .kontakt { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; }
}


/* Footer (dark brown) -------------------------------------------------------- */

.fuss {
    padding-block: 3rem 1.25rem;
    color: var(--hl-creme);
    background: var(--hl-fuss);
    font-size: 0.9375rem;
}

.fuss a { color: var(--hl-creme); }
.fuss :is(.fuss__spalte, .fuss__marke) > p:not(.fuss__name) { margin-top: 0.5rem; }

/* Standalone links, 44 px tall for fingers */
.fuss__link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-weight: 500;
}
.fuss :is(.fuss__spalte, .fuss__marke) > p:has(> .fuss__link) { margin-top: 0.125rem; }

.fuss__innen {
    display: grid;
    gap: 2rem;
}

.fuss__name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--hl-titel);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.fuss__name .zeichen__bogen { fill: var(--hl-loess); }
.fuss__name .zeichen__holz { stroke: var(--hl-fuss); }
.fuss__name .zeichen__busch { fill: #4B6629; }
.fuss__name .zeichen__nadeln { stroke: #A9BE6A; }

.fuss__adresse {
    margin-top: 1rem;
    color: var(--hl-creme-leise);
    font-style: normal;
}

.fuss__titel {
    margin: 1.25rem 0 0.5rem;
    color: var(--hl-loess);
    font-family: var(--hl-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.fuss__spalte > .fuss__titel:first-child { margin-top: 0; }

.fuss__zeiten div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 1rem;
    padding-block: 0.25rem;
}
.fuss__zeiten dt { color: var(--hl-creme-leise); }

.fuss__unten {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    color: var(--hl-creme-leise);
    border-top: 1px solid #4A3A2E;
    font-size: 0.875rem;
}

@media (min-width: 48em) {
    .fuss__innen { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
    .fuss__zeiten { max-width: 18rem; }
}


/* Motion, contrast themes, print --------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .navliste a,
    .knopf { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
}

@media (forced-colors: active) {
    .termin, .kiste, .status, .formular, .preiskarte, .buschen-karte, .skizze { border: 1px solid CanvasText; }
    .termin__blatt { border-color: CanvasText; }
    .knopf, .navliste a { border: 2px solid LinkText; }
    .absenden__knopf { border-color: GrayText; color: GrayText; }
}

@media print {
    .kopf__nav, .held__knoepfe, .held__bild, .formular { display: none; }
    .abschnitt, .held { padding-block: 1.5rem; }
    .abschnitt--wein, .fuss { color: #000; background: none; }
    .abschnitt--wein :is(.dach, .karte__titel, .posten__name, .posten__preis, .posten__info, .lead, .karte__fuss),
    .abschnitt--wein .weine :is(th, td, .weine__info) { color: #000; }
}
