/* Mönchhof Bad Hönningen – Stylesheet
   Bordeaux · Gold · Beige. Schrift "Jost" liegt lokal (SIL Open Font License), kein Abruf bei Dritten. */

@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --arch: clamp(16px, 2.4vw, 40px);
  --bg: #f6f0e4;
  --bg-2: #ece2cd;
  --paper: #fbf8f1;
  --ink: #2a1d1a;
  --muted: #6f625a;
  --bordeaux: #5b1424;
  --bordeaux-deep: #3b0c18;
  --gold: #b38f4b;
  --gold-dark: #85672a;
  --gold-light: #dcc28a;
  --line: rgba(91, 20, 36, .2);
  --maxw: 1160px;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.15rem; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-dark); }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--bordeaux); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.center { text-align: center; }

/* Typografische Bausteine */
.eyebrow { display: block; font-family: var(--sans); text-transform: uppercase; letter-spacing: .24em; font-size: .75rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 1rem; }
.lead { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.muted { color: var(--muted); }

/* Ornament: feine Linie mit Raute */
.orn { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: .4rem auto 1.6rem; max-width: 260px; color: var(--gold); }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .7; }
.orn span { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.orn.left { margin-left: 0; justify-content: flex-start; max-width: 180px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.7rem; border: 1px solid var(--bordeaux); background: var(--bordeaux); color: var(--bg) !important; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn:hover { background: var(--bordeaux-deep); border-color: var(--bordeaux-deep); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--bordeaux-deep) !important; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--bordeaux) !important; }
.btn-ghost:hover { background: var(--bordeaux); color: var(--bg) !important; }
.on-dark .btn-ghost, .btn-ghost.light { color: #fff !important; border-color: rgba(255,255,255,.7); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { background: #fff; color: var(--bordeaux-deep) !important; border-color: #fff; }

/* Header */
.site-header { background: var(--bordeaux-deep); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(179,143,75,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 0; }
.header-inner.container { width: min(100% - 3rem, 1360px); gap: 3.5rem; }
.brand { flex-shrink: 0; }
.brand img { height: 100px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav a { color: #f1e8d4; text-decoration: none; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav .btn { padding: .8rem 1.4rem; margin-left: .6rem; border: 1px solid var(--gold); background: var(--gold); color: var(--bordeaux-deep) !important; }
.nav .btn:hover { background: transparent; color: var(--gold-light) !important; border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; padding: .45rem .9rem; font: inherit; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { position: relative; color: #fff; display: grid; align-items: end; min-height: min(86vh, 720px); background: var(--bordeaux-deep) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,8,16,.6) 0%, rgba(40,8,16,.3) 55%, rgba(40,8,16,0) 100%), linear-gradient(180deg, rgba(59,12,24,.05) 0%, rgba(40,8,16,.78) 100%); }
.hero-inner { position: relative; padding: 5rem 0 4rem; max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero p { font-family: var(--serif); font-size: 1.35rem; max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero.small { min-height: 340px; }
.hero.small .hero-inner { padding: 4rem 0 2.5rem; }

/* Seitenkopf ohne Bild */
.page-head { text-align: center; padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; }

/* Sektionen */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.bg-alt { background: var(--bg-2); }
.bg-dark { background: var(--bordeaux); color: #efe5cf; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .eyebrow { color: var(--gold-light); }
.bg-dark a:not(.btn) { color: var(--gold-light); }
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split.flip > :first-child { order: 2; }
.photo { position: relative; isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; border: 10px solid var(--paper); box-shadow: 0 24px 48px -16px rgba(59,12,24,.5), 0 0 0 1px rgba(179,143,75,.6); }
.photo.wide img { aspect-ratio: 3/2; }
.photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }

/* Kacheln */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; text-decoration: none; color: #fff; background: var(--bordeaux-deep); box-shadow: 0 22px 44px -18px rgba(59,12,24,.55); }
.tile::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(220,194,138,.75); z-index: 2; pointer-events: none; transition: inset .35s ease; }
.tile:hover::before { inset: 8px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59,12,24,0) 40%, rgba(40,8,16,.85) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile .label { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; }
.tile .label strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.tile .label span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }

/* Große Jahreszahl */
.numeral { font-family: var(--serif); font-size: clamp(5.5rem, 18vw, 12.5rem); line-height: .9; letter-spacing: .02em; color: rgba(179,143,75,.14); -webkit-text-stroke: 1.5px #a07c35; }
.numeral.sm { font-size: clamp(4rem, 10vw, 7rem); }
/* Zeiten */
.times { list-style: none; margin: 1.5rem 0; padding: 0; }
.times li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid rgba(220,194,138,.35); }
.times li span:last-child { font-family: var(--serif); font-size: 1.15rem; text-align: right; }

/* Galerie */
.gallery { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery a { display: block; padding: 8px; background: var(--paper); box-shadow: 0 14px 28px -14px rgba(59,12,24,.45), 0 0 0 1px rgba(179,143,75,.5); transition: transform .3s, box-shadow .3s; }
.gallery a:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -14px rgba(59,12,24,.5), 0 0 0 1px var(--gold); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Speisekarte */
.menu-nav { position: sticky; top: 141px; z-index: 40; background: rgba(246,240,228,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: .7rem 0; }
.menu-nav .container { display: flex; flex-wrap: nowrap; gap: 1.4rem; overflow-x: auto; scrollbar-width: thin; }
.menu-nav .container::before, .menu-nav .container::after { content: ""; margin: auto; }
.menu-nav a { white-space: nowrap; text-decoration: none; color: var(--ink); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: .2rem 0; border-bottom: 1px solid transparent; }
.menu-nav a:hover { color: var(--bordeaux); border-bottom-color: var(--gold); }
.menu-section { width: min(100% - 2.5rem, 800px); margin: 0 auto; padding: 3.5rem 0 .5rem; scroll-margin-top: 215px; text-align: center; }
.menu-section h2 { margin-bottom: .2em; }
.menu-note { color: var(--muted); font-style: italic; font-size: .95rem; margin: 0 0 1.2rem; }
.dishes, .drinks { list-style: none; margin: 1.6rem 0 0; padding: 0; text-align: left; }
.dish { padding: .8rem 0; }
.dish-head, .drinks li { display: flex; align-items: baseline; gap: .6rem; }
.dish-name, .d-name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.leader { flex: 1; min-width: 1rem; border-bottom: 1px dotted rgba(91,20,36,.4); transform: translateY(-.3em); }
.dish-price, .price { font-family: var(--serif); font-size: 1.15rem; color: var(--bordeaux); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish-desc { color: var(--muted); font-size: .96rem; margin: .1rem 0 0; max-width: 60ch; }
.allergens { font-family: var(--sans); font-size: .7rem; color: var(--gold-dark); letter-spacing: .03em; margin-left: .4rem; vertical-align: super; }
.drinks li { padding: .35rem 0; }
.drinks .size { color: var(--muted); font-size: .92rem; min-width: 3.4rem; text-align: right; }
.drinks .group { display: block; margin-top: 1.4rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 600; color: var(--gold-dark); }
.legend { width: min(100% - 2.5rem, 800px); margin: 3rem auto 0; padding: 3rem 0 4rem; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.legend h2 { font-size: 1.6rem; }
.legend h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bordeaux); margin-top: 1.5rem; }
.legend ul { columns: 2 240px; padding-left: 1.1rem; margin: .5rem 0 1rem; }

/* Formular */
.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: repeat(2, 1fr); }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--bordeaux); margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfc2a6; padding: .75rem .9rem; border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); }
.check input { width: auto; margin-top: .35rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { display: none; padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-left: 4px solid var(--gold); background: #fff; }
.notice.error { border-left-color: #9b1c1c; }
.notice.show { display: block; }
.info-block h3 { font-size: 1rem; font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin: 1.6rem 0 .4rem; }
.info-block h3:first-child { margin-top: 0; }
.info-block p { margin-bottom: .5rem; }

/* Rechtstexte */
.legal { width: min(100% - 2.5rem, 78ch); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { margin-top: 2.2em; font-size: 1.6rem; }
.legal h3 { margin-top: 1.5em; font-size: 1.2rem; color: var(--ink); }
.legal h4 { margin-top: 1.2em; font-size: 1.05rem; color: var(--ink); font-family: var(--sans); }

/* Footer */
.site-footer { background: var(--bordeaux-deep); color: #d9cdb4; padding: 4rem 0 1.5rem; font-size: .96rem; }
.site-footer a { color: var(--gold-light); }
.site-footer h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer p { margin-bottom: .6rem; }
.copy { border-top: 1px solid rgba(220,194,138,.25); margin-top: 3rem; padding-top: 1.2rem; font-size: .85rem; color: #a99d86; }

/* Mobil */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bordeaux-deep); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(179,143,75,.5); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid rgba(220,194,138,.18); }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .header-inner { padding: 12px 0; }
  .brand img { height: 76px; }
  .menu-nav { top: 101px; }
}
@media (max-width: 920px) {
  .split.flip > :first-child { order: 0; }
  .photo::after { inset: 10px -8px -10px 8px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dish-name, .d-name { font-size: 1.08rem; }
  .menu-nav .container { gap: 1rem; }
}
@media print {
  .site-header, .menu-nav, .hero, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
}

/* Bild-Großansicht */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(30, 6, 12, .93); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border: 8px solid var(--paper); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(59,12,24,.7); color: #fff; border: 1px solid rgba(220,194,138,.7); width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 .2rem; }
.lightbox button:hover { background: var(--gold); color: var(--bordeaux-deep); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
/* Kontakt-Panel */
.contact-panel { position: relative; background: var(--bordeaux); color: #efe5cf; padding: clamp(2rem, 4vw, 3rem); box-shadow: 0 28px 54px -22px rgba(59,12,24,.6); }
.contact-panel::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(220,194,138,.6); pointer-events: none; }
.contact-panel h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.contact-panel .eyebrow { color: var(--gold-light); }
.contact-panel a { color: var(--gold-light); }
.cp-row { padding: 1.3rem 0; border-top: 1px solid rgba(220,194,138,.3); }
.cp-row:first-of-type { margin-top: 1.4rem; }
.cp-label { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold-light); margin-bottom: .45rem; }
.cp-row address { font-style: normal; font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: #fff; margin-bottom: 1rem; }
.cp-big { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.75rem); text-decoration: none; color: #fff !important; }
.cp-big:hover { color: var(--gold-light) !important; }
.cp-row .times { margin: .2rem 0 0; }
.cp-row .times li { padding: .5rem 0; }
.contact-panel .btn { margin-top: .2rem; }
/* Rundbogen-Übergänge: Die Sektion schiebt sich als Bogen über die vorherige.
   Der Bogen überlappt exakt seine Höhe, so scheint immer die vorherige Fläche durch (kein Weiß). */
.arch { position: relative; margin-top: calc(var(--arch) * -1); background: var(--bg); border-top-left-radius: 50% var(--arch); border-top-right-radius: 50% var(--arch); padding-top: calc(clamp(3.5rem, 8vw, 6.5rem) + var(--arch) * .3); }
.arch.bg-alt { background: var(--bg-2); }
.arch.bg-dark { background: var(--bordeaux); }
section:has(+ .arch) { padding-bottom: calc(clamp(3.5rem, 8vw, 6.5rem) + var(--arch)); }
.hero:has(+ .arch) .hero-inner { padding-bottom: calc(3rem + var(--arch)); }
.hero { z-index: 0; }
main > section:last-child { padding-bottom: calc(clamp(3.5rem, 8vw, 6.5rem) + var(--arch)); }
main > div.container:last-child { padding-bottom: var(--arch); }
.site-footer { position: relative; margin-top: calc(var(--arch) * -1); border-top-left-radius: 50% var(--arch); border-top-right-radius: 50% var(--arch); padding-top: calc(4rem + var(--arch) * .3); }
@media print { .arch, .site-footer { margin-top: 0; border-radius: 0; } }