/* ═══════════════════════════════════
   Innovation Haus Theme v1.0.0
   ═══════════════════════════════════ */

/* ── Layout ── */
.ih-container{
  width: 100%;
  max-width: var(--ih-container);
  margin: 0 auto;
  padding: 0 var(--ih-s6);
}
.ih-container--narrow{
  max-width: var(--ih-narrow);
}

/* ── Sections ── */
.ih-section{
  position: relative;
  overflow: hidden;
  padding: var(--ih-s24) 0;
}
.ih-section--light{
  background: var(--ih-white);
  color: var(--ih-text);
}
.ih-section--alt{
  background: var(--ih-light-50);
}
.ih-section--dark{
  background: var(--ih-dark-900);
  color: var(--ih-text-light);
}

/* Section labels & titles */
.ih-label{
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ih-accent);
  margin-bottom: var(--ih-s3);
}
.ih-label--light{
  color: var(--ih-accent-light);
}
.ih-title{
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: var(--ih-s6);
  color: var(--ih-text);
}
.ih-title--light{
  color: #fff;
}

/* Reveal animations */
.ih-reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ih-ease), transform .6s var(--ih-ease);
}
.ih-revealed{
  opacity: 1;
  transform: translateY(0);
}
.ih-hero.ih-reveal{
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════
   HEADER
   ══════════════════════════════════ */

.ih-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--ih-s4) 0;
  transition: background .3s var(--ih-ease), backdrop-filter .3s var(--ih-ease), box-shadow .3s var(--ih-ease);
}
.ih-header--scrolled{
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--ih-border-light);
}
.ih-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.ih-header__logo{
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ih-logo{
  display: block;
  width: auto;
}
.ih-header__logo .ih-logo{
  height: 44px;
  max-width: 220px;
}

/* Nav */
.ih-nav{
  display: flex;
  align-items: center;
  gap: var(--ih-s1);
}
.ih-nav__link{
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: var(--ih-s2) var(--ih-s3);
  border-radius: var(--ih-radius-sm);
  transition: color .2s var(--ih-ease), background .2s var(--ih-ease);
}
.ih-nav__link:hover,
.ih-nav__link--active{
  color: #fff;
}
.ih-nav__link--active{
  background: rgba(255,255,255,.08);
}

/* Mobile toggle */
.ih-header__toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  z-index: 101;
}
.ih-header__toggle span{
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .3s var(--ih-ease), opacity .2s;
}
.ih-header__toggle--active span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.ih-header__toggle--active span:nth-child(2){
  opacity: 0;
}
.ih-header__toggle--active span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */

.ih-hero{
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

/* Parallax background */
.ih-hero__bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(79,70,229,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(129,140,248,.10) 0%, transparent 50%),
    var(--ih-dark-900);
  background-attachment: fixed;
  z-index: 0;
}

/* Subtle grid pattern overlay */
.ih-hero__overlay{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.ih-hero__content{
  position: relative;
  z-index: 2;
}
.ih-hero__mark{
  margin: 0 auto var(--ih-s8);
  opacity: .85;
}
.ih-hero__mark-img{
  height: 84px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.ih-hero__title{
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: var(--ih-s4);
}
.ih-hero__sub{
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(248,250,252,.6);
  max-width: 520px;
  margin: 0 auto var(--ih-s10);
  line-height: 1.6;
}

/* Button */
.ih-btn{
  display: inline-flex;
  align-items: center;
  gap: var(--ih-s2);
  padding: var(--ih-s3) var(--ih-s8);
  border-radius: var(--ih-radius-sm);
  font-family: var(--ih-font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s var(--ih-ease);
}
.ih-btn--primary{
  background: var(--ih-accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(79,70,229,.3), 0 0 0 0 rgba(79,70,229,0);
}
.ih-btn--primary:hover{
  background: var(--ih-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79,70,229,.35), 0 0 0 4px rgba(79,70,229,.10);
}
.ih-btn--primary:active{
  transform: translateY(0) scale(.98);
}

/* ══════════════════════════════════
   OVER
   ══════════════════════════════════ */

.ih-over__text{
  margin-bottom: var(--ih-s12);
}
.ih-over__text p{
  margin-bottom: var(--ih-s4);
  color: var(--ih-text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.ih-over__text strong{
  color: var(--ih-text);
  font-weight: 600;
}

/* Stats */
.ih-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ih-s6);
  border-top: 1px solid var(--ih-border);
  padding-top: var(--ih-s8);
}
.ih-stat{
  text-align: center;
}
.ih-stat__number{
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ih-accent);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: var(--ih-s2);
}
.ih-stat__label{
  font-size: 13px;
  color: var(--ih-text-muted);
  font-weight: 500;
}

/* ══════════════════════════════════
   DIENSTEN
   ══════════════════════════════════ */

.ih-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--ih-s6);
  margin-top: var(--ih-s10);
}

.ih-card{
  background: var(--ih-white);
  border: 1px solid var(--ih-border);
  border-radius: var(--ih-radius-md);
  padding: var(--ih-s8);
  transition: all .25s var(--ih-ease);
}
.ih-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--ih-shadow-lg);
  border-color: rgba(79,70,229,.2);
}
.ih-card__icon{
  width: 48px;
  height: 48px;
  border-radius: var(--ih-radius-sm);
  background: var(--ih-accent-glow);
  display: grid;
  place-items: center;
  margin-bottom: var(--ih-s4);
  color: var(--ih-accent);
}
.ih-card__title{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--ih-s2);
  letter-spacing: -.01em;
}
.ih-card__text{
  font-size: 14px;
  color: var(--ih-text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════
   FIT-CHECK (CHATBOT)
   ══════════════════════════════════ */

.ih-fitcheck{
  text-align: center;
  padding: var(--ih-s24) 0;
}

/* Parallax background */
.ih-fitcheck__bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 30%, rgba(79,70,229,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(129,140,248,.08) 0%, transparent 50%),
    var(--ih-dark-900);
  background-attachment: fixed;
  z-index: 0;
}
.ih-fitcheck__overlay{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.ih-fitcheck__content{
  position: relative;
  z-index: 2;
}
.ih-fitcheck__intro{
  color: rgba(248,250,252,.6);
  max-width: 480px;
  margin: 0 auto var(--ih-s10);
  font-size: 16px;
  line-height: 1.6;
}
.ih-fitcheck__widget{
  display: flex;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */

.ih-footer{
  background: var(--ih-dark-900);
  color: var(--ih-text-light);
  padding: var(--ih-s16) 0 var(--ih-s8);
  border-top: 1px solid var(--ih-border-light);
}
.ih-footer__grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--ih-s10);
  margin-bottom: var(--ih-s12);
}
.ih-footer__brand .ih-logo{
  height: 36px;
  margin-bottom: var(--ih-s4);
}
.ih-footer__tagline{
  font-size: 14px;
  color: var(--ih-text-muted-light);
  line-height: 1.5;
  max-width: 300px;
}
.ih-footer__heading{
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--ih-s4);
}
.ih-footer__link{
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  padding: var(--ih-s1) 0;
  transition: color .15s;
}
.ih-footer__link:hover{
  color: #fff;
}
.ih-footer__text{
  font-size: 14px;
  color: rgba(255,255,255,.6);
  padding: var(--ih-s1) 0;
}
.ih-footer__social{
  display: flex;
  gap: var(--ih-s3);
  margin-top: var(--ih-s3);
}
.ih-footer__social-link{
  color: rgba(255,255,255,.4);
  transition: color .15s;
}
.ih-footer__social-link:hover{
  color: #fff;
}
.ih-footer__bottom{
  border-top: 1px solid var(--ih-border-light);
  padding-top: var(--ih-s6);
  font-size: 13px;
  color: var(--ih-text-muted-light);
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px){
  .ih-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px){
  /* Parallax fallback for iOS */
  .ih-hero__bg,
  .ih-fitcheck__bg{
    background-attachment: scroll;
  }

  /* Header */
  .ih-nav{
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ih-s6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ih-ease);
    z-index: 99;
  }
  .ih-nav--open{
    opacity: 1;
    pointer-events: auto;
  }
  .ih-nav--open .ih-nav__link{
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    padding: var(--ih-s3) var(--ih-s6);
  }
  .ih-header__toggle{
    display: flex;
  }

  /* Sections */
  .ih-section{
    padding: var(--ih-s12) 0;
  }
  .ih-hero{
    padding-top: 60px;
  }
  .ih-container{
    padding: 0 var(--ih-s4);
  }

  /* Stats */
  .ih-stats{
    grid-template-columns: 1fr;
    gap: var(--ih-s4);
  }
  .ih-stat{
    display: flex;
    align-items: baseline;
    gap: var(--ih-s3);
    text-align: left;
  }

  /* Cards */
  .ih-grid{
    grid-template-columns: 1fr;
    gap: var(--ih-s4);
  }
  .ih-card{
    padding: var(--ih-s6);
  }

  /* Footer */
  .ih-footer__grid{
    grid-template-columns: 1fr;
    gap: var(--ih-s8);
  }

  /* Fitcheck */
  .ih-fitcheck{
    padding: var(--ih-s12) 0;
  }
  .ih-fitcheck__widget{
    max-width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px){
  .ih-hero__title{
    font-size: 2rem;
  }
  .ih-title{
    font-size: 1.375rem;
  }
  .ih-header__logo svg{
    width: 150px;
    height: auto;
  }
  .ih-btn{
    padding: var(--ih-s3) var(--ih-s6);
    font-size: 14px;
  }
}
