@charset "utf-8";
/* CSS Document */

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



 @font-face {
  font-family: "greycliff-cf", sans-serif;
  font-weight: 400;
  font-style: normal;
}

 @font-face {
  font-family: "greycliff-cf", sans-serif;
  font-weight: 700;
  font-style: bold;
}

 /* Topper-Styling */
 .topper {
   background-color: white;
   text-align: center;
   padding: 20px 0;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* weicher Schatten nach unten */
   position: relative;
   z-index: 10;
 }

 .topper img {
   max-height: 60px; /* Logo-Größe anpassbar */
  }

    /* Bild darunter */
 .titelbild {
   width: 100%;
   display: block;
   height: auto;
  }

h1 {
	font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 2.23rem;
	text-align: center;
  line-height: 1.0;
}

h2 {
	font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 1.94rem;
	text-align: left;
  padding: 0px 0px 20px 0px;
  margin: 0px;
  line-height: 1.0;
}

h3 {
  font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 1.22rem;
	text-align: center;
  padding-bottom: 5px;
  margin: 0px;
}

h4 {
  font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 1.1rem;
	text-align: left;
  padding-bottom: 5px;
  margin: 0px;
}

p {
	font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 1rem;
	text-align: center;
}

.site {
  max-width: 1166px;
  margin: 0 auto;
  align-content: center;
}

.titeltext {
  margin: 15px 8.3%;
  padding: 0px 8.3%;
}

@media (max-width: 768px) {
  .titeltext {
    margin: 15px 0px;
  }
}

.p-left {
  font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 1rem;
	text-align: left;
  margin: 0px;
  padding-bottom: 20px;
}

ul {
	font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 1rem;
	text-align: left;  
  margin: 0px;
}

li {
  font-family: "greycliff-cf";
	font-weight: 400;
	font-size: 1rem;
	text-align: left;  
  margin: 5px;
}

a {
  font-family: "greycliff-cf";
  font-weight: 400;
  font-size: 1.24rem;
  text-align: center;
  color: black;
  text-decoration: none;
  background-color: #E6E5E5;
  display: flex;
  width: 250px;
  height: 50px;
  justify-content: center;
  align-items: center;
  border: 1px solid #201F28;
}

.intexta {
  all: unset;
  font-family: "greycliff-cf";
  font-weight: 400;
  font-size: 1rem;
  color: black;
  cursor: pointer;
  text-decoration: underline;

}

.intexta:hover {
  all: unset;
  cursor: pointer;
}

.mini-galerie {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 2em 0;
  margin: auto;
  max-width: 1166px;
}

.reihe {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* für horizontales Scrollen auf kleinen Screens */
  overflow-x: auto;
  padding-bottom: 10px;
}

.reihe::-webkit-scrollbar {
  height: 8px;
}

.reihe::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.img-schmal,
.img-breit {
  height: 329px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Feste Breiten */
.img-schmal {
  width: 219.36px;
}

.img-breit {
  width: 453.76px;
}

/* Bei ganz kleinen Bildschirmen automatisch umstellen */
@media (max-width: 768px) {
  .reihe {
    flex-wrap: wrap;       /* Bilder umbrechen statt scrollen */
    justify-content: center;
  }

  .img-schmal,
  .img-breit {
    width: 100%;
    max-width: 90vw;       /* max. Bildschirmbreite */
    height: auto;          /* Höhe anpassen */
  }

  .accordionWrapper {
		width: 90%;
	}
}

.GroupTBB {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 1166px;
  margin: 0 auto;               /* zentriert den Container */
}

.reihe-TBB {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 10px; 
}

.TBB-button {
  margin-top: auto;
}

.reihe-TBB a:hover {
  background-color: #201F28;
  color: white;
}

@media (max-width: 768px) {
  .GroupTBB {
    display: grid;
    gap: 20px;
    align-items: normal;
    margin: 0 auto; 
    max-width: 90vw;
  }

  .reihe-TBB {
      display: block;
  }

  .reihe-TBB a {
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em; 
  }
}

.video-section {
  padding: 1em 0;
  max-width: 1166px;
  margin: 0 auto;
  text-align: center;
}

.video-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.video-section p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .video-grid {
    max-width: 90vw;
    margin: auto;
    grid-template-columns: repeat(1, 1fr);
  }
}

.video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #ccc;
  margin-bottom: 10px;
}

.QAAP {
  display: block;
  height: auto;
  margin: 1em 0;
  max-width: 1166px;
}

@media (max-width: 768px) {
  .QAAP {
    width: 90vw;
    margin: 1em auto;
  }
}

.accordionWrapper {
    box-sizing: border-box;
}

@media (max-width: 768px) {
  .accordionWrapper {
    width: 90vw;
    margin: auto;
  }
}

.accordionItem {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.accordionItemHeading {
    cursor: pointer;
    margin: 0px 0px 0px 0px;
    padding: 10px;
    color: black;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #201F28;
    background: #E6E5E5;
}

.close .accordionItemContent {
    height: 0px;
    transition: height 1s ease-out;
    -webkit-transform: scaleY(0);
    -o-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    display: block;


}

.open .accordionItemContent {
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    width: 100%;
    margin: 0px 0px 10px 0px;
    display: block;
    -webkit-transform: scaleY(1);
    -o-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transform-origin: top;
    -o-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease;
    -ms-transition: -ms-transform 0.4s ease;
    transition: transform 0.4s ease;
    box-sizing: border-box;
}

.open .accordionItemHeading {
    margin: 0px;
    background-color: #201F28;
    color: white;
}

footer {
  background-color: #759F6C;
  padding: 40px 20px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  text-align: center;
}

.projekte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.csfooter, .fuffooter {
  max-width: 70px;
  height: auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.kontakta {
  all: unset;
  font-family: "greycliff-cf";
  font-weight: 700;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
}

.kontakta:hover {
  text-decoration: underline;
}

.socialmedia {
  display: grid;
  grid-template-columns: repeat(2, 50px);
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.sociala {
  all: unset;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sociala img {
  width: 100%;
  height: auto;
}

/* Responsive für Mobilgeräte */
@media (max-width: 768px) {
  .socials {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .socialmedia {
    grid-template-columns: repeat(3, 50px);
  }
}
