body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

.header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
}




.topbar {
    /* background-color: #f5f5f5; */
    background-color: #cd0f1c;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.topbar span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* color: #444; */
    color:white;
    white-space: nowrap;
    font-weight: 500;
}
.topbar a{
  color:white;
  text-decoration: none;
}

.topbar .cta-button {
    /* background-color: #ff6600; */
    background-color: white;
    color: #cd0f1c;
    padding: 0.4rem 0.9rem;
    border-radius: 16px;
    
     border: 1px solid red;
    
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: auto;
    
}

.topbar .cta-button:hover {
    background-color: red;
    color: white;
     border: 1px solid white;

}

.topbar img{
  filter: invert(1);
} 

.footer svg {
  fill:white;
}

.footer a{
  color:white;
  text-decoration: none;
}

.navbar {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar .logo {
    height: 50px;
    margin-left: 20px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2.0rem;
  margin: 0;
  margin-right:40px;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #1b2e4b;
  font-weight: 400;
  font-size: 1.1rem;
}

.nav-menu li a:hover {
  color: darkred;
}

.hero {
    
    background-size: cover;
    background-position: center;
    min-height: 400px;
    
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.hero-beratung {
  align-items: flex-end;
  background-size: cover;
    background-position: center;
    min-height: 400px;
    
    margin: 0 auto;
    display: flex;

    padding: 2rem;
}

.hero2 {
  /*   background-image: url('images/hero-kinder.jpg'); */
    background-size: cover;
    background-position: top;
    min-height: 400px;
    
    margin: 0 auto;
    display: flex;
    /* align-items: center; */
    padding: 2rem;
  align-items: flex-end;
      justify-content: space-between;


}


.hero-team {
  background-image: url('images/hero-team.webp');
  background-size: cover;
  background-position: top;
  min-height: 400px;
  
  margin: 0 auto;
  display: flex;
  
  align-items: flex-end;
    justify-content: flex-start;
  padding: 2rem;
}
.hero-team-ataei {
 
  background-size: cover;
  background-position:center;
  min-height: 400px;
  
  margin: 0 auto;
  display: flex;
  
  align-items: flex-end;
    justify-content: flex-start;
  padding: 2rem;
}


.hero-text {
    /* background: rgba(255,255,255,0.85); */
    padding: 2rem;
    max-width: 600px;
    border-radius:10px;
}

.hero-text p {
  color:white;
}

.hero-text h1 {
    margin-top: 0;
    font-size: 44px;
    font-weight: bold;
    color:white;
}

.hero-text .cta-button {
    display: inline-block;
    margin-top: 1rem;
    background-color:red;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: bold;
}

.hero-text .cta-button:hover {
    background-color: #e65c00;
}

.kfo-kinder {
    background-color: #E8EDF3;
    padding: 3rem 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 10px;
}


.kfo-erwachsene{
    background-color: #E8EDF3;
    padding: 3rem 15rem;

    margin: 0 auto;
}
.kfo-wrapper {
    margin: 0 auto;
    max-width: 960px;
}
  
.kfo-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}
  
.kfo-wrapper p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}
  
.kfo-wrapper ul {
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
    color: #444;
}
  
.kfo-wrapper ul li {
    margin-bottom: 0.6rem;
}

.kfo-icons {
    /* background-color: #E8EDF3; */
    background-color: white;
    padding: 4rem 1rem;
}

.kfo-icons h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #002060;
}

.icon-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.icon-wrapper-diagnostik {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}





.icon-wrapper-diagnostik .icon-box {
    background: #E8EDF3;
    border-radius: 12px;
    /* padding: 2rem 1rem; */
    padding:0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: transform 0.2s ease;
    width: 180px;
    height: 180px;
      position:relative;
}

.oben {
  width:100%;
  padding:0;
}



.icon-wrapper-diagnostik .icon-box:hover {
    transform: translateY(-4px);
}

.icon-wrapper-diagnostik .icon-box img {

  object-fit: contain;
    width: 100%;
    height: 100%;
    margin-bottom: 1rem;
  }

.icon-wrapper-diagnostik .icon-box p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #111;
    margin: 0;
}








.icon-box {
    background: #E8EDF3;
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: transform 0.2s ease;
    width: 180px;
    height: 180px;
}



.icon-box:hover {
    transform: translateY(-4px);
}

.icon-box img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.icon-box p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #111;
    margin: 0;
}

.beratung-section {
    /* background-color: #E8EDF3; */
    background-color: white;
    padding: 60px 20px;
}
  
.beratung-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}
.beratung-wrapper2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
        align-items: flex-start;
    gap: 40px;
}

  
.beratung-image {
    flex: 1 1 45%;
}
  
.beratung-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
  
.beratung-text {
    flex: 1 1 50%;
}
  
.beratung-text h2 {
    font-size: 2em;
    margin-bottom: 50px;
    color: #1b2e4b;
}
  
.beratung-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}
  
.cta-link {
    display: inline-block;
    text-decoration: none;
    background-color: #1b2e4b;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}
  
.cta-link:hover {
    background-color: #314e78;
}

@media (max-width: 768px) {
  .beratung-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .beratung-text h2 {
    font-size: 1.6em;
  }

  .beratung-text p {
    font-size: 1em;
  }

  .cta-link {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .icon-wrapper {
    gap: 1rem;
  }

  .icon-box {
    width: calc(33.333% - 1rem);
    height: 140px;
    padding: 1.5rem 0.5rem;
  }

  .icon-box img {
    width: 40px;
    height: 40px;
  }

  .icon-box p {
    font-size: 0.85rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar .cta-button {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .kfo-erwachsene {
    padding: 2rem 1.5rem;
  }

  .kfo-wrapper h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .kfo-wrapper p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }
}

.kalender-section {
  /* background-color: #E8EDF3; */
  background-color:white;
  padding: 60px 20px 70px 20px;
}

.kalender-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.kalender-wrapper h2 {
  font-size: 2em;
  margin-bottom: 12px;
  color: #1b2e4b;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.kalender-wrapper p {
  font-size: 1em;
  color: #444;
  margin-bottom: 28px;
}

.kalender-iframe {
  box-shadow: 0 4px 18px rgba(27,46,75,0.07);
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafb;
  padding: 10px;
  margin-bottom: 0;
  border: 10px solid darkred;
}

.kalender-iframe iframe {
  width: 100%;
  min-height: 520px;
  height: 1200px;
  border: none;
  border-radius: 10px;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .kalender-wrapper {
    padding: 0;
  }
  .kalender-section {
    padding: 40px 5px 40px 5px;
  }
  .kalender-iframe {
    padding: 0;
  }
  .kalender-iframe iframe {
    min-height: 440px;
    height: 480px;
  }
}

.topbar-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.team-section {
  background-color: #E8EDF3;
  padding: 60px 20px;
}

.team-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.team-wrapper h2 {
  font-size: 2em;
  margin-bottom: 2.5rem;
  color: #1b2e4b;
}

.team-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.5rem;
  color: #444;
  line-height: 1.6;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-card {
  /* background-color: #E8EDF3; */
 /*  background-color: white;; */
  border-radius: 10px;
  padding: 1rem;
  width: calc(25% - 1.5rem);
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.team-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card h3 {
  font-size: 1rem;
  margin: 0.5rem 0 0.2rem;
  color: #222;
}

.team-card p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

@media (max-width: 992px) {
  .team-card {
    width: calc(33.333% - 1.5rem);
  }
}

@media (max-width: 768px) {
  .team-card {
    width: calc(50% - 1.5rem);
  }
}

@media (max-width: 480px) {
  .team-card {
    width: 100%;
  }
}

.footer {
  background-color: #1b2e4b;
  color: white;
  padding: 3rem 1.5rem 2rem;
  font-size: 0.85rem;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-column p {
  margin: 0.4rem 0;
  line-height: 1.5;
}
.footer-seals {
  display:flex;
}
.footer-seals img {
  max-height: 80px;
  margin-bottom: 0.5rem;
  display: block;
}

.social-icons a {
  display: inline-block;
  margin-right: 0.5rem;
}

.social-icons img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #ccc;
}

.footer-extras {
  background-color: #f5f5f5;
  padding: 2rem 1rem;
}

.footer-extras-wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-column {
    width: 100%;
  }

  .footer-column h4 {
    margin-bottom: 0.5rem;
  }

  .footer-seals {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-seals img {
    max-height: 60px;
  }

  .footer-bottom {
    text-align: left;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #ccc;
  }
}


/* Dropdown Navigation */
/* .nav-menu {
  position: relative;
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
} */

.nav-menu > li {
  position: relative;
}

/* .nav-menu li.has-submenu > a::after {
  content: " ▼";
  font-size: 0.6rem;
  margin-left: 0.3rem;
} */

.nav-menu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color:#B13C3A;
  border: 1px solid #ddd;
  border-radius: 10px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  z-index: 1000;
  min-width: 220px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-menu .submenu li {
  padding: 0;
  margin: 0;
}

.nav-menu .submenu li a {
  display: block;
  padding: 0.6rem 1rem;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-menu .submenu li a:hover {
  background-color: white;
  color: #cd0f1c;
}

.nav-menu li.has-submenu:hover > .submenu {
  display: block;
}

.besondere-leistungen-wrapper {
  max-width: 960px;
  margin: 50px auto;
  padding: 0 1rem;
  text-align: center;
}

.besondere-leistungen-section h2 {
  font-size: 2rem;
  color: #1b2e4b;
  margin-bottom: 2rem;
}

.besondere-leistungen-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.besondere-leistungen-card {
  background: #E8EDF3;
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.besondere-leistungen-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.besondere-leistungen-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  background-color: #cd0f1c;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-bottom: 1rem;
  user-select: none;
}

.besondere-leistungen-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #002060;
}

.besondere-leistungen-card p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .besondere-leistungen-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .besondere-leistungen-card {
    width: 100%;
  }
}

.zufriedenheit-section {
  background-color: #E8EDF3;
  padding: 60px 20px;
}

.zufriedenheit-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
}

.zufriedenheit-text {
  flex: 1 1 50%;
}

.zufriedenheit-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #1b2e4b;
}

.zufriedenheit-text p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
}

.zufriedenheit-image {
  flex: 1 1 45%;
}

.zufriedenheit-image img {
  width: 100%;
  border-radius: 10px;
}


.faq-section {
  background-color: white;
  padding: 60px 20px;
}

.faq-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  gap: 40px;
}

.faq-sidebar {
  flex: 1 1 30%;
}

.faq-sidebar h2 {
  font-size: 1.8rem;
  color: #1b2e4b;
}

.faq-content {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  position: relative;
  width: 100%;
  background-color: #E8EDF3;
  color: #1b2e4b;
  padding: 1rem;
  padding-right: 2.5rem; /* Platz für das Icon */
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question::after { 
 /*  content: '+'; */
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease-out;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-question.active,
.faq-question:hover {
  background-color: #d5dfea;
}

.faq-answer {
  background-color: #f9f9f9;
  font-size: 0.95rem;
  color: #333;
/*   padding: 1rem; */
  /* Änderungen für die Animation */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

/* Der innere Absatz bekommt das Padding */
.faq-answer p {
  margin: 0; /* Entfernt den Standard-Absatzabstand */
  padding: 1rem;
  font-size: 0.95rem;
  color: #333;
}





/* === STYLES FÜR VERÖFFENTLICHUNGEN-LISTE === */
.publications-list-section {
  background-color: white;
  padding: 60px 20px;
}

.publications-list-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.publications-list-wrapper h2 {
  font-size: 2em;
  color: #1b2e4b;
  margin-bottom: 1rem;
}

.publications-intro {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.publications-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.publications-list li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #E8EDF3;
  border-radius: 10px;
  border: 1px solid #d5dfea;
  text-decoration: none;
  color: #1b2e4b;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.publications-list li a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(27, 46, 75, 0.08);
  background-color: #f8fafb;
}

.publications-list li a svg {
  flex-shrink: 0; /* Verhindert, dass das Icon schrumpft */
  fill: #cd0f1c; /* Passend zur roten Akzentfarbe */
}

  
/* Media query für die mobile Ansicht */
@media (max-width: 768px) {
  .publications-wrapper {
    flex-direction: column-reverse; /* Stellt sicher, dass der Text über dem Bild erscheint */
    gap: 20px;
  }
}




.moderne-diagnostik {
  max-width: 960px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  text-align: center;
}

.moderne-diagnostik h2 {
  font-size: 2rem;
  color: #002060;
  margin-bottom: 2.5rem;
}

.diagnostik-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.diagnostik-card {
  background-color: #E8EDF3;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  width: 220px;
  height: 320px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diagnostik-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card-image {
  flex: 1 1 33%;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-text {
  flex: 1 1 67%;
  padding: 1rem 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-text h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  color: #1b2e4b;
}

.card-text p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111;
  margin: 0;
}

/* Responsive Anpassung */

@media (max-width: 900px) {
  .diagnostik-grid {
    justify-content: space-around;
  }

  .diagnostik-card {
    width: 45%;
    margin-bottom: 2rem;
    height: auto;
  }
}

@media (max-width: 480px) {
  .diagnostik-card {
    width: 100%;
  }
}








.beruflicherwerdegang-section {
    background-color: #E8EDF3;
    padding: 60px 20px;
}
  
.beruflicherwerdegang-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
    align-items: flex-start;
    gap: 40px;
}


  
.beruflicherwerdegang-image {
    flex: 1 1 45%;
}
  
.beruflicherwerdegang-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
  
.beruflicherwerdegang-text {
    flex: 1 1 50%;
}
  
.beruflicherwerdegang-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #1b2e4b;
}
  
.beruflicherwerdegang-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.beruflicherwerdegang-section li{
  line-height:2rem;
}




/*Doktor Ataei*/


.beruflicherwerdegang-section2 {
    background-color: white;
    padding: 60px 20px;
}
  
.beruflicherwerdegang-wrapper2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
    align-items: flex-start;
    gap: 40px;
}


  
.beruflicherwerdegang-image2 {
    flex: 1 1 45%;
}
  
.beruflicherwerdegang-image2 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
  
.beruflicherwerdegang-text2 {
    flex: 1 1 50%;
}
  
.beruflicherwerdegang-text2 h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #1b2e4b;
}
  
.beruflicherwerdegang-text2 p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.beruflicherwerdegang-section2 li{
  line-height:2rem;
}







.cases-section {
  background-color: white;
  padding: 60px 20px;
}

.cases-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.cases-wrapper h2 {
  font-size: 2em;
  color: #1b2e4b;
  margin-bottom: 1rem;
}

.cases-intro {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 2.5rem;
}

.case-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.case-card {
  background: #E8EDF3;
  border-radius: 8px;
  padding: 1rem;
  width: calc(50% - 1rem);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.case-img {
  width: 100%;
  max-width:200px;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.case-caption {
  font-size: 0.85rem;
  color: #666;
}




/* Kontaktseite */


.kontakt-section {
  background-color: #E8EDF3;
/* background-image:url('images/kontakt-background.png'); */
background-size: cover;
background-position: center;
background-repeat:no-repeat;
  padding: 60px 20px;
}
.kontakt-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.kontakt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
}
.kontakt-info {
  flex: 1 1 320px;
  min-width: 300px;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 2rem 2rem 1.5rem;
}
.kontakt-info h3 {
  color: #002060;
  margin-top: 1.5rem;
}
.kontakt-anfahrt-list {
  list-style: disc inside;
  margin: 1rem 0 0 0;
  padding-left: 0;
  color: #333;
  font-size: 1rem;
}
.kontakt-formular-box {
  flex: 1 1 320px;
  min-width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 2rem 2rem 1.5rem;
  text-align: left;
}
.kontakt-formular input,
.kontakt-formular textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.9rem 0.8rem;
  border: 1px solid #d5dfea;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8fafb;
  resize: vertical;
  font-family: inherit;
}
.kontakt-formular button {
  background: #cd0f1c;
  color: #fff;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.kontakt-formular button:hover {
  background: #002060;
}
.kontakt-maps-section {
  background: white;
  padding: 60px 0 30px 0;
}
.kontakt-maps-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.kontakt-maps-iframe {
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(27,46,75,0.07);
  overflow: hidden;
  margin-top: 2rem;
}
.kontakt-maps-iframe iframe {
  width: 100%;
  min-height: 360px;
  height: 420px;
  border: none;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .kontakt-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .kontakt-info, .kontakt-formular-box {
    width: 100%;
    min-width: unset;
    margin-bottom: 2rem;
  }
}



/* PRAXIS */

.hero-praxis {
  background-image: url('images/praxis/hero-praxis.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 2rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-praxis .hero-text {
  max-width: 600px;
  background: rgba(0,0,0,0.4);
  padding: 1.5rem 2rem;
  border-radius: 10px;
}

.praxis-thumbnails-section {
  background-color: #E8EDF3;
  padding: 60px 20px;
  text-align: center;
}

.praxis-thumbnails-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.praxis-thumbnails-wrapper h2 {
  font-size: 2rem;
  color: #1b2e4b;
  margin-bottom: 2.5rem;
}

.praxis-thumbnails-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.thumbnail-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  width: 220px;
  padding: 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.thumbnail-card img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.thumbnail-card img:hover {
  transform: scale(1.05);
}

.thumbnail-card p {
  font-size: 1rem;
  color: #333;
  margin: 0;
  text-align: center;
}

.cta-section {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

.cta-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.cta-wrapper h2 {
  font-size: 2rem;
  color: #1b2e4b;
  margin-bottom: 1rem;
}

.cta-wrapper p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #cd0f1c;
  color: white;
  font-weight: 700;
  padding: 0.8rem 2.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #002060;
}

/* Responsive */
@media (max-width: 900px) {
  .praxis-thumbnails-grid {
    justify-content: space-around;
  }
  .thumbnail-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .thumbnail-card {
    width: 100%;
  }
}




.fixed-sidebar {
    position: fixed;
    top: 10rem; 
    right: 0;
    width: 160px;
    height:250px;
    background-color: darkred; 
    color: white;
    padding: 20px 20px;
    /* border-left: 14px solid black; */
    transition: width 0.3s ease;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size:0.7rem!important;
    z-index: 1100;
    font-weight: 400!important;
    font-family: 'Open Sans', sans-serif;
}

.sidebar-content div {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

.sidebar-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  filter: invert(1);
}

.fixed-sidebar a {
  color: white;
  text-decoration: none;
  font-weight: 400;
}

.fixed-sidebar a:hover {
  text-decoration: underline;
}

/* 
@media (max-width: 1024px) {
  .fixed-sidebar {
    display: none;
  }
}  */


 

  .fixed-sidebar.collapsed {
    width: 8px;
  }

  .sidebar-toggle {
    position: absolute;
    top: 0px;
    left: -10px;
    background-color: #bc363f;
    /* border: 1px solid #ccc; */
    /* border-right: none; */
    /* padding: 5px; */
    
    cursor: pointer;
    z-index: 1001;
    height:290px;
    border-radius: 12px 0 0 12px;
/*     border-left:2px solid darkred;
    border-bottom:2px solid darkred;
    border-top:2px solid darkred; */
    width:20px;
    color:white;
    display: flex;
    align-items: center;
  }

  #toggle-icon {
    margin-left:5px;
  }

  .sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .sidebar-row {
    display: flex;
    align-items: center;
  }

  .sidebar-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex-shrink: 0;
  }

  .sidebar-text {
    white-space: nowrap;
    transition: opacity 0.3s ease, width 0.3s ease;
    overflow: hidden;
  }

  .fixed-sidebar.collapsed .sidebar-text {
    opacity: 0;
    width: 0;
  }


  @media (max-width: 1024px) {
    .fixed-sidebar {
      display: none;
    }
  }


.cta-mapbox-section {
  max-width: 1280px;
  margin: 60px auto;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.cta-mapbox-map {
  flex: 1 1 60%;
  height: auto;
  min-height: 100%;
  margin-left: 0;
  border-right: none;
  display: flex;
}

.cta-mapbox-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-mapbox-form {
  flex: 1 1 40%;
  padding: 2rem;
  background-color:white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cta-mapbox-headline {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #003366;
}

.cta-mapbox-form-element {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-mapbox-form-element label {
  font-weight: bold;
}

.cta-mapbox-form-element input,
.cta-mapbox-form-element textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.cta-mapbox-form-element input[type="checkbox"] {
  margin-right: 0.5rem;
}

.cta-mapbox-form-element button {
  padding: 12px;
  background-color: darkred;
  color: white;
  border: none;
  border-radius: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-mapbox-form-element button:hover {
  background-color: white;
}

@media (max-width: 768px) {
  .cta-mapbox-section {
    flex-direction: column;
  }

  .cta-mapbox-map,
  .cta-mapbox-form {
    flex: 1 1 100%;
  }
}


.cta-mapbox-section {
  max-width: 1280px;
  margin: 60px auto;
  border-radius: 12px;
  overflow: hidden;
}

.cta-mapbox-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 500px;
}

.cta-mapbox-map {
  flex: 1 1 60%;
  min-height: 100%;
}

.cta-mapbox-form {
  flex: 1 1 40%;
  padding: 2rem;
 /*  background-color: #f3f7fb; */
 background-color:white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-mapbox-headline {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #003366;
}

.cta-mapbox-form-element {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-mapbox-form-element input,
.cta-mapbox-form-element textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.cta-mapbox-form-element input[type="checkbox"] {
  margin-right: 0.5rem;
}

.cta-mapbox-form-element button {
  padding: 12px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.cta-mapbox-form-element button:hover {
  background-color: #005fa3;
}

@media (max-width: 768px) {
  .cta-mapbox-wrapper {
    flex-direction: column;
  }

  .cta-mapbox-map,
  .cta-mapbox-form {
    flex: 1 1 100%;
  }
}
/* --- CTA Mapbox Card & Form Redesign --- */
.cta-mapbox-card {
  flex: 1 1 50%;
  background: white;
  border-radius: 48px;
  overflow: hidden;
  display: flex;
}

.cta-mapbox-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-mapbox-form {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem 0;
}

.cta-mapbox-headline {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 1rem;
  color: #003366;
}

.cta-mapbox-copytext {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
  max-width: 400px;
}

.cta-mapbox-form-element {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-mapbox-form-element input {
     border: none;
    border-bottom: 2px solid black;
    padding: 12px 4px;
    font-size: 1rem;
    background: transparent;
    font-family: inherit;
    border-radius: 0px;
}

.cta-mapbox-form-element input:focus {
  outline: none;
  border-color: #0077cc;
}

.cta-mapbox-form-element button {
  padding: 12px;
  background-color: darkred;
  color: white;
  border: none;
  border-radius: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-mapbox-form-element button:hover {
  background-color: white;
  color:darkred;
  border: 1px solid darkred;
}

/* ===== Styling für Behandlungsablauf Seite ===== */

.hero {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 2rem;
  color: white;
}

.hero .hero-text {
  max-width: 600px;
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 10px;
}

.hero .hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero .hero-text p {
  font-size: 1.2rem;
}

.besondere-leistungen-section {
  background-color: #fff;
  padding: 60px 20px;
}

.besondere-leistungen-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.besondere-leistungen-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1b2e4b;
}

.besondere-leistungen-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.besondere-leistungen-card {
  background-color: #E8EDF3;
  border-radius: 12px;
  padding: 1.5rem;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.besondere-leistungen-card:hover {
  transform: translateY(-6px);
}

.besondere-leistungen-number {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: darkred;
  color: white;
  font-weight: bold;
}

.besondere-leistungen-card h3 {
  font-size: 1.2rem;
  color: #002060;
  margin-bottom: 0.5rem;
}

.besondere-leistungen-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}
/* ==== Praxis Card Grid Redesign ==== */
.praxis-thumbnails-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.praxis-card {
  position: relative;
  width: 390px;
  height: 224px;
  border-radius: 16px;
  overflow: hidden;
 /*  flex: 0 1 calc(33.333% - 1rem); */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.praxis-card:hover {
  transform: scale(1.02);
}

.praxis-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.praxis-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 56px 0 0 32px;
  width: 100%;
  height: 100%;
  color: white;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.9), rgba(255, 255, 255, 0.1));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: background 0.4s ease;
}

.praxis-card:hover .praxis-card-overlay {
  background: linear-gradient(to bottom right, rgba(255,255,255,0.1), rgba(255,255,255,0.4));
  color: darkred;
  text-shadow: 0 0 6px white;
}

.praxis-card-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;

}

.praxis-card-overlay p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  
}


/* === Praxis Lightbox Modal Styles === */
.praxis-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.praxis-lightbox:not(.active) {
  display: none;
}

.praxis-lightbox-content {
  position: relative;
  width: 80vw;
  max-width: 1000px;
  max-height: 80vh;
  overflow: hidden;
}

.praxis-lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.praxis-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  color: black;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-weight: bold;
}

.praxis-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.5);
  border: none;
  cursor: pointer;
  padding: 10px;
}

.praxis-lightbox-prev {
  left: 10px;
}

.praxis-lightbox-next {
  right: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}





.vertrauen-section {
    background-color: #E8EDF3;
    padding: 60px 20px;
}
  
.vertrauen-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}
.vertrauen-wrapper2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
        align-items: flex-start;
    gap: 40px;
}

  
.vertrauen-image {
    flex: 1 1 45%;
}
  
.vertrauen-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
  
.vertrauen-text {
    flex: 1 1 50%;
}
  
.vertrauen-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #1b2e4b;
}
  
.vertrauen-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}



.space-container {
  margin-top:40px;
  margin-bottom:40px;
}








.aligner-content .wrapper {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}
.aligner-content h2 {
  font-size: 1.8rem;
  color: #1b2e4b;
  margin-top: 2rem;
}
.aligner-content p, .aligner-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
.aligner-content ol {
  margin: 1rem 0;
  padding-left: 1.4rem;
}
.aligner-content .two-column {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.aligner-content .two-column ul {
  flex: 1 1 45%;
  list-style: none;
  padding: 0;
}
.aligner-content .advantages li::before {
  content: "✔";
  color: #0077cc;
  margin-right: 0.5rem;
}
.aligner-content .disadvantages li::before {
  content: "✖";
  color: #cc0000;
  margin-right: 0.5rem;
}
.aligner-content .cta-section {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  background: #f3f7fb;
  border-radius: 12px;
}
.aligner-content .cta-section h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.aligner-content .cta-button {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: #0077cc;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
.aligner-content .cta-button:hover {
  background: #005fa3;
}
.aligner-therapie-flow {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.aligner-flow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  margin-bottom:3rem;
}

.step-card {
  flex: 0 1 160px;
  background: linear-gradient(to bottom right, #eeeeee, #f9f9f9);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 0.95rem;
  line-height: 1.4;
}

.step-arrow {
  font-size: 2rem;
  color: #999;
  user-select: none;
}

.aligner-therapie-flow h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1b2e4b;


}
.aligner-vorundnachteile-section {
  background-color: white;
  padding: 60px 20px;
}

.aligner-vorundnachteile-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.aligner-vorundnachteile-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1b2e4b;
}

.vorundnach-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  text-align: left;
}

.vor-box, .nach-box {
  flex: 1 1 380px;
  background: linear-gradient(to bottom right, #ffffff, #f0f0f0);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.vor-box h3 {
  color: darkgreen;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.nach-box h3 {
  color: darkred;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.vor-box ul li::before {
  content: "✔";
  color: darkgreen;
  margin-right: 0.5rem;
}

.nach-box ul li::before {
  content: "✖";
  color: darkred;
  margin-right: 0.5rem;
}

.vor-box ul, .nach-box ul {
  padding-left: 0;
  list-style: none;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.invert-text-color {
  color:black!important;
}

.invert-text-color h1 {
  color:black!important;
}

.invert-text-color p {
  color:black!important;
}
.memotain-vorteile {
  background: #f8f9fa;
  padding: 60px 20px;
}

.memotain-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.memotain-wrapper h2 {
  font-size: 2rem;
  color: #1b2e4b;
  margin-bottom: 1rem;
}

.memotain-wrapper .intro {
  font-size: 1rem;
  color: #444;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.memotain-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.memotain-box {
  background: linear-gradient(to bottom right, #ffffff, #eceff1);
  border-radius: 16px;
  padding: 1.8rem;
  flex: 0 1 400px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.memotain-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: #004080;
}

.memotain-box p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}
.retainer-einleitung {
  background-color: #ffffff;
  padding: 60px 20px;
}

.retainer-einleitung .kfo-wrapper {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.retainer-einleitung h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1b2e4b;
}

.retainer-einleitung p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}
.retainer-bildvergleich {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.retainer-bildvergleich-wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.retainer-bild {
  flex: 1 1 45%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.retainer-bild img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}






#kampagnen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: kampagnenFadeIn 0.4s ease;
}

.kampagnen-modal {
  width: 30vw;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
  animation: kampagnenZoomIn 0.4s ease;
  text-align: center;
}

.kampagnen-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.kampagnen-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #cc0000;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

@keyframes kampagnenFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes kampagnenZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}





.hero-awards img{
  max-width:150px;
}

/*blau grau*/
.background1{
  background-color:#E8EDF3
}

.background2{
  background-color:#f8f9fa;
}
.background3{
  background-color: white;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 20px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
  }
}



@media (max-width: 768px) {
  .fixed-sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 10px 15px;
    background-color: darkred;
    border-radius: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    z-index: 1100;
  }

  .sidebar-toggle {
    display: none;
  }

  .sidebar-content {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    gap: 0.5rem;
  }

  .sidebar-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-align: center;
    font-size: 0.65rem;
  }

  .sidebar-icon {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  .sidebar-text {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .fixed-sidebar button {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
    height: auto;
    width: auto;
    background-color: white;
    color: darkred;
  }
}
.choice-container {
  /* Hier können bestehende Styles stehen */
}

/* Mobile Optimierung für Kontakt-Choice-Container */
@media (max-width: 768px) {
  .choice-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
 .choice_test {
  width:100%;
  height:auto;
 }
  .choice-container .choice-info {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    box-sizing: border-box;
  }

  .choice-container .info-content {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }

  .indexbar-icon {
    width: 24px;
    height: 24px;
  }
}