/* =====================
   JÄGERSTUBEN – RESPONSIVE CSS
   Überarbeitet für Handy, Tablet, Desktop
   ===================== */

/* ========== GLOBALE VARIABLEN ========== */
:root {
  /* Light Mode */
  --bg-color: #f4f1ec;
  --text-color: #000000;
  --container-bg: #ffffff;
  --nav-bg: #5a3e2b;
  --nav-hover: #3e2a1d;
  --footer-bg: #5a3a25;
  --social-color: #ffffff;
  --header-overlay: rgba(0, 0, 0, 0.4);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --content-bg: #ffffff;
  --content-border: #eaeaea;
  --content-highlight: #000000;
  --button-bg: #5a3a25;
  --button-text: #f8f8f8;
}



/* Dark Mode Variablen greifen auch, wenn <html> schon dark-mode hat */
html.dark-mode body{
  --bg-color: #1a1a1a;
  --text-color: #e0e0e0;
  --container-bg: #2d2d2d;
  --nav-bg: #3a2a1c;
  --nav-hover: #2b1e13;
  --footer-bg: #2b1e13;
  --social-color: #cccccc;
  --header-overlay: rgba(0, 0, 0, 0.7);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --content-bg: #2d2d2d;
  --content-border: #444444;
  --content-highlight: #ffffff;
  --button-bg: #3a2a1c;
  --button-text: #e0e0e0;
}


/* ========== BASIS-STYLES ========== */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  /* WICHTIG: min-width entfernt → echtes Responsive */
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

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

/* ========== LAYOUT-HILFEN ========== */
.wrapper {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ========== HEADER ========== */
header {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  color: #ffffff;

  /* HERO-HINTERGRUND ÜBER GANZE SEITE */
  background:
    url('../assets/images/Hintergrund3.jpg') center center / cover no-repeat;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--header-overlay);
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 90%;
}

/* ========== NAVIGATION ========== */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex;
  gap: .25rem;
  justify-content: center;
  align-items: center;
  background-color: var(--nav-bg);
  overflow-x: auto;
  white-space: nowrap;
  padding: .25rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: .75rem 1rem;
  border-radius: .5rem;
  transition: background-color .2s ease;
  display: inline-block;
}

nav a:hover, nav a.active {
  background-color: var(--nav-hover);
}

/* ========== HAUPTINHALT ========== */
main { padding: 1.25rem; }

/* ========== CONTENT-CONTAINER ========== */
.container,
.datenschutz-container,
.galerie-container,
.impressum-container,
.Kontakt-container,
.Geschichte-container,
.Willkommen-container {
  width: min(900px, 100%);
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  background-color: var(--content-bg);
  box-shadow: 0 0 15px var(--shadow-color);
  border-radius: 12px;
  line-height: 1.7;
}

.Geschichte-container {
  width: min(900px, 100%);
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  background-color: var(--content-bg);
  box-shadow: 0 0 15px var(--shadow-color);
  border-radius: 12px;
  line-height: 1.7;
}
/* Entfernt fehlerhafte Positionierung */
.Willkommen-container { min-height: 320px; }

.section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--content-border);
}

h2 {
  color: var(--content-highlight);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--content-highlight);
  padding-bottom: .5rem;
  display: inline-block;
}

/* ========== GALERIE & BILDER ========== */
.image-gallery,
.bilder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem auto;
  padding: 0;
}

.image-gallery img,
.bilder-grid img,
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px; /* angenehm abgerundet */
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform .3s ease;
  object-fit: cover;
}

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; }
.gallery img { aspect-ratio: 4/3; }

.image-gallery img:hover,
.bilder-grid img:hover,
.gallery img:hover { transform: scale(1.03); }

.image-caption { text-align: center; font-size: .9rem; margin-top: .3rem; }

/* "über uns" Bilder */
.image-geschichte img { border-radius: 12px; object-fit: cover; }
/* Nur Desktop (ab 1024px): Bilder in .image-geschichte zentrieren */
@media (min-width: 1024px) {
  .image-geschichte {
    display: grid;            /* einfacher Weg zum Zentrieren */
    justify-items: center;    /* Inhalte horizontal mittig */
  }

  .image-geschichte img {
    display: block;
    margin: 0 auto;
    width: min(100%, 720px);  /* optional: max. Bildbreite am PC */
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;  /* sicher mittig gecropped */
  }

  /* falls du Bildunterschriften hast */
  .image-geschichte .image-caption,
  .image-geschichte figcaption {
    text-align: center;
  }
}

/* ========== BUTTONS ========== */
.seiten-navigation {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin: 1.5rem auto;
  flex-wrap: wrap;
}

.seiten-navigation a {
  padding: .6rem 1.2rem;
  background-color: var(--button-bg);
  color: var(--button-text);
  border-radius: .5rem;
  text-decoration: none;
  transition: background-color .2s ease, transform .1s ease;
}

.seiten-navigation a:hover { background-color: var(--nav-hover); }
.seiten-navigation a:active { transform: scale(.98); }

/* ========== FOOTER ========== */
footer {
  background-color: var(--footer-bg);
  color: #ffffff;
  padding: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}

.footer-content { width: min(1200px, 100% - 2rem); margin: 0 auto; }

.social-links {
  display: flex; justify-content: center; gap: .5rem; margin: .5rem 0; padding: 0; flex-wrap: wrap;
}

.social-links a {
  color: var(--social-color);
  padding: .2rem .5rem; font-size: 1rem; text-decoration: none; transition: color .2s ease;
}

.social-links a:hover { text-decoration: underline; }
.social-links a[class*="youtube" i]:hover { color: #ff0000; }
.social-links a[class*="facebook" i]:hover { color: #3b5998; }
.social-links a[class*="instagram" i]:hover { color: #833ab4; }
.social-links a[class*="twitch" i]:hover { color: #6441a5; }

/* ========== DARK MODE TOGGLE ========== */
.dark-mode-toggle {
  position: fixed; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--nav-bg); color: #ffffff; border: none; cursor: pointer; z-index: 1000;
  display: grid; place-items: center; box-shadow: 0 2px 10px var(--shadow-color);
}

@media (max-width: 480px) {
  .dark-mode-toggle { width: 40px; height: 40px; top: 12px; right: 12px; }
}

/* ========== RESPONSIVE ÜBERSCHRIFTEN ========== */
/* Überschrift-Linie: nie breiter als die Box, immer mittig */
.ueberschrift1 {
  position: relative;
  display: block;
  text-align: center;
  padding-bottom: 12px;
}

/* Mobil/Tablet: an Container statt an Viewport binden */
.ueberschrift1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 960px);   /* statt 90vw -> 100% der Box */
  height: 3px;
  background: #5a2b2b;
  border-radius: 3px;
}

/* Nur PC (>=1024px): gewünschte feste Breite, aber nie größer als die Box */
@media (min-width: 1024px) {
  .ueberschrift1::after {
    width: min(600px, 100%); /* passe 600px nach Wunsch an */
  }
}

/* Doppelte Linie vermeiden, falls vorhanden */
.zeiten-box h2 { border-bottom: none; }


/*''''''''''''''''''''''''ÜBERSCHRIF LINE ALLE */
.ueberschrift {
  position: relative;
  display: block;
  text-align: center;
  padding-bottom: 12px;
}

/* Mobil/Tablet: an Container statt an Viewport binden */
.ueberschrift::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 960px);   /* statt 90vw -> 100% der Box */
  height: 3px;
  background: #5a2b2b;
  border-radius: 3px;
}

/* Nur PC (>=1024px): gewünschte feste Breite, aber nie größer als die Box */
@media (min-width: 1024px) {
  .ueberschrift::after {
    width: min(6000px, 100%); /* passe 600px nach Wunsch an */
  }
}

body.dark-mode .ueberschrift,
body.dark-mode .ueberschrift1 { color: #e0e0e0; }
body.dark-mode .ueberschrift::after,
body.dark-mode .ueberschrift1::after { background: #e0e0e0; }

/* ========== ÖFFNUNGSZEITEN-BOX (RESPONSIVE) ========== */
/* Standard: block unter dem Inhalt */
.zeiten-box {
  background-color: var(--content-bg);
  border: 1px solid var(--content-border);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  max-width: 520px;
  margin: 24px auto 0;
  box-shadow: 0 0 8px rgba(0,0,0,.12);
  color: var(--text-color);
}

/* Sanfter Übergang */
.zeiten-box,
.zeiten-liste li { transition: background .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease; }

/* Ganze Box nach Status 
.zeiten-box.open   { border-color:#2e7d32; box-shadow:0 0 0 2px rgba(46,125,50,.35) inset; }
.zeiten-box.closed { border-color:#c62828; box-shadow:0 0 0 2px rgba(198,40,40,.35) inset; }*/

/* Heutige Zeile hervorheben + nach Status färben */
.zeiten-liste li.is-today        { outline:1px solid rgba(255,255,255,.12); border-radius:8px; }
.zeiten-liste li.is-today.open   { background:rgba(46,125,50,.18); }
.zeiten-liste li.is-today.closed { background:rgba(198,40,40,.18); }

/* Optional: Textfarbe der Zeit etwas betonen */
.zeiten-liste li.is-today .zeit { font-weight:600; }

/* Auf großen Screens rechts neben dem Inhalt platzieren */
@media (min-width: 1024px) {
  .layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
  }
  .layout-with-sidebar .zeiten-box { margin: 0; width: 100%; }
}

.zeiten-box h2 {
  margin: 0 0 12px; font-size: 1.1rem; text-align: center; font-weight: 700;
  border-bottom: 1px solid #555555; padding-bottom: 8px;
}
@media (min-width: 1024px) {
  .layout-with-sidebar .zeiten-box {
    margin-top: -490px; /* nach oben schieben */
    margin-left: -50px;  /* nach links */    
  }
}

.zeiten-liste { list-style: none; padding: 0; margin: 0; }
.zeiten-liste li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #44444420; font-size: .95rem; }
.zeiten-liste li:last-child { border-bottom: none; }
.zeiten-liste .tag { font-weight: 500; }
.zeiten-liste .zeit { text-align: right; font-weight: 400; }

/* ========== UTILITY ========== */
.center { max-width: 800px; margin-inline: auto; text-align: center; padding: 2rem 1rem; }

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media (max-width: 1200px) {
  .bilder-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 900px) {
  nav { justify-content: flex-start; }
}

@media (max-width: 768px) {
  nav { flex-wrap: nowrap; }
  nav a { width: auto; text-align: center; }
  .social-links { gap: .25rem; }
}

@media (max-width: 480px) {
  header h1 { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  h2 { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
  .social-links a { padding: .1rem .3rem; }
}

/* ========== Lightbox Overlay ========== */
/* Lightbox Overlay */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

/* Lightbox Bild mit Jagd-Glow */
/* Lightbox Overlay */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Lightbox sichtbar */
#lightbox.show {
  opacity: 1;
}

/* Bild mit Jagd-Glow */
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  transform: scale(0.9);
  transition: transform 0.5s ease, box-shadow 1s ease;
  animation: jagdGlow 3s infinite ease-in-out;
}

/* Wenn sichtbar – größer anzeigen */
#lightbox.show img {
  transform: scale(1);
}

/* Farbwechsel-Glow */
@keyframes jagdGlow {
  0%   { box-shadow: 0 0 30px rgba(34, 139, 34, 0.8); }
  25%  { box-shadow: 0 0 40px rgba(139, 69, 19, 0.9); }
  50%  { box-shadow: 0 0 50px rgba(218, 165, 32, 1); }
  75%  { box-shadow: 0 0 40px rgba(139, 69, 19, 0.9); }
  100% { box-shadow: 0 0 30px rgba(34, 139, 34, 0.8); }
}


/* ========== Lightbox Overlay ========== */
/* ========= PRELOADER ========= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(0,0,0,0.06), transparent 60%),
    radial-gradient(1200px 800px at 90% 90%, rgba(0,0,0,0.06), transparent 60%),
    var(--bg-color, #007c06);
  display: grid;
  place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hunter-loader {
  display: grid;
  place-items: center;
  gap: 1.25rem;
  text-align: center;
}

.hunter-loader .scope {
  position: relative;
  width: clamp(96px, 18vw, 160px);
  aspect-ratio: 1/1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.scope .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--text-color, #000);
  opacity: .85;
}
.scope .ring-inner {
  inset: 14%;
  opacity: .6;
  border-style: dashed;
}

.scope .line {
  position: absolute;
  background: var(--text-color, #000);
  opacity: .9;
}
.scope .horizontal {
  height: 2px; width: 100%;
}
.scope .vertical {
  width: 2px; height: 100%;
}

.scope .scan {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--content-highlight, var(--text-color, #000));
  border-right-color: var(--content-highlight, var(--text-color, #000));
  animation: spin 1.2s linear infinite;
  z-index: -1;
}

.deer-track {
  position: absolute;
  font-size: clamp(28px, 6vw, 44px);
  opacity: .9;
  animation: moveDeer 2.8s ease-in-out infinite;
  transform: translateX(-50vw);
}

.loader-text {
  font-family: inherit;
  color: var(--text-color, #000);
  letter-spacing: .3px;
  font-size: clamp(14px, 2.4vw, 16px);
  margin: 0;
}
.loader-text .dots::after {
  content: "…";
  animation: dots 1.2s steps(4, end) infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes moveDeer {
  0%   { transform: translateX(-55vw); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translateX(0vw); }
  90%  { opacity: .9; }
  100% { transform: translateX(55vw); opacity: 0; }
}

@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
  100% { content: ""; }
}

body.no-scroll {
  overflow: hidden;
}

/* =======================
   SPEISEKARTE – Styles (mit Theme-Variablen)
   ======================= */

/* ---------- Theme-Variablen (Light Mode) ---------- */
:root{
  /* Karten (Gerichte) */
  --menu-card-bg: var(--container-bg);
  --menu-card-border: var(--content-border);
  --menu-price-color: var(--button-bg);

  /* Pills (Kategorien & Info-Button) */
  --pill-bg: var(--button-bg);
  --pill-text: var(--button-text);

  /* Ausgewählter Pill-Zustand */
  --pill-selected-bg: var(--button-bg);
  --pill-selected-text: var(--button-text);
}

/* ---------- Theme-Variablen (Dark Mode) ---------- */
body.dark-mode{
  /* Karten (Gerichte) */
  --menu-card-bg: #2b2b2b;              /* nach Wunsch anpassen */
  --menu-card-border: #444;             /* dezente Kontur */
  --menu-price-color: #ffffff;          /* Preis hell im Dark Mode */

  /* Pills (Kategorien & Info-Button) */
  --pill-bg: var(--nav-bg);             /* Grund-Pill-Farbe im Dark Mode */
  --pill-text: #ffffff;

  /* Ausgewählter Pill-Zustand */
  --pill-selected-bg: var(--button-bg); /* Active-State klarer Akzent */
  --pill-selected-text: var(--button-text);
}

/* ---------- Container ---------- */
.menu-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  background: var(--content-bg);
  color: var(--text-color);
}

/* ---------- Suchleiste ---------- */
.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--container-bg);
  border: 1px solid var(--content-border);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.searchbar input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  font-size: 15px;
  color: var(--text-color);
}
.search-icon { opacity: .6; }

/* ---------- Kategorien (Pills) ---------- */
/* Kategorien (Pills) */
.menu-chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.menu-chip {
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  transition: transform .06s ease, background .15s ease, color .15s ease, border-color .15s ease;
  background: var(--pill-bg);
  color: var(--pill-text);
  border: 1px solid var(--pill-bg);
}
.menu-chip:hover { transform: translateY(-1px); }
.menu-chip[aria-selected="true"] {
  background:rgb(136, 84, 47); /* Farbe wie nav a.active */
  color: #030303;
  
}

/* Nur Light Mode Boxen einfärben */
.menu-card {
  background: #ddded4;   /* deine Wunschfarbe */
}

/* Nur Dark Mode Boxen */
body.dark-mode .menu-card {
  background: #3a3939;
}


/* ---------- Karten (Gerichte als Boxen) ---------- */
.menu-cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.menu-card {
  grid-column: span 12;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;


  border: 2px solid var(--menu-card-border);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: 16px;

  transition: transform .15s ease, box-shadow .15s ease;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
@media (prefers-reduced-motion: reduce) {
  .menu-card { transition: box-shadow .15s ease; }
  .menu-card:hover { transform: none; }
}
@media (min-width: 720px) { .menu-card { grid-column: span 6; } }
@media (min-width: 1024px){ .menu-card { grid-column: span 4; } }

/* ---------- Inhalt ---------- */
.menu-card > div:first-child { flex: 1; }
.menu-card h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
  color: var(--text-color);
}
.menu-card .muted {
  margin: 0;
  color: var(--text-color);
  opacity: .7;
}
.price {
  margin-top: 8px;
  font-weight: 600;
  color: var(--menu-price-color);
}

/* ---------- Badge (Allergene) ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--content-bg);
  border: 1px solid var(--content-border);
  font-size: 12px;
  color: var(--button-bg);
  white-space: nowrap;
}
body.dark-mode .badge {
  background: var(--nav-bg);
  color: #ffffff;
  border-color: var(--content-border);
}

/* ---------- Buttons (Info) – nutzen die Pill-Variablen ---------- */
.btn {
  appearance: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: filter .15s ease, transform .05s ease;
  background: var(--pill-bg);
  color: var(--pill-text);
  border: 1px solid var(--pill-bg);
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

/* ---------- Modal ---------- */
.menu-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  width: min(560px, 92vw);
  background: var(--container-bg);
  color: var(--text-color);
}
.menu-modal::backdrop { background: rgba(0,0,0,.45); }
.modal-content { padding: 18px; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}


/* --- Google Maps Container --- */
#map-container {
  width: 100%;
  max-width: 650px;   /* maximale Breite, kannst du anpassen */
  height: 280px;      /* Höhe der Karte */
  margin: 1.5rem auto;/* zentriert mit Abstand */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  position: relative;
}

/* --- Platzhalter allgemein --- */
#map-placeholder {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 8px;
  padding: 20px;
}

/* Buttons im Platzhalter */
#map-placeholder button {
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  margin: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
#map-placeholder button:hover {
  background: var(--button-bg-hover, #666);
}

/* --- Light Mode --- */
body:not(.dark-mode) #map-container {
  background: #f5f5f5;
}
body:not(.dark-mode) #map-placeholder {
  background: #ffffff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* --- Dark Mode --- */
body.dark-mode #map-container {
  background: #2b2b2b;
}
body.dark-mode #map-placeholder {
  background: rgba(0,0,0,0.65);
  color: #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
