/*
Theme Name: FUN Webseite 2.0
Description: Schlankes Theme für den 1:1-Nachbau von www.fun-jugendreisen.de. Lädt das Live-Stylesheet (travelshop) und pro importierter Seite das Beaver-Builder-Layout-CSS der Live-Seite (über _import_alt_id). Produktseiten liefert das Plugin fun-hotels.
Version: 0.1.0
Author: FUN Reisen / Webseite 2.0 Milestone
*/

/* Eigene Korrekturen für den lokalen Nachbau (Live-CSS kommt per functions.php). */
.fun2-header { background: #fff; border-bottom: 1px solid #e3e7ec; }
.fun2-header .innen { max-width: 1140px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.fun2-header img.logo { height: 48px; width: auto; }
.fun2-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.fun2-nav a { text-decoration: none; color: #19243a; font-weight: 600; }
.fun2-nav a:hover { color: #fd5d1f; }
.fun2-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff;
  border: 1px solid #e3e7ec; border-radius: 8px; padding: 10px 14px; min-width: 220px;
  flex-direction: column; gap: 8px; z-index: 300; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.fun2-nav li { position: relative; }
.fun2-nav li:hover > .sub-menu { display: flex; }
/* Verschachtelte Ebene (z. B. Spanien -> Calella/Lloret/Malgrat): Flyout nach
   RECHTS statt darunter — sonst verdeckt sie die Geschwister (Italien, Kroatien). */
.fun2-nav .sub-menu .sub-menu { top: -11px; left: 100%; margin-left: 10px; }
.fun2-nav .sub-menu li { padding: 0; }
/* Kleiner Hinweis-Pfeil an Einträgen mit Untermenü */
.fun2-nav li.menu-item-has-children > a::after { content: " ›"; color: #fd5d1f; }
.fun2-nav .sub-menu li.menu-item-has-children > a::after { content: " ›"; }
/* Unsichtbare Hover-Brücke, damit das Flyout beim Rüberfahren nicht zuklappt */
.fun2-nav .sub-menu .sub-menu::before { content: ""; position: absolute;
  left: -12px; top: 0; bottom: 0; width: 12px; }
.fun2-meta { background: #19243a; font-size: .85rem; }
.fun2-meta ul { justify-content: flex-end; max-width: 1140px; margin: 0 auto; padding: 6px 16px; }
.fun2-meta a { color: #cfd6e0; font-weight: 400; }
.fun2-meta a:hover { color: #fff; }

.fun2-footer { background: #19243a; color: #cfd6e0; margin-top: 48px; }
.fun2-footer .innen { max-width: 1140px; margin: 0 auto; padding: 36px 16px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.fun2-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.fun2-footer ul { list-style: none; margin: 0; padding: 0; }
.fun2-footer li { margin: 6px 0; }
.fun2-footer a { color: #cfd6e0; text-decoration: none; }
.fun2-footer a:hover { color: #fff; }
.fun2-footer .zeile { border-top: 1px solid #2c3a52; padding: 14px 16px; text-align: center;
  font-size: .85rem; }

/* Inhalte, die lokal nicht funktionieren können (Formular-Shortcodes etc.), nicht hart brechen lassen */
.fun2-inhalt { min-height: 40vh; }

/* Fremd-Widgets ohne ihr JS/CSS (Trustindex-Bewertungsbadge) ausblenden */
.ti-widget { display: none !important; }
/* Hintergrund-Video-Zeilen brauchen den Bezugsrahmen (macht sonst BB-JS) */
.fl-row-bg-video .fl-row-content-wrap { position: relative; overflow: hidden; }
.fl-row-bg-video .fl-row-content { position: relative; z-index: 2; }
