/* ==========================================================
   Giletto Ristorante – Stylesheet
   Schriften lokal gehostet (SIL Open Font License)
   ========================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }

:root {
  --ivory: #FAF6F1;
  --stone: #EDF2F8;
  --sand:  #E6DCCD;
  --ink:   #1E2B3C;
  --muted: #5B6878;
  --line:  #9C9689;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans:  "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.005em; }
h3 { font-size: 27px; font-weight: 500; }
p  { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--small { padding: 10px 20px; font-size: 13px; }

.textlink {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .25s;
}
.textlink:hover { border-color: var(--ink); }

/* ---------- Saisonaler Hinweis ---------- */
.notice { background: var(--ink); color: var(--ivory); font-size: 14px; }
.notice[hidden] { display: none; }
.notice .wrap { padding-top: 11px; padding-bottom: 11px; text-align: center; }
.notice a { color: inherit; text-decoration: none; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.notice__cta { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(250, 246, 241, .5); font-weight: 600; }
.notice a:hover .notice__cta { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(241, 234, 223, .97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-color: rgba(156, 150, 137, .5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.wordmark { display: block; line-height: 0; }
.wordmark img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 17px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.langs { display: flex; gap: 16px; }
.nav a.lang { font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .nav a:not(.btn):not(.lang) { display: none; } }

/* ---------- Hero ---------- */
.hero { background: #FFFFFF; padding: clamp(40px, 7vw, 90px) 0 var(--section); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }

.hero__title { margin: 0; line-height: 0; }
.hero__title img { width: clamp(260px, 36vw, 480px); height: auto; }
.hero__lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.45; max-width: 30ch; margin: 48px 0 40px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.hero__status { margin: 44px 0 0; font-size: 15px; }
.hero__status a { display: inline-flex; align-items: baseline; gap: 10px; text-align: left; text-decoration: none; color: var(--muted); transition: color .2s; }
.hero__status a:hover { color: var(--ink); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; transform: translateY(-1px); }
.is-open .status-dot { background: #5E8A5B; box-shadow: 0 0 0 4px rgba(94, 138, 91, .15); }
.is-open [data-status-text] { color: var(--ink); }

/* Das Bogenmotiv – aufgenommen von den Rundbogenfenstern im Gastraum */
.arch { position: relative; margin: 0; padding: 0 0 0 18px; }
.arch::before {
  content: "";
  position: absolute; left: 0; right: 18px; top: 18px; bottom: -18px;
  border: 1px solid var(--line);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--sand);
}
.arch__img img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  /* Der Bogen öffnet sich: Bild erscheint kreisförmig aus der Mitte des Bogens */
  .arch__img { animation: arch-open 1.6s cubic-bezier(.65,0,.35,1) both .15s; }
  @keyframes arch-open { from { clip-path: circle(0% at 50% 38%); } to { clip-path: circle(110% at 50% 38%); } }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 300px; width: 74%; margin: 0 auto 6px; }
  .hero__text { text-align: center; }
  .hero__title img { margin: 0 auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
}

/* ---------- Platzhalter (werden durch echte Bilder ersetzt) ---------- */
.ph {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 18px;
  background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #DDD1BF 14px 15px);
  font-family: var(--serif); font-style: italic; font-size: 17px; color: #9A8A70; text-align: center;
}

/* ---------- Ornament ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 40px; width: 180px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ornament span { width: 7px; height: 7px; border: 1px solid var(--line); transform: rotate(45deg); }

/* ---------- Intro ---------- */
.intro { padding: var(--section) 0; text-align: center; }
.intro h2 { margin-bottom: 32px; }
.intro p { max-width: 58ch; margin-left: auto; margin-right: auto; color: var(--muted); }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 100px);
  border-top: 1px solid rgba(156,150,137,.45);
}
.pillar { padding: 40px clamp(20px, 3vw, 44px) 0; text-align: left; }
.pillar + .pillar { border-left: 1px solid rgba(156,150,137,.45); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { margin: 0; color: var(--muted); font-size: 16px; max-width: none; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; border-top: 0; }
  .pillar { padding: 28px 0; border-top: 1px solid rgba(156,150,137,.45); text-align: center; }
  .pillar + .pillar { border-left: 0; }
}

/* ---------- Blick von der Terrasse ---------- */
.panorama { position: relative; margin: 0; height: clamp(320px, 46vw, 780px); overflow: hidden; background: var(--stone); }
.panorama img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 18%; }
.panorama figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px var(--gutter) 22px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: #FFFFFF;
  background: linear-gradient(to top, rgba(30,43,60,.55), rgba(30,43,60,0));
}
@media (max-width: 760px) { .panorama { height: 92vw; } .panorama img { object-position: 60% 30%; } }

/* ---------- Impressionen ---------- */
.gallery { padding: var(--section) 0; background: var(--stone); }
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.gallery__head p { margin: 0; color: var(--muted); max-width: 36ch; font-size: 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 14vw, 190px);
  gap: 12px;
}
.grid figure { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.grid figure button { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.grid figure button:focus-visible { outline: 2px solid var(--ivory); outline-offset: -6px; }
.grid figure:hover img { transform: scale(1.03); }

.g1 { grid-column: span 4; grid-row: span 2; }
.g2 { grid-column: span 2; grid-row: span 2; }
.g3, .g4, .g5 { grid-column: span 2; grid-row: span 1; }
.g6 { grid-column: span 3; grid-row: span 2; }
.g7 { grid-column: span 3; grid-row: span 2; }
.g8, .g9, .g10 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery__head { display: block; }
  .gallery__head p { margin-top: 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 8px; }
  .g1, .g6, .g7 { grid-column: span 2; grid-row: span 1; }
  .g2, .g3, .g4, .g5, .g8, .g9 { grid-column: span 1; grid-row: span 1; }
  .g10 { grid-column: span 2; grid-row: span 1; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(30, 43, 60, .92); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox__close {
  position: fixed; top: 18px; right: 22px;
  background: none; border: 0; color: var(--ivory);
  font-family: var(--sans); font-size: 14px; letter-spacing: .06em; cursor: pointer; padding: 8px;
}

/* ---------- Besuch: Öffnungszeiten, Kontakt, Karte ---------- */
.visit { padding: var(--section) 0; }
.visit .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.visit h2 { margin-bottom: 36px; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 56px; font-size: 16px; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid rgba(156,150,137,.4); vertical-align: top; }
.hours th { text-align: left; font-weight: 500; width: 42%; }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-closed td { font-family: var(--serif); font-style: italic; font-size: 19px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); }
.hours tr.is-today th::after { content: "heute"; margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--muted); }
html[lang="en"] .hours tr.is-today th::after { content: "today"; }
html[lang="it"] .hours tr.is-today th::after { content: "oggi"; }

.contact h3 { margin-bottom: 14px; }
.contact address { font-style: normal; margin-bottom: 18px; }
.contact p { margin: 0 0 6px; }

.map { margin: 0; }
.map > a { display: block; position: relative; aspect-ratio: 5 / 4; background: var(--sand); overflow: hidden; text-decoration: none; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__pin {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 12px rgba(30, 43, 60, .14);
}
.map__label {
  position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%);
  font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1; color: var(--ink);
  background: #FFFFFF; padding: 6px 14px 7px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(30, 43, 60, .12);
}
.map > a img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.map > a:hover img { transform: scale(1.03); }
.map figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
.map figcaption small { font-size: 12px; }
@media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } }

/* ---------- Gutscheine ---------- */
.vouchers { padding: var(--section) 0; background: #FFFFFF; }
.vouchers .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 110px); row-gap: 0; align-items: center; }
.vouchers h2 { margin-bottom: 28px; }
.vouchers__intro p { color: var(--muted); max-width: 44ch; }
.vouchers__img { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.vouchers__img img { width: 100%; height: 100%; object-fit: cover; }
.vouchers__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.vouchers__actions .btn { cursor: pointer; font-family: var(--sans); }
.vouchers__actions span { font-size: 14px; color: var(--muted); }
.vouchers .vouchers__b2b { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid rgba(156,150,137,.35); font-size: 15px; max-width: 46ch; }

.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; }
.form legend, .field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; }

.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amounts legend { width: 100%; }
.amounts label { position: relative; cursor: pointer; }
.amounts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.amounts span {
  display: block; padding: 11px 18px; min-width: 72px; text-align: center;
  border: 1px solid rgba(156,150,137,.6); background: var(--ivory);
  font-family: var(--serif); font-size: 20px; font-variant-numeric: lining-nums; line-height: 1.2; transition: background .2s, color .2s, border-color .2s;
}
.amounts label:last-child span { font-family: var(--sans); font-size: 14px; padding-top: 14px; padding-bottom: 14px; }
.amounts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.amounts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.choice { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.choice legend { width: 100%; }
.choice label { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field--small { max-width: 140px; }
.field-row:has(.field--small) { grid-template-columns: auto 1fr; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; background: var(--ivory);
  border: 1px solid rgba(156,150,137,.6); border-radius: 0;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: #FFFFFF; }
.field textarea { resize: vertical; }
.form [data-show-when]:not(.field) { display: grid; gap: 22px; }
.form [data-show-when][hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; cursor: pointer; font-family: var(--sans); }
.form-note { font-size: 13px; color: var(--muted); margin: -6px 0 0; }
.form-done, .form-error { padding: 28px; background: var(--stone); margin-bottom: 24px; }
.form-done h3 { margin-bottom: 10px; }
.form-done p, .form-error p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .vouchers .wrap { grid-template-columns: 1fr; }
  .vouchers__img { order: -1; margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .field-row:has(.field--small) { grid-template-columns: 110px 1fr; }
}

/* ---------- Gut zu wissen (aufklappbar) ---------- */
:root { interpolate-size: allow-keywords; }
.faq { padding: var(--section) 0; background: #FFFFFF; }
.faq .wrap { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid rgba(156,150,137,.45); }
.faq__item { border-bottom: 1px solid rgba(156,150,137,.3); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 48px 20px 0;
  font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.25;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s;
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); opacity: 0; }
.faq__item summary:hover { color: var(--muted); }
.faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq__item p { margin: 0; padding: 0 48px 22px 0; color: var(--muted); font-size: 16px; }
.faq__item p[data-todo] { font-style: italic; color: #A39A8E; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s cubic-bezier(.2,.7,.2,1), content-visibility .4s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq__item::details-content { transition: none; } }
@media (max-width: 860px) {
  .faq .wrap { grid-template-columns: 1fr; }
}

/* ---------- Reservierung ---------- */
.reserve { padding: var(--section) 0; background: var(--stone); text-align: center; }
.reserve h2 { margin-bottom: 24px; }
.reserve p { max-width: 50ch; margin: 0 auto 36px; color: var(--muted); }
.reserve .reserve__alt { margin: 48px auto 0; font-size: 15px; }

.reserve__paths {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 920px; margin: 48px auto 0;
  border-top: 1px solid rgba(156,150,137,.45);
}
.reserve__path { padding: 40px clamp(20px, 4vw, 56px) 0; display: flex; flex-direction: column; align-items: center; }
.reserve__path .btn { margin-top: auto; }
.reserve__path + .reserve__path { border-left: 1px solid rgba(156,150,137,.45); }
.reserve__path h3 { margin-bottom: 14px; }
.reserve .reserve__path p { margin-bottom: 28px; max-width: 40ch; }
.btn--ghost { background: transparent; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.btn--ghost:hover, .btn--ghost[aria-expanded="true"] { background: var(--ink); color: var(--ivory); }

.form .field-row { align-items: start; }
#feiern .choice label { padding-top: 10px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231E2B3C' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #A39A8E; }
@media (max-width: 760px) {
  .reserve__paths { grid-template-columns: 1fr; border-top: 0; }
  .reserve__path { padding: 32px 0; border-top: 1px solid rgba(156,150,137,.45); }
  .reserve__path + .reserve__path { border-left: 0; }
  .reserve .reserve__path p { margin-left: auto; margin-right: auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: #FFFFFF; padding: 72px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 40px 64px; align-items: start; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer__links { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer__legal {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; margin-top: 16px;
  border-top: 1px solid rgba(156,150,137,.35);
  font-size: 13px;
}
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1fr; text-align: center; }
  .footer__links { text-align: center; }
  .site-footer .wordmark { justify-self: center; }
  .footer__legal { justify-content: center; }
}

/* ---------- Mobile Aktionsleiste ---------- */
.actionbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(156, 150, 137, .45);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    height: 68px; text-decoration: none; color: var(--ink);
    font-size: 12px; font-weight: 500; letter-spacing: .02em;
  }
  .actionbar a + a { border-left: 1px solid rgba(156, 150, 137, .3); }
  .actionbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
  .actionbar__main { background: var(--ink); color: var(--ivory) !important; }
  .actionbar a:active { opacity: .7; }
  .nav .btn { display: none; }
}

/* ---------- Einblendbare Formulare ---------- */
.reveal { grid-column: 1 / -1; }
.js .reveal {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .7s cubic-bezier(.2,.7,.2,1), margin-top .7s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.is-open { grid-template-rows: 1fr; }
.reveal__inner { min-height: 0; overflow: hidden; }
.js .reveal .panel { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-open .panel { opacity: 1; transform: none; transition-delay: .15s; }

.panel { background: var(--ivory); padding: clamp(24px, 4vw, 48px); text-align: left; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(156,150,137,.4); }
.panel__head h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 400; }
.panel__close { flex: none; width: 44px; height: 44px; margin: -8px -10px -8px 0; border: 0; background: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.panel__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; transition: transform .3s; }
.panel__close:hover svg { transform: rotate(90deg); }

.vouchers__reveal { margin-top: 0; }
.js .vouchers__reveal.is-open { margin-top: 64px; }
.vouchers__reveal { width: 100%; max-width: 820px; justify-self: center; }
.reserve__reveal { max-width: 820px; margin: 0 auto; }
.js .reserve__reveal.is-open { margin-top: 56px; }
.reserve .panel p { max-width: none; margin: 0; }
.reserve .panel .form-note { margin-top: -6px; }
.btn[aria-expanded="true"] { background: var(--ink); color: var(--ivory); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal .panel { transition: none; }
}
@media (max-width: 760px) {
  .panel { margin: 0 calc(var(--gutter) * -1); }
  .js .reserve__reveal.is-open { margin-top: 24px; }
}

/* ---------- Mobiles Menü ---------- */
.menu-toggle { display: none; }
.mnav { display: none; }
@media (max-width: 1100px) {
  .nav a:not(.btn):not(.lang) { display: none; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: none; color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg, .mnav__close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
  .nav { gap: 18px; }


  .mnav {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 50;
    background: var(--ivory);
    padding: env(safe-area-inset-top) var(--gutter) calc(28px + env(safe-area-inset-bottom));
    opacity: 0; transform: translateY(-12px);
    transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1);
    overflow-y: auto;
  }
  .mnav[hidden] { display: none; }
  .mnav.is-open { opacity: 1; transform: none; }
  .mnav__top { display: flex; align-items: center; justify-content: space-between; height: 76px; flex: none; border-bottom: 1px solid rgba(156,150,137,.4); }
  .mnav__top img { height: 46px; width: auto; }
  .mnav__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .mnav__links { display: flex; flex-direction: column; padding: 28px 0; }
  .mnav__links a {
    font-family: var(--serif); font-size: 32px; line-height: 1.2; text-decoration: none; color: var(--ink);
    padding: 12px 0; border-bottom: 1px solid rgba(156,150,137,.25);
  }
  .mnav.is-open .mnav__links a { animation: mnav-in .5s cubic-bezier(.2,.7,.2,1) both; }
  .mnav.is-open .mnav__links a:nth-child(2) { animation-delay: .04s; }
  .mnav.is-open .mnav__links a:nth-child(3) { animation-delay: .08s; }
  .mnav.is-open .mnav__links a:nth-child(4) { animation-delay: .12s; }
  .mnav.is-open .mnav__links a:nth-child(5) { animation-delay: .16s; }
  @keyframes mnav-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .mnav__meta { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--muted); }
  .mnav__meta a { color: var(--ink); text-decoration: none; }
  .mnav__meta > a { font-weight: 600; font-size: 17px; }
  .mnav__row { display: flex; gap: 24px; margin-top: 8px; }
  .mnav__row a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
  body.no-scroll { overflow: hidden; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
  .mnav, .mnav.is-open .mnav__links a { transition: none; animation: none; }
}

@media (max-width: 760px) {
  /* Header-Logo erst zeigen, wenn das große Logo im Hero weggescrollt ist */
  .js .site-header .wordmark { opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .35s, transform .35s; }
  .js .site-header.show-logo .wordmark { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Tischreservierung (mehrstufig) ---------- */
.res__progress { display: flex; align-items: center; gap: 16px; margin: -8px 0 4px; font-size: 13px; color: var(--muted); }
.res__bar { flex: 1; height: 2px; background: rgba(156,150,137,.3); position: relative; overflow: hidden; }
.res__bar span { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--ink); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.res__step { display: grid; gap: 22px; }
.res__step[hidden] { display: none; }
.res__step legend { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .res__step.is-entering { animation: res-in .45s cubic-bezier(.2,.7,.2,1); }
  .res__step.is-entering.from-back { animation-name: res-in-back; }
  @keyframes res-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
  @keyframes res-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
}
.res__tiles label span { min-width: 58px; }
.res__tiles label:last-child span { font-family: var(--sans); font-size: 14px; padding-top: 14px; padding-bottom: 14px; }
.res__more { max-width: 220px; }
.res__hint { margin: 0; font-size: 15px; color: var(--muted); }
.res__closed { margin: 0; padding: 14px 18px; background: #FFFFFF; border-left: 2px solid var(--line); font-size: 15px; color: var(--muted); }
.res__times { display: grid; gap: 18px; }
.res__times h4 { margin: 0 0 10px; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.res__slots { display: flex; flex-wrap: wrap; gap: 8px; }
.res__slots label { position: relative; cursor: pointer; }
.res__slots input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.res__slots span {
  display: block; min-width: 76px; padding: 10px 14px; text-align: center;
  border: 1px solid rgba(156,150,137,.6); background: #FFFFFF;
  font-size: 15px; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s;
}
.res__slots input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.res__slots input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.res__empty { margin: 0; font-size: 15px; color: var(--muted); font-style: italic; }
.res__summary { margin: 0; display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid rgba(156,150,137,.4); }
.res__summary dt, .res__summary dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(156,150,137,.25); }
.res__summary dt { padding-right: 28px; font-size: 14px; color: var(--muted); }
.res__summary dd { font-size: 16px; overflow-wrap: anywhere; }
.res__nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.res__nav .btn { cursor: pointer; font-family: var(--sans); }
.res__nav [data-res-next], .res__nav [data-res-submit] { margin-left: auto; }
.res__nav .btn[disabled] { opacity: .6; cursor: wait; }
.form .form-error { margin: 0; }
.res__nav [hidden] { display: none; }

/* Pflichtfelder */
.req { color: #9C7A4A; font-weight: 600; margin-left: 2px; }
.req-note { margin: 0; font-size: 13px; color: var(--muted); }
.req-note .req { margin: 0 2px 0 0; }

/* Header-Button erst nach dem Hero einblenden (nur ein „Tisch anfragen“ auf dem ersten Bildschirm) */
.js .site-header .nav .btn { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .35s, transform .35s, visibility 0s .35s; }
.js .site-header.show-cta .nav .btn { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s, visibility 0s; }
.notice [data-notice-cta][hidden] { display: none; }
.notice a:not([href]) { cursor: default; }

/* Rückmeldungen der Formulare: Häkchen bzw. Hinweiszeichen statt Signalfarben */
.form-done::before {
  content: ""; display: block; width: 44px; height: 44px; margin-bottom: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='20.5' fill='none' stroke='%235E8A5B' stroke-width='1.5'/%3E%3Cpath d='M13.5 22.5l6 6 11-12' fill='none' stroke='%235E8A5B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.form-error:not([hidden]) { display: flex; gap: 14px; align-items: flex-start; }
.form-error::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%239C7A4A' stroke-width='1.4'/%3E%3Cpath d='M12 6.5v7' stroke='%239C7A4A' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17' r='1.1' fill='%239C7A4A'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (prefers-reduced-motion: no-preference) {
  .form-done:not([hidden])::before { animation: done-in .6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes done-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
}

/* ---------- Reservieren: Eingangsfoto als Bühne ---------- */
.reserve { padding-top: 0; }
.reserve__stage { position: relative; height: clamp(360px, 44vw, 620px); overflow: hidden; background: var(--sand); }
.reserve__photo { width: 100%; height: 100%; object-fit: cover; object-position: 48% 40%; }
.reserve__card {
  position: relative; z-index: 1; max-width: 980px; margin: clamp(-180px, -12vw, -80px) auto 0;
  background: var(--ivory); padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(36px, 4vw, 56px);
  box-shadow: 0 18px 60px rgba(30, 43, 60, .10);
}
.reserve__card .reserve__paths { margin-top: 36px; }
@media (max-width: 760px) {
  .reserve__stage { height: 72vw; }
  .reserve__photo { object-position: 50% 32%; }
  .reserve__card { margin: -48px calc(var(--gutter) * -1 + 12px) 0; padding-left: 20px; padding-right: 20px; }
}

/* Breite Bildschirme: Fotos nicht über ihre Originalbreite hinaus aufblasen, Ränder weich auslaufen lassen */
.stage-blur { display: none; }
@media (min-width: 4033px) {
  .reserve__stage, .panorama { background: var(--sand); }
  .stage-blur {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; filter: blur(30px) saturate(1.05); transform: scale(1.12); opacity: .85;
  }
  .reserve__photo, .panorama > img:not(.stage-blur) {
    position: relative; display: block; max-width: 4032px; margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  }
  .panorama figcaption { z-index: 1; }
}
.form[hidden], .res__step[hidden] { display: none !important; }

/* Karte oben bündig mit der ersten Zeile der Öffnungszeiten (nicht mit der Überschrift) */
@media (min-width: 861px) {
  .visit .map { margin-top: calc(clamp(34px, 4.4vw, 52px) * 1.1 + 36px + 13px); }
}

.map__links { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.map__or { color: var(--muted); }

.choice label.is-off { opacity: .4; cursor: not-allowed; }
[data-event-closed] { margin-top: -6px; }
@media (max-width: 760px) {
  .panorama figcaption { font-size: 14px; padding: 28px 12px 10px; }
}
@media (min-width: 1101px) {
  .nav { gap: clamp(20px, calc(2.6vw - 8px), 34px); }
}

/* Sprachhinweis für internationale Gäste */
.langhint { position: relative; display: flex; align-items: center; justify-content: center; padding: 9px 52px; background: #E6DCCD; color: var(--ink); font-size: 14px; text-align: center; }
.langhint p { margin: 0; }
.langhint a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(30,43,60,.4); }
.langhint__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.langhint__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }

/* Überschrift „Ein neues Kapitel“: Wörter blättern nacheinander herein (nur mit JS und ohne „Bewegung reduzieren“) */
.intro h2 .turn { display: inline-block; transform-origin: left center; }
.intro h2.is-waiting .turn { opacity: 0; }
.intro h2.is-turning { perspective: 900px; }
.intro h2.is-turning .turn { animation: page-turn .9s cubic-bezier(.3,.6,.2,1) both; animation-delay: calc(.15s + var(--i) * .22s); }
@keyframes page-turn { from { opacity: 0; transform: rotateY(-80deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro h2.is-waiting .turn { opacity: 1; } .intro h2.is-turning .turn { animation: none; } }
@media print { .intro h2.is-waiting .turn { opacity: 1; } }
.res__hint.res__short, form .res__short { margin-top: 16px; padding: 12px 16px; background: var(--sand); color: var(--ink); border-radius: 2px; font-size: 15px; }
.res__hint.res__short a { color: inherit; font-weight: 600; white-space: nowrap; }
