/* Grundlegende Stil-Einstellungen */
body {
  font-family: "Roboto", sans-serif; /* Standard-Schrift für den Body */
  margin: 0;
  padding: 0;
  background-color: #f0e5d4; /* Helles, warmes Sandgelb */
  color: #333;
  line-height: 1.8; /* Leicht erhöhte Zeilenhöhe für bessere Lesbarkeit */
  font-size: 1.2rem; /* Angepasste Schriftgröße für den Body-Text */
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif; /* Akzent-Schrift für Überschriften */
  color: #4a2c2a; /* Dunkles Braun */
}

h1 {
  font-size: 4.5rem; /* Beispiel: Große Hauptüberschrift */
}

h2 {
  font-size: 2.2rem; /* Beispiel: Untertitel */
}

h3 {
  font-size: 2rem; /* Beispiel: Größere Überschrift für Sektionen */
}

h4 {
  font-size: 1.5rem; /* Beispiel: Kleinere Überschrift, z.B. in Service-Items */
}

a {
  font-family: "Roboto", sans-serif;
  color: #e98400; /* Ein warmes Braun/Beige */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #000000; /* Dunkleres Braun/Gold für Hover-Effekte */
}

/* Header & Navigation */
.main-header {
  background-color: #000000; /* Dunkler Hintergrund für den Header */
  color: #fff;
  padding: 1rem 0;
  position: sticky; /* sticky sorgt für einen Header, der beim Scrollen an der Oberseite haftet */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 70px; /* Höhe des Logos anpassen */
  width: auto; /* Behält das Seitenverhältnis bei */
  display: block; /* Entfernt zusätzlichen Platz unter dem Bild */
  margin-right: 15px; /* Abstand zwischen Logo und Text */
}

.site-title {
  font-family: "Playfair Display", serif; /* Geschwungene Schrift für den Titel */
  font-weight: bold;
  font-size: 2.2rem; /* Etwas größer für bessere Sichtbarkeit */
  color: #fff;
  text-decoration: none; /* Keine Unterstreichung, falls es ein Link wird */
}

/* Hamburger Menü Styling */
.hamburger-menu {
  background-color: #000000;
  color: white;
  display: none; /* Standardmäßig ausgeblendet auf großen Bildschirmen */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001; /* Stellt sicher, dass es über anderen Elementen liegt */
  /* Anpassung für die Positionierung */
  position: relative; /* oder 'absolute', je nach Layout */
  top: 0px; /* Hier auf 0 gesetzt für bessere Integration mit den Media Queries */
}

.hamburger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}

/* Navigation Links */
.main-nav .nav-links {
  /* Zielgerichtet auf die Navigationslinks im Hauptnavigationsbereich */
  list-style: none;
  display: flex; /* Standardmäßig sichtbar auf großen Bildschirmen */
  margin: 0;
  padding: 0;
}

.main-nav .nav-links li {
  margin-left: 25px;
}

.main-nav .nav-links li a {
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.main-nav .nav-links li a:hover {
  color: #d2b48c;
}

/* Sektionen */
section {
  padding: 80px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section:nth-of-type(odd) {
  background-color: #f8f0e0;
}

/* Grundstruktur der About-Section */
.about-section {
  padding: 4rem 2rem;
  background-color: #fdfafa; /* sanfter Hintergrund */
}

/* Container für Text + Bild nebeneinander */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Textblock */
.about-content {
  flex: 1 1 500px;
  text-align: left;
}

.about-content h3 {
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}

.about-content h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  margin-top: 10px;
  border-radius: 2px;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px; /* mehr Abstand zum Button */
}

/* Moderner Button – schlank + mehr Abstand */
.about-content .btn {
  display: inline-block;
  padding: 6px 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff7e5f, #ffb47b);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 126, 95, 0.25);

  margin-top: 40px; /* deutlich mehr Abstand nach oben */
  margin-bottom: 20px;
}

.about-content .btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 20px rgba(255, 126, 95, 0.35);
}

/* Bildblock */
.about-image {
  flex: 1 1 500px;
  text-align: center;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  filter: brightness(95%);
}

.about-image img:hover {
  transform: scale(1.05) rotate(-0.5deg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  filter: brightness(100%);
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 2rem;
  }

  .about-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .about-content h3 {
    text-align: center;
  }

  .about-image {
    flex: 1 1 100%;
  }

  .about-image img {
    max-width: 100%;
    height: auto;
  }
}

/* Responsive Anpassung für "Über Uns" */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-image-wrapper {
    max-width: 350px; /* Etwas kleiner auf Mobilgeräten */
    min-width: unset;
    margin-bottom: 2rem;
  }

  .about-text {
    max-width: 100%;
    flex: none;
  }
}
/* responsive Anpassungen */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: -20px; /* Passt auch den mobilen Abstand an */
  }

  .about-content {
    min-width: 100%;
  }

  .about-content h3 {
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
  }
}
/* Responsive Anpassung für "Über Uns" */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column; /* Bild und Text untereinander auf kleinen Bildschirmen */
    align-items: center; /* Zentriert Elemente */
  }

  .about-image-wrapper {
    max-width: 350px; /* Etwas kleiner auf Mobilgeräten */
    min-width: unset; /* Setzt min-width für mobile zurück */
    margin-bottom: 2rem; /* Abstand zum Text darunter */
  }

  .about-text {
    max-width: 100%; /* Text nimmt volle Breite ein */
    flex: none; /* Flex-Eigenschaft zurücksetzen */
  }
}

/* Responsive Anpassung für "Über Uns" */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column; /* Bild und Text untereinander auf kleinen Bildschirmen */
    align-items: center; /* Zentriert Elemente */
  }

  .about-image-wrapper {
    max-width: 350px; /* Etwas kleiner auf Mobilgeräten */
    margin-bottom: 2rem; /* Abstand zum Text darunter */
  }

  .about-text {
    max-width: 100%; /* Text nimmt volle Breite ein */
    flex: none; /* Flex-Eigenschaft zurücksetzen */
  }
}

/* Responsive Anpassung für "Über Uns" */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row; /* Bild und Text nebeneinander auf größeren Bildschirmen */
    justify-content: center; /* Zentriert die Elemente */
    text-align: left; /* Textausrichtung zurücksetzen */
  }

  .about-image {
    width: 50%; /* Bild nimmt die Hälfte der Breite ein */
    max-width: 500px; /* Maximale Breite des Bildes */
    margin-right: 2rem; /* Abstand zum Text, wenn nebeneinander */
    /* Rahmen bleibt erhalten und wird nicht durch width/max-width beeinflusst dank box-sizing */
  }

  #about p {
    width: 50%; /* Text nimmt die andere Hälfte der Breite ein */
    margin: 0; /* Margin zurücksetzen */
    text-align: left; /* Text linksbündig */
    max-width: none; /* Nimmt die volle Breite des zugewiesenen Platzes ein */
  }
}

/* Responsive Anpassung für "Über Uns" */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row; /* Bild und Text nebeneinander auf größeren Bildschirmen */
    justify-content: center; /* Zentriert die Elemente */
    text-align: left; /* Textausrichtung zurücksetzen */
  }

  .about-image {
    width: 50%; /* Bild nimmt die Hälfte der Breite ein */
    max-width: 500px; /* Maximale Breite des Bildes */
    margin-right: 2rem; /* Abstand zum Text, wenn nebeneinander */
  }

  #about p {
    width: 50%; /* Text nimmt die andere Hälfte der Breite ein */
    margin: 0; /* Margin zurücksetzen */
    text-align: left; /* Text linksbündig */
  }
}
/* Hero Sektion mit durchgehendem Hintergrundbild */
#hero {
  position: relative;
  height: 80vh; /* Passt die Höhe des Hero-Bereichs an */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden; /* Stellt sicher, dass das Bild den gesamten Bereich ausfüllt */
  background: url("fotos/photo-1585747860715-2ba37e788b70.avif") no-repeat
    center center/cover;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* VERÄNDERT: Wert von 0.2 auf 0.5 erhöht, um das Bild dunkler zu machen */
  background-blend-mode: multiply; /* Mischt die Hintergrundfarbe mit dem Bild */
  margin-top: 0; /* Kein zusätzlicher Abstand hier, damit es direkt unter dem Header beginnt */
}

/* Das overlay-Div ist im HTML auskommentiert, daher sollte dies normalerweise keine Rolle spielen */
.hero-background-overlay {
  /* Overlay für bessere Lesbarkeit des Textes */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  ); /* VERÄNDERT: Werte von 0.2/0.4 auf 0.4/0.6 erhöht */
  z-index: 1;
}

/* Der Rest deines Hero-Sektions-CSS bleibt unverändert */
.hero-content {
  position: relative;
  z-index: 2; /* Sorgt dafür, dass der Inhalt über dem Hintergrundbild liegt */
  max-width: 800px; /* Begrenzt die Breite des Textes */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* Textschatten für bessere Lesbarkeit */
}

#hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: "Playfair Display", serif;
}

#hero h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

#hero h1 {
  font-size: 3.5rem; /* Deutlich größere Hauptüberschrift */
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: "Playfair Display", serif; /* Geschwungene Schrift für Hauptüberschrift */
}

#hero h2 {
  font-size: 1.8rem; /* Deutlich größere Schrift */
  margin-bottom: 1rem;
  color: #fff;
  font-family: "Roboto", sans-serif; /* Klare Schrift für Untertitel */
}

#hero p {
  font-size: 1.2rem; /* Deutlich größere Schrift */
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background-color: rgba(226, 14, 14, 0.562);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #ffb907;
  color: #fff;
  transform: translateY(-2px);
}

/* Services Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.service-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-item:hover img {
  transform: scale(1.08);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.service-content {
  padding: 20px;
  text-align: center;
}

.service-content h4 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #4a2c2a;
}

.service-content p {
  font-size: 1.1rem;
  color: #555;
}

/* Kontakt Sektion */
#contact {
  background-color: #fff; /* Weiße Sektion für Kontakt */
}

#contact h3 {
  font-size: 2rem; /* Größere Überschrift für Kontakt */
  text-align: center;
  margin-bottom: 40px;
}

#contact p {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-info {
  margin-top: 30px;
  font-size: 1.15rem;
  line-height: 2.2;
  text-align: center;
}

.contact-info strong {
  color: #4a2c2a;
}

/* Footer */
.main-footer {
  background-color: #000; /* Schwarzer Hintergrund */
  color: #fff; /* Weiße Schrift */
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Social Media Icons */
.social-links a {
  color: #fff; /* Icons weiß */
  font-size: 2rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ffa600; /* Farbe beim Hover-Effekt, z.B. Gold */
}

/* Sternen-Bewertungen */
.reviews {
  margin-top: 1rem;
}

.star-rating .fas,
.star-rating .far {
  color: #ffa600; /* Goldene Farbe für die Sterne */
  font-size: 1.5rem;
  margin: 0 0.1rem;
}

.reviews .review-link {
  display: block;
  margin-top: 0.5rem;
  color: #ffa600;
  text-decoration: none;
  font-weight: bold;
  transition: text-decoration 0.3s ease;
}

.reviews .review-link:hover {
  text-decoration: underline;
  color: #ffa600;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    font-size: 1.1rem; /* Angepasste Schriftgröße für den Body auf Mobilgeräten */
  }

  .header-content {
    padding: 0 1rem;
  }

  .logo-container {
    flex-wrap: wrap;
  }

  .site-title {
    font-size: 1.8rem;
    width: 100%;
    text-align: center;
    margin-top: 5px;
  }

  .hamburger-menu {
    display: block; /* Hamburger wird auf kleinen Bildschirmen sichtbar */
    /* Bessere Positionierung auf kleinen Bildschirmen */
    position: relative;
    top: 0px; /* Zentriert es nun vertikal im Header-Bereich */
    right: 10px; /* Leicht nach rechts schieben, falls nötig */
  }

  .main-nav .nav-links {
    /* Nav-Links sind auf kleinen Bildschirmen standardmäßig versteckt */
    display: none;
    position: absolute;
    top: 70px; /* Unterhalb des Headers */
    left: 0;
    width: 100%;
    background-color: #4a2c2a; /* Dunklerer Hintergrund für das mobile Menü */
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .main-nav .nav-links.active {
    display: flex; /* Links werden angezeigt, wenn .active Klasse vorhanden ist */
  }

  .main-nav .nav-links li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }

  .main-nav .nav-links li a {
    font-size: 1.3rem;
    padding: 10px 0;
    display: block;
  }

  #hero {
    padding: 80px 1rem;
    height: auto; /* Passt die Höhe automatisch an */
  }

  #hero h1 {
    font-size: 2.8rem;
  }

  #hero h2 {
    font-size: 1.5rem;
  }

  .service-grid {
    grid-template-columns: 1fr; /* Einspaltiges Layout auf kleinen Bildschirmen */
  }

  .service-item img {
    height: 250px; /* Etwas kleinere, aber immer noch große Bilder auf Mobilgeräten */
  }
}

/* Zusätzliche Anpassungen für das Hamburger-Menü-Icon beim Öffnen/Schließen */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(135deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-135deg);
}

/* --- LEISTUNGEN-SEITE (leistung.html) --- */

/* Hero-Sektion für die Unterseite */
.work-hero {
  position: relative;
  height: 60vh; /* Etwas kleiner als die Haupt-Hero-Sektion */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  /* Der Hintergrund wird im HTML durch inline-style gesetzt */
  background-size: cover;
  background-position: center center;
}

.work-hero h1,
.work-hero h2 {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  font-family: "Playfair Display", serif;
}

/* Philosophie-Sektion */
#work-intro {
  background-color: #fff;
  text-align: center;
}

#work-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Arbeitsschritte */
#work-steps {
  background-color: #fff8f0; /* etwas sanfter */
  text-align: center;
  padding: 4rem 2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; /* mehr Abstand */
  margin-top: 2rem;
}

.step-item {
  background: linear-gradient(
    145deg,
    #ffffff,
    #fff4e6
  ); /* moderner Farbverlauf */
  padding: 1.5rem;
  border-radius: 20px; /* weichere Ecken */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  background: linear-gradient(
    145deg,
    #fff8f2,
    #ffe5d1
  ); /* sanfter Hover-Effekt */
}

.step-item img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin: 0 auto 1rem auto; /* horizontal zentriert */
  display: block;
  transition: transform 0.3s ease;
}

.step-item:hover img {
  transform: scale(1.03);
}

/* Galerie */
#work-gallery {
  background-color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.work-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(95%);
}

.work-item:hover img {
  transform: scale(1.05);
  filter: brightness(100%);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 1rem;
  border-radius: 20px;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-overlay h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.work-overlay p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  padding: 0 1rem;
}

/* Testimonials */
#testimonials {
  background-color: #f8f0e0;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-item {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-item p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-item span {
  display: block;
  font-weight: bold;
  color: #4a2c2a;
}

/* CTA */
#work-cta {
  background-color: #4a2c2a;
  color: #fff;
  text-align: center;
}

#work-cta h3 {
  color: #fff;
}

/* Responsive Design für diese Seite */
@media (max-width: 768px) {
  .work-hero {
    height: auto;
    padding: 80px 1rem;
  }
  .work-hero h1 {
    font-size: 2.8rem;
  }
  .work-hero h2 {
    font-size: 1.5rem;
  }
  .steps-grid,
  .work-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* --- UNSER TEAM-SEITE (ueberuns.html) --- */

/* Hero Sektion für die Team-Seite */
.team-hero {
  position: relative;
  height: 60vh; /* Etwas kleiner als die Haupt-Hero-Sektion */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: url("fotos/team-hero.jpg") no-repeat center center/cover; /* Passe den Bildpfad an */
  background-color: rgba(0, 0, 0, 0.3); /* Leichte Verdunkelung */
  background-blend-mode: multiply;
}

.team-hero h1,
.team-hero h2 {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  font-family: "Playfair Display", serif;
}

/* Team-Mitglieder-Bereich */
/* --- UNSER TEAM-SEITE (unserteam.html) --- */

/* Hero-Sektion für die Team-Seite */
.team-hero {
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: url("fotos/team-hero.jpg") no-repeat center center/cover;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
}

/* Team-Intro-Sektion */
/* --- UNSER TEAM-SEITE (unserteam.html) --- */

/* Hero-Sektion für die Team-Seite (unverändert) */
.team-hero {
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: url("fotos/team-hero.jpg") no-repeat center center/cover;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
}

/* Team-Intro-Sektion (unverändert) */
#team-intro {
  background-color: #fff;
  text-align: center;
}

#team-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Team-Mitglieder-Bereich */
#team-members {
  background-color: #f8f0e0;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.member-item {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-item img {
  width: 180px; /* Feste Größe für Team-Fotos (kann angepasst werden) */
  height: 220px; /* VERÄNDERT: Etwas mehr Höhe für ein rechteckiges Format */
  object-fit: cover;
  border-radius: 8px; /* VERÄNDERT: Leicht abgerundete Ecken statt rund */
  border: 3px solid #4a2c2a; /* VERÄNDERT: Dunkelbrauner Rahmen, passt zum Header/Überschriften */
  /* Alternative ohne Rahmen: border: none; oder border: 3px solid transparent; */
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Dezenterer Schatten um das Bild */
}

.member-item h4 {
  margin: 0;
  font-size: 1.6rem;
  color: #4a2c2a;
}

.member-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* CTA-Sektion (unverändert) */
#team-cta {
  background-color: #4a2c2a;
  color: #fff;
  text-align: center;
}

#team-cta h3 {
  color: #fff;
}

/* Responsive Anpassungen für Team-Seite (unverändert) */
@media (max-width: 768px) {
  .team-hero {
    height: auto;
    padding: 80px 1rem;
  }
  .team-hero h1 {
    font-size: 2.8rem;
  }
  .team-hero h2 {
    font-size: 1.5rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .member-item img {
    width: 150px; /* Auf Mobilgeräten etwas kleiner */
    height: 180px; /* Auf Mobilgeräten auch rechteckig */
  }
}

/* --- KONTAKT-SEITE (kontakt.html) --- */

/* Hero-Sektion für die Kontaktseite */
.contact-hero {
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: url("fotos/contact-hero.jpg") no-repeat center center/cover;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
}

/* Haupt-Container für die Kontaktinformationen und das Formular */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 60px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#contact-info,
#contact-form {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background-color: #f8f0e0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Auf großen Bildschirmen nebeneinander */
#contact-info {
  order: 1;
}

#contact-form {
  order: 2;
}

/* Kontakt-Details */
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-detail i {
  color: #4a2c2a;
  font-size: 1.5rem;
}

.contact-detail p {
  margin: 0;
  font-size: 1rem;
}

/* Öffnungszeiten */
.opening-hours {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.opening-hours li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* --- KONTAKT-SEITE (kontakt.html) --- */

/* Hero-Sektion für die Kontaktseite */
.contact-hero {
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: url("fotos/contact-hero.jpg") no-repeat center center/cover;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
}

/* Haupt-Container für die Kontaktinformationen und das Formular */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 60px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#contact-info,
#contact-form {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background-color: #f8f0e0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#contact-info {
  order: 1;
}

#contact-form {
  order: 2;
}

/* Kontakt-Details */
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-detail i {
  color: #4a2c2a;
  font-size: 1.5rem;
}

.contact-detail p {
  margin: 0;
  font-size: 1rem;
}

/* Öffnungszeiten */
.opening-hours {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.opening-hours li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* --- KONTAKT-SEITE (kontakt.html) --- */
/* --- KONTAKT-SEITE (kontakt.html) --- */
.contact-hero {
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: url("fotos/contact-hero.jpg") no-repeat center center/cover;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 60px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#contact-info,
#contact-image {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background-color: #f8f0e0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#contact-info {
  order: 1;
  text-align: center;
}

#contact-image {
  order: 2;
  padding: 0;
}

#contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.contact-detail i {
  color: #4a2c2a;
  font-size: 1.5rem;
}

.contact-detail p {
  margin: 0;
  font-size: 1rem;
}

.opening-hours {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  text-align: center;
}

.opening-hours li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

#location-map {
  padding: 0;
}

.map-placeholder {
  width: 100%;
  height: 450px;
  border: 5px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Anpassungen für Kontakt-Seite */
@media (max-width: 768px) {
  .contact-hero {
    height: auto;
    padding: 80px 1rem;
  }
  .contact-hero h1 {
    font-size: 2.8rem;
  }
  .contact-hero h2 {
    font-size: 1.5rem;
  }
  .contact-container {
    flex-direction: column;
    gap: 1rem;
    padding: 40px 1rem;
    max-width: 100%;
  }

  #contact-info,
  #contact-image {
    flex: none;
    width: 100%;
    min-width: unset;
  }
}
