/* ===================================================================
   Hotel Kugel, Trier-Zewen
   Farben und Formen stammen aus dem Messingschild des Hauses:
   goldgelbe Schrift auf dunklem Aubergine-Braun.
   =================================================================== */

[hidden] { display: none !important; }

:root {
  --brown:      #3E2022;
  --brown-deep: #2A1416;
  --brown-soft: #55302F;
  --gold:       #F2C13F;
  --gold-deep:  #C9932A;
  --paper:      #F8F3E9;
  --cream:      #F1E7D5;
  --ink:        #241416;
  --body:       #4E3A34;
  --muted:      #7A655D;
  --line:       rgba(62, 32, 34, .16);
  --line-gold:  rgba(242, 193, 63, .35);

  --display: 'Gilda Display', 'Hoefler Text', Georgia, serif;
  --sans: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --topbar-h: 68px;
  --radius: 3px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: .005em;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--brown-deep);
  padding: 12px 20px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* --------------------------- Kopfleiste --------------------------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--topbar-h);
  background: rgba(42, 20, 22, 0);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%);
  transition: transform .35s ease, background-color .35s ease, border-color .35s ease;
}
.topbar.is-stuck {
  transform: translateY(0);
  background: rgba(42, 20, 22, .97);
  border-bottom-color: var(--line-gold);
}
.topbar-inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto; height: 100%;
  display: flex; align-items: center; gap: 1.5rem;
}
.topbar-brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--gold); text-decoration: none;
  font-family: var(--display); font-size: 1.18rem; letter-spacing: .02em;
  white-space: nowrap;
}
.topbar-fleur { width: 22px; height: auto; color: var(--gold); }

.topnav { margin-left: auto; display: flex; gap: 1.5rem; }
.topnav a {
  color: #EFE2D4; text-decoration: none;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.topnav a:hover, .topnav a.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.topbar-right { display: flex; align-items: center; gap: 1rem; }

.langswitch { display: flex; align-items: center; gap: .1rem; }
.langswitch button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; font-weight: 600;
  color: rgba(239, 226, 212, .6); padding: 5px 7px; border-radius: 2px;
}
.langswitch button + button { border-left: 1px solid rgba(242, 193, 63, .3); }
.langswitch button:hover { color: var(--gold); }
.langswitch button[aria-pressed="true"] { color: var(--brown-deep); background: var(--gold); }

.burger {
  display: none; width: 40px; height: 34px; padding: 8px 6px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--gold); transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: flex; }
  .topnav {
    position: fixed; inset: var(--topbar-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(42, 20, 22, .985);
    border-bottom: 1px solid var(--line-gold);
    padding: .5rem 1.25rem 1.5rem;
    display: none;
  }
  .topnav.is-open { display: flex; }
  .topnav a { padding: 14px 0; border-bottom: 1px solid rgba(242, 193, 63, .16); font-size: .9rem; }
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 6rem 1.25rem 6rem;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 30%, #4B2729 0%, #331A1C 55%, #241113 100%);
}
/* Feine Rautentextur, damit die Fläche ohne Foto nicht leer wirkt */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image:
    repeating-linear-gradient(45deg,  rgba(242,193,63,.5) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(242,193,63,.5) 0 1px, transparent 1px 26px);
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .5;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  /* Erst sichtbar, wenn wirklich ein Video geladen wurde */
  display: none;
}
.hero-video.is-on { display: block; }
/* Wer im Betriebssystem weniger Bewegung eingestellt hat, bekommt nur das
   Standbild — das Video wird dann gar nicht erst geladen (siehe main.js). */
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 46%, rgba(0,0,0,.40), rgba(0,0,0,.10) 72%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.36), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.40));
}
/* Der Schleier liegt nur über Bild oder Video, nicht über der leeren Fläche.
   Gesteuert über .has-media am Abschnitt (siehe main.js). */
.hero-veil { display: none; }
.hero.has-media .hero-veil { display: block; }
/* Der Schleier ist bewusst schwach, damit das Video sichtbar bleibt. Damit
   Logo und Text auch über den hellen Himmelspartien lesbar sind, bekommen sie
   einen Schatten statt einer flächigen Abdunklung. */
.hero-inner {
  position: relative; text-align: center; max-width: 44rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.78), 0 1px 3px rgba(0,0,0,.65);
}
.hero.has-media .hero-logo { filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }
.hero-logo {
  width: clamp(220px, 34vw, 330px); height: auto; margin: 0 auto 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.hero-kicker {
  margin: 0 0 .9rem; color: var(--gold);
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
}
.hero-slogan {
  font-family: var(--display); color: #FBF4E7;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.25; margin: 0 0 1rem;
}
.hero-text { color: rgba(251, 244, 231, .82); margin: 0 0 2rem; font-size: 1.02rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.btn {
  display: inline-block; text-decoration: none;
  padding: 14px 30px; font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; border-radius: var(--radius);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: var(--brown-deep); border: 1px solid var(--gold); }
.btn-gold:hover { background: #FFD662; }
.btn-ghost { border: 1px solid rgba(242,193,63,.55); color: var(--gold); }
.btn-ghost:hover { background: rgba(242,193,63,.14); }

/* Sprachschalter über dem Titelbild: schon beim ersten Blick erreichbar. */
.langswitch-hero {
  position: absolute; z-index: 3; top: 1.1rem; right: 1.2rem;
  background: rgba(42, 20, 22, .72);
  border: 1px solid var(--line-gold);
  border-radius: 999px; padding: 3px 5px;
  backdrop-filter: blur(4px);
}
.langswitch-hero button { padding: 6px 10px; border-radius: 999px; }
.langswitch-hero button[aria-pressed="true"] { background: var(--gold); color: var(--brown-deep); }

/* ---------------------------- Kennzahlen -------------------------- */
.factbar { background: var(--cream); padding: 3rem 1.25rem 3rem; text-align: center; }
.factbar-inner {
  width: min(100% - 1rem, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.fact { display: grid; gap: .1rem; padding: .4rem 0; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--brown); }
.fact span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Check-in gross und der Hinweis zur späteren Anreise gut lesbar darunter. */
.checkin-band {
  margin: 2.2rem auto 0; max-width: 46rem;
  border-top: 1px solid var(--line); padding-top: 1.8rem;
}
.checkin-band-time { margin: 0 0 .7rem; display: grid; gap: .35rem; }
.checkin-band-label {
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1;
  letter-spacing: .06em; text-transform: none; color: var(--gold-deep);
}
.checkin-band-time strong {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 4.4rem); line-height: 1.05; color: var(--brown);
}
.checkin-band-note {
  margin: 0 auto; max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.5;
  color: var(--brown); font-weight: 500;
}
@media (max-width: 640px) {
  .factbar-inner { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
}

/* ----------------------------- Bänder ----------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-dark { background: var(--brown); color: rgba(248, 243, 233, .86); }
.section-dark h2, .section-dark h3 { color: #FBF4E7; }
.section-cream { background: var(--cream); }
.section-carta { background: var(--paper); }

.sechead { max-width: 46rem; margin-bottom: 2.6rem; }
.sechead p { color: var(--muted); font-size: 1.02rem; }
.sechead-light p { color: rgba(248, 243, 233, .72); }
.kicker {
  display: block; margin-bottom: .7rem;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.section-dark .kicker { color: var(--gold); }

.rule { display: flex; align-items: center; gap: 1.2rem; width: min(100% - 2.5rem, 620px); margin: 0 auto; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rule img { width: 24px; color: var(--gold-deep); opacity: .85; }

/* ---------------------------- Das Haus ---------------------------- */
.about-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-text p { font-size: 1.05rem; }
.about-text p:first-child::first-letter {
  font-family: var(--display); float: left; font-size: 3.6em; line-height: .78;
  padding: .06em .12em 0 0; color: var(--gold-deep);
}
.amenities { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.amenities li {
  display: flex; gap: .8rem; align-items: baseline;
  padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .97rem;
}
.amenities li::before { content: "◆"; color: var(--gold-deep); font-size: .6rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.haus-galerie { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.haus-galerie h3 {
  font-size: 1.5rem; margin-bottom: 1.2rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}

/* --------------------------- Zimmertarif -------------------------- */
.tarif { width: 100%; border-collapse: collapse; }
.tarif td { padding: 1.15rem .5rem; border-bottom: 1px solid rgba(242, 193, 63, .2); vertical-align: baseline; }
.tarif .t-name { font-family: var(--display); font-size: 1.35rem; color: #FBF4E7; white-space: nowrap; }
.tarif .t-desc { color: rgba(248, 243, 233, .7); font-size: .93rem; }
.tarif .t-price { text-align: right; white-space: nowrap; font-size: 1.2rem; color: var(--gold); font-weight: 600; }
.tarif .t-price small { display: block; font-size: .68rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: rgba(248,243,233,.55); }
.tarif tr.is-extra .t-name { font-size: 1.1rem; }
.tarif tr.is-extra td { border-top: 2px solid rgba(242, 193, 63, .32); }
@media (max-width: 640px) {
  .tarif td { display: block; padding: .3rem 0; border: 0; }
  .tarif tr { display: block; padding: 1.1rem 0; border-bottom: 1px solid rgba(242,193,63,.2); }
  .tarif .t-price { text-align: left; margin-top: .3rem; }
}
.tarif-note { margin-top: 1.4rem; font-size: .93rem; color: rgba(248, 243, 233, .68); max-width: 44rem; }

.rooms-extra { display: grid; grid-template-columns: .95fr 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); margin-top: 3.2rem; align-items: start; }
.ticks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; font-size: .97rem; }
.ticks li::before { content: "✓"; color: var(--gold); }
.rooms-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 860px) { .rooms-extra { grid-template-columns: 1fr; } }

/* --------------------------- Platzhalter -------------------------- */
.ph {
  display: grid; place-content: center; gap: .5rem; text-align: center;
  border: 1px dashed var(--gold-deep); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(242,193,63,.07) 0 10px, transparent 10px 20px);
  color: var(--gold-deep); padding: 1.5rem 1rem; min-height: 190px;
}
.section-dark .ph { border-color: rgba(242,193,63,.5); color: rgba(242,193,63,.85); }
.ph svg { width: 30px; height: 30px; margin: 0 auto; opacity: .8; }
.ph-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.ph-cap { font-size: .88rem; opacity: .8; }

/* ---------------------------- Frühstück --------------------------- */
.fr-lead { display: grid; grid-template-columns: 1.35fr auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-bottom: 2.6rem; }
.fr-text p { font-size: 1.04rem; }
.fr-price {
  display: grid; align-content: center; justify-items: center;
  gap: .3rem; text-align: center;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--brown); color: var(--gold);
  border: 5px double var(--gold);
}
.fr-price strong { font-family: var(--display); font-size: 2rem; line-height: 1; }
.fr-price span {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.25; color: rgba(248, 243, 233, .8); max-width: 8em;
}
@media (max-width: 720px) { .fr-lead { grid-template-columns: 1fr; } .fr-price { margin-inline: auto; } }

/* Mosaik-Galerie */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mosaic .tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.mosaic .tile:nth-child(1), .mosaic .tile:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.mosaic .tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s ease; }
.mosaic .tile:nth-child(1) img, .mosaic .tile:nth-child(6) img { aspect-ratio: 1 / 1; }
.mosaic button.tile { border: 0; padding: 0; cursor: zoom-in; font: inherit; }
.mosaic .tile:hover img { transform: scale(1.045); }
.mosaic figcaption, .mosaic .tile-cap {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(42,20,22,.82));
  color: #FBF4E7; font-size: .84rem; text-align: left;
}
.mosaic .ph { min-height: 0; aspect-ratio: 4 / 3; }
.mosaic .ph.tile:nth-child(1), .mosaic .ph.tile:nth-child(6) { aspect-ratio: 1 / 1; }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .tile:nth-child(1), .mosaic .tile:nth-child(6) { grid-column: span 1; grid-row: span 1; }
}

/* ---------------------------- Restaurant -------------------------- */
.ristorante-name { display: flex; align-items: center; gap: 1rem; }
.tricolore {
  display: inline-block; width: 54px; height: 8px; flex: none;
  background: linear-gradient(to right, #1D8348 0 33.33%, #FFFFFF 33.33% 66.66%, #C0392B 66.66% 100%);
  border: 1px solid var(--line);
}
.cuisine { font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rist-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; margin-bottom: 2.4rem; }
.rist-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-content: start; }
.rist-tags li {
  border: 1px solid var(--line); border-radius: 100px; padding: .45rem 1rem;
  font-size: .86rem; background: var(--paper);
}
.rist-photo { margin: 0; }
.rist-photo img {
  width: 100%; max-height: 520px; object-fit: cover;
  border-radius: var(--radius);
}
.rist-photo figcaption { margin-top: .7rem; font-size: .88rem; color: var(--muted); }

.rist-hours {
  margin: 2.4rem 0; padding: 1.6rem 1.8rem;
  background: var(--paper); border-left: 4px solid var(--gold-deep);
  border-radius: var(--radius);
}
.rist-hours h3 { font-size: 1.3rem; margin-bottom: .9rem; }
.hours-table { border-collapse: collapse; width: 100%; max-width: 30rem; }
.hours-table td { padding: .45rem 0; border-bottom: 1px dotted var(--line); font-size: .98rem; }
.hours-table .h-day { color: var(--body); }
.hours-table .h-time { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-table tr.is-closed .h-time { color: var(--muted); font-style: italic; }
.hours-call { margin-top: 1rem; }
.hours-call a { font-family: var(--display); font-size: 1.3rem; color: var(--brown); text-decoration: none; }
.hours-call a:hover { text-decoration: underline; }

.mosaic-rist { margin-top: 2rem; }

/* Stimmungsvideo neben den Öffnungszeiten */
.rist-evening { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rist-evening .rist-hours { margin: 0; }
.rist-photo.is-video { position: relative; border-radius: var(--radius); overflow: hidden; background: #2a1416; aspect-ratio: 16 / 9; }
.rist-photo.is-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.rist-photo.is-video::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 10, 10, .65) 0%, rgba(20, 10, 10, 0) 38%);
}
.rist-overlay {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1;
  font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2;
  color: #fff8ec; text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.rist-photo.is-video figcaption { display: none; }
@media (max-width: 760px) {
  .rist-evening { grid-template-columns: 1fr; }
}

.hours-note { margin-top: 1rem; font-size: .93rem; color: var(--muted); max-width: 44rem; }
@media (max-width: 860px) { .rist-grid { grid-template-columns: 1fr; } }

/* --------------------------- Speisekarte -------------------------- */
/* Aufklapper: die Karte ist lang, deshalb erst auf Klick sichtbar. */
.carta-toggle {
  display: grid; gap: .3rem; width: 100%; text-align: left;
  font: inherit; cursor: pointer; position: relative;
  background: var(--brown); color: #FBF4E7; border: 0;
  border-radius: var(--radius); padding: 1.4rem 4rem 1.4rem 1.6rem;
}
.carta-toggle:hover { background: var(--brown-deep); }
.carta-toggle-text {
  font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--gold);
}
.carta-toggle-hint { font-size: .93rem; color: rgba(248, 243, 233, .75); }
.carta-toggle-icon {
  position: absolute; right: 1.6rem; top: 50%; width: 16px; height: 16px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.carta-toggle.is-open .carta-toggle-icon { transform: translateY(-30%) rotate(225deg); }

.carta-body { padding-top: 2rem; }

.carta-tabs { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.carta-tabs button {
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .7rem 1.4rem; cursor: pointer; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--line); color: var(--muted);
}
.carta-tabs button[aria-selected="true"] { background: var(--brown); border-color: var(--brown); color: var(--gold); }

/* Alle Speisegruppen auf einen Blick – kein Wischen nach links oder rechts. */
.carta-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: 0 0 1.6rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.carta-chips a {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; text-align: center;
  font-size: .92rem; font-weight: 500; line-height: 1.25;
  padding: .72rem 1.1rem; border-radius: 999px;
  border: 0; color: var(--body); background: rgba(62, 32, 34, .07);
  transition: background-color .18s ease, color .18s ease;
}
.carta-chips .chip-sub { display: none; }
.carta-chips a:hover { background: rgba(62, 32, 34, .14); color: var(--ink); }
.carta-chips a.is-active { background: var(--brown); color: var(--gold); }

/* Obergruppe (Pasta, Carne …) mit ihren Unterkategorien darunter */
.carta-group { margin-bottom: 3.4rem; scroll-margin-top: calc(var(--topbar-h) + 20px); }
.carta-group-head {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding-bottom: .6rem; border-bottom: 2px solid var(--brown); margin-bottom: 1.4rem;
}
.carta-group-head h3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.carta-group-head .sub { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }

.carta-sub {
  display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
  margin: 2rem 0 .9rem; padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}
.carta-sub-it { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.carta-sub-de { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.carta-cat-note { font-size: .9rem; color: var(--muted); margin: -.2rem 0 1.1rem; }

.dishes { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.dish { break-inside: avoid; padding: .75rem 0; border-bottom: 1px dotted var(--line); }
.dish-top { display: flex; align-items: baseline; gap: .6rem; }
.dish-no { font-size: .78rem; color: var(--gold-deep); font-variant-numeric: tabular-nums; min-width: 2.2em; }
.dish-name { font-family: var(--display); font-size: 1.08rem; color: var(--ink); }
.dish-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.dish-price { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.dish-price span + span::before { content: " / "; color: var(--muted); font-weight: 400; }
.dish-desc { margin: .15rem 0 0 2.8em; font-size: .91rem; color: var(--muted); }
.dish-unit { font-size: .78rem; color: var(--muted); }
@media (max-width: 800px) { .dishes { columns: 1; } }

.drinks-table { width: 100%; border-collapse: collapse; }
.drinks-table td { padding: .55rem .4rem; border-bottom: 1px dotted var(--line); font-size: .95rem; }
.drinks-table .d-size { color: var(--muted); font-size: .86rem; white-space: nowrap; }
.drinks-table .d-price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.carta-foot { font-size: .88rem; color: var(--muted); margin-top: .4rem; }

/* -------------------------- Trier & Mosel ------------------------- */
.videoblock { margin-bottom: 2.2rem; }
.videoblock video, .videoblock .ph { width: 100%; border-radius: var(--radius); }
.videoblock .ph { aspect-ratio: 16 / 7; min-height: 0; }
.videoblock figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }

.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1.4rem; }
.hl-grid .tile { width: 100%; border: 0; padding: 0; background: none; margin: 0; cursor: zoom-in; position: relative; border-radius: var(--radius); overflow: hidden; }
.hl-grid .tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hl-grid .ph { aspect-ratio: 4 / 3; min-height: 0; }
@media (max-width: 900px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hl-grid { grid-template-columns: 1fr; } }
.hl-body { padding: 1.1rem 0 0; }
.hl-body h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.hl-body p { font-size: .92rem; color: var(--muted); }
.hl-dist { display: inline-block; margin-top: .5rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }

.distances { margin-top: 2.6rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.distances ul { list-style: none; margin: 0; padding: 0; }
.distances li { display: flex; align-items: baseline; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.distances li span:first-child { flex: 1; }
.distances li strong { font-family: var(--display); font-size: 1.15rem; color: var(--brown); }
.distances p { font-size: .95rem; color: var(--muted); }
@media (max-width: 800px) { .distances { grid-template-columns: 1fr; } }

/* ---------------------------- Kontakt ----------------------------- */
.kontakt-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.kontakt-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.4rem; }
.kontakt-card dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: .25rem; }
.kontakt-card dd { margin: 0; color: #FBF4E7; }
.kontakt-card a { color: #FBF4E7; }
.kontakt-card .muted { margin-top: 1.4rem; font-size: .9rem; color: rgba(248,243,233,.66); }

.karte { margin: 0; border: 1px solid var(--line-gold); border-radius: var(--radius); overflow: hidden; }
.karte img { width: 100%; height: auto; }
.karte figcaption {
  display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between;
  padding: .8rem 1rem; background: var(--brown-deep); font-size: .84rem; color: rgba(248,243,233,.7);
}
.karte figcaption a { color: var(--gold); }
@media (max-width: 860px) { .kontakt-grid { grid-template-columns: 1fr; } }

.anfahrt { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.anfahrt h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.anfahrt p { font-size: .95rem; }

/* ----------------------------- Fußzeile --------------------------- */
.site-footer { background: var(--brown-deep); color: rgba(248, 243, 233, .62); padding: 3.5rem 1.25rem 2.5rem; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 1rem; }
.footer-mark { width: 168px; height: auto; color: var(--gold); opacity: .9; }
.footer-adr { font-size: .95rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.footer-links a { color: rgba(248, 243, 233, .8); text-decoration: none; font-size: .86rem; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }
.footer-admin { opacity: .45; font-size: .78rem !important; }
.footer-copy { font-size: .8rem; margin: .4rem 0 0; }

/* ----------------------------- Lightbox --------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(30, 14, 15, .95);
  align-items: center; justify-content: center; padding: 3rem 1rem;
}
.lightbox:not([hidden]) { display: flex; }
.lb-figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lb-figure img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lb-figure figcaption { color: rgba(248,243,233,.8); font-size: .9rem; margin-top: .9rem; }
.lb-close, .lb-nav {
  position: absolute; background: none; border: 0; color: var(--gold);
  font-size: 2.6rem; line-height: 1; cursor: pointer; padding: .4rem .8rem;
}
.lb-close { top: 1rem; right: 1.2rem; font-size: 2.2rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }

/* --- Qualitaetsstandard 2026-09-04 --- */

.zum-inhalt {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #241416; color: #fff; padding: 12px 20px; border-radius: 0 0 4px 0;
  text-decoration: none; font-weight: 700;
}
.zum-inhalt:focus { left: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #F8F3E9;
  outline-offset: 2px;
  border-radius: 2px;
}

@media print {
  header, nav, footer, .btn, button, form, .zum-inhalt { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* Bilder mit width/height-Attribut behalten ihr Seitenverhaeltnis, auch wenn die
   Breite per CSS begrenzt wird. :where() hat Spezifitaet 0 — jede eigene Regel
   der Seite (z. B. height: 100% bei Hero-Bildern) gewinnt weiterhin. */
:where(img[width][height]) { height: auto; }
