@import url(fonts.css);
@import url(nav.css);

*{
  margin: 0;
  padding: 0;
  font-family: 'Roboto';
  text-decoration: none;
  transition: all .2s linear;
  box-sizing: border-box;
}

.no_transition{
  transition: all 0ms linear !important;
}

:root{
  --main: #909492;  /*rot 512424*/
  --secondary: #545454; /*dunkelrot 351414*/
  --hover_btn: #e2674e;
  --text: #282828;
  --white: #FFFFFF;
  --footer_white: #FFFAFA;
  --grau: #7A7A7A;
  --dark_white: #f1f1f1; /*darkwhite E4F3FC*/
  --black: #000000;
  --carousel_border: #8E8E8E;
  --bg_grau: #F6F6F6;
  --border_grau: #efefef;
  --bg_error: #dc3545;
  --jobsItem_border: rgba(122, 122, 122, 0.2);
  --jobsItemHoverShadow: rgba(0, 0, 0, 0.15);
}

.bg_blau1{
  background-color: #1D2B4E;
}
.bg_blau2{
  background-color: #283a69;
}
.bg_blau3{
  background-color: #3a5394;
}
.bg_blau4{
  background-color: #384a79;
}
.bg_blau5{
  background-color: #3859ac;
}
.bg_blau6{
  background-color: #1640aa;
}

.bg_dots{
  background-image: url('/wp-content/themes/brim-bau/img/dots.svg');
  background-repeat: no-repeat;
  background-size: 20%;
  position: top left;
}

.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6, p{
  margin: 0;
  padding: 0;
}

h2{
  font-weight: 500;
  font-size: 36px;
  line-height: 120%;
  /* or 43px */
  
  letter-spacing: 0.01em;
margin: 10px 0px 15px;
color: #3D2209;
}

h3{
font-weight: 500;
font-size: 28px;
line-height: 26px;
/* identical to box height, or 93% */

margin-bottom: 16px;
color: #3D2209;
}

p{
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  /* or 24px */
  letter-spacing: 0.01em;


color: #3D2209;
}

p.max_80per, div.max_80per{
  max-width: 80%;
}

a{
  text-decoration: none;
}
.btn, .btn:focus, .btn:active{
  background-color: var(--main);
  padding: 18px 30px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  text-align: center;
  display: inline-block;
  color: var(--white);
  border: none;
}

.btn:hover{
  background-color: var(--main);
  color: var(--white);
}

.btn_sh{
  box-shadow: 0px 7px 22px -6px rgba(221, 96, 33, 0.34);
}

.btn_white, .btn_white:focus, .btn_white:active, .btn_white:visited{
  background: var(--main);
  border: 1px solid var(--main);
  border-radius: 10px;
  font-size: 14px;
line-height: 14px;
/* identical to box height, or 100% */

text-align: center;
letter-spacing: 0.01em;
color: var(--dark_white);
}

.btn_white_border, .btn_white_border:focus, .btn_white_border:active{
  border: 1px solid var(--white);
}

.btn

.btn_turkis, .btn_turkis:focus, .btn_turkis:active, .btn_turkis:hover{
  background: #5C7B7C;
  border: 1px solid var(--white);
  border-radius: 10px;
  font-size: 14px;
line-height: 14px;
/* identical to box height, or 100% */

text-align: center;
letter-spacing: 0.01em;
color: var(--white);
}

section{
  padding: 100px 0px;
}

.container{
  padding: 0px 0px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.container_small{
  max-width: 995px;
}

img{
  width: 100%;
  border-radius: 10px;
}

.header_home{
  background: linear-gradient(to right, var(--dark_white) 40%, var(--main) 40%);
  /*background: linear-gradient(311.76deg, #d4e0ff -15.24%, #FFFFFF 78.85%);*/
  width: 100%;
  height: 100vh;
  min-height: 980px;
  max-height: 985px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  opacity: 1;
  overflow: auto;
  color: var(--dark_white);
}

.header_text{
  background-color: var(--secondary);
  border-radius: 15px;
  padding: 50px;
  position: relative;
  z-index: 2;
}

header.sub{
  background: 
  linear-gradient(to right, var(--dark_white) 40%, var(--main) 40%), /* Farbverlauf */
    url('/wp-content/themes/brim-bau/img/bg_square2.png'); /* Hintergrundbild */
  height: auto;
  padding: 180px 0px 100px;
  min-height: unset;
  max-height: unset;
  background-size: cover; /* Bildgröße */
  background-repeat: no-repeat; /* Verhindert Wiederholung */
  background-position: center; /* Zentriert das Bild */
  background-blend-mode: multiply;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

header.bg_top{
  background-position: top !important;
}

header.augenkompetenzzentrum_header{
  overflow: visible;
}

header.sub_filiale{
  height: 700px;
}

header.sub .container_small{
  position: relative;
  height: 100%;
}

header.sub h1{
  font-weight: 500;
font-size: 40px;
line-height: 100%;
color: var(--dark_white);
background-color: var(--secondary);
padding: 40px;
border-radius: 15px;
margin: auto;
text-align: center;
max-width: unset;
display: inline-block;
}

header.sub .container{
  text-align: center;
}


.flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.flex_45{
  flex: 0 0 45%;
}

.flex_55{
  flex: 0 0 55%;
}

.flex_50{
  flex: 0 0 50%;
}

.flex_gap_40{
  gap:40px
}

.flex_50_gap_40{
  flex: 0 0 calc(50% - 25px);
}

.flex_50_p{
  flex: 0 0 calc(50% - 15px);
}

.header_home h1, .header_home p{
  max-width: 434px;
}

.header_home h1{
font-weight: 500;
font-size: 56px;
line-height: 66px;
/* or 118% */


color: var(--dark_white);
}

.header_home p{
font-weight: 300;
font-size: 18px;
line-height: 28px;
/* or 156% */


color: #efefef;
margin: 30px 0px 50px;
}

.header_home img{
  max-width: unset;
  width: 130%;
  transform: translateX(-200px);
  max-height: 700px;
  min-height: 700px;
  object-fit: cover;
  border-radius: 15px;
}

.social_media{
  position: absolute;
  left: 60px;
  bottom: -80px;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.social_media svg{
  width: 35px;
  height: 35px;
  fill: var(--secondary);
}

.carousel-control-next, .carousel-control-prev {
  position: absolute;
  top: auto;
  bottom: -100px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  color: #142935;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: 1;
  background-color: var(--secondary);
  transition: opacity .15s ease;
}

.carousel-control-prev {
  left: auto;
  right: 50px;
  border-top-left-radius: 15px;
}

.carousel-control-next {
  border-top-right-radius: 15px;
}

.img_bg{
  box-shadow: 0px 4px 15px 5px rgba(0, 0, 0, 0.15);
}

.card_box{
  background-color: var(--white);
  border-top: 2px solid var(--main);
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, .1);
  flex: 0 0 250px;
}

.dienstleistungen{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-around;
  align-items: stretch;
  margin-top: 40px;
}

.dienstleistungen .card_box{
  flex: 0 0 calc(50% - 20px);
}

.card_box_inner{
  padding: 30px;
}

.card_box h3{
  font-size: 18px;
  margin: 0px;
}

.dienstleistungen .card_box h2{
  font-size: 18px;
  margin: 0px;
}

.card_box p{
  margin: 20px 0px !important;
  font-size: 14px;
}

p.teaser, div.teaser p{
    display: -webkit-box; /* Flexibles Box-Modell */
    -webkit-line-clamp: 2; /* Maximale Anzahl der Zeilen */
    -webkit-box-orient: vertical; /* Vertikale Orientierung */
    overflow: hidden; /* Versteckt den überflüssigen Text */
    text-overflow: ellipsis; /* Fügt '...' am Ende des Textes hinzu */
}

.pr_desc h3{
  display: -webkit-box; /* Flexibles Box-Modell */
  -webkit-line-clamp: 1; /* Maximale Anzahl der Zeilen */
  -webkit-box-orient: vertical; /* Vertikale Orientierung */
  overflow: hidden; /* Versteckt den überflüssigen Text */
  text-overflow: ellipsis; /* Fügt '...' am Ende des Textes hinzu */
}

.card_box a, .pr_desc a{
  background: var(--main);
  border: 1px solid var(--main);
  border-radius: 10px;
  font-size: 14px;
line-height: 14px;
/* identical to box height, or 100% */

text-align: center;
letter-spacing: 0.01em;
color: var(--dark_white);
padding: 10px 30px;
display: inline-block;
}

.card_box img{
  height: 150px;
  object-fit: cover;
}

.card_startseite .card_box img{
  object-fit: contain;
}

.pl_50{
  padding-left: 50px;
}

.bg_haus{
  height: 450px;
  background-color: var(--main);
  padding: 60px 0 0 0;
  position: relative;
  text-align: center;
}

.bg_haus img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .02;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.clr_white{
  color: var(--white) !important;
}

.projects{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  margin-top: -250px;
}

.projects.sub{
  margin-top: 0;
}

.card_project{
  flex: 0 0 calc(33.333333% - 50px);
}

.p_img{
  overflow: hidden;
  border-radius: 15px;
  height: 350px;
}

.p_img img{
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.card_project:hover .p_img img{
  transform: scale(1.1);
}

.pr_desc{
  background-color: var(--white);
  border-bottom: 2px solid var(--main);
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, .1);
  width: 80%;
  margin: -50px auto 0px;
  position: relative;
  z-index: 2;
  padding: 20px;
}

.card_project:hover .pr_desc{
  margin-top: -60px;
}

.pr_desc h3{
  font-size: 18px;
  margin: 0px;
}

.pr_desc p {
  margin: 10px 0px;
  font-size: 14px;
  display: -webkit-box; /* Setzt die Anzeige auf einen flexiblen Container */
  -webkit-line-clamp: 2; /* Legt fest, dass nur 2 Zeilen angezeigt werden */
  -webkit-box-orient: vertical; /* Legt die Ausrichtung der Box auf vertikal fest */
  overflow: hidden; /* Versteckt den überflüssigen Text */
  text-overflow: ellipsis; /* Zeigt "..." für den abgeschnittenen Text an */
}

.jobs{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 100px;
  gap: 40px;
}

.jobs_karriere{
  padding-left: 0px;
  margin-top: 40px;
}


.job{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-radius: 15px;
  background-color: var(--white);
  border-left: 2px solid var(--main);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, .1);
  width: 100%;
}

.jobs_karriere .job div{
  max-width: 90%;
}

.job h3{
  font-size: 18px;
  margin: 0;
}

.job svg{
  width: 30px;
  height: 30px;
  fill: var(--main);
  transform: translateX(-10px);
  transition: all 0.2s ease-in-out;
}

.job:hover svg{
  transform: translateY(0px);
}

.jobs a, .jobs p{
  width: 100%;
}

.bg_square{
  background-image: url('/wp-content/themes/brim-bau/img/bg_square2.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.img_text{
  max-width: 80%;
  margin: 0 auto;
}

.img_text img{
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, .1);
}

.img_text_inner{
  width: 75%;
  margin: -100px auto 0 auto;
  padding: 50px;
  border-top: 2px solid var(--main);
  border-radius: 15px;
  background-color: var(--white);
  position: relative;
  z-index: 2;
}

.profilBild_dienstleistungen{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -100px;
}

.profilBild_dienstleistungen img{
  height: 250px;
  width: auto;
  position: relative;
  z-index: 2;
}

.profil_text{
  padding: 25px 50px;
  border-right: 2px solid var(--main);
  border-radius: 15px;
  background-color: var(--white);
  position: relative;
  z-index: 1;
  margin-left: -20px;
}

.profil_contact{
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 7.5px 0px;
}

.profil_contact svg{
  height: 20px;
  width: 20px;
  fill: var(--main);
}

.text_right{
  text-align: right;
}

.text_center{
  text-align: center;
}


.row_z {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}

.row_z img {
  width: calc(50% - 20px);
  margin: 10px 10px;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 15px;
}

.c_pointer{
  cursor: pointer;
}

.roomtoor{
  width: 100%;
  height: 650px;
  margin: 40px 0px 0px;
}

/* Lightbox Style */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}

.lightbox img {
  width: 80%;
  max-width: 1000px;
  height: auto;
  border-radius: 20px;
}

.lightbox .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  cursor: pointer;
  
}

.lightbox .prev {
  left: 10px;
}

.lightbox .next {
  right: 10px;
}

.lightbox.show {
  visibility: visible;
  opacity: 1;
}

.mt_top_blank{
  padding-top: 220px;
}

.pb_0{
  padding-bottom: 0px;
}

.post, .page {
  margin: 0 !important;
}

.bg_verlauf {
  background: 
    linear-gradient(to right, var(--dark_white) 65%, var(--main) 65%), /* Farbverlauf */
    url('/wp-content/themes/brim-bau/img/bg_square.png'); /* Hintergrundbild */
  background-size: cover; /* Bildgröße */
  background-repeat: no-repeat; /* Verhindert Wiederholung */
  background-position: center; /* Zentriert das Bild */
  background-blend-mode: multiply;
}

.bg_verlauf_sub{
  border-top: 1px solid rgba(221, 96, 33, 0.11);
  background: linear-gradient(to bottom right, var(--dark_white) 30%, #FFFFFF 50%);
}

.mt_30{
  margin-top: 30px;
}

.subtitle{
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
font-size: 16px;
line-height: 150%;
/* identical to box height, or 24px */

letter-spacing: 0.01em;

  color: var(--main);
  margin-bottom: 10px;
}

.subtitle_komp{
  font-size: 24px;
  margin-bottom: 30px;
}

.mt_65{
  margin-top: 65px;
}

.white_box{
  width: 100%;
  max-width: 745px;
  padding: 36px 16px;
  border-radius: 10px;
  background-color: var(--white);
  margin: 50px auto 0px;

}

.white_box:hover{
  box-shadow: 0px 10px 22px -6px rgba(221, 96, 33, 0.26);
}

.white_box:hover h3{
  color: var(--main);
}

.icon_white_box{
  width: 90px;
  height: auto;
  margin-left: 30px;
  margin-right: 40px;
}

.icon_white_f{
  visibility: visible;
  opacity: 1;
}

.icon_white_s{
  visibility: hidden;
  opacity: 0;
  position: absolute;
}

.white_box:hover .icon_white_f{
  visibility: hidden;
  opacity: 0;
}

.white_box:hover .icon_white_s{
  visibility: visible;
  opacity: 1;
}

.white_box_text{
  flex: 0 0 calc(100% - 160px);
}


.bg_verlauf_leistungen, .bg_verlauf_brillen{
  padding: 87px 0px 67px;
  border-top: 1px solid rgba(221, 96, 33, 0.11);
}

.bg_verlauf_leistungen img{
  transform: translateY(100px);
  border-radius: 10px;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.1));
  min-height: 424px;
  object-fit: cover;
  object-position: center;
}

.bg_verlauf_leistungen video{
  transform: translateY(100px);
  border-radius: 10px;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.1));
  min-height: 424px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.bg_verlauf_leistungen h2{
color: #3D2209;
max-width: 330px;
}

.bg_verlauf_leistungen p{
  max-width: 450px;
  margin: 20px 0px 30px;
  color: #3D2209;
}

.f300{
  font-weight: 300;
}

.flex_grid{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 20px;
}

.flex_l_1_1{
  flex: 0 0 calc(40% - 10px);
  display: flex;
  align-items: center;
}

.flex_l_full{
  flex: 0 0 100%;
  display: flex;
  align-items: center;
}

.flex_l_1_2{
  flex: 0 0 calc(60% - 10px);
  min-height: 468px;
  display: flex;
  align-items: end;
}

.flex_l_2_1{
  flex: 0 0 calc(70% - 10px);
  min-height: 314px;
  display: flex;
  align-items: end;
}

.flex_l_2_2{
  flex: 0 0 calc(30% - 10px);
  display: flex;
  align-items: center;
}

.flex_l_3_1{
  flex: 0 0 calc(33.333333% - 15px);
}

.bg_braun{
  background-color: #4160AC;
}

.bg_turkis{
  background-color: #283a69;
}

.bg_darkorange{
  background-color: #1D2B4E;
}

.bg_gelb{
  background-color: #33405F;
}


.box_l{
  padding: 43px;
  height: 100%;
  border-radius: 10px;
  display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.box_l h2, .box_l p{
  color: white;
}

.box_l p{
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
}

.flex_l_3_1 .box_l h2{
  font-size: 24px;
line-height: 120%;
margin-bottom: 25px;
}

.flex_l_1_1 p{
  max-width: 286px;
}

.box_l_img{
  background-size: cover !important;
  background-position: center center !important;
  justify-content: flex-end;
  width: 100%;
}

.box_l_img p{
  max-width: 428px;
}

.bg_main{
  background-color: var(--main);
}

.flex_l_3_1 .box_l{
  justify-content: start;
}

.leistungen_grid{
  padding-top: 130px;
}

.vid_background{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  z-index: 1;
}

.overlay_vid{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  z-index: 2;
  background-color: rgba(0, 0, 0, .5);
}

.vid_text{
  position: relative;
  z-index: 3;
}

.footer_social{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 60px;
}

.social_links{
  display: inline-flex;
  gap: 20px;
}



.footer_social img{
  height: 30px;
  width: auto;
}

.footer_top{
  padding: 80px 0px;
  background-color: var(--main);
}

.footer_bottom{
  padding: 40px 0px;
  background-color: var(--secondary);
}

.footer_bottom .flex{
  justify-content: space-between;
  gap: 0px;
}

footer .social_media{
  position: static;
}

footer .social_media svg{
  fill: var(--dark_white);
  width: 30px;
  height: 30px;
}

footer h2{
  color: var(--dark_white);
}

.footer_bottom p, .footer_bottom a{
  font-size: 14px;
  line-height: 14px;
  font-weight: 300;
  color: var(--dark_white);
}

.footer_top p.min_height{
  min-height: 142px;
}

.footer_bottom span{
  margin: 0px 10px;
}

.flex_3{
  flex: 0 0 calc(33.333333% - 40px);
}


.job_form_box{
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.job_form{
  margin-top: 40px;
  flex: 0 0 100%;
}
.stellenbeschreibung p, .page_text p{
 margin-top: 20px;
 margin-bottom: 20px;
}

.stellenbeschreibung p:first-child, .page_text p:first-child{
  margin-top: 0px;
}

.stellenbeschreibung ul, .page_text ul{
  margin: 20px 0px;
  padding: 0px;
  padding-left: 40px;
 }

.kontakt_form_box{
  width: 100%;
  margin: 0px auto 0 auto;
}

.kontakt_form_box .job_form{
  flex: 0 0 100%;
}

.kontaktinfos{
  flex: 0 0 25%;
}
#job_form{
  display: flex;flex-wrap: wrap;justify-content: space-between;
  align-items: start;
}

.form_control{
  flex: 0 0 calc(50% - 15px);
  border-radius: 15px;
  border: 1px solid var(--border_grau);
  padding: 20px;
  margin-bottom: 30px;
}

.form_datenschutz{
  border: none;
  padding-top: 10px;
  flex: 0 0 auto;
}

.form_control label, .form_control input, .form_control textarea{
  width: 100%;
}

.form_control label{
  color: var(--text);
  font-weight: 300;
    font-size: 16px;
}

.form_control input, .form_control textarea{
  border: none;
  border-bottom: 1px solid var(--main);
  padding: 10px 20px;
  outline: none;
  box-shadow: none;
  border-radius: 10px;
  background-color: transparent;
}

.form_datenschutz input, .form_datenschutz label{
  width: auto;
}

.form_control input[type=file]{
  border-bottom: 0px solid var(--main);
  padding-bottom: 0px;
}

/* Styling für die Datenschutz-Checkbox */
input[type="checkbox"]#datenschutz {
  /* Versteckt die Standard-Checkbox */
  display: none;
}

/* Styling für das benutzerdefinierte Checkbox-Element */
div.form_control input[type="checkbox"]#datenschutz + label::before {
  /* Fügt ein benutzerdefiniertes Checkbox-Element hinzu */
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 1px solid var(--border_grau);
  background-color: var(--white);
  vertical-align: middle;
}

/* Styling für das benutzerdefinierte Checkbox-Element, wenn aktiviert */
div.form_control input[type="checkbox"]#datenschutz:checked + label::before {
  /* Ändert die Hintergrundfarbe des Checkbox-Elements, wenn aktiviert */
  background-color: var(--main);
}

/* Styling für das Label der Checkbox */
div.form_control input[type="checkbox"]#datenschutz + label {
  /* Fügt Abstand zwischen dem Checkbox-Element und dem Label hinzu */
  cursor: pointer;
  font-size: 14px;

}

/* Styling für das Label der Checkbox, wenn der Cursor darüber schwebt */
div.form_control input[type="checkbox"]#datenschutz + label:hover {
  /* Ändert die Textfarbe des Labels, wenn der Cursor darüber schwebt */
  color: var(--main);
}

.kontaktinfos{
  padding: 20px;
  background-color: var(--main);
  border-radius: 5px;
}

.kontaktinfos h2, .kontaktinfos p,.kontaktinfos a{
  color:var(--white);
}

.kontaktinfos h2{
  font-size: 18px;
  line-height: 1;
  margin-bottom: 20px;
}

.response{
  width: 100%;
  margin-top: 20px;
}

.response_suc, .response_fail{
  padding: 10px;
  border-radius: 10px;
  color:var(--white);
}

.response_suc{
  background-color: var(--main);
}

.response_fail{
  background-color: var(--bg_error);
}

.footer_menu ul{
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer_menu ul li{
  flex: 0 0 calc(50% - 10px);
}

footer h2{
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 20px;
}

.footer_social h2{
  font-size: 20px;
  line-height: 1;
  margin: 0px;
  margin-right: 20px;
}

.footer_top p, .footer_top a{
  font-weight: 300;
font-size: 16px;
line-height: 28px;
/* or 175% */

letter-spacing: 0.0125em;
max-width: 345px;
color: var(--dark_white)
}


.footer_top p.min_height_1{
  min-height: 105px;
  max-width: 360px;
}

.social_links a{
  line-height: 1;
}

.footer_top .logo{
  height: 54px;
  width: auto;
}
.align_item_start{
  align-items: start !important;
}

footer p{
  color: #E7E7E7;
}

.contact_row{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.contact_row svg{
  height: 22px;
  width: 22px;
  fill: var(--dark_white);
}

.mt_20{
  margin-top: 20px;
}

.bg_verlauf_brillen{
  padding: 80px 0px;
}

.justify_content_around{
  justify-content: space-around;
}

.flex_left_right_small{
  flex: 0 0 calc(30% - 25px);
  max-width: 273px;
}

.flex_middle_big{
  flex: 0 0 calc(40% - 25px);
  max-width: 317px;
}

.brillen_box{
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.05));
  background-color: var(--white);
  border-radius: 10px;
 overflow: hidden;
}

.brillen_box img{
  border-radius: 0px;
}

.brillen_box h2{
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  /* or 24px */
margin-top: 0px;
  letter-spacing: 0.01em;
  color: #3D2209;
}

.brillen_box_m{
  filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.1));
  
}

.brillen_box_m .brillen_box_text{
  padding: 30px 30px 45px;
}

.brillen_box_m p{
  margin-top: 35px;
}

.brillen_box_m h2{
  color: var(--main);
}

.brillen_box_text{
  padding: 30px;
}

.flex_left_right_small h2{
  max-width: 170px;
}

.flex_img, .kompetenz_img{
  flex: 0 0 32%;
  max-width: 300px;
}

.flex_text, .kompetenz_text{
  flex: 0 0 calc(68% - 60px);
  max-width: 610px;
}

.flex_text h2{
  margin: 0px 0px 30px;
}

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

.align_item_end{
  align-items: end;
}

.align_item_start{
  align-items: start;
}


.icon_header{
  background: #FFFFFF;
  border-radius: 10px;
  right: 0;
  bottom: -12px;
    width: 183px;
    position: absolute;
    padding: 30px;
}

.icon_header img{
  width: 100%;
  max-width: 130px;
  border-radius: 0px;
}

.logo_augenkompetenzzentrum{
  padding: 0px;
  bottom: -50px;
}

.logo_augenkompetenzzentrum img{
  max-width: unset;
 
}

.kompetenz_wrapper{
  width: 100%;
  overflow-y: auto;
}

/* Ausblenden der vertikalen Scrollleiste */
.kompetenz_wrapper ::-webkit-scrollbar, .kompetenz_tabs ::-webkit-scrollbar {
  width: 0.5em; /* Du kannst diese Breite anpassen */
}

/* Stil der Scrollbar Thumb (der bewegliche Teil des Scrollbalkens) */
.kompetenz_wrapper ::-webkit-scrollbar-thumb, .kompetenz_tabs ::-webkit-scrollbar-thumb {
  background-color: transparent; /* Transparente Farbe, um sie auszublenden */
}

.kompetenz_tabs{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  min-width: 880px;
  overflow-y: scroll;
}

.kompetenz_tab{
  flex: 0 0 160px;
  background: var(--white);
  border: 1px solid var(--main);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  text-align: left;
  cursor: pointer;
  max-width: 160px;
  min-height: 80px;
}

.kompetenz_tab.active{
  background-color: var(--main);
}

.kompetenz_tab_home, .kompetenz_tab a{
  padding: 25px 10px 20px;
}

.kompetenz_tab .kompetenz_tab_title{
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  /* or 17px */
  
  letter-spacing: 0.01em;
  
  color: var(--main);
}

.kompetenz_tab.active .kompetenz_tab_title{
  color: var(--white);
}

.kompetenz_home_text{
  margin-top: 80px;
}

.kompetenz_home_text{
  display: none;
  opacity: 0;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

.kompetenz_home_text.active{
  display: block;
  opacity: 1;
}

.gleitsichtbrillen_box_img{
  width: 100%;
  text-align: right;
  margin-top: -75px;
}

.gleitsichtbrillen_box_img img{
  width: 158px;
  height: 144px;
  object-fit: cover;
  object-position: center center;
}

.gleitsichtbrillen_box_text h2{
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  /* identical to box height, or 30px */

  letter-spacing: 0.01em;
  margin-bottom: 30px;
}

.gleitsichtbrillen_box_text p{
  max-width: 371px;
}

.gleitsichtbrillen_box_text_100 p{
  max-width: unset;
  width: 100%;
}

.map_frame{
  width: 100%;
  height: 400px;
  margin-bottom: -5px;
}

.box_g{
  padding: 50px 36px;
}

.mt_80{
  margin-top: 80px;
}

.ul_p ul{
  padding-left: 20px;
}

ul li{
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 200%;
  /* or 32px */
  
  letter-spacing: 0.01em;
  
  color: #3D2209;
}


.bilder_kompetenzen{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bilder_kompetenzen img{
  width: calc(50% - 15px);
  height: 355px;
  object-fit: cover;
  object-position: center center;
  margin-top: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.kontaktlinsen_box_text h2{
  width: 100%;
  height: 60px;
  display: flex;
  align-items: end;
  margin-top: -60px;
}

.kontaktlinsen_box_text p {
  max-width: 100%;
  }

.flex_100_p {
  flex: 0 0 calc(100% - 15px);
}

.align_items_stretch{
  align-items: stretch;
}

.kontaktlinsen_container .box_l{
  justify-content: flex-start;
}

.mt_50{
  margin-top: 50px;
}

.flex_reverse .flex_img{
  order: 2;
}

.sonnenbrillen_flex .flex_img {
  flex: 0 0 390px;
  max-width: unset;
}

.sonnenbrillen_flex .flex_text {
  flex: 0 0 calc(100% - 450px);
}

.sonnenbrillen_galerie, .lesebrillen_galerie{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sonnenbrillen_galerie img{
  flex: 0 0 calc(33.333333% - 20px);
  width: calc(33.333333% - 20px);
  object-fit: cover;
    object-position: center;
}

.ul_blog ul{
  padding-left: 40px;
}

.lesebrillen_galerie img{
  flex: 0 0 calc(50% - 20px);
  width: calc(50% - 20px);
}

.flex_abo{
  gap: 30px;
  margin-top: 50px;
}

.aufzahlungen{
  display: flex;
  gap: 20px;
  flex: 1 1 calc(50% - 30px);
  align-items: center;
}

.aufzahlungen img{
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
}

.flex_boxen_abo h2{
  font-size: 64px;
  line-height: 1;
  margin-top: 0px;
  margin-bottom: 50px;
}

.flex_boxen_abo img{
  width: 100%;
  height: 275px;
  object-fit: cover;
  object-position: center center;
}

.flex_boxen_abo .flex{
  align-items: stretch;
}

.flex_boxen_abo .box_l{
  justify-content: flex-start;
}

.small_font_abo{
  font-size: 14px;
  margin-top: 50px;
}

.blog_nav_container{
  overflow: hidden;
  width: 100%;
}

.blog_nav{
  display: flex;
  list-style: none;
  margin: 80px auto;
  justify-content: center;
}

.blog_nav li{
  font-size: 20px;
  font-family: 'Roboto';
  font-weight: 300;
  padding: 20px;
  padding-top: 0px;
  border-bottom: 1px solid #EAECF0;
  cursor: pointer;
}

.blog_nav li.active{
  color: var(--main);
  border-bottom: 2px solid var(--main);
  font-weight: bold;
}

.blog_container{
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.blog_teaser{
  height: 50px;
  overflow: hidden;
}

.post_blog.active:first-of-type{
  flex: 0 0 calc(68% - 40px);
}

.post_blog{
  flex: 0 0 calc(33% - 40px);
  display: none;
}

.post_blog.active{
  display: block;
}

.post_blog_index{
  display: block;
  flex: 0 0 calc(33% - 40px) !important;
}

.post_blog img{
  height: 311px;
  width: 100%;
  object-fit: cover;
}

.post_blog h2{
  font-size: 16px;
  font-weight: bold;
  margin: 20px 0px;
  display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.post_blog p{
  display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; /* Um den Text von oben nach unten zu platzieren */
    overflow: hidden;
}

.post_blog .btn{
  margin-top: 20px;
}

.bewertung_wrapper{
  padding: 30px;
  
  border: 1px solid rgba(185, 185, 185, .27);
  border-radius: 10px;
  position: relative;
  z-index: 1;
  width: calc(33.333333% - 30px);
  max-width: 336px;
  
}


.bewertung_wrapper:hover{
  box-shadow: 0px 10px 40px rgba(0, 0, 0, .05);
}

.bewertungen_proven{
  display: flex;
  gap: 40px;
  margin: 50px 0px;
}

.bewertung_header{
  display: flex;
  gap: 10px;
}

.bewertung_header img{
  height: 28px;
  width: 28px;
}

.bewertung_header p{
  font-weight: bold;
  font-size: 20px;
  color: #3D2209;
}

.bewertung_content img{
  max-width: 196px;
  width: 100%;
  margin: 20px 0px;
}

.bewertung_content p{
  font-size: 16px;
  color: #8C8C8C;
}

.bewertung_content a, .post_blog_index a{
  color: #4A4A56;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  display: inline-block;
}

.vid_placeholder{
  width: 100%;
  height: 350px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center center;
  background-color: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease-in-out;
  overflow: hidden;
  cursor: pointer; 
}

.vid_kl{
  height: 560px;
  width: 100%;
  border-radius: 10px;
}

.vid_placeholder.active {
  width: 100% !important;
  height: 100vh !important;
  position: fixed;  
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0px;
  border-radius: 0px;
  z-index: 10001;
}

.no-scroll{
  overflow: hidden;
}



.vid_placeholder video{
  width: 100%;
  height: 135%;
  object-fit: cover;
  object-position: center center;
}

.vid_placeholder.active video{
  height: auto;
}

/* Standardmäßig das Stummschaltungssymbol ausblenden */
#muteBtn {
  display: block;
  position: absolute;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

/* Das Stummschaltungssymbol anzeigen, wenn .vid_placeholder die Klasse .active hat */
.vid_placeholder.active #muteBtn {
  display: block;
}

#muteBtn svg, .close_vid svg{
  width: 25px;
  height: 25px;
  fill: var(--main);
}

.close_vid{
  display: none;
}

.vid_placeholder.active .close_vid {
  display: flex;
}

.close_vid{
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 100%;
  color: var(--main);
  display: none;
  justify-content: center; 
  align-items: center;
}


.medium_p, .medium_p p{
  font-weight: 500;
}

.font_20, .font_20 p{
  font-size: 20px;
}

.post_blog_index a{
  font-weight: normal;
}

.bewertung_content svg path, .post_blog_index svg path{
  stroke: #4A4A56;
}

.bewertung_wrapper:hover .bewertung_content a, .post_blog_index:hover a{
  color: var(--main);
}
.bewertung_wrapper:hover .bewertung_content svg path, .post_blog_index:hover svg path{
  stroke: var(--main);
}

.bewertung_uberUns{
  max-width: 365px;
}

.bewertung_uberUns p{
  font-size: 16px;
  margin-bottom: 20px;
}

.flex_startseite_bild_text{
  display: flex;
  gap: 80px;
}
.flex_startseite_bild_text{
  flex: 1 0 60%;
}
.flex_startseite_text{
  flex: 1 0 40%;
}

.bg_dunkel{
  background-color: #d4e0ff;
}

.pos_rel{
  position: relative;
}

.roden_logo{
  position: absolute;
  opacity: .75;
  max-width: 273px;
  top: 0;
  left: 10%;
  mix-blend-mode: overlay;
}
.flex_rodenstock .box_l{
  justify-content: flex-start;
}

.box_l p.roden_number{
  font-size: 48px;
    line-height: 1;
    margin-top: 0px;
    margin-bottom: 50px;
    font-weight: 500;
}
.z_2{
  position: relative;
  z-index: 2;
}

.font_36{
  font-size: 36px;
}

.font_14{
  font-size: 14px;
}

.gap_20{
  gap: 20px;
}

.text_ceter{
  text-align: center;
}

.index_blog h2{
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.index_blog_text{
  display: flex;
  gap: 20px;
}

.line{
  margin-top: 30px;
  width: 40px;
  height: 1px;
  background-color: var(--main);
}

.punkte_links, .punkte_rechts{
  position: absolute;
  max-width: 137px;
}

.punkte_links{
  top: -55px;
  left: -55px;
  
}

.punkte_rechts{
  top: 55px;
  right: -75px;
}

.imp_data p{
  margin: 30px 0px;
}

.youtube_video iframe{
  width: 100%;
  height: 485px;
  margin: 65px 0px;
}

.rodenstock_boxen{
  display: flex;
  justify-content: space-between;
}

.rodenstock_box{
  width: 184px;
  height: 184px;
  background-color: #1D2B4E;
  border-radius: 10px;
  padding: 10px;
}

.rodenstock_box .zahl{
  color: #67C0B4;
  font-size: 80px;
  line-height: 1;
  font-weight: bold;
}

.rodenstock_box .text{
  font-size: 16px;
  color: #EBEBEE;
}

.rodenstock_formular_container{
  background-color: var(--main);
  padding: 50px;
  border-radius: 10px;
}

.rodenstock_formular_container h2{
  font-weight: bold;
  font-size: 36px;
  color: var(--white);
  max-width: 350px;
  margin-bottom: 65px;
}

.rodenstock_formular_container p{
  color: var(--white);
}

.flex_form_text{
  max-width: 450px;
}

.flex_form{
  width: 100%;
max-width: 324px;
}

.btn_form{
  border-radius: 10px;
  border: 1px solid var(--white);
  width: 100%;
  font-size: 14px;
}

.rsb-form{
  color: var(--white);
}

.fade_in, .fade_in_footer {
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}


.termin_container{
  background-color: #f9fafd;
  padding: 80px 0px 0px;
}

.termin_container iframe{
  border: none;
}

.hover_border_white:hover{
  border-color: var(--white);
}

.optik_henze_termin_btn .uw-content-uw-wrap{
  left: 25px !important;
  right: auto !important;
}

.index_kacheln{
  margin-top: 0px;
}

.pt_0{
  padding-top: 0px;
}

.index_kacheln .flex{
  gap: 15px;
  align-items: stretch;
}

.index_kacheln .flex .flex_50_p{
  flex: 0 0 calc(50% - 10px);
}

.index_kacheln h2{
  font-size: 48px;
  margin-top: 0px;
  margin-bottom: 50px;
}

.index_kacheln .box_l{
  justify-content: start;
}

.filialen_flex{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.filialen_flex img, .filialen_flex iframe{
  width: 100%;
  max-width: 452px;
  height: 346px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  position: absolute;
  left: 0;
}

.filialen_text{
  width: 100%;
  max-width: 672px;
  padding: 40px 130px 40px 180px;
  border-radius: 10px;
}

.filialen_text h2, .filialen_text p{
  color: var(--white);
}

.bewertungssiegeln img{
  width: auto;
height: 150px;
border-radius: 0px;
}

.team_img_home{
  width: 100%;
  border-radius: 10px;
}

.team_text_home{
  margin: -100px auto 0;
  max-width: 800px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 50px 70px;
  position: relative;
}

.flex_t{
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.flex_team{
  flex: 0 0 calc(33.333333% - 20px);
  margin-bottom: 50px;
}

.flex_team h2{
  font-size: 20px;
  margin: 20px 0px 0px;
}

.flex_team p{
  font-size: 16px;
}

.team_img{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.team_img img{
  border-radius: 10px;
}

.team_img a{
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: transparent;
  padding: 0px;
  border: none;
  border-radius: 0px;
}


.team_img a:hover{
 transform: scale(1.2);
  background-color: transparent;
  border: none;
  border-radius: 0px;
}

.team_img a img{
  height: 30px;
  width: auto;
}

.team_text{
  padding: 0px 10px;
}

.team_slogan{
  position: absolute;
  height: auto;
  background-color: rgba(65, 96, 172,.90);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: var(--white);
  bottom: 4px;
  left: 0;
  right: 0;
  padding: 10px 50px 10px 10px;
  font-size: 12px;
  max-height: 0px;
  opacity: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.team_slogan.charly_team{
  bottom: 0px;
}

.flex_team:hover .team_slogan{
  opacity: 1;
  max-height: 1000px;
}

.roden_gross{
  background-color: #d4e0ff;
}

.roden_gross .flex{
  justify-content: flex-start;
}

.roden_gross img{
  flex: 0 0 50%;
  width: 50%;
  border-radius: 0px;
}

.roden_gross p{
  font-weight: bold;
  padding: 100px;
  flex: 0 0 50%;
  max-width: 710px;
  font-size: 20px;
}

.roden_vorteile ul{
  display: flex;
  flex-wrap: wrap;
}

.roden_vorteile ul li{
  font-weight: bold;
  margin-top: 20px;
  margin-right: 40px;
}

.flex_rodenstock_two_boxes{
  gap: 60px;
  align-items: stretch;
}

.flex_rodenstock_two_boxes .flex_img{
  flex: 0 0 33%;
  max-width: 420px;
}

.flex_rodenstock_two_boxes .flex_img img{
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.flex_rodenstock_two_boxes .flex_text{
  flex: 0 0 calc(60% - 30px);
}

.mt_100{
  margin-top: 100px;
}

.btn_sparen{
  text-align: right;
}

.btn_sparen .btn{
  transform: translateY(-120px);
}

@media screen and (max-width: 1250px) {
  .header_home h1 {
    font-size: 38px;
    line-height: 1.2em;
  }
  .header_home img {
    width: 120%;
  }
  .carousel-control-prev {
    right: calc(10% + 60px);
  }
  .carousel-control-next {
    right: 10%;
  }
  .carousel-control-next, .carousel-control-prev {
    bottom: 0;
  }
  .social_media{
    bottom: 0;
    z-index: 10;
  }
  
  .container, .container_small{
    width: 90%;
  }
  .filialen_text {
    padding: 40px 40px 40px 235px;
  }
}

@media screen and (max-width: 1080px) {
  .header_home{
    height: auto;
    max-height: unset;
    min-height: unset;
  }
  .header_home .flex{
    flex-wrap: wrap-reverse;
  }
  .header_text {
    padding: 40px;
    max-width: 580px;
    margin: -150px auto 100px auto;
}
  .header_home img {
    width: 100%;
    max-height: 450px;
    transform: translateY(0);
    margin-top: 120px;
    min-height: unset;
  }
  .carousel-control-next, .carousel-control-prev{
    bottom: auto;
    top: 60px;
  }
  header .flex_45, header .flex_55{
    flex: 0 0 100%;
  }
  .img_text {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .header_home {
    background: linear-gradient(to right, var(--dark_white) 60%, var(--main) 60%);
  }
  header.sub{
    background: linear-gradient(to right, var(--dark_white) 60%, var(--main) 60%), /* Farbverlauf */
    url('/wp-content/themes/brim-bau/img/bg_square.png'); /* Hintergrundbild */
  }
  .img_text_inner, .header_text {
    width: 80%;
    max-width: 80%;
  }

  .flex_gap_40, .projects{
    justify-content: center;
  }

  .flex_50_gap_40, .card_project{
    flex: 0 0 80%;
  }
  .card_box img {
    height: 280px;
  }

  .bg_verlauf .flex_45, .bg_verlauf .flex_55{
    flex: 0 0 100%;
  }
  .bg_verlauf p{
    width: 60%;
  }
  .jobs {
    padding-left: 0px;
    margin-top: 50px;
  }
  .flex_3{
    flex: 0 0 100%;
  }
  footer .flex{
    gap: 40px;
  }

  .form_control, .dienstleistungen .card_box {
    flex: 0 0 calc(100% - 0px);
  }
}

@media screen and (max-width: 480px) {
  .logo{
    height: 100px;
  }

  .header_home{
    padding-top: 40px;
  }

  header.sub{
    background-size: cover;
    padding: 100px 0px 100px;
  }

  .social_media svg {
    width: 30px;
    height: 30px;
}

  .header_home h1 {
    font-size: 22px;
    line-height: 1.2em;
  }

  .header_home p {
    font-size: 14px;
    line-height: 1.5em;

    margin: 20px 0px 30px;
  }

  .header_text{
    margin-top: -100px;
  }

  .header_home img {
    height: 350px;
}

  .img_text_inner, .header_text {
    width: 90%;
    max-width: 90%;
  }

  .img_text_inner, .header_text{
    padding: 30px;
  }

  .social_media {
    bottom: 20px;
    left: 30px;
    gap: 30px;
  }

  h2 {
    font-size: 30px;
        line-height: 1.2em;
        hyphens: auto;
  }

  .carousel-control-next, .carousel-control-prev {
    bottom: auto;
    top: 80px;
    width: 40px;
    height: 40px;
}

.carousel-control-prev {
  right: calc(10% + 40px);
}

  .card_box img {
    height: 200px;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 1rem;
  height: 1rem;
}

  .flex_50_gap_40, .card_project {
    flex: 0 0 90%;
  }

  .bg_verlauf {
    background: linear-gradient(to right, var(--dark_white) 80%, var(--main) 80%), /* Farbverlauf */ url(/wp-content/themes/brim-bau/img/bg_square.png);
  }

  .bg_verlauf p {
    width: 75%;
  } 

  .footer_bottom .flex {
    justify-content: center;
    gap: 30px;
  }

  .team_text_home{
    margin: -40px auto 0;
    max-width: 90%;
    padding: 20px 40px;
  }
  .rodenstock_box {
    width: 100%;
    height: auto;
    background-color: #1D2B4E;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}
  .flex_boxen_abo .flex {
    align-items: start;
  }
  .align_items_stretch{
    align-items: center;
  }
  .flex_l_1_1, .flex_l_1_2, .flex_l_2_1, .flex_l_2_2{
    flex: 0 0 calc(100% - 0px);
    margin-top: 20px;
  }
  .flex_50_p, .bewertung_wrapper, .white_box_text{
    flex: 0 0 calc(100% - 0px);
  }

  .bewertung_wrapper{
    max-width: unset;
  }

  .mmt_30{
    margin-top: 30px;
  }
  .flex_3 {
    flex: 0 0 calc(100% - 0px);
    margin-bottom: 40px;
  }
  .flex_3:last-child {
    margin-bottom: 0px;
  }
  .footer_top p.min_height {
    min-height: unset;
    margin-bottom: 40px;
  }

  .footer_bottom p{
    margin: 10px 0px;
    text-align: center;
    width: 100%;
  }

  .icon_header{
    bottom: -70px;
  }

  .flex_text, .kompetenz_text {
    flex: 0 0 calc(100% - 0px);
    max-width: unset;
    margin-bottom: 60px;
  }
  .flex_text{
    margin-top: 60px;
    margin-bottom: 0px;
  }
  .flex_img, .kompetenz_img, .sonnenbrillen_flex .flex_img {
    flex: 0 0 100%;
    max-width: unset;
  }

  header.sub h1{
    hyphens: auto;
  }
  .flex_left_right_small, .flex_middle_big{
    flex: 0 0 calc(100% - 25px);
  }
  .flex_middle_big{
    margin: 40px 0px;
  }

  .mmt_80{
    margin-top: 80px;
  }

  .mmt_60{
    margin-top: 60px;
  }

  .flex_reverse .flex_text{
    margin-top: 0px;
  }

  .sonnenbrillen_galerie img, .sonnenbrillen_flex .flex_text, .lesebrillen_galerie img {
    flex: 0 0 calc(100% - 0px);
    width: calc(100% - 0px);
  }

  .post_blog.active:first-of-type{
    flex: 0 0 calc(100% - 0px);
  }
  
  .post_blog{
    flex: 0 0 calc(100% - 0px) !important;
  }

  .white_box .flex{
    justify-content: center;
    gap: 20px;
  }

  .white_box_text{
    text-align: center;
  }

  .flex_team {
    flex: 0 0 100%;
  }
  .filialen_flex img, .filialen_flex iframe {
    height: auto;
    width: 90%;
    margin-bottom: -18px;
  }
  .filialen_text h2{
    font-size: 24px;
  }
  .filialen_text {
    padding: 20px;
    margin-top: 0px;
  }
  .index_kacheln .flex .flex_50_p {
    flex: 0 0 100%;
  }
  .index_kacheln {
    margin-top: 0px;
  }

  .vid_kl{
    height: 198px;
  }
  
  .footer_social{
    flex-wrap: wrap;
  }
  .footer_social h2{
    width: 100%;
  }
  .social_links{
    margin-top: 40px;
  }
  .roden_gross p {
    padding: 50px 20px 100px;
    margin: 0 auto;
  }
  .btn_sparen {
    margin-top: 70px;
    margin-bottom: -30px;
  }
  header.sub h1 {
    font-size: 28px;
  }
}

