/* =========================================================
   hero-styles.css
   Path: bootscore-child/assets/css/hero-styles.css
   Scope: Waldhorn Home Hero (Startseite)
   ========================================================= */




/* =========================
   HERO WRAPPER
   ========================= */
.cls-home-hero-wrapper{
  --hero-h: clamp(520px, 45vw, 800px);
  --content-top: clamp(30px, 5vw, 90px);
  --content-shift: clamp(10px, 2vw, 60px);  /* content weiter rechts vom Container-Start */
  --content-maxw: min(560px, 42vw);

  position: relative;
  width: 100%;
  height: var(--hero-h);
  overflow: hidden;
}


 .container-xl {
  max-width: 2000px; /* dein Wunschwert */
}

/* =========================
   BACKGROUND (VIDEO/POSTER)
   ========================= */
.cls-home-hero-wrapper .hero-bg{
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cls-home-hero-wrapper .hero-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video{
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}

@keyframes heroKenBurns{
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }

}

/* Left “canvas” wash like the comp */
.cls-home-hero-wrapper .hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 2; /* still below frame/content because bg is z=1 */
  background: linear-gradient(
    90deg,
    rgba(239,232,234,.92) 0%,
    rgba(239,232,234,.78) 34%,
    rgba(239,232,234,0)   60%
  );
}

/* =========================
   FRAME OVERLAY (PNG)
   - max 50% width
   - crop bottom via overflow hidden
   ========================= */
.cls-home-hero-wrapper .hero-frame-wrap{
  position: absolute;
  inset: 0;
  z-index: 2;
  
  pointer-events: none;
}

.cls-home-hero-wrapper .hero-frame{
  display: block;
  width: min(60vw, 60%);
  height: 110%;
  object-fit: cover;
  object-position: center top;
}

/* =========================
   CONTENT OVERLAY (aligned to Bootstrap container)
   ========================= */
.cls-home-hero-wrapper .hero-content{
  position: absolute;
  inset: 0;
  z-index: 30;
}

.cls-home-hero-wrapper .hero-content .container,
.cls-home-hero-wrapper .hero-content .container-lg,
.cls-home-hero-wrapper .hero-content .container-xl,
.cls-home-hero-wrapper .hero-content .container-xxl{
  position: relative;
  height: 100%;
}

.cls-home-hero-wrapper .hero-content-inner{
  position: absolute;
  top: var(--content-top);
  left: var(--content-shift);
  max-width: var(--content-maxw);

  text-align: center;
  
  font-family: montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* generell etwas größer als Standard */
  font-size: 1.05rem;
  line-height: 1.25;
}
.hero-content-inner > *:not(.hero-hours){
  text-transform: uppercase;
}

/* =========================
   LOGO (approx +70% vs. previous)
   ========================= */
.cls-home-hero-wrapper .hero-logo{
  display: block;
  height: auto;
  max-width: clamp(90px, 15vw, 300px);
  margin: 0 auto 28px auto;
}

/* Optional caption (falls später genutzt) */
.cls-home-hero-wrapper .hero-caption{
  margin: 0 0 18px 0;
  color: var(--waldhorn-dark-grey);
  font-size: 1.15rem;
}

/* =========================
   BUTTONS (outline style)
   Recommended: move to main.css if you want global reuse.
   ========================= */
.btn.btn-outline-waldhorn{
  --btn-c: var(--waldhorn-dark-grey);

  color: var(--btn-c);
  border: 2px solid rgba(86,82,83,.55);
  background: transparent;
  border-radius: 0;

  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 200px;
justify-content: center;

  text-decoration: none;
}

.btn.btn-outline-waldhorn:hover,
.btn.btn-outline-waldhorn:focus{
  color: var(--waldhorn-pure-white);
  background: var(--waldhorn-dark-red);
  border-color: var(--waldhorn-dark-red);
  text-decoration: none;
}

.btn.btn-outline-waldhorn:focus-visible{
  outline: 3px solid rgba(227,6,19,.35);
  outline-offset: 2px;
}

/* Inline SVG icon: color controllable via currentColor */
.cls-home-hero-wrapper .hero-icon{
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: currentColor;
}

/* Buttons layout */
.cls-home-hero-wrapper .hero-buttons{
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px 0;
}

/* =========================
   ADDRESS + PHONE
   ========================= */
.cls-home-hero-wrapper .hero-adress,
.cls-home-hero-wrapper .hero-phone{
  margin: 0;
  color: var(--waldhorn-dark-grey);
  font-size: 1.05rem;
}

.cls-home-hero-wrapper .hero-phone{
  font-weight: 700;
}

/* =========================
   BOTTOM SEPARATOR
   (Adapted from your original, but using Waldhorn vars)
   ========================= */
.cls-home-hero-wrapper .hero-separator{
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  z-index: 20;
  pointer-events: none;

  filter: drop-shadow(10px -7px 5px rgba(0,0,0,.08));
  animation: heroPulseShadow 5s infinite ease-in-out;
}

@keyframes heroPulseShadow{
  0%   { filter: drop-shadow(10px -2px  5px rgba(0,0,0,.07)); }
  50%  { filter: drop-shadow(10px -7px 5px rgba(0,0,0,.10)); }
  100% { filter: drop-shadow(10px -2px  5px rgba(0,0,0,.07)); }
}

.cls-home-hero-wrapper .hero-separator .separator-element-r{
  position: absolute;
  display: none;
  left: 0;
  bottom: -2px;
  width: 200vw;
  height: 300px;
  rotate: -15deg;
  background: var(--waldhorn-light-grey);
}

.cls-home-hero-wrapper .hero-separator .separator-element-l{
  position: absolute;
  left: -00%;
  bottom: 00px;
  width: 110vw;
  height: 180px;
  rotate: 0deg;
  background: var(--waldhorn-pure-white);
  border-top:10px solid var(--waldhorn-light-grey);
}

/* =========================
   RESPONSIVE
   ========================= */

/* Slightly tighter on smaller desktops */
@media (max-width: 1200px){
  .cls-home-hero-wrapper{
    --content-maxw: min(520px, 46vw);
  }
}

/* Tablet / Mobile stack behavior */
@media (max-width: 991px){
  .cls-home-hero-wrapper{
    --hero-h: clamp(520px, 70vh, 760px);
    --content-top: 28px;
    --content-shift: 0px;
    --content-maxw: 92%;
  }

  .cls-home-hero-wrapper .hero-content-inner{
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .cls-home-hero-wrapper .hero-logo{
    max-width: clamp(260px, 55vw, 420px);
    margin-bottom: 22px;
  }

  .cls-home-hero-wrapper .hero-buttons{
    flex-wrap: wrap;
    gap: 12px;
  }

  .cls-home-hero-wrapper .hero-frame{
    width: min(70vw, 70%);
    opacity: .8;
  }

  .btn.btn-outline-waldhorn{
    padding: 11px 16px;
  }
}

/* Very small phones */
@media (max-width: 420px){
  .cls-home-hero-wrapper .hero-icon{
    width: 24px;
    height: 24px;
  }

  .cls-home-hero-wrapper .hero-adress,
  .cls-home-hero-wrapper .hero-phone{
    font-size: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .cls-home-hero-wrapper .hero-separator{
    animation: none;
  }
}