/**
 * Minified by jsDelivr using clean-css v4.2.1.
 * Original file: /npm/pushbar.js@1.0.0/src/pushbar.css
 * 
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
 html.pushbar_locked{overflow:hidden;-ms-touch-action:none;touch-action:none}.pushbar_locked .pushbar_main_content.pushbar_blur{filter:blur(15px)}.pushbar_overlay{z-index:-999;position:fixed;width:100%;height:100%;top:0;left:0;will-change:opacity;transition:opacity .5s ease;opacity:0;background:#3c3442}html.pushbar_locked .pushbar_overlay{opacity:.8;z-index:999}[data-pushbar-id]{z-index:1000;position:fixed;overflow-y:auto;will-change:transform;transition:transform .5s ease;background:#fff}[data-pushbar-direction=left][data-pushbar-id],[data-pushbar-direction=right][data-pushbar-id]{top:0;width:256px;max-width:100%;height:100%}[data-pushbar-direction=bottom][data-pushbar-id],[data-pushbar-direction=top][data-pushbar-id]{left:0;width:100%;min-height:150px}[data-pushbar-direction=left][data-pushbar-id]{left:0;transform:translateZ(0) translateX(-100%)}[data-pushbar-direction=right][data-pushbar-id]{right:0;transform:translateZ(0) translateX(100%)}[data-pushbar-direction=top][data-pushbar-id]{top:0;transform:translateZ(0) translateY(-100%)}[data-pushbar-direction=bottom][data-pushbar-id]{bottom:0;transform:translateZ(0) translateY(100%)}[data-pushbar-id].opened{display:block;transform:translateX(0) translateY(0)}
 /*# sourceMappingURL=/sm/5cd953b26aff20d505764731204b656a3a5ccbcafdce0c6481f947a178f01b55.map */



:root {
  /* ------- COLORS ------- */
  /*Primary Color*/
  --primary: #B91814;
  --primaryTransparent: #B91814B3;

  --primaryDark: var(--primary);
  --primaryLight: #B91814;
  --primaryUltraLight:#B91814;
  /*Accent Color*/
  --accent: #B2B2B3;
  --accentLight: #B2B2B3; 
  --accentDark: var(--accent);
  --accentUltraLight:#B2B2B3;

  /*Text Color*/
  --text: #000;
  --link: #000;
  --link-hover: var(--primary);
  --heading: var(--primary);
  --heading-dark: #414142;

  --navHeight:60px;

  --footerBackground: white;
  --navBackground: white;

  --grey-light: #e8e8e8;

  /* ------- SIZES ------- */
  --maxWidth: 1170px;
  --sectionBottomSpace: 100px;
  --headerBottomSpace: 25px;

  --bester-berater-bg: url("../brand/bester-berater-bg.png");
}

::-moz-selection { /* Code for Firefox */
  color: white;
  background: var(--primary);
}

::selection {
color: white;
background: var(--primary);
}

*{
  font-family: "Open Sans";
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphenate-character: '-';
}

html, body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body{
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-areas: 
      "header header header header" 
      "main main main main" 
      "footer footer footer footer";
}
h1, h2, h3, h4, h5, h6{
  color: var(--heading);
  margin: 0px 0px 20px 0px;
  font-family: "Open Sans";
  font-weight: 800;
}
h1 br, h2 br, h3 br, h4 br, h5 br, h6 br{
  margin-bottom: -0.3em;
}

h1{
  /*text-transform: uppercase;*/
  font-size: 3.1rem;

}
h2{
  font-size: 2.1rem;
  margin-bottom: 25px;
  font-weight: 700;
}

h2 + h3 {
  color: var(--text-color);
  font-weight: 100;
  font-style: italic;
  margin-top: -20px;
  font-family: "Open Sans";
}

p{
  margin-top: 0;
  line-height: 1.5em;
  text-align: justify;
  color: var(--text);
}
a{
  text-decoration: underline;
  color: var(--link);
}
a:hover{
  color: var(--link-hover);
}
/*br{
  display: block;
  content: "";
  margin-bottom: 0.5em;
}*/

a.button, 
button, 
*[role="button"],
input[type="submit"]{
  display: block;
  width: fit-content;
  background-color: var(--primary);
  border: solid 2px var(--primary);
  padding: 10px 15px;
  color: white;
  font-weight: 700;
  text-decoration: none;
}
a.button, 
*[role="button"]{
  margin-top: 35px;
}
a.button.light, 
button.light, 
input[type="submit"].light, 
*[role="button"].light{
  background-color: white;
  border: solid 2px white;
  color: var(--primary);
}

a.button.outline, 
button.outline, 
*[role="button"].outline,
input[type="submit"].outline{
  background-color: transparent;
  border: solid 3px var(--primary);
  color: var(--primary);
}
hr{
  border-top: 1px solid var(--primary);
}
.center{
  margin-left: auto;
  margin-right: auto;
}
figure{
  width: 100%;
  margin: 0;
}

a.img{
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

a.img::after{
  content: "";
  display: block;
  padding-bottom: calc(100% / var(--w) * var(--h));
}

a.img img{
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


img{
  width: 100%;
  height: auto;
}
img.circle{
  border-radius: 100%;
}

ul{

}
li{
  line-height: 1.5;
  color: var(--text);
}
table{
  width: 100%;
  border-spacing: 0;
}
table td, 
table th{
  text-align: center;
  padding: 15px 10px;
  background-color: #F8F8F8;
}
table td{
  text-align: center;
  border-bottom: solid 1px darkgray;
}
table th{
  border-bottom: solid 2px darkgray;

}
table tr:last-of-type td{
  border-bottom: none;
}
table tr{
}
/* ------------------- Structure Styling -----------------------*/
/* Site Structure Styling */
header, section, footer{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.light h1, .light h2, .light h3, .light h4, .light h5, .light h6, .light p, .light a{
  color: white;
}
.light a.button{
  background-color: white;
  border: solid 2px white;
  color: var(--primary);
}
header{
  grid-area: "header";
  grid-column: span 4;
  margin-bottom: var(--headerBottomSpace);
  background-color: var(--primary);
}
main{
  grid-area: "main";
  grid-column: span 4;
}
footer{
  grid-area: footer;
  grid-column: span 4;
  padding: 50px 0px;
  background-color: var(--footerBackground);
}

/*------------------- Content Structure Styling ----------------------- */
section{ 
  margin-bottom: var(--sectionBottomSpace);
  padding: 20px 0px;
}
section[class*="background"]{
  padding: 50px 0px;
}
section.background-none{
  padding: 0px;
}

section.overlayed{
  padding-bottom: 200px;
  margin-bottom: 0;
}
section.overlay{
  margin-top: -150px;
}
/* Section Decorations*/
section.decoration-top-right-lines-red-cutted::before{
  content:"";
  background-image: url("../brand/decorations/top-right-lines-red-cutted.svg");
  width: 20%;
  min-width: 150px;
  height: 100px;
  background-repeat: no-repeat;
  margin-left: auto;
}
section.decoration-bottom-left-lines-grey-cutted::after{
  content:"";
  background-image: url("../brand/decorations/bottom-left-lines-grey-cutted.svg");
  width: 20%;
  min-width: 150px;
  height: 100px;
  background-repeat: no-repeat;
}
section.beste-berater::before{
  content:"";
  display: block;
  background-image: var(--bester-berater-bg);
  width: 100%;
  min-width: 150px;
  height: 350px;
  background-repeat: no-repeat;
  background-size: contain;
}
section.beste-berater .grid{
  margin-top: -250px;
}

/* spaces */
.space-none {
  margin-bottom:0;
}
.bottom-space-none{
  margin-bottom: 0;
}
.bottom-space-small{
  margin-bottom: 50px;
}
.bottom-space-large{
  margin-bottom: 100px;
}
.top-space-none{
  margin-top: 0;
}
.top-space-small{
  margin-top: 50px;
}
.top-space-large{
  margin-top: 100px;

}

/*------------------- Nav Component ----------------------- */
nav{ 
  display: flex;
  flex-direction: column;
  position: absolute;
  padding: 5px 0px;
  width: 100%;
  top: 0;
  bottom: 0;
  height: var(--navHeight);
  z-index: 100;
  padding: 0px;
}
nav .diffuser{
  width: 100%;
  height: auto;
  background-color: rgba(255,255,255,0.7);
}
nav a{
  color: var(--primary);
  font-weight: 500;
  padding-bottom: 5px !important;
  padding-top: 5px !important;
  cursor: pointer;
  text-decoration: none;
  line-break: none;
}
nav a.active{
  font-weight: 500;  
}
nav .container{
  height: 100%;
  display: flex;
  flex-direction: row;
}
nav .container ul{
  margin: auto 0px auto auto;
  width: fit-content;
  margin-left: auto !important;
}
nav .container ul li{
  display: inline;
}
nav .container ul li a{
  margin-left: 10px;
}
nav img{
  height: 100%;
  width: auto;
}
nav .hamburger{
  display: none;
  margin-left: auto;
  height: 45px;
  margin-bottom: auto;
  margin-top: auto;
  cursor: pointer;
  /*filter: brightness(calc(1 - var(--visible-y))) invert(var(--visible-y));*/
}
nav.noHero{
  filter: none;
}
nav .hamburger p{
  margin: auto;
}

#mobileNav {
  width: 85%;
  z-index: 1002;
}
#mobileNav .close{
  height: 45px;
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin: auto;
  margin-top: 20px;
  cursor: pointer;
}
#mobileNav .close img {
  width: fit-content;
  width: 35px;
  margin-left: auto;
  margin-right: auto;
}
#mobileNav .close img p{
  text-align: center;
}
#mobileNav ul{
  padding-left: 27px;
}
#mobileNav li{
  color: black;
  padding-top: 10px;
  padding-bottom: 10px;
}
#mobileNav li a {
  text-decoration: none;
  color:black;
  font-weight: 800;
}


/*------------------- Form Component ----------------------- */
form{
  width: 100%;
  display: inline-grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  justify-items: stretch;
}

form input, 
form textarea{
  grid-column: span 12;
  border: solid 2px var(--primary);
  border-radius: 0px;
  padding: 10px 15px;
  background: none;
}
form textarea{
  resize: vertical;
  min-height: 200px;
}

/* ------------------- Grid Component -----------------------*/
.grid{
  display: inline-grid;
  width: 100%;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  justify-items: stretch;
}
[class^="test"] {
  display: flex;
  flex-direction: column;
}
.col-1{
  grid-column: span 1;
}
.col-2{
  grid-column: span 2;
}
.col-3{ 
  grid-column: span 3;
}
.col-4{
  grid-column: span 4;
}
.col-6{
  grid-column: span 6;
}
.col-7{
  grid-column: span 7;
}
.col-8{
  grid-column: span 8;
}
.col-9{
  grid-column: span 9;
}
.col-10{
  grid-column: span 10;
}
.col-11{
  grid-column: span 11;
}
.col-12{
  grid-column: span 12;
}

.container{
  max-width: var(--maxWidth);
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 50px);
  padding: 0 25px;
}
.container.background-grey-light {
  background-color: var(--grey-light);
}
.container.background-grey-light .grid {
  width: calc(100% - 50px);
  padding:25px;
}
.container.no-padding{
  padding: 0;
  width: 100%;
}
.container.space-small {
  margin-bottom: calc(var(--sectionBottomSpace) / 2);
}
/* ------------------- Card -----------------------*/
[class*="col"] .card{
  height: 100%;
}
.card{
  display: flex;
  flex-direction: column;
}
.card .header{
  display: flex;
  flex-direction: column;
}
.card .content{
  margin-top: auto;
}
.card h3{
  font-weight: 700;
}
.card .header p{
  text-align: left;
}
.card .content{
  text-align: justify;
}
/* ------------------- Callout QUOTE -----------------------*/

.callout-quotepicture{
  width: 100%;
  max-width: 200px;
  border-radius: 100%;
  position: relative;
  display: block;
  margin-left: auto;
}
.callout-quotepicture:after{
  display: block;
  padding-bottom: 100%;
  content: "";
}
.callout-quotepicture img, 
.callout-quotepicture source{
  position: absolute;
  object-fit: cover;
  object-position: var(--object-position);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 100%;
}
.callout-quoteblockquote{
  font-size: 2rem;
  color: var(--heading);
  font-weight: 700;
  margin: 0;
  margin-bottom: 15px;
}
.callout-quoteaddress{
  font-weight: 700;
  font-style: normal;
}
.callout-quote.col-8{
  display: flex;
}
.callout-quote.quote-info{
  display: flex;
  flex-direction: row;
}
.callout-quote.callout-content{
  margin-top: auto;
  margin-bottom: auto;
}

.callout-quote.callout-content.with-infos{
  padding-top: 40px;
}

.callout-quote.quote-info picture{
  width: 75px;
  height: 75px;
  margin:auto 25px auto 0px;
}
.callout-quote.quote-info div{
  width: calc(100% - 100px);
}

/* ------------------- Callout TEXT -----------------------*/

.callout-text{
  padding-top: 25px;
  padding-bottom: 25px;
  display: flex;
}
.callout-text blockquote{
  margin: auto;
  max-width: 850px;
}
.callout-text blockquote p{
  text-align: center;
  font-size: 1.7rem;
  color: var(--text);
}

/* ------------------- Collapsible -----------------------*/

.accordion {
  background-color: #f7f7f7;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  display: flex;
}
.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: auto;
}

.accordion .active:after {
content: "\2796"; /* Unicode character for "minus" sign (-) */
}
.accordion p{
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1rem;
}

.accordion:hover {
  border-bottom: solid 3px var(--primary);
}

.accordion-panel {
  padding: 0 18px;
  background-color: #f7f7f7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-panel div{
  padding-top: 18px;
  padding-bottom: 18px;
}

/*--------------------- MEDIA QUERIES ---------------*/
.hide{
  display: none !important;
}
/*------- extra Large Screen -> xl */
@media screen and (min-width: 1024px) { 
  .hide-on-extra-large{
      display: none !important;
  }
  .show-on-extra-large{
      display: block !important;
  }
  .show-on-extra-large-flex{
      display: flex !important;
  }
}
/*------ medium Screen -> md*/
@media screen and (max-width: 768px) {
  .col-1,
  .col-3,
  .col-4,
  .col-6,
  .col-8{
      grid-column: span 6;
  }
  .col-12{
      grid-column: span 12;
  }
  .col-md-1{
      grid-column: span 1;
  }
  .col-md-3{
      grid-column: span 3;
  }
  .col-md-4{
      grid-column: span 4;
  }
  .col-md-6{
      grid-column: span 6;
  }
  .col-md-8{
      grid-column: span 8;
  }
  .col-md-12{
      grid-column: span 12;
  }

  .hide-on-medium{
      display: none !important;
  }
  .show-on-medium{
      display: block !important;
  }
  .show-on-medium-flex{
      display: flex !important;
  }
}
/* ------- Small Screens -> sm */
@media screen and (max-width: 550px) {
  [class^="col"]{
      grid-column: span 12;
  }
  .col-sm-1{
      grid-column: span 1;
  }
  .col-sm-3{
      grid-column: span 3;
  }
  .col-sm-4{
      grid-column: span 4;
  }
  .col-sm-6{
      grid-column: span 6;
  }
  .col-sm-8{
      grid-column: span 8;
  }
  .col-sm-12{
      grid-column: span 12;
  }

  .hide-on-small{
      display: none !important;
  }
  .show-on-small{
      display: block !important;
  }
  .show-on-small-flex{
      display: flex !important;
  }
}



/* -----------------------------------------------------------------------*/
/* -----------------------------------------------------------------------*/
/* ----------------------------- CUSTOM ----------------------------------*/
/* -----------------------------------------------------------------------*/
/* -----------------------------------------------------------------------*/

h1,h2,h3,h4,h5,h6{
  /*text-transform: uppercase; */
}
h2{
  color: var(--heading-dark);
}

h3{
  text-transform: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
}
h3.h3-large {
  font-size:1.25rem;
  font-weight:700;
  color: var(--primary);
}

h1.highlighted,h2.highlighted,h3.highlighted,h4.highlighted,h5.highlighted,h6.highlighted{
  padding-left: 10px;
  padding-right: 10px;
  line-height: 1.5;
  display: inline;
  background-position-y: 100%;
  background-image: linear-gradient(var(--primary) 50%, var(--primary) 50%);
  background-size: 2px;
  background-size: auto 175%;
}

a.button, 
button, 
*[role="button"],
input[type="submit"]{
  display: block;
  width: fit-content;
  background-color: transparent;
  border: none;
  border-bottom: solid 5px var(--primary);
  padding: 10px 5px;
  color: var(--heading-dark);
  text-transform: uppercase;
  font-weight: 600;

}


ul li:before { 
  content: '/'; 
  margin-left: -20px; 
  margin-right: 10px;
  font-weight: 900;
  color: var(--primary); 
} 
ul li{
  list-style-type: none;
  display: block;
}
ul li p{
  margin-bottom: 5px;
}

span.afc-slash{
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2em;
}

table th{
  border-bottom: solid 1px darkgray;
  border-top: solid 3px var(--primary) ;
}

a.button.thin, 
button.thin, 
*[role="button"].thin,
input[type="submit"].thin{
  border-bottom: solid 1px var(--primary);
}

form input, 
form textarea{
  grid-column: span 12;
  border: none;
  background-color: #F8F8F8;
  border-radius: 0px;
  padding: 10px 15px;
}

form input[type="submit"]{
  background-color: var(--primary);
  color: white;
  padding-left: 15px;
  padding-right: 15px;
  border: none;
}

nav{
  min-height: 30px;
  position: fixed;
  background-color: rgba(255,255,255, calc(1 - var(--visible-y)));
  box-shadow: 3px 2px 6px rgba(0,0,0, calc(0.2 - var(--visible-y)));
  padding-bottom: 5px;
}
nav a{
  padding-bottom: 5px;
  transition: all 0.2s ease;
}
nav a.active, 
nav a:hover{
  padding-bottom: 2px;
  color: var(--primary);
}
nav .logo{
  overflow: hidden;
  height: 100%;
  display: block;
  position: relative;
}
nav .logo img.big{
  height: 40px;
  object-fit: cover;
  object-position: top center;
  padding: 5px 0;
}
nav li{
  position: relative;
}
nav li:before{
  content: none;
}
nav li a{
  color: black;
  /*filter: brightness(calc(1 - var(--visible-y))) invert(var(--visible-y));*/
  white-space: nowrap;
}
nav.noHero li a{
  filter: none;
}

nav ul{
  width: calc(100% - 200px);
  padding-left: 20px;
  margin-left: 0px !important;
}
nav ul li .dropdown{
  padding-top: 17px;
  position: absolute;
  left: 0;
  min-width: 270px;
  z-index: 3;
  display: none;
  flex-direction: column;
  --text:black;
}
nav ul li .dropdown a{
  padding:15px 15px !important;
  margin: 0;
  filter: none;
  background-color: white;
  color: black;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
nav ul li .dropdown a:hover{
  background-color: var(--primary);
  color: white;
}


nav ul li:hover .dropdown{
  display: flex;
}

nav.light .logo img.big,
nav.light .logo img.small{
  /*filter: brightness(calc(1 - var(--visible-y))) invert(var(--visible-y));*/
}

nav a.logo:hover, 
nav.light a.logo:hover{
  padding-bottom: 5px !important;
}
header{
  margin-top: 200px;
}
header.hero{
  margin-top: 0;
  height: 90vh;
  /*max-height: 900px;*/
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 500px;
}
header.hero.header--small {
  height:20vh;
}
header.hero .slider{
  height: 100%;
  display: flex;
  position: relative;
}

header.hero .slider .title{
  margin-top: auto;
}

header.hero .slider .hero-slide{
  /*min-height: 600px;*/
  height: 100%;
  width: 100%;
  /*max-height: 900px;*/
  display: flex;
  background-size: cover;
  background-position: center;
  position: absolute;
  opacity: 0;

  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

header.hero .slider .hero-slide.active{
  opacity: 1;
}

header.hero .slider .grid{
  margin-top: auto;
  margin-bottom: 25px;
  z-index: 2;
  height: 100%;
}

header.hero .slider .grid .col-12{
  display: flex;
  flex-direction: column;
}

header.hero .slider .grid h1, 
header.hero .slider .grid p{
  color: white;
}

header.hero .slider .grid .title.dark h1, 
header.hero .slider .grid .title.dark p{
  color: var(--primary);
}

header.hero h1{
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 0px;
}
header.hero p{
  padding-bottom: 25px;
  font-size: 1.6rem; 
}
header.hero .title{
  padding-bottom: 25px;
}

header.hero.small{
  min-height: 0;
  height: auto;
  background-color: transparent !important;
  margin-top: 250px;
}
header.hero.home h1{
  margin-bottom: 25px;
}

header.hero.image .grid::after{
  content: "";
  background-image: url("../brand/decorations/image-overlay.svg");
  width: 20%;
  min-width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  margin-left: auto;
  position: absolute;
  right: 0;
  bottom: 0;
  margin-right: 50px;
  margin-bottom: -80px;
}

header.hero.image{
  margin-bottom: 100px;
}

.gallery {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.gallery picture {
  width: calc(50% - 20px);
  margin: 10px;
  display: block;
  position: relative;
}

footer{
  padding-bottom: 0;
  --text: var(--primary);
  --heading: var(--primary);
  position: relative;
}
footer .container{
  margin-top: 50px;
  margin-bottom: 120px;
}
footer .legal{
  margin-top: 20px;
  margin-bottom: 10px;
}

footer .time-for-a-change {
  position: absolute;
  bottom: 0;
  height: 90px;
  width: auto;
}

footer .ecke{
  width: 100%;
  max-width: 300px;
  background-color: var(--primary);
  height: 300px;
  -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  position: absolute;
  bottom: 0;
  right: 0;
}

footer .ecke img{
  height: 100%;
  object-fit: cover;
}

footer h3{
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 700;
}

footer h4{
  margin-bottom: 10px;
  font-family: "Montserrat";
}
footer hr{
  margin-top: 20px;
  margin-bottom: 20px;
}


footer div{
  color: var(--text);
}

footer .grid{
  gap: 100px;
}

footer .sub{
  color: white;
  --text: white;
  background-color: var(--primary);
  padding-top: 25px;
  padding-bottom: 10px;
  margin-top: 25px;
  display: flex;
}

footer .sub .grid{
  margin: auto;
}

footer .sub p{
  text-align: center;
}

footer .small-logo{
  width: 100%;
  display: flex;
}

footer .small-logo img{
  width: 75%;
  max-width: 250px;
  margin: auto;
}

footer .offset-logo{
  position: absolute;
  margin-top: auto;
  margin-bottom: auto;
  width: 200px;
  margin-left: -300px;
  display: none;
}

.nummer-banner{
  width: 100%;
  display: flex;
  padding:150px 0px;
  background-image: url("../brand/dot-pattern.png");
  background-size: 10px;
}

.nummer-banner .container{
  display: grid;
  grid-template-areas: 
    "top1 top2  top3  top4"
    "num1 num2  num3  num4"
    "sub1 sub2  sub3  sub4";
  grid-template-columns: repeat(4, 1fr);
}
.nummer-banner .item{
  display: flex;
  flex-direction: column;
  grid-area: var(--area);
}
.nummer-banner .item.center{
  margin-top: 20px;
  margin-bottom: 20px;
}
.nummer-banner .item a{
  display: contents;
}
.nummer-banner .item .figure{
  width: 100%;
  text-align: center;
  font-size: 3.5rem;
  letter-spacing: 7px;
  color: var(--primary);
  font-family: "Open Sans";
}
.nummer-banner .item p{
  width: 100%;
  text-align: center;
  color: var(--primary);
  margin-top: 15px;
  font-weight: 600;
  font-size: 1.2rem;
}
.nummer-banner .item.top p{
  margin-top: auto;
  margin-bottom: 0;
}
.nummer-banner .item.bottom p{
  margin-top: 0;
}
.nummer-banner .item img{
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 25px;
}


main.post{
  --maxWidth:725px; 
}
main.post header{
  margin-top:200px;
  background: none;
}
main.post h1{
  color: black;
  text-transform: none;
  font-size: 2.2rem;
}

main.post .kalender-termin.header{
  transform: scale(1.7);
  margin: auto;
  margin-bottom: 50px;
  width: fit-content;
}

.blog-post.large{
  display: grid;
  grid-template-columns: minmax(100px, 300px) 1fr;
  gap: 20px;
  margin:20px 0px;
  height: 200px;
  align-items: stretch;
}
.blog-post.large a{
  display: contents;
}

.blog-post h2{
  text-transform: none;
  font-size: 1.5rem;
}
.blog-post .content{
  display: flex;
  flex-direction: column;
}
.blog-post .header div{
  margin-bottom: 10px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.8em;
}

.blog-post .content a{
  margin-top: auto;
  margin-bottom: 25px;
  display: block;
}

.blog-post .content div span{
  color: black;
}


.blog-post.large img{
  object-fit: cover;
  height: 100%;
  width: 100%;
}
 
.blog-post h2, 
.blog-post p, 
.blog-post a{
  margin-bottom: 10px;
}

.blog-post.text h2, 
.blog-post.text p, 
.blog-post.text a{
  margin-bottom: 10px;

}

.blog-post.card img{
  height: 230px;
  object-fit: cover;
}


.categories.list li{
  display: flex;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: solid 1px var(--accent);
  font-weight: 600;
}
.categories.list li span{
  margin-left: auto;
}

.blog-sidebar form.search{
  margin-bottom: 25px;
}

.news.highlight{
  gap: 50px;
}

.kalender-termin.card{
  display: flex;
  flex-direction: column;
  height: 100%;
}



.kalender-termin .date{
  display: flex;
  font-size: 1.8rem;
  font-weight: 800;
}
.kalender-termin .date .day, 
.kalender-termin .date .month{
  margin: auto 0 ;
  font-weight: 700;
}
.kalender-termin .date .day {
  font-size: 4rem;
}
.kalender-termin .date .month{
  line-height: 1.1;
  color: var(--text);
}
.kalender-termin .date span{
  margin-left: 20px;
  margin-right: 20px;
  color: var(--primary);
  font-size: 5rem;
}

.grid.jobs,
.grid.news,
.grid.termin{
  gap: 60px 20px;
}
.stellenanzeige .infos {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.stellenanzeige h3{
  margin-bottom: 5px;
}

.stellenanzeige .infos .raum{
  background-color: #E7E6E5;
  border-radius: 100px;
  padding:5px 15px 5px 15px;
  display: flex;
  margin-right: 10px;
  margin: auto;
  width: fit-content;
}
.stellenanzeige .infos .ref{
  margin: auto;
  margin-bottom: 5px;
}
.stellenanzeige .infos .raum::before{
  content: '';
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url("../brand/icons/location-pin.svg");
  background-size: contain;
}

.stellenanzeige h3{
  text-align: center;
}
.stellenanzeige h3 span{
  font-weight: 300;
  font-style: italic;
  font-size: 0.8em;
}
.stellenanzeige .header p{
  text-align: center;
}

.stellenanzeige .content a{
  margin-left: auto;
  margin-right: auto;
}

main.stellenanzeige header{
  margin-top:200px;
  background: none;
}
main.stellenanzeige h1{
  color: black;
  text-transform: none;
}

main.stellenanzeige .infos .raum,
main.stellenanzeige .infos .ref{
  margin-left: 0;
}

main.stellenanzeige .actions{
  display: flex;
}
main.stellenanzeige .actions a{
  margin-right: 15px;
}



.collapsible-gesellschaft {
  color: black;
  cursor: pointer;
  padding-top: 12px;
  padding-bottom: 12px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
}

.collapsible-gesellschaft .top{
  display: flex;
}
.collapsible-gesellschaft .top img{
  width: 40px;
  height: 40px;
}
.collapsible-gesellschaft .top h3{
  color: black;
  margin-left: 15px;
  font-size: 1.3rem;
}

.collapsible-gesellschaft .content{
  display: flex;
  position: relative;
  max-height: 0px;
  height: auto;
  -webkit-transition: all 2s ease-in-out;
  -moz-transition: all 2s ease-in-out;
  -o-transition: all 2s ease-in-out;
  transition: all 2s ease-in-out;
}
.collapsible-gesellschaft .content .text{
    height: auto;
    overflow: hidden;
}
.collapsible-gesellschaft .content .image{
  width: 300px;
  background-color: var(--primary);
  height: calc(100% + 60px);
  margin-top: -60px;
  position: absolute;
  display: block;
  margin-left: calc(100% - 300px);
  opacity: 0.5;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.collapsible-gesellschaft .content .image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collapsible-gesellschaft:hover .content .image{
  opacity: 1;
}
.collapsible-gesellschaft:hover .content {
  max-height: 1000px;

}

.image-slider{
  width: 100%;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.image-slider img{
  
  object-fit: cover;
}
.gallery picture::after {
  display: block;
  content: '';
  /* 16:9 aspect ratio */
  padding-bottom: 100%;
}

.gallery picture img, .gallery picture source {
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.ansprechpartner {
  display: flex;
}
.ansprechpartner h3{
  margin-bottom: 0px;
  text-align: left;
}

.ansprechpartner .image {
  width: 150px;
  /*height: 150px;*/
  overflow: hidden;
  border-radius: 100%;
  position: relative;
}
.ansprechpartner .image img {
  position: absolute;
  left: 0px;
  top: 0px;
}

.ansprechpartner .image:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.ansprechpartner .image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.ansprechpartner .content {
  height: fit-content;
  margin: auto;
  margin-left: 25px;
  width: calc(100% - 150px);
}

@media screen and (max-width: 768px) {
  .collapsible-gesellschaft .content .image{
    display: none;
  }
  nav ul{
    display: none;
  }
  nav .hamburger{
    display: flex;
  }
  header.hero.image .grid::after{
    display: none;
  }
  .nummer-banner .container{
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
      "top1 top2"
      "num1 num2"
      "sub1 sub2"
      "top3 top4"
      "num3 num4"
      "sub3 sub4";
  }

  .bereich{
    height: auto !important;
  }
  .blog-collection, 
  .blog-sidebar {
    grid-column: span 12;
  }
}

@media (max-width: 750px) {

  main.post .kalender-termin.header{
    transform: scale(1.3);
  }
header.hero h1, 
h1{
  font-size: 2.5rem;
}
}

@media screen and (max-width: 600px) {

  main.post .kalender-termin.header{
    transform: scale(1) !important;
  }

  .gallery picture {
    width: calc(25% - 20px);
  }

  .time-for-a-change{
    width: calc(100% - 250px) !important;
    object-fit: contain;
  }
  footer .ecke{
    max-width: 150px;
    max-height: 150px;
  }
  footer p{
    font-size: 0.9rem;
  }

  nav .hamburger{
    filter: none;
  }
  .nummer-banner .container{
  grid-template-columns: repeat(1, 1fr);
    grid-template-areas: 
      "top1"
      "num1"
      "sub1"
      "top2"
      "num2"
      "sub2"
      "top3"
      "num3"
      "sub3"
      "top4"
      "num4"
      "sub4";
    }
}

@media (min-width: 1870px) {
  footer .offset-logo{
    display: flex;
  }
  footer .small-logo img{
    display: none;
  }
}



nav{
  z-index: 1001;
}

#arbeitsbereiche-submenu{
  min-height: 250px;
  padding-top: 100px;
  display: flex;
}
#arbeitsbereiche-submenu ul{
  padding-left: 22px;
}
#arbeitsbereiche-submenu ul a{
  text-decoration: none;
}
#arbeitsbereiche-submenu .grid{
  min-height: 200px;
  padding-bottom: 15px;
}
#arbeitsbereiche-submenu .col-3{
  display: flex;
  flex-direction: column;
}
.bereich{
  padding-right: 10px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
#arbeitsbereiche-submenu .bereich {
  border-right: solid 1px black;
}

#mobileNav .bereich .head h3, 
#arbeitsbereiche-submenu .bereich .head h3{
  margin-bottom: 0px;
}
#arbeitsbereiche-submenu a img {
  max-width:50px;
}

#mobileNav .bereich .head img{
  width: 41px;
  height: auto;
}
#mobileNav .bereich {
  margin-bottom: 25px;
}

.bereich .head{
  display: flex;
  flex-direction: row;
}
.bereich .head a {
  display: contents;
}
.bereich .head img{
  width: auto;
  height: 41px;
  margin-right: 20px;
  margin-top: auto;
  margin-bottom: auto;
}
.bereich .head h3{
  color: black;
  font-size: 0.9rem;
  margin-top: auto;
  margin-bottom: auto !important;
}

#arbeitsbereiche-submenu .col-3:last-of-type .bereich{
  border-right: none;
}
#arbeitsbereiche-submenu.opened + nav{
  box-shadow: none;
  background-color: white;
}
#arbeitsbereiche-submenu.opened + nav a{
  color: black !important;
  filter: none;
}

.some-share {
  display: flex;
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
}
.some-share.right a:first-child{
  margin-left: auto;
}
.some-share a{
  margin-right: 10px;
}
.some-share a:last-of-type{
  margin-right: 0px;
}
.some-share a img{
  height: 40px;
}


#arbeitsbereiche-submenu .grid{
  grid-template-columns: repeat(3, 1fr);
}

/* Custom Stylings */
.image-text img, .text-image img {
  max-width:90%;
}
.text-image img {
  float:right;
}
.ansprechpartner .content p {
  text-align:left;
}
#page-qal h1 {
  color: var(--primary);
}
#page-leistungen #erfassen-pruefen-empfehlen .grid .col-4 {
  background-color: var(--grey-light);
  padding:25px;
}
#page-leistungen #erfassen-pruefen-empfehlen .grid .col-4 p {
  text-align:left;
}
#page-leistungen #partner .grid {
  padding-top:0;
}
#page-leistungen #partner .grid .col-6:last-child {
  padding-top:4.35rem;
}
@media screen and (max-width: 550px) {
  #page-leistungen #partner .grid .col-6:last-child {
    padding-top:0;
  }
}
@media screen and (max-width: 768px) {
  #page-leistungen #erfassen-pruefen-empfehlen .grid .col-4 {
    grid-column: span 12;
  }