/* =========================================================
   SCORESTANDARD – Override-Layer (lädt NACH tooplate-style.css)
   ========================================================= */
:root {
  --ss-primary: #063a56;   /* Hauptfarbe (Navbar, Buttons, Tabs) */
  --ss-hover: #000000;     /* Hoverfarbe Buttons                 */
  --ss-text-light: #ffffff;
}

/* === 1 · Grundfarben Navbar & Links ====================== */
.custom-navbar,
.custom-navbar.top-nav-collapse {
  background: var(--ss-primary);
}
.custom-navbar .navbar-brand,
.custom-navbar .navbar-nav > li > a {
  color: var(--ss-text-light);
}
.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  color: var(--ss-text-light);
}

/* === 2 · Buttons (CTA, Pricing, Formular) ================ */
.section-btn,
.pricing-btn,
.online-form .form-control[type="submit"] {
  background: var(--ss-primary);
  border: none;
  color: var(--ss-text-light);
}
.section-btn:hover,
.pricing-btn:hover,
.online-form .form-control[type="submit"]:hover {
  background: var(--ss-hover);
}

/* === 3 · Kontakt-Button ================================= */
#contact-form input[type="submit"].form-control {
  background: var(--ss-primary);
  border-color: var(--ss-primary);
  color: var(--ss-text-light);
}
#contact-form input[type="submit"].form-control:hover,
#contact-form input[type="submit"].form-control:focus {
  background: var(--ss-hover);
  border-color: var(--ss-hover);
}

/* === 4 · Tabs: Unterstrich =============================== */
#feature .nav-tabs > li > a {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
}
#feature .nav-tabs > li.active > a,
#feature .nav-tabs > li.active > a:focus,
#feature .nav-tabs > li.active > a:hover,
#feature .nav-tabs > li > a:hover,
#feature .nav-tabs > li > a:focus {
  border-bottom-color: var(--ss-primary);
}

/* === 5 · Hero-Video ====================================== */
#home {
  background: none;
}
.hero-video {
  position: relative;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* === 6 · Testimonial-Fotos ausblenden ==================== */
#testimonial-image-carousel {
  display: none !important;
}
#testimonial .owl-dots,
#testimonial-image-carousel + .row {
  margin-top: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   NAVBAR · Desktop (≥ 992 px) · SCROLLSTABIL & ZENTRIERT
   ========================================================= */
@media (min-width: 992px) {
  .custom-navbar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    transition: all 0.3s ease;
  }

  .custom-navbar.top-nav-collapse {
    height: 50px;
  }

  .custom-navbar .navbar-header {
    flex-shrink: 0;
  }

  .custom-navbar .navbar-brand {
    display: block;
    width: 140px;
    height: 40px;
    background: url("../images/logo.svg") no-repeat center center/contain;
    text-indent: -9999px;
  }

  .custom-navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .custom-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 auto;
  }

  .custom-navbar .navbar-nav > li > a {
    line-height: 60px;
    padding: 0 10px;
    font-size: 16px;
    color: var(--ss-text-light);
    transition: line-height 0.3s ease;
  }

  .custom-navbar.top-nav-collapse .navbar-nav > li > a {
    line-height: 50px;
  }

  .custom-navbar .navbar-nav.navbar-right {
    display: flex;
    align-items: center;
    margin: 0;
  }

  .lang-switch {
    display: flex;
    align-items: center;
    padding-left: 10px;
  }

  .lang-switch > li {
    position: relative;
  }

  .lang-switch > li > a {
    line-height: 60px;
    padding: 0 10px;
    font-size: 14px;
    color: var(--ss-text-light);
  }

  .custom-navbar.top-nav-collapse .lang-switch > li > a {
    line-height: 50px;
  }

  .lang-switch > li + li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background: rgba(255, 255, 255, 0.6);
  }
}

/* =========================================================
   Burger-Icon mobil weiß
   ========================================================= */
@media (max-width: 767px) {
  .custom-navbar .navbar-toggle {
    border-color: #ffffff;
  }
  .custom-navbar .navbar-toggle .icon-bar {
    background: #ffffff;
  }
}

/* =========================================================
   Language Toggle · Mobil
   ========================================================= */
@media (max-width: 767px) {
  .lang-switch {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
  }

  .lang-switch > li {
    float: none;
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .lang-switch > li > a {
    color: var(--ss-text-light);
    font-size: 14px;
    text-decoration: none;
    padding: 0 8px;
    line-height: 1;
  }

  .lang-switch > li:first-child > a {
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    padding-right: 12px;
    margin-right: 8px;
  }

  .lang-switch > li + li::before {
    display: none;
  }

  .custom-navbar .navbar-brand {
    width: 140px;
    height: 50px;
    background: url("../images/logo.svg") no-repeat center center/contain;
    text-indent: -9999px;
    display: block;
    margin: 5px auto;
  }

  .custom-navbar .navbar-header {
    padding-left: 0;
    padding-right: 0;
  }
}

/* =========================================================
   HERO-ÜBERSCHRIFT (h1) um 2 Punkte verkleinern
   ========================================================= */
#home .home-info h1 {
  font-size: 2.5em;
  line-height: 1.2;
}
