/* Weihnachten 2026 — layout & colors follow the design mockup in /resources
   (dark / cream sections, serif headings, square gold buttons with arrow).
   Logo stays the main site's logo-frame.svg. */

:root {
  --gold: #d7b36b;
  --gold-hover: #c29c52;
  --gold-dark: #8c6d34;      /* italic accent on the cream section */
  --bg-nav: #0f120f;
  --bg-dark: #131513;
  --bg-green: #20251e;
  --bg-cta: #23271e;
  --cream: #f3eee4;
  --ink: #1d1f1b;
  --text-light: #f3eee4;
  --text-muted-light: #b9b6ad;
  --text-muted-dark: #57564f;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-cream: rgba(140, 109, 52, 0.35);
  --nav-h: 57px; /* 40px logo + 2 × 0.5rem padding + 1px border */
}


/* Anchor links offset by the fixed navbar. */
html {
  scroll-padding-top: var(--nav-h); /* section starts exactly below the fixed navbar */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
  background-color: var(--bg-dark);
}

.display-serif {
  font-family: 'Gelasio', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.display-serif em {
  font-style: italic;
}

.text-gold {
  color: var(--gold) !important;
}

.text-gold-dark {
  color: var(--gold-dark) !important;
}

.text-muted-light {
  color: var(--text-muted-light);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ---------- Navbar ---------- */

.site-nav {
  background-color: var(--bg-nav);
  border-bottom: 1px solid var(--line-dark);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-nav .navbar-brand {
  padding: 0;
}

.site-nav .navbar-brand img {
  width: 40px;
  height: 40px;
}

.site-nav .navbar-toggler {
  height: 38px; /* same as the phone/mail icons, so the bar stays 57px tall */
  padding: 0 0.55rem;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-nav .navbar-toggler:focus {
  box-shadow: none;
}

.brand-tagline {
  color: #9a9a92;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
}

.site-nav .nav-link {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 400;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--gold);
}

@media (max-width: 991px) {
  /* Logo + tagline take whatever room is left next to the icons and menu
     button, so the tagline wraps instead of pushing the button to a new row. */
  .site-nav .navbar-brand {
    flex: 1 1 0;
    min-width: 0;
    margin-right: 0.5rem;
  }

  .site-nav .navbar-collapse {
    border-top: 1px solid var(--line-dark);
    margin-top: 0.5rem;
  }

  .site-nav .nav-link {
    font-size: 0.95rem;
  }
}

/* Phones: tagline wraps onto two short lines next to the logo so the
   phone/mail icons and the menu button fit on the same row. */
@media (max-width: 575px) {
  .site-nav .brand-tagline {
    max-width: 8.5rem;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    line-height: 1.35;
    white-space: normal; /* Bootstrap's .navbar-brand sets nowrap */
  }
}



/* Phone / e-mail icons in the navbar (tel: / mailto: links). */
.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-light);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.nav-icon:hover,
.nav-icon:focus {
  color: var(--gold);
  border-color: var(--gold);
}

/* Reserve shortcut on phones: gold like the main buttons, square like them. */
.nav-icon-reserve {
  border-radius: 0;
  border-color: var(--gold);
  background-color: var(--gold);
  color: var(--ink);
}

.nav-icon-reserve:hover,
.nav-icon-reserve:focus {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--ink);
}


/* ---------- Buttons ---------- */

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.25s, transform 0.2s;
}

.btn-gold:hover,
.btn-gold:focus {
  background-color: var(--gold-hover);
  color: var(--ink);
}

.btn-gold-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-gold-lg {
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
}

.btn-gold .arrow {
  display: inline-block;
  font-weight: 400;
  transition: transform 0.2s;
}

.btn-gold:hover .arrow {
  transform: translate(2px, -2px);
}

/* Reserve button + square phone / mail icons next to it. Icons stretch to
   the button's height so the three read as one group. */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
}

.cta-group .btn {
  white-space: nowrap;
}

/* Phones: keep button + both icons on one row; the button shrinks. */
@media (max-width: 575px) {
  .cta-group {
    flex-wrap: nowrap;
  }

  .cta-group .btn {
    flex: 1 1 auto;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.9rem;
  }

  .cta-group .arrow {
    margin-left: 0.5rem !important;
  }

  .cta-icon {
    width: 48px;
    flex-shrink: 0;
  }
}

/* Long label ("Gruppen & Weihnachtsfeiern anfragen"): whenever the column is
   too narrow (phones, small laptops) the text wraps inside the button so the
   icons stay beside it. */
.cta-group-long {
  flex-wrap: nowrap;
}

.cta-group-long .btn {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

.cta-group-long .cta-icon {
  flex-shrink: 0;
}

/* Next to "Welches wird euer Winterliebling?" the group must not break. */
.cta-row .cta-group {
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* Very narrow phones: button full width, icons on the row below. */
@media (max-width: 374px) {
  .cta-row .cta-group,
  .cta-group-long,
  .cta-group {
    flex-wrap: wrap;
  }

  .cta-group .btn {
    flex-basis: 100%;
  }
}

/* Hero: tighter vertical padding on short laptops → match icon width. */
@media (min-width: 992px) {
  .hero .cta-icon {
    width: clamp(46px, 6.5vh, 52px);
  }
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; /* ≈ height of .btn-gold-lg, so the icons look square */
  min-height: 46px;
  border: 1px solid rgba(215, 179, 107, 0.6);
  color: var(--gold);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.cta-icon:hover,
.cta-icon:focus {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* On the cream section the light gold is too faint — use the darker gold. */
.section-cream .cta-icon {
  border-color: rgba(140, 109, 52, 0.55);
  color: var(--gold-dark);
}

.section-cream .cta-icon:hover,
.section-cream .cta-icon:focus {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.text-link {
  color: var(--text-light);
  font-size: 0.9rem;
  text-decoration: none;
}

.text-link:hover {
  color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: var(--nav-h);
  background-color: var(--bg-dark);
}

.hero-inner {
  width: 100%;
  padding: 2.5rem 1.25rem 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.1;
}

.hero-lead,
.hero-copy {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-lead {
  color: var(--text-light);
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 3;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%; /* keep the front plate in frame */
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 45%);
}

.hero-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  margin: 0;
  font-family: 'Gelasio', Georgia, serif;
  font-size: clamp(1.25rem, 4.5vw, 1.8rem);
  line-height: 1.3;
  color: var(--text-light);
}

/* Tablet portrait (iPad 768–991px): still stacked, text aligned with .container. */
@media (min-width: 576px) and (max-width: 991px) {
  .hero-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 3.5rem 0.75rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 6.5vw, 3.8rem);
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
  }

  .hero-caption {
    left: 2rem;
    bottom: 2rem;
  }
}

/* Laptop / desktop / iPad landscape: side-by-side split that fits exactly one
   screen below the navbar. Type and spacing scale with viewport height so the
   whole text block stays visible without scrolling. */
@media (min-width: 992px) {
  .hero .row {
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    min-height: 520px;
    max-height: 980px;
  }

  .hero-photo {
    aspect-ratio: auto;
  }

  .hero-inner {
    /* left edge lines up with the Bootstrap .container used by the navbar */
    padding: clamp(1.5rem, 5vh, 4rem) 3.5rem clamp(1.5rem, 5vh, 4rem)
      max(0.75rem, calc((100vw - 960px) / 2 + 0.75rem));
  }

  .hero h1 {
    font-size: clamp(2.3rem, min(4.2vw, 8vh), 5rem);
  }

  .hero .eyebrow {
    margin-bottom: clamp(0.75rem, 2.5vh, 1.5rem) !important;
  }

  .hero-lead {
    margin-top: clamp(1rem, 3vh, 2rem) !important;
  }

  .hero-lead,
  .hero-copy {
    font-size: clamp(0.9rem, 2.1vh, 1.05rem);
    margin-bottom: clamp(0.6rem, 1.8vh, 1rem);
  }

  .hero .cta-group {
    margin-top: clamp(0.25rem, 1.5vh, 1rem) !important;
  }

  .hero .btn-gold-lg {
    padding: clamp(0.7rem, 1.8vh, 1rem) 1.75rem;
  }

  .hero .scroll-hint {
    margin-top: clamp(0.75rem, 2.5vh, 1.5rem) !important;
  }

  .hero-caption {
    left: 3rem;
    bottom: 2.5rem;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  }
}

@media (min-width: 1200px) {
  .hero-inner {
    padding-left: max(0.75rem, calc((100vw - 1140px) / 2 + 0.75rem));
  }
}

@media (min-width: 1400px) {
  .hero-inner {
    padding-left: max(0.75rem, calc((100vw - 1320px) / 2 + 0.75rem));
  }
}

/* Very short laptop windows (browser bars + dock eat the height):
   drop the secondary paragraph so everything still fits in one view. */
@media (min-width: 992px) and (max-height: 600px) {
  .hero-copy {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section-title {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.section-cream {
  background-color: var(--cream);
  color: var(--ink);
  padding: 6rem 0 4rem;
}

.section-cream p {
  color: var(--text-muted-dark);
}

.section-dark {
  background-color: var(--bg-dark);
  padding: 6rem 0;
}

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

.section-cta {
  background-color: var(--bg-cta);
  border-top: 1px solid rgba(215, 179, 107, 0.25);
  padding: 6.5rem 0;
}

.photo {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (max-width: 767px) {
  .section-cream {
    padding: 4rem 0 3rem;
  }

  .section-dark,
  .section-cta {
    padding: 4rem 0;
  }

  .cta-row {
    margin-top: 3rem !important;
  }

  .dish-sub {
    font-size: 1.3rem !important;
  }
}

/* ---------- Specialties ---------- */

.spec-title {
  margin-bottom: 3rem;
}

.dish-photo {
  height: 300px;
}

.dish-row + .dish-row {
  margin-top: 3.5rem;
}

.dish-photo-ente {
  object-position: center;
}

.dish-photo-ga {
  object-position: center;
}

.dish-label {
  color: var(--text-muted-dark) !important;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.dish-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.dish-sub {
  font-family: 'Gelasio', Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-dark) !important;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.dish-note {
  font-size: 0.9rem;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.cta-row {
  border-top: 1px solid var(--line-cream);
  margin-top: 4rem;
  padding-top: 2rem;
}

.cta-row .display-serif {
  color: var(--ink) !important;
}

@media (min-width: 576px) and (max-width: 991px) {
  .dish-photo {
    height: 380px;
  }
}

/* Laptop / desktop: zig-zag rows, photo beside the text. */
@media (min-width: 992px) {
  .dish-row {
    --bs-gutter-x: 3rem; /* wider gutter only from 1200px, or the row overflows at 992px */
    align-items: center !important;
  }

  .dish-row + .dish-row {
    margin-top: 5rem;
  }

  .dish-photo {
    height: 460px;
  }
}

@media (min-width: 1200px) {
  .dish-row {
    --bs-gutter-x: 5rem;
  }
}

/* ---------- Split (Gemeinsam feiern) ---------- */

.split-photo {
  position: relative;
  min-height: 420px;
}

.split-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-inner {
  max-width: 760px;
  padding: 6rem 4rem 6rem 8%;
}

@media (max-width: 991px) {
  .split-inner {
    padding: 3.5rem 1.5rem;
  }
}

/* ---------- Gallery ---------- */

.gallery-photo {
  height: 420px;
}

@media (max-width: 767px) {
  .gallery-photo {
    height: 280px;
  }
}

/* Laptop / desktop: heading + both photos fit in one screen below the navbar.
   Photo height and padding scale with viewport height. */
@media (min-width: 992px) {
  .gallery-section {
    padding: clamp(2rem, 6vh, 5rem) 0;
  }

  .gallery-section .section-title {
    font-size: clamp(2rem, min(3.6vw, 6vh), 3.4rem);
  }

  .gallery-section .gallery-photo {
    height: clamp(240px, 52vh, 460px);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--line-dark);
  padding: 5rem 0 2.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-brand-name {
  display: block;
  font-family: 'Gelasio', Georgia, serif;
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}

/* Phone / e-mail in the footer: gold + underlined so they read as tappable. */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(215, 179, 107, 0.45);
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--text-light);
  text-decoration-color: var(--text-light);
}

.contact-link svg {
  flex-shrink: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  color: var(--text-muted-light);
}
