/* Santa Fe – New Mexican, Onepager-Entwurf
   Farben und Schriften angelehnt an den Fajita-Flyer: Adobe-Sand, Chili, Petrol aus dem Logo, Senf wie die Sonne. */

:root {
    --sand: #E9D0A7;
    --sand-hell: #F6E8CD;
    --sand-dunkel: #CDA877;
    --chili: #8C2318;
    --chili-tief: #6B1911;
    --tuerkis: #1E8C98;
    --petrol: #1B4F58;
    --senf: #E9AE25;
    --kaffee: #2B1A12;
    --kaffee-weich: #5E4433;

    --schrift-plakat: "Ultra", "Rockwell Extra Bold", Georgia, serif;
    --schrift-schild: "Yanone Kaffeesatz", "Arial Narrow", sans-serif;
    --schrift-text: "Barlow", "Helvetica Neue", Arial, sans-serif;

    --breite: 1180px;
    --navi-hoehe: 80px;
    --rand: clamp(1rem, 4vw, 2.5rem);
    --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28' viewBox='0 0 64 28'%3E%3Crect width='64' height='28' fill='%23E9D0A7'/%3E%3Crect width='64' height='3' fill='%232B1A12'/%3E%3Crect y='25' width='64' height='3' fill='%232B1A12'/%3E%3Cpath d='M0 25V21H4V17H8V13H12V9H20V13H24V17H28V21H32V25Z' fill='%238C2318'/%3E%3Cpath d='M32 3V7H36V11H40V15H44V19H52V15H56V11H60V7H64V3Z' fill='%231B4F58'/%3E%3Cpath d='M16 13L19 17L16 21L13 17Z' fill='%23E9AE25'/%3E%3Cpath d='M48 7L51 11L48 15L45 11Z' fill='%23E9AE25'/%3E%3C/svg%3E");
    --papier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23k)'/%3E%3C/svg%3E");
}

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

/* hidden muss auch gegen display-Regeln wie grid oder flex gewinnen */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--schrift-text);
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--kaffee);
    background: var(--sand) var(--papier);
}

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

a { color: var(--chili); text-underline-offset: .15em; }
a:hover { color: var(--chili-tief); }

:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--schrift-plakat); font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.05; color: var(--chili); }
h3 { font-family: var(--schrift-schild); font-weight: 700; font-size: 1.9rem; line-height: 1.1; }
p { margin: 0 0 1em; }

.klein { font-size: .92rem; color: var(--kaffee-weich); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--kaffee); color: var(--sand-hell); }
.sprung:focus { top: 1rem; }

/* Navajo-Band wie oben und unten auf dem Flyer */
.band { height: 28px; background: var(--band) repeat-x left center; }
.band-decke { height: 44px; background: url("../img/deko/decke.svg") repeat-x left center / auto 44px; }

/* Knöpfe: Stempel-Optik mit versetztem Schatten */
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.knopf {
    display: inline-block;
    padding: .45em 1.15em .4em;
    font-family: var(--schrift-schild);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.2;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--kaffee);
    border-radius: 3px;
    box-shadow: 3px 3px 0 var(--kaffee);
    cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}
.knopf:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--kaffee); }
.knopf:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--kaffee); }
.knopf-chili { background: var(--chili); color: var(--sand-hell); }
.knopf-chili:hover { color: var(--sand-hell); background: var(--chili-tief); }
.knopf-rahmen { background: transparent; color: var(--kaffee); }
.knopf-rahmen:hover { color: var(--kaffee); background: var(--sand-hell); }
.knopf-senf { background: var(--senf); color: var(--kaffee); }
.knopf-senf:hover { color: var(--kaffee); }
.knopf-hell { background: var(--sand-hell); color: var(--petrol); }
.knopf-hell:hover { color: var(--petrol); }
.knopf-petrol { background: var(--petrol); color: var(--sand-hell); }
.knopf-petrol:hover { color: var(--sand-hell); }

/* Kopf mit Navigation: Band scrollt weg, die Leiste bleibt stehen */
.kopf { position: sticky; top: -44px; z-index: 50; transition: background-color .25s, box-shadow .25s; }
/* sobald gescrollt wird: Hintergrund und kleines Logo */
.kopf.ist-fest { background: var(--sand) var(--papier); box-shadow: 0 2px 0 rgba(43, 26, 18, .12); }
.navi { max-width: var(--breite); min-height: var(--navi-hoehe); margin: 0 auto; padding: .5rem var(--rand); display: flex; align-items: center; gap: 2rem; }
.navi-logo img { width: auto; height: 60px; }
.navi-logo { opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.kopf.ist-fest .navi-logo { opacity: 1; visibility: visible; }
.navi-links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 1.6rem; }
.navi-links a {
    font-family: var(--schrift-schild);
    font-size: 1.45rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--kaffee-weich);
}
.navi-links a:hover { color: var(--chili); }
.navi .knopf { font-size: 1.2rem; white-space: nowrap; }
.navi-links a { white-space: nowrap; }
.menue-knopf,
.modal-zu {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .85rem .35rem;
    font-family: var(--schrift-schild);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--kaffee);
    background: var(--sand-hell);
    border: 2px solid var(--kaffee);
    border-radius: 3px;
    box-shadow: 2px 2px 0 var(--kaffee);
    cursor: pointer;
}
.menue-knopf { display: none; }
.menue-symbol { display: inline-flex; flex-direction: column; gap: 4px; }
.menue-symbol span { display: block; width: 18px; height: 2px; background: var(--kaffee); transition: transform .2s, opacity .2s; }
.menue-knopf[aria-expanded="true"] .menue-symbol span:nth-child(1), .modal-zu .menue-symbol span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-symbol span:nth-child(2), .modal-zu .menue-symbol span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] .menue-symbol span:nth-child(3), .modal-zu .menue-symbol span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Startbereich als Plakat-Szene wie auf dem Flyer: Palme, Lichterkette, Kaktus, Agave, Wüste */
.held {
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--navi-hoehe));
    background:
        radial-gradient(ellipse 60% 55% at 64% 42%, rgba(255, 246, 226, .7), rgba(255, 246, 226, 0) 70%),
        radial-gradient(circle at 100% 0%, rgba(176, 64, 32, .28), rgba(176, 64, 32, 0) 38%),
        radial-gradient(ellipse 115% 95% at 50% 10%, rgba(160, 72, 30, 0) 55%, rgba(160, 72, 30, .3) 100%),
        url("../img/deko/wueste.svg") center bottom / max(100%, 1300px) auto no-repeat;
}
.held-deko { position: absolute; inset: 0; pointer-events: none; }
.deko { position: absolute; height: auto; }
.deko-palme { top: -10px; left: -20px; width: clamp(200px, 23vw, 380px); filter: drop-shadow(4px 8px 6px rgba(43, 26, 18, .2)); }
.deko-lichter { top: calc(var(--navi-hoehe) - 6px); right: -24px; width: clamp(340px, 44vw, 700px); transform: rotate(-2deg); transform-origin: 100% 0; }
/* Kaktus steht im linken Seitenrand, immer mindestens 56 px vor der Textkante (50% - 550px); bei wenig Platz kleiner */
.deko-kaktus {
    --kaktus-breite: clamp(72px, calc(50% - 622px), 150px);
    bottom: 8px;
    left: max(12px, calc(50% - 606px - var(--kaktus-breite)));
    width: var(--kaktus-breite);
}
.deko-agave { bottom: -6px; right: max(-30px, calc(50% - 740px)); width: clamp(130px, 14vw, 230px); }
.held-innen {
    position: relative;
    max-width: var(--breite);
    margin: 0 auto;
    padding: calc(var(--navi-hoehe) + clamp(.5rem, 2vw, 1.8rem)) var(--rand) clamp(5rem, 9vw, 7rem);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.held-logo { margin: 0 0 .9rem calc(-1 * min(40px, max(0px, (100vw - var(--breite)) / 2) + var(--rand) - 8px)); }
.held-logo img { width: min(100%, 560px); transform: rotate(-4deg); filter: drop-shadow(3px 5px 0 rgba(43, 26, 18, .18)); }
/* Öffnungsschild im Stil des roten Kastens auf dem Flyer */
.status {
    display: inline-block;
    margin: 0 0 1.3rem;
    padding: .35rem 1rem .3rem .8rem;
    font-family: var(--schrift-schild);
    font-size: 1.45rem;
    line-height: 1.15;
    letter-spacing: .02em;
    color: var(--sand-hell);
    background: var(--chili);
    border: 2px solid var(--kaffee);
    box-shadow: 3px 3px 0 var(--kaffee);
    transform: rotate(-2deg);
}
.status strong { color: var(--senf); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.status::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .55rem; vertical-align: .05em; border-radius: 50%; background: var(--sand-dunkel); }
.status.offen::before { background: var(--senf); box-shadow: 0 0 0 3px rgba(233, 174, 37, .35); }
.held-lead { font-size: 1.25rem; max-width: 44ch; margin-bottom: 1.8rem; }
.held-bilder { position: relative; padding: 0 0 18% 12%; }
.polaroid { filter: drop-shadow(6px 12px 14px rgba(43, 26, 18, .3)); }
.held-bilder .polaroid-klein { position: absolute; left: 0; bottom: 0; width: 42%; }
.plakette {
    position: absolute;
    right: -1%;
    bottom: 4%;
    margin: 0;
    padding: .55rem 1rem .5rem;
    font-family: var(--schrift-schild);
    line-height: 1;
    text-align: center;
    color: var(--sand-hell);
    background: var(--petrol);
    border: 3px solid var(--sand-hell);
    outline: 3px solid var(--petrol);
    box-shadow: 5px 6px 0 rgba(43, 26, 18, .35);
    transform: rotate(5deg);
}
.plakette span { display: block; font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; }
.plakette strong { display: block; font-family: var(--schrift-plakat); font-weight: 400; font-size: 3.2rem; line-height: .95; color: var(--senf); }
.plakette .sterne { margin-top: .25rem; font-size: .85rem; letter-spacing: .35em; color: var(--senf); }

/* Aktuelle Aktion */
.aktuell { background: var(--petrol); color: var(--sand-hell); }
.aktuell-innen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5.5rem) var(--rand);
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.aktuell-flyer { margin: 0; transform: rotate(-2.5deg); }
.aktuell-flyer img { border: 8px solid var(--sand-hell); box-shadow: 10px 14px 0 rgba(0, 0, 0, .25); }
.aktuell-anlass { font-family: var(--schrift-schild); font-size: 1.6rem; color: var(--senf); margin-bottom: .3rem; }
.aktuell h2 { color: var(--sand-hell); margin-bottom: 1.2rem; }
.preis-block { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 1.6rem 0; }
.preis { margin: 0; font-family: var(--schrift-schild); font-weight: 700; font-size: clamp(3.4rem, 8vw, 4.8rem); line-height: 1; }
.preis-zusatz { display: block; font-size: 1.5rem; font-weight: 400; color: var(--senf); }
.stempel {
    margin: 0;
    padding: .5rem 1rem .4rem;
    font-family: var(--schrift-schild);
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 1.1;
    color: var(--chili);
    background: var(--senf);
    border: 3px dashed var(--chili);
    transform: rotate(-6deg);
}
.aktuell-zutaten { font-size: 1rem; max-width: 60ch; }
.aktuell-zutaten strong { color: var(--senf); font-weight: 600; }
.aktuell-extra { font-family: var(--schrift-schild); font-size: 1.6rem; color: var(--senf); margin-bottom: 1.8rem; }

/* Speisekarte */
.karte { max-width: 1120px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--rand) clamp(3rem, 6vw, 4.5rem); }
.karte-kopf { text-align: center; margin-bottom: 2rem; }
.karte-kopf p { max-width: 46ch; margin: .8rem auto 0; font-size: 1.2rem; }
.karte-reiter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .2rem 1rem;
    padding-bottom: .4rem;
    margin-bottom: 2.2rem;
    border-bottom: 2px solid var(--sand-dunkel);
}
.reiter {
    padding: .3rem .1rem .2rem;
    font-family: var(--schrift-schild);
    font-size: 1.4rem;
    color: var(--kaffee-weich);
    background: none;
    border: 0;
    border-bottom: 4px solid transparent;
    margin-bottom: -6px;
    cursor: pointer;
}
.reiter:hover { color: var(--chili); }
.reiter[aria-selected="true"] { color: var(--chili); border-bottom-color: var(--chili); font-weight: 700; }
.reiter-tipp { display: inline-block; margin-left: .35rem; padding: 0 .4rem; font-size: .9rem; font-weight: 700; vertical-align: .25em; color: var(--kaffee); background: var(--senf); border-radius: 2px; }
.karte-hinweis { max-width: 70ch; margin: 0 auto 2rem; text-align: center; font-style: italic; color: var(--kaffee-weich); }
.gerichte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 3.5rem; }
.gericht-zeile { display: flex; align-items: baseline; gap: .5rem; }
.gericht-name { font-weight: 600; font-size: 1.15rem; }
.gericht-zeile::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted var(--sand-dunkel); transform: translateY(-.25em); min-width: 1.5rem; }
.gericht-preis { order: 3; font-family: var(--schrift-schild); font-weight: 700; font-size: 1.55rem; color: var(--chili); white-space: nowrap; }
.gericht-beschreibung { margin: .2rem 0 0; font-size: 1rem; color: var(--kaffee-weich); max-width: 46ch; }
.karte-fuss { margin: 2.8rem 0 0; text-align: center; font-size: .95rem; color: var(--kaffee-weich); }

/* Chili-Zitat */
.chili {
    padding-block: clamp(4rem, 10vw, 7rem);
    padding-inline: max(var(--rand), calc((100% - var(--breite)) / 2 + var(--rand)));
    background: linear-gradient(90deg, rgba(43, 26, 18, .92) 0%, rgba(43, 26, 18, .7) 45%, rgba(43, 26, 18, .15) 100%), url("../img/chili.webp") center / cover;
    color: var(--sand-hell);
}
.chili blockquote { margin: 0 0 1.2rem; }
.chili blockquote p { max-width: 17ch; margin: 0; font-family: var(--schrift-plakat); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; }
.chili-text { max-width: 44ch; margin: 0; font-size: 1.2rem; }

/* Über uns */
.ueber { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.ueber-panorama { margin: 0; }
.ueber-panorama img { width: 100%; height: clamp(180px, 30vw, 380px); object-fit: cover; object-position: 50% 40%; }
.ueber-panorama figcaption { max-width: var(--breite); margin: .7rem auto 0; padding: 0 var(--rand); font-family: var(--schrift-schild); font-size: 1.3rem; color: var(--kaffee-weich); }
.ueber-innen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--rand) 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.ueber-text h2 { margin-bottom: 1.4rem; max-width: 16ch; }
.ueber-text p { max-width: 60ch; }
.ueber-bilder { position: relative; padding: 0 0 22% 0; }
.ueber-bilder .polaroid:first-child { width: 62%; margin-left: 8%; }
.ueber-bilder .polaroid:last-child { position: absolute; right: 0; bottom: 0; width: 62%; }
.feiern {
    max-width: calc(var(--breite) - 2 * 2.5rem);
    margin: clamp(2.5rem, 6vw, 4rem) auto 0;
    padding: 1.8rem 2rem 1.2rem;
    background: var(--senf);
    border: 3px solid var(--kaffee);
    box-shadow: 6px 6px 0 var(--kaffee);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .5rem 2.5rem;
    align-items: baseline;
}
.feiern h3 { font-family: var(--schrift-plakat); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--chili); }
.feiern p { max-width: 62ch; }

/* Öffnungszeiten und Kontakt */
.besuch { max-width: var(--breite); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--rand); }
.besuch > h2 { margin-bottom: 2rem; }
.besuch-spalten { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.besuch h3 { color: var(--petrol); margin-bottom: .8rem; }
.zeiten-tabelle { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.zeiten-tabelle thead th { font-family: var(--schrift-schild); font-weight: 400; font-size: 1.15rem; color: var(--kaffee-weich); text-align: left; padding: 0 .8rem .4rem; }
.zeiten-tabelle td, .zeiten-tabelle tbody th { padding: .7rem .8rem; border-top: 2px solid var(--sand-dunkel); text-align: left; vertical-align: baseline; }
.zeiten-tabelle tbody th { font-family: var(--schrift-schild); font-weight: 700; font-size: 1.45rem; }
.zeiten-tabelle td:last-child { color: var(--kaffee-weich); }
.zeiten-tabelle td, .zeiten-tabelle thead th { white-space: nowrap; }
.zeiten-tabelle tr.heute { background: var(--sand-hell); }
.zeiten-tabelle tr.heute th::after { content: "heute"; margin-left: .6rem; padding: 0 .4rem; font-size: .95rem; color: var(--sand-hell); background: var(--petrol); border-radius: 2px; vertical-align: .15em; }
.kontakt address { font-style: normal; margin-bottom: 1.2rem; font-size: 1.2rem; }
.kontakt-link { font-family: var(--schrift-schild); font-weight: 700; font-size: 2rem; line-height: 1.1; text-decoration: none; }
.kontakt-weiter { display: flex; gap: 1.5rem; font-family: var(--schrift-schild); font-size: 1.4rem; }

/* Reservierung */
.reservieren { background: var(--chili); color: var(--sand-hell); }
.reservieren-innen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5.5rem) var(--rand);
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.reservieren h2 { color: var(--sand-hell); margin-bottom: 1.4rem; }
.reservieren-text a { color: var(--senf); font-weight: 600; }
.formular, .bestaetigung {
    padding: clamp(1.4rem, 4vw, 2.4rem);
    color: var(--kaffee);
    background: var(--sand-hell) var(--papier);
    border: 3px solid var(--kaffee);
    box-shadow: 8px 8px 0 var(--kaffee);
}
.formular { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.feld-breit { grid-column: 1 / -1; }
.feld-doppelt { grid-column: span 2; }
.feld label { display: block; margin-bottom: .25rem; font-family: var(--schrift-schild); font-weight: 700; font-size: 1.3rem; }
.optional { font-weight: 400; color: var(--kaffee-weich); }
.feld input, .feld select {
    width: 100%;
    height: 3rem;
    padding: 0 .7rem;
    font: inherit;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--kaffee);
    background-color: #FFFBF2;
    border: 2px solid var(--kaffee-weich);
    border-radius: 3px;
}
/* Auswahlliste ohne System-Pfeil, damit sie gleich hoch ist wie die anderen Felder; eigener Pfeil im Seitenstil */
.feld select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5L7 7l5.5-5.5' fill='none' stroke='%232B1A12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    background-size: 14px 9px;
}
.feld input:focus-visible, .feld select:focus-visible { outline: 3px solid var(--senf); outline-offset: 1px; border-color: var(--kaffee); }
/* Datumsfeld: darf schmaler werden als die eingebaute Mindestbreite (sonst ragt es auf dem iPhone unter die Uhrzeit) */
.feld input[type="date"] { display: block; min-width: 0; }
.datum-rahmen { position: relative; }
.datum-hinweis { display: none; position: absolute; left: calc(.7rem + 2px); top: 50%; transform: translateY(-50%); color: #8F7F6F; pointer-events: none; }
/* nur Safari auf iPhone/iPad: native Optik aus, Datum linksbündig, Hinweis im leeren Feld (iOS zeigt dort sonst gar nichts) */
@supports (-webkit-touch-callout: none) {
    .feld input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; line-height: calc(3rem - 4px); }
    .feld input[type="date"]::-webkit-date-and-time-value { margin: 0; text-align: left; line-height: calc(3rem - 4px); }
    .feld-datum:not(.hat-wert) .datum-hinweis { display: block; }
}
.feld select:disabled { color: var(--kaffee-weich); background-color: var(--sand); opacity: 1; }
.feld [aria-invalid="true"] { border-color: var(--chili); box-shadow: 0 0 0 2px var(--chili); }
.formular-fehler { margin: 0; padding: .7rem 1rem; font-weight: 600; color: var(--sand-hell); background: var(--chili-tief); border-radius: 3px; }
.formular .klein { margin: 0; }
.formular .knopf { width: 100%; }
.bestaetigung h3 { font-family: var(--schrift-plakat); font-weight: 400; font-size: 2rem; color: var(--chili); margin-bottom: 1rem; }
.bestaetigung:focus { outline: none; }

/* Fuß */
.fuss { background: var(--kaffee); color: var(--sand); }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 3rem var(--rand) 3.5rem; text-align: center; }
.fuss img { width: 170px; margin: 0 auto 1.4rem; }
.fuss a { color: var(--senf); }
.fuss-links { display: flex; justify-content: center; gap: 1.5rem; margin: 0; font-family: var(--schrift-schild); font-size: 1.35rem; }

/* Modalfenster für Impressum und Datenschutz: Kopf mit Band bleibt stehen, nur der Text scrollt */
.modal {
    width: min(780px, calc(100% - 2rem));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    padding: 0;
    color: var(--kaffee);
    background: var(--sand-hell) var(--papier);
    border: 3px solid var(--kaffee);
    border-radius: 4px;
    box-shadow: 8px 8px 0 var(--kaffee);
    overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; }
.modal:focus-visible { outline: none; }
.modal::backdrop { background: rgba(43, 26, 18, .75); }
body:has(.modal[open]) { overflow: hidden; }
.modal .band { flex: none; }
.modal-kopf {
    flex: none;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem;
    padding: 1.1rem clamp(1rem, 4vw, 2.2rem) 1rem;
    border-bottom: 2px dotted var(--sand-dunkel);
}
.modal-kopf h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.modal-kopf form { margin: 0; }
.modal-inhalt {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.4rem clamp(1rem, 4vw, 2.2rem) 2rem;
    font-size: 1rem;
    line-height: 1.6;
}
.modal-inhalt h3 { margin: 1.7rem 0 .45rem; font-size: 1.55rem; color: var(--chili); }
.modal-inhalt h3:first-child { margin-top: 0; }
.modal-inhalt ul { margin: 0 0 1em; padding-left: 1.2em; }
.modal-inhalt li { margin-bottom: .3em; }
.modal-inhalt a { overflow-wrap: anywhere; }
.modal-inhalt > :last-child { margin-bottom: 0; }

/* Plakat-Deko: ohne Seitenrand neben dem Inhalt kleiner werden bzw. weichen */
@media (max-width: 1340px) {
    .deko-kaktus { display: none; }
}
@media (max-width: 1180px) {
    .deko-palme { top: -20px; left: -50px; width: clamp(180px, 24vw, 300px); }
}
@media (max-width: 760px) {
    .deko-palme { top: -24px; left: -60px; width: 190px; }
    .deko-lichter { width: 280px; right: -40px; top: calc(var(--navi-hoehe) - 18px); }
    .deko-agave { width: 120px; right: -34px; bottom: -10px; }
    .held-logo img { width: 100%; }
}

/* Schnellzugriff unten auf dem Handy */
.leiste { display: none; }

@media (max-width: 960px) {
    .held-innen, .aktuell-innen, .ueber-innen, .reservieren-innen, .besuch-spalten { grid-template-columns: 1fr; }
    .held-bilder { max-width: 560px; }
    .aktuell-flyer { max-width: 420px; margin: 0 auto; }
    .feiern { grid-template-columns: 1fr; margin-left: var(--rand); margin-right: var(--rand); }
    .ueber-bilder { max-width: 520px; }
}

/* Menü-Knopf statt Menüzeile, sobald die Punkte nicht mehr sicher in eine Zeile passen (gemessen: knapp ab 836 px) */
@media (max-width: 880px) {
    .navi { position: relative; gap: 1rem; }
    .menue-knopf { display: inline-flex; margin-left: auto; }
    .navi-links {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0;
        margin: 0; padding: .3rem var(--rand) 1rem;
        background: var(--sand) var(--papier);
        border-bottom: 3px solid var(--kaffee);
        box-shadow: 0 12px 18px rgba(43, 26, 18, .2);
    }
    .kopf.menue-offen { background: var(--sand) var(--papier); }
    .kopf.menue-offen .navi-links { display: flex; }
    .navi-links a { display: block; padding: .7rem 0 .55rem; font-size: 1.8rem; border-bottom: 2px dotted var(--sand-dunkel); }
    .navi-links li:last-child a { border-bottom: 0; }
}

@media (max-width: 760px) {
    body { font-size: 1.0625rem; padding-bottom: 4.6rem; }
    :root { --navi-hoehe: 64px; }
    .navi { padding-top: .4rem; padding-bottom: .4rem; }
    .navi-logo img { height: 44px; }
    .navi-reservieren { display: none; }
    .held .knoepfe { flex-direction: column; }
    .held .knoepfe .knopf { width: 100%; }
    .status { margin: .9rem 0 1.9rem; }
    .gerichte { grid-template-columns: 1fr; }
    .zeiten-tabelle td, .zeiten-tabelle tbody th { padding: .65rem .45rem; }
    .zeiten-tabelle thead th { padding: 0 .45rem .4rem; }
    .zeiten-tabelle tbody th { font-size: 1.3rem; }
    .karte-reiter { gap: .5rem; justify-content: center; padding-bottom: 0; border-bottom: 0; }
    .reiter { margin: 0; padding: .25rem .85rem .2rem; font-size: 1.3rem; background: var(--sand-hell); border: 2px solid var(--sand-dunkel); border-radius: 999px; }
    .reiter[aria-selected="true"] { color: var(--sand-hell); background: var(--chili); border-color: var(--chili); }
    .formular { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .formular .feld-telefon, .formular .feld-doppelt, .formular .feld-personen { grid-column: 1 / -1; }
    .leiste {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
        padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
        background: var(--sand) var(--papier);
        border-top: 3px solid var(--kaffee);
    }
    .leiste .knopf { font-size: 1.3rem; box-shadow: 2px 2px 0 var(--kaffee); }
}

@media (max-width: 520px) {
    .modal { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); box-shadow: 4px 4px 0 var(--kaffee); }
    /* Titel in Plakatschrift und „Schließen“ passen nicht nebeneinander: nur das X zeigen, Text bleibt für Screenreader */
    .modal-zu { padding: .7rem; }
    .modal-zu-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .deko-lichter { top: 0; left: 30px; right: auto; width: 230px; transform: none; }
    .preis-block { gap: 1rem; }
    .stempel { font-size: 1.4rem; }
}
