/* ==========================================================================
   Theme Wehetal – Ergänzungen zu Bootstrap 5.3
   Wird nach bootstrap.min.css geladen (siehe functions.php).
   Sämtliche Gestaltung liegt hier – im HTML/PHP steht kein Inline-CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens (überschreiben Bootstrap-Variablen)
   -------------------------------------------------------------------------- */
:root {
  --fz-tiefsee:     #0C2B4E;  /* Navy – Text und dunkle Flächen           */
  --fz-wagenblau:   #1552A8;  /* Blau vom Verkaufswagen, entsättigt       */
  --fz-quellwasser: #DCE8F0;  /* helles Wasser-Grau                       */
  --fz-schaum:      #F7F9FA;  /* Seitenhintergrund                        */
  --fz-raeucherrot: #B8352B;  /* Akzent – Buttons, Live-Punkt             */
  --fz-buche:       #C99B62;  /* Buchenspan-Ton – Eyebrows, Zahlen        */

  --fz-display: "Bricolage Grotesque", system-ui, sans-serif;
  --fz-body:    "Source Sans 3", system-ui, sans-serif;
  --fz-tafel:   "IBM Plex Mono", ui-monospace, monospace;

  /* Bootstrap-Overrides */
  --bs-body-font-family: var(--fz-body);
  --bs-body-color: var(--fz-tiefsee);
  --bs-body-bg: var(--fz-schaum);
  --bs-body-font-size: 1.0625rem;
  --bs-border-radius: .875rem;
  --bs-link-color: var(--fz-wagenblau);
  --bs-link-hover-color: var(--fz-raeucherrot);
}

body { -webkit-font-smoothing: antialiased; }

a {
    color: #4576AC;
}
/* --------------------------------------------------------------------------
   2. Farb-Utilities (ergänzen bg-primary, text-primary usw.)
   -------------------------------------------------------------------------- */
.bg-tiefsee     { background-color: var(--fz-tiefsee)     !important; }
.bg-wagenblau   { background-color: var(--fz-wagenblau)   !important; }
.bg-quellwasser { background-color: var(--fz-quellwasser) !important; }
.bg-schaum      { background-color: var(--fz-schaum)      !important; }

.text-tiefsee     { color: var(--fz-tiefsee)     !important; }
.text-wagenblau   { color: var(--fz-wagenblau)   !important; }
.text-quellwasser { color: var(--fz-quellwasser) !important; }
.text-buche       { color: var(--fz-buche)       !important; }
.text-raeucherrot { color: var(--fz-raeucherrot) !important; }

/* --------------------------------------------------------------------------
   3. Typografie
   -------------------------------------------------------------------------- */
.font-display { font-family: var(--fz-display); letter-spacing: -.025em; }
.font-tafel   { font-family: var(--fz-tafel); }

.titel {
  font-family: var(--fz-display);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.05;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.kicker {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fz-wagenblau);
}

.eyebrow {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fz-buche);
  display: flex;
  align-items: center;
  gap: .625rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background-color: var(--fz-buche);
}

.lead { font-size: 1.1875rem; max-width: 60ch; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn { border-radius: 999px; font-weight: 600; padding: .75rem 1.375rem; }

.btn-fz {
  background-color: var(--fz-raeucherrot);
  border-color: var(--fz-raeucherrot);
  color: #fff;
}
.btn-fz:hover, .btn-fz:focus {
  background-color: #9C2A21;
  border-color: #9C2A21;
  color: #fff;
}

.btn-fz-outline {
  border: 2px solid var(--fz-raeucherrot);
  color: var(--fz-raeucherrot);
  background-color: transparent;
}
.btn-fz-outline:hover, .btn-fz-outline:focus {
  background-color: var(--fz-raeucherrot);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Kopfbereich: Topbar, Marke, Navigation
   -------------------------------------------------------------------------- */
.topbar {
  font-family: var(--fz-tafel);
  font-size: .8125rem;
  letter-spacing: .04em;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff !important; }

.navbar-fz {
  background-color: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fz-quellwasser);
}

.marke-logo { height: 3.25rem; width: auto; }

.wortmarke {
  font-family: var(--fz-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--fz-tiefsee);
}
.slogan-klein {
  display: block;
  font-family: var(--fz-tafel);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fz-wagenblau);
  margin-top: .1875rem;
}
.slogan-klein b { color: var(--fz-raeucherrot); }

.navbar-fz .nav-link {
  font-weight: 600;
  color: var(--fz-tiefsee);
  border-bottom: 2px solid transparent;
}
.navbar-fz .nav-link:hover,
.navbar-fz .nav-link:focus-visible { border-bottom-color: var(--fz-raeucherrot); }

/* --------------------------------------------------------------------------
   6. Carousel
   -------------------------------------------------------------------------- */
.fz-carousel .carousel-item { height: min(78vh, 620px); }

.fz-slide-bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Platzhalterflächen, solange Fotos fehlen */
.fz-slide-platzhalter {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--fz-tafel);
  font-size: .8125rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.fz-platzhalter-speise {
  background:
    radial-gradient(120% 90% at 80% 10%, #1E63C4 0%, transparent 55%),
    linear-gradient(160deg, #0C2B4E 0%, #123E73 100%);
}
.fz-platzhalter-restaurant {
  background:
    radial-gradient(110% 80% at 20% 20%, #C99B62 0%, transparent 60%),
    linear-gradient(160deg, #0C2B4E 0%, #1A3555 100%);
}

.fz-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(12, 43, 78, .93) 0%,
    rgba(12, 43, 78, .62) 45%,
    rgba(12, 43, 78, .08) 100%);
}

.fz-carousel .carousel-caption {
  right: 0;
  left: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 0;
}
.fz-caption-inner { max-width: 33rem; }
.fz-carousel .carousel-caption h2 {
  font-family: var(--fz-display);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.02;
  font-size: clamp(2.125rem, 5vw, 3.625rem);
}

.fz-carousel .carousel-indicators { margin-bottom: 1.5rem; }
.fz-carousel .carousel-indicators [data-bs-target] {
  width: 2.125rem;
  height: .25rem;
  border: 0;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, .35);
  opacity: 1;
}
.fz-carousel .carousel-indicators .active { background-color: #fff; }

@media (max-width: 767.98px) {
  .fz-carousel .carousel-item { height: min(80vh, 560px); }
  .fz-overlay {
    background: linear-gradient(0deg,
      rgba(12, 43, 78, .95) 10%,
      rgba(12, 43, 78, .35) 70%);
  }
  .fz-carousel .carousel-caption { align-items: flex-end; padding-bottom: 4.5rem; }
  .fz-carousel .carousel-control-prev,
  .fz-carousel .carousel-control-next { display: none; }
}

/* --------------------------------------------------------------------------
   7. Standort-Tafel (Signature-Element)
   -------------------------------------------------------------------------- */
.tafel { border-top: 3px solid var(--fz-raeucherrot); }

.live {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.punkt {
  display: inline-block;
  width: .5625rem;
  height: .5625rem;
  border-radius: 50%;
  background-color: var(--fz-raeucherrot);
  box-shadow: 0 0 0 0 rgba(184, 53, 43, .7);
  animation: fz-puls 2.2s infinite;
}
.openmaps {
    width: 100%;
    height: 350px;
}
.leaflet-container img {
    max-width: none !important;
}
@keyframes fz-puls {
  70%  { box-shadow: 0 0 0 10px rgba(184, 53, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 53, 43, 0); }
}

.tafel-titel {
  font-family: var(--fz-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  letter-spacing: -.02em;
}
.tafel-titel em { font-style: normal; color: var(--fz-buche); }

.tag-karte {
  background-color: var(--fz-tiefsee);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .5rem;
  padding: .875rem;
  height: 100%;
}

.tag-karte.heute { background-color: var(--fz-wagenblau); }
.tag-karte .wt {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fz-buche);
}
.tag-karte.heute .wt { color: #fff; }
.tag-karte .ort { font-weight: 600; line-height: 1.25; margin-top: .375rem; color: #fff; }
.tag-karte .zeit {
  font-family: var(--fz-tafel);
  font-size: .8125rem;
  color: var(--fz-quellwasser);
  margin-top: .1875rem;
}
.tag-highlight {
    /*border: 1px solid rgba(222, 88, 157, 0.81);
    background: rgba(222,88,10,0.16);*/
    border: 1.5px solid var(--fz-raeucherrot);
    background-color: rgba(184, 53, 43, .12);
}
.tag-karte.tag-highlight.heute { background-color: rgba(184, 53, 43, .22); }
.tag-highlight-marke {
    display: inline-block;
    margin-top: .375rem;
    font-family: var(--fz-tafel);
    font-size: .625rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background-color: #B89B2B;
    border-radius: 999px;
    padding: .125rem .5rem;
}
.tag-highlight-marke span { color: #FFD9A0; }

/* Highlights (Datumstermine der nächsten drei Monate) */
.highlights-stern { color: var(--fz-buche); font-size: 1.25rem; line-height: 1; }
.highlights-titel {
    font-family: var(--fz-display);
    font-weight: 700;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    letter-spacing: -.01em;
    color: #fff;
}

.tag-karte.highlight {
    background-color: rgba(184, 53, 43, .12);
    border: 1.5px solid var(--fz-raeucherrot);
    padding: 1.125rem;
}
.tag-karte.highlight.heute { background-color: rgba(184, 53, 43, .22); }

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-family: var(--fz-tafel);
    font-size: .6875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background-color: #B89B2B;
    border-radius: 999px;
    padding: .1875rem .625rem;
    margin-bottom: .625rem;
}
.highlight-badge span { color: #FFD9A0; }

.tag-karte.highlight .highlight-datum {
    color: #fff;
    font-size: .8125rem;
    text-transform: none;
    letter-spacing: .02em;
}
.tag-karte.highlight .ort {
    font-family: var(--fz-display);
    font-size: 1.25rem;
    margin-top: .25rem;
}
/* --------------------------------------------------------------------------
   8. Slogan-Band
   -------------------------------------------------------------------------- */
.slogan-gross {
  font-family: var(--fz-display);
  font-weight: 800;
  font-size: clamp(2.125rem, 8vw, 5.75rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: #fff;
}
.slogan-gross b { color: #FFD9A0; }

.slogan-unterzeile {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.slogan-footer {
  font-family: var(--fz-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -.01em;
  color: #fff;
}

/* --------------------------------------------------------------------------
   9. Karten, Öffnungszeiten, Zahlen
   -------------------------------------------------------------------------- */
.karte {
  border: 1px solid var(--fz-quellwasser);
  border-radius: var(--bs-border-radius);
  background-color: #fff;
  transition: border-color .2s ease, transform .2s ease;
  /*height: 100%;*/
}
.karte:hover { border-color: var(--fz-wagenblau); transform: translateY(-3px); }
.karte h3 { font-family: var(--fz-display); font-weight: 700; font-size: 1.375rem; }
.karte .preis {
  font-family: var(--fz-tafel);
  font-size: .8125rem;
  color: var(--fz-raeucherrot);
}

.oeffnung-tabelle td { padding: .625rem 0; border-bottom: 1px solid var(--fz-quellwasser); }
.oeffnung-tabelle tr:last-child td { border-bottom: 0; }
.oeffnung-tabelle td:last-child {
  text-align: right;
  font-family: var(--fz-tafel);
  font-size: .875rem;
}

.zahl {
  font-family: var(--fz-display);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--fz-buche);
}
.zahl-label {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   10. Zeitungsausschnitte
   -------------------------------------------------------------------------- */
.ausschnitt {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--fz-quellwasser);
  border-radius: .5rem;
  background: repeating-linear-gradient(0deg, #E9E4DA 0 2px, #F3EFE7 2px 9px);
  display: flex;
  align-items: flex-end;
  padding: .875rem;
  font-family: var(--fz-tafel);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8A7C68;
  transform: rotate(-1deg);
  transition: transform .2s ease;
  cursor: pointer;
  width: 100%;
}
.ausschnitt.gerade { transform: rotate(1.2deg); }
.ausschnitt:hover  { transform: rotate(0) scale(1.02); }

/* --------------------------------------------------------------------------
   11. Fußbereich und mobile Aktionsleiste
   -------------------------------------------------------------------------- */
.footer-titel {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fz-buche);
}
footer a { text-decoration: none; }
footer a:hover { color: #fff !important; }

.callbar { border-top: 1px solid var(--fz-quellwasser); }
.callbar a { text-decoration: none; font-weight: 600; padding: 1rem .5rem; }

/* Platz für die fixierte Leiste auf Mobilgeräten */
@media (max-width: 767.98px) { body { padding-bottom: 3.75rem; } }

/* --------------------------------------------------------------------------
   12. Barrierefreiheit
   -------------------------------------------------------------------------- */
:focus-visible { outline: 3px solid var(--fz-raeucherrot); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .punkt { animation: none; }
  .karte:hover, .ausschnitt:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   13. WordPress-spezifische Ergänzungen
   -------------------------------------------------------------------------- */

/* Hinweis des Tages (Customizer) */
.tageshinweis {
  font-family: var(--fz-tafel);
  font-size: 1.125rem;
    font-weight: bold;
  letter-spacing: .5em;
  background-color: var(--fz-raeucherrot);
  color: #fff;
}

/* Aktiver Menüpunkt */
.navbar-fz .nav-link.aktiv,
.navbar-fz .current-menu-item > .nav-link { border-bottom-color: var(--fz-raeucherrot); }

.navbar-fz .dropdown-menu {
  border-radius: .625rem;
  padding: .5rem;
}
.navbar-fz .dropdown-item { border-radius: .375rem; font-weight: 600; }

/* Kopfbereich der Unterseiten */
.seitenkopf .titel { font-size: clamp(2rem, 5vw, 3.25rem); }

.seitenbild img {
  max-height: 40rem;
  object-fit: cover;
}

/* Fließtext aus dem Editor */
.inhalt { font-size: 1.125rem; max-width: 100%; }/*68ch*/
.inhalt h2 {
  font-family: var(--fz-display);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
}
.inhalt h3 {
  font-family: var(--fz-display);
  font-weight: 700;
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: .5rem;
}
.inhalt p { margin-bottom: 1.25rem; }
.inhalt ul, .inhalt ol { margin-bottom: 1.25rem; padding-left: 1.25rem; }
.inhalt img { border-radius: var(--bs-border-radius); height: auto; }
.inhalt figure { margin-bottom: 1.5rem; }

/* Produktkarten mit Bild */
.karte-bild {
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

/* Zusatzhinweis an Standorten */
.zusatz {
  font-family: var(--fz-tafel);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--fz-buche);
}
.tag-karte .zusatz { margin-top: .375rem; }

.tafel-zeit {
  font-family: var(--fz-tafel);
  font-size: 1rem;
  color: var(--fz-quellwasser);
  letter-spacing: .04em;
}

/* Slogan-Band: Klammer hervorheben */
.slogan-klammer { color: #FFD9A0; }

/* Zeitungsausschnitte als anklickbare Schaltflächen */
.ausschnitt {
  position: relative;
  border: 1px solid var(--fz-quellwasser);
  border-radius: .5rem;
  overflow: hidden;
  padding: 0;
  background: repeating-linear-gradient(0deg, #E9E4DA 0 2px, #F3EFE7 2px 9px);
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transform: rotate(-1deg);
  transition: transform .2s ease;
}
.ausschnitt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ausschnitt-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: .75rem .875rem;
  background: linear-gradient(0deg, rgba(12, 43, 78, .92) 40%, rgba(12, 43, 78, 0) 100%);
  color: #fff;
  font-family: var(--fz-tafel);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  display: block;
}
.ausschnitt-label small {
  display: block;
  color: var(--fz-buche);
  margin-top: .25rem;
}

/* Fußzeilen-Menü */
.fussmenue { list-style: none; padding: 0; }
.fussmenue a { color: var(--fz-quellwasser); }

/* Blockeditor-Farben auch im Frontend */
.has-tiefsee-color { color: var(--fz-tiefsee) !important; }
.has-tiefsee-background-color { background-color: var(--fz-tiefsee) !important; }
.has-wagenblau-color { color: var(--fz-wagenblau) !important; }
.has-wagenblau-background-color { background-color: var(--fz-wagenblau) !important; }
.has-quellwasser-background-color { background-color: var(--fz-quellwasser) !important; }
.has-raeucherrot-color { color: var(--fz-raeucherrot) !important; }
.has-buche-color { color: var(--fz-buche) !important; }


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1200px; }
}
@media (min-width: 992px) {
  .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}

/* Bildergalerie auf den Unterseiten */
.galerie-bild {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(12, 43, 78, .12);
  border-radius: .625rem;
  overflow: hidden;
  background: none;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.galerie-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.galerie-bild:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1.25rem rgba(12, 43, 78, .18);
}

@media (prefers-reduced-motion: reduce) {
  .galerie-bild:hover { transform: none; }
}

