/* ============================= */
/* GLOBAL RESET & BASIS */
/* ============================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
  --orange: #e67e22;
  --orange-dark: #cf6d17;
  --text: #333;
  --bg: #fafafa;
  --background: #f8e3d7;
    --color-h: #d9743b;
    --color-p:#4d2e1f;
     --accent: #e88b4f;
    
    
    
    
     --ra-primary: #d97742;
    --ra-secondary: #ffe6cc;
    --ra-accent: #b85c2e;
    --ra-text: #4a2e1f;
      --bg-main: #fff5eb;
  --bg-card: #ffffff;
 
  --accent-dark: #d9773b;
  --text-main: #4a3b2f;
 --orange-light: #fbe7d3;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   
  
}

h1,h2, h3, h4, h5{
    font-family: Garamond, "Times New Roman", serif;
}

p,l, a {
  font-family: "Raleway", sans-serif;
    line-height: 1.2;
    font-weight: 500;

}

}
#preloader {
    position: fixed;       /* Bleibt über allem */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;         /* Flexbox aktivieren */
    justify-content: center; /* horizontal zentrieren */
    align-items: center;     /* vertikal zentrieren */
    flex-direction: column;  /* Logo über Animation */
    z-index: 99999;
}

/* Logo */
#logo {
    width: 200px;       /* Größe anpassen */
    height: auto;
    margin-bottom: 20px; /* Abstand zur Animation */
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
    position: relative;
    height: 70vh; /* wie vorher */
    overflow: hidden;
}

/* Hintergrundbild */
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
      object-fit: cover;
    object-position: top center; /* Oben bleibt sichtbar */
}/* Hintergrund */
}

/* Overlay nur über Bild, nicht über Navbar */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1); /* Abdunkelung */
    z-index: 1; /* über Bild, unter Text */
}

/* Hero Content */
.hero-content-home {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2; /* über Overlay */
    color: #fff; /* Text sichtbar über dunklem Overlay */
}

/* Logo responsive */
.hero-logo {
    height: auto;
    width: clamp(200px, 60vw, 500px);
    display: block;
    margin: 0 auto;
    opacity: 0.85;
}


.subtitle {
     font-size: 1.5rem;
    margin-top: 10px;
    display: inline-block;          /* Textumrahmung nur so breit wie der Text */
    background-color: rgba(217,116,59,0.7); /* helle Hintergrundfarbe, halbtransparent */
    padding: 5px 10px;              /* Abstand innen, oben/unten, links/rechts */
    border-radius: 12px;            /* abgerundete Ecken */                /* Textfarbe passend zum Design */
    font-weight: 500;                /* optional, etwas fetter */
    text-align: center;             /* Text zentrieren */
}
/* Navbar wie vorher (durchsichtig orange) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(217, 116, 59, 0.55); /* wie vorher */
    backdrop-filter: blur(10px);
    z-index: 3; /* über allem */
}
/* ============================= */
/* HEADER & NAVBAR */
/* ============================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(217, 116, 59, 0.55);
    backdrop-filter: blur(10px);
}

/* LOGO */
.logo img {
    height: 50px;
}

/* ============================= */
/* NAV LINKS (DESKTOP BASIS) */
/* ============================= */

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    white-space: nowrap;
    border-radius: 6px;
}

.nav-links a:hover {
    background: rgba(198, 98, 47, 0.7);
}

/* ============================= */
/* DROPDOWN – BASIS */
/* ============================= */

.dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    background: transparent;
}

/* Unterpunkte als farbige Buttons */
.dropdown-menu li {
    margin: px 0;
}

.dropdown-menu li a {
    background: rgba(198, 98, 47, 0.95);
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    display: block;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(170, 75, 30, 0.95);
    transform: translateY(-1px);
}

/* ============================= */
/* DESKTOP: DROPDOWN PER HOVER */
/* ============================= */

@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        z-index: 2000;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ============================= */
/* HAMBURGER */
/* ============================= */

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Pfeil */
.arrow {
    font-size: 0.8em;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* ============================= */
/* MOBILE NAVIGATION */
/* ============================= */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(217, 116, 59, 0.95);
        flex-direction: column;
        align-items: stretch;
        display: none;
        padding: 16px 0;
    }

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

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        padding: 20px 16px;
        font-size: 1.2rem;
    }

    /* MOBILE DROPDOWN (Animation) */
    .dropdown-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        margin: 0;
    }

    .dropdown.open .dropdown-menu {
        max-height: 500px;
    }

    /* Pfeil drehen */
    .dropdown.open > a .arrow {
        transform: rotate(180deg);
    }
}




/* Willkommen Section */
.welcome {
    padding: 50px 20px;
    text-align: center;
    background: var(--background);
}

.welcome h1 {
    font-size: 2.5rem;
      font-family: "EB Garamond", Garamond, serif;
    padding-bottom: 5px;
    color: var(--color-h);
}

.welcome p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-p);
}

/* Drei Bilder Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 60px 20px;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    align-content: center;
}

.feature {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.feature img {
    width: 100%;
    max-width: 300px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    color: #d9743b;
    font-size: 1.3rem;
}

.feature p {
    color: #4d2e1f;
    
}

/* Feature Buttons */
.feature-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #d9743b, #ff9f5a);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.feature-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #c66533, #ffb178);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Kontaktbereich */
.anfahrt {
  position: relative;
  padding: 80px 20px;
    background-image: url("img/DJI_0600.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
     background-color: rgba(0, 0, 0, 0.1); /* Schwarz, 50% Deckkraft */
  background-blend-mode: overlay; /* mischt Bild und Farbe */
}

.anfahrt-overlay {
  background: rgba(255, 255, 255, 0.85);
  max-width: 1200px;
  margin: auto;
  padding: 50px;
  box-sizing: border-box;   
}

/* Überschrift */
.anfahrt h2 {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 50px;
  color: var(--color-h);
  border-top: 2px solid var(--orange);
  padding-top: 20px;
}

.anfahrt h1{
    color: var(--bg-card);
    text-align: center;
    font-size: 2.5rem;
        
}

.anfahrt h4{
     color: var(--bg-card);
    text-align: center;
    font-weight: 200;
    padding-bottom: 20px;
    font-size: 1.2rem;
    

}
.anfahrt-info p{
    font-family: "Raleway", sans-serif;
}

/* Layout */
.anfahrt-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Kontaktinfos */
.anfahrt-info {
  flex: 1;
  min-width: 280px;
}

.anfahrt-info h3 {
  color: var(--color-h);
  margin-bottom: 20px;
}

.anfahrt-info p {
  color: var(--color-p);
  line-height: 1.7;
  margin-bottom: 10px;
}

.anfahrt-info .name {
  font-weight: bold;
}

.anfahrt-telefon,
.anfahrt-email {
  margin-top: 15px;
  font-weight: 500;
}

/* Karte */
.anfahrt-map {
  flex: 1;
  min-width: 0;            
}

.anfahrt-map iframe {
  width: 100%;
  max-width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {

      .anfahrt-overlay {
    padding: 30px 20px;
  }

  .anfahrt-container {
    flex-direction: column;
  }

    .anfahrt {
       background-image: none; 
        background-color: rgba(217, 116, 59, 0.15); /* leichtes Orange */
        background-blend-mode: normal; /* nur Farbe, keine Mischung */
        padding: 50px 15px; /* etwas kleineres Padding */
    }
        .anfahrt h1{
        color: var(--color-h);
        margin-top: 10%;
        padding-top: 5%;
    }
    .anfahrt h4{
        color:var(--color-p);
    }
   
  

}


.about-hero {
  height: 50vh;
  width: 100%;
  background-image: url("img/DJI_0600_hero.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: bottom;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (max-width: 780px) {
  .about-hero {

 background-image: url("img/Titelbild2_Lena_Tiefel%20Kopie_mobile.jpg"); /* Bild schon auf Handy-Ausschnitt zugeschnitten */
    background-size: cover;
    background-position: center 35%;  /* Fokus auf Pferde */
    background-attachment: scroll;
    height: clamp(290px, 48vh, 360px);
  }
    
}


.logo-wied {
    position: relative;
    top: 5%;
 width: clamp(190px, 45vw, 360px);
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.9;
}





/*Hero-Section Pferde */
.about-hero2 {
  height: 50vh;
  width: 100%;
  background-image: url("img/Titelbild2_Lena_Tiefel%20Kopie.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: bottom;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (max-width: 780px) {
  .about-hero2 {
    background-image: url("img/Titelbild2_Lena_Tiefel%20Kopie_mobile.jpg"); /* Bild schon auf Handy-Ausschnitt zugeschnitten */
    background-size: cover;
    background-position: center 35%;  /* Fokus auf Pferde */
    background-attachment: scroll;
    height: clamp(290px, 48vh, 360px);
  }
    .subtitle{
        margin: 15px;
        background-color: rgba(217,116,59,0.5);
    }
    .logo-wied2 {
    position: relative;
    top: 7%;
    opacity: 0.3;
}

}

.logo-wied2 {
    position: relative;
    top: 5%;
 width: clamp(190px, 45vw, 360px);
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.9;
}



.subtitle {
  position: relative;
    top: 5%;
   font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

#mittig{
    justify-content: center;
    text-align: center;
    align-content: center;
}

#angebote li{
    text-align: center;      
  list-style-position: inside; 
}
.about-us {
 background:var(--background);
  padding: 70px 20px;
    align-items: center;
    line-height: 3rem;
    
}

.about-intro,
.about-animals {
    border: 3px solid var(--color-h);

  border-radius: 12px;
  padding: 3% 7%;
  margin-bottom: 70px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
    line-height: 1.7;
}




.about-intro h2 {
  font-size: 2.1rem;
  text-align: center;
    color:var(--color-h);
    line-height: 1.4;
}

.about-intro h3{font-size: 1.4rem;  
}

.about-intro p {
  font-size: 1.1rem;
  text-align: center;
    color:var(--color-p);
   
}
.about-intro li {
  font-size: 1.1rem;
    padding: 5px;
  text-align: center;
    color:var(--color-p);
   
}




/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(232,139,79,0.35);
  transition: all 0.3s ease;
  margin: 15px 0;
    align-content: center;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn.outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1500px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* Text rechts */
.about-intro {
  flex: 1.2;
}


/* Responsive – untereinander auf Handy */
@media (max-width: 900px) {
  .about-wrapper {
    flex-direction: column;
  }

  .about-intro,
  .about-image {
    max-width: 100%;
  }
     /* Text zuerst */
  .about-intro {
    order: 1;
  }

.about-image img {
    height: 200px;
  }
    /* Bilder danach */
  .about-image {
    order: 2;
      margin-bottom: 30px;
      
  
  }
}


/* Team */
/* TEAM SECTION */
.about-team {
  padding: 70px 20px;
  width: 100%;
  margin: 0 auto 70px;
    background-color: var(--bg-card);
    border-radius: 12px;
}

.about-team h2 {
  font-size: 2.1rem;
  text-align: center;
  color: var(--color-h);
  margin-bottom: 60px;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* CARD */
.team-card {
  text-align: center;
}

.team-card img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.team-card h3 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.team-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-p);
  max-width: 320px;
  margin: 0 auto;
}

/* ✨ OPTIONAL Hover-Effekt */
.team-card img {
  transition: transform 0.3s ease;
}
.team-card:hover img {
  transform: scale(1.05);
}

/* Tiere */
.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.about-animals h2{
    color: var(--color-h);
    text-align: center;
}
.animal-grid img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}
.animal-card {
  text-align: center;
}

.animal-card span {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
}


/* Responsive */
@media (max-width: 768px) {
  .team-member,
  .team-member.reverse {
    flex-direction: column;
    text-align: center;
  }

  .about-intro,
  .about-team,
  .about-animals {
    padding: 35px 25px;
  }
      .animal-grid {
    grid-template-columns: 1fr;  /* nur 1 Bild pro Reihe */
    gap: 25px;
  }

  .animal-grid img {
    height: auto;               /* natürliche Höhe */
  }
      .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card img {
    width: 270px;
    height: 270px;
  }

  .about-team h2 {
    font-size: 1.8rem;
  }
}
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}





/* HERO */
.ra-hero {
    height: 40vh;
    background: url("img/herde_1.jpg") center/cover no-repeat;
    position: relative;
}

.ra-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;

    
}

.ra-hero__title {
    font-size: 3rem;
   
}

.ra-hero__subtitle {
    font-size: 1.3rem;
   

}

/* Abschnitt Styling */
.ra-intro {
    /* etwas Innenabstand */
    background: var(--background);
    padding: 3% 7% 0% 7%;
   
    
}


.facility {
  border: 3px solid var(--color-h);
  border-radius: 12px;
  padding: 70px 20px;
  margin: 0 auto;
}

.facility h2 {
  text-align: center;
  font-size: 2.1rem;
  color: var(--color-h);
  padding-bottom: 40px;
  
}

/* 2-SPALTEN LAYOUT */
.facility-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Bild links, Text rechts */
  gap: 40px;
  align-items: start;
}

/* BILD */
.facility-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
}

/* LISTE */
.facility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facility-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color, #333);
}

/* PUNKT ALS ICON */
.facility-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--accent);
}

/* RESPONSIVE: MOBIL */
@media (max-width: 780px) {
  .facility-layout {
    grid-template-columns: 1fr;   /* 1 Spalte */
  }

  /* Reihenfolge ändern */
  .facility-image {
    order: 2;
    margin-top: 30px;
  }

  .facility-list {
    order: 1;
  }

  /* Bild mobil optimieren */
  .facility-image img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .facility {
    padding: 50px 20px;
  }

  .facility-list li {
    font-size: 1rem;
    padding-left: 26px;
  }
}

/* FEATURES */
.ra-features {
    background: #f6d9c9;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 4%;
}
.ra-features h2{
    color: var(--color-h);
    text-align: center;
    margin-top: 10px;
}

.ra-feature {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.ra-feature:hover {
    transform: translateY(-6px);
}

.ra-feature__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ra-feature__title {
    color: var(--accent);
    padding: 1rem 1rem 0.3rem;
}

.ra-feature__text {
    padding: 0 1rem 1.2rem;
    font-size: 0.95rem;
    color:var(--color-p);
}
/* Responsive Anpassung */
@media (max-width: 768px) {
    .ra-features {
        padding: 3rem 1rem; /
        gap: 1.2rem;       
    }
}

@media (max-width: 480px) {
    .ra-features {
        padding: 2rem 0.6rem; 
    }
}

.ra-gallery{
    text-align: center;
    color: var(--color-h);
    padding-bottom: 4%;
}
.ra-gallery__headline{
    margin-top: 5%;
    padding-bottom: 17px;
}

/* FOOTER */
.ra-footer {
    background: var(--ra-primary);
    color: white;
    text-align: center;
    padding: 1.5rem;
}



.ra-slider {
    max-width: 1500px;
    margin: 5%;
    margin: auto;
    overflow: hidden;
    border-radius: 16px;
}

.ra-slider__track {
    display: flex;
    width: calc(14 * 100% / 7); /* 6 Bilder, 3 Originale */
    animation: ra-slide-loop 15s linear infinite;
}

.ra-slider__image {
    width: calc(100% / 7);  /* 6 Bilder auf 100% Track-Breite */
    height: 450px;
    object-fit: cover;
}

@keyframes ra-slide-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrollt genau die Hälfte (= 3 Originalbilder) */
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .ra-hero__title {
        font-size: 2.2rem;
    }

    .ra-slider {
        overflow: visible;       /* kein Abschneiden */
    }

    .ra-slider__track {
        display: block;          /* statt flex */
        width: 100%;
        animation: none;         /* Animation ausschalten */
    }

    .ra-slider__image {
        width: 100%;             /* volle Breite */
        height: auto;            /* natürliche Höhe */
        margin-bottom: 20px;     /* Abstand zwischen Bildern */
    }
    .ra-slider__image:nth-child(n+8) {
        display: none;
    }
}



/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.container h2{
    text-decoration: underline;
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-h);
    padding: 20px 0 10px 0;
    letter-spacing: 2px;
    
}
.section-title {
  font-size: 28px;
  color: var(--orange-dark);
  margin-bottom: 25px;
}

/* ---------- Aktuelles ---------- */
.fohlenseite {
    max-width: 1500px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}
.paarung {
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 60px;
    gap: 60px;
}

/* TITEL */
.titel-fohlen h1 {
    margin: 0;
    font-size: 2.1rem;
    color: var(--color-h);
}

.titel-fohlen h2 {
    margin: 0;
    font-size: 1.7rem;
    color: var(--accent);
    font-weight: normal;
}

/* TEXT */
.titel-fohlen p {
    margin: 20px 0 30px 0;
}

/* =========================================
   ANPAARUNG HEADER (Stute × Hengst Überschriften)
   ========================================= */


.anpaarung-header {
    display: flex; /* Flex für horizontale Ausrichtung */
    justify-content: center; /* zentriert horizontal */
    align-items: center; /* vertikal zentriert */
    gap: 20px; /* Abstand zwischen Stute, Kreuz, Hengst */
    margin: 30px 0;
    font-size: 24px;
    font-weight: bold;
    color: black; /* Farbe Header – hier kann man einen Akzent setzen */
}

.kreuz {
    font-size: 28px;
    opacity: 0.7; /* leicht transparentes Kreuz */
}

/* =========================================
   STUTE + HENGST Container (Desktop & Mobile)
   ========================================= */
.paarung {
    display: flex; /* nebeneinander auf Desktop */
    gap: 40px;
    
}

.anpaarung {
    width: 50%; /* jede Hälfte für Stute/Hengst */
    border: 2px solid var(--color-h); /* Rahmen, kann Farbe ändern */
    padding: 10px; /* Innenabstand */
    box-sizing: border-box; /* Padding + Border in Breite berücksichtigen */
    transition: box-shadow 0.3s; /* für Hover Effekt */
    background-color: #ffffff;
    
}

/* Hover Effekt: leichtes Highlight für interaktive Optik */
.anpaarung:hover {
    box-shadow: 0 4px 16px rgba(200, 100, 0, 0.2);
}

/* Überschrift innerhalb der Paarung */
.anpaarung h3 {
    margin-bottom: 10px;
    color: var(--color-h); /* Hauptfarbe Header */
}

/* =========================================
   INFO-LISTE der Pferde
   ========================================= */
.infos-fohlen {
    list-style: none; /* keine Aufzählungszeichen */
    padding: 0;
    margin-bottom: 20px;
}

.infos-fohlen li {
    margin-bottom: 5px;
    line-height: 1.4;
}

/* =========================================
   EIGENSCHAFTEN-TABELLE
   ========================================= */
.eigenschaften {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.eigenschaften th,
.eigenschaften td {
    border: 1px solid #ccc;
    padding: 8px;
}

/* Kopfzeile Hintergrund */
.eigenschaften th {
    background-color: #f2f2f2;
}

/* Erste Spalte rechtsbündig, letzte Spalte linksbündig */
.eigenschaften td:first-child,
.eigenschaften th:first-child {
    text-align: right;
    padding-right: 12px;
}

.eigenschaften td:last-child,
.eigenschaften th:last-child {
    text-align: left;
    padding-left: 12px;
}

/* Optional: Farbige Zeilen für bessere Lesbarkeit */
.eigenschaften tr:nth-child(even) {
    background-color: #fafafa; /* leichtes Grau */
}

/* =========================================
   BILDER der Pferde
   ========================================= */
.anpaarung img {
    max-width: 100%; /* responsiv */
    height: auto;
    display: block;
    margin: 0 auto; /* zentriert */
    border-radius: 6px; /* abgerundete Ecken */
 
}

/* =========================================
   VIDEO LINKS
   ========================================= */
.video-link {
    margin: 10px 0;
    text-align: center;
}

.video-link a {
    text-decoration: none;
    font-weight: 600;
    color: var(--accent); /* Akzentfarbe für Links */
    transition: color 0.2s;
}

.video-link a:hover {
    text-decoration: underline;
    color: var(--color-h); /* Hover-Farbe ändern, z. B. dunkler Akzent */
}

/* Redundanz entfernen: .video-link2 ähnlich behandeln */
.video-link2 {
    text-align: center;
}

.video-link2 a {
    text-decoration: none;
    font-weight: 600;
    color: var(--accent);
}

.video-link2 a:hover {
    text-decoration: underline;
    color: var(--color-h);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {

    .paarung {
        flex-direction: column; /* Stute und Hengst untereinander */
        gap: 20px; /* Abstand verringern */
    }

    .anpaarung {
        width: 100%;
    }

    .anpaarung-header {
        font-size: 20px; /* kleiner auf Mobilgeräten */
        gap: 10px;
    }
}

/* Extra für kleine Geräte */
@media (max-width: 480px) {
    .anpaarung {
        padding: 5px;
    }
}

.zurueck-btn {
    display: inline-block;
    margin: 30px auto 50px; /* oben 30px, unten 50px Abstand */
    padding: 10px 20px;
    background-color: var(--accent); /* Akzentfarbe */
    color: #fff; /* weiße Schrift */
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px; /* abgerundete Ecken */
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

/* Hover Effekt */
.zurueck-btn:hover {
    background-color: var(--color-h); /* dunklerer Akzent beim Hover */
    transform: translateY(-2px); /* leichtes Anheben beim Hover */
}
/* BILD-GRUNDSTRUKTUR */
.bild-container {
    width: 100%;
    max-width: 600px;
    height: 520px;                 /* ALLE Bilder gleich hoch */
    display: flex;
    align-items: center;
    justify-content: center;
        /* ruhiger Hintergrund */
    border-radius: 8px;
    overflow: hidden;
    margin: 5px;
}

/* STANDARD: Querformat darf füllen */
.bild-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

/* HOCHFORMAT: nichts abschneiden */
.bild-container.hochformat img {
    object-fit: contain;
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-card img {
 
    width: 100%;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-date {
  font-size: 14px;
  color: var(--orange-dark);
  margin-bottom: 8px;
}

/* ---------- Termine / Kalender ---------- */
#termine{
    border: 4px solid var(--color-h);
 

    
}

.event-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.event-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;

}

.event-detail h1 {
  text-align: center;
    font-size: 1.9rem;
    margin: 0 4%;
  margin-bottom: 2rem;
    color: var(--color-h);
}
.event-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.event-content p{
    line-height: 1.6;
    
}


/* Text */
.event-text {
  flex: 1;
}

/* Bild */
.event-image {
  flex: 1;
}

.event-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .event-content {
    flex-direction: column;
  }
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
    padding: 15px;
      margin-top: 0;
    padding-top: 0;
}

.event {
  background: var(--orange-light);
  border-left: 6px solid var(--orange);
  padding: 15px;
  border-radius: 8px;
}

.event-date {
  font-weight: bold;
  color: var(--orange-dark);
  margin-bottom: 5px;
}

.event-title {
  font-size: 18px;
  margin-bottom: 5px;
}

#berichte{
max-width: 1100px;
    margin: 40px auto;
  padding: 0 20px;
}
.bericht-card {
    display: flex;
    gap: 20px;
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.bericht-card img {
    width: 360px;
    object-fit: cover;
}

.bericht-content {
    padding: 20px;
}

.bericht-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.bericht-content p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.mehr-btn {
    display: inline-block;
    
    padding: 10px 18px;
    background: var(--accent); /* anpassbar */
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.mehr-btn:hover {
    background: #5f3920;
}
@media (max-width: 768px) {
    .bericht-card {
        flex-direction: column;
    }

    .bericht-card img {
        width: 100%;
        height: 200px;
    }
}
.bericht-detail {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.bericht-detail img {
    width: 100%;
    border-radius: 10px;
    margin: 25px 0;
}


.bericht-detail h2 {
    margin-top: 30px;
    color: var(--color-h);
    
}
.bericht-detail h1{
    text-align: center;
    color: var(--color-h);
}

.bericht-detail p{
    line-height: 1.6;
}
.zurueck-btn {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    color: #7a4b2a;
    font-weight: bold;
}


/* ---------- Call to Action ---------- */
.calendar-cta {
  position: relative;
  background-image: url(img/DSC_5567.jpg);
  background-size: cover;
  background-position: center;
  height: 750px;
  width: 100%;
}

/* Overlay für Lesbarkeit */
.calendar-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
}

.calendar-cta-text,
.calendar-cta-button {
  position: absolute;
  right: 60px;
  z-index: 1;
}

.calendar-cta-text {
  bottom: 130px;
  font-size: 19px;
  font-weight: 600;
  color: var(--background);
}

.calendar-cta-button {
  bottom: 60px;
  padding: 14px 32px;
  background: var(--color-h);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}



@media (max-width: 768px) {
  .calendar-cta-text {
    display: none;
  }
    .calendar-cta{
        height: 200px;
      
    }
    
    .calendar-cta-button{
         left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}


/* ---------- Monatsüberschriften ---------- */
.month-title {
  margin: 50px 0 20px;
  font-size: 26px;
  font-weight: bold;
  color: var(--orange-dark);
  border-left: 6px solid var(--orange);
  padding-left: 15px;
}
/* Abstand nach jedem Monats-Grid */
.calendar-grid {
  margin-bottom: 40px;
}


/* ---------- Layout ---------- */
.contact-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact-title {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--orange-dark);
}

.contact-intro {
  font-size: 18px;
  margin-bottom: 40px;
}

/* ---------- Kontaktbereich ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-subtitle {
  margin-bottom: 20px;
  color: var(--orange);
}

.contact-item {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ---------- Karte ---------- */
.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ---------- Footer ---------- */
.contact-footer {
  margin-top: 80px;
  padding: 20px;
  text-align: center;
  background: var(--orange-dark);
  color: white;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
    background: #d9743b;
    color: white;
    text-align: center;
    padding: 30px 20px;
    
}

.footer-icons {
    margin-bottom: 15px;
}

.footer-icons a {
    color: white;
    margin: 0 12px;
    font-size: 22px;
    transition: color 0.3s;
}

.footer-icons a:hover {
    color: #ffc299;
}
.footer-legal {
    margin-top: 8px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-legal a {
    color: #ffe6d6; /* leicht heller als weiß */
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.footer-legal span {
    opacity: 0.6;
}

.impressum {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    line-height: 1.7;
    text-align: center;
}

.impressum h1 {
    font-size: 26px;
    margin-bottom: 20px;
}

.impressum h2 {
    font-size: 18px;
    margin-top: 30px;
}

.impressum a {
    color: #333;
    text-decoration: none;
}

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



/* Grundlegendes Styling */
.islandpferd {
    margin: 0;
    line-height: 1.8;
    color: #333;
    font-family: 'Raleway', sans-serif; /* Raleway Schriftart */
}

/* Seitenlabel oben */
.islandpferd .page-label {
    text-align: center;
    padding: 20px 0 10px 0;
    background-color: #eaf3ea;
}

.islandpferd .page-label p {
    font-size: 1.3rem;
    color: #1a4d2e;
    margin: 0;
}

/* Überschrift unter Hero */
.islandpferd .page-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-h);
    margin: 40px 0 20px 0;
}

/* Content Blocks */
.islandpferd .content-block,
.islandpferd .content-block-reverse {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px 20px; /* etwas mehr Padding für Luft */
    gap: 30px;
    background-color: var(--background); /* Hintergrundfarbe für Block */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Bilder in Content Blocks */
.islandpferd .content-block img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Text im Block */
.islandpferd .content-text {
    flex: 1;
    padding: 20px;
    line-height: 1.8; /* bessere Lesbarkeit */
    font-size: 1.05rem; /* angenehmere Größe */
    color: var(--color-p);
    max-width: 55ch; /* optimale Zeilenlänge */
}

/* Reverse Block: Bild rechts, Text links */
.islandpferd .content-block-reverse {
    flex-direction: row-reverse;
}

/* Ganzkörperbild unten */
.islandpferd .fullbody-image {
    display: block;
    margin: 40px auto;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .islandpferd .content-block,
    .islandpferd .content-block-reverse {
        flex-direction: column;
    }

    .islandpferd .content-block img,
    .islandpferd .content-text {
        padding: 10px;
        text-align: center;
        max-width: 100%;
    }

    .islandpferd .page-title {
        font-size: 2rem;
    }
}
/* Zucht */
.hero-small {
    height: 70vh;
    position: relative;
}

.hero-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
   
   
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.7;
}
.zucht-philosophie {
    max-width: 1400px;
    margin: 5rem auto 3rem;
    padding: 0 1rem;
     font-family: "Raleway", sans-serif;
    font-weight: 400;
}

.zucht-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.zucht-text {
    flex: 1;
    color: var(--color-h);
}


.zucht-zitat {
    
    font-size: 1.2rem;
    color: var(--color-p);
    border-left: 4px solid var(--color-h);
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.zucht-bild {
    flex: 1;
}

.zucht-bild img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    
}
@media (max-width: 768px) {
    .zucht-content {
        flex-direction: column;
        text-align: center;
    }

    .zucht-zitat {
        border-left: none;
        border-top: 4px solid #b58b4f;
        padding-left: 0;
        padding-top: 1rem;
    }
}
/* ======================
   HERO / BILD
====================== */
.hengst-hero {
    text-align: center; /* Überschrift und Bild zentrieren */
    margin: 40px 0;     /* Abstand oben und unten */
}

.hengst-name {
    font-size: 2rem;       /* Größe der Überschrift */
    font-weight: bold;     /* fett */
    margin-bottom: 10px;   /* Abstand zwischen Überschrift und Bild */
    color: var(--color-h);           /* dunkle Schriftfarbe */
}

.hengst-img {
    width: 100%;           /* Bild passt sich der Breite an */
    max-width: 700px;      /* maximale Breite */
    height: auto;          /* Höhe proportional */
    border-radius: 12px;   /* optional: abgerundete Ecken */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* optional: leichter Schatten */
}

/* ======================
   CONTENT
====================== */
.hengst-content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
    text-align: center;
}

/* Fakten + Quote Layout */
.hengst-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ======================
   FAKTEN
====================== */
.hengst-facts {
   display: flex;
  flex-direction: column;
  gap: 1rem;
    padding: 10px 0px;

}

.hengst-fact {

  text-align: center;
}

.hengst-fact span {
     font-family: "Raleway", sans-serif;
   display: block;
  font-size: 1.1rem;
  color: var(--color-p); 
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

.hengst-fact strong {
  font-size: 1.05rem;
  
}

.link-prins{
    text-align-last: center;
    color: black;
}
.link-prins a{
    color: var(--color-h);
}

/* ======================
   QUOTE
====================== */
.hengst-quote {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
    
}

.hengst-quote-bar {
  width: 6px;
  align-self: stretch;
  background-color: var(--color-h);
  border-radius: 3px;
  flex-shrink: 0;
}

.hengst-quote blockquote {
  margin: 0;
  color: var(--color-p);
     font-family: "Raleway", sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* ======================
   GALERIE
====================== */
.hengst-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.hengst-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 800px) {
  .hengst-top {
    grid-template-columns: 1fr;
  }

  .hengst-quote {
    justify-content: center;
    text-align: center;
  }

  .hengst-quote-bar {
    display: none;
  }
}

@media (max-width: 600px) {
  .hengst-name {
    font-size: 2rem;
    bottom: 6%;
  }


  .hengst-gallery {
    grid-template-columns: 1fr;
  }
}
/* SUB NAV */
.sub-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: rgba(217,116,59,0.9);
    padding: 15px;
}

.sub-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.sub-nav a.active,
.sub-nav a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {

  .sub-nav {
    padding: 15px 20px;   
    gap: 18px;            
    flex-wrap: wrap;    
           
  }
    .sub-nav a{
     margin: 0 10px;       
    border-radius: 10px;
 }
}
/* HORSES SECTIONS */
.horses {
    padding: 60px 20px;
    background: black;
}
.hengst-bg {
    background: rgba(217,116,59,0.9);
}
.horses h2 {
    text-align: center;
    font-size: 1.9rem;
    color: white;
    padding-bottom: 20px;
}
.horses h3 {
    text-align: center;
}

/* HORSE GRID */
.horse-grid, .horse-grid2 {
    display: grid;
    gap: 30px;
    margin: auto;
}
.horse-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1500px;
}
.horse-grid2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
}

.horse-card, .horse-card2 {
    background: white;
    border-radius: 3px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: var(--color-p);
    text-decoration: none;
    display: block;
}

.horse-card2 p a{
     color: var(--color-p);
  
}
.horse-card:hover, .horse-card2:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.horse-card img, .horse-card2 img {
    width: 100%;
    border-radius: 12px;
}
.horse-card h3, .horse-card2 h3 {
    margin: 15px 0 5px;
    color: #d9743b;
}

/* ===============================
   NACHZUCHT – GRUNDSTRUKTUR
================================ */

#nachzucht {
    max-width: 1700px;
     padding: 10px 20%;
    background-color: var(--background);
    margin: 0 auto;
}

#nachzucht h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* ===============================
   JAHRGANG
================================ */

.jahrgang {
    margin-bottom: 4rem;
    position: relative;
   
}

.jahrgang > h3 {
    position: absolute;
    left: 0;
    top: 0;
    transform: rotate(-90deg);
    transform-origin: left top;
    font-size: 2rem;
    font-weight: 700;
    color: #d9743b;
}

/* ===============================
   GRID
================================ */

.nachzucht-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
    margin-left: 4rem;

}

.nachzucht-card-grid2{
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;

    max-width: 1200px;   /* optional, aber sehr empfehlenswert */
    margin: 0 auto;     /* 🔥 zentriert das Grid */
    padding: 1rem;      /* etwas Luft am Rand */
 justify-items: center;

}
/* ===============================
   CARD
================================ */

.nachzucht-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 3px;
    cursor: pointer;
    background: #000;
      width: 100%;
    max-width: 350px; /* 🔥 begrenzt die Größe */
}

.nachzucht-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===============================
   NAME (IM RUHEZUSTAND)
================================ */

.nachzucht-card::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: var(--color-h);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===============================
   OVERLAY
================================ */

.nachzucht-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

/* ===============================
   OVERLAY TEXT
================================ */

.nachzucht-card-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--color-h);
     font-family: "Zalando Sans", sans-serif;
}

.nachzucht-card-overlay p {
    font-size: 1.1rem;
     font-family: "Zalando Sans", sans-serif;
}

/* ===============================
   INTERAKTION
================================ */

.nachzucht-card:hover .nachzucht-card-overlay,
.nachzucht-card:focus .nachzucht-card-overlay {
    transform: translateY(0);
}
.nachzucht-card:hover::after,
.nachzucht-card:focus::after,
.nachzucht-card:active::after {
    opacity: 0;
    transform: translateY(10px);
}
/* ===============================
   MOBILE VERBESSERUNG
================================ */

@media (hover: none) {
    .nachzucht-card:active .nachzucht-card-overlay {
        transform: translateY(0);
    }
}

.border-nachzucht{
    box-sizing: border-box;
     border: 3px solid #d9743b;   /* 1px = dünnster Standardrahmen */
  padding: 60px 30px 20px 30px; 
}

/* ===============================
   NACHZUCHT – RESPONSIVE OPTIMIERUNG
================================ */

@media (max-width: 768px) { /* Tablet und kleiner */
    
    /* Nachzucht Container */
    #nachzucht {
        padding: 10px 5%; /* weniger Rand, symmetrisch */
        max-width: 100%;  
        margin: 0 auto;
    }

    /* Border Container */
    .border-nachzucht {
        padding: 40px 10px 20px 10px; /* symmetrischer Abstand */
        border-width: 3px;
        border-style: solid;
        border-color: #d9743b;
        box-sizing: border-box;
    }

    /* Jahrgang Titel – rotieren evtl. kleiner */
    .jahrgang > h3 {
        position: static; /* keine absolute Position mehr */
        transform: none; /* keine Rotation auf Mobile */
        font-size: 1.9rem;
        margin-bottom: 1rem;
        text-align: left; 
    }

    /* Grid für Karten */
    .nachzucht-card-grid {
        display: grid;
        grid-template-columns: 1fr; /* eine Spalte, mittig */
        gap: 1.5rem; 
        margin-left: 0; /* kein Offset mehr */
        margin-right: 0;
        justify-items: center; /* Karten zentrieren */
    }

    /* Nachzucht-Karten Größe */
    .nachzucht-card {
        max-width: 350px;  /* etwas größer auf Mobile */
        width: 90%;        /* passt sich Bildschirm an */
        aspect-ratio: 2/3; /* bleibt proportional */
    }

    .nachzucht-card img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    /* Overlay Schriftgröße etwas größer */
    .nachzucht-card-overlay h3 {
        font-size: 1.4rem;
    }

    .nachzucht-card-overlay p {
        font-size: 1.15rem;
    }
}
/* Zuchtstutenseite*/

/* ==============================
   STUTEN / REITPFERDE – SEITE
   ============================== */

.stuten-seite {
    min-width: 100%;
    margin: auto;
    background: var(--background);
    padding: 30px;
    border-radius: 12px;
}

/* Überschrift */
.stuten-info h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.3rem;
    color:var(--color-h);
}

/* ==============================
   LISTE DER PFERDE (UNTEREINANDER)
   ============================== */

.stuten-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

/* ==============================
   EINZELNE PFERDE-KARTE
   ============================== */

.description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px;
    background: #fff;
    
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Name */
.description h1, h2 {
    margin: 0;
    color: var(--color-h);
    font-size: 2rem;
    
}

.description p strong{
    margin: 5px 0;
    line-height: 1.5;
    font-size: 1.3rem;
    color:var(--color-h);
}
.description p{
    padding: 6px 0;
    line-height: 1.5;
    font-size: 1.1rem;
    
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.image-row img {
    max-height: 450px;      /* Obergrenze, damit es nicht zu groß wird */
    width: auto;
    max-width: 100%;
    object-fit: contain;    /* KEIN Zuschneiden */
}


/* Text */
.description p {
    width: 100%;
    margin: 5px 0;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 600px) {

    /* Gesamter Seitencontainer – weniger Rand */
    .stuten-seite {
        padding: 10px;
    }

    .stuten-info {
        padding: 0.5rem;
        gap: 25px;
    }

    /* Karten – kleinerer Innenabstand */
    .description {
        padding: 12px;
        gap: 12px;
        border-radius: 14px;
    }

    /* Bilder untereinander */
    .image-row {
        flex-direction: column;
        gap: 10px;
    }

    /*  Bilder größer machen */
    .image-row img {
        width: 100%;        /* volle Breite */
        max-width: 100%;
        height: auto;
        margin: 0;
    }
}

/* Nachkommen */
.nachkommen {
    margin-top: 50px;
}

.nachkommen h2 {
    margin-bottom: 20px;
    }

.nachkommen2 {
    margin-top: 50px;
}

.nachkommen2 h2 {
    margin-bottom: 20px;
    text-align: center;
    color: var(--color-h);
    font-size: 2.1rem;
    }

/* ===============================
   HENGST- UND STUTEN-KARTEN – MOBILE ANPASSUNG
================================ */
@media (max-width: 768px) {  /* Tablet und kleiner */

    /* Grid für Stuten/Hengste auf Mobile */
    .horse-grid, .horse-grid2 {
        grid-template-columns: 1fr;  /* nur eine Spalte */
        gap: 1.5rem;
        justify-items: center;       /* Karten zentrieren */
        margin: 0 auto;
        padding: 0 10px;             /* symmetrischer Abstand links/rechts */
    }

    /* Karten selbst auf Mobile */
    .horse-card, .horse-card2 {
        max-width: 380px;            /* gleiche Max-Größe wie Nachzucht */
        width: 90%;                  /* passt sich Bildschirm an */
        padding: 15px;               /* kleineres Padding */
    }

    .horse-card img, .horse-card2 img {
        width: 100%;
        height: auto;                /* proportional wie Nachzucht */
        object-fit: cover;
        border-radius: 12px;
    }

    .horse-card h3, .horse-card2 h3 {
        font-size: 1.4rem;           /* lesbar auf Mobile */
    }

    .horse-card p, .horse-card2 p {
        font-size: 1rem;             /* Text kleiner */
    }
    .horse-card, 
    .horse-card2,
    .nachzucht-card {
        transition: none !important;   /* keine Animationen */
        transform: none !important;    /* kein Scale/Translate */
        box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* statischer Schatten */
    }

}
   /* Hauptüberschrift */
.verkaufspferde{
    background-color: var(--background);
    padding: 2%;
}
.verkaufspferde h1 {
    text-align: center;
    color: var(--color-h);
    margin-bottom: 10px;
}

.verkaufspferde p {
    text-align: center;
    padding-bottom: 30px;
    color: var(--color-p);
}

/* Verkaufspferd Container */
.verkaufspferd {
    display: flex;
    gap: 20px;
    background-color: #fff;
    border: 2px solid var(--color-h);
    border-radius: 12px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    align-items: flex-start;
}

.verkaufspferd img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.verkaufspferd-meta {
    flex: 1;
    display: block; /* Einfacher Block, alles untereinander */
}

.verkaufspferd-meta h3 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.5em;
    color: var(--);
}

.verkaufspferd-meta p {
    margin: 5px 0;
    padding: 4%;
    line-height: 1.6;
}

.verkaufspferd-meta p strong {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .verkaufspferd {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .verkaufspferd img {
        width: 80%;
        margin-bottom: 15px;
    }

    .verkaufspferd-meta {
        width: 100%;
    }
}
/* PREISKATEGORIEN */
.verkaufspferd-price-categories {
    margin-top: 60px;
    text-align: center;
    background: #fff;
    padding: 40px 20px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.verkaufspferd-price-categories h4 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #333;
}

.verkaufspferd-price-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verkaufspferd-price-categories li {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

.verkaufspferd-price-categories strong {
    display: inline-block;
    width: 24px;
    color: #c77642;
}

