@charset "UTF-8";
/*
Description: Theme fuer Ritter Classics - HTML5, CSS3
Author: Ralph Segert
Date: 10/2024
Author URI: https://segert.net
*/
@font-face {
  font-family: 'Poppins Regular';
  font-style: normal;
  font-weight: normal;
  src: local("Poppins Regular"), url("https://www.ritter-classics.de/font/poppins/Poppins-Regular.woff") format("woff"); }

@font-face {
  font-family: 'Poppins ExtraLight';
  font-style: normal;
  font-weight: normal;
  src: local("Poppins ExtraLight"), url("https://www.ritter-classics.de/font/poppins/Poppins-ExtraLight.woff") format("woff"); }

@font-face {
  font-family: 'Poppins Medium';
  font-style: normal;
  font-weight: normal;
  src: local("Poppins Medium"), url("https://www.ritter-classics.de/font/poppins/Poppins-Medium.woff") format("woff"); }

@font-face {
  font-family: 'Poppins Bold';
  font-style: normal;
  font-weight: normal;
  src: local("Poppins Bold"), url("https://www.ritter-classics.de/font/poppins/Poppins-Bold.woff") format("woff"); }

* {
  margin: 0;
  padding: 0; 
}

html {
  box-sizing: border-box; }

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

body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  font-family: "Poppins ExtraLight", Verdana, serif;
  justify-content: center;
  background: #107A9D;
  color: #fff;
  font-size: 100%; }

a:focus {
  outline: none; }

img, fieldset {
  border: 0; }

img {
  vertical-align: middle; }

a {
  border: 0;
  text-decoration: none; }

.clearfix::after {
  content: " ";
  display: block;
  clear: both; }

strong {
  font-family: "Poppins Medium", Verdana, serif; }

/* LINKFARBEN: Navigationselemente 
################################## */
a {
  transition: 200ms; }

p a {
  font-family: "Poppins Medium", Verdana, serif;
  border-bottom: 1px solid #999; }
  p a {
    color: #EDE9DE; }
  p a:visited {
    color: #EDE9DE; }
  p a:hover {
    color: #fff; 
    border-bottom: 0;
  }
  
  p a:focus {
    color: #fff; }

.contentflex p a,
.contentflex ul a,
.boxworkshops ul a,
h3 a {
  font-family: "Poppins Medium", Verdana, serif;
  border-bottom: 1px solid #fff; 
  color: #EDE9DE; 
}

.btn a, btn a:visited {
  color: #fff;
}
  
  .contentflex p a:visited,
  .contentflex ul a:visited,
  .boxworkshops ul a:visited,
  h3 a:visited {
    color: #EDE9DE; 
  }
    
  .contentflex p a:hover,
  .contentflex ul a:hover,
  .boxworkshops ul a:hover,
  h3 a:hover {
    color: #fff; 
    border-bottom: 1px dotted #fff;
  }
    
  .contentflex p a:focus,
  .contentflex ul a:focus,
  h3 a:focus {
    color: #EDE9DE; }

.parent a {
  color: #fff; }
  
.backbutton a, .backbutton a:visited {
  color: #fff; }

.parent a:visited {
  color: #fff; }

.parent a:hover {
  color: #fff; }

.parent a:focus {
  color: #fff; }

h2 a {
  color: #fff; }

h2 a:visited {
  color: #fff; }

h2 a:hover {
  color: #fff; }

h2 a:focus {
  color: #fff; }

.ulheight a {
  color: #000; }

.ulheight a:hover {
  color: #999;
  background-color: #000; }

.ulheight a.aktiv {
  color: #666;
  background-color: transparent; }

.footer a {
  color: #fff; }

.footer a:visited {
  color: #fff; }

.footer a:hover {
  color: #EDE9DE; }

.footer a:focus {
  color: #fff; }



.no-scroll {
      position: fixed;
      width: 100%;
      overflow: hidden;
  }
  
  
/*  IMG und Grafik 
################## */

.header .logo img {
  width: 56%;
  max-width: 300px;
  margin-top: 0;
  height: auto;
  transition: .3s; }

.header-white .logo img {
  width: 50%;
  height: auto;
  transition: .3s; }

@media only screen and (min-width: 130em) {
  .logo {
    width: 30%;
    padding: 1% 0 1% 4%; }
  .logo img {
    width: 40%;
    height: auto; } 
  }

.sprachwahl img {
  width: 34%;
  height: auto;
  min-width: 40px;
  min-height: 24px;
  max-width: 40px;
  max-height: 24px; }

.gridbox1 img {
  width: 55%;
  height: auto; }

.contentflex img {
  width: 99.9%;
  height: auto; 
  border: 12px solid #EDE9DE;
}




/* Resets*/

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
  background:0 0;
  color:inherit;
  border:none;
  padding:0!important;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
  background:0 0;
  color: #fff;
  width: 30px;
  font-size: 2em;
  border:none;
  padding:0!important;
}

#fp-nav ul li .fp-tooltip {
color: #ccc;
}

/* Header 
######### */

.header {
  position: absolute;
  position: fixed;
  width: 100%;
  background: transparent;
  z-index: 222; }

.header-white {
  background: rgba(16, 122, 157, .9);
  transition-property: background;
  transition-duration: .8s; 
}

.header-profil {
    position: fixed; /* Fixiert den Header oben im Viewport */
    top: 0;
    left: 0;
    width: 100%; /* Nimmt die gesamte Breite ein */
    z-index: 1000; /* Stellt sicher, dass der Header über anderen Elementen liegt */
}


.headernav {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 80px;
  height: auto;
  max-height: 100px; }

.logo {
  width: 28%;
  padding: 2% 0 2% 4%; }

.menu {
  display: flex;
  width: 70%;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0); 
}

.menu ul {
  display: flex; }


/* Resets Stellar Nav
  ##################### */
  
  
  .stellarnav {
    z-index: 999;
  }
  
.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul {
    max-width: 300px; 
    z-index: 999;
  }
  
  

.stellarnav .menu-toggle span.bars span { /* Hamburger */
      display: block; 
      width: 60px; 
      height: 4px; 
      border-radius: 0; 
      background: #fff; 
      margin: 0 0 6px; 
      transition: .3s;
  }
  
.stellarnav .menu-toggle:hover span.bars span { 
      width: 45px; 
      border-radius: 3px; 
      background: #EDE9DE; 
  }
  
  .stellarnav.mobile > ul > li > a {
    padding: 12px 10px 12px 25px;
    font-size: .9rem;
  }
  
  
/* Gridbox Startseite
  ##################### */

.parent {
  display: grid;
  width: 122%;
  margin-left: -11%;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50% 50%;
  grid-column-gap: 1px;
  grid-row-gap: 1px;
  align-items: center;
  height: 100vh;
  justify-items: center;
  align-items: center;
 }

.gridbox1 {
  grid-area: 1 / 1 / 2 / 2;
  justify-self: stretch;
  align-self: stretch; }

.gridbox2 {
  grid-area: 1 / 2 / 2 / 3;
  justify-self: stretch;
  align-self: stretch;
  margin-left: -1px; }

.gridbox3 {
  grid-area: 2 / 1 / 3 / 2;
  justify-self: stretch;
  align-self: stretch;
  margin-right: -1px;
  margin-top: -2px; }

.gridbox4 {
  grid-area: 2 / 2 / 3 / 3;
  justify-self: stretch;
  align-self: stretch;
  margin-top: -1px;
  margin-left: -1px; }

.gridbox1, .gridbox2, .gridbox3, .gridbox4 {
  opacity: .9; }

/* Sectionen mit und ohne BG-Bild */
.section {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding-left: 9%;
  padding-right: 9%; }

.section2 {
  padding-left: 3%;
  padding-right: 3%; }

#section0 {
  background-image: url("https://www.ritter-classics.de/images/bg-start.webp");
  background-size: cover;
  background-position: 20% center; }


#section1 {
  /* background-image: url("https://www.ritter-classics.de/images/bg-team.webp");
  background-size: cover;
  background-position: 20% center; */
  background: #107A9D;
}


#section2 {
background-image: url("https://www.ritter-classics.de/images/bg-start6.webp");
background-size: cover;
background-position: 20% center;
padding: 0 12%; }

#section3 {
background-image: url("https://www.ritter-classics.de/images/bg-start8.webp");
background-size: cover;
background-position: 20% center;
padding: 0 12%; }


#section4 {
  background-image: url("https://www.ritter-classics.de/images/bg-start9.webp");
  background-size: cover;
  background-position: 20% center;
  padding: 0 12%; }

#section5 {
  background-image: url("https://www.ritter-classics.de/images/bg-start7.webp");
  background-size: cover;
  background-position: 20% center;
  padding: 0 12%; }
  
#section5b {
  background-image: url("https://www.ritter-classics.de/images/bg-start7.webp");
  background-size: cover;
  background-position: 20% center;
  padding: 0 12%; }

#section6 {
    background-image: url("https://www.ritter-classics.de/images/bg-team.webp");
  background-size: cover;
  background-position: 90% center;
  padding: 0 0%; }

#section6b {
    background-image: url("https://www.ritter-classics.de/images/bg-team.webp");
  background-size: cover;
  background-position: 100% center;
  padding: 0 0%; }
  
#section7 {
    background-image: url("https://www.ritter-classics.de/images/bg-kontakt.webp");
  background-size: cover;
  background-position: 20% center;
  padding: 0 12%; }

.sprachwahl {
  width: 10%;
  text-align: left;
  padding-right: 5%; }

/* Flexbox Startseite 
##################### */
/* Thema 1 - Startseite */

.flexbox1 {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  transition: .3s;
  justify-content: center;
  padding-left: 15%;
  border-bottom: 1px solid #fff; }

.gridbox1 .flexbox1hover {
  float: left;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 14%;
  opacity: 0;
  margin-bottom: -50vh; }

.gridbox1:hover .flexbox1hover {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 14%;
  padding-top: 7%;
  opacity: 1;
  transition: .6s;
  border-bottom: 1px solid #fff; }

.gridbox1:hover .flexbox1 {
  display: none; }

/* Thema 2 - Startseite */
.flexbox2 {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  transition: .3s;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff; }

.gridbox2:hover {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 30%;
  transition: .8s;
  opacity: 1; }

.gridbox2 .flexbox2hover {
  /* 2 Box */
  float: right;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  transition: .6;
  opacity: .3;
  border-bottom: 0;
  margin-right: -1500px; }

.gridbox2:hover .flexbox2hover {
  /* Boxeinblendung */
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  transition: .6s;
  opacity: 1;
  margin-right: 0; }

.gridbox2:hover .flexbox2 {
  display: none; }

/* Thema 3 - Startseite */
.flexbox4 {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  border-left: 1px solid #fff; }

.gridbox4:hover {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 30%;
  transition: .8s;
  opacity: 1; }

.gridbox4 .flexbox4hover {
  float: right;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  transition: .6s;
  opacity: .3;
  border-bottom: 0;
  margin-right: -1500px; }

.gridbox4:hover .flexbox4hover {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  opacity: 1;
  margin-right: 0; }

.gridbox4:hover .flexbox4 {
  display: none; }

/* Thema 4 - Startseite */
.flexbox3 {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%; }

.gridbox3:hover {
 /* background-image: url("https://www.ritter-classics.de/images/motiv-profilneurose.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 30%;
  transition: .8s;
  opacity: 1; }

.gridbox3 .flexbox3hover {
  float: left;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  transition: .6s;
  opacity: .3;
  border-bottom: 0;
  margin-left: -1500px; }

.gridbox3:hover .flexbox3hover {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 50vh;
  justify-content: center;
  padding-left: 15%;
  opacity: 1;
  margin-left: 0; }

.gridbox3:hover .flexbox3 {
  display: none; }

/* Flexbox - Themenseiten */
.contentbox {
  margin-left: 8%;
  margin-right: 7%;
  padding: 5%;
  color: #000;
 background: rgba(16, 122, 157, .7);
}

.contentflex {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  justify-content: center;
  margin-right: 0;

  width: 100%; }

.contentflex > div:nth-child(1) {
  width: 45%; }

.contentflex > div:nth-child(2) {
  width: 55%; }

.module {
  padding-left: 4%; }
  
  
  


  
  

/* TYPOGRAFIE 
############# */


.parent h1 {
  font-family: "Poppins Bold", Verdana, serif;
  font-size: 3.2em;
  padding-top: 12%;
  letter-spacing: 2px;
  color: #fff;
  text-align: left; }

.parent h2 {
  font-family: "Poppins ExtraLight", Verdana, serif;
  font-size: 1.9em;
  color: #fff;
  text-align: left;
  letter-spacing: 1px; }

.section .infotour {
  font-family: "Poppins Regular", Verdana, serif;
  font-size: .9em;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: .2s; }

/*
.section .infotour::after {
    content: "→";
    padding-left: 2px;
    transition: .3s;
}


.section .infotour:hover::after {
    content: "↓";
    transition: .3s;
}

*/
.parent .gridbox2 h2,
.parent .gridbox3 h2,
.parent .gridbox4 h2 {
  padding: 2% 4%;
  font-size: 1.2em;
  background: rgba(255, 255, 255, 0.45); }

.parent .gridbox1 .flexbox1hover h2 {
  padding: 0% 10% 2% 2.8%;
  background: rgba(0, 0, 0, 0); }

.parent .gridbox2 .flexbox2hover h2 {
  padding: 2% 4%;
  background: rgba(0, 0, 0, 0.8); }

.parent .gridbox4 .flexbox4hover h2 {
  padding: 2% 4%;
  background: rgba(0, 0, 0, 0.8); }

.parent .gridbox3 .flexbox3hover h2 {
  padding: 2% 4%;
  background: rgba(0, 0, 0, 0.8); }


  
.parent h3 {
  font-family: "Poppins Medium", Verdana, serif;
  font-size: 2em;
  letter-spacing: 1px;
  color: #fff;

  text-align: left;
  margin-bottom: 1px; }

.parent .gridbox2 h3 {
  margin-top: 12%;
  padding: 2% 4%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14); }

.parent .gridbox2 .flexbox2hover h3 {
  margin-top: 16%;
  padding: 2% 4%;
  background: rgba(0, 0, 0, 0.5);
  margin-bottom: 1px; }

.parent .gridbox4 .flexbox4hover h3 {
  background: rgba(0, 0, 0, 0.5);
  margin-bottom: 1px; }

.parent .gridbox3 .flexbox3hover h3 {
  background: rgba(0, 0, 0, 0.5);
  margin-bottom: 1px; }

.parent .gridbox3 h3,
.parent .gridbox4 h3 {
  margin-top: -3%;
  padding: 2% 4%;
  background: rgba(255, 255, 255, 0.14); }

.parent .flexbox2 h3,
.parent .flexbox3 h3,
.parent .flexbox4 h3 {
  font-size: 2.5em;
  }

.moremobil {
  display: none; }


.h3projekt {
  margin-block-start: 4%;
}

/* Slider plus Team*/


.contentteam {
    display: flex;
    width: 100%;
    flex-direction: column; /* Elemente untereinander anordnen */
    align-items: center; /* Horizontal zentrieren */
    margin: 0 auto;

}


.teambox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block-end: 4%;
    margin-block-start: 15%;
} 

.projektbox {
    margin-block-end: 1%;
    margin-block-start: 1%;
} 

.resonanzbox {
    margin-block-end: 1%;
    margin-block-start: 20%;
} 
  
.slider-container {
      display: flex;
      flex-direction: column;
        width: 70%; 
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-block-end: 5%;
    }
   
.slider {
      display: flex;
        width: 100%;
        text-align: center;
        margin-block-start: 4%;
    }
    
.item img {
      width: 100%;
      height: auto; 
      border: 12px solid #fff;
    }
    
.text-box {
     display: flex;
     justify-content: flex-start;
     width: 100%;
     margin: 0;
   }
   
   
 


/* Typografie Themenbereiche */

.contentflex .slider-container h3 {
  display: flex;
  justify-content: center;
    font-family: "Poppins ExtraLight", Verdana, serif;
    font-weight: normal;
    font-size: 2em;
    color: #EDE9DE;
    letter-spacing: 1px;
    line-height: 1.7em;
    padding: 3% 0 3% 2%;
}

.contentteam .slider-container h3 {
  display: flex;
  justify-content: center;
    font-family: "Poppins ExtraLight", Verdana, serif;
    font-weight: normal;
    font-size: 2em;
    color: #EDE9DE;
    letter-spacing: 1px;
    line-height: 1.7em;
    padding: 2% 0 2% 0;
}

.contentflex .slider-container p {
  font-family: "Poppins ExtraLight", Verdana, serif;
  font-weight: normal;
  font-size: 1em;
  justify-content: center;
  margin-block-start: 6px;
  text-align: center;
  line-height: 1.7em;

  padding: 0;
}

.content h2,
.slide h2,
.contentflex h2 {
  font-family: "Poppins Medium", Verdana, serif;
  font-size: 2.1em;
  text-align: center;
  color: #fff;
  margin-bottom: 1px; 
}

.contentflex h2 {
  font-size: 2em;
  text-align: left;
  color: #fff;
  margin-bottom: 1px;
}

.contentflex h3 {
  font-family: "Poppins Extralight", Verdana, serif;
  font-size: 1.4em;
  text-align: left;
  color: #EDE9DE;
  margin-bottom: 1px;
}

.contentflex .h3module {
  padding-bottom: 1%; }

.content p,
.slide p,
.contentflex p {
  font-family: "Poppins ExtraLight", Verdana, serif;
  font-size: 1em;
  line-height: 1.9em;
  letter-spacing: 1px;
  color: #fff;
  text-align: left;
  padding: 2% 10% 1% 0; 
}

.contentflex p {
  font-size: 1em;
  color: #EDE9DE;
  letter-spacing: 0;
  padding: 0 10% 3% 0; 
}


.contentflex p:first-of-type {
  padding-top: 2%; }

.content ul,
.slide ul,
.contentflex ul {
  list-style-type: square;
  font-family: "Poppins ExtraLight", Verdana, serif;
  font-size: 1em;
  line-height: 1.6em;
  letter-spacing: 1px;
  color: #EDE9DE;
  text-align: left;
  margin-bottom: 0;
  padding: 1% 4% 0 4%; 
}

.konzepttext ul {
  list-style-type: square;
  letter-spacing: 0;
  color: #EDE9DE;
  margin-left: 3%;
}

.content .slick-dots {
  text-align: center;
}

#section1 .weiter {
  text-align: center;
  padding-bottom: 4%; }

#section1 .weiter a {
  border-bottom: 0; }
  
  
  

.modalteaminhalt h2 {
    color: #fff;
    font-size: 2em;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: -18px;
    text-align: left; 
  }

.konzeptinhalt h2 {
    color: #fff;
    font-size: 1.6em;
    letter-spacing: 2px;
    text-transform: none;
    margin-bottom: 1%;
  }    

.boxworkshops h2 {
  text-align: left; 
}
  
  .modalteaminhalt .subtitle {
    color: #EDE9DE;
    font-size: 1.4em;
    text-transform: uppercase;
    margin-bottom: 2%; }

  .teambox .subtitle {
    margin-top: 2%; }
    
      
  .modalteaminhalt p {
    font-size: 1.1em;
    color: #fff;
    padding-right: 7%;
    line-height: 1.6em; 
  }

  .konzeptinhalt p {
    font-size: 1.1rem;
    color: #fff;
    padding-right: 6%;
    padding-bottom: 1%;
    letter-spacing: 0;
    line-height: 1.7em; 
  }  
  
  
  .contentboxkontakt p {
    text-align: left; }
  
  .contentboxteam p {
    margin-bottom: 3%;
    font-size: 1.6em;
    line-height: 1.2em; }
  
      
  .teamsubtext p {
    margin: 0 15% 0 15%;
    text-align: center;
    font-size: 1.6em;
    line-height: 1.4em; }
    
    
  .teamsubtext p:first-of-type {
      margin-top: 2%;
    }
    

.resonanzbox p {
      padding-right: 0;
      padding-left: 2%;
      font-size: 1.6rem;
    }
    
.boxworkshops h3 {
      font-family: "Poppins Medium", Verdana, serif;
      color: #fff;
      font-size: 1.7em;
      text-align: left; 
      margin-block-end: .6rem;
    }
    
.boxworkshops h4 {
      font-family: "Poppins Medium", Verdana, serif;
      color: #fff;
      font-size: 1.6em;
      text-align: left; 
      margin-block-start: 3rem;
      margin-block-end: .6rem;
    }

.boxworkshops p {
      line-height: 2.1rem;
      font-size: 1.2rem;
      padding: 1rem 0 .2rem 0;
      margin: 0;
    }

.boxworkshops ul {
      line-height: 2.1rem;
      font-size: 1.2rem;
      padding: 1rem 0 .2rem 2rem;
      margin: 0;
    }

.boxworkshops li {
  padding-bottom: 0.8rem;
}
    
.boxworkshops .datum {
  font-size: 1.3rem;
  padding-bottom: 1.1rem;
}

/* Workshops */
    
.boxworkshops {
      margin: 0 auto;
      width: 100%; 
      max-width: 1280px;
      text-align: left;
      padding: 0 2rem 0 3.4rem;
    }

  .layoutsub {
    width: 100%;
    margin-block-start: 5rem;
    display: grid;
    grid:
      "left-col right-col" 1fr
      / 30% 70%;
  }
  
  .left-col {
    grid-area: left-col;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding: .2rem 2rem 0 0;
  }
  
  .right-col {
    grid-area: right-col; 
    display: flex;
    flex-direction: column;

  }

    
.boxworkshops img {
      width: 100%;
      height: auto;
      border: 4px solid #fff;
    }
    

    
      
/* Projekte */

.boxprojekte {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  width: 100%; 
  max-width: 1280px;
}
    
  
/* Team */

  .contentboxteam {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    color: #000;
    background: transparent;
    z-index: 2;
    text-align: center; 
    margin-top: 1%;
  }
  
.marginprojekte {
  margin-top: 14%;
}
  
  .boxteam {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    width: 100%; 
    max-width: 1280px;
  }
  
  .teamcard {
    display: flex;
   width: 150px;
    margin: 8px 8px;
    text-align: center;
    transition: transform 0.2s;
    transition-delay: 0s;
    filter: grayscale(1);
    cursor: pointer; }
    
  
  .teamcard:hover {
    filter: none;
    transform: scale(1.3);
    transition: transform 0.4s;
    transition-delay: 0.1s; 
    z-index: 1000;
  }

  
  .teamcard .overlay {
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(16, 122, 157, .9);
    color: #fff;
    padding: 9px 5px 9px 5px;
    border-radius: 0;
    border: 4px solid #fff;
    opacity: 0;
    transition: opacity 0.4s ease; }
    
  
  .teamcard:hover .overlay {
    opacity: 1;
    transition-delay: .2s; 
  }
  
  .restaucard {
  display: flex;
  width: 20%;
  font-size: 1em;
  margin: 8px 8px;
  text-align: center;
  transition: transform 0.2s;
  transition-delay: 0s;
  filter: grayscale(1);
  cursor: pointer; 
}
  
.projektcard {
    width: 280px;
  }

.projektcard img {
  min-height: 220px;
  object-fit: cover;
  }
    
.restaucard img {
  width: 100%;
}

  
  .restaucard:hover {
    filter: none;
    transform: scale(1.3);
    transition: transform 0.4s;
    transition-delay: 0.1s; 
    z-index: 1000;
  }
  
  .restaucard .overlay {
    position: relative;
    width: 100%;
    margin-top: 0;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border-top: 1px solid #fff;
    font-size: 1.2em;
    min-height: 70px;
    line-height: 1.5em;
    background: rgba(16, 122, 157, 1);
    color: #fff;
    padding: 12px 6px 12px 6px;
    border-radius: 0;
    opacity: .9;
    transition: opacity 0.4s ease; 
  }
    
.restaucard .overlay2 {
   font-size: 1.3em;
   line-height: 1.7em;
   padding: 12px 6px 12px 6px;
   min-height: 80px;
   border-top: 4px solid #fff;
   border-bottom: 0;
    }
  
  
  .restaucard:hover .overlay {
    opacity: 1;
    transition-delay: .2s; 
  }
  
  
  .card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    font-size: .7em;
    line-height: 1.2em; }
  
  .card-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    align-self: flex-start;
   }
  
  
  
  /* Team Modal */
  
 body.modal-open {
   overflow: hidden;
 }
 
 /* Overlay, das den ganzen Bildschirm bedeckt */
 .modalteam {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   display: none; /* wird per jQuery eingeblendet */
   justify-content: center;
   align-items: center;
   background: rgba(0,0,0,0.6); 
   z-index: 999999; /* sehr hoch, damit es über Fullpage liegt */
 }
  
  .modal-content-team {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #107A9D;
    width: 100%;
    height: 100vh;
    z-index: 99999; 

    overflow-y: auto;  
  }
  
  .modalteaminhalt {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1% 10% 0 10%; }
    
.modalrestau {
  padding: 12% 10% 10% 10%; }
  
  .modalteaminhalt2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 15% 0 15%; }
  
  .modalteambild {
    display: flex;
    width: 34%;
    margin-right: 6%;
    padding-left: 4%; }
    
  .nomodal {
  margin-right: 5%;
 }
    
  .konzeptbild {
    display: flex;
    width: 44%;
    margin-right: 4%;
    padding-left: 2%; }
  
  .modalteambild img {
    width: 100%;
    height: auto; 
    border: 12px solid #fff;
  }
  .teamcard img {
    border: 4px solid #fff;
  }
    
  .modalteamtext {
    display: flex;
    flex-direction: column;
    width: 60%;
    text-align: left; }
  
  
.konzepttext {
  display: flex;
  flex-direction: column;
  width: 60%;
  text-align: left; 
}

.projekttext {
  display: flex;
  flex-direction: column;
  width: 80%;
  text-align: left; 
}  
  
  .modalmoegeninhalt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 15% 0 15%; }
  
  .modalmoegenbild {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 25%;
    padding-right: 25%; }
  
  .modalmoegenbild img {
    width: 100%;
    height: auto;
    border-radius: 0; 
    border: 2px solid #EDE9DE;
  }
  
  .modalmoegentext {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 18%;
    padding-right: 18%;
    text-align: center; 
    margin-top: -4%;
  }
  
  .close-modal {
    position: absolute;
    top: 100px;
    right: 100px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 3em;
    font-family: "Lato Bold", Verdana, serif;
    color: #EDE9DE;
    display: flex;
    justify-content: center;
    align-items: center; }
  
  .close-modal:hover {
    color: #ccc; }
  
  /* Cloud Box */
  .cloudbox {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    font-size: 1.5em; }
  
  .term {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 2%; }
  
  .termrow {
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.3s, transform 0.3s; }
  
  .termrow:hover {
    opacity: 1;
    transform: scale(1.3);
    background-color: rgba(236, 236, 224, 0.8); }
  
  .termrow:hover::after {
    content: attr(data-text);
    opacity: .9;
    transform: scale(1); }
  
  .cloudbox .term .termrow:nth-child(2) {
    font-family: "Lato Medium", Verdana, serif; }
  
  @keyframes drift {
    from {
      padding: 0 1%; }
    to {
      padding: 0 3%; } }
  
  @keyframes reverse-drift {
    from {
      padding: 0 4%; }
    to {
      padding: 0 1%; } }
  
  .termrow {
    white-space: nowrap;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-name: drift; }
  
  
  

/* Footerbereiche
################# */
.footer {
  font-size: .9em;
  display: flex;
  width: 100%;
  min-height: 50px;
  padding: 12% 15% 4% 15%;
  height: 6%;
  color: #fff;
  height: auto;
  justify-content: space-around; 
  align-items: baseline;
  opacity: .8; }




/* Formular */

form {
  margin-top: 0; }

legend {
  display: none; }

select {
  margin-top: 1.4%;
  font-size: 1.1em;
  padding: 1%;
  color: #fff;
  letter-spacing: 1px;
  border: 1px solid #999;
  background-color: rgba(0, 0, 0, 0.3); }

label {
  font-size: 1.1em;
  width: 35%;
  float: left;
  margin: 1% 0 0% 0; }

.section form p {
  width: 100%;
  font-size: .9em;
  line-height: 1.8em;
  float: right; }

.section form p label {
  font-size: 1.1em; }

.section .textfeld {
  font-size: 1.1em;
  padding: 2%;
  width: 65%;
  color: #fff;
  border: 1px solid #999;
  background-color: rgba(0, 0, 0, 0.3); }

.section textarea {
  font-size: 1em;
  padding: 1%;
  width: 65%;
  height: 100px;
  border: 1px solid #999;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3); }

.sendbutton {
  padding: 1.5% 4% 1.5% 4%;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.2em;
  background-color: #777978;
  letter-spacing: 1px;
  width: 100%;
  cursor: pointer;
  margin: 0 0 2% 0; }

.backbutton {
  padding: 1.5% 4% 1.5% 4%;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.2em;
  background-color: #777978;
  letter-spacing: 1px;
  width: 40%;
  cursor: pointer;
  margin: 5% 0 5% 0; 
  transition: 0.3s; 
}  

.bb {
  display: flex;
  margin: 4rem auto 2rem auto;
  justify-content: center;
}


.sendbutton:hover, .backbutton:hover {
  color: #fff;
  background-color: #107A9D;
  border: 1px solid #fff;
  border-radius: 12px;
  transition: 0.3s; 
}

.hide {
  display: none; }

/* NAVIGATIONSELEMENTE
###################### */
#back-to-top {
  /* scriptgesteuerter Top-Balken */
  position: fixed;
  /* Fixiert den Balken unten */
  display: none;
  width: auto;
  right: 5.5%;
  bottom: 4%;
  padding: 10px 10px 12px 10px;
  background: #666;
  color: #fff;
  font-size: 130%;
  text-align: center;
  z-index: 1000;
  cursor: pointer;
  transition: all ease-in-out .3s;
  border-radius: 6px; }

#back-to-top:hover {
  bottom: 5%; }


/* BUTTONS
########## */

.btn {
  display: block;
  width: 100%;

  background-color: #2C6180;
  border: 1px solid #fff; 
  color: #fff;
  margin-block-start: 2rem;
  font-size: 1.2rem;
  letter-spacing: 1px;
  padding: 12px 20px; /* Abstand innen */
  text-align: center; 
  border-bottom-right-radius: 12px; 
  border-bottom-left-radius: 12px; 
  cursor: pointer; /* Zeigt den Cursor als Pointer */
  transition: background-color 0.4s, border-color 0.8s; 
}

.btn:hover {
  border-radius: 12px; 
  background-color: #CA334A;
  border-color: #eee; 
}

.btn2 {
  width: 80%;
}

.buttoncenter {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-block-start: 1%;
   
}

.button2 {
  border-radius: 0;
  border-style: solid;
  border-width: 0;
  cursor: pointer;
  margin: 0 1px 0 1px;
  position: relative;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: .7rem 4rem .75rem 4rem;
  font-size: 1rem;
  background-color: #008CBA;
  border-color: #007095;
  color: #fff;
  transition: background-color 300ms ease-out;
  outline: none; /* Entfernt die Standardumrandung bei Fokus */
   user-select: none; /* Verhindert das Auswählen und Bearbeiten des Textes */
}

.button2.secondary {
  background-color: #e7e7e7;
  border-color: #b9b9b9;
  color: #333;
}

@media (max-height: 1200px) {
  .buttoncenter, .button2 {
    display: none;
  }
}


.btn-top {
  font-size: 1.3em;
  text-align: center; }

.btn-top::after {
  content: " ↑"; }

.btn-top::before {
  content: "↑ "; }

.btn-card {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 120%;
  letter-spacing: 1px;
  color: #fff;
  background-color: #0040A1;
  padding: 1.8em 0 1.8em 0;
  margin-top: 5%;
  transition: all ease .4s;
  cursor: pointer; 
}


/* Styles for screen 832px and lower */
@media only screen and (max-width: 52em) {
  
  
/*

#fullpage {
    display: block; 
  }
  

.slide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
*/


  
.header {
    background: #37779A;
  }
    
.header-white {
    background: #37779A;
opacity: 1;
  }

.header-profil {
    background: #37779A; 
  }
  
.header .logo {
    width: 70%;
    padding: 1.5% 0 2.5% 4%; 
  }
  
.header .logo img {
    width: 38%; 
  }
    
.header-white .logo img {
    width: 30%; 
  }
  
.header-white .logo {
    padding: 0 0 1% 4%;
  }
  
.menu {
    display: flex;
    width: 30%;
    padding-right: 5%; 
    padding-top: 1.5%;
  }
  
.sprachwahl {
    padding-left: 22%; 
  }
    
#section0 {
  background-image: none;
}

#section2, 
#section3,
#section4, 
#section5,
#section5b,
#section6, 
#section6b,
#section7 {
padding: 0; 
background: none;
}

.module {
    padding-left: 0; 
  }
     
.restaucard {
    display: flex;
    width: 45%;
    font-size: 1em;
    margin: 8px 8px;
    text-align: center;
    transition: transform 0.2s;
    transition-delay: 0s;
    filter: grayscale(1);
    cursor: pointer; 
  }
   
.projektcard {
      display: flex;
      width: 48%;
      max-width: 300px;
    }
   
.projektcard img {
    max-height: 240px;
    object-fit: cover;
    }
   
.contentboxteam {
      margin-top: 12%;
      padding-bottom: 12%;
      border-bottom: 1px solid #fff;
    }
    

.modalteaminhalt {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 6% 5% 5% 5%; 
    }
    
    
  .modalteambild {
      display: flex;
      width: 90%;
      margin: 0 5% 0 5%;
      padding-left: 0; 
    }

  .konzeptbild {
      margin-right: 0;
      padding-left: 0; 
    }
        
  .modalteambild img {
          width: 100%;
          height: auto; 
          border: 12px solid #fff;
        }
        
  .teamcard img {
          border: 4px solid #fff;
        }
          
  .modalteamtext {
          width: 100%;
          text-align: left; }
        
        
  .konzepttext {
        width: 100%; 
        padding-top: 3%;
      }    
      
  .close-modal {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 14px;
      height: 14px;
      cursor: pointer;
      font-size: 2em;
 }
      
    
.slider {
     width: 100%;
     margin-block-start: 0;
 }
 
 .slider-container {
     width: 80%; 
     margin-block-end: 12%;
 }
   
   
.text-box {
    margin: 4% 0 3% 0;
  }
  
  
.backbutton {
    padding: 1.5% 4% 1.5% 4%;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1.2em;
    background-color: #777978;
    letter-spacing: 1px;
    width: 80%;
    cursor: pointer;
    margin: 5% 0 5% 0; 
    transition: 0.3s; 
  } 
  
  /* IMG  */  
     
.contentflex img {
      width: 100%;
      height: auto;
      margin-bottom: 5%;
    }

.contentflex img:last-of-type {
      width: 100%;
      height: auto;
      margin-bottom: 5%;
      margin-top: -3%;
    }
    
        
  /* Typografie  */
   
  
.parent h1 {
  font-size: 4em;
  padding-top: 1%;
  letter-spacing: 1px;
}

.parent h2 {
font-size: 2.1em;
letter-spacing: 0; 
}

.h2topmin {
  margin-top: -12%;
}

.h2topmax {
  margin-top: 22%;
}
  
.content p,
.slide p,
.contentflex p {
    font-size: 1em;
    line-height: 1.9em;
    letter-spacing: 0;
    padding: 2% 0 0 0; 
  }
    
.content p:first-of-type {
    padding-top: 0%; }
    
.content ul,
.slide ul,
.contentflex ul {
    font-size: .9em;
    line-height: 1.8em;
    letter-spacing: 0;
    margin-bottom: 0;
    padding: 1% 6% 0 7%; }
    
  .content li,
  .slide li,
  .contentflex li {
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: 1px 8px;
    padding: 2% 0 0 30px; }
    
  .moremobil {
    display: flex;
    justify-content: center; 
  }
  
  
  .modalteaminhalt h2 {
          color: #fff;
          font-size: 1.8em;
          letter-spacing: 2px;
          text-transform: uppercase;
          margin: 4% 5% 1% 5%;
          text-align: left; 
        }

                
.contentteam .slider-container h3 {
      letter-spacing: 0;
      line-height: 1.7em;
      padding: 0 0 5% 0;
  }
  
  .teambox .subtitle {
      font-size: 1.3em;
        margin: 0 5% 2% 5%; 
    }
          
            
  .modalteaminhalt p {
          line-height: 1.6em; 
          margin: .5% 5% 0 5%;
        }
    
    
  /* Gridbox Startseite  */
  
  .section {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0; }
    
  .parent {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-left: 0; 
  }
    
  .contentbox {
    padding-left: 5%;
    padding-right: 5%;
    margin: 0;
    margin-top: 12%;
    padding-bottom: 12%;
    border-bottom: 1px solid #fff;
    background: rgba(16, 122, 157, 0); 
  }
    
  .contentflex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 12% 6% 8% 6%;
    width: 100%; 
    border-bottom: 1px solid #fff;
  }
  

    
  .contentflex > div:nth-child(1) {
    width: 100%; }
    
  .contentflex > div:nth-child(2) {
    width: 100%; }
    
  .gridbox1 {

    display: flex;
    width: 100%; }
    
  .gridbox2 {

    display: flex;
    width: 100%; }
    
  .gridbox3 {
    display: flex;
    width: 100%; }
    
  .gridbox4 {
    display: flex;
    width: 100%; }
    
  .gridbox1, .gridbox2, .gridbox3, .gridbox4 {
    opacity: .9; }
    
  /* Thema 1 - Startseite */
  
  .flexbox1, .flexbox2, .flexbox3, .flexbox4 {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 0; 
  }
    
  .flexbox1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 0;
    margin-top: 4%;
    background: url("images/bg-start.webp") no-repeat;
    background-size: 290%;
    background-position: 70% 80%; 
  }
    
  .gridbox1 .flexbox1hover {
    display: none; }
    
  .gridbox1:hover .flexbox1hover {
    display: none; }
    
  .gridbox1:hover .flexbox1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 0;
    margin-top: 4%;
    background: url("https://www.ritter-classics.de/images/bg-start.webp") no-repeat;
    background-size: 290%;
    background-position: 70% 70%;  
  }
    
  /* 3 Themem  */
  
  .flexbox2,
  .flexbox3,
  .flexbox4 {
    display: none;
    padding-left: 5%; 
  }
    
  .gridbox2 {
    display: flex;
    flex-direction: column;
    background-image: url("images/karosserie02.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 30%;
    transition: .8s;
    opacity: 1;
    border-bottom: 8px solid #fff;
    border-top: 8px solid #fff;
  }
    
  .gridbox3 {
    display: flex;
    flex-direction: column;
    background-image: url("images/sattlerei03.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 30%;
    transition: .8s;
    opacity: 1;
    border-bottom: 8px solid #fff; 
    order: 3;
  }
    
  .gridbox4 {
    display: flex;
    flex-direction: column;
    background-image: url("https://www.ritter-classics.de/images/lackiererei02.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 30%;
    transition: .8s;
    opacity: 1;
    border-bottom: 8px solid #fff;
    order: 2;
  }
    
  .gridbox2 .flexbox2hover,
  .gridbox3 .flexbox3hover,
  .gridbox4 .flexbox4hover {
    float: right;
    width: 100%;
    height: 70vh;
    justify-content: center;
    padding-left: 5%;
    transition: .6;
    opacity: .3;
    border-bottom: 0;
    margin-right: -1500px; 
  }
    
    
  .gridbox2 .flexbox2hover,
  .gridbox3 .flexbox3hover,
  .gridbox4 .flexbox4hover {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    justify-content: center;
    padding-left: 5%;
    transition: .6s;
    opacity: 1;
    margin-right: 0; 
  }
    
  .gridbox2:hover .flexbox2,
  .gridbox3:hover .flexbox3,
  .gridbox4:hover .flexbox4 {
    display: none; 
  }
    
  .gridbox2:hover .flexbox2hover,
  .gridbox3:hover .flexbox3hover,
  .gridbox4:hover .flexbox4hover {
    height: 70vh;
    padding-left: 5%; 
  }
    
  .parent .gridbox1 .flexbox1hover h2::after,
  .parent .gridbox2 .flexbox2hover h2::after,
  .parent .gridbox3 .flexbox3hover h2::after,
  .parent .gridbox4 .flexbox4hover h2::after {
    content: "↓";
    transition: 0; 
  }
    
  .parent .gridbox1 .flexbox1hover h2:hover::after,
  .parent .gridbox2 .flexbox2hover h2:hover::after,
  .parent .gridbox3 .flexbox3hover h2:hover::after,
  .parent .gridbox4 .flexbox4hover h2:hover::after {
    content: none;
    transition: 0; 
  }
    
.footer {
  font-size: .9em;
  display: flex;
  flex-wrap: wrap;
  margin-top: 8%;
  min-height: auto;
  line-height: 2.4em;
  padding: 0 3% 12% 3%;
  justify-content: center; 
  align-items: center;
 }
 
 
 form {
 margin-top: 5%; 
}
  
  
  }



/*Styles for screen 640px and lower*/
  @media only screen and (max-width : 40em) {
  
  
.header .logo {
    width: 100%;
    padding: 1% 0 2.5% 4%; 
  }
  
.header .logo img {
    width: 70%; 
  }
  
.header-white .logo img {
      width: 60%; 
    }
    
  .header-white .logo {
      padding: 0 0 1% 4%;
    }
  

.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul {
      max-width: 240px; 
      letter-spacing: 0;
    }

  
  /* Slick Slider */
  
  .slider-container {
      width: 100%;
      margin: 0% auto;
  }
  
  .slick-slide img {
       width: 100%;
       height: auto;
       max-width: none; 
       display: block; /* Bilder nebeneinander darstellen */
       margin: 0;
   }
  
  .slick-prev:before, .slick-next:before {
      display: none;
  }
  
  .slick-dots li button:before {
      width: 10px;
      height: 10px;
  }
  
  
  .flexbox1 {
    background-size: 300%;
    background-position: 72% 100%; 
  }
  
  .gridbox2 {
    background-position: 54%;
    transition: 0;
  }
  
  .gridbox3 {
    background-size: cover;
    background-position: 38%;
    transition: 0;
  }
  
  .gridbox4 {;
    background-size: cover;
    background-position: 45%;
    transition: 0;
  }
  
  /* Flexbox - Themenseiten */
  
  .contentbox {
    margin: 22% 4% 15% 4%;
    padding: 0 0 12% 0;
    color: #000;
    background: transparent; 
  }
  
  .contentflex {
    display: flex;
    justify-content: flex-start;
    margin-right: 0;
    padding: 22% 5% 12% 5%;
    width: 100%; 
  }
  
  .contentboxteam {
    margin-top: 15%;
    padding-bottom: 18%;
    border-bottom: 1px solid #fff;
  }
  
  
  .boxteam {
    margin-top: 2%;
  }
  
  .modal-content-team {
    align-items: flex-start;
  }
   
  
.modalteambild {
    width: 100%;
    margin: 5% 0 0 0%;
    padding-left: 0; 
  }
    


  
.restaucard {
    width: 45%;
    font-size: 1em;
    margin: 8px 8px;
    text-align: center;
    transition: transform 0.2s;
    transition-delay: 0s;
    filter: grayscale(1);
    cursor: pointer; 
  }
  
  .projektcard {
    display: flex;
    width: 100%;
    max-width: 310px;
  }
  

 /* IMG  */  
       
  .contentflex img {
        border: 1px solid #fff;
      }
      
  .modalteambild img {
    border: 1px solid #fff;
  }
  
.item img {
    border: 1px solid #fff;
  }
  
  
  /* TYPOGRAFIE  */
    
  .parent h1 {
    font-size: 2.5em;
    letter-spacing: 0;
  }
    
  .parent h2 {
    font-size: 1.2em;
    color: #fff;
    text-align: left;
    letter-spacing: 0; 
  }
   
  .parent .gridbox2 h3,
  .parent .gridbox3 h3,
  .parent .gridbox4 h3 {
    font-size: 1.3em;
    line-height: 1.2em;
 }
 
  .parent .gridbox2 .flexbox2hover h3,
  .parent .gridbox3 .flexbox3hover h3,
  .parent .gridbox4 .flexbox4hover h3 {
    margin-top: 6%;
    padding: 4% 4%;
}
  
  .parent .gridbox2 .flexbox2hover h2,
  .parent .gridbox3 .flexbox3hover h2,
  .parent .gridbox4 .flexbox4hover h2 {
    font-size: 1rem;
    margin-top: 0;
    padding: 4% 4%;
}

  .content h2,
  .slide h2,
  .contentflex h2 {
    font-size: 1.5em;
    line-height: 1.4em;
    padding: 5% 7% 5% 8%;
    text-align: left;
  }

  .content h2 {
    font-size: 1.4em;
    line-height: 1.3em;
    padding: 7% 7% 3% 8%;
    text-align: left;
  }
    
  .h2team h2 {
   padding: 7% 2% 3% 2%;
  }
    
  .contentflex h2 {
    font-size: 1.4em;
    padding: 8% 0 1% 0;
  }
  
  
  .contentflex h3 {
    font-size: 1.1em;
    line-height: 1.4em;
    text-align: left;
    padding: 3% 0 7% 0;
  }
  
  .contentflex .h3module {
  padding-bottom: 0;
  margin-bottom: -4%; 
}
  
.modalteaminhalt h2 {
  font-size: 1.6em;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 6% 0% 3% 0%;
}

.contentteam .slider-container h3 {
    font-size: 1.4em;
    line-height: 1.4em;
    padding: 0 0 7% 0;
}


.modalteaminhalt p, .modalteaminhalt ul {
  font-size: .9rem;
  line-height: 1.6em; 
  margin: .5% 0 0 0;
}

 .teambox .subtitle {
  font-size: 1.1em;
    margin: 0 0 2% 0; 
}

.modalteaminhalt li {
  margin-left: 4%;
}

  .content p,
  .slide p,
  .contentflex p {
    font-size: 1em;
    line-height: 1.6em;
    letter-spacing: 0;
    padding: 2% 6% 1% 8%; 
  }

  .content p {
    font-size: .9em;
    line-height: 1.5em;
    padding: 2% 2% 1% 2%; 
  }    

  .contentflex p {
    font-size: .9rem;
    letter-spacing: 0;
    padding: 0 0 3% 0; 
  }
  
  .contentbox p:first-of-type {
    padding-top: 11%; }
  
  .contentflex p:first-of-type {
    padding-top: 2%; }
    
  .content ul,
  .slide ul,
  .contentflex ul {
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0;
    margin-bottom: 0;
    padding: 5% 5% 5% 14%; 
  }
  
  .contentflex .module ul {
    padding: 2% 5% 0 10%;
    font-size: .9em;
  }
  
  .content li,
  .slide li,
  .contentflex li {
    list-style-type: square;
    background-image: none;
    padding: 0 0 4% 0; 
  }

  .moremobil {
    margin: 4% 0 6% 0;
  }
  
  
.boxworkshops h2 {
    font-size: 1.4em;
    line-height: 1.3em;
    padding: 4rem .3rem .5rem .3rem;
    text-align: left;
  }
  
  .boxworkshops h3 {
    font-family: "Poppins Medium", Verdana, serif;
    color: #fff;
    font-size: 1.3em;
    padding: 1rem .3rem .3rem .3rem;
    margin-block-end: .6rem;
  }
  
  .boxworkshops ul {
    line-height: 1.7rem;
    font-size: 1rem;
    padding: 1rem .3rem .2rem 1rem;
  }
  
  
  .boxworkshops {
    text-align: left;
    padding: 0 1.5rem 0 1.5rem;
  }
  
 .layoutsub {
   display: flex;
   width: 100%;
   flex-direction: column;
   gap: 1rem; 
   margin-block-start: 3rem;
 }
  
  .left-col {
    padding: 0;
  }
  
  .right-col {
    display: flex;
    width: 100%;
    padding: 0 0 2rem 0;
  }

.btn {
  font-size: 1rem;
}
  
  /* Formular */
  
  label {
  width: 30%;
  }

.section form p {
  width: 100%;
  font-size: .8em;
  line-height: 2em;
  float: right; 
}
 
 .section .textfeld {
   font-size: 1em;
   padding: 2%;
   width: 70%;
 }
 
 .section textarea {
   font-size: 1em;
   width: 70%;
   height: 120px;
  }
  
  
  .sendbutton {
  padding: 4% 1% 4% 1%;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.5em;
  letter-spacing: 0;
  width: 100%;
}
  
  
  }
  
  
  
  
  
