/* =========================================================
   Öz Urfa Soltau – Design "Öz Urfa 2a"
   Farben gegenüber dem Design leicht angepasst, wo der Kontrast
   für WCAG 2.2 AA (4,5:1 bei normalem Text) nicht reichte.
   ========================================================= */

:root {
    --bg: #1d1511;
    --bg-card: #261c16;
    --line: #2f241c;
    --line-card: #33271f;
    --border: #5a4838;
    --cream: #f3e9da;
    --ink: #2a1c15;
    --text: #f3e9da;
    --text-2: #d8c6ad;
    --text-3: #c9b69c;
    --muted: #a8957c;          /* Design: #8a7660 (4,1:1) */
    --green: #58B934;
    --green-btn: #2F7D1C;
    --green-btn-hover: #276A17;
    --green-on-light: #276A17; /* Design: #2F7D1C (4,3:1 auf Creme) */
    --muted-on-light: #6b5444; /* Design: #8a705f (3,8:1) */
    --text-on-light-2: #5a4538;
    --input-border: #8f7a68;
    --error: #a33a22;

    --f-display: 'Gloock', Georgia, serif;
    --f-hand: 'Caveat', 'Segoe Print', cursive;
    --f-serif: 'Cormorant Garamond', Georgia, serif;
    --f-sans: 'Nunito Sans', system-ui, sans-serif;

    --px: clamp(16px, 5vw, 72px);
    --navh: 94px;
    --radius: 6px;
}

@media (max-width: 900px) {
    :root { --navh: 82px; }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--f-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: opacity .3s ease;
}

/* Erster Aufruf: kurz ausgeblendet, bis die Schriften da sind (js/fonts-ready.js, max. 500 ms) */
html.fonts-loading body { opacity: 0; }

/* Seitenwechsel weich überblenden (Chrome, Edge, Safari; andere Browser wechseln wie bisher).
   Die Kopfzeile hat einen eigenen Namen und bleibt dadurch stehen, statt mitzublenden. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
.site-header { view-transition-name: site-header; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
/* Telefonnummern nie mitten in der Nummer umbrechen ("+49 5191 9783263" enthält Leerzeichen) */
a[href^="tel:"] { white-space: nowrap; }
a:hover { opacity: .85; }

p { margin: 0; }

input, select, button, textarea { font: inherit; }

:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
    border-radius: 2px;
}
.on-light :focus-visible { outline-color: var(--ink); }

main:focus { outline: none; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -100px;
    z-index: 100;
    background: var(--green);
    color: var(--bg);
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
}
.skip-link:focus { top: 16px; }

.page {
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

main { flex: 1; display: flex; flex-direction: column; }

/* ---------- Typografie ---------- */
.display {
    font-family: var(--f-display);
    font-weight: 400;
    margin: 0;
    line-height: 1.05;
    text-wrap: pretty;
}
.display--xl { font-size: clamp(40px, 6vw, 80px); line-height: 1; }
.display--lg { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; }
.display--md { font-size: clamp(28px, 3.4vw, 48px); }
.display--sm { font-size: 30px; line-height: 1.15; }

.kicker {
    font-family: var(--f-hand);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.15;
    color: var(--green);
    margin: 0;
}
.kicker--lg { font-size: 34px; }
.kicker--sm { font-size: 24px; }
.kicker--tilt { transform: rotate(-2deg); align-self: start; }
.on-light .kicker--dark { color: var(--green-on-light); }
.letter .kicker--lg { font-size: 40px; }

.lead { font-size: 19px; line-height: 1.7; color: var(--text-2); max-width: 540px; }
.lead--sm { font-size: 18px; max-width: 480px; }
.muted { color: var(--text-3); font-size: 16px; line-height: 1.6; max-width: 520px; }
.small-muted { font-size: 14px; line-height: 1.6; color: var(--muted); }

.prose {
    font-family: var(--f-serif);
    font-size: clamp(19px, 1.8vw, 24px);
    line-height: 1.6;
}
.prose--light { color: #e6d9c6; }

.underline { text-decoration: underline; text-underline-offset: 3px; }
.strong-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    color: inherit;
    text-align: center;
}
.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn--green { background: var(--green); color: var(--bg); font-weight: 700; }
.btn--dark { background: var(--bg); color: var(--cream); font-weight: 700; }
.btn--outline { border-color: var(--border); color: var(--text); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-green { color: var(--green-on-light); }
.btn--submit {
    width: 100%;
    margin-top: 6px;
    padding: 18px;
    background: var(--green-btn);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: 0;
}
.btn--submit:hover { background: var(--green-btn-hover); opacity: 1; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

.text-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 4px;
}

.hand-link {
    align-self: start;
    font-family: var(--f-hand);
    font-size: 26px;
    color: var(--green-on-light);
    border-bottom: 2px solid currentColor;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--navh);
    padding: 18px var(--px);
    background: rgba(29, 21, 17, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__logo { display: flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 36px; width: auto; }

.site-nav ul {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--text-2);
}
.site-nav a { display: inline-block; padding: 12px 0; border-bottom: 1px solid transparent; }
.site-nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

.burger {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: inline; }

.mobile-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px var(--px) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
    animation: fadeUp .25s ease both;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a {
    display: block;
    padding: 14px 0;
    font-family: var(--f-display);
    font-size: 24px;
    border-bottom: 1px solid var(--line);
}
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { color: var(--green); }
.mobile-nav__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.mobile-nav__actions .btn { flex: 1; padding: 16px 22px; font-size: 15px; }

@media (max-width: 900px) {
    .site-nav, .site-header__cta { display: none; }
    .burger { display: flex; }
}

/* ---------- Footer ---------- */
/* Mobil: alles untereinander und zentriert.
   Desktop: Logo | Adresse | Rechtliches – gleich breite Außenspalten, damit die Mitte wirklich mittig sitzt. */
.site-footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 12px 24px;
    padding: 32px var(--px);
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
    text-align: center;
}
.site-footer__logo { height: 26px; width: auto; opacity: .7; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.site-footer__links a { display: inline-block; padding: 8px 0; }
.site-footer__links a:hover { color: var(--text); opacity: 1; }
.site-footer__links--main { grid-column: 1 / -1; order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 8px; }

@media (min-width: 1000px) {
    .site-footer { grid-template-columns: 1fr auto 1fr; }
    .site-footer__logo { justify-self: start; }
    .site-footer__links:not(.site-footer__links--main) { justify-self: end; justify-content: flex-end; }
}

/* ---------- Fotos & Platzhalter ---------- */
.photo { width: 100%; object-fit: cover; border-radius: 4px; }
.photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 12px;
    text-align: center;
    background: repeating-linear-gradient(135deg, #d9c7ad 0 12px, #e3d3bb 12px 24px);
}
.photo--placeholder span {
    font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
    font-size: 11px;
    color: #4a3a2e;
    background: rgba(243, 233, 218, .9);
    padding: 6px 10px;
}
img.photo { aspect-ratio: 1; }
.photo--dish { aspect-ratio: 4 / 3; }
.photo--dish.photo--placeholder { background: repeating-linear-gradient(135deg, #2f241c 0 10px, #372a21 10px 20px); }
.photo--dish.photo--placeholder span { background: none; color: var(--muted); }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: auto; height: clamp(240px, 40vw, 560px); border-radius: var(--radius); }
.photo--wide.photo--placeholder { background: repeating-linear-gradient(135deg, #2f241c 0 14px, #372a21 14px 28px); }
.photo--wide.photo--placeholder span { background: none; border: 1px solid #4a3a2e; color: var(--muted); font-size: 12px; }
.photo--round { aspect-ratio: 1; border-radius: 50%; max-width: 320px; justify-self: center; }

/* ---------- Start: Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(40px, 5vw, 64px);
    align-items: center;
    padding: clamp(32px, 5vw, 64px) var(--px) clamp(72px, 9vw, 140px);
}
.hero__text { display: flex; flex-direction: column; gap: 30px; }
.status { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }

/* Polaroids: äußeres Element fällt herein (Animation), inneres richtet sich beim Hover gerade */
.polaroids {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1;
    margin: 0 auto 14%;
}
.polaroid {
    position: absolute;
    z-index: 1;
    animation: polaroidDrop .9s cubic-bezier(.2, .8, .2, 1) both;
}
.polaroid:hover { z-index: 3; }
.polaroid__inner {
    background: var(--cream);
    padding: 3.5% 3.5% 11%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s;
    cursor: default;
}
.polaroid:hover .polaroid__inner {
    transform: rotate(calc(-1 * var(--r1))) scale(1.08) translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
}
.polaroid .photo { border-radius: 0; }
.polaroid__caption {
    font-family: var(--f-hand);
    font-size: clamp(16px, 2.4vw, 26px);
    color: #3a2a20;
    margin-top: 4%;
    text-align: center;
    line-height: 1.1;
}
.polaroid--1 { left: 6%; top: 3%; width: 60%; --r0: -14deg; --r1: -4deg; animation-delay: .2s; }
.polaroid--2 { right: 3%; top: 32%; width: 48%; --r0: 16deg; --r1: 5deg; animation-delay: .55s; }
.polaroid--3 { left: 0; bottom: -12%; width: 36%; --r0: 10deg; --r1: 2deg; animation-delay: .9s; }
.polaroid--3 .polaroid__caption { font-size: clamp(13px, 2.2vw, 24px); }

@media (max-width: 900px) {
    .polaroids { display: none; }
}

/* ---------- Start: Brief ---------- */
.on-light { background: var(--cream); color: var(--ink); }

.letter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    margin: 0 var(--px);
    padding: clamp(32px, 6vw, 80px) clamp(20px, 6vw, 96px);
    border-radius: var(--radius);
}
.letter__text { display: flex; flex-direction: column; gap: 28px; }
.letter__aside { display: flex; flex-direction: column; gap: 20px; max-width: 520px; width: 100%; justify-self: center; margin: 0; }
@media (min-width: 900px) {
    /* Porträt wächst mit dem Brieftext mit (Seitenverhältnis 4:5 bleibt) */
    .letter { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
}
.signature { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.signature__name { font-family: var(--f-hand); font-size: 44px; line-height: 1.1; transform: rotate(-3deg); align-self: start; }
.signature__role { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-light); }
.quote { font-family: var(--f-hand); font-size: 24px; color: var(--text-on-light-2); line-height: 1.3; transform: rotate(-1deg); }

/* ---------- Start: Ritual ---------- */
.ritual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(32px, 4vw, 48px);
    padding: clamp(64px, 8vw, 112px) var(--px);
}
.ritual__item { display: flex; flex-direction: column; gap: 14px; }
.ritual__item > p:last-child { color: var(--text-3); line-height: 1.65; }

/* ---------- Abschnitte & Gerichte ---------- */
.section {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 0 var(--px) clamp(64px, 8vw, 120px);
}
.section__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 16px 32px;
}
.section__head > div { display: flex; flex-direction: column; gap: 10px; }

.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}
.dish {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--line-card);
    border-radius: var(--radius);
}
.dish[hidden] { display: none; }
.dish__media { position: relative; }
.dish__badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--cream);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
}
.dish__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dish__name { font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0; }
.dish__price { font-family: var(--f-hand); font-size: 26px; color: var(--green); white-space: nowrap; }
.dish__desc { font-size: 14px; line-height: 1.55; color: var(--text-3); }
.dish__badge--inline { position: static; align-self: flex-start; }
.dish__no { font-family: var(--f-sans); font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 6px; vertical-align: 3px; }

.cta-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px 40px;
    margin: 0 var(--px) clamp(64px, 8vw, 120px);
    padding: clamp(32px, 4vw, 56px) clamp(20px, 4.5vw, 64px);
    background: var(--green);
    color: var(--bg);
    border-radius: var(--radius);
}
.cta-band > div { display: flex; flex-direction: column; gap: 10px; }
.cta-band__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 0; }
.cta-band__text { font-size: 17px; }
.cta-band__text a { font-weight: 700; text-decoration: underline; }
.cta-band :focus-visible { outline-color: var(--bg); }

/* ---------- Unterseiten: Intro ---------- */
.page-intro { padding: clamp(48px, 6vw, 88px) var(--px) clamp(40px, 4vw, 64px); }
.page-intro > div { display: flex; flex-direction: column; gap: 22px; }
.page-intro--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(24px, 4vw, 64px);
    align-items: end;
}
.page-intro--menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 32px 48px;
    padding-bottom: 48px;
}
.page-intro__main { gap: 18px !important; }

/* ---------- Geschichte ---------- */
.wide-photo { margin: 0 var(--px); }

.chapter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    padding: clamp(64px, 8vw, 120px) var(--px) 0;
}
.chapter__text { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) {
    .chapter--reverse .chapter__text { order: 2; }
}
.polaroid-static {
    width: 100%;
    max-width: 460px;
    justify-self: center;
    margin: 0;
    padding: 14px 14px 20px;
    background: var(--cream);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.polaroid-static .photo { border-radius: 0; }
.polaroid-static .polaroid__caption { margin-top: 12px; font-size: 26px; }
.polaroid-static--0 { transform: rotate(-3deg); }
.polaroid-static--1 { transform: rotate(3deg); }
.polaroid-static--2 { transform: rotate(-2deg); }

.isot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    margin: clamp(64px, 8vw, 120px) var(--px);
    padding: clamp(32px, 5vw, 72px) clamp(20px, 6vw, 96px);
    border-radius: var(--radius);
}
.isot__text { display: flex; flex-direction: column; gap: 20px; }

.closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    padding: 0 var(--px) clamp(64px, 8vw, 120px);
}
.closing__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 700px; margin: 0; }
.closing--error { padding-top: clamp(64px, 10vw, 140px); flex: 1; justify-content: center; }
.closing--error .lead { max-width: 560px; }

/* ---------- Speisekarte ---------- */
.tip {
    flex: 0 1 340px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    border-radius: 4px;
    transform: rotate(1.5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.tip__title { font-family: var(--f-hand); font-size: 24px; color: var(--green-on-light); line-height: 1; }
.tip__text { font-family: var(--f-serif); font-size: 19px; line-height: 1.4; }

/* Kategorie-Leiste: immer genau eine Zeile (zu breit → seitlich wischen). Die feste Höhe
   (--catbarh) braucht .menu-cat für scroll-margin, damit Sprünge an der Überschrift landen. */
:root { --catbarh: 80px; } /* 12px oben + 4px Luft + 44px Chip + 4px Luft + 16px unten */
.catbar {
    position: sticky;
    top: calc(var(--navh) - 1px);
    z-index: 10;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    height: var(--catbarh);
    padding: 12px var(--px) 16px;
    background: rgba(29, 21, 17, .94);
    backdrop-filter: blur(10px);
}
.catbar nav { flex: 1 1 auto; min-width: 0; }
/* overflow-y: hidden ausdrücklich: Sonst macht overflow-x die Liste auch senkrecht scrollbar, und das
   Mausrad schiebt die Chips um ein paar Pixel weg (unterer Rand abgeschnitten, v. a. Firefox mit Skalierung).
   Die 4px Luft oben/unten halten Rand und Fokusrahmen sichtbar. */
.catbar__list { display: flex; flex-wrap: nowrap; gap: 10px; list-style: none; margin: 0; padding: 4px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.catbar__list::-webkit-scrollbar { display: none; }
.catbar__list li { flex: none; display: flex; }
.catbar .chip--toggle { flex: none; }
.chip {
    display: inline-flex;
    align-items: center;
    height: 44px; /* fest statt min-height: sonst ergibt Zeilenhöhe + Innenabstand je nach Skalierung 46–47px */
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: none;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.chip--toggle[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.chip--toggle[aria-pressed="true"]::before { content: "✓"; margin-right: 6px; }
/* Kategorie, in der man gerade ist (js/site.js) */
.catbar__list .chip[aria-current="true"] { border-color: var(--green); color: var(--text); }

.menu {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 72px);
    padding: 0 var(--px) clamp(64px, 8vw, 120px);
}
.menu-cat { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: calc(var(--navh) + var(--catbarh) + 16px); }
.menu-cat[hidden] { display: none; }
.menu-cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.menu-cat__head .display { font-size: clamp(28px, 3vw, 40px); }
.menu-cat__head .kicker { font-size: 22px; }

/* ---------- Reservierung ---------- */
.res {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    min-height: calc(100vh - var(--navh));
}
.res__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(48px, 6vw, 88px) var(--px);
}
.res__intro { display: flex; flex-direction: column; gap: 22px; }
.res__facts {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--line-card);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-3);
}
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 420px) {
    .facts { grid-template-columns: 1fr; }
    .facts dd { margin-bottom: 8px; }
}

.res__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: clamp(40px, 6vw, 88px) clamp(16px, 6vw, 96px);
}

.form { display: flex; flex-direction: column; gap: 22px; }
.form__hint { font-size: 14px; color: var(--muted-on-light); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-on-light);
    font-weight: 700;
    padding: 0;
}
.field > legend { margin-bottom: 8px; }
.field__optional { text-transform: none; letter-spacing: 0; font-weight: 600; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius);
    font-size: 16px;
    background: #fff;
    color: var(--ink);
    color-scheme: light;
}
.field textarea { resize: vertical; }
/* iOS-Safari: Das native Datumsfeld hat eine eigene Mindestbreite und ignoriert width: 100%,
   dadurch ragt es auf dem iPhone über den Rand. appearance: none + min-width: 0 lässt es schrumpfen;
   ohne native Darstellung bekommt es Höhe und Ausrichtung wie die übrigen Felder. */
.field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    max-width: 100%;
    height: calc(28px + 1.5em + 2px); /* Innenabstand + Zeile + Rahmen, genau wie die Textfelder */
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }
.field input::placeholder, .field textarea::placeholder { color: #7d6a5c; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.field__hint { font-size: 13px; color: var(--muted-on-light); }
.field__error { font-size: 14px; font-weight: 600; color: var(--error); }
.field__error::before { content: "⚠ "; }

.persons__list { display: flex; flex-wrap: wrap; gap: 8px; }
.persons__list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.persons__list label {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--input-border);
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.persons__list input:checked + label { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.persons__list input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__legal { font-size: 13px; color: var(--muted-on-light); text-align: center; line-height: 1.5; }
.form__legal a { text-decoration: underline; }

.alert {
    padding: 16px 20px;
    border: 2px solid var(--error);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
}
.alert ul { margin: 0; padding-left: 20px; }
.alert a { text-decoration: underline; }

.sent { display: flex; flex-direction: column; gap: 18px; animation: fadeUp .5s ease both; }
.sent__hello { font-family: var(--f-hand); font-size: 56px; color: var(--green-on-light); line-height: 1; transform: rotate(-2deg); align-self: start; }
.sent > p:not(.sent__hello) { font-size: 16px; line-height: 1.6; color: var(--text-on-light-2); }
.summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 24px;
    margin: 0;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #d6c6b3;
    border-radius: var(--radius);
    font-size: 16px;
}
.summary dt { color: var(--muted-on-light); }
.summary dd { margin: 0; font-weight: 600; }
.summary__status { color: var(--green-on-light); }

/* ---------- Anfahrt ---------- */
.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    min-height: calc(100vh - var(--navh));
}
.contact__info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* oben beginnen wie auf den anderen Seiten */
    gap: 40px;
    padding: clamp(48px, 6vw, 88px) var(--px);
}
.contact__info > div:first-child { display: flex; flex-direction: column; gap: 22px; }
.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 28px 32px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-2);
}
.contact__grid h2 { line-height: 1; margin-bottom: 8px; }
.contact__grid address { font-style: normal; }

/* isolation: Leaflet nutzt z-index 400–1000; ohne eigenen Stapelkontext läge die Karte über der Kopfzeile (z-index 20). */
.map { position: relative; isolation: isolate; min-height: clamp(360px, 60vh, 720px); background: #241a15; }
.map__canvas { position: absolute; inset: 0; }
.map__consent {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px var(--px);
    text-align: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(88, 185, 52, .08), transparent 60%),
        repeating-linear-gradient(135deg, #2a1f19 0 14px, #2f241c 14px 28px);
}
.map__consent[hidden] { display: none; }
.map__title { font-family: var(--f-display); font-size: 28px; }
.map__text { max-width: 420px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.map__text a { text-decoration: underline; }

/* Leaflet-Anpassungen (dunkles Kartenthema wie im Design) */
.map .leaflet-container { background: var(--bg); font-family: var(--f-sans); }
.map .leaflet-tile-pane { filter: invert(1) hue-rotate(190deg) brightness(.75) contrast(1.05) saturate(.3) sepia(.5); }
.map .leaflet-control-attribution { background: rgba(29, 21, 17, .85) !important; color: var(--text-3) !important; font-size: 11px; }
.map .leaflet-control-attribution a { color: var(--text-2) !important; }
.map .leaflet-control-zoom a { background: var(--cream) !important; color: var(--ink) !important; border-color: #d6c6b3 !important; }
.map-pin { position: relative; width: 44px; height: 56px; }
.map-pin svg { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); }
.map-pin__label {
    position: absolute;
    left: 52px; top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px;
    white-space: nowrap;
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.map-pin__label b { font-family: var(--f-display); font-weight: 400; font-size: 17px; line-height: 1.1; }
.map-pin__label span { font-size: 12px; color: #6b5a4c; }

/* ---------- Rechtstexte ---------- */
.legal {
    max-width: 780px;
    padding: clamp(48px, 6vw, 88px) var(--px) clamp(64px, 8vw, 120px);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-2);
}
.legal h1 { color: var(--text); margin-bottom: 24px; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--text); margin: 40px 0 12px; line-height: 1.2; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-size: 14px; background: var(--bg-card); padding: 2px 6px; border-radius: 4px; }
.legal__note { color: var(--muted); font-size: 14px; }

/* ---------- Animationen ---------- */
@keyframes polaroidDrop {
    0% { opacity: 0; transform: translateY(-140px) rotate(var(--r0, 0deg)) scale(1.08); }
    70% { opacity: 1; transform: translateY(8px) rotate(var(--r1, 0deg)) scale(1); }
    100% { opacity: 1; transform: translateY(0) rotate(var(--r1, 0deg)) scale(1); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

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