
/* frontend/css/style.css */
:root{

  --leftPanelWidth: 350px;
  --addSectionHeight: 50px;
  --dd-scroll-threshold: 200px;
  --dd-scroll-speed: 10px;

  /* Text */
  --fontFamilyText: "Inter";
  --fontFamilyHeadline: "Inter";


  --textColor-1: #111111;
  --textColor-2: #2a2a2a;
  --textColor-3: #444444;
  --textColor-4: #5e5e5e;
  --textColor-5: #787878;
  --textColor-6: #929292;
  --textColor-7: #acacac;
  --textColor-8: #c6c6c6;
  --textColor-9: #e0e0e0;
  --textColor-10: #fafafa;

  /*
  //
  // Colors
  //
  */

  --white: #fff;
  --disabledColor: #c7c7c7;
  --warningColor: #d89611;
  --borderColor: rgb(80, 80, 80);

  --bg-shade-1: #f6f8f8;
  --bg-shade-1: #edf2f7;
  --bg-shade-2: rgb(14, 24, 73);

  /* Text */
  --headlineColor: #0366b1;


  /* Colorful */
  --firstColorDark: rgb(14, 24, 73);
  --firstColorLight: rgb(48, 66, 155);
  --firstColor: rgb(24, 38, 106);
  --firstColorPastel:rgba(33, 149, 243, 0.154);

  --secondColorDark: rgb(7, 53, 160);
  --secondColorLight: rgb(7, 53, 160);
  --secondColor: #2196f3;
  --secondColorPastel: rgb(7, 53, 160);

  --thirdColorDark: #ff9800;
  --thirdColorLight: #ff9800;
  --thirdColor: #ff9800;
  --thirdColorPastel: rgba(255, 235, 59, 0.206);

  --fourthColorDark: #0f1a31;
  --fourthColorDark: #131c2f;
  --fourthColorLight: #344362;
  --fourthColor: #1f2b43;
  --fourthColorPastel: #616875;

  --successColorDark: #175e18;
  --successColorLight: #53be55;
  --successColor: #2f8d30;
  --successColorPastel: #a0e5a1;

  --errorColorDark: #b32323;
  --errorColorLight: #ff8181;
  --errorColor: #ff5b5b;
  --errorColorPastel: #fdbfbf;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}


body{
  margin: 0;
  padding:0; 
  background-color: #fff;

}



legend{
  font-family: var(--fontFamilyText);
  color: var(--textColor-4);
}


.test{
  background-color: red;
  color:red
}

section{
  padding: 2rem 0px;
}

.content{
  max-width: 1440px;
  margin: 0 auto;

}

/*
//
// BG Shades
//
*/

.bg-shade-1{
  background-color: var(--bg-shade-1);
}



/*
//
// Max Width
//
*/

.max-width-90 {
  max-width: 90%;
}

.max-width-80 {
  max-width: 80%;
}

.max-width-70 {
  max-width: 70%;
}

.max-width-60 {
  max-width: 60%;
}

.max-width-50 {
  max-width: 50%;
}

.max-width-40 {
  max-width: 40%;
}

.max-width-30 {
  max-width: 30%;
}

.max-width-20 {
  max-width: 20%;
}

.max-width-10 {
  max-width: 10%;
}

.width-100 { max-width: 100px; }
.width-200 { max-width: 200px; }
.width-300 { max-width: 300px; }
.width-400 { max-width: 400px; }
.width-500 { max-width: 500px; }
.width-600 { max-width: 600px; }
.width-700 { max-width: 700px; }
.width-800 { max-width: 800px; }
.width-900 { max-width: 900px; }
.width-1000 { max-width: 1000px; }
.width-1100 { max-width: 1100px; }
.width-1200 { max-width: 1200px; }


/*
//
// FLEX
//
*/


.flex-cont{
  display:flex;
  padding: 20px;
}

.flex-1{
  flex: 1 1 0;
}

.flex-2{
  flex: 2 2 0;
}

.flex-3{
  flex: 3 3 0;
}

.no-flex{ 
  flex:0 0 auto;
}

.flex-column{
  flex-direction: column;
}

.flex-row{
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.flex-row-fix{
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.flex-direct-row{
  flex-direction: row;
}

.flex-v-center{
  align-items: center;
}

.flex-h-center{
  justify-content: center;
}

.flex-no-wrap{
  flex-wrap: nowrap;
}

.flex-end{
  align-self: flex-end;
}

.space-between{
  justify-content: space-between;
}

@media (max-width: 768px){
  .flex-mobile-100{
    flex: 0 0 100%; 
  }

  .flex-cont {
    gap: 12px;          /* optional: engeres Spacing auf Mobile */
    padding: 12px;      /* optional: weniger Padding auf Mobile */
  }

  .test{
    flex-direction: column;
  }

  /* Reihen (falls explizit .flex-row gesetzt war) auch vertikal */
  .flex-row {
    flex-direction: column;
    flex-wrap: nowrap;  /* Wrap ist unnötig, wenn wir ohnehin stapeln */
    gap: 12px;
  }

  .mobile-row{
    flex-direction: row;
  }

  /* Spalten (falls .flex-column) bleiben Spalten – kein Override nötig */

  /* Alle Flex-Items auf volle Breite ziehen 
  .flex-1,
  .flex-2,
  .no-flex,
  .flex-mobile-100 {
    flex: 0 0 100%;
    max-width: 100%;
  }
    */
}


/*
//
// Box
//
*/

.box{
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgb(200, 200, 200);
}


/*
//
// Button
//
*/

.basic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  transition: all ease 0.3s;
  cursor: pointer;
  gap: 5px;
  width: max-content;
}

.basic-btn svg{
  stroke: var(--firstColor);
}

.basic-btn span{
  color: var(--firstColor);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-decoration: underline;
}

.basic-btn:hover{
  gap: 8px;
  padding-left: 10px;
}

/* FILLED */ 

.filled-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--firstColorPastel);
  border: 2px solid var(--firstColor);
  border-radius: 32px;
  transition: all ease 0.3s;
  cursor: pointer;
  gap: 5px;
  width: max-content;
  padding: 10px 10px;
  text-decoration: none;

}

.filled-btn svg{
  stroke: var(--firstColor);
  transition: all ease 0.4s;
  cursor: pointer;
}

.filled-btn span{
  color: var(--firstColor);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all ease 0.4s;
  cursor: pointer;
}

.filled-btn:hover{
  background-color: var(--firstColorLight);
}

.filled-btn:hover svg{
  stroke: #fff;
}

.filled-btn:hover span{
  color: #fff;
}

/*
//
// Headlines
//
*/

h1,h2,h3,h4,h5,h6{
  font-family: var(--fontFamilyText);
  color: var(--headlineColor);
  cursor: default;
}


h1{
  font-weight: 300;
  font-size: 50px;
  color: #fff;
}


h2{
  font-weight: 600;
  color: var(--textColor-2);
  color: rgb(7, 20, 87);
  font-size: 32px;
  margin: 0;
}

h3{
  font-weight: 600;
  color: var(--textColor-2);
  color: rgb(7, 20, 87);
  font-size: 24px;
  margin: 0;
}


h4{
  font-weight: 600;
  color: var(--textColor-2);
  color: rgb(7, 20, 87);
  font-size: 24px;
  margin: 0;
}


.h1-dark{
  width: 100%;
  color: var(--textColor-2);
  font-family: var(--fontFamilyText);
  font-size: 60px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0px 0px 0px -2px;
}


.h1{
  width: 100%;
  color: var(--textColor-2);
  font-family: var(--fontFamilyText);
  font-size: 60px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0px 0px 0px -2px;
}

.h2{
  font-weight: 600;
  color: var(--textColor-2);
  color: var(--firstColor);
  font-size: 32px;
  margin: 0;
}

.h3{
  font-weight: 600;
  color: var(--textColor-3);
  font-size: 24px;
  margin: 0;
}

.h4{
  font-weight: 500;
  color: var(--textColor-4);
  font-size: 18px;
  margin: 0;
}

.h5{
  font-weight: 400;
  color: var(--textColor-4);
  font-size: 16px;
  margin: 0;
}

.color-white{
  color: #dadada;
}



/*
//
// Text
//
*/

p,
span{
  font-family: var(--fontFamilyText);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 200;
  color: var(--textColor-3);
  letter-spacing: 0.3px;
  cursor: default;
}


/*
//
// Section Hero
//
*/

#section-hero {
  background-image: url('/img/12.webp');
  background-size: auto;       /* skaliert das Bild, sodass es den Bereich ausfüllt */
  background-position: center;  /* zentriert das Bild */
  background-repeat: no-repeat; /* verhindert, dass es sich wiederholt */
  height: 65vh;
}

#section-hero .content{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


#section-hero p{
  font-size: 16px;
  color: #fff;
}

/*
//
// Section Introduction
//
*/

#section-introduction{
  background-color: #edf2f7;
}


#section-introduction .content{

  border-radius: 12px;;
}

.introduction-box{
  background-color: #fff;
  border-radius: 12px;
  padding: 3rem;
  gap: 1rem;
  box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.1)
}

/*
//
// Section Overview
//
*/

#section-overview{

}


#section-overview p{
  text-align: center;
}

#section-overview h3{
  text-align: center;
}


#section-overview .basic-btn{
  width: auto;
}

/*
//
// Section Image
//
*/

#section-image{
  background-color: #edf2f7;
}

#section-image .content{
  height: 450px;
  background-image: url('/img/side.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 12px;
    box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.1)
}



#section-image .content {

}

#section-image span {
  color: #fff;
}

#section-image span:first-child{
  font-size:36px;
}

#section-image .flex-cont {
  height: 100%;
}

/*
//
// Section Assessment
//
*/

#section-assessment{
  background-color: var(--bg-shade-2);
}


.assessment-container{
  border-radius:12px;
  -webkit-box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.1);
  box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.1);
  border: none;
  border: 1px solid #edf2f7;
  padding: 3rem;
  background-color: #fff;
}


#section-assessment .review-stars svg{
  stroke: rgb(255, 247, 0);
  fill: rgb(255, 247, 0);
}


#section-assessment .review-person svg{
  width: 45px;
  height: 45px;
  stroke: var(--textColor-4);
}

#section-assessment .review-person .review-person-name{
  font-weight: 400;
}


/*
//
// Section Offer
//
*/

#section-offer{
  background-color:#edf2f7;
}

#section-offer .box{
  -webkit-box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.1);
  box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.1);
  border:none;
  background-color: #fff;
}

#section-offer .box:hover{
  transition: all ease 0.3s;
  transform: translateY(-1px);
  -webkit-box-shadow: 0px 7px 8px 2px rgba(0,0,0,0.05); 
  box-shadow: 0px 7px 8px 2px rgba(0,0,0,0.05);
}

.chip-container .chip{
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 32px;
  font-weight: 300;
  color: var(--firstColor);
  background-color: #fff;
  border: 1px solid var(--firstColor);
  text-align: center;
}




/*
//
// Section About
//
*/

#section-about{
  background-color: var(--bg-shade-1);
  padding-top:4rem;
}



/*
//
// Section Service
//
*/

#section-service{

}

#section-service p{
  text-align: center;
}

#section-service h3{
  text-align: center;
}

#section-service svg{
  height: 45px;
  width: 45px;
  stroke: var(--firstColor);
}

/*
//
// Section Service Gallery 
//
*/

#section-gallery{
  border-top: 1px solid var(--textColor-8);
  border-bottom: 1px solid var(--textColor-8);
}

.grid-gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* passt sich an Anzahl + Platz an */
  gap: 1rem;
  transition: all ease 0.3s;
}

.grid-gallery.ratio-square img {
  aspect-ratio: 1 / 1;
}


.grid-gallery.ratio-2-3 img {
  aspect-ratio: 2 / 3;
}

.grid-gallery.ratio-2-1 img {
  aspect-ratio: 2 / 1;
}


.grid-gallery img{
  transition: all ease 0.3s;
  width: 100%;
  aspect-ratio: 1 / 1;  
  object-fit: cover;  
  border-radius: 20px;
  -webkit-box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.01);
  box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgb(200, 200, 200);
}

.grid-gallery img:hover{

  transform: translateY(-1px);
  -webkit-box-shadow: 0px 7px 8px 2px rgba(0,0,0,0.05); 
  box-shadow: 0px 7px 8px 2px rgba(0,0,0,0.1);
}


.review-container{
  border: 1px solid rgb(200, 200, 200);
  -webkit-box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.01);
  box-shadow: 0px 7px 8px 2px rgba(0, 0, 0, 0.01);
    border-radius: 20px;
}


.review-container:hover{
  transition: all ease 0.3s;
  transform: translateY(-1px);
  -webkit-box-shadow: 0px 7px 8px 2px rgba(0,0,0,0.05); 
  box-shadow: 0px 7px 8px 2px rgba(0,0,0,0.05);
}

.review-container .review-stars svg{
  stroke: rgb(255, 247, 0);
  fill: rgb(255, 247, 0);
}


.review-container .review-person svg{
  width: 45px;
  height: 45px;
  stroke: var(--textColor-4);
}

.review-container .review-person .review-person-name{
  font-weight: 400;
}


/*
//
// Section Reviews
//
*/
#section-reviews{

}



#section-reviews .review-stars svg{
  stroke: rgb(255, 247, 0);
  fill: rgb(255, 247, 0);
}


#section-reviews .review-person svg{
  width: 45px;
  height: 45px;
  stroke: var(--textColor-4);
}

#section-reviews .review-person .review-person-name{
  font-weight: 400;
}


/*
//
// NAV
//
*/

nav ul{
  margin:0;
}


/*
//
// Section Contact
//
*/


#section-contact {
  background-color: var(--bg-shade-1);
  border-top: 1px solid var(--textColor-8);
}

/*
//
// FORM
//
*/

.form {
  border: 1px solid #ffffff;
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
  background: rgb(255, 255, 255);
  box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.1);
}

.field {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
}

.field.half {
  grid-column: span 1;
}

label {
  margin-bottom: 0.3rem;
  margin-left: 0.3rem;
  font-family: var(--fontFamilyText);
  color: rgb(5, 14, 60);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 200;
  color: rgb(25,25,25);
  letter-spacing: 0.3px;
}

label span{
  margin-bottom: 0.3rem;
  margin-left: 0.2rem;
  font-family: var(--fontFamilyText);
  color: rgb(5, 14, 60);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 200;
  color: rgb(25,25,25);
  letter-spacing: 0.3px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8.5px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  font-family: var(--fontFamilyText);
  color: var(--textColor-4);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 200;
  color: rgb(25,25,25);
  letter-spacing: 0.3px;
  background-color: #ffffff;
}

textarea {
  resize: vertical;
}


input:focus,
textarea:focus {
  border-color: var(--firstColor);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  background: #fbfdff;
}

.field.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 0.75rem;
}

.field.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  accent-color: var(--firstColor);
  border-radius: 4px;
}

.actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 0.25rem;
}

.hp { /* Honeypot verstecken */
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
/*
input:required:invalid,
textarea:required:invalid {
  border-color: #4c4444;
}
*/
/* Responsive */
@media (max-width: 720px) {
  .form { grid-template-columns: 1fr; padding: 1rem; }
  .field.half { grid-column: 1 / -1; }
  h1 { font-size: 1.6rem; }
}



/*
//
// Notifications
//
*/

#notification-container {
  position: fixed;
  Bottom: 1rem;
  right: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1020;
  transition: transform 0.5s ease, margin 0.5s ease;
}

.notification {
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  margin-top: 3px; 
  width: 300px; 
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease, margin 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;   
  overflow: hidden;   
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification.hide {
  opacity: 0;
  transform: translateY(-20px);
}

.notification.error {
  background-color: var(--errorColor); 
}

.notification.success {
  background-color: var(--firstColor);
}

.notification.warning {
  background-color: var(--warningColor);
}

.notification p {
  margin: 0;
  flex: 1;
  padding-right: 10px;
  color: #fff;
  font-family: var(--fontFamilyText);
  font-size: 14px;
  
}

.notification .notification-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                    /* „am Ende der Meldung“ */
  height: 6px;                  /* gewünschte Höhe */
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  transform-origin: right center;     /* rechtsbündig schrumpfen */
  width: 100%;
  /* Hintergrundfarbe wird per JS gesetzt (dunklere Variante) */
  animation: notifProgress 5000ms linear forwards; /* wird per JS neu gesetzt/gestartet */
}

/* Skaliert von 100% → 0% (rechts nach links, dank transform-origin) */
@keyframes notifProgress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}



/*
//
// Footer
//
*/

#section-footer{
  background-color: #edf2f7;
  border-top: 1px solid #b3b8c0;
}

footer ul.flex-cont{
  margin:0;
  padding: 6px;
  gap: 5rem;
}

@media (max-width: 768px){
  footer ul.flex-cont{
    gap: 1rem;
  }
}

footer ul li{
  list-style: none;
}

footer ul li a{
  font-family: var(--fontFamilyText);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 200;
  color: rgb(3, 6, 25);
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: underline;
}

footer ul li span{
  font-family: var(--fontFamilyText);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 200;
  color: rgb(5, 14, 60);
  letter-spacing: 0.3px;
}


#back-to-top svg{
  height: 28px;
  width: 28px;
  border-radius: 8px;
  background-color: transparent;
  padding: 5px;
  stroke: #fff;
  transition: all ease 0.3s;
}


.back-to-top-cont{
  background-color:rgb(7, 20, 87);
}

.back-to-top-cont a{
  font-size: 14px;
  color: #fff;
  padding: 3px; 
}

.back-to-top-cont span{
  font-size: 14px;
  color: #fff;
}

/*
//
// Custom Select
//
*/



.cs-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Wrapper */
.cs {
  display: inline-block;
  width: 100%;            /* passt sich Container an */
  font: inherit;
}

/* Trigger (geschlossener Zustand) */
.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid #d1d5db;         /* neutral-300 */
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.cs-trigger:hover {
  border-color: var(--firstColor);           /* hover subtle */
}

.cs.is-open .cs-trigger {
  border-color: var(--firstColor); 
  outline: 1px solid var(--firstColor); 
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  background: #fbfdff;
}

.cs-trigger:focus-visible {
  outline-color: var(--firstColor);
  border-color: var(--firstColor);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  background: #fbfdff;
}

.cs-label {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-family: var(--fontFamilyText);
  color: rgb(5, 14, 60);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 200;
  color: rgb(25, 25, 25);
  letter-spacing: 0.3px;
}

.cs-caret {
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  position: relative;
}
.cs-caret::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  margin: auto;
  width: .3em;
  height: .3em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-10%);
  opacity: .7;
}
.cs.is-open .cs-caret::before {
  transform: rotate(-135deg) translateY(10%);
}

.cs-list {
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(16,24,40,.12), 0 2px 8px rgba(16,24,40,.08);
  padding: 0;
  display: none;
}

.cs.is-open .cs-list { display: block; }

.cs-option {
  display: flex;        
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 10px 12px;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-family: var(--fontFamilyText);
  color: var(--textColor-4);
}

.cs-check {
  margin-left: auto;
  width: var(--cs-icon-size, 18px);
  height: var(--cs-icon-size, 18px);
  opacity: 0;
  transition: opacity 120ms ease;
}

.cs-check svg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 80%;
}

.cs-option[aria-selected="true"] .cs-check {
  opacity: .9;
}

.cs-option[aria-disabled="true"] {
  color: #9aa4b2;
  cursor: not-allowed;
}

.cs-option:hover:not([aria-disabled="true"]),
.cs-option.is-active:not([aria-disabled="true"]) {
  background: #edf2f7             
}

.cs.is-disabled .cs-trigger {
  background: #f8fafc;
  color: #9aa4b2;
  cursor: not-allowed;
}






/*
//
// Data Security
//
*/


#section-data-security-overview{
  background-color: var(--bg-shade-1);
}

#section-data-security-overview ul li{
  list-style: none;
  padding: 4px 0;
}

#section-data-security-overview ul li a{
  text-decoration: none;
  gap: 5px;
  cursor: pointer;
}

#section-data-security-overview ul li a svg{
  stroke: var(--firstColor);
}

#section-data-security-overview ul li a span{
  color: var(--firstColor);
  font-weight: 300;
  cursor: pointer;
}

#set-browser-cookie-settings a{
  color: var(--firstColor);
}

/*
//
// Impress
//
*/

#impress-head span{
  font-size: 60px;
  color: var(--firstColor);
  font-weight: 400;
}


/*
//
// Cookies
//
*/

#cookie-definition{
  background-color: var(--bg-shade-1);
}






/* =========================
   Slider (manuell)
   ========================= */

.bmw-slider{
  position: relative;
  width: 100%;
  padding: 0; /* dein .flex-cont gibt sonst viel padding – hier nicht */
}

.bmw-slider__viewport{
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgb(200, 200, 200);
  box-shadow: 0px 7px 8px 2px rgba(11, 45, 139, 0.08);
  background: #fff;
}

.bmw-slider__track{
  display: flex;
  will-change: transform;
  transform: translateX(0%);
  transition: transform 350ms ease;
}

@media (prefers-reduced-motion: reduce){
  .bmw-slider__track{ transition: none; }
}

.bmw-slider__slide{
  min-width: 100%;
  position: relative;
  user-select: none;
}

.bmw-slider__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bmw-slider__slide:hover .bmw-slider__caption{
  opacity: 1;
}

.bmw-slider__caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.1), rgba(0,0,0,0));
  color: var(--textColor-2);
  font-family: var(--fontFamilyText);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: all ease 0.3s;
  background-color: var(--bg-shade-1)
}

.bmw-slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 180ms ease;
  color: rgb(7, 20, 87);
}

.bmw-slider__btn:hover{
  background: rgba(255,255,255,.95);
}

.bmw-slider__btn--prev{ left: 12px; }
.bmw-slider__btn--next{ right: 12px; }

.bmw-slider__dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 12px;
}

.bmw-slider__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid var(--firstColor);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.bmw-slider__dot[aria-selected="true"]{
  background: var(--firstColor);
}

@media (max-width: 768px){
  .bmw-slider__btn{ width: 40px; height: 40px; }
}
