/* ========================================================
   1. RESET & BASIS
   ======================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #f6f3ef; /* warmes Beige */
  color: #2b2b2b;
  line-height: 1.7;
}

/* ========================================================
   2. TYPOGRAFIE & GLOBALE ELEMENTE
   ======================================================== */
h1 {
  font-family: "Georgia", serif; /* Wirkt sofort hochwertiger */
  font-weight: 400;
  font-style: italic;
  font-size: 2.8rem;
  color: #3d352e;
}

.section, .background-section {
  padding: 7rem 0; /* Mehr Platz nach oben und unten */
}

h2 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #7a6a58; /* Edles Braun/Grau */
}

h3 {
  font-weight: 400;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  text-align: center;
  margin-bottom: 1rem;
  color: #555;
}

p {
  margin-bottom: 1rem;
}

/* ========================================================
   3. HEADER & NAVIGATION
   ======================================================= */
.header {
  background-color: #ffffff;
  padding: 2rem 1rem;
  border-bottom: 1px solid #e8e4de;
  text-align: center;
}

.header h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

nav.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav.main-nav a {
  text-decoration: none;
  color: #2b2b2b;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #7a6a58;
  transition: width 0.3s ease;
}

nav.main-nav a:hover::after {
  width: 100%;
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

/* ========================================================
   4. MOBILES MENÜ (BURGER) - REPARATUR
   ======================================================== */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important; /* Erzwingt die Anzeige */
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        margin: 1rem auto;
        cursor: pointer;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: #2b2b2b;
    }

    nav.main-nav {
        display: none; /* Standardmäßig ausblenden */
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        padding: 1rem;
    }

    nav.main-nav.active {
        display: flex !important; /* Wird per JS gesetzt */
    }
}

/* ========================================================
   4. LAYOUT-CONTAINER & SEKTIONEN
   ======================================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Generelle Sektionen (Weißer Hintergrund) */
.section {
  padding: 5rem 0;
  background-color: #ffffff;
}

/* Sektionen mit beigem Hintergrund (z.B. Hero oder Über Mich) */
.background-section {
  padding: 5rem 0;
  background-color: #f6f3ef;
}

/* ========================================================
   5. BILD-TEXT-BLÖCKE (FLEXBOX)
   ======================================================== */
.content-block {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  margin: 2rem 0;
}

.content-block .text {
  flex: 1;
}

.content-block .image {
  flex: 1;
}

.content-block .image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: block;
}

.text-left { flex-direction: row; }
.text-right { flex-direction: row-reverse; }

/* ========================================================
   6. ANGEBOTE (SPALTEN)
   ======================================================== */
.angebote-wrapper {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
}

.angebot-block {
  flex: 1;
  background: #ffffff;
  padding: 3.5rem 2.5rem;
  border-radius: 12px; /* Sanftere Ecken */
  border: none; /* Weg mit dem harten Rahmen */
  box-shadow: 0 10px 30px rgba(122, 106, 88, 0.06); /* Super softer Schatten */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.angebot-block:hover {
  transform: translateY(-5px); /* Hebt sich beim Drüberfahren leicht an */
  box-shadow: 0 15px 35px rgba(122, 106, 88, 0.12);
}

.angebot-block h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* ========================================================
   7. KUNDENERFAHRUNGEN (TESTIMONIALS)
   ======================================================== */
.highlight-block {
  background-color: #ffffff;
  border-top: 1px solid #e8e4de;
  border-bottom: 1px solid #e8e4de;
}

.testimonials {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.testimonial.active {
  display: block;
}

.quote {
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
}

.author {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: #7a6a58;
  margin-bottom: 3rem !important; 
  display: block !important;
}

.testimonial-controls {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

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

/* ========================================================
   8. BUTTONS
   ======================================================== */
button, .btn {
  position: relative;
  background-color: #7a6a58; /* Jetzt standardmäßig gefüllt */
  color: #ffffff;
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border-radius: 50px; /* Komplett rund geschnitten – extrem modern */
  box-shadow: 0 4px 15px rgba(122, 106, 88, 0.2);
  text-decoration: none
}

button:hover, .btn:hover {
  background-color: #5c4f41;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 106, 88, 0.3);
}

.testimonial-controls button {
  font-size: 1.3rem;
  padding: 0.3rem 1.2rem;
  margin-top: 0;
}

/* ========================================================
   9. KONTAKTFORMULAR
   ======================================================== */
.contact-section {
  background-color: #fdfbf7;
  padding: 5rem 0;
}

.contact-box {
  background-color: #ffffff;
  max-width: 750px;
  margin: 0 auto;
  padding: 4rem 4.5rem; 
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(122, 106, 88, 0.06);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row input, textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e8e4de;
  border-bottom: 2px solid #7a6a58;
  background-color: #fdfbf7;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2b2b2b;
  outline: none;
  transition: border-color 0.3s;
}

.form-row input:focus, textarea:focus {
  border-color: #7a6a58;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.button-wrapper {
  text-align: center;
}

.thank-you {
  display: none;
  margin-top: 1rem;
  font-weight: 500;
  color: #7a6a58;
}

/* ========================================================
   10. FOOTER
   ======================================================== */
.footer {
  background-color: #2b2b2b;
  color: #eaeaea;
  padding: 4rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer h3 {
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: left;
  font-family: inherit;
  font-style: normal;
}

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

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

.footer a {
  color: #eaeaea;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: #c8b8a6;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  background-color: #1f1f1f;
  color: #888;
  border-top: 1px solid #333;
}

/* ========================================================
   11. RESPONSIVE DESIGN (MOBILGERÄTE)
   ======================================================== */
@media (max-width: 768px) {
  .section, .background-section {
    padding: 3.5rem 0;
  }
  
  .content-block {
    flex-direction: column !important;
    gap: 2rem;
  }
  
  .angebote-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .contact-box {
    padding: 2rem 1.5rem;
  }
  
  nav.main-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* ========================================================
   SPEZIELLE ANPASSUNGEN FÜR UNTERSEITEN (z.B. Über Mich)
   ======================================================== */

/* Fix für den Text-Container auf den Unterseiten */
.section-content {
  max-width: 850px; /* Schön schmal gehalten für optimale Lesbarkeit bei langem Text */
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Richtet lange Fließtexte linksbündig aus, zentriert aber die H1-Überschriften */
.section-content p {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Große Zitate optisch abheben (feiner Rahmen links und rechts) */
.section-content h3 {
  margin: 2.5rem auto;
  max-width: 700px;
  line-height: 1.6;
  font-size: 1.2rem;
  color: #7a6a58;
  padding: 0 1rem;
}

/* Das große Banner-Bild ganz oben stylen */
.fullwidth-image {
  width: 100%;
  max-height: 500px; /* Begrenzt die Höhe, damit das Bild nicht den ganzen Bildschirm einnimmt */
  overflow: hidden;
}

.fullwidth-image img {
  width: 100%;
  height: 500px;
  object-fit: cover; /* Schneidet das Bild elegant zu, anstatt es zu quetschen */
  display: block;
}

/* ========================================================
   MODERNER HERO-HINTERGRUND (TRANSPARENTES BILD)
   ======================================================== */
.hero-bg {
  position: relative;
  /* Hier den Pfad zu deinem Bild eintragen: */
  background-image: url('images/pferd.webp'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  padding: 8rem 0 !important; 
}

/* Das transparente Overlay, das das Bild weichzeichnet/aufhellt */
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Ein sehr transparentes Weiß (0.85). Für dunkles Design einfach durch rgba(246, 243, 239, 0.85) ersetzen */
  background-color: rgba(255, 255, 255, 0.60); 
  z-index: -1;
}

/* Stellt sicher, dass die Texte über dem Overlay liegen */
.hero-bg .container {
  position: relative;
  z-index: 2;
}

/* ========================================================
   GUSTAV STEINBRECHT ZITAT-BLOCK (PARALLAX FIX)
   ======================================================== */
.section#steinbrecht {
  position: relative;
  /* Erzwingt deine Wunschfarbe statt dem Weiß der normalen Sektionen */
  background-color: #fdfbf7 !important; 
  
  /* Dein Pfad zum Bild */
  background-image: url('images/pferd.webp'); /* Nutze hier deinen Bildnamen, z.B. pferd.webp */
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  /* Das Bild fixiert sich beim Scrollen im Browser-Fenster */
  background-attachment: fixed; 
  
  padding: 10rem 0; 
  text-align: center;
  z-index: 1;
}

.section#steinbrecht::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* ÄNDERUNG HIER: Dunklerer Ton (rgba(0,0,0,0.5)) statt Weiß */
  background-color: rgba(0, 0, 0, 0.5); 
  
  z-index: -1;
}

/* Du musst dann die Textfarbe im Steinbrecht-Block auf Weiß setzen */
.section#steinbrecht h3 {
  color: #ffffff !important; /* Weißer Text für den dunklen Hintergrund */
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Zarter Schatten für bessere Lesbarkeit */
}

/* Sorgt dafür, dass das Zitat über dem Overlay liegt */
.section#steinbrecht .section-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Styling für das Zitat im Block */
.section#steinbrecht h3 {
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #4a3e3d; 
  margin-bottom: 1rem;
}

/* Für Mobilgeräte deaktivieren, um Ruckeln zu verhindern */
@media (max-width: 1024px) {
  .section#steinbrecht {
    background-attachment: scroll;
  }
}

/* ========================================================
   OBERES BILD (PARALLAX HINTERGRUND)
   ======================================================== */
.hero-parallax {
  position: relative;
  width: 100%;
  height: 500px; /* Feste Höhe für das obere Banner */
  
  /* Hier wird dein Bild als Hintergrund geladen */
  background-image: url('images/pferd.webp'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  /* Die Magie: Auch das obere Bild bleibt jetzt beim Scrollen stehen */
  background-attachment: fixed; 
}

/* Für Mobilgeräte deaktivieren (iPhones/Handys blockieren 'fixed' oft) */
@media (max-width: 1024px) {
  .hero-parallax {
    background-attachment: scroll;
    height: 350px; /* Auf Handys etwas flacher, damit es besser aussieht */
  }
}

/* ========================================================
   STARKE SCHATTEN FÜR DIE TEXTBLÖCKE (FIX)
   ======================================================== */

/* 1. Schatten für den "Über Mich" Block */
#ueber {
  position: relative;
  z-index: 5;
  background-color: #ffffff;
  
  /* Viel stärker und weiter werfend nach oben und unten */
  box-shadow: 0 -25px 60px rgba(80, 70, 60, 0.25), 
              0 25px 60px rgba(80, 70, 60, 0.25);
}

/* 2. Schatten für "Meine Philosophie" (Wirft Schatten nach OBEN auf das Steinbrecht-Bild) */
#philosphie {
  position: relative;
  z-index: 5;
  background-color: #ffffff;
  
  /* Starker Schatten nach oben, der auf das stehende Bild fällt */
  box-shadow: 0 -25px 60px rgba(80, 70, 60, 0.25);
}

/* 3. Steinbrecht-Block (Liegt tiefer, damit Schatten darauf fallen können) */
.section#steinbrecht {
  z-index: 2; 
}

/* ========================================================
   STARTSEITEN HERO (DUNKLES NEUES PARALLAX BANNER)
   ======================================================== */
.hero-parallax-dark {
  position: relative;
  width: 100%;
  min-height: 80vh; /* Nimmt 80% der Bildschirmhöhe ein – extrem modern */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  /* Hintergrundbild fixiert im Fenster */
  background-image: url('images/pferd.webp'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  
  z-index: 1;
  padding: 4rem 1.5rem;
}

/* Edles, dunkles Overlay für maximalen Kontrast */
.hero-parallax-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55); /* 55% Abdunkelung */
  z-index: -1;
}

/* Inhalt über dem Overlay stylen */
.hero-parallax-dark .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff; /* Strahlend weißer Text auf dunklem Grund */
}

.hero-parallax-dark h1 {
  color: #ffffff !important;
  font-size: 3.2rem;
  margin-bottom: 2rem;
  font-family: "Georgia", serif;
  font-style: italic;
  text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.hero-parallax-dark .hero-quote {
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero-parallax-dark .hero-author {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.hero-btn-wrapper .btn {
  background-color: #ffffff;
  color: #3d352e;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-btn-wrapper .btn:hover {
  background-color: #f6f3ef;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Mobil-Optimierung für iPhones/Android */
@media (max-width: 1024px) {
  .hero-parallax-dark {
    background-attachment: scroll;
    min-height: 60vh;
  }
  .hero-parallax-dark h1 {
    font-size: 2.2rem;
  }
  .hero-parallax-dark .hero-quote {
    font-size: 1.2rem;
  }
}

/* ========================================================
   MODERNER DESIGN-LOOK MIT KREATIVEM RHYTHMUS & DOTS
   ======================================================== */

.font-page-block {
  position: relative;
  z-index: 5;
}

/* Angebote-Sektion */
.parallax-card-section {
  padding: 0 0 4rem 0;
  background: transparent !important;
}

/* Der große Angebote-Block (Satin-Weiß) */
.parallax-card-wrapper {
  background-color: #fcfaf6; 
  margin-top: -60px; /* Perfekter Abstand, damit der Button oben frei bleibt */
  padding: 4.5rem 4rem;
  border-radius: 16px;
  box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.25), 
              0 25px 60px rgba(40, 35, 30, 0.18); 
}

.card-main-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.card-main-header h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.card-main-header .subtitle {
  color: #7a6a58;
  font-style: italic;
  font-size: 1.1rem;
}

.angebote-columns {
  display: flex;
  gap: 3rem;
}

.angebote-columns .angebot-block {
  flex: 1;
  background: #ffffff; 
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(122, 106, 88, 0.04);
  border: none;
}

.angebote-columns .angebot-block h2 {
  font-size: 1.5rem;
  color: #3d352e;
  margin-bottom: 1rem;
}

/* ========================================================
   ÜBER MICH MIT ORGANISCHER KURVE (EXAKT NACH DEINER SKIZZE)
   ======================================================== */
#uebermich.font-page-block {
  /* Unser harmonisches Cappuccino-Sandbraun */
  background-color: #dfd8cf !important; 
  color: #3d352e; 
  
  /* WICHTIG: Oben brauchen wir extra viel Platz (Padding), da die Kurve Raum einnimmt */
  padding: 11rem 0 7rem 0; 
  
  /* Wir rücken den Block ein kleines Stück nach oben, damit der Übergang zum weißen Block davor nahtlos verschmilzt */
  margin-top: -50px; 
  position: relative;
  z-index: 4;
}

/* Der magische CSS-Kurven-Generator direkt an der Oberkante */
#uebermich.font-page-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Die Höhe des geschwungenen Hügels */
  background-color: #dfd8cf; /* Muss exakt dieselbe Farbe wie der Block haben */
  
  /* Erzeugt die organische S-Kurve von links nach oben zur Mitte und rechts wieder sanft nach unten (wie in image_75c390.png) */
  clip-path: url(#wave-clip); /* Hier verknüpfen wir die mathematische Kurve */
  
  /* Schiebt das Kurvenelement über die eigentliche Kante hinaus */
  transform: translateY(-99%); 
}

/* Die Überschrift im Block */
#uebermich.font-page-block h1 {
  color: #3d352e !important;
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

#uebermich.font-page-block p {
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Mobil-Anpassung für das Bild auf der Über-mich-Seite */
@media (max-width: 768px) {
    .ueber-bild-klasse { /* Ersetze 'ueber-bild-klasse' durch den echten Klassennamen deines Bildes */
        object-fit: contain;
        width: 100%;
        height: auto;
        max-height: 400px; /* Begrenzt die Höhe, damit man nicht ewig scrollen muss */
    }
}

/* ========================================================
   KUNDENERFAHRUNGEN & NAVIGATIONSPUNKTE (DOTS)
   ======================================================== */
#startseite-testimonials.font-page-block {
  background-color: #ffffff;
  box-shadow: 0 15px 40px rgba(80, 70, 60, 0.05);
  padding-bottom: 4rem;
}

/* Die Punkte-Leiste unter den Pfeilen */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

/* Ein einzelner Navigationspunkt */
.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  background-color: #e3ded6; /* Inaktiver Zustand */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Der gerade aktive Punkt */
.testimonial-dots .dot.active {
  background-color: #7a6a58; /* Deine Markenfarbe */
  transform: scale(1.2); /* Wird dezent größer */
  box-shadow: 0 2px 5px rgba(122, 106, 88, 0.2);
}

/* ========================================================
   DAS SCHAUSTÜCK AM ENDE: DIE KONTAKT-KARTE
   ======================================================== */
.contact-section {
  background-color: #f6f3ef !important; /* Warmes Beige als schöner Untergrund */
  padding: 10rem 0 6rem 0;
}

.contact-box {
  background-color: #fcfaf6; /* Satin-Weiß */
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 4.5rem; 
  border-radius: 16px;
  
  /* Schiebt sich 140px hoch und bricht wunderschön aus dem beigen Grund aus */
  margin-top: -140px; 
  
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.06), 
              0 25px 60px rgba(40, 35, 30, 0.12);
}

.form-row input, textarea {
  background-color: #ffffff;
  border: 1px solid #e3ded6;
  border-bottom: 2px solid #7a6a58;
  border-radius: 6px;
}

.footer {
  background-color: #2b2b2b;
  padding-top: 4rem;
}

/* ========================================================
   KOMPLETTE RESPONSIVE ANPASSUNG (MOBILGERÄTE)
   ======================================================== */
@media (max-width: 1024px) {
  .hero-parallax, .hero-parallax-dark, .section#steinbrecht {
    background-attachment: scroll !important; /* Verhindert Ruckeln auf iOS/Android */
  }
}

@media (max-width: 900px) {
  .parallax-card-wrapper {
    margin-top: -40px;
    padding: 2.5rem 1.5rem;
  }
  .angebote-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .card-main-header h1 {
    font-size: 2rem;
  }
  .contact-box {
    margin-top: -80px;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .section, .background-section {
    padding: 3.5rem 0;
  }
  
  .content-block {
    flex-direction: column !important;
    gap: 2rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  nav.main-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* --- FINES SCHWERPUNKT-LAYOUT --- */

/* Hero Bereich mit Parallax */
.hero-parallax-section {
    position: relative;
    height: 65vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-bg {
    background-image: url('images/rwg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 1.5rem;
}

/* Typografie auf dem Hero-Bild */
.hero-title {
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 2.6rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85), 0px 0px 15px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Text-Content Bereich */
.content-section-clean {
    background-color: #fcfbfa;
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}

.content-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Fließtext Formatierung */
.text-block-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.9;
    color: #6e6255;
    font-size: 1.05rem;
    text-align: left;
}

.text-block-main p {
    margin-bottom: 2rem;
}

.text-block-main .intro-paragraph {
    font-size: 1.1rem;
    color: #3d352e;
}

.text-block-main .last-text-paragraph {
    margin-bottom: 3rem;
}

/* Eingebettetes Bild mitten im Text */
.embedded-image-wrap {
    margin: 3.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.embedded-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Trennlinie */
.section-divider {
    width: 50px;
    height: 1px;
    background-color: #7a6a58;
    opacity: 0.2;
    margin: 4rem auto 3rem auto;
}

/* Outro / CTA Bereich */
.outro-wrapper {
    text-align: center;
}

.outro-text {
    font-family: 'Garamond', 'Georgia', serif;
    line-height: 1.8;
    color: #3d352e;
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.btn-cta {
    padding: 0.6rem 2rem;
    font-size: 0.85rem;
    font-family: -apple-system, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- HANDARBEIT DESIGN --- */

/* Spezifisches Parallax-Hintergrundbild für Handarbeit */
.parallax-bg-handarbeit {
    background-image: url('images/rhg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Gemeinsame Layout-Klassen für den einheitlichen Magazin-Look */
.hero-parallax-section {
    position: relative;
    height: 65vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 2.6rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85), 0px 0px 15px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.content-section-clean {
    background-color: #fcfbfa;
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}

.content-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-block-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.9;
    color: #6e6255;
    font-size: 1.05rem;
    text-align: left;
}

.text-block-main p {
    margin-bottom: 2rem;
}

.text-block-main .intro-paragraph {
    font-size: 1.1rem;
    color: #3d352e;
}

.text-block-main .last-text-paragraph {
    margin-bottom: 3rem;
}

.embedded-image-wrap {
    margin: 3.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.embedded-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.section-divider {
    width: 50px;
    height: 1px;
    background-color: #7a6a58;
    opacity: 0.2;
    margin: 4rem auto 3rem auto;
}

.outro-wrapper {
    text-align: center;
}

.outro-text {
    font-family: 'Garamond', 'Georgia', serif;
    line-height: 1.8;
    color: #3d352e;
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.btn-cta {
    padding: 0.6rem 2rem;
    font-size: 0.85rem;
    font-family: -apple-system, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Spezifisches Parallax-Hintergrundbild für Jungpferde */
.parallax-bg-jungpferde {
    background-image: url('images/rjg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Spezifisches Parallax-Bild für Lektionen */
.parallax-bg-lektionen {
    background-image: url('images/rlg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Elegantes Listen-Design */
.design-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
    color: #6e6255;
    font-family: -apple-system, sans-serif;
}

.design-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.design-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #7a6a58;
}

/* ========================================================
   Reitunterricht und Beritt
   ======================================================== */

.parallax-bg-rub {
    background-image: url('images/kleineg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%; height: 100%; position: absolute;
}

.hero-divider { width: 50px; height: 1px; background-color: #ffffff; margin: 0 auto 2rem auto; opacity: 0.7; }

.section-title { text-align: center; margin-bottom: 5rem; font-weight: 400; color: #3d352e; }

.focus-grid { max-width: 800px; margin: 0 auto; }
.focus-item { margin-bottom: 4rem; }
.text-right { text-align: right; }
.divider-line { width: 60px; height: 1px; background-color: #7a6a58; opacity: 0.15; margin: 4rem auto; }

.price-section { background-color: #f6f3ef; padding: 7rem 0; border-top: 1px solid #f0eae1; }
.price-grid { display: flex; gap: 4rem; flex-wrap: wrap; }
.region-box, .price-box { flex: 1; min-width: 320px; }
.price-box { background: #ffffff; padding: 3rem; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }

.price-item { display: flex; justify-content: space-between; font-weight: bold; margin-top: 1.5rem; }
.small { color: #7a6a58; font-size: 0.9rem; }
.disclaimer { font-size: 0.85rem; text-align: center; border-top: 1px solid #f6f3ef; margin-top: 2rem; padding-top: 1rem; color: #8a7a68; }

/* ========================================================
   Über Mich Seite
   ======================================================== */

/* Hero Bereich mit Parallax */
.hero-parallax-section {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
}

.parallax-bg-ueber {
    background-image: url('images/kleineg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
}

.section-dark-soft {
    background-color: #4a423a; 
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
    
    /* Feiner, weicher Schatten für den Tiefeneffekt */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15), 0 -4px 15px rgba(0,0,0,0.15);
    
    /* Sorgt dafür, dass der Block sich nahtloser einfügt */
    margin: 2.5rem 0;
}

.section-dark-soft .section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-dark-soft h3 {
    color: #e5dfd9; /* Ein Tick gedeckter als reines Weiß */
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1.5rem; /* Etwas dezenter, nicht zu wuchtig */
    letter-spacing: 0.5px;
}

.section-dark-soft p {
    color: #bfae9e; /* Sanfteres Beige, weniger Kontrast */
    font-size: 0.85rem; /* Etwas kleiner für Eleganz */
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 300;
}

/* Styling für Rechtstexte */
.rechtliches-content {
    line-height: 1.8;
    color: #4a423a;
    margin-top: 2rem;
}

.rechtliches-content h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem 0;
    color: #2b2621;
    border-bottom: 1px solid #dfd8cf;
    padding-bottom: 0.5rem;
}

.rechtliches-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.rechtliches-content li {
    margin-bottom: 0.5rem;
}

/* Konsistenz zur 'Über mich' Seite */
.text-block-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Spezielles Styling für die Kontaktliste im Impressum */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-list li {
    margin-bottom: 0.3rem;
}

/* Bild-Fix für alle Bilder, damit sie nicht ausbrechen */
@media (max-width: 768px) {
    img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }
}