/* =========================================================
   Modern Clean CSS – Oldtimer Stüberl (aktualisierte Version)
   ========================================================= */

/* Farben & Grundwerte */
:root {
  --creme: #f8f6f1;
  --warm-grau: #343230;
  --messing: #c6a56d;
  --bordeaux: #181e61;
  /*--bordeaux: #9e2f36;*/
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: #222;
  line-height: 1.65;
  letter-spacing: .01em;
  font-family: "Inter Local", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Lokale Fonts */
@font-face {
  font-family: "Cormorant Local";
  src: url("/assets/fonts/CormorantGaramond-VariableFont_wght.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter Local";
  src: url("/assets/fonts/Inter-VariableFont_slnt,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Typografie */
h1, h2, h3, h4 {
  font-family: "Cormorant Local", serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--warm-grau);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .75em; }

a { color: var(--warm-grau); text-decoration: none; }
a:hover { color: var(--bordeaux); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
section {
  padding: clamp(1.5rem, 4vw, 2rem) 0;
}
section + section {
  margin-top: 0;
  padding-top: 0;
}
/* =========================================================
   HEADER
   ========================================================= */

header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 246, 242, 0.8);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 2px solid #d4c5a1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  color: #3b3a38;
}

/* --- TOPBAR --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1rem;
  height: 72px;
  position: relative;
  z-index: 5;
}

/* --- LOGO --- */
.brand {
  display: flex;
  align-items: center;
  height: calc(72px + 72px); /* spans topbar + nav */
}
.brand img.logo-img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Keep logo inside normal flow (no absolute positioning!) */
.brand {
  position: relative;
  z-index: 5;
}

/* --- SOCIALS + BURGER --- */
.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
}

/* BURGER BUTTON (Mobile only) */
.hamburger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  color: #3b3a38;
  cursor: pointer;
}

/* DESKTOP: hide burger completely */
@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }
}

@media (min-width: 992px) {
  /* 1) Grid-Items über die volle Zeilenhöhe strecken */
  header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 72px 48px;   /* passe hier die Gesamt-Höhe an */
    align-items: stretch;            /* WICHTIG: statt center */
  }

  /* 2) Topbar entkoppeln, damit .brand Grid-Item wird */
  .topbar { display: contents; }

  /* 3) Logo über beide Zeilen spannen und vertikal mittig halten */
  .brand {
    grid-column: 1;
    grid-row: 1 / 3;                 /* spannt beide Zeilen */
    display: flex;
    align-items: center;             /* Logo im Brand-Block mittig */
  }
  .brand img.logo-img {
    height: 100%;                    /* füllt nun wirklich beide Zeilen */
    width: auto;
    display: block;
    object-fit: contain;
  }
  
  .brand img.logo-img { height: 256px !important; width: auto;}

  /* Rest wie gehabt */
  .top-actions { grid-column: 3; grid-row: 1; justify-self: end; }
  .nav { grid-column: 2; grid-row: 2; display: flex !important; }
}

/* --- NAVIGATION --- */
.nav {
  display: none; /* hidden by default (mobile) */
  flex-direction: column;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: rgba(248, 246, 242, 0.95);
  position: relative;
  z-index: 4;
}

#menu-toggle:checked + .nav {
  display: flex;
}

.nav a {
  position: relative;
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: #3b3a38;
  text-align: center;
  display: block;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .35rem;
  height: 2px;
  background: var(--messing);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

/* Desktop view */
@media (min-width: 992px) {
  .nav {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-top: none;
    background: transparent;
  }
  /* === FORCE-HIDE BURGER TOGGLE CHECKBOX === */
#menu-toggle {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  z-index: -9999 !important;
}

  .topbar { height: 72px; }
  .brand { height: calc(72px + 48px); }
}

/* Mobile smaller heights */
@media (max-width: 767px) {
  .topbar { height: 60px; }
  .brand { height: calc(60px + 44px); }
}; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-cta {
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-weight: 700;
  background: var(--bordeaux);
  color: #fff;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.05);
  transition: opacity .2s ease, transform .08s ease;
}
.btn-cta:hover { opacity: .95; }
.btn-cta:active { transform: translateY(1px); }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(4rem, 9vw, 8rem) 1.5rem;
  width: 99vw;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  padding-bottom: 1rem; /* Abstand vom unteren Rand */
}

/* Desktop: mehr Höhe */
@media (min-width: 992px) {
  .hero {
    min-height: 95vh; /* Höhe anpassen, z. B. 80–90 vh */
    align-items: flex-end; /* Text unten positionieren */
    padding-bottom: 2.5rem; /* Abstand vom unteren Rand */
  }
}

.hero .bg {
  position: absolute;
  inset: 0;
  background: url('/assets/img/mike_und_karin.jpg') center/cover no-repeat;
  
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 28%, rgba(0,0,0,.1), rgba(0,0,0,.45));
  z-index: 1;
}
.hero .inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: grid;
  place-items: center;
  max-width: 42rem;
}

.hero .inner {
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  padding: 2rem 1.5rem;
}
.hero .inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 42rem;
}



/* =========================================================
   SPECIALS / CARDS
   ========================================================= */
/* UNIFORM: alle Karten gleich groß */
.cards.cards--uniform {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch; /* Items füllen die Grid-Zeile */
}

.cards.cards--uniform .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #eee7dd;
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .12s ease, border-color .2s ease;
}

.cards.cards--uniform .card:hover {
  transform: translateY(-1px);
  border-color: #e5dbc9;
}

/* Bildbereich in uniformen Cards: konsistente Bildhöhe */
.cards.cards--uniform .card img {
  width: 100%;
  height: 180px;       /* einheitliche Bildhöhe */
  object-fit: cover;
  display: block;
}

.cards.cards--uniform .card .eyebrow {
  font-size: .82rem;
  color: #7a756c;
  text-transform: uppercase;
  letter-spacing: .06em;
}
/* MEDIA: Cards wachsen mit dem Inhalt/Bild */
.cards.cards--media {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cards.cards--media .card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 300px;
  transition: transform .12s ease, border-color .2s ease;
  border: 1px solid #eee7dd; /* falls du den Hover-Border-Effekt willst */
}

.cards.cards--media .card:hover {
  transform: translateY(-1px);
  border-color: #e5dbc9;
}

.cards.cards--media .card img {
  width: 100%;
  height: 220px;    /* einheitliche Bildhöhe (kannst du anpassen) */
  object-fit: cover;
  display: block;
}

.cards.cards--media .card .eyebrow {
  font-size: .82rem;
  color: #7a756c;
  text-transform: uppercase;
  letter-spacing: .06em;
}


/* =========================================================
   MENÜ (Speisekarte)
   ========================================================= */
.menu-item { padding: .75rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.menu-name { font-weight: 600; color: var(--bordeaux); font-size: 1.05rem; }
.menu-desc { font-size: .9rem; color: var(--warm-grau); }
.menu-section h2 {
  margin-top: 0rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--messing);
  display: inline-block;
  padding-bottom: .25rem;
}

/* =========================================================
   KONTAKT
   ========================================================= */
.contact-grid { display: flex; flex-direction: column; gap: 2rem; margin-top: 1.5rem; }
.contact-info, .contact-map { flex: 1; }
@media (min-width:768px) {
  .contact-grid { flex-direction: row; align-items: flex-start; gap: 3rem; }
}
.opening-hours { list-style: none; padding: 0; margin: .5rem 0 0; }
.opening-hours li { padding: .3rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.contact-map iframe, .contact-map .map-wrapper {
  width: 100%; min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* =========================================================
   MISC
   ========================================================= */
.divider { height: 1px; background: linear-gradient(90deg, transparent, #ece5d9, transparent); margin: 2rem 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
/* === FORCE-HIDE BURGER TOGGLE CHECKBOX === */
#menu-toggle {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  z-index: -9999 !important;
}



/* ==========================================
   SPLIT-SECTIONS (Text links/rechts + Bild)
   ========================================== */

.menu-section.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Bild + Text nebeneinander auf Desktop */
@media (min-width: 768px) {
  .menu-section.split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 480px; /* gleichmäßige Höhe */
  }

  .menu-section.split:nth-child(even) {
    flex-direction: row-reverse; /* optional: abwechselnde Ausrichtung */
  }

  .split-content {
    flex: 1 1 50%;
    padding: 1rem;
  }

  .split-image {
    flex: 1 1 50%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Mobile: Bild unterhalb, über gesamte Breite */
@media (max-width: 767px) {
  .split-image img {
    display: block;
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
    object-fit: cover;
    max-height: 320px;
  }
}

/* ==========================================
   Mittagsmenü – Bild responsiv
   ========================================== */

.menuplan {
  max-width: 100%;
  margin: 2rem auto;
  text-align: center;
}

.menuplan img {
  width: 100%;
  height: auto;
  max-width: 900px; /* optional: begrenzt Breite auf großen Screens */
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.menuplan figcaption {
  font-size: 0.9rem;
  color: var(--warm-grau);
  margin-top: 0.5rem;
}

/* ==========================================
   Vollbreite Zwischenbilder (ähnlich Hero)
   ========================================== */
.fullwidth-image {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.fullwidth-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 600px; /* optional, um das Bild flacher zu halten */
  filter: brightness(0.95); /* optional: leicht abdunkeln für Kontrast */
}

/* ==========================================
   Vollbreites Bild – vollständige Anzeige (nicht abgeschnitten)
   ========================================== */
.fullwidth-image-contain {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: visible; /* wichtig: kein Zuschnitt */
  background: var(--creme);
  text-align: center;
}

.fullwidth-image-contain img {
  display: block;
  width: 100%;
  height: auto;           /* automatische Höhe – nichts wird abgeschnitten */
  object-fit: contain;    /* Bild vollständig anzeigen */
  background-color: var(--creme); /* Hintergrund bei abweichendem Seitenverhältnis */
  border-top: 2px solid var(--messing);
  border-bottom: 2px solid var(--messing);
}


/* ==========================================
   FOOTER
   ========================================== */

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  background: #343230; /* warm-grau: der alte Header-Ton */
  color: #f8f6f1;      /* cremefarbener Text */
  padding: 2rem 0 0;
  border-top: 3px solid var(--messing);
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.footer-left h3 {
  font-family: "Cormorant Local", serif;
  font-size: 1.6rem;
  color: var(--messing);
  margin-bottom: 0.25rem;
}

.footer-center h4,
.footer-right h4 {
  color: var(--messing);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-right a {
  color: var(--creme);
  text-decoration: none;
}
.footer-right a:hover {
  color: var(--messing);
}

/* Social Icons im Footer */
.footer-socials {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.footer-socials svg {
  color: var(--messing);
  transition: color .2s ease, transform .2s ease;
}
.footer-socials a:hover svg {
  color: var(--bordeaux);
  transform: translateY(-2px);
}

/* Unterer Balken */
.footer-bottom {
  background: #2c2a28;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--messing);
}

/* Desktop Layout */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--messing), transparent);
  margin-bottom: 1rem;
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--messing), transparent);
  margin-bottom: 1rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--messing);
}


/* ==========================================
   Prominenter Download-Block
   ========================================== */
.menu-download {
  margin: 3rem auto;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(248,246,241,0.95), rgba(240,236,225,0.95));
  border: 1px solid #e5dbc9;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 900px;
}

.menu-download h2 {
  color: var(--bordeaux);
  margin-bottom: .5rem;
}

.menu-download p {
  margin: 0 0 1rem 0;
  color: var(--warm-grau);
}

.menu-download-btn {
  font-size: 1.1rem;
  padding: 1rem 1.75rem;
  background: var(--bordeaux);
  color: #fff;
  border-radius: 999px;
  transition: background .2s ease, transform .1s ease;
}
.menu-download-btn:hover {
  background: #842830;
  transform: translateY(-1px);
}
.menu-download-btn:active {
  transform: translateY(1px);
}

@media (min-width: 768px) {
  .menu-download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .menu-download-text {
    flex: 1;
    padding-right: 2rem;
  }
}

/* ==========================================
   Candlelight Dinner – Accordion
   ========================================== */
.accordion {
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: #fff;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--warm-grau);
  background: linear-gradient(90deg, rgba(248,246,241,0.9), rgba(240,236,225,0.9));
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.accordion-header:hover {
  background: rgba(230,225,210,0.9);
  color: var(--bordeaux);
}

.accordion-header[aria-expanded="true"] {
  background: var(--bordeaux);
  color: #fff;
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  background: #fff;
  padding: 0 1.25rem;
}

.accordion-content ul {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.accordion-content li {
  margin-bottom: 0.75rem;
}

.accordion-content .desc {
  font-size: 0.9rem;
  color: var(--warm-grau);
  margin-left: 0.5rem;
}



/**************
***/