/* ==========================================================================
   Pizzeria Teggiano — Stylesheet
   Keine Frameworks, keine Abhängigkeiten. Reihenfolge:
   1 Fonts  2 Tokens  3 Reset  4 Layout  5 Komponenten  6 Sektionen  7 Utilities
   ========================================================================== */

/* 1 ── Fonts ─────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Great Vibes';
  src: url('../fonts/great-vibes-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Helvetica Neue — lokal eingebunden, auf Latin + Latin-Extended reduziert.
   Der Roman-Schnitt (400) dieser Fassung enthält kein Euro-Zeichen; die
   Preise laufen über 500 (Medium), dort ist es vorhanden. */

@font-face {
  font-family: 'Helvetica Neue Web';
  src: url('../fonts/helvetica-neue-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue Web';
  src: url('../fonts/helvetica-neue-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue Web';
  src: url('../fonts/helvetica-neue-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue Web';
  src: url('../fonts/helvetica-neue-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2 ── Tokens ────────────────────────────────────────────────────────────── */

:root {
  /* Farben — Akzent stammt aus dem Original-Theme (#6a0000) */
  --wine: #6a0000;
  --wine-light: #8f1414;
  --ink: #2b2b2b;
  --ink-soft: #4a4a4a;
  --muted: #8b8d94;
  --line: #e2e2e2;
  --line-dotted: #c9c9c9;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --bg-dark: #1a1a1a;
  --on-dark: #eeeeee;
  --on-dark-muted: #9a9a9a;

  /* Typografie */
  --font-script: 'Great Vibes', 'Segoe Script', cursive;
  --font-display: 'Helvetica Neue Web', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  --font-body: 'Helvetica Neue Web', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;

  /* Maße */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 5.5rem;

  --shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  --shadow-lift: 0 10px 34px rgba(0, 0, 0, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3 ── Reset ─────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

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

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

/* 4 ── Layout ────────────────────────────────────────────────────────────── */

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

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--on-dark);
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--wine);
  color: #fff;
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 5 ── Komponenten ───────────────────────────────────────────────────────── */

/* -- Header / Navigation -- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    min-height 0.3s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.site-header--solid {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  min-height: 4.5rem;
}

/* Seiten ohne Hero starten direkt mit weißem Header. */
.site-header--static {
  position: sticky;
  background: #fff;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 3.25rem;
  transition: height 0.3s var(--ease);
}

.site-header--solid .brand img,
.site-header--static .brand img {
  height: 2.75rem;
}

/* Das Logo ist weiße Schrift — über dem Hero passt es, auf Weiß nicht.
   Auf hellem Grund wird die dunkle Variante gezeigt (Wappen und Flagge
   behalten so ihre Farben). */
.brand__dark,
.site-header--solid .brand__light,
.site-header--static .brand__light {
  display: none;
}

.site-header--solid .brand__dark,
.site-header--static .brand__dark {
  display: block;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}

.site-header--solid .nav-toggle,
.site-header--static .nav-toggle {
  color: var(--ink);
}

.nav-toggle svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-inline: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__close {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  display: block;
  padding-block: 0.4rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: color 0.2s var(--ease);
}

.site-header--solid .nav a,
.site-header--static .nav a {
  color: var(--ink);
  text-shadow: none;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--wine-light);
  transition: width 0.25s var(--ease);
}

.site-header--solid .nav a::after,
.site-header--static .nav a::after {
  background: var(--wine);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current='page']::after {
  width: 100%;
}

@media (max-width: 860px) {
  /*
    Der <nav>-Wrapper bleibt im Markup und im Accessibility-Baum, soll hier
    aber nicht als Flex-Element zählen: seine Liste liegt mobil fixed, der
    Wrapper wäre also 0 px breit — space-between würde den Burger-Button
    trotzdem als mittleres von drei Elementen zentrieren statt ihn nach
    rechts zu setzen.
  */
  .site-header__inner > nav {
    position: absolute;
  }

  .nav-toggle {
    display: block;
    /*
      Die Schaltfläche ist 2,75 rem breit, das Icon 1,75 rem — der Zug nach
      rechts stellt das Icon selbst auf die Rasterkante, nicht den Button.
      So fluchtet es mit dem linken Rand des Logos.
    */
    margin-right: -0.5rem;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1.25rem;
    background: #fff;
    box-shadow: var(--shadow-lift);
    transform: translateY(-135%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav[data-open='true'] {
    transform: translateY(0);
    visibility: visible;
  }

  .nav a {
    padding: 0.9rem var(--gutter);
    color: var(--ink);
    text-shadow: none;
    font-size: 0.9375rem;
  }

  .nav a::after {
    left: var(--gutter);
    background: var(--wine);
  }
}

/* -- Buttons -- */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1px solid var(--wine);
  border-radius: 3px;
  background: var(--wine);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--wine-light);
  border-color: var(--wine-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--wine);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--wine);
  color: #fff;
}

/* -- Section headings -- */

.heading {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.heading--left {
  text-align: left;
}

.heading__kicker {
  display: block;
  margin-bottom: 0.1em;
  color: var(--wine);
  font-family: var(--font-script);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}

.heading__title {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section--dark .heading__title {
  color: #fff;
}

.section--dark .heading__kicker {
  color: #fff;
}

/* Doppelstrich unter der Überschrift — Detail aus dem Original */
.heading__rule {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.heading--left .heading__rule {
  justify-content: flex-start;
}

.heading__rule span {
  width: 2rem;
  height: 2px;
  background: var(--line-dotted);
}

.section--dark .heading__rule span {
  background: rgba(255, 255, 255, 0.4);
}

/* -- Speisekarte -- */

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 clamp(2rem, 5vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list--single {
  grid-template-columns: 1fr;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px dotted var(--line-dotted);
}

.menu-item__name {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.menu-item__price {
  color: var(--wine);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
}

.menu-item__desc {
  grid-column: 1 / -1;
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.section--dark .menu-item {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.section--dark .menu-item__name {
  color: #fff;
}

.section--dark .menu-item__price {
  color: #e8b4b4;
}

.section--dark .menu-item__desc {
  color: var(--on-dark-muted);
}

/* Karten-Sektion auf der Speisekarten-Seite */
.menu-block + .menu-block {
  margin-top: clamp(3rem, 7vw, 5rem);
}

/* Fußnote einer Kategorie, direkt unter der Überschrift */
.menu-note {
  max-width: 62ch;
  margin: -0.5rem auto clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

.section--dark .menu-note {
  color: rgba(255, 255, 255, 0.72);
}

/* -- Karte (Bild + Text nebeneinander) -- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.split__media img {
  width: 100%;
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: #fff;
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

.heading__rule--center {
  justify-content: center;
  margin-block: 1rem 1.5rem;
}

/* -- Galerie -- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

/* -- Bewertungen -- */

.reviews {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.review {
  display: none;
}

.review[data-active='true'] {
  display: block;
  animation: fade-in 0.45s var(--ease);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.review blockquote {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-style: italic;
  line-height: 1.7;
}

.review__stars {
  color: #e2a03f;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
}

.review__author {
  margin-top: 0.6rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reviews__nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.reviews__dot {
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-dotted);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.reviews__dot[aria-selected='true'] {
  background: var(--wine);
  transform: scale(1.25);
}

.reviews__arrow {
  position: absolute;
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.reviews__arrow:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.reviews__arrow--prev {
  left: -1rem;
}

.reviews__arrow--next {
  right: -1rem;
}

@media (max-width: 720px) {
  .reviews__arrow {
    display: none;
  }
}

/* -- Kontakt-Kacheln -- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}

.info {
  display: flex;
  gap: 1rem;
}

.info__icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.25rem;
  fill: none;
  stroke: var(--wine);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.info p {
  margin: 0;
  font-size: 0.9375rem;
}

.info a {
  color: inherit;
  text-decoration: none;
}

.info a:hover {
  color: var(--wine);
  text-decoration: underline;
}

/* -- Statische Karte -- */

.map-static {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.map-static img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.map-static:hover img {
  transform: scale(1.03);
}

.map-static__label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.map-static__label svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--wine);
  stroke-width: 1.8;
}

/* -- Footer -- */

.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--bg-dark);
  color: var(--on-dark);
  text-align: center;
}

.site-footer__logo {
  height: 3rem;
  width: auto;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: clamp(2rem, 5vw, 3rem);
  font-size: 0.9375rem;
}

.site-footer__cols p {
  margin: 0;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  color: var(--bg-dark);
  transition: transform 0.2s var(--ease);
}

.site-footer__social:hover {
  transform: translateY(-2px);
}

.site-footer__social svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.site-footer__bottom {
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom a {
  color: var(--wine-light);
}

.site-footer__bottom a:hover {
  color: #fff;
}

/* -- Nach-oben-Button -- */

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 3px;
  background: var(--wine);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.25s var(--ease), visibility 0.25s,
    transform 0.25s var(--ease);
}

.to-top[data-visible='true'] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* 6 ── Sektionen ─────────────────────────────────────────────────────────── */

/* -- Hero (Startseite) -- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(100svh, 52rem);
  padding-block: calc(var(--header-h) + 2rem) 4rem;
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Oben und unten abdunkeln, damit Navigation und Button Halt haben. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.08) 30%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0.38) 100%
  );
}

.hero__inner {
  position: relative;
  max-width: 52rem;
}

/* Weicher Lichtschleier hinter dem Text. Der Bildausschnitt ändert sich je
   nach Fenstergröße — der Schleier hält die dunkle Schrift überall lesbar,
   ohne wie ein Kasten zu wirken. */
.hero__inner::before {
  content: '';
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.6) 45%,
    rgba(255, 255, 255, 0) 72%
  );
}

.hero__title {
  margin: 0;
  color: var(--wine);
  font-family: var(--font-script);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.hero__title span {
  display: block;
  color: var(--ink);
}

.hero__title-loc {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Besteck.png ist die komplette Zierlinie inkl. Besteck (435 x 47). */
.hero__divider {
  width: clamp(11rem, 30vw, 16rem);
  height: auto;
  margin: 1.75rem auto 1.25rem;
}

.hero__hours-title {
  margin: 0 0 0.35rem;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 300;
}

.hero__hours {
  margin: 0 0 2rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.9;
}

/* -- Page hero (Unterseiten) -- */

.page-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding-block: calc(var(--header-h) + 2.5rem) 3.5rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.4);
}

.page-hero__title {
  position: relative;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
  position: relative;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  opacity: 0.6;
}

/* -- Holz-Textur für die dunkle Menü-Sektion --
   Wird immer zusammen mit .section--dark gesetzt; von dort kommen die
   Textfarben. Hier kommt nur die Textur dazu. -- */

.section--wood {
  position: relative;
}

/* Das Foto liegt als dezente Textur auf dem dunklen Grund. Eine kräftigere
   Aufnahme wäre schöner, aber das helle Holzbrett sitzt genau dort, wo die
   Gerichte stehen — bei höherer Deckkraft wird der Text unlesbar. */
.section--wood::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
  background-image: url('../img/holz-bg-1920.jpg');
  background-image: -webkit-image-set(
    url('../img/holz-bg-1920.webp') type('image/webp'),
    url('../img/holz-bg-1920.jpg') type('image/jpeg')
  );
  background-image: image-set(
    url('../img/holz-bg-1920.webp') type('image/webp'),
    url('../img/holz-bg-1920.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
}

/* Über den hellen Stellen des Fotos braucht der Text etwas Halt. */
.section--wood .heading__kicker,
.section--wood .heading__title,
.section--wood .menu-item__name,
.section--wood .menu-item__price,
.section--wood .menu-item__desc {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.section--wood > * {
  position: relative;
  z-index: 1;
}

/* -- Reservierungs-Sektion -- */

.reserve__phone {
  display: inline-block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.reserve__phone:hover {
  color: var(--wine);
}

/* -- Rechtstexte -- */

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.legal h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.legal p,
.legal li {
  font-size: 0.9375rem;
}

.legal a {
  word-break: break-word;
}

/* 7 ── Utilities ─────────────────────────────────────────────────────────── */

.text-center {
  text-align: center;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.85;
}

.stack > * + * {
  margin-top: 1.25rem;
}

.mt-l {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.heading--tight {
  margin-bottom: 1.75rem;
}

.heading__kicker--xl {
  font-size: clamp(3rem, 10vw, 5rem);
}

.legal__title {
  margin-bottom: 2rem;
}

.section--flush-top {
  padding-top: 0;
}

.credit {
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.mt-s {
  margin-top: 1rem;
}

.mt-m {
  margin-top: 1.25rem;
}

.mb-xs {
  margin-bottom: 0.25rem;
}

.mb-m {
  margin-bottom: 1.5rem;
}

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

/* Einblenden beim Scrollen — per JS aktiviert, ohne JS immer sichtbar. */
[data-reveal] {
  opacity: 1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js [data-reveal][data-revealed='true'] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .to-top,
  .hero,
  .page-hero {
    display: none !important;
  }

  body {
    color: #000;
  }

  .section {
    padding-block: 1rem;
  }

  .menu-item {
    break-inside: avoid;
  }
}
