/* -----------------------------------
   Grundlayout
----------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden; /* Kein horizontales Scrollen */
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center; /* Alles mittig */
}

/* -----------------------------------
   Container zentrieren
----------------------------------- */
.container {
    width: 100%;
    max-width: 1200px; /* Desktop-Breite */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* -----------------------------------
   Header / Logo
----------------------------------- */
header {
    width: 100%;
    display: flex;
    justify-content: center; /* Logo mittig */
    align-items: center;
}

/* -----------------------------------
   Sektionen
----------------------------------- */
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Text mittig */
    margin: 20px 0;
}

/* -----------------------------------
   Cards (Bereich-Card)
----------------------------------- */
.bereich-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    width: 100%;
    max-width: 300px; /* für Handy passend */
}

/* -----------------------------------
   Buttons
----------------------------------- */
button {
    margin: 10px 0;
    padding: 10px 20px;
}












/* Headline */
.card-image h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #5ab0e3;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

/* Text */
.card-image p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 2rem;
}



/* Animation */
@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.card-image {
  position: absolute;
  bottom: 32%;     /* deutlich höher */
  left: 12%;       /* leicht weiter rechts */
  background-color: rgb(255, 255, 255);
  padding: 3rem 4rem; /* mehr Raum */
  border-radius: 0;
  max-width: 560px;     /* breiter */
  text-align: left;
  
  font-family: 'Inter', 'Segoe UI', sans-serif;
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  animation: cardEnter 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}



.container,
.section,
.intro {
  max-width: 1200px;   /* oder dein gewünschtes Maß */
  margin-left: auto;
  margin-right: auto;  /* sorgt für exakte Zentrierung */
  padding-left: 20px;  /* innen Abstand, damit Text nicht klebt */
  padding-right: 20px;
  box-sizing: border-box;
}








/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* verhindert horizontales Scrollen */
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #222;
  scroll-behavior: smooth;
}

/* === CONTAINER SYSTEM === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === TYPOGRAPHY === */
h1, h2,  h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #ffffff;
}

p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}



/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {
  .card-image {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 2rem auto;
    max-width: 90%;
    text-align: center;
    transform: none;
    animation: cardEnter 1s ease-out forwards;
  }

  .card-image h2,
  .card-image p {
    text-align: center;
  }


  
}
/* global safe baseline */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { width:100%; height:100%; overflow-x:hidden; -webkit-font-smoothing:antialiased; }





/* Hintergrund bei Patienten/Mitarbeiter-Bereich entfernen */
#bereiche .kontakt-form,
#bereiche .intro,
#bereiche .container {
  background: transparent !important;
  box-shadow: none !important;
}


/* Entferne unnötiges Padding über der Section */
section[id] {
  scroll-margin-top: 80px; /* passt zur Höhe deiner festen Navbar */
}






/* Moderner Rahmen-Button */
.custom-button {
    background-color: rgb(0, 0, 0);               /* Ausgangsfarbe */
    color: rgb(255, 255, 255);                          /* Schriftfarbe */
    border: 2px solid black;               /* Schwarze, viereckige Umrandung */
    padding: 12px 28px;                    /* Innenabstand */
    font-size: 16px;                       
    font-family: 'Arial', sans-serif;     
    cursor: pointer;
    border-radius: 0;                      /* Viereckige Ecken */
    box-shadow: 0 4px 8px rgba(0,0,0,0.12); 
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover-Effekt */
.custom-button:hover {
    background-color: #0066cc;             /* Hellblau */
    color: rgb(0, 0, 0);
    border-color: #0066cc;                 /* Rahmenfarbe beim Hover */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* Klick-Effekt */
.custom-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* Optional: leichtes Glühen beim Hover */
.custom-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(0, 102, 204, 0.15);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.custom-button:hover::after {
    opacity: 1;
    transform: scale(1.2);
}
  #leistungen h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#review-sectio h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#text h2{
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#pati h2{
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

    #angebote h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
    #bewertungen h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

    #kontakt h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
    #faq h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
    #galerie h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#review-section h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222 !important;       /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
    #jobs h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
    #testimonial-section h2 {
  font-size: 2.5rem;
  font-weight: 800;            /* extra fett */
  color: #222222;              /* kräftiges Blau */
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grundzustand: alle Elemente leicht verschoben und unsichtbar */
.scroll-animate {
  opacity: 0;
  transform: translateX(-30px); /* kommt von links */
  transition: all 0.6s ease-out;
}

/* sichtbar: wird aktiviert wenn Element im Viewport ist */
.scroll-animate.visible {
  opacity: 1;
  transform: translateX(0);
}


/* Moderner viereckiger Button */
.normal-button {
    background-color: #222E39;         /* Ausgangsfarbe */
    color: #ffffff;                    /* Schriftfarbe */
    border: 1px solid #585858;         /* Schwarze Umrandung */
    padding: 12px 25px;              /* Innenabstand */
    font-size: 16px;                 /* Schriftgröße */
    font-family: 'Arial', sans-serif;/* Moderne Schriftart */
    cursor: pointer;                 /* Zeiger auf Pointer */
    border-radius: 0px;              /* Leicht abgerundete Ecken */
    text-decoration: none;           /* Keine Unterstreichung */
    transition: all 0.3s ease;       /* Sanfter Übergang */

}








 .normal-button:hover {
   
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}


/* Basisanimation: Fade + Slide von unten */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}





    /* --- FOOTER DESIGN --- */
    footer {
      background-color: #000;
      color: #fff;
      font-family: "Poppins", sans-serif;
      padding: 4rem 2rem 2rem;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding-bottom: 2rem;
    }

    .footer-column h4 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    .footer-column h4::after {
      content: "";
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 30px;
      height: 2px;
      background: #fff;
    }

    .footer-column p,
    .footer-column a {
      font-size: 0.9rem;
      color: #ccc;
      text-decoration: none;
      display: block;
      margin-bottom: 0.5rem;
      transition: color 0.3s ease;
    }

    .footer-column a:hover {
      color: #fff;
    }

    .footer-column i {
      margin-right: 8px;
    }

    /* --- FOOTER BOTTOM --- */
    .footer-bottom {
      text-align: center;
      margin-top: 2rem;
      color: #aaa;
      font-size: 0.85rem;
    }

    .footer-bottom span {
      color: #ff007f;
    }

    .footer-bottom p {
      margin: 0.3rem 0;
    }

    /* --- Responsive --- */
    @media (max-width: 768px) {
      .footer-container {
        text-align: center;
      }

      .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
      }
    }






body {
  overflow: auto;
}

/* Chrome, Edge, Safari */
body::-webkit-scrollbar {
  display: none;
}

/* Firefox */
body {
  scrollbar-width: none;
}





/* Layout */
.wx_leistungen-grid .content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
}
.content-wrapper .text { flex: 1 1 55%; min-width: 280px; }

/* Map wrapper */
.map-wrapper {
  flex: 0 0 45%;
  position: relative;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  min-height: 320px;
  background: #fff;
}

/* Placeholder */
.map-placeholder {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  background: linear-gradient(180deg,#fbfdff,#f2f7fb);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  gap: 0.75rem;
}
.map-placeholder p { margin: 0; color: #334155; }

/* Improved button */
.custom-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(180deg,#2b6ef6,#1f56d1);
  color: #fff;
  border: 0;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(31,64,128,0.18), inset 0 -2px 0 rgba(0,0,0,0.08);
  transition: transform .12s ease, box-shadow .12s ease;
}
.custom-button:focus { outline: 3px solid rgba(37,99,235,0.14); outline-offset: 2px; }
.custom-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,64,128,0.2); }
.custom-button[disabled] { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }

/* Small icon pseudo element via CSS (no extra markup) */
.custom-button::before {
  content: "📍";
  font-size: 1rem;
  line-height: 1;
}

/* Map embed */
.map-embed, .map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Fade class */
.map-embed.fade-in { opacity: 0; transition: opacity .45s ease-in-out; }
.map-embed.fade-in.show { opacity: 1; }

/* Mobile */
@media (max-width:900px) {
  .wx_leistungen-grid .content-wrapper { flex-direction: column; gap: 1.25rem; }
  .content-wrapper .text, .map-wrapper { flex: 1 1 100%; width:100%; }
  .map-wrapper { min-height: 300px; }
}
.map-wrapper {
  min-height: 480px; /* vorher 300px oder 320px */
}

.map-embed,
.map-embed iframe {
  height: 100%;
  min-height: 480px;
}
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  background-color: #ffffff;
  border: 1px solid #cbd5e1; /* Tailwind gray-300 */
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  color: #1e293b; /* Tailwind slate-800 */
  width: 100%;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb; /* blau beim Fokus */
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}


.wx_class_orig {
top: 0; left: 0; width: 100vw; background: linear-gradient(90deg, #0066cc 0%, #0066cc 100%); color: #fff; text-align: center; padding: 10rem; clip-path: polygon(0 6%, 100% 0, 100% 94%, 0% 100%); z-index: 1000; box-sizing: border-box; }
/* Headline im Banner */ .wx_class_orig h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.5px; margin: 0; position: relative; color: #ffffff; }
/* Responsive Anpassung */ @media (max-width: 640px) { .wx_class_orig { padding: 3.5rem 1rem; }
.wx_class_orig h1 { font-size: 2.2rem; }
.wx_class_orig h1::after { width: 60px; height: 3px; } } .wx_class_orig { position: relative;
margin-top: -40px; /* hebt den Banner im Layout leicht nach oben */ }





/* H2 direkt über dem Text, sichtbar und abgestimmt */
.content-wrapper { display:flex; gap:28px; align-items:flex-start; flex-wrap:wrap; }
.text-block { flex:1 1 560px; min-width:280px; }
.wx-title {
  color:#0066cc !important;
  margin:0 0 14px 0;
  font-size:1.9rem; /* größere, gut lesbare H2 */
  line-height:1.05;
  font-weight:800;
  letter-spacing:-0.01em;
}

/* kleine Feinheiten für Text und Button */
.text { color:var(--text-muted, #9aa3b2); font-size:1rem; line-height:1.55; }
.text .text-button {
  display:inline-block;
  margin-top:14px;
  padding:10px 14px;
  background:transparent;
  border:1px solid rgba(0,102,204,0.12);
  color:#0066cc !important;
  border-radius:6px;
  font-weight:700;
}

/* Map column */
.map-wrapper { width:340px; flex:0 0 340px; }
.map-placeholder { background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent); padding:16px; border-radius:8px; border:1px solid rgba(255,255,255,0.03); color:var(--text-muted,#9aa3b2); }
.map-embed.hidden { display:none; }
.map-embed iframe { width:100%; height:320px; border:0; border-radius:6px; }

/* Responsive: H2 über dem Text bleibt bei kleineren Viewports */
@media (max-width:900px) {
  .content-wrapper { flex-direction:column; }
  .map-wrapper { width:100%; flex-basis:auto; order:2; }
  .text-block { order:1; }
  .wx-title { font-size:1.5rem; }
}
.wx-title {
  color: #0066cc !important;
  font-weight: 800 !important;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important;
  line-height: 1.03 !important;
  display: block !important;
  max-width: 1200px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  -webkit-font-smoothing:antialiased !important;
}

/* allow wrapping on narrow viewports so the heading never becomes unreadable */
@media (max-width: 980px) {
  .wx-title {
    white-space: normal !important;
    font-size: clamp(1.25rem, 4.2vw, 1.6rem) !important;
    text-overflow: clip !important;
  }
}
.wx-title {
  color: #0066cc !important;
  font-weight: 800 !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  line-height: 1.1 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  margin: 0 0 14px 0 !important;
}.wx-title {
  color: #0066cc !important;
  font-weight: 800 !important;
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  display: block;
}
  /* Layout */
  .content-wrapper { display:flex; gap:28px; align-items:flex-start; flex-wrap:wrap; }
  .text-block { flex:1 1 620px; min-width:320px; }

  /* H2: Blau, wichtig, initial groß; JS skaliert bei Bedarf */
  .wx-title {
    color:#0066cc !important;
    font-weight:800 !important;
    font-size: clamp(22px, 3.6vw, 40px) !important;
    line-height:1 !important;
    margin:0 0 14px 0 !important;
    display:block !important;
    white-space:nowrap !important;          /* zwingt eine Zeile */
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    -webkit-font-smoothing:antialiased !important;
  }

  /* Text und Button */
  .text { color:var(--text-muted, #9aa3b2); font-size:16px; line-height:1.6; }
  .text .text-button {
    display:inline-block; margin-top:14px;
    padding:10px 14px; background:transparent;
    border:1px solid rgba(0,102,204,0.12); color:#0066cc; border-radius:6px; font-weight:700;
  }

  /* Map column */
  .map-wrapper { width:360px; flex:0 0 360px; }
  .map-placeholder { background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent); padding:16px; border-radius:8px; border:1px solid rgba(255,255,255,0.03); color:var(--text-muted,#9aa3b2); }
  .map-embed.hidden { display:none; }
  .map-embed iframe { width:100%; height:360px; border:0; border-radius:6px; }

  /* Responsive: auf kleinen Bildschirmen erlauben wir Umbruch */
  @media (max-width:980px) {
    .content-wrapper { flex-direction:column; }
    .map-wrapper { width:100%; flex-basis:auto; order:2; }
    .text-block { order:1; }
    .wx-title {
      white-space:normal !important;
      font-size: clamp(20px, 6.8vw, 30px) !important;
      text-overflow:clip !important;
    }
  }
/* Subheading wrapper, getrennt von der Section */
.wx-subheading-wrap {
  max-width: 1200px;
  margin: 28px auto 8px;
  padding: 0 20px;
}

/* Auffälliger, größerer Subheading-Wrapper */
.wx-subheading-wrap {
  max-width: 1200px;
  margin: 28px auto 12px;
  padding: 0 20px;
  display:block;
}

/* Deutlich größere H3 */
.wx-subheading {
  color: #0066cc !important;
  font-weight: 900;
  /* größer und responsiv: von 32px bis 64px */
  font-size: clamp(32px, 5.8vw, 64px) !important;
  line-height: 1.02;
  margin: 0;
  display: block;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* leichter text-shadow für bessere Lesbarkeit auf Bildern */


  transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .28s;
}

/* mehr Raum um die Überschrift auf großen Displays */
@media (min-width:1200px) {
  .wx-subheading-wrap { margin-top:40px; margin-bottom:18px; }
  .wx-subheading { font-size: clamp(40px, 5vw, 72px); }
}

/* Mobile: wieder umbrechen und lesbar bleiben */
@media (max-width: 980px) {
  .wx-subheading {
    white-space: normal;
    font-size: clamp(22px, 7.2vw, 34px) !important;
    text-overflow: clip;
    line-height: 1.12;
    text-shadow: none;
  }
  .wx-subheading-wrap { margin: 18px 12px; }
}

/* optional: entrance */
.wx-subheading-wrap { opacity:0; transform: translateY(8px); }
.wx-subheading-wrap.show { opacity:1; transform:none; transition: transform .42s ease, opacity .42s ease; }









.besuch-container {
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  align-items: center;      /* vertikal zentrieren, falls Höhe vorhanden */
  margin: 60px 0;           /* Abstand oben/unten */
}

.besuch-bild {
  max-width: 100%;          /* responsiv */
  height: auto;
  display: block;
}





  .praxis-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 2rem;
  }

  .praxis-bild {
    position: relative;
    flex: 1 1 450px;
    max-width: 550px;
  }

  .praxis-bild-inner {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    position: relative;
  }

  .praxis-bild img {
    width: 100%;
    display: block;
    transform-origin: center center;
    opacity: 1;
    transition: opacity 1s ease-in-out, transform 5s ease-in-out;
  }

  .zoom-anim {
    transform: scale(1.06);
  }

  .praxis-navigation {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
  }

  .nav-btn {
    background-color: #0a74da; /* dein Blau */
    border: none;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-btn:hover {
    background-color: #095bb0;
    transform: scale(1.05);
  }

  .praxis-text {
    flex: 1 1 400px;
  }

  .praxis-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  .praxis-text h2 span {
    color: #0a74da; /* Blau statt Rot */
    font-style: italic;
  }

  .praxis-text p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  /* Handy-Optimierung */
  @media (max-width: 768px) {
    .praxis-wrapper {
      flex-direction: column;
      gap: 2rem;
      margin: 3rem auto;
    }

    .praxis-text {
      text-align: center;
    }

    .praxis-text h2 {
      font-size: 1.7rem;
    }

    .praxis-navigation {
      bottom: 10px;
    }

    .nav-btn {
      width: 36px;
      height: 36px;
      font-size: 1.2rem;
    }
  }


  .mitarbeiter-bereich {
    padding: 5rem 2rem 4rem;
    background-color: #fff;
  }

  /* Überschrift im Praxis-Stil, aber in einer Zeile */
  .team-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .team-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #222222;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
  }

  .team-header h2 .blue-italic {
    color: #0078ff;
    font-style: italic;
    font-weight: 700;
    margin-left: 0.4rem;
  }

  .team-header p {
    color: #555;
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }

  /* Mitarbeiter-Karten */
  .mitarbeiter-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .mitarbeiter-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 360px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .mitarbeiter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  }

  .mitarbeiter-bild {
    width: 100%;
    height: 380px;
    overflow: hidden;
  }

  .mitarbeiter-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
  }

  .mitarbeiter-card:hover .mitarbeiter-bild img {
    transform: scale(1.08);
  }

  .mitarbeiter-text {
    padding: 1.2rem 1.5rem 2rem;
    text-align: center;
  }

  .mitarbeiter-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: #222222;
  }

  .mitarbeiter-text p {
    font-size: 1rem;
    margin: 0;
    color: #0078ff;
    font-weight: 500;
  }

  /* Responsive Anpassungen */
  @media (max-width: 1100px) {
    .mitarbeiter-card {
      width: 300px;
    }

    .mitarbeiter-bild {
      height: 320px;
    }
  }

  @media (max-width: 900px) {
    .mitarbeiter-wrapper {
      gap: 2rem;
    }

    .mitarbeiter-card {
      width: 260px;
    }

    .mitarbeiter-bild {
      height: 280px;
    }

    .mitarbeiter-text h3 {
      font-size: 1.2rem;
    }

    .mitarbeiter-text p {
      font-size: 0.9rem;
    }
  }

  @media (max-width: 600px) {
    .mitarbeiter-wrapper {
      flex-direction: column;
      align-items: center;
    }

    .team-header h2 {
      font-size: 2.1rem;
    }

    .team-header p {
      font-size: 0.95rem;
    }
  }

  section {
  scroll-margin-top: 100px; /* gleiche Höhe wie Navbar */
}
.cta {
  position: relative;
  z-index: 50;
}





/* ======== Kein Scrollen über den Rand ======== */
html, body {
  width: 100%;
  overflow-x: hidden !important; /* verhindert horizontales Scrollen */
}

/* Falls ein einzelnes Element zu breit ist, wird es automatisch abgeschnitten */
body * {
  max-width: 100vw;
  box-sizing: border-box;
}


#leistungen,
#galerie,
#jobs {
  scroll-margin-top: 120px;
}





/* Pfeil unten */
.scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: translateX(-50%) rotate(-45deg);
  animation: arrow-bounce 1.5s infinite;
  opacity: 0.9;
}

@keyframes arrow-bounce {
  0% { transform: translateX(-50%) rotate(-45deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-45deg) translateY(8px); }
  100% { transform: translateX(-50%) rotate(-45deg) translateY(0); }
}

/* Bild-Swipe/Parallax beim Scrollen */
.image-at-start {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease-out;
  will-change: transform;
}


.scroll-arrow {
  position: absolute;
  bottom: 60px;                     /* höher gesetzt */
  left: 50%;
  width: 28px;
  height: 28px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: translateX(-50%) rotate(-45deg);
  animation: arrow-bounce 1.5s infinite;
  opacity: 0.9;
  z-index: 10;
}

@keyframes arrow-bounce {
  0% { transform: translateX(-50%) rotate(-45deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-45deg) translateY(10px); }
  100% { transform: translateX(-50%) rotate(-45deg) translateY(0); }
}

/* Parallax / Hochwischen */
.image-at-start {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 0.05s linear;
  will-change: transform;
}
