/* =============== GLOBAL =============== */
body {
  margin: 0;
  font-family: 'Gothic A1', sans-serif;
  background: #ffffff;
  color: #4e5d5f;
  line-height: 1.6;
}

a {
  text-decoration: underline;
  color: #678871;
}

/* =============== HEADER-KONTAKTLEISTE =============== */
.top-contact-bar {
  background-color: #4e5d5f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
  padding: 8px 70px;
  text-align: right;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: transform 0.3s ease;
}

.top-contact-bar.hide {
  transform: translateY(-100%);
}

.top-contact-bar a {
  color: #ffffff;
  text-decoration: none;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  padding-top: calc(60px + 35px); /* Abstand für fixierte Leisten */
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 60px 5px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
  height: 60px;
  transition: all 0.3s ease;
  top: 35px;
  font-size: 18px;
}

.top-bar.shrink {
  top: 0;
  height: 40px;
  padding: 10px 30px 5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav a {
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
}

nav a:hover {
  background-color: #e0e0e0;
}

.burger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #3a4b4f;
}

/* =============== HEADER-BILD UND TAB =============== */
.header-images {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.header-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-tab {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  width: 500px;
  text-align: center;
  padding: 30px 0;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  font-size: 20px;
  color: #3a4b4f;
  letter-spacing: 0.5px;
}

/* =============== VOLLBREITES BILD IM INHALT =============== */
.full-width-image-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 20px;
  margin-bottom: 10px;
}

/* =============== MAIN CONTENT =============== */
main {
  padding: 80px 20px 40px;
  max-width: 1000px;
  margin: auto;
}

.intro {
  margin-bottom: 40px;
  text-align: center;
}

/* =============== EINSPALTIGER TEXTBEREICH =============== */
.section-single-column {
  margin-bottom: 60px;
  padding: 40px 0;
}

.centered-text-section {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.centered-text-block {
  max-width: 80%;
  width: 100%;
  text-align: center;
}

/* =============== FLEXBASIERTE SECTION =============== */
.section-two-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.column {
  flex: 1 1 48%;
  min-width: 0;
}

.column p {
  overflow-wrap: break-word;
}

/* =============== RESPONSIVE BILDER =============== */
.responsive-img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* =============== HIGHLIGHT-BOX =============== */
.highlight-box {
  background-color: #4e5d5f;
  color: white;
  padding: 30px 20px;
  border-radius: 4px;
  height: 270px;
}

.highlight-box p {
  margin: 0 0 15px;
}

.highlight-link {
  display: inline-block;
  color: white;
  text-decoration: underline;
  font-weight: 500;
}

/* =============== FOOTER =============== */
footer {
  text-align: center;
  padding: 20px;
  background: #678871;
  margin-top: 60px;
}

.footer-links,
.footer-contact {
  text-align: center;
  color: #ffffff;
  margin: 8px 0;
}

.footer-links a {
  color: #ffffff;
  margin: 0 4px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 768px) {
  .burger {
    display: block;
    z-index: 1100;
  }

  nav {
    display: none;
    position: static;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  nav.open {
    display: block;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    background-color: white;
  }

  nav ul li a:hover {
    background-color: #f2f2f2;
  }


  .top-bar {
    flex-wrap: wrap;
    height: auto;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }

  .logo img {
    height: 45px;
  }

  .header-images {
    height: 180px;
  }

  .header-images img {
    width: 100%;
    object-fit: contain;
  }

  .header-tab {
    width: 300px;
    padding: 15px 0;
    font-size: 16px;
    border-radius: 5px;
    bottom: 20px;
  }

  main {
    padding: 20px 15px 40px;
  }

  .centered-text-block {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .header-tab {
    width: 260px;
    font-size: 15px;
    padding: 15px 0;
    border-radius: 5px;
  }
}



/* =============== EIN BILD ZENTRIERT =============== */
.header-images.single-image {
  justify-content: center;
}

.header-images.single-image img {
  width: 100%;
  height: 400px;
}

.logo img {
  height: 60px; /* oder deine gewünschte Höhe */
  object-fit: contain;
}

.top-bar.shrink .logo-img {
  height: 35px; /* kleinere Höhe beim Scrollen */
}

.team-listing {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 60px;
}

.team-member {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}

.team-img {
  width: 210px;
  height: 315px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.team-info {
  flex: 1;
}

.team-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #3a4b4f;
}

@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-img {
    width: 70;
    max-width: 210px;
    height: auto;
  }
}


@media (max-width: 768px) {
  .header-tab {
    display: none !important;
  }
}