/* ## base ## */

:root {
    --bs-primary:#2251A1;    
    --bs-primary-rgb:34, 81, 161;
    --bs-primary-inverse: #fff;
    --bs-primary-inverse-rgb: 255, 255, 255;   
    --bs-secondary:#fd0;
    --bs-secondary-rgb:255, 221, 0;    
    --bs-body-font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;    
    --navbar-h:75px;
    --footer-h:68px;
    --bs-link-color: var(--bs-primary);
    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-opacity: 1;  
    --bs-body-color: var(--bs-primary);
    --bs-secondary-color:rgba(var(--bs-primary-rgb), .5);
    --bs-link-color: var(--bs-primary);          
}

.btn-outline-primary{
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}

h1, h2, h3, h4, h5, h6 {
  font-weight:600;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  font-weight:700;
}

body {
  background-color: var(--bs-light);
}

/* ## full height ## */

.dialog-off-canvas-main-canvas,
.dialog-off-canvas-main-canvas.h-100 {
  display: flex;
  flex-direction: column;
  height:auto !important;
}

.dialog-off-canvas-main-canvas main {
  flex: 1;
}

/* drupal general */
.region-content {
    padding: 0 !important;
    overflow:auto;
}

body.toolbar-horizontal .navbar {
  margin-top:var(--gin-toolbar-height);
}

/* drupal content admin */

.admin-nav-panel {
  position:fixed;
  bottom:3rem;
  right:3rem;
  z-index:40;
  display:flex;
}

.admin-nav-panel a.admin-edit {
  background-color:var(--bs-secondary);
  color:var(--bs-primary);
  width:50px;
  height:50px;
  border-radius:5px;
  display:flex;
  justify-content:center;
  align-items:center;
  pointer-events:auto;
  margin-left:1rem;
}

.admin-paragraph-nav-panel {
  position:absolute;
  top:3rem;
  right:3rem;
  z-index:40;
  display:flex;
}

.admin-paragraph-nav-panel.admin-paragraph-nav-panel-bottom {
  bottom:3rem;
  top:auto;
  right:3rem;
}

.admin-paragraph-nav-panel a.admin-edit {
  background-color:var(--bs-secondary);
  color:var(--bs-primary);
  width:30px;
  height:30px;
  border-radius:5px;
  display:flex;
  justify-content:center;
  align-items:center;
  pointer-events:auto;
  margin-left:1rem;
}

/* klaro consent */
.cm-powered-by {
  display:none !important;
}

.cm-modal {
  padding:0.5rem 1rem 1rem 1rem;
}

.klaro-close {
  top:1rem;
  right:0.5rem;
}

.cm-btn-decline,
.cm-btn-success,
.cm-btn-success-var {
  border:0 !important;
  background-color:var(--bs-primary) !important;
  color:var(--bs-primary-inverse) !important;
  border-radius:0 !important;
  outline:0 !important;
}

.cm-btn-decline:hover,
.cm-btn-success:hover,
.cm-btn-success-var:hover {
  border:0 !important;
  background-color:rgba(var(--bs-primary-rgb), .90) !important;
  color:var(--bs-primary-inverse) !important;
  border-radius:0 !important;
  outline:0 !important;
}

.klaro .context-notice {
  font-size:0.8em;
}




/* Navbar */
.navbar {
    min-height:var(--navbar-h);
}

.navbar-glass {
  background-color:rgba(var(--bs-primary-rgb),1);  
  @media (min-width: 992px){ 
    background-color:rgba(var(--bs-primary-rgb), .80);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
  }
}

.navbar-default-color {
    background-color:var(--bs-primary);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active{
  color:var(--bs-secondary) !important;
}

.navbar-dark .navbar-nav .nav-link{
  transition:color .2s ease;
}

.navbar.sticky-top {
    top:0;
    z-index:10;
}

.nav-search{
  position:relative;
  width:240px;
}

.nav-search-input{
  width:100%;
  height:36px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  padding:0 46px 0 14px;
  outline:none;
}

.nav-search-input::placeholder{
  color:rgba(255,255,255,0.75);
}

.nav-search-input:focus{
  border-color:rgba(255,255,255,0.65);
  box-shadow:0 0 0 .2rem rgba(255,255,255,0.15);
}

.nav-search-btn{
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  border-radius:50%;
  border:0;
  background:#fff;
  color:rgba(var(--bs-primary-rgb), 1);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.nav-search-btn:hover{
  background:rgba(255,255,255,0.92);
}

#mega-menu-prod {
  top:var(--navbar-h);
  z-index:10000;  
  margin-top:2.5rem;
}

#mega-menu-prod-top {
  background-color:rgb(255,255,255);
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.mega-menu-prod-btm {
  background-color:rgb(255,255,255);
  border-radius: 1rem;
  border-radius: 1rem;
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1); 
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);  
  max-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px){
  #mega-menu-prod {
    z-index:3;      
    margin-top:0;
  }
  #mega-menu-prod-top {
    /* background-color:rgba(255,255,255,0.95); */
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);  
  }  
  .mega-menu-prod-btm {
    /* background-color:rgba(255,255,255,0.95); */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;      
  }  
}

.nav-link[data-bs-toggle="collapse"]:not(.collapsed) {
    color: var(--bs-secondary) !important;
}

#mega-menu-prod-top a.has-child {
    position: relative;
    display: inline-block;
}

#mega-menu-prod-top a.has-child[data-bs-toggle="collapse"]:not(.collapsed)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) rotate(45deg);
    margin-top: 4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    pointer-events: none;
}

/* fix bugged elements on mobile (horizontal scroll) */
main, #page-footer {
  overflow:hidden;
}

/* no hero content navbar offset */
main.offset-no-hero {
  margin-top:var(--navbar-h) !important;   
}

/* image hero */
header.image-hero {
  margin-top:var(--navbar-h) !important;    
  @media (min-width: 992px){
    margin-top: calc(-1 * var(--navbar-h)) !important;          
  }  
}

/* video hero */
header.video-hero {
  position:relative !important;
  display:block !important;
  height:calc(100vh) !important;
  height:calc(100svh) !important;
  min-height:calc(100vh) ;
  min-height:calc(100svh);
  overflow:hidden !important;
  background:#000;
}

header.video-hero video{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
}

  /* DESKTOP COVER */
  .yt-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .yt-hero-mobile {
    margin-top: var(--navbar-h) !important;
  }

  /* Button Styling bleibt gleich */
  .hero-btn {
    position: absolute;
    z-index: 10;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    color: #000;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .hero-btn-sound {
    bottom: 2rem;
    right: 2rem;
  }

  .hero-btn-sound svg {
    position: relative;
    left: -2px;
  }

  @media (max-width: 991px) {
    .yt-hero {
      height: auto !important;
    }

    .hero-btn {
      width: 2rem;
      height: 2rem;
    }

    .hero-btn-sound {
      bottom: 1rem;
      right: 1rem;
    }
  }

/* glider.js slider custom styling */
.glider-prev svg,
.glider-next svg {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.8));
}

.glider-prev {
  left:-0.5rem;
  top:50%;
  margin-top:-32px;
}
.glider-next {
  right:-0.5rem;
  top:50%;
  margin-top:-32px;  
}

.glider-dot.active {
    background: var(--bs-primary);
}

/* ## acc ## */
.accordion-button::after {
  filter: invert(1);
}

.accordion-item blockquote {
  padding-left: 1rem;
  border-left:5px solid var(--bs-secondary);
}

/* ## teaser ## */

.bg-img-contain{
  background-image: var(--bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  pointer-events:none;
}

.teaser-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.overlay-position-2 {
  align-items: flex-end;
}

.teaser-content {
  padding: 1rem;
}

@media (min-width: 1200px) {

  .teaser-content{
    padding:2.5rem;
  }

}

@media (max-width: 1199px){
  .teaser-overlay{
    position: static;
    inset: auto;
    display: block;
  }
}

.badge-new{
  color: var(--bs-primary);
  background: transparent;
  font-weight: 700;
  letter-spacing: .35em;
  font-size: .8rem;
  padding:0;
  top:0.5rem !important;
  right:0.5rem !important;
}

/* photo teaser */
.photo-teaser .hero-text {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
}

.photo-teaser .hero-text h2 {
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(0, 0, 0, 0.35);
}

/* hero teaser scribble */
.shop-hero .hero-text {
  color: #1f5aa6;
  letter-spacing: 0.06em;
}

.shop-hero .shop-underline {
  max-width: min(520px, 80%);
  height: auto;
}

.shop-hero .shop-hero-img {
  max-width: 360px;
  width: 100%;
  height: auto;
}

/* company hero */
h2.hero-title {
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(0, 0, 0, 0.35);
}

/* product features */
.product-features-marker {
  width:1rem;
  height:1rem;
  margin-left:-0.5rem;
  margin-top:-0.5rem;
  z-index:2;
  overflow:visible;  
  background-color:rgba(var(--bs-secondary-rgb), 0.9) !important;
  @media (min-width: 992px){
    width:1.5rem;
    height:1.5rem;
    margin-left:-0.75rem;
    margin-top:-0.75rem;
  }  

}

.feature-popover {
  --bs-popover-bg: rgba(var(--bs-secondary-rgb), 0.8);
  --bs-popover-border-color: rgba(var(--bs-secondary-rgb), 0.8);
  --bs-popover-header-bg: rgba(var(--bs-secondary-rgb), 0.8);
  --bs-popover-header-color: #000;
  --bs-popover-body-color: #000;
  backdrop-filter: blur(6px);
  border-radius: 0.75rem;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;    
}

.feature-popover .popover-body {
  font-size: 0.9rem;
}

.feature-popover h6,
.feature-popover .popover-header {
  color: var(--bs-primary);
  font-weight: 600;
}

.feature-popover .popover-body p:last-child {
  margin-bottom:0;
}

.product-features-marker::before,
.product-features-marker::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(var(--bs-secondary-rgb), 0.6);
    z-index: -1;
    opacity: 0;
    pointer-events:none;    
}

.product-features-marker:hover::before {
    animation: pulse-ring 1.5s infinite;
}

.product-features-marker:hover::after {
    animation: pulse-ring 1.5s 0.75s infinite;
}

/* Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(5);
        opacity: 0;
    }
    100% {
        transform: scale(10);
        opacity: 0;
    }
}

/* footer language choice */

.bls-webform .form-type-checkbox label.option,
.bls-webform .form-item.form-type-webform-document-file label {
  display:inline-block !important;
  color:var(--primary);
}

.bls-webform input.form-checkbox {
  margin-right:1rem;
}

.bls-webform .form-type-checkbox label.option {
  margin-bottom:0.5rem;
}

.bls-webform .form-type-checkbox .description {
  margin-bottom:1rem;
}

.bls-webform .form-type-checkbox .description label {
  display:block !important;
  font-size:0.8rem;
  line-height:1.4rem
}

.bls-webform .webform-flexbox {
  margin-bottom:0;
  margin-top:0;
}

.bls-webform input.form-text,
.bls-webform input.form-email,
.bls-webform input.form-tel {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  color: #333;
  background-color: #fff;
  background-clip: padding-box;
  font-weight: 400;
  margin-bottom:1rem;
  margin-top:0;
  border-radius:0;
  border:1px solid #ccc;  
}

.bls-webform .form-item.form-type-webform-document-file {
  border: 1px solid #dee2e6;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.bls-webform input.form-file {
  max-width:100%;
}

.bls-webform select {
  margin-bottom:1rem;
  font-size:14px;
}

.bls-webform .form-textarea {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border:1px solid #ccc;
  border-radius:0;
  font-weight: 400;
  margin-bottom:1rem;
}

.bls-webform .form-item:first-child {
  margin-top:0;
}

.bls-webform .form-submit {
  background-color:var(--bs-primary);
  border:0;
  border-radius:0;
  margin-top:1rem;
}


/* footer language choice */

#lang-choice {
  position:sticky;
  left:0;
  bottom:0;
  z-index:20;
  transition:transform 180ms ease;
  will-change:transform;
  margin-top:-45px;
}

#lang-choice.fixed-page-height {
  position:fixed;
  left:0;
  bottom:var(--footer-h);
}

.lang-choice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-top-left-radius:0.5rem;
  border-top-right-radius:0.5rem;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
  padding: 0.4rem 0.75rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  position:relative;
  bottom:-1px;
  background-color:rgba(255,255,255,0.95) !important;  
}

.lang-choice-flag svg {
  opacity: 0.9;
  height: 30px;
  width: 30px; 
  display: block;
  border-radius: 50%;
}

.lang-choice-label {
  font-weight: 600;
  letter-spacing: 0.02em;
  display:none;
}

button:hover.lang-choice-btn .lang-choice-label {
  display:block;
}

/* footer */

.footer-bar{
  height:45px;
  z-index:30;
}

.footer-link{
  color:inherit;
  text-decoration:none;
}
.footer-link:hover{
  color:var(--bs-secondary);
  text-decoration:none;
}

.footer-contact{
  white-space:nowrap;
}

.footer-top{
  line-height:1;
  opacity:.85;
  text-decoration:none;
}

.footer-top:hover{
  opacity:1;
}