/* Restaurant Feldblau – Beispielseite von Gastrofindbar (erfundenes Restaurant), 20.11.2026
   Wird NACH restaurant.css (Restaurant-Layout) geladen. Farben nur hier in :root ändern. */

/* ---------- Schriften lokal (SIL Open Font License, Lizenztexte in assets/fonts) ---------- */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap;
    src: url('assets/fonts/bodoni-moda-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap;
    src: url('assets/fonts/bodoni-moda-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap;
    src: url('assets/fonts/source-sans-3-latin-wght-normal.woff2') format('woff2'); }

:root {
    /* Farbwelt „Stadtrestaurant“: Nachtblau, Feldblau, Messing, heller Stein */
    --terra: #2f4d72;        /* Feldblau dunkel – Knöpfe (Weiß darauf 8,9:1) */
    --terra-dark: #223a58;
    --olive: #7a5c30;        /* Messing dunkel – Überzeilen auf Hell */
    --gold: #d8b77c;         /* Messing hell – Schrift auf Fotos und Dunkel */
    --cream: #f7f5f0;        /* heller Stein */
    --sand: #ece8df;
    --ink: #19212d;          /* Nachtblau statt Schwarz */
    --muted: #586070;
    --line: #dcd6ca;
    --white: #ffffff;
    --font-head: 'Bodoni Moda', Didot, Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 6px;
    --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 1.0625rem; overflow-x: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--terra); text-decoration: none; }
a:hover { color: var(--terra-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
p + p { margin-top: 0.8rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); margin-bottom: .8rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.25rem); color: var(--muted); }
.nw { white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Leiste „Beispielseite“ (oben auf jeder Seite) ---------- */
.bsp-leiste { background: var(--ink); color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.4; text-align: center; padding: 7px 16px; position: relative; z-index: 50; }
.bsp-leiste a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.bsp-leiste a:hover { color: #fff; }
/* Fester Knopf „Vorschau beenden“ – immer sichtbar, zurück zu gastrofindbar.de */
.bsp-zurueck { position: fixed; left: 16px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px;
    background: var(--ink); color: #fff; font: 600 .9rem/1.2 var(--font-body); text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.2); }
.bsp-zurueck span { color: var(--gold); font-size: 1rem; }
.bsp-zurueck:hover, .bsp-zurueck:focus-visible { background: #000; color: #fff; }
@media (max-width: 860px) { .bsp-zurueck { left: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); } }
/* Mit JavaScript erst nach dem ersten Bildschirm einblenden (oben steht schon „Zurück zu gastrofindbar.de“) */
.js .bsp-zurueck { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.js .bsp-zurueck.sichtbar { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .bsp-zurueck { transition: none; } }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px;
    font: 600 1rem/1.2 var(--font-body); letter-spacing: .02em; border: 1.5px solid transparent; cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(0,0,0,.12); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-rand { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-rand:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; }

/* ---------- Kopf ---------- */
.f-oben { position: relative; }
.nav { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.logo { font-family: var(--font-head); font-size: 1.55rem; font-weight: 500; letter-spacing: .01em; line-height: 1; margin-right: auto; display: inline-flex; flex-direction: column; gap: 3px; }
.logo small { font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }
.sprache { font-weight: 700; font-size: .85rem; letter-spacing: .08em; border: 1px solid currentColor; border-radius: 999px; padding: 7px 12px; min-height: 36px; display: inline-flex; align-items: center; }
.r-header .sprache { color: #fff; text-shadow: none; }
.r-header.fest .sprache { color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 0; font: 600 .95rem var(--font-body); cursor: pointer; min-height: 44px; padding: 0 4px; }
.menu { list-style: none; display: flex; align-items: center; gap: 26px; }
.menu a { font-weight: 600; font-size: .98rem; }
.menu a:hover { color: var(--gold); }
.r-header.fest .menu a:not(.btn):hover { color: var(--terra); }
.r-header .menu .btn { color: #fff; }

@media (max-width: 860px) {
    .js .nav-toggle { display: inline-flex; }
    .js .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
        padding: 6px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0,0,0,.12); }
    .js .menu.open { display: flex; }
    .js .menu li a:not(.btn) { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
    .js .menu li:last-child { margin-top: 14px; }
    .js .menu .btn { width: 100%; }
    html:not(.js) .nav { flex-wrap: wrap; padding: 10px 0; }
    html:not(.js) .menu { flex-wrap: wrap; gap: 8px 16px; width: 100%; }
    html:not(.js) .r-header .menu { background: transparent; }
    html:not(.js) .r-header .menu a { color: #fff; }
}

/* ---------- Bühne ---------- */
.r-hero { min-height: 84vh; min-height: 84svh; padding-top: 5rem; }
.r-hero > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-hero::before { background: linear-gradient(90deg, rgba(10,14,22,.6) 0%, rgba(10,14,22,.25) 45%, rgba(10,14,22,0) 70%),
    linear-gradient(180deg, rgba(10,14,22,.55) 0%, rgba(10,14,22,0) 26%, rgba(10,14,22,.15) 50%, rgba(10,14,22,.86) 100%); }
.r-hero h1 { font-weight: 500; font-size: clamp(3rem, 8vw, 6.4rem); margin: .2rem 0 .7rem; }
.r-hero h1 em { color: #fff; }
.r-hero .kicker { color: var(--gold); }
.r-hero p.claim { max-width: 34rem; margin-bottom: 1.5rem; }
.r-hero-inner { padding-bottom: 2.6rem; }
.r-hero.bsp::after { top: 5.4rem; }
@media (max-width: 860px) {
    .r-hero { min-height: 84vh; min-height: 84svh; padding-top: 6rem; }
    .r-hero h1 { font-size: clamp(2.9rem, 13vw, 3.8rem); }
    .r-hero p.claim { font-size: 1.08rem; margin-bottom: 1.2rem; }
    .r-hero-inner { padding-bottom: 1.6rem; }
    .r-hero .hero-actions .btn { flex: 1 1 auto; white-space: nowrap; padding: 12px 20px; }
}

/* ---------- Infoleiste unter der Bühne ---------- */
.f-info { background: var(--white); border-bottom: 1px solid var(--line); }
.f-info .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.f-info .container > div { padding: 1.1rem 1.4rem 1.1rem 0; display: grid; gap: 2px; }
.f-info .container > div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.f-info strong { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }
.f-info span, .f-info a { font-size: 1rem; color: var(--ink); }
.f-info a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 860px) {
    .f-info .container { grid-template-columns: 1fr; }
    .f-info .container > div, .f-info .container > div + div { padding: .8rem 0; border-left: 0; border-top: 1px solid var(--line); }
    .f-info .container > div:first-child { border-top: 0; }
}

/* ---------- Abschnitte ---------- */
.f-sand { background: var(--sand); }
.r-head .lead { margin-top: .2rem; }
.r-dish h3, .r-dish.gross h3 { font-weight: 500; }
.r-dishes { --gap: .9rem; }
.r-dish { border-radius: var(--radius); }
.r-dish::before { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(10,14,22,.78) 100%); }
.f-mehr { margin-top: 2rem; }

/* Aktuell (ohne Kalenderdaten, damit nichts veraltet) */
.r-termine { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.r-termin { border-radius: var(--radius); border-color: var(--line); padding: 1.4rem 1.4rem 1.5rem; }
.r-termin .r-termin-wann { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.r-termin h3 { font-size: 1.45rem; }

/* Bildband */
.r-band > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-band::before { background: linear-gradient(90deg, rgba(10,14,22,.8) 0%, rgba(10,14,22,.35) 60%, rgba(10,14,22,.1) 100%); }
.r-band .container, .r-pagehead .container { width: 100%; }
.r-band.bsp::after { top: .8rem; bottom: auto; }
.r-band .hero-actions { margin-top: 1.4rem; }
@media (max-width: 860px) { .r-band::before { background: linear-gradient(180deg, rgba(10,14,22,.1) 15%, rgba(10,14,22,.85) 100%); } }

/* Anlässe */
.r-anlass { border-radius: var(--radius); }
.r-anlass figure { position: relative; margin: 0; }
.r-anlass figure.bsp::after { top: .6rem; bottom: auto; }
.r-anlass h3 { font-size: 1.4rem; }

/* Fragen */
.f-fragen { max-width: 46rem; }
.f-fragen details { border-bottom: 1px solid var(--line); }
.f-fragen summary { list-style: none; cursor: pointer; padding: 1.1rem 2.6rem 1.1rem 0; position: relative; font-weight: 600; font-size: 1.1rem; min-height: 44px; }
.f-fragen summary::-webkit-details-marker { display: none; }
.f-fragen summary::after { content: '+'; position: absolute; right: .3rem; top: .75rem; font: 400 1.6rem/1 var(--font-head); color: var(--olive); }
.f-fragen details[open] summary::after { content: '–'; }
.f-fragen details p { padding: 0 0 1.2rem; color: var(--muted); max-width: 60ch; }

/* ---------- Tisch anfragen (Vorführung) ---------- */
.f-anfrage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.f-anfrage .r-call { margin-top: 1.4rem; border-radius: var(--radius); }
.f-anfrage .r-call:hover { background: var(--terra-dark); }
.f-anfrage-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); }
.f-anfrage-box .r-form { margin-top: 0; }
.r-form label { font-size: .86rem; color: var(--muted); font-weight: 600; }
.r-form input, .r-form textarea { border-radius: 4px; min-height: 46px; }
.r-form input:focus, .r-form textarea:focus { outline: 2px solid var(--terra); outline-offset: 0; border-color: var(--terra); }
.f-absenden { display: grid; gap: .6rem; }
.f-vorfuehrung { font-size: .9rem; background: #fdf6e3; border: 1px dashed #c9a24a; color: #5a4520; border-radius: 4px; padding: .55rem .75rem; }
.r-msg.ok { background: #e6eef7; color: var(--terra-dark); border: 1px solid #b9cbe0; font-weight: 600; }
@media (max-width: 860px) { .f-anfrage { grid-template-columns: 1fr; } }

/* ---------- Kontakt dunkel ---------- */
.r-dark { background: var(--ink); }
.f-kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.f-kontakt address { font-style: normal; font-size: 1.15rem; line-height: 1.6; color: #fff; }
.f-kontakt .f-tel { display: inline-block; margin-top: .6rem; font-size: 1.3rem; font-weight: 600; }
.f-kontakt .hero-actions { margin-top: 1.6rem; }
.f-kontakt .note { margin-top: 1.4rem; font-size: .95rem; }
.r-dark .btn-ghost { color: #fff; }
.r-dark .btn-primary { color: #fff; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours th, .hours td { text-align: left; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.14); vertical-align: top; font-weight: 400; }
.hours th { color: #fff; font-weight: 600; padding-right: 1rem; }
.hours td { text-align: right; }
.r-dark .note { color: rgba(255,255,255,.62); }
@media (max-width: 860px) { .f-kontakt { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.site-footer { background: #10161f; color: rgba(255,255,255,.66); padding: 2.6rem 0 2rem; font-size: .92rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer .logo { color: #fff; font-size: 1.3rem; margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .f-hinweis { width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }
.footer-credit { padding: 0 20px; max-width: var(--max); }
.footer-credit a { color: rgba(255,255,255,.85); min-height: 0; display: inline; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Speisekarte ---------- */
.r-pagehead { min-height: 52vh; padding-top: 6rem; }
.r-pagehead > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-pagehead h1 { font-weight: 500; }
.r-pagehead::before { background: linear-gradient(180deg, rgba(10,14,22,.55), rgba(10,14,22,.15) 35%, rgba(10,14,22,.88)); }
.r-pagehead.bsp::after { top: 5.4rem; }
.karte-nav { position: sticky; top: 68px; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.karte-nav ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.karte-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.karte-nav a:hover { border-color: var(--terra); color: var(--terra); }
.karte { max-width: 46rem; }
.karte-gruppe { scroll-margin-top: 130px; padding: clamp(2.6rem, 6vw, 4.5rem) 0 0; }
.karte-gruppe h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); padding-bottom: .8rem; border-bottom: 1px solid var(--ink); margin-bottom: .4rem; }
.karte-gruppe .karte-info { color: var(--muted); font-size: .95rem; margin: .4rem 0 .4rem; }
.gericht { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1.4rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.gericht h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.gericht p { grid-column: 1; color: var(--muted); margin: 0; font-size: .98rem; }
.gericht .preis { grid-column: 2; grid-row: 1; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zeichen { display: inline-block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--terra); border: 1px solid currentColor; border-radius: 3px; padding: 0 .3rem; margin-left: .4rem; vertical-align: .15em; }
.karte-hinweis { margin: 2.6rem 0 clamp(3rem, 7vw, 5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; font-size: .96rem; color: var(--muted); }
.karte-hinweis strong { color: var(--ink); }
.karte-ende { padding: 0 0 clamp(3rem, 7vw, 5rem); }

/* ---------- Englische Fassung ---------- */
html[lang="en"] .bsp::after { content: 'Sample photo'; }

/* ---------- Handy-Leiste ---------- */
.r-leiste a.haupt { border-radius: 999px; }
.r-leiste a { border-radius: 999px; }
@media (max-width: 860px) { .r-leiste { background: rgba(247,245,240,.97); } }

@media print { .bsp-zurueck, .bsp-leiste, .site-header, .r-leiste, .karte-nav { display: none !important; } }
