/* geist-regular */
@font-face {
  font-display: swap;
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/geist-regular.woff2") format("woff2"),
    url("../fonts/geist-regular.ttf") format("truetype");
}

/* geist-500 */
@font-face {
  font-display: swap;
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/geist-500.woff2") format("woff2"),
    url("../fonts/geist-500.ttf") format("truetype");
}

/* geist-700 */
@font-face {
  font-display: swap;
  font-family: "Geist";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/geist-700.woff2") format("woff2"),
    url("../fonts/geist-700.ttf") format("truetype");
}


/* ===== BASIC ===== */

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

figure {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Geist", sans-serif;
  background-color: #fff;
}

.mobileonly {
  display: none;
}
.desktoponly {
  display: block;
}

.page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0px 40px;
  background-color: #fff;
}

/* ===== HEADER ===== */

.site-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 0 20px 0;
  border-bottom: 1px solid #000;
}

.header-item-left {
  background: #fff;
}

.header-item-right {
  position: relative;
  top: -20px;
}

.header-icons-box {
  display: flex;
  gap: 10px;
}

.icon-gap {
  display: block;
  width: 10px;
}

.header-icons-box img {
  width: auto;
  height: 36px;
  display: block;
}


/* ===== HEADER mobile ===== */

@media (max-width: 1024px) {
  .header-icons-box img {
    height: 30px;
  }

  .icon-gap {
    width: 0px;
  }
}

@media (max-width: 700px) {
  .page {
    padding: 0px 20px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0 20px 0;
  }

  .header-item-left {
    align-self: flex-start;
    order: 2;
  }

  .header-item-right {
    align-self: flex-end;
    top: 0;
    order: 1;
    margin-bottom: 30px;
  }

  .header-icons-box img {
    height: 25px;
  }
}

/* ===== STICKY HAMBURGER ICON ===== */

.hamburger-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  background-color: white;
  padding: 15px 0px;
  z-index: 1001;
}

.hamburger {
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger div {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #333;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger div:nth-child(1) {
  top: 0;
}
.hamburger div:nth-child(2) {
  top: 10px;
}
.hamburger div:nth-child(3) {
  bottom: 0;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg);
  bottom: auto;
  top: 50%;
}

/* ===== MENU ===== */

.menu {
  position: absolute;
  top: 100%;
  left: 0px;
  width: 360px;
  border-right: 1px solid #aaa;
  border-top: 1px solid #000;
  background-color: #fff;
  overflow: hidden;
  opacity: 0;
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.3);
  transform: translateX(-100%);
  transition: transform 0.4s ease-out, opacity 0.2s ease-out;
  pointer-events: none;
}

.menu.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.menu a {
  display: block;
  padding: 12px 0px;
  text-decoration: none !important;
  color: #000;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  border-bottom: 2px solid black;
}

/* ===== MENU mobile ===== */

@media (max-width: 767px) {
  .menu {
    width: 300px;
  }

  .menu a {
    padding: 10px 0px;
    font-size: 30px;
  }
}

/* ===== CONTENT ===== */

.content {
  border-top: 1px solid black;
  font-size: 20px;
  line-height: 26px;
  font-style: normal;
  font-weight: 400;
}

.trennlinie {
  border-top: 1px solid black;
}

.post-startseite {
  border-top: 1px solid black;
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 0 50px 0;
  gap: 30px;
}

.post-startseite-element {
  flex: 1 1 0;
  box-sizing: border-box;
}

.post-startseite-element img {
  width: 100%;
  height: auto;
  display: block;
}



.post-standard-grid {
display: grid;
   grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  justify-content: start;
  max-width: 1400px; 
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid black;
}

.post-standard-element {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  text-decoration: none !important;
 max-width: 520px; 
}

.post-standard-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
   
}

.post-standard-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding-bottom: 20px;
 
}

.courses-overview {
  padding: 10px 0 40px 0;
  border-top: 1px solid #000;
}

/* ===== ACCORDION ===== */

.accordion {
  max-width: 840px;
  overflow: hidden;
  margin: 0 0 100px 0;
}

.accordion-item {
  border-bottom: 1px solid #000;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px 10px 20px 0;
  font-size: 54px;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  transform: rotate(45deg); /* zeigt nach rechts */
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.accordion-header.active .accordion-icon {
  transform: rotate(135deg); /* zeigt nach unten */
}

.accordion-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content {
  padding: 15px 0 30px 0;
}

.accordion-content-element {
  padding: 15px 0 30px 0;
  border-top: 1px solid #000;
}

.teambild img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.beitragsbild-breit {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
}

.beitragsbild-schmal {
  display: inline-block;
  width: 100%;
  max-width: 840px;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
}

.beitragsbild-mittel {
  display: inline-block;
  width: 100%;
  max-width: 1100px;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
}

.beitragsbild-breit img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.beitragsbild-schmal img {
  max-width: 840px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.beitragsbild-mittel img {
  max-width: 1100px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.abstand-30 {
  display: block;
  margin-top: 30px;
}


/* About / Karte */

.kartenbox {
  width:auto;
  height: 600px; 
  overflow: hidden;
  position: relative;
}

.karte {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1400px; 
  height: 600px;
}

/* ===== CONTENT mobile ===== */

@media (max-width: 767px) {
  .post-startseite {
    flex-direction: column;
    margin: 0 auto 0px auto;
    padding: 12px 0 50px 0;
    gap: 20px;
  }

  .post-standard-element {
    max-width: 100%; 
}


  .accordion-header {
    font-size: 42px;
  }
}

/* ===== FOOTER ===== */

footer {
  border-top: 1px solid black;
  max-width: 100%;
  margin-top: 50px;
}

.footer-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(15px, 5vw, 100px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}

.footer-box-item {
  flex: 1 1 0;
  min-width: 280px;
  box-sizing: border-box;
  text-align: left;
}

/* ===== FOOTER mobile ===== */

@media (max-width: 767px) {
  footer {
    margin-top: 20px;
  }
}

/* ===== TYPO  ===== */

p {
  font-size: 20px;
  line-height: 26px;
}

h1 {
  font-size: 90px;
  line-height: 80px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

h1 a,
h2 a,
h3 a {
  text-decoration: none !important;
}

h2 {
  font-size: 54px;
  line-height: 60px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

h3 {
  font-size: 30px;
  line-height: 36px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.textblock {
  font-size: 20px;
  line-height: 26px;
  font-style: normal;
  font-weight: 400;
  padding: 10px 0 20px 0;
  max-width: 840px;
}

.intro-text {
  font-size: 30px;
  line-height: 36px;
  font-style: normal;
  font-weight: 400;
  margin: 30px 0 50px 0;
  max-width: 840px;
}

.titel-linie {
  padding: 5px 0;
  border-top: 1px solid #000;
}

.team-header {
  font-size: 30px;
  line-height: 36px;
  font-style: normal;
  font-weight: 400;
  margin: 30px 0 20px 0;
  max-width: 840px;
}

.post-text {
  font-size: 20px;
  line-height: 26px;
  font-style: normal;
  font-weight: 400;
}

.post-datum {
  font-size: 15px;
  line-height: 20px;
  font-style: normal;
  font-weight: 500;
  padding-bottom: 7px;
}

.post-titel-startseite {
  font-size: 30px;
  line-height: 36px;
  font-style: normal;
  font-weight: 400;
  padding-bottom: 12px;
}

.post-titel-standard {
  font-size: 20px;
  line-height: 26px;
  font-style: normal;
  font-weight: 700;
  padding-bottom: 5px;
}

figcaption {
  display: block;
  font-size: 15px;
  line-height: 20px;
  font-style: normal;
  font-weight: 500;
  padding: 0 0 5px 0;
}

a:link,
a:visited,
a:hover,
a:active {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px !important;
}

.nodeco {
  text-decoration: none !important;
}

/* ===== TYPO mobile ===== */

@media (max-width: 1024px) {
  h1 {
    font-size: 60px;
    line-height: 60px;
  }

  h2 {
    font-size: 40px;
    line-height: 48px;
  }
}

@media only screen and (max-width: 700px) {
  .desktoponly {
    display: none;
  }
  .mobileonly {
    display: block;
  }

  h1 {
    font-size: 50px;
    line-height: 50px;
  }

  h2 {
    font-size: 30px;
    line-height: 34px;
  }

  h3 {
    font-size: 25px;
    line-height: 30px;
  }

  .intro-text {
    font-size: 25px;
    line-height: 30px;
  }

  .post-titel-startseite {
    font-size: 24px;
    line-height: 30px;
    padding-bottom: 12px;
  }
}
