/* =========================================================
   HOME HERO TEMPLATE (page-home-hero.php)
   - Transparent Header over Hero
   - Solid Header on scroll (via JS class)
   - Hero section layout
   ========================================================= */

/* ---------- HERO LAYOUT ---------- */

.home-hero{
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.home-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  filter: contrast(1.08) brightness(0.88);
}

.home-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.70) 70%);
}

.home-hero-inner{
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 110px 24px 70px;
  margin: 0 auto;
  color: #fff;
}

.home-hero-kicker{
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .92;
  margin-bottom: 12px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.home-hero-title{
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  color: #fff;
  text-shadow: 0 10px 26px rgba(0,0,0,0.50);
}

.home-hero-subtitle{
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  max-width: 58ch;
  margin: 0 0 22px 0;
  opacity: .92;
  color: #fff;
  text-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

/* Buttons */
.home-hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.home-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .15s ease, opacity .15s ease;
}

.home-btn:hover{ transform: translateY(-1px); opacity: .96; }

.home-btn-primary{
  background: #ff6600;
  color: #fff !important;
}

.home-btn-ghost{
  border: 1px solid rgba(255,255,255,.6);
  color: #fff !important;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
}

/* Badges */
.home-hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.home-badge{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
  font-size: 13px;
  letter-spacing: .03em;
}

/* ---------- TRANSPARENT HEADER (HOME ONLY) ---------- */
/* IMPORTANT: keine globalen Link-Overrides – nur Header-Kontext */
.home-hero-template #site-header,
.home-hero-template #header,
.home-hero-template .site-header{
  position: absolute !important;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Header Inhalte auf dem Hero: weiß */
.home-hero-template #site-header a,
.home-hero-template #header a,
.home-hero-template .site-header a{
  color: #fff !important;
}

/* Solid state (JS setzt .home-header--solid) */
.home-hero-template .home-header--solid{
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}

.home-hero-template .home-header--solid a{
  color: #111 !important;
}

/* Mobile menu panel: immer lesbar */
.home-hero-template .mobile-navigation,
.home-hero-template .dl-menuwrapper .dl-menu,
.home-hero-template .mobile-menu-wrapper{
  background: rgba(10,10,10,0.92) !important;
}

.home-hero-template .mobile-navigation a,
.home-hero-template .dl-menuwrapper a,
.home-hero-template .mobile-menu-wrapper a{
  color: #fff !important;
}

/* ---------- MOBILE TUNING ---------- */
@media (max-width: 768px){
  .home-hero{ min-height: 74vh; }
  .home-hero-inner{ padding: 95px 18px 60px; }
}
/* =========================================
   HOME: OFFCANVAS / MOBILE MENU READABILITY
   (Panel dunkel, Text hell) – nur Startseite
   ========================================= */

/* Panel-Hintergrund (TheGem Varianten) */
.home-hero-template .dl-menuwrapper,
.home-hero-template .dl-menuwrapper .dl-menu,
.home-hero-template .mobile-navigation,
.home-hero-template .mobile-menu-wrapper,
.home-hero-template .mobile-menu,
.home-hero-template .mobile-menu-container,
.home-hero-template .menu-overlay,
.home-hero-template .menu-wrapper{
  background: rgba(12,12,14,0.96) !important;
}

/* Links im Panel */
.home-hero-template .dl-menuwrapper a,
.home-hero-template .mobile-navigation a,
.home-hero-template .mobile-menu-wrapper a,
.home-hero-template .mobile-menu a,
.home-hero-template .mobile-menu-container a{
  color: #fff !important;
  opacity: .95;
}

/* Hover / Active */
.home-hero-template .dl-menuwrapper a:hover,
.home-hero-template .mobile-navigation a:hover,
.home-hero-template .mobile-menu-wrapper a:hover{
  opacity: 1;
}

/* Trennlinien im Panel (falls sichtbar) */
.home-hero-template .dl-menuwrapper li,
.home-hero-template .mobile-navigation li,
.home-hero-template .mobile-menu-wrapper li{
  border-color: rgba(255,255,255,0.10) !important;
}