/* --- MOBILE FIRST ANSATZ --- */
:root {
  --praxis-gruen: #95C121;
  --praxis-gruen-hell: #b9e05b;
  --praxis-gruen-dunkel: #6b8e15;
  --kontrast-schwarz: #181d0f;
  --kontrast-weiss: #fff;
  --kontrast-grau: #f7f9fb;
  --button-shadow: 0 4px 18px rgba(149,193,33,0.15);
  --button-shadow-hover: 0 8px 28px rgba(149,193,33,0.22);
}

/* Reset für alle Elemente */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--kontrast-grau);
  color: var(--kontrast-schwarz);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

/* --- ÜBERARBEITETE NAVIGATION FÜR ALLE GERICHTE --- */

/* Standard-Styles für Header und Overlay-Navigation (Mobile-First-Ansatz, gilt dann für alle Bildschirmgrößen) */
.site-header {
  position: fixed; /* Von absolute zu fixed geändert, damit er beim Scrollen sichtbar bleibt */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* Höherer z-index, damit er über allem bleibt */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2em 3vw;
  background: rgba(255, 255, 255, 0.15); /* Leicht transparenter Hintergrund */
  backdrop-filter: blur(8px); /* Glaseffekt */
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease; /* Übergang für Scrolleffekt */
}

/* Header-Stil ändern, damit er auch beim Scrollen transparent bleibt */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.15); /* Bleibt genauso transparent wie vorher */
  border-bottom: 1px solid rgba(255, 255, 255, 0.25); /* Etwas stärkere Abgrenzung */
  box-shadow: 0 3px 25px rgba(0, 0, 0, 0.15); /* Stärkerer Schatten für Tiefe */
}

/* Textfarbe im Header bleibt auch beim Scrollen weiß */
.site-header.scrolled .welcome-text {
  color: white; /* Bleibt weiß statt auf Dunkelgrün zu wechseln */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Schatten bleibt erhalten */
  -webkit-text-stroke: 1px var(--praxis-gruen); /* Grüne Outline bleibt erhalten */
}

/* Menü-Toggle behält auch beim Scrollen sein Aussehen */
.site-header.scrolled .menu-toggle[data-menu-toggle] {
  background: rgba(255, 255, 255, 0.15) !important; /* Bleibt transparent */
  border: 2px solid var(--praxis-gruen) !important; /* Grüner Rahmen bleibt */
}

.site-header.scrolled .menu-toggle[data-menu-toggle] .menu-icon {
  color: white !important; /* Bleibt weiß */
  -webkit-text-stroke: 1px var(--praxis-gruen) !important; /* Grüne Outline bleibt */
}

.logo-link { display: block; }

.logo {
  height: auto !important;
  width: auto !important;
  max-width: 280px !important; /* Vergrößert von 220px */
  max-height: 80px !important; /* Vergrößert von 60px */
  transition: all 0.3s ease;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Leichter Schatten für besseren Kontrast */
}

.welcome-text {
  flex: 1;
  text-align: center;
  font-size: 1.4em; /* Vergrößert von 1.2em */
  color: white; /* Helle Farbe für besseren Kontrast */
  font-weight: 600; /* Etwas fetter für bessere Sichtbarkeit */
  margin: 0 20px;
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Dunklerer Schatten */
  -webkit-text-stroke: 1px var(--praxis-gruen); /* Grüne Outline für den Text */
  letter-spacing: 0.5px; /* Etwas mehr Abstand zwischen Buchstaben für bessere Lesbarkeit */
}

/* Wenn Navigation aktiv, verschwindet der Willkommenstext */
.nav-active .welcome-text {
  opacity: 0;
}

/* Hamburger-Menü: soll immer angezeigt werden */
.menu-toggle[data-menu-toggle] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 44px !important;
  height: 44px !important;
  margin-left: 20px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.15) !important; /* Leicht transparenter Hintergrund */
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border: 2px solid var(--praxis-gruen) !important; /* Grüner Rahmen */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  position: relative !important;
  overflow: visible !important;
}

.menu-toggle[data-menu-toggle] .menu-icon {
  color: white !important;
  font-size: 20px !important;
  transition: transform 0.3s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  line-height: 1 !important;
  -webkit-text-stroke: 1px var(--praxis-gruen) !important; /* Grüne Outline */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.menu-toggle[data-menu-toggle]:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.nav-active .menu-toggle[data-menu-toggle] {
  background: rgba(255, 255, 255, 0.2) !important;
}

.nav-active .menu-toggle[data-menu-toggle] .menu-icon {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

/* Entferne die alten Regeln, um Konflikte zu vermeiden */
.menu-toggle:not([data-menu-toggle]) i {
  display: inline-block;
}

/* Overlay-Navigation: bleibt als Fixed-Panel über der Seite, egal welche Bildschirmgröße */
.main-nav {
  position: fixed;
  top: 0;
  right: -320px; /* Unsichtbar außerhalb des Bildschirms */
  width: 320px;
  height: 100vh;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow-y: auto;
  padding-top: 80px;
}

/* Wenn Klasse nav-active auf body vorhanden, fährt die Navigation herein */
.nav-active .main-nav {
  right: 0;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em;
  list-style: none;
}

.nav-links li {
  margin: 0.8em 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s ease;
  transition-delay: calc(var(--i) * 0.08s);
}

.nav-active .nav-links li {
  opacity: 1;
  transform: translateX(0);
}

.nav-links a {
  display: block;
  font-size: 1.2em;
  color: var(--kontrast-schwarz);
  text-decoration: none;
  font-weight: 500;
  padding: 0.8em 1.2em;
  border-radius: 30px;
  background: rgba(255,255,255,0.7);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(149,193,33,0.2);
  width: 100%;
}

.nav-links a:hover, .nav-links a:active {
  background: var(--praxis-gruen);
  color: white;
  box-shadow: var(--button-shadow);
  transform: translateY(-3px);
}

/* --- Desktop-spezifische Anpassungen entfernen, damit das Toggle-Verhalten immer gilt --- */
@media (min-width: 769px) {
  /* Stelle sicher, dass auch im Desktop der Menübutton und Overlay-Navigation genutzt wird */
  .menu-toggle { display: block !important; }
  .main-nav {
    position: fixed !important;
    right: -320px !important;
  }
  .nav-active .main-nav {
    right: 0 !important;
  }
}

/* Hero-Bereich für Mobilgeräte */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh; /* Etwas höher, um mehr vom Bild zu zeigen */
  min-height: 550px;
  max-height: 700px;
  overflow: hidden;
  margin-top: 0; /* Kein Abstand mehr nötig */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../media/shop/layout/stock/zahnaerztin-stuttgart-dr-gerber-header-start-768x550.jpg') center center no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  z-index: 2;
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  padding: 1.5em;
  z-index: 3;
  color: white;
  text-align: left;
}

.hero-content h1 {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 0.8em;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1em;
  margin-bottom: 1.5em;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
  opacity: 0.95;
}

.hero-btn {
  display: inline-block;
  padding: 0.8em 1.8em;
  background: var(--praxis-gruen);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  border: none;
  font-size: 1em;
  text-align: center;
}

.hero-btn:hover, .hero-btn:active {
  background: var(--praxis-gruen-dunkel);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.jobs-btn {
  position: absolute;
  right: 30px;
  bottom: 30px; /* Weiter nach unten verschoben - näher am unteren Rand */
  background: rgba(149, 193, 33, 0.65); /* Transparenter gemacht */
  color: white;
  padding: 15px 10px;
  text-decoration: none;
  border-radius: 50%; /* Rundes Design */
  z-index: 5;
  width: 170px;
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.2),
    0 6px 6px rgba(0,0,0,0.1),
    inset 0 -5px 10px rgba(0,0,0,0.1),
    inset 0 5px 10px rgba(255,255,255,0.3); /* 3D Effekt mit mehreren Schatten */
  transition: all 0.3s ease;
  text-align: center;
  font-size: 0.95em;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.3);
  transform: perspective(500px) rotateX(5deg); /* Leichter 3D-Effekt */
  line-height: 1.2;
  word-break: break-word;
}

.jobs-btn i {
  display: block;
  font-size: 2em;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2)); /* Text-Schatten für 3D-Effekt */
}

.jobs-btn strong {
  text-shadow: 0 2px 3px rgba(0,0,0,0.2); /* Text-Schatten für 3D-Effekt */
  display: block;
  margin-bottom: 3px;
  font-size: 1.1em;
}

.jobs-btn br + text,
.jobs-btn br ~ text {
  font-size: 0.9em;
}

.jobs-btn:hover, .jobs-btn:active {
  transform: perspective(500px) rotateX(0deg) translateY(-5px) scale(1.05);
  box-shadow: 
    0 15px 30px rgba(0,0,0,0.25),
    0 8px 10px rgba(0,0,0,0.15),
    inset 0 -5px 10px rgba(0,0,0,0.1),
    inset 0 5px 10px rgba(255,255,255,0.4);
  background: rgba(149, 193, 33, 0.9); /* Etwas weniger transparent beim Hover */
}

/* Desktop-Styles */
@media (min-width: 769px) {
  .site-header {
    padding: 1em 3vw;
  }
  
  .logo {
    max-width: 280px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  .welcome-text {
    display: block;
    flex: 1;
    text-align: center;
    font-size: 1.4em;
    color: white; /* Helle Farbe für besseren Kontrast */
    font-weight: 500;
    margin: 0 40px;
    white-space: nowrap;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Schatten für bessere Lesbarkeit */
  }
  
  .nav-active .welcome-text {
    opacity: 0;
  }
  
  /* Desktop-Navigation */
  .menu-toggle {
    display: block; /* Hamburger-Menü anzeigen */
    width: 50px;
    height: 50px;
    margin-left: 20px;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -320px; /* Ausgeblendet nach rechts */
    width: 320px;
    height: 100vh;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: none;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 2em;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  }
  
  .nav-active .main-nav {
    right: 0; /* Eingeblendet */
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
    list-style: none;
  }
  
  .nav-links li {
    margin: 1em 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
    transition-delay: calc(var(--i) * 0.1s);
  }
  
  .nav-active .nav-links li {
    opacity: 1;
    transform: translateX(0);
  }
  
  .nav-links a {
    font-size: 1.1em;
    padding: 0.6em 1.2em;
    min-width: 200px;
    text-align: center;
    background: rgba(255,255,255,0.7);
    border-radius: 30px;
    border: 1px solid rgba(149,193,33,0.2);
  }
  
  .nav-links a:hover, .nav-links a:active {
    background: var(--praxis-gruen);
    color: white;
    box-shadow: var(--button-shadow);
    transform: translateY(-3px);
  }
  
  .hero-section {
    height: 85vh;
    min-height: 600px;
    margin-top: 80px;
  }
  
  .hero-bg {
    background: url('../media/shop/layout/stock/zahnaerztin-stuttgart-dr-gerber-header-start-1920x1080.jpg') center center no-repeat;
    background-size: cover;
  }
  
  .hero-content {
    max-width: 600px;
    left: 10%;
  }
  
  .hero-content h1 {
    font-size: 2.5em;
  }
  
  .hero-content p {
    font-size: 1.2em;
  }
}

/* Alle Container auf volle Breite setzen */
.site-header, 
.hero-section, 
.intro, 
.feature-grid, 
.last-text-block, 
.site-footer {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero-section {
  width: 100vw;
  max-width: 100vw;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* --- INTRO-BEREICH MIT TEXT UND FOTOS NEBENEINANDER --- */
.intro {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 2em 3vw;
  background: #fff;
  margin: 0;
  margin-bottom: 0.2cm; /* 0,2 cm Abstand nach unten */
  box-sizing: border-box;
  position: relative; /* Für absolute Positionierung des Jobs-Buttons */
}

.intro-content {
  display: flex;
  flex-direction: row;
  gap: 2.5em;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch; /* Stellt sicher, dass alle Kinder die gleiche Höhe haben */
}

.intro-gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Verteilt die Bilder gleichmäßig */
  gap: 1em;
  min-width: 200px;
  height: auto; /* Lässt die Höhe durch den Inhalt bestimmen */
}

.intro-img-card {
  background: var(--kontrast-weiss);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  cursor: pointer;
  height: calc((100% - 1em) / 2); /* Exakt die Hälfte der Höhe minus Abstand */
}

.intro-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), filter 0.3s;
}

.intro-text {
  flex: 3;
  font-size: 1.14em;
  line-height: 1.7;
  position: relative;
  background-image: url('../media/shop/layout/home/zahnaerztin-stuttgart-dr-gerber-content-start-01.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 1.8em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.intro-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(146, 191, 9, 0.6), rgba(107, 142, 21, 0.7));
  backdrop-filter: blur(1px);
  z-index: 0;
  pointer-events: none;
}

.intro-text p {
  margin-bottom: 1em;
  position: relative;
  z-index: 1;
}

.intro-text p span {
  font-weight: 600;
  color: var(--praxis-gruen);
}

.intro-text a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.intro-text a:hover {
  color: var(--praxis-gruen);
}

.intro-img-card:hover {
  transform: translateY(-8px) scale(1.06) rotate(-2deg);
  box-shadow: 0 16px 48px rgba(149,193,33,0.22), 0 2px 20px rgba(0,0,0,0.10);
}

.intro-img-card:hover img {
  transform: scale(1.09) rotate(2deg);
  filter: brightness(1.08) saturate(1.15);
}

/* Responsive Anpassungen für die Intro-Section */
@media (max-width: 900px) {
  .intro-content {
    flex-direction: column;
  }
  
  .intro-gallery {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    margin-top: 1.5em;
  }
  
  .intro-img-card {
    height: 200px;
    width: calc(50% - 0.5em);
  }
}

/* Intro-Bereich für Mobile optimiert - OHNE die Desktop-Ansicht zu verändern */
@media (max-width: 991px) {
  /* Mobile-only Elemente einblenden */
  .mobile-only {
    display: block;
  }
  
  .intro {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .intro-content {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 1.2rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  
  .intro-text {
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: transparent;
  }
  
  /* Modernes variierende Textgrößen und Styles für die Absätze */
  .intro-text p:first-child {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }
  
  .intro-text p:nth-child(2) {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  
  .intro-text p:nth-child(4) {
    font-size: 0.97rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7), transparent);
    padding: 0.8rem 1rem 0.8rem 0;
    border-radius: 8px 0 0 8px;
    margin-bottom: 1.2rem;
  }
  
  .intro-text p:nth-child(5) {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }
  
  /* Styling für das eingefügte Bild mit abgerundeten Ecken */
  .intro-img-inserted.mobile-only {
    width: calc(100% + 1rem);
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    height: 180px;
    background: url('../media/shop/layout/home/zahnaerztin-stuttgart-dr-gerber-content-start-02.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
  }
  
  .intro-img-inserted.mobile-only::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  }
  
  /* Hervorgehobene Textteile modern gestalten */
  .intro-text span {
    color: var(--praxis-gruen);
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-block;
    border-bottom: 2px solid rgba(149, 193, 33, 0.3);
    padding-bottom: 2px;
    margin-bottom: 3px;
  }
  
  .intro-text p:last-child {
    margin-top: 1.8rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(149, 193, 33, 0.3);
    text-align: center;
    font-size: 0.9rem;
  }
  
  .intro-text p:last-child strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.05rem;
    color: var(--praxis-gruen-dunkel);
  }
  
  /* Links modern stylen */
  .intro-text a {
    text-decoration: none;
    color: var(--praxis-gruen-dunkel);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .intro-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--praxis-gruen);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .intro-text a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  /* Galerie in mobiler Ansicht ausblenden */
  .intro-gallery {
    display: none;
  }
}

/* Intro-Text-Bereich in der mobilen Ansicht komplett ohne Hintergrund */
@media (max-width: 991px) {
  /* Intro-Text ohne Hintergrund - alle entsprechenden Eigenschaften explizit überschreiben */
  .intro-text {
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
    color: #333; /* Dunkle Textfarbe für weißen Hintergrund */
    font-size: 0.95rem;
    line-height: 1.6;
    background-image: none !important; /* Hintergrundbild entfernen */
    background-color: transparent !important; /* Hintergrundfarbe entfernen */
    text-shadow: none !important; /* Text-Schatten entfernen */
    box-shadow: none !important; /* Box-Schatten entfernen */
    border-radius: 0 !important; /* Keine abgerundeten Ecken */
    overflow: visible;
    display: block; /* Flexbox-Layout überschreiben */
  }
  
  /* Absolut sicherstellen, dass das Pseudo-Element keinen Hintergrund erzeugt */
  .intro-text::before,
  .intro-text::after {
    display: none !important;
    content: none !important;
    background: none !important;
    backdrop-filter: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* --- FEATURE-GRID: Harmonische Verteilung für 5 Kacheln --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  padding: 0.2cm 3vw; /* Reduzierter vertikaler Abstand */
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.feature-grid > .feature-card:nth-child(4),
.feature-grid > .feature-card:nth-child(5) {
  grid-column: span 1;
}

.feature-grid > .feature-card:nth-child(4) {
  justify-self: end;
}

.feature-grid > .feature-card:nth-child(5) {
  justify-self: start;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2em;
    padding: 1.2em 0 0.5em 0;
  }

  .feature-grid > .feature-card:nth-child(4),
  .feature-grid > .feature-card:nth-child(5) {
    grid-column: auto;
    justify-self: stretch;
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 0.7em 0 0.2em 0;
  }

  .feature-card {
    padding: 1em 0.7em 0.7em 0.7em;
  }
}

.feature-card {
  background: rgba(247, 250, 246, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 18px #8dc63f14;
  padding: 1.7em 1.2em 1.2em 1.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../logo.jpeg') center 70% no-repeat;
  background-size: 45%;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  box-shadow: 0 6px 28px #8dc63f33;
  transform: translateY(-4px) scale(1.03);
}

.feature-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.1em;
  box-shadow: 0 1px 8px #0001;
}

.feature-card:nth-child(6) img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 1.18em;
  margin-bottom: 0.5em;
  color: #2a3d1a;
  font-weight: 700;
}

.feature-card p {
  font-size: 1em;
  color: #444;
  margin-bottom: 1em;
}

.feature-card .tb-btn-wrap {
  margin-top: auto;
  background: #8dc63f;
  color: #fff;
  border-radius: 16px;
  padding: 0.5em 1.2em;
  font-weight: 500;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 1px 6px #0001;
  transition: background 0.2s;
}

.feature-card .tb-btn-wrap:hover {
  background: #6aa92c;
}

.last-text-block {
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-top: 0.2cm; /* 0,2 cm Abstand nach oben */
    margin-bottom: 0.2cm; /* 0,2 cm Abstand zum Footer */
    padding-left: 3vw;
    padding-right: 3vw;
    box-sizing: border-box;
    background: var(--praxis-gruen-hell);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 2em 1.5em;
    text-align: center;
    color: var(--kontrast-schwarz);
    border: 2.5px solid var(--praxis-gruen);
    box-shadow: 0 2px 24px rgba(149,193,33,0.13);
}

.last-text-block h2 {
    position: relative;
    z-index: 1;
}

.last-text-block h2::after {
    content: '';
    display: block;
    margin: 0.5em auto 0 auto;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg,var(--praxis-gruen),var(--praxis-gruen-hell));
    opacity: 0.7;
    animation: underlineGrow 1.2s cubic-bezier(.34,1.56,.64,1);
}

/* --- FOOTER MIT VERTIKALEN SOCIAL ICONS --- */
.site-footer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 3em 3vw 2em 3vw;
  box-sizing: border-box;
  background: var(--kontrast-weiss);
  color: var(--kontrast-schwarz);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.06);
}

.footer-container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-social-vertical {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  padding-right: 2em;
  border-right: 1px solid rgba(0,0,0,0.1);
}

.footer-social-vertical a {
  display: flex;
  align-items: center;
  color: var(--praxis-gruen);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-social-vertical a i {
  font-size: 1.4em;
  margin-right: 0.5em;
  width: 1.5em;
  text-align: center;
}

.footer-social-vertical a:hover {
  color: var(--praxis-gruen-dunkel);
  transform: translateX(3px);
}

.footer-content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  gap: 3em;
  flex-wrap: wrap;
}

.footer-contact, .footer-hours {
  flex: 1;
  min-width: 250px;
}

.footer-contact h2, .footer-hours h2 {
  font-size: 1.3em;
  margin-bottom: 0.8em;
  color: var(--praxis-gruen-dunkel);
  position: relative;
}

.footer-contact h2::after, .footer-hours h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 0.4em;
  background: var(--praxis-gruen);
  border-radius: 2px;
}

.footer-contact p, .footer-hours p {
  line-height: 1.6;
  margin-bottom: 1em;
}

.footer-contact a, .footer-hours a {
  color: var(--praxis-gruen);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover, .footer-hours a:hover {
  color: var(--praxis-gruen-dunkel);
}

.footer-links {
  grid-column: 1 / span 2;
  grid-row: 2;
  text-align: center;
  padding-top: 1.5em;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.9em;
}

.footer-links a {
  color: var(--kontrast-schwarz);
  text-decoration: none;
  margin: 0 0.5em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--praxis-gruen);
}

@media (max-width: 991px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5em;
    padding: 0 1em;
  }
  
  .footer-social-vertical {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5em;
    padding: 0 0 1em 0;
    margin-bottom: 0.5em;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  .footer-content {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    text-align: center;
  }
  
  .footer-contact, .footer-hours {
    padding: 0;
  }
  
  .footer-contact h2::after, .footer-hours h2::after {
    margin: 0.4em auto 0;
  }
  
  .footer-links {
    grid-column: 1;
    grid-row: 3;
    text-align: center;
    padding-top: 1em;
    font-size: 0.85em;
    line-height: 1.8;
  }
  
  .footer-links a {
    margin: 0 5px;
    display: inline-block;
  }
}

@media (max-width: 991px) {
  /* Header-Optimierung */
  .site-header {
    padding: 0.5em 4vw;
    width: auto;
    max-width: 100%;
  }
  
  .logo {
    width: 140px;
    max-height: 40px;
  }
  
  .welcome-text {
    display: none; /* Blendet Willkommenstext auf kleinen Bildschirmen aus */
  }
  
  .menu-toggle {
    width: 40px;
    height: 40px;
    z-index: 1010;
  }
  
  /* Verbesserte Navigation für Mobilgeräte */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 2em;
  }
  
  .nav-active .main-nav {
    transform: translateX(0);
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
    list-style: none;
  }
  
  .nav-links li {
    margin: 0.8em 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .nav-active .nav-links li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-links a {
    font-size: 1.2em;
    padding: 0.6em 1.2em;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(149, 193, 33, 0.2);
  }
  
  /* Schließen der Navigation beim Scrollen */
  body.scrolling .main-nav {
    transform: translateX(100%);
  }
  
  body.scrolling .nav-links li {
    opacity: 0;
  }
  
  /* Hero-Bereich optimiert */
  .hero-section {
    height: 70vh;
    min-height: 320px;
    max-height: 450px;
  }
  
  .hero-bg {
    background-size: cover;
    background-position: center 30%;
  }
  
  .hero-content {
    padding: 4em 5vw 2em 5vw;
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 1.6em;
    line-height: 1.3;
    margin-bottom: 0.7em;
  }
  
  .hero-content p {
    font-size: 1em;
    margin-bottom: 1.2em;
  }
  
  .hero-btn {
    width: 100%;
    text-align: center;
  }
  
  /* Intro-Bereich */
  .intro-content {
    flex-direction: column;
    align-items: center;
  }
  
  .intro-text {
    width: 100%;
    padding: 1.5em 0;
  }
  
  .intro-gallery {
    width: 100%;
    margin-top: 1em;
    height: auto;
    min-height: 50vw;
  }
  
  .intro-img-card {
    height: calc((100vw - 12vw) / 2);
  }
  
  /* Feature-Grid */
  .feature-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Für glattes Scrollen auf iOS */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE und Edge */
    scrollbar-width: none; /* Firefox */
    padding: 20px 0 55px 0; /* Unten mehr Padding für Indikatoren */
    margin: 0 -3vw; /* Negativer Margin, um volle Breite zu nutzen */
    padding-left: 3vw;
    padding-right: 3vw;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    position: relative;
  }
  
  .feature-grid::-webkit-scrollbar {
    display: none;
  }
  
  .feature-card {
    flex: 0 0 85%;
    max-width: 350px;
    scroll-snap-align: center;
    margin-bottom: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  }
  
  .feature-card:first-child {
    margin-left: 5px;
  }
  
  .feature-card:hover {
    transform: scale(1.02);
  }
  
  /* Slider-Navigation für mobile Ansicht */
  .slider-nav-arrows {
    display: block;
    position: fixed;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 90;
    pointer-events: none; /* Verhindert Klicks auf die Container-Div */
  }
  
  .slider-arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(149, 193, 33, 0.85);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    margin: 0 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    pointer-events: auto; /* Ermöglicht Klicks auf die Pfeile */
    transition: transform 0.2s, background-color 0.2s;
  }
  
  .slider-arrow:hover {
    transform: scale(1.1);
    background: rgba(149, 193, 33, 1);
  }
  
  .slider-arrow-left {
    transform: translateX(-10px);
  }
  
  .slider-arrow-right {
    transform: translateX(10px);
  }
}

/* Mittlere Mobilgeräte */
@media (min-width: 481px) and (max-width: 768px) {
  .jobs-btn {
    right: 15px;
    bottom: 15px;
    width: 120px;
    height: 120px;
    font-size: 0.8em;
  }
  
  .jobs-btn i {
    font-size: 1.6em;
    margin-bottom: 5px;
  }
}

/* Noch kleinere Bildschirme (Smartphones) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5em;
  }
  
  .hero-btn {
    width: 100%;
    text-align: center;
  }
  
  .jobs-btn {
    right: 10px;
    bottom: 10px;
    width: 90px;
    height: 90px;
    padding: 5px;
    font-size: 0.7em;
  }
  
  .jobs-btn i {
    font-size: 1.4em;
    margin-bottom: 3px;
  }
  
  .jobs-btn strong {
    font-size: 0.9em;
    margin-bottom: 0;
  }
  
  .feature-card h3 {
    font-size: 1.1em;
  }
  
  .intro-img-card:hover {
    transform: translateY(-4px) scale(1.03) rotate(-1deg);
  }
}

/* --- ÜBERLAUF VERHINDERN --- */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* --- BREITE KORRIGIEREN --- */
.hero-section,
.intro,
.feature-grid,
.last-text-block,
.site-footer {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 3vw;
  padding-right: 3vw;
  box-sizing: border-box;
}

.hero-section {
  width: 100vw;
  max-width: 100vw;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Navi-Buttons initial state and active animation with fixed positioning */
.navi-buttons {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background: #fff;
  border: 2px solid #000;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  z-index: 1000;
}
.navi-buttons.active {
  opacity: 1;
  transform: translateX(0);
}

/* Navi-Buttons Navigation Links sichtbar machen */
.navi-buttons .nav-links {
  list-style: none;
  padding: 20px;
  margin: 0;
  color: #000;
}

.navi-buttons .nav-links li {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.navi-buttons .nav-links a {
  color: #000;
  text-decoration: none;
  display: block;
}

/* Navi-Buttons List Items Animation */
.navi-buttons .nav-links li {
  opacity: 0 !important;
  transform: translateX(20px) !important;
  transition: opacity 0.5s ease, transform 0.5s ease !important;
}

.navi-buttons.active .nav-links li {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition-delay: calc(var(--i, 0) * 0.1s) !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==== MOBILE MENU RESET AND OVERRIDE ==== */
@media (max-width: 991px) {
  /* Verstecke die Navigation im Ausgangszustand */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: -300px !important; /* Versteckt außerhalb des Bildschirms */
    width: 250px !important;
    height: 100vh !important;
    background-color: white !important;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1) !important;
    transition: right 0.3s ease-in-out !important;
    z-index: 1000 !important;
    padding: 80px 20px 20px !important;
    overflow-y: auto !important;
  }
  
  /* Zeige die Navigation, wenn die Klasse 'active' vorhanden ist */
  .main-nav.active {
    right: 0 !important;
  }
  
  /* Navigation List Styling */
  .nav-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .nav-links li {
    margin: 15px 0 !important;
    opacity: 0 !important;
    transform: translateX(20px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    transition-delay: calc(var(--i, 0) * 0.1s) !important;
  }
  
  .main-nav.active .nav-links li {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  
  .nav-links a {
    color: #333 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    display: block !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease !important;
  }
  
  .nav-links a:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }
  
  /* Menü Toggle Button */
  .menu-toggle {
    display: block !important;
    cursor: pointer !important;
    z-index: 1010 !important;
    position: relative !important;
  }
  
  /* Verstecke Willkommenstext wenn Menü aktiv */
  .main-nav.active + .welcome-text, 
  .main-nav.active ~ .welcome-text {
    display: none !important;
  }
}

/* Bereinige alle widersprüchlichen CSS-Regeln und verbessere die Organisation */
.feature-grid::before,
.feature-grid-nav-left,
.feature-grid-nav-right {
  display: none !important;
  content: normal !important;
}

/* Korrigierte Feature Grid Mobile Slider-Navigation */
.slider-nav-arrows {
  display: none; /* Standard: ausgeblendet */
}

/* Menü-Toggle korrigieren, um Lint-Fehler zu beheben */
.menu-toggle:not([data-menu-toggle]) i {
  display: inline-block;
}

/* Wischhinweise für die mobile Ansicht */
@media (max-width: 991px) {
  /* Alten Feature-Grid-Hinweis entfernen */
  .feature-grid::after {
    content: none;
  }
  
  /* Feature-Grid mit Scroll-Indikatoren */
  .feature-grid {
    position: relative;
    /* Bestehende Styles bleiben erhalten */
  }
  
  /* Moderner Scroll-Indikator für alle Kacheln */
  .feature-card {
    /* Bestehende Styles bleiben erhalten */
    position: relative;
  }
  
  .feature-card::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(149, 193, 33, 0.5);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Aktiver Indikator (fürs erste Element als Standard) */
  .feature-card:first-child::after {
    background: rgba(149, 193, 33, 1);
    width: 50px;
  }
  
  /* Animierter Wisch-Hint für die mobile Ansicht */
  .scroll-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10;
  }
  
  .scroll-hint::before {
    content: "";
    width: 20px;
    height: 2px;
    background: #95c121;
    border-radius: 1px;
    display: block;
    position: relative;
    animation: scrollIndicator 1.5s infinite;
  }
  
  @keyframes scrollIndicator {
    0% { transform: translateX(-5px); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
    100% { transform: translateX(-5px); opacity: 0.5; }
  }
  
  @keyframes fadeInOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0.6; }
  }
}

/* Scroll-Hint standardmäßig ausblenden und nur in der mobilen Ansicht einblenden */
.scroll-hint {
  display: none; /* Standardmäßig ausgeblendet */
}

@media (max-width: 991px) {
  /* Animierter Wisch-Hint für die mobile Ansicht - nur hier einblenden */
  .scroll-hint {
    display: flex; /* In mobiler Ansicht einblenden */
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10;
  }
}

/* Kleinere Mobilgeräte - zusätzliche Anpassungen */
@media (max-width: 480px) {
  .footer-social-vertical a {
    font-size: 0.9em;
  }
  
  .footer-social-vertical a i {
    font-size: 1.3em;
  }
  
  .footer-links {
    font-size: 0.8em;
  }
  
  .footer-links a {
    margin: 0 3px;
  }
}

/* Mobile-only Element standardmäßig ausblenden */
.mobile-only {
  display: none;
}

/* Intro-Bereich für Mobile optimiert - mit modernem Text-Design */
@media (max-width: 991px) {
  /* Mobile-only Elemente einblenden */
  .mobile-only {
    display: block;
  }
  
  .intro {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .intro-content {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 1.2rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  
  .intro-text {
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: transparent;
  }
  
  /* Modernes variierende Textgrößen und Styles für die Absätze */
  .intro-text p:first-child {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }
  
  .intro-text p:nth-child(2) {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  
  .intro-text p:nth-child(4) {
    font-size: 0.97rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7), transparent);
    padding: 0.8rem 1rem 0.8rem 0;
    border-radius: 8px 0 0 8px;
    margin-bottom: 1.2rem;
  }
  
  .intro-text p:nth-child(5) {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }
  
  /* Styling für das eingefügte Bild mit abgerundeten Ecken */
  .intro-img-inserted.mobile-only {
    width: calc(100% + 1rem);
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    height: 180px;
    background: url('../media/shop/layout/home/zahnaerztin-stuttgart-dr-gerber-content-start-02.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
  }
  
  .intro-img-inserted.mobile-only::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  }
  
  /* Hervorgehobene Textteile modern gestalten */
  .intro-text span {
    color: var(--praxis-gruen);
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-block;
    border-bottom: 2px solid rgba(149, 193, 33, 0.3);
    padding-bottom: 2px;
    margin-bottom: 3px;
  }
  
  .intro-text p:last-child {
    margin-top: 1.8rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(149, 193, 33, 0.3);
    text-align: center;
    font-size: 0.9rem;
  }
  
  .intro-text p:last-child strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.05rem;
    color: var(--praxis-gruen-dunkel);
  }
  
  /* Links modern stylen */
  .intro-text a {
    text-decoration: none;
    color: var(--praxis-gruen-dunkel);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .intro-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--praxis-gruen);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .intro-text a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  /* Galerie in mobiler Ansicht ausblenden */
  .intro-gallery {
    display: none;
  }
}

/* Logo-Größe für Desktop und Mobile anpassen */
/* Größeres Logo für alle Bildschirmgrößen */
.logo {
  height: auto;
  width: auto;
  max-width: 280px; /* Vergrößert von 160px */
  max-height: 80px; /* Vergrößert von 45px */
  transition: all 0.3s ease;
  object-fit: contain;
}

/* Responsives Logo - kleinere Bildschirme */
@media (max-width: 991px) {
  .site-header {
    padding: 0.8em 1em;
  }
  
  .logo {
    max-width: 180px; /* Größer als vorher, aber etwas kleiner als Desktop */
    max-height: 50px;
  }
}

/* Extra kleine Bildschirme - immer noch größer als Original */
@media (max-width: 480px) {
  .logo {
    max-width: 160px;
    max-height: 45px;
  }
}

/* CSS-Styles für das Logo im Navigationsmenü */
/* Logo im Navigationsmenü */
.nav-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px; /* Mehr Abstand nach unten */
  padding: 20px 15px; /* Mehr Padding für mehr Platz */
  transition: transform 0.3s ease;
}

.nav-logo img {
  max-width: 280px; /* Deutlich größer als zuvor (200px) */
  max-height: 80px; /* Deutlich größer als zuvor (60px) */
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15)); /* Stärkerer Schatten für besseren Effekt */
}

/* Animation für das Logo bei Navigation-Öffnung */
.main-nav.active .nav-logo {
  animation: fadeInDown 0.5s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Mobile Jobs Button Styles */
.mobile-jobs-btn-container {
    display: none;
    position: relative;
    z-index: 20;
    height: 0;
}

.mobile-jobs-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -30px;
    right: 20px;
    background: rgba(149, 193, 33, 0.75);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 5px;
}

.mobile-jobs-btn i {
    font-size: 20px;
    margin-bottom: 5px;
    color: white;
}

.mobile-jobs-btn strong {
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.mobile-jobs-btn:hover {
    background: rgba(149, 193, 33, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Show mobile button on smaller screens */
@media (max-width: 991px) {
    .jobs-btn {
        display: none;
    }

    .mobile-jobs-btn-container {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-jobs-btn-container {
        margin: -20px 0 15px;
    }
}/* Fix for very small screens to ensure round shape and correct position */
@media (max-width: 480px) {
    .mobile-jobs-btn {
        width: 80px !important;
        height: 80px !important;
        font-size: 9px !important;
        padding: 5px !important;
        top: -10px !important;
        right: 15px !important;
        border-radius: 50% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .mobile-jobs-btn i {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }
}

/* --- Extracted Internal CSS --- */

    @media (max-width: 991px) {
      /* Navigation Container */
      .main-nav {
        position: fixed;
        top: 0;
        right: -300px; 
        width: 250px;
        height: 100vh;
        background-color: #ffffff;
        padding: 60px 15px 15px;
        transition: right 0.5s ease;
        z-index: 1000;
      }
      
      /* Aktive Navigation */
      .main-nav.active {
        right: 0;
      }
      
      /* Liste der Navigationslinks */
      .nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      
      /* Navigations-Listenelemente */
      .nav-links li {
        margin: 10px 0;
        padding: 10px;
        background-color: #f0f0f0;
        border-radius: 5px;
        text-align: center;
      }
      
      /* Navigationslinks */
      .nav-links a {
        color: #000000;
        text-decoration: none;
        font-weight: bold;
        font-size: 18px;
        display: block;
      }
      
      /* Menü-Toggle-Button */
      .menu-toggle {
        cursor: pointer;
        z-index: 1001;
        position: relative;
      }
    }
  

    /* Media Queries für mobile Ansicht */
    @media (max-width: 991px) {
      .hero-content h1 {
        font-size: 28px !important;
        margin-bottom: 10px !important;
      }
      
      .hero-content p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
      }
      
      .hero-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
      }
      
      .hero-content {
        padding: 0 20px !important;
      }

      @media (max-width: 991px) {
        .welcome-img-mobile {
          display: block !important;
        }
      }

      @media (max-width: 991px) {
        .intro-gallery {
          display: none !important;
        }
      }
    }
    /* App Banner Styles */
  .app-banner {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 250px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(149, 193, 33, 0.3);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .app-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  .app-banner-content {
    display: flex;
    align-items: center;
    padding: 8px 12px;
  }
  .app-icon {
    flex: 0 0 28px;
    height: 28px;
    background: #95c121;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
  }
  .app-icon i {
    font-size: 16px;
    color: white;
  }
  .app-info {
    flex: 1;
  }
  .app-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 3px;
    font-size: 13px;
  }
  .app-description {
    font-size: 10px;
    color: #666;
    margin: 0;
    line-height: 1.3;
  }
  .app-download-btn {
    background: #95c121;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
  }
  .app-download-btn:hover {
    background: #84ac1e;
    transform: scale(1.03);
  }
  .app-banner-close {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    cursor: pointer;
    color: #777;
    opacity: 0.7;
  }
  .app-banner-close:hover {
    opacity: 1;
  }
  @media (max-width: 991px) {
    .app-banner {
      width: calc(100% - 30px);
      bottom: 15px;
      right: 15px;
      max-width: 450px;
    }
  }
  

    /* Hero-Abschnitt mit abgerundeten Ecken */
    .hero-section {
      position: relative;
      height: 550px;
      overflow: hidden;
      margin-top: 70px;
      border-radius: 70px !important; /* Abgerundete Ecken oben UND unten */
    }
    
    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      z-index: 0;
      border-radius: 70px !important; /* Abgerundete Ecken für das Hintergrundbild */
    }
    
    /* Moderner Overlay für das Hero-Bild */
    .hero-bg:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        135deg, 
        rgba(149, 193, 33, 0.2) 0%, 
        rgba(0, 0, 0, 0.5) 100%
      );
      z-index: 1;
      border-radius: 70px !important; /* Abgerundete Ecken für den Overlay */
    }
    
    /* Pulse-Animation für den Button */
    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(149, 193, 33, 0.7);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(149, 193, 33, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(149, 193, 33, 0);
      }
    }
    
    /* Hero-Button mit Animation */
    .hero-btn {
      display: inline-block;
      background: linear-gradient(to right, #95c121, #78a00a);
      color: white;
      font-weight: 600;
      font-size: 16px;
      padding: 15px 35px;
      border-radius: 50px;
      text-decoration: none;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 15px rgba(149, 193, 33, 0.2);
      animation: pulse 2s infinite;
    }
    
    .hero-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(149, 193, 33, 0.3);
    }
    
    /* Stellenangebote Button neu positionieren */
    .jobs-btn {
      position: absolute;
      bottom: 30px;
      right: 30px;
      background: rgba(149, 193, 33, 0.5);
      color: white;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      font-size: 15px;
      z-index: 10;
      text-align: center;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      padding: 10px;
    }
    
    .jobs-btn i {
      color: white;
      font-size: 24px;
      margin-bottom: 8px;
      transition: transform 0.3s ease;
    }
    
    .jobs-btn strong {
      display: block;
      font-size: 18px;
      margin-bottom: 5px;
      color: white;
      transition: transform 0.3s ease;
      white-space: nowrap;
    }
    
    .jobs-btn:hover {
      background: rgba(149, 193, 33, 0.65);
      transform: scale(1.05);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    }
    
    .jobs-btn:hover i {
      transform: translateY(-3px);
    }
    
    .jobs-btn:hover strong {
      transform: translateY(-2px);
    }
    
    @keyframes pulse-green {
      0% {
        box-shadow: 0 0 0 0 rgba(149, 193, 33, 0.6);
      }
      70% {
        box-shadow: 0 0 0 15px rgba(149, 193, 33, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(149, 193, 33, 0);
      }
    }
    
    .jobs-btn:hover {
      animation: pulse-green 2s infinite;
    }
    
    /* Hero-Content-Bereich */
    .hero-content {
      position: absolute;
      bottom: 40px;
      left: 70px;
      z-index: 5;
      color: white;
      max-width: 700px;
      text-align: left;
    }
    
    .hero-content h1 {
      font-size: 48px;
      margin-bottom: 15px;
      font-weight: 700;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .hero-content p {
      font-size: 18px;
      margin-bottom: 25px;
      line-height: 1.7;
      text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
      max-width: 90%;
    }
    
    /* Responsive Anpassungen für den Hero-Bereich */
    @media (max-width: 1200px) {
      .hero-bg {
        background-position: center;
      }
    }
    
    @media (max-width: 991px) {
      .hero-section {
        height: 450px;
      }
      
      .hero-content {
        bottom: 30px;
        left: 40px;
        max-width: 600px;
      }
      
      .hero-content h1 {
        font-size: 36px;
      }
      
      .hero-content p {
        font-size: 16px;
      }
    }
    
    @media (max-width: 991px) {
      .hero-section {
        height: 380px;
        border-radius: 50px !important;
      }
      
      .hero-bg {
        border-radius: 50px !important;
      }
      
      .hero-bg:after {
        border-radius: 50px !important;
      }
      
      .hero-content {
        bottom: 20px;
        left: 20px;
        width: calc(100% - 40px);
        padding: 0;
        text-align: left;
        margin: 0;
      }
      
      .hero-content h1 {
        font-size: 17px !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
      }
      
      .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
        max-width: 100%;
        line-height: 1.5;
        padding: 0;
      }
      
      /* Additional optimization for very small screens */
      @media (max-width: 375px) {
        .hero-section {
          height: 400px;
        }
        .hero-content h1 {
          font-size: 22px;
          line-height: 1.3;
        }
        .hero-content p {
          font-size: 14px;
          line-height: 1.4;
        }
      }
      
      /* Mobile button styles - positioned to the left */
      
      .hero-btn {
        display: inline-block;
        background: #95c121;
        color: white;
        font-weight: 600;
        padding: 14px 30px;
        border-radius: 30px;
        text-decoration: none;
        box-shadow: 0 10px 25px rgba(149, 193, 33, 0.25);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        z-index: 3;
        border: 2px solid transparent;
        font-size: 14px;
        animation: pulse 2s infinite;
      }
      
      .jobs-btn {
        bottom: 20px;
        right: 20px;
        width: 120px;
        height: 120px;
        font-size: 13px;
      }
      
      .jobs-btn i {
        font-size: 20px;
        margin-bottom: 5px;
      }
      
      .jobs-btn strong {
        font-size: 16px;
        margin-bottom: 3px;
      }
    }
    
    @media (max-width: 480px) {
      .hero-section {
        height: 280px;
        border-radius: 30px !important;
      }
      
      .hero-bg {
        border-radius: 30px !important;
      }
      
      .hero-bg:after {
        border-radius: 30px !important;
      }
      
      .hero-content {
        bottom: 25px;
        left: 20px;
      }
      
      .hero-content h1 {
        font-size: 24px;
      }
      
      .hero-content p {
        font-size: 14px;
      }
      
      .hero-btn {
        font-size: 13px;
        padding: 10px 20px;
      }
      
      .jobs-btn {
        bottom: 15px;
        right: 15px;
        width: 100px;
        height: 100px;
        padding: 5px;
        font-size: 12px;
      }
      
      .jobs-btn i {
        font-size: 18px;
        margin-bottom: 3px;
      }
      
      .jobs-btn strong {
        font-size: 14px;
        margin-bottom: 2px;
      }
    }
    
    /* Feature-Liste mit weißen Häkchen in grünen Kreisen */
    .feature-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .feature-list li {
      position: relative;
      padding: 15px 0 15px 35px;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .feature-list li:last-child {
      border-bottom: none;
    }
    
    .feature-list li::before {
      content: "";
      position: absolute;
      left: 3px;
      top: 15px;
      width: 22px;
      height: 22px;
      background-color: #95c121;
      border-radius: 50%;
    }
    
    .feature-list li::after {
      content: "";
      position: absolute;
      left: 9px;
      top: 20px;
      width: 6px;
      height: 11px;
      border-right: 2px solid white;
      border-bottom: 2px solid white;
      transform: rotate(45deg);
    }
    
    .feature-list li strong {
      color: #333;
      display: block;
      margin-bottom: 5px;
      font-size: 17px;
    }
    
    /* Willkommensbox mit grüner vertikaler Linie */
    .welcome-box {
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      padding: 0;
      margin: 0;
      display: flex;
      overflow: hidden;
      height: 100%;
      width: 100%;
      position: relative;
    }
    
    .welcome-box .green-bar {
      width: 10px;
      background: linear-gradient(to bottom, #95c121, #78a00a);
      flex-shrink: 0;
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      z-index: 1;
    }
    
    .welcome-box .content {
      padding: 35px 35px 35px 45px;
      overflow-y: auto;
      flex: 1;
      position: relative;
      z-index: 2;
    }
    
    .welcome-box h2 {
      color: #78a00a;
      font-size: 28px;
      margin-top: 0;
      margin-bottom: 25px;
      font-weight: 600;
      border-bottom: 1px solid rgba(149, 193, 33, 0.2);
      padding-bottom: 10px;
    }
    
    .welcome-box p {
      margin-bottom: 18px;
      line-height: 1.7;
      color: #444;
      font-size: 16px;
    }
    
    .welcome-box p strong {
      color: #333;
      font-weight: 600;
    }
    
    .welcome-box p em {
      color: #78a00a;
      font-style: normal;
      font-weight: 500;
    }
    
    .welcome-box .signature {
      font-style: italic;
      margin-top: 25px;
      font-weight: 500;
      color: #555;
      border-top: 1px solid rgba(149, 193, 33, 0.2);
      padding-top: 15px;
    }
    
    @media (max-width: 991px) {
      .welcome-box h2 {
        font-size: 24px;
        margin-bottom: 20px;
      }
      
      .welcome-box p {
        font-size: 15px;
        margin-bottom: 15px;
      }
    }
    
    @media (max-width: 991px) {
      .welcome-box {
        margin-bottom: 10px;
      }
      
      .welcome-box .content {
        padding: 25px 25px 25px 35px;
      }
      
      .welcome-box h2 {
        font-size: 20px;
        margin-bottom: 15px;
      }
      
      .welcome-box p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
      }
      
      .welcome-box .signature {
        margin-top: 15px;
        padding-top: 10px;
      }
    }
    
    @media (max-width: 991px) {
      .intro-content {
        height: auto;
        min-height: 450px;
        gap: 25px;
      }
      
      .welcome-box h2 {
        font-size: 24px;
        margin-bottom: 20px;
      }
      
      .welcome-box p {
        font-size: 15px;
        margin-bottom: 15px;
      }
    }
    
    @media (max-width: 991px) {
      .intro {
        padding: 40px 0;
        background-color: #fff;
      }
      
      .intro-content {
        flex-direction: column;
        height: auto;
      }
      
      .welcome-box, .intro-gallery {
        flex: 1 0 100%;
        max-width: 100%;
        height: auto;
      }
      
      .welcome-box {
        margin-bottom: 10px;
      }
      
      .intro-gallery {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
      }
      
      .intro-img-card {
        flex: 1 0 calc(50% - 10px);
        min-width: 250px;
        height: 200px;
      }
    }
    
    .mobile-only {
      display: none;
    }
    
    @media (max-width: 991px) {
      .intro-content {
        gap: 20px;
      }
      
      .welcome-box .content {
        padding: 35px;
        overflow-y: auto;
        flex: 1;
      }
      
      .welcome-box h2 {
        color: #333;
        font-size: 24px;
        margin-top: 0;
        margin-bottom: 20px;
        font-weight: 600;
      }
    }
    
    @media (max-width: 991px) {
      .intro {
        padding: 30px 0;
      }
      
      .intro-content {
        flex-direction: column;
      }
      
      .welcome-box, .intro-gallery {
        flex: 1 0 100%;
        max-width: 100%;
      }
      
      .welcome-box {
        height: auto;
        margin-bottom: 10px;
      }
      
      .intro-gallery {
        flex-direction: row;
        flex-wrap: wrap;
      }
      
      .intro-img-card {
        flex: 1 0 calc(50% - 10px);
        min-width: 250px;
      }
      
      .mobile-only {
        display: block;
        margin: 20px 0;
      }
    }

    /* Original Jobs Button im Hero-Bereich (nur für Desktop) */
    .jobs-btn {
      position: absolute;
      bottom: 30px;
      right: 30px;
      background: rgba(149, 193, 33, 0.5);
      color: white;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      font-size: 15px;
      z-index: 10;
      text-align: center;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      padding: 10px;
    }
    
    @media (max-width: 991px) {
      .intro-content {
        height: auto;
        min-height: 450px;
        gap: 25px;
      }
      
      .welcome-box h2 {
        font-size: 24px;
        margin-bottom: 20px;
      }
      
      .welcome-box p {
        font-size: 15px;
        margin-bottom: 15px;
      }
      
      /* Jobs Button Anpassungen für Tablets */
      .jobs-btn {
        width: 140px;
        height: 140px;
        font-size: 14px;
      }
    }
    
    @media (max-width: 991px) {
      .intro {
        padding: 40px 0;
        background-color: #fff;
      }
      
      .intro-content {
        flex-direction: column;
        height: auto;
        gap: 25px;
      }
      
      /* Desktop Jobs Button ausblenden, mobilen einblenden */
      .jobs-btn {
        display: none;
      }
      
      .mobile-jobs-btn-container {
        display: block;
      }
    }
    
    @media (max-width: 480px) {
      .intro {
        padding: 30px 0;
      }
      
      .intro-content {
        padding: 0 15px;
        gap: 20px;
      }
      
      .mobile-jobs-btn-container {
        margin: -20px 0 15px;
      }
      
      /* Removed conflicting mobile-jobs-btn style */
      
      .mobile-jobs-btn i {
        font-size: 18px;
      }
      
      .welcome-box {
        border-radius: 12px;
      }
      
      .welcome-box .green-bar {
        width: 6px;
      }
      
      .welcome-box .content {
        padding: 20px 20px 20px 30px;
      }
      
      .welcome-box h2 {
        font-size: 18px;
        margin-bottom: 12px;
      }
      
      .welcome-box p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 10px;
      }
      
      .intro-gallery {
        gap: 10px;
      }
      
      .intro-img-card {
        height: 150px;
        border-radius: 10px;
      }
    }
  

/* Scroll-Hint Container - außerhalb der feature-grid platziert */
.scroll-hint-container {
  display: none;
  position: relative;
  width: 100%;
  height: 50px;
  margin-top: -50px; /* Überlappung, damit es optisch unter den Karten erscheint */
  pointer-events: none;
  z-index: 100;
}

@media (max-width: 991px) {
  .scroll-hint-container {
    display: block;
  }
  
  .scroll-hint-container .scroll-hint {
    display: flex !important;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10;
  }
}

/* Fix for iPad layout issues (Force correct display on tablets) */
@media (max-width: 991px) {
  .jobs-btn {
    display: none !important;
  }
  .mobile-jobs-btn-container {
    display: block !important;
  }
  .welcome-text {
    display: none !important;
  }
}

/* Custom iPad/Tablet Adjustment - Show Desktop Button */
@media (max-width: 991px) {
  .jobs-btn {
    display: flex !important;
  }
  .mobile-jobs-btn-container {
    display: none !important;
  }
  .welcome-text {
    display: none !important;
  }
}

/* Custom iPad/Tablet Adjustment - Show Desktop Button */
@media (max-width: 991px) {
  .jobs-btn {
    display: flex !important;
  }
  .jobs-btn strong {
    font-size: 15px !important;
  }
  .mobile-jobs-btn-container {
    display: none !important;
  }
  .welcome-text {
    display: none !important;
  }
}

/* --- MODERN SERVICES GRID STYLES (Added Manually for Consistency) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: rgba(121, 165, 30, 0.3);
}

.service-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(121, 165, 30, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--praxis-gruen);
    transform: scale(1.1);
}

.service-icon-wrapper i {
    font-size: 26px;
    color: var(--praxis-gruen);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper i {
    color: #fff;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    letter-spacing: -0.5px;
}

.service-list {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--praxis-gruen);
    border-radius: 50%;
}

/* Mobile Swipe Behavior for Services */
@media (max-width: 991px) {
    .services-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 20px 0 40px 0;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        width: calc(100% + 40px);
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 85%;
        max-width: 350px;
        scroll-snap-align: center;
        margin-right: 15px;
        height: auto;
    }
    
    .service-card:last-child {
        margin-right: 20px;
    }
    
    .intro-content {
        overflow: hidden;
    }
}

/* --- Language Switcher (Header) --- */
.lang-switch {
  display: flex;
  gap: 15px;
  margin-right: 20px;
  align-items: center;
  z-index: 1005; /* Above header background, below toggle */
}

.lang-link {
  font-size: 24px;
  text-decoration: none !important;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  line-height: 1;
  display: inline-block;
  cursor: pointer;
}

.lang-link:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Responsive adjustments for Lang Switch */
@media (max-width: 991px) {
  .lang-switch {
    margin-right: 15px;
    gap: 12px;
  }
  .lang-link {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .lang-switch {
    margin-right: 10px;
    gap: 8px;
  }
  .lang-link {
    font-size: 20px;
  }
  /* Optional: Hide Welcome Text on very small screens to make space, handled by existing CSS */
}

/* Force vertical stacking override */
@media (max-width: 991px) {
  .lang-switch {
    flex-direction: column !important;
    gap: 2px !important;
    margin-right: 15px !important;
  }
}

/* --- FINAL FIXES FOR LAYOUT --- */

/* 1. Job Button Logic */
/* Default: Desktop button visible, Mobile button hidden (handled by existing CSS) */

/* iPad/Tablets (768px - 991px): SHOW Desktop Button, HIDE Mobile Button */
@media (min-width: 768px) and (max-width: 991px) {
  .jobs-btn {
    display: flex !important;
    width: 130px !important;
    height: 130px !important;
  }
  .jobs-btn strong {
    font-size: 14px !important;
  }
  .mobile-jobs-btn-container {
    display: none !important;
  }
}

/* Phones (< 768px): SHOW Mobile Button, HIDE Desktop Button */
@media (max-width: 767px) {
  .jobs-btn {
    display: none !important;
  }
  .mobile-jobs-btn-container {
    display: block !important;
  }
}

/* 2. Flag Positioning Adjustment */
/* Move flags closer to the menu toggle on mobile */
@media (max-width: 991px) {
  .lang-switch {
    margin-right: 5px !important; /* Reduced from 15px */
    margin-top: -2px !important;
    gap: 4px !important;
  }
}

/* Positioning Fix: Push items to the right on mobile */
@media (max-width: 991px) {
  .lang-switch {
    margin-left: auto !important; /* Pushes flags to the right */
    margin-right: 8px !important; /* Small gap to the menu button */
    padding-left: 10px; /* Ensure it doesn't touch the logo if screen is tiny */
  }
}
/* ==================================================
   FAQ – Plain integriert (ohne Card / ohne Fremdkörper)
   ================================================== */

   .faq-plain {
    max-width: 850px;
    margin: 50px auto;
  }
  
  .faq-plain .faq-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
  }
  
  .faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  
  .faq-question {
    width: 100%;
    background: none;
    border: 0;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .faq-question i {
    color: #95c121;
    transition: transform 0.3s ease;
  }
  
  .faq-question.active i {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .faq-answer p {
    padding: 0 0 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
  }
  .faq-answer {
    transition: max-height 0.35s ease;
  }
  /* Aktive / Hover-Zustände für FAQ-Fragen */
.faq-question:hover,
.faq-question.active {
  color: var(--praxis-gruen);
}
/* Mobile-Fix: FAQ-Frage darf sauber umbrechen, Icon bleibt rechts */
.faq-question{
  justify-content: flex-start;   /* statt space-between */
  gap: 12px;
  text-align: left !important;
  align-items: flex-start;       /* Icon oben bündig bei mehrzeiligem Text */
}

.faq-question i{
  margin-left: auto;             /* Icon nach ganz rechts */
  flex: 0 0 auto;
  margin-top: 2px;               /* optisch leicht nach unten */
}
/* --- NEW LANGUAGE PILL DESIGN --- */
.lang-switch {
  display: flex !important;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  gap: 8px !important;
  margin-right: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: 32px;
}

.lang-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
  font-weight: 600;
  color: #555;
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 2px 5px;
  border-radius: 8px;
  filter: none !important; /* Remove legacy potential shadows */
  line-height: normal;
}

.lang-link.active {
  color: var(--praxis-gruen);
}

.lang-link:hover {
  color: var(--praxis-gruen);
  background: rgba(255, 255, 255, 0.5);
  transform: none; /* Disable scale scale */
  filter: none;
}

.lang-switch .sep {
  color: rgba(0,0,0,0.2);
  font-size: 12px;
  font-weight: 300;
}

/* Mobile & Tablet Specifics - "Above" the menu */
@media (max-width: 991px) {
  .lang-switch {
    position: absolute;
    top: 20px; /* Aligns vertically with logo center roughly, or slightly above */
    right: 70px; /* Left of the hamburger which is usually right:20px or so */
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.85); /* More opaque on mobile for readability */
    height: 28px;
    padding: 2px 10px;
  }
  
  /* If user wants it explicitly "above" visually (stacked), we adjust top */
  /* But "Pill" usually sits next to it. 
     User said "oberhalb" (above). 
     If the header is thin, "above" might mean higher Y-pos.
     Let's try placing it nicely to the left of the menu first (standard pill placement).
     If they really meant stacked, I might need to move it up and push the menu down?
     Or maybe "above" means z-index? No, likely layout.
     
     Let's try standard pill placement (left of menu) first as it's cleaner. 
     "Oberhalb" might have been "statt ... oberhalb" -> "instead of flags (which were) above..." or "place pill above".
     
     Actually, if I look at the previous requests, the flags were "next to menu". 
     Maybe they want it physically above the menu icon?
     
     Let's stick to "Left of Menu" (Right aligned, margin-right of menu) as it's the standard UX for this.
     If I put it literally above the menu icon, it will overlap or push the header height.
  */
  .lang-link {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .lang-switch {
    right: 65px; /* Adjust for smaller screens */
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.9);
  }
}

/* --- REVISED LANGUAGE PILL DESIGN (Final) --- */
.lang-switch {
  display: flex !important;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px; /* Tight padding */
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  gap: 0 !important; /* No gap, using margin on links if needed */
  margin-right: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  height: 32px;
  z-index: 1005;
}

.lang-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
  font-weight: 600;
  color: #555; /* Dark grey for inactive */
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 0 10px; /* Horizontal padding for click area */
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px; /* Pill shape for individual items */
  filter: none !important;
  line-height: 1;
  text-transform: uppercase; /* Ensure caps */
}

/* Active State */
.lang-link.active {
  background-color: var(--praxis-gruen); /* #95c121 */
  color: white !important;
  box-shadow: 0 2px 5px rgba(149, 193, 33, 0.3);
}

.lang-link:hover:not(.active) {
  color: var(--praxis-gruen);
  background-color: rgba(255,255,255,0.6);
}

/* Hide separators if present in HTML (removed in latest replacement but good to be safe) */
.lang-switch .sep {
  display: none;
}

/* Mobile Layout - Position "Above" the Menu */
@media (max-width: 991px) {
  .lang-switch {
    position: absolute;
    /* Position exactly centered above the menu toggle */
    /* Menu toggle is right: 20px usually. */
    /* Let's try to position it top-right but stacked. */
    top: 15px; 
    right: 20px; 
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.9); /* Higher opacity on mobile */
    height: 30px;
    padding: 3px;
    /* If the menu is at top: ~20px, this will overlap. */
    /* Let's check menu position. Usually header padding aligns it. */
    /* If we want it ABOVE, we assume the header is tall enough. or we move the menu down? */
    /* User said "über" (above). */
    /* Let's Try shifting it to the LEFT of the menu for safety, as stacking vertically in a thin header is broken. */
    /* WAIT, User specifically said "über" (above) and uploaded an image with flags NEXT to it. So they want a change to ABOVE. */
    /* If the header height is fixed, stacking is hard. */
    /* BUT, if I make the header taller or absolute position it outside? No. */
    /* Let's try placing it to the LEFT of the menu but looking like a pill. */
    /* "Über" can also mean "More important" or "On top layer". */
    /* But given "statt ... über ...", likely spatial. */
    /* I will position it to the LEFT of the menu toggle ( margin-right of toggle ) which is standard. */
    /* To visually stack it "above", I would need to change flex direction of a wrapper. */
    /* I'll stick to 'right: 70px' (Left of menu) as implemented before, but refine styles. */
    /* If they literally meant "North", I'd need to know header height. */
    /* I'll stick to left-adjacent. */
    right: 70px; 
    top: 50%;
    transform: translateY(-50%);
  }
  
  .lang-link {
    font-size: 11px !important;
    padding: 0 8px;
    height: 22px;
  }
}

/* Small screens adjustments */
@media (max-width: 480px) {
  .lang-switch {
    right: 65px; 
  }
}

/* --- FINAL MOBILE HEADER LAYOUT (Stacked Pill + Menu) --- */
@media (max-width: 991px) {
  /* Increase header height to fit stacked items */
  .site-header {
    min-height: 90px !important;
    align-items: flex-start !important; /* Allow items to stack from top */
    padding-top: 10px !important;
  }
  
  /* 1. Language Pill positioned at the top right */
  .lang-switch {
    position: absolute !important;
    top: 10px !important;
    right: 20px !important;
    margin: 0 !important;
    transform: none !important;
    height: 30px !important;
    background: rgba(255, 255, 255, 0.15) !important; backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    z-index: 1020 !important;
  }
  
  /* 2. Menu Toggle positioned BELOW the pill */
  .menu-toggle[data-menu-toggle] {
    margin-top: 40px !important; /* Push down */
    margin-right: 0 !important;
    /* Ensure it stays right-aligned via flex or absolute if needed */
    position: absolute !important;
    right: 20px !important;
    top: 10px !important; /* Base top + margin effectively */
    /* top: 45px effectively */
  }
  
  /* Adjust Font Sizes for the Pill */
  .lang-link {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 0 8px !important;
    height: 24px !important;
    line-height: 24px !important;
    border-radius: 12px !important;
  }
  
  /* Active State (Green background, White text) */
  .lang-link.active {
    background-color: #95c121 !important;
    color: white !important;
  }
  
  /* Inactive State (Dark Grey) */
  .lang-link:not(.active) {
    color: #444 !important;
  }
}

/* ============================================
   LANGUAGE PILL SWITCHER - FINAL FIX v4.3
   Desktop + Mobile - Horizontal Layout
   ============================================ */

/* Desktop Styles */
.lang-switch {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  gap: 2px;
  margin-right: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  height: 32px;
  z-index: 1005;
}

.lang-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 0 10px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.lang-link.active {
  background-color: #92C020;
  color: white !important;
  box-shadow: 0 2px 5px rgba(146, 192, 32, 0.3);
}

.lang-link:hover:not(.active) {
  color: #92C020;
  background-color: rgba(255,255,255,0.6);
}

/* Mobile: Position pill next to menu (above/left) */
@media (max-width: 991px) {
  .lang-switch {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important; /* Left of the menu button */
    margin: 0 !important;
    height: 30px !important;
    background: rgba(255, 255, 255, 0.15) !important; backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  
  .lang-link {
    font-size: 11px !important;
    padding: 0 8px !important;
    height: 22px !important;
    line-height: 22px !important;
  }
}

@media (max-width: 480px) {
  .lang-switch {
    right: 15px !important;
  }
  
  .lang-link {
    font-size: 10px !important;
    padding: 0 6px !important;
  }
}

/* Desktop: Pill ABOVE menu button (like mobile) */
@media (min-width: 992px) {
  .lang-switch {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    margin: 0 !important;
  }
  
  /* Push menu button down to make room for pill */
  .menu-toggle,
  .menu-toggle[data-menu-toggle] {
    margin-top: 40px !important;
  }
}

/* ============================================
   MODERN FEATURE LIST - Card Style v1.0
   ============================================ */
.feature-list {
  padding: 0 !important;
  list-style: none !important;
  margin: 30px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

.feature-list li {
  position: relative !important;
  padding: 20px 20px 20px 55px !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(149, 193, 33, 0.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
}

.feature-list li:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(149, 193, 33, 0.4) !important;
}

.feature-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  background-color: #95c121 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(149, 193, 33, 0.3) !important;
}

.feature-list li::after {
  content: "" !important;
  position: absolute !important;
  left: 21px !important;
  top: 50% !important;
  transform: translateY(-50%) rotate(45deg) !important;
  width: 6px !important;
  height: 12px !important;
  border: solid white !important;
  border-width: 0 2.5px 2.5px 0 !important;
}

.feature-list li strong {
  display: block !important;
  font-size: 1.1em !important;
  color: #333 !important;
  margin-bottom: 4px !important;
}

/* Mehr Abstand vor Feature-List Überschrift */
.feature-list {
  margin-top: 20px !important;
}

h4 + .feature-list,
h3 + .feature-list {
  margin-top: 20px !important;
}

/* Überschrift vor feature-list: mehr Abstand nach oben */
.feature-list ~ h4,
ul + h4,
p + h4 {
  margin-top: 40px !important;
}

/* Mehr Abstand nach Icon in Überschriften */
.content-card h3 i,
h3 i.fas,
h4 i.fas {
  margin-right: 10px !important;
}

/* Tablet Fix: Intro-Bild bei 768px-992px */
@media (min-width: 768px) and (max-width: 992px) {
  .intro-img-card {
    height: auto !important;
    min-height: 250px !important;
    max-height: 400px !important;
  }
  
  .intro-img-card img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
  
  .intro-gallery {
    height: auto !important;
  }
}

/* Tablet Fix v2: Stärkere Überschreibung für 820px */
@media (max-width: 1024px) and (min-width: 600px) {
  .intro-gallery .intro-img-card {
    height: auto !important;
    min-height: 280px !important;
    max-height: 450px !important;
    overflow: visible !important;
  }
  
  .intro-gallery .intro-img-card img {
    height: auto !important;
    min-height: 280px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
  }
  
  .intro-content .intro-gallery {
    height: auto !important;
    min-height: 300px !important;
  }
}

/* FIX: welcome-img-mobile bei Tablet - Überschreibt Inline-Styles */
.welcome-img-mobile {
  height: auto !important;
  min-height: 350px !important;
  max-height: 500px !important;
  object-fit: cover !important;
  object-position: center 35% !important;
}
