/* Allgemein */

/* === Allgemein === */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
body {
  padding-top: 80px;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  overflow-x: hidden;
  color: #003366;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
  
/* Header mit Navigation */
/* Grundstruktur */

/* === Header === */

#mainHeader {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #003366; /* jetzt komplett blau */
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: white; /* damit Text auch hell bleibt */
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px 0px;
  background-color: transparent; /* entfernen, damit #mainHeader wirkt */
  color: white;
  
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 16px;
  transition: all 0.3s ease;
}

.logo {
  width: 130px;
  height: auto;
  transition: all 0.3s ease;
  padding-bottom: 20px;
}

#mainHeader.shrink .logo {
  width: 70px;
}
#mainHeader.shrink .logo-text-subline {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .line1 {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
}

.logo-text .line2 {
  font-size: 1.2rem;
  color: white;
}

.logo-text .line3 {
  font-size: 1.2rem;
  color: #cccccc;
}

.logo-text-subline {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media screen and (max-width: 1305px) {

.logo-text .line1 {
  font-size: 1rem;
  font-weight: bold;
  color: white;
}

.logo-text .line2 {
  font-size: 0.8rem;
  color: white;
}

.logo-text .line3 {
  font-size: 0.8rem;
  color: #cccccc;
}
}






/* === Navigation & Dropdown Menü === */

/* === Navigation & Menü === */

.burger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin-right: 30px;
}
.main-nav {
  background-color: transparent;
  justify-content: flex-end;
  align-self: flex-end;
  padding-right: 50px;
  
  
}

.main-nav .menu {
  display: flex;
  justify-content: flex-end;
  
  padding: 0px 60px 10px 0;
  list-style: none;
  margin: 0;
}

.main-nav .menu li {
  position: relative;
  margin: 0 15px;
}

.main-nav .menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.28rem;
  transition: color 0.2s;
}

.main-nav .menu a:hover {
  color: #00aaff;
}

.menu li.active a {
  color: #00aaff;
  border-bottom: 2px solid #00aaff;
}

/* Media Query für kleine Displays (unter 950px z. B.) */

/* === Media Queries – Mobilgeräte === */

@media screen and (max-width: 1100px) {

/* === Navigation & Menü === */

  .burger {
    display: block;
    margin-left: auto; /* Push nach rechts */
  }
  

  .main-nav {
    display: none;
    position: absolute;
    top: 100%; /* Direkt unter dem Header */
    left: 0;
    width: 100%;
    background-color: #003366;
    z-index: 999;
  }
  .hero-leistung-btn {
    font-size: 1.2rem;      /* kleinere Schrift */
    padding: 14px 20px;     /* optional etwas schmaler */
  }

  

  .main-nav.active {
    display: block;
  }

  .main-nav .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

   .main-nav .menu li {
    margin: 12px 0;
    width: 100%;
    text-align: right;
    padding-right: 20px;
     border-bottom: 1px solid rgba(255,255,255,0.2); /* Linie */
  }
    /* Dropdowns im mobilen Menü */
  .main-nav .menu li ul {
   
    display: none;
    width: 100%;
    background-color: #003366;
   
    padding-left: 10px;
    margin-top: 5px;
    z-index: 1;
  }
  .main-nav .menu li.open > ul {
  display: block;
}
  .main-nav .menu li ul li {
    border-top: 1px solid #0055aa;
    padding: 10px 0;
     padding-left: 15px;
     color: white;
  }
  .main-nav .menu li ul li a {
    color: white;
    font-size: 1rem;
  }
  .main-nav .menu li:last-child {
  border-bottom: none;
}


  .main-nav .menu li a {
    font-size: 1.2rem;
    display: inline-block;
    padding: 10px 0;
    color: rgb(255, 255, 255);
    transition: all 0.3s ease;
  }
   .main-nav .menu li a:hover {
    color: #00aaff;
    
    transform: translateX(-5px); /* leicht nach links gleiten */
  }

   .submenu {
    display: flex;
    background-color: #003a66;
    
    padding: 0;
    border-radius: 0 0 8px 8px;
    animation: slideDown 0.3s ease forwards;
  }

  /* Zeige Submenu bei Klick */
  .menu li.open .submenu {
    display: block;
  }
  

 
 
  .submenu li:last-child {
    border-bottom: none;
  }

 

  
  /* Make the main dropdown items (like "Sprechzeiten" and "Team") fully blue */
.main-nav .menu > li > a {
  background-color: #002b4e;
  color: white;
  padding: 12px 16px;
  border-radius: 6px;
  width: 100%;
  display: block;
}

/* On hover: slightly lighter blue */
.main-nav .menu > li > a:hover {
  background-color: #004f82;
  color: white;
}

/* Improve submenu dropdown look */
.main-nav .menu li.open > .submenu {
  display: block;
  background-color: #003a66;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
  padding: 0;
}

/* Submenu items (z. B. Öffnungszeiten) */
.submenu li {
  background-color: #003a66;
  color: white;
  padding: 10px 24px;
  font-size: 0.95rem;
  transition: background 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   box-sizing: border-box;
   text-align: right;     
}


/* Submenu hover effect */
.submenu li:hover {
  background-color: #005a99;
}

/* Submenu anchor links */
.submenu li a {
  color: white; 
  text-decoration: none;
  display: block;
}

}

/* === Gemeinsames Dropdown-Styling === */
.menu li.dropdown .submenu {
  display: none;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  padding: 10px 0;
  list-style: none;
  min-width: 220px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
}

.menu li.open .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  max-height: 1000px;
}

/* Unterpunkte */
.menu li .submenu li {
  padding: 10px 20px;
  border-bottom: 1px solid #003366;
  padding-right: 50px;
  color: #003366;
  font-family: Arial;
}

.menu li .submenu li:last-child {
  border-bottom: none;
}

.menu li .submenu li a {
  color: #003366;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding-right: 24px
}

.menu li .submenu li a:hover {
  background-color: #f0f0f0;
}



/* === Unterpunkte im Dropdown === */
.menu li ul li a {
  display: block;
  padding: 12px 16px;
  color: #003a66;
  text-decoration: none;
  font-size: 1rem;
  font-weight: normal;
}

.menu li ul li a:hover {
  background-color: #0055aa;
}

/* === Optional: Sprechzeiten-Design extra leicht machen === */
.menu li ul.sprechzeiten {
  background-color: white;
  color: #003366;
  border-radius: 10px;
  min-width: 220px;
}

.menu li ul.sprechzeiten li {
  padding: 8px 16px;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  
}

.menu li ul.sprechzeiten li:last-child {
  border-bottom: none;
}

/* Body Abstand für fixed Header */

/* === Allgemein === */

body {
  padding-top: 140px;
}


/* Hauptbereich – 
 SECTION mit Leistungs-Buttons */

/* === Hero Section === */

.hero-section {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  padding: 50px 100px 100px 30px;
  gap: 60px;
  background-color: #f9f9f9;
  animation: fadeInUp 1.4s ease-out;
}

.hero-text {
  flex: 1 1 40%;
  max-width: 600px;
  padding-bottom: 40px;
}

/* Leistungs-Button-Container */
.hero-buttons {
  display: flex;
  align-self: flex-end;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
}

/* Einzelne Buttons */
.hero-leistung-btn {
  display: flex;
  height: 30px;
  width: auto;
  white-space: normal;   
  word-break: break-word;
  
  
  gap: 30px;
  background-color: white;
  color: #003366;
  border: 1px solid #003366;
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.hero-leistung-btn i {
  font-size: 1.8rem;
  color: #003366;
  transition: color 0.3s ease;
}

.hero-leistung-btn:hover {
  background-color: #003366;
  color: white;
  transform: translateX(5px);
}

.hero-leistung-btn:hover i {
  color: white;
}

.hero-image {
  flex: 1 1 400px;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 105%;
  padding-left: 30px;
  max-width: 2000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.04);
}

/* Responsive für Mobilgeräte */

/* === Media Queries – Mobilgeräte === */

@media screen and (max-width: 1000px) {

/* === Hero Section === */

  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 90%;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-image img {
    max-width: 100%;
  }
}

/* Animation */

/* === Animationen === */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s ease-out, transform 2s ease-out;
  transition-delay: 0.3s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Animationen */
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
.zoom-fade {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.zoom-fade.visible {
  opacity: 1;
  transform: scale(1);
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/*Standorte*/
#termin::before {
  content: "";
  display: block;
  height: 150px; /* entspricht ungefähr der Headerhöhe */
  margin-top: -120px;
  visibility: hidden;
}




/* === Standorte === */

.standorte h2 {
  text-align: center;

  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 50px;
}

.standort-boxen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.standort {
  background-color: #f0f6fb;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px; /* gleiche Höhe für beide Boxen */
  transition: transform 0.3s ease;
}
.standort:hover {
  transform: translateY(-5px);
}

.standort h3 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
}

.standort p {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 20px;
}

/* Team */

/* === Team === */

.team-section {
  padding: 200px 40px;
  background-color: #ffffff;
  text-align: center;
}

.team-section h2 {
  font-size: 3rem;
  color: #003366;
  margin-bottom: 10px;
}

.team-section p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 50px;
}



.team-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  max-width: 300px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: white;
}


.team-card h3 {
  font-size: 1.6rem;
  color: #003366;
  margin-top: 10px;
}

.team-button {
  display: inline-block;
  padding: 20px 40px;
  font-size: 1.4rem;
  background-color: #003366;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.team-button:hover {
  background-color: #0055aa;
}


/* Zitat */

/* === Zitat === */

.zitat {
  background-color: #003366;
  color: white;
  padding: 80px 40px;
  text-align: center;
  font-style: italic;
}

.zitat p {
  margin-top: 20px;
  font-style: normal;
  font-weight: 300;
}

/* Footer */

/* === Footer === */

.footer {
  background-color: #003366;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 60px 30px;
  font-size: 0.95rem;
}
.footer a{
  color:white;
  
}

/* Kontaktseite */

/* === Kontaktformular === */

.kontakt-modern {
  background-color: #f5faff;
  padding: 100px 20px;
}

.kontakt-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

.kontakt-bild img {
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.kontakt-inhalt {
  flex: 1 1 500px;
  color: #003366;
}
.adressen-grid {
  display: flex;
  flex-direction: row;
  gap: 60px;
 
}

.kontakt-inhalt h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.kontakt-inhalt p {
  font-size: 1.2rem;
   color: #003366;
}

.kontakt-infos h3 {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #003366;
}

.kontakt-infos p {
  font-size: 1rem;
  margin: 8px 0;
  line-height: 1.6;
}

.kontakt-infos a {
  color: #003366;
  text-decoration: none;
}

.kontakt-formular {
  margin-top: 30px;
  background-color: #eaf4fc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.kontakt-formular .form-group {
  margin-bottom: 18px;
}

.kontakt-formular label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #003366;
}

.kontakt-formular input,
.kontakt-formular textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
}

.kontakt-formular button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.kontakt-formular button:hover {
  background-color: #0055aa;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .kontakt-container {
    flex-direction: column;
    align-items: center;
  }

  .kontakt-bild img {
    max-width: 90%;
  }

  .kontakt-inhalt {
    max-width: 90%;
  }
}

.erfolg {
  margin-top: 20px;
  color: green;
  font-weight: bold;
}

/* === Animationen === */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* === Buttons & Floating === */

.termin-button {
  display: inline-block;
  background-color: #003366;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.termin-button:hover {
  background-color: #0055aa;
}

/*über uns seite*/

/*Info Prof. Bas*/


/* === Über uns === */

#profbas::before {
  content: "";
  display: block;
  height: 160px; /* exakt so hoch wie dein fixer Header */
  margin-top: -50px;
  visibility: hidden;
}


.prof-section, .vita-section, .awards-section, .video-section {
  padding: 20px ;
  max-width: 1200px;
  margin: auto;
  background: #fefefe;
}

.prof-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
}

.prof-image img {
  width: 300px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.prof-info {
  flex: 1;
}

.prof-info h1 {
  font-size: 2.6rem;
  color: #003366;
  margin-bottom: 20px;
}

.prof-info .intro {
  font-style: normal;
  font-size: 1.5rem;
  color: #444;
}
.prof-info .unter-intro {
  font-style: oblique;
  font-size: 1.4rem;
  color: #301f8f;
}

.vita-list {
  font-style: normal;
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 1.4rem;
  color: #444;
}
#profbas {
  scroll-margin-top: 140px; /* Höhe deines fixierten Headers */
}

/*publiaktion*/

/* === Publikation === */

.publikation-section {
  padding: 80px 40px;
  background-color: #f7faff;
}

.publikation-container {
  max-width: 1200px;
  margin: auto;
}

.publikation-container h2 {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 30px;
}

.publikation-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.publikation-img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.publikation-text {
  flex: 1;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.7;
}

.lesen-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #003366;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.lesen-button:hover {
  background-color: #0055aa;
}


/*Info Team */

/* === Über uns === */

.ueberuns-section {
  padding: 100px 40px;
  background-color: #f9f9f9;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease-out;
}

.ueberuns-section h1 {
  font-size: 3rem;
  color: #003366;
  margin-bottom: 20px;
}

.ueberuns-section p {
  padding: 40px 40px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

/* === Team === */

.team-card-ueberuns img {
  width: 290px;
  height: 290px;
  
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: white;
}
.team-card-ueberuns h3 {
  font-size: 1.4rem;
  color: #003366;
  margin-bottom: 10px;
}
.team-grid {
  padding: 100px 40px;
  max-width: 1600px;  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}


/*Button umm hochzugehen*/

/* === Buttons & Floating === */

#topBtn {
  display: none; /* versteckt standardmäßig */
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 22px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#topBtn:hover {
  background-color: #0055aa;
  transform: scale(1.1);
}


.floating-buttons {
  position: fixed;
  bottom: 40px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  background: linear-gradient(135deg, #002b4e, #00aabb);
  color: white;
  padding: 14px 20px;
  border-radius: 0 12px 12px 0;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 90vw;
  transition: all 0.3s ease;
}

.floating-btn i {
  font-size: 1.5rem;
}

.floating-btn span {
  transition: opacity 0.3s ease, width 0.3s ease, margin-left 0.3s ease;
  white-space: nowrap;
}

/* MOBILE – nur Icons anzeigen */

/* === Media Queries – Mobilgeräte === */

@media screen and (max-width: 600px) {

/* === Buttons & Floating === */

  .floating-btn {
    padding: 12px;
    justify-content: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: unset;
  }

  .floating-btn span {
    opacity: 0;
    width: 0;
    margin-left: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .floating-btn:hover {
    border-radius: 0 12px 12px 0;
    width: auto;
    padding: 12px 16px 12px 12px;
  }

  .floating-btn:hover span {
    opacity: 1;
    width: auto;
    margin-left: 8px;
    pointer-events: auto;
  }
}



/* === Media Queries – Mobilgeräte === */

@media screen and (max-width: 768px) {

/* === Allgemein === */

  body {
    padding-top: 150px;
  }


/* === Header === */

  .topbar {
    flex-direction: column;
    padding: 10px 20px;
    text-align: center;
  }

  .logo {
    width: 100px;
    padding-bottom: 10px;
  }

  .logo-text .line1{
    font-size: 1rem;
  }
  .logo-text .line2,
  .logo-text .line3 {
    font-size: 0.8rem;
  }


/* === Hero Section === */

  .hero-section {
    padding: 40px 20px;
    gap: 30px;
  }

  .hero-text {
    max-width: 100%;
    padding: 0 10px;
  }

  .hero-buttons {
    gap: 20px;
  }

  

  

  .hero-image img {
    padding-left: 0;
    width: 100%;
    border-radius: 10px;
  }


/* === Standorte === */

  .standort {
    width: 70%;
    height: auto;
    padding: 30px 20px;
  }


/* === Kontaktformular === */

  .kontakt-section {
    padding: 100px 20px;
  }


/* === Team === */

  .team-grid {
    padding: 40px 20px;
    gap: 20px;
  }

  .team-card img,
  .team-card img.portrait {
    max-width: 100%;
    height: auto;
  }
  .team-button {
  
  padding: 15px 30px;
  font-size: 1.2rem;
  }
  


/* === Über uns === */

  .ueberuns-section {
    padding: 60px 20px;
  }


/* === Team === */

  .team-card-ueberuns img {
    width: 100%;
    max-width: 280px;
  }


/* === Zitat === */

  .zitat {
    padding: 40px 20px;
    font-size: 1.2rem;
  }


/* === Footer === */

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 40px 20px;
  }

  .prof-container {
    flex-direction: column;
    align-items: center;
  }

  .prof-image img {
    width: 90%;
    max-width: 300px;
  }

  .prof-info {
    padding: 0 10px;
  }

  .vita-list {
    font-size: 1.1rem;
  }

  .publikation-content {
    flex-direction: column;
    align-items: center;
  }

  .publikation-img {
    max-width: 100%;
  }


/* === Buttons & Floating === */

  .floating-btn {
    font-size: 0.9rem;
  }
}

/* === Media Queries – Mobilgeräte === */

@media screen and (max-width: 400px) {

/* === Hero Section === */

  .hero-leistung-btn {
    font-size: 0.9rem;
    padding: 15px 20px;
    gap: 16px;
  }
  .hero-leistung-btn i {
    font-size: 1.4rem;
  }

  
}
@media screen and (max-width: 450px) {
  .hero-leistung-btn {
    font-size: 1rem;      /* kleinere Schrift */
    padding: 14px 20px;     /* optional etwas schmaler */
  }

}
/* === Navigation & Menü === */
.main-nav .menu li ul {
  animation: slideDown 0.3s ease-out;
  border-radius: 8px;
  overflow: hidden;
}


/* === Animationen === */

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bewertungen Carusel */
.bewertungen-slider {
  max-width: 1300px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.bewertungen-slider h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #003366;
}

.bewertung-slide {
  background: #f5faff;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px;
  flex: 0 0 auto;
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
}
.bewertung-slide h3 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
@media (max-width: 420px) {
  .bewertung-slide {
    padding: 20px;
    height: auto;
  }
}
.bewertung-slide small {
  color: #777;
  font-size: 0.9rem;
}

.bewertung-slide .sterne {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #ffaa00;
}

.bewertung-slide p {
  font-size: 1rem;
  color: #333;
  min-height: 60px;
  overflow: hidden;
}

.bewertung-button {
  display: inline-block;
  margin-top: 30px;
  background-color: #003366;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.bewertung-button:hover {
  background-color: #0055aa;
}



.bewertung-hinzufuegen {
  background-color: #f5faff;
  padding: 100px 20px;
  max-width: 600px;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.bewertung-hinzufuegen h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 20px;
}

.bewertung-formular label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #003366;
}

.bewertung-formular input,
.bewertung-formular select,
.bewertung-formular textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 20px;
}

.bewertung-formular button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bewertung-formular button:hover {
  background-color: #0055aa;
}

.swiper-button-next,
.swiper-button-prev {
  color: #003366;
  width: 44px;
  height: 44px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #0055aa;
}
.swiper {
  width: 100%;
  max-width: 1200px;       /* dein Maximalbereich */
  margin: 0 auto;          /* zentriert den ganzen Swiper im Viewport */
  box-sizing: border-box;
}

.swiper-slide {
  height: auto;       /* Slides passen sich dem Inhalt an */
}


/* Impressum */
/* Impressum-Seite */
.impressum-seite {
  background-color: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.impressum-inhalt {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.impressum-inhalt h1 {
  font-size: 2.4rem;
  color: #003366;
  margin-bottom: 30px;
  text-align: center;
}

.impressum-inhalt h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  color: #003366;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.impressum-inhalt p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-top: 16px;
}

.impressum-inhalt a {
  color: #0055aa;
  text-decoration: none;
}

.impressum-inhalt a:hover {
  text-decoration: underline;
}


.error-container {
  text-align: center;
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.error-container h1 {
  font-size: 3rem;
  color: #003366;
  margin-bottom: 20px;
}

.error-container p {
  font-size: 1.3rem;
  color: #444;
  margin-bottom: 20px;
}

.error-button {
  display: inline-block;
  background-color: #003366;
  color: white;
  padding: 12px 24px;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  margin: 10px 5px;
  transition: background-color 0.3s ease;
}

.error-button:hover {
  background-color: #00509e;
}
/* Seiteninhalte */
.section-content {
  background-color: #f7f9fb;
  padding: 60px 20px;
}

.section-content .container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.section-content h1 {
  color: #003366;
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.section-content h2 {
  color: #00509e;
  margin-top: 40px;
  font-size: 1.8rem;
}

.section-content h3 {
  color: #004080;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.section-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}

.section-content ul {
  margin-left: 20px;
  list-style: disc;
  margin-bottom: 20px;
}

.section-content a {
  color: #0055cc;
  text-decoration: underline;
}

.section-content a:hover {
  color: #002b80;
}

/* Video eingebettet */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}