:root {
    --green: #4b8b2a;
    --dark: #222;
    --light: #ffffff;
    --gray: #666;
}

/* Allgemein */
* {
    box-sizing: border-box;
    margin: 0; 
    padding: 0;
}

body {
            line-height: 1.6;
            color: #333;
            background-color: #f5f5f5;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
}

/* HEADER & NAVBAR */

.header {
    position: relative;
}
/* Zentrierter, begrenzter Inhalt */
.container {
    max-width: 1200px;
    margin: 0 auto;      /* mittig zentriert */
    padding: 0 20px;     /* etwas Innenabstand links/rechts */
}


/* Navbar oben wie im Screenshot */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 115px;
    background-color: var(--light);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

/* Inhalt innerhalb der Navbar */
.navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;   /* NEU: wichtig für das mobile Menü */
}


/*

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

/*/      
.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
  /*  height: 110px; */
    height: 120px;
    width: auto;
}

.brand {
    font-size: 1.3rem;
    font-weight: 545;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 1.1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-size: 1.21rem;
    padding: 4px 0;
    position: relative;
    letter-spacing: 1px;    
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--system-sans-serif) -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
    font-style: normal;
    font-weight: 500;
  /*  line-height: 1.6; */
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--green);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Burger-Button (nur mobil sichtbar) */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* SLIDER (Bildbereich unter der Navbar) */

.slider {
    position: relative;
    margin-top: 110px; /* Höhe der Navbar */
   /*  height: 89vh;  */
    height: calc(100vh - 115px);
    min-height: 450px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

/* leichte Abdunkelung */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.1)
    );
    pointer-events: none;
}

/* Text im Slider */
.slide-content {
    position: relative;
    z-index: 1;
    color: var(--light);
  /*  max-width: 600px; /*/
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    padding: 40px;
    top: 46%;
    transform: translateY(-50%);
    margin-left: 8%;
}

.slide-content h1 {
    font-size: 50px;
    line-height: 1.8;
    margin-bottom: 14px;
    letter-spacing: 0.2rem;
    color: #eaf7e3;
    font-family: sans-serif;
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 22px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 22px;
    background-color: #2a6e3f;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.375), 1.1rem);
    letter-spacing: 1px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

/* Slider-Pfeile */
.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    border: none;
    background-color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5; 
}


.slider-btn.prev {
    left: 16px;
}

.slider-btn.next {
    right: 16px;
}

/* MAIN-BEREICHE */
main {
    /*  padding: 40px 8%; /*/
    /*background-color: #fafafa;  */
    /*
    padding: 40px 8%;
    background-color: #fafafa;

    /* sorgt dafür, dass main den freien Platz einnimmt */
    /* flex: 1 0 auto; */
    
    flex: 1 0 auto;

}

main section {
   /*  margin-bottom: 50px;  /*/
}

main h2 {
    margin-bottom: 10px;
}
/* 
/* ---------- LEISTUNGEN ---------- */
 
/* ---------- LEISTUNGEN ---------- */

.leistungen-section {
    /*
    max-width: 1200px;
    margin: 120px auto 40px;   /* vorher: 40px auto; oben mehr Platz */
    /*
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    */
     max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #47701f;
    font-weight: 500;
   
    font-family: system-ui, sans-serif;
    margin: 55px 0px 30px
}

   
/* Slider-Layout */
/* Slider-Layout – Karten mit Pfeilen AUF dem Bildbereich */
.leistungen-slider {
    position: relative;
    padding: 0 40px;           /* Platz für Pfeile links/rechts */
}

.leistungen-window {
    overflow: hidden;
}

.leistungen-track {
    display: flex;
    transition: transform 0.4s ease;
}


/* jede Leistungskarte – 3 Stück nebeneinander sichtbar */
.leistung {
    flex: 0 0 calc(100% / 3);
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}

.leistung-img {
    overflow: hidden;
    margin-bottom: 24px;
}

.leistung-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 260px;
    transition: transform 0.4s ease;
}

.leistung-img img:hover {
    transform: scale(1.03);
}

.leistung-img a {
    display: block;
    cursor: pointer;
}

.leistung h3 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 14px;
    font-family: System Sans-serif, Georgia, "Times New Roman", serif;
    
}

.leistung p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    max-width: 320px;
    margin: 0 auto;

    /* Nur 2 Zeilen anzeigen */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;   /* Anzahl der Zeilen */
    overflow: hidden;
}


/* Pfeile links/rechts */
.leistungen-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: rgba(255,255,255,0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    
    /* NEU: über dem Bild positionieren */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.leistungen-nav.prev {
    left: 8px;
}

.leistungen-nav.next {
    right: 8px;
}


.leistungen-nav:hover {
    background-color: #e6e6e6;
    border-color: #999;
}

/* Button unten */
.leistungen-btn-wrapper {
    margin: 25px 0px 75px 0px;
    text-align: center;
}

.btn-large {
    padding: 14px 40px;
    border-radius: 999px;
    font-weight: 600;
}

/* ---------- LEISTUNGEN – Slider ---------- */

.leistungen-tag {
    display: inline-block;
    padding: 14px 60px;
    background-color: var(--green);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* Rahmen des Sliders */
.leistungen-gallery {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
/* 3D-Schatten unter dem gesamten Slider
.leistungen-gallery::after {
     content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;   
    transform: translateX(-50%);
    width: 75%;      
    height: 60px;   
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.18) 40%,
        rgba(0, 0, 0, 0) 70%
    );
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}
 */

.leistungen-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1;
}

/* 3D-Schatten unter dem Bild */
.leistungen-frame::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 70%;
    height: 40px;
    background: radial-gradient(ellipse at center,
                rgba(0, 0, 0, 0.35) 0,
                rgba(0, 0, 0, 0) 70%);
    opacity: 0.7;
    pointer-events: none;
}

/* Slider-Inhalt */
.leistungen-slides {
    display: flex;
    transition: transform 0.6s ease;
}

.leistung-slide {
    min-width: 100%;
    position: relative;
}

.leistung-slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

/* Text auf dem Bild unten links */
.leistung-caption {
    position: absolute;
    left: 40px;
    bottom: 35px;
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Pfeile links/rechts */
.leistungen-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    z-index: 5;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.leistungen-arrow:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.leist-prev {
    left: 10px;
}

.leist-next {
    right: 10px;
}

/* Punkte unter dem Slider */
.leistungen-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;                 /* Abstand vom unteren Bildrand */
    transform: translateX(-50%);
    z-index: 6;                    /* über dem Bild/Caption */
}

.leistungen-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    margin: 0 4px;
    background-color: #cccccc;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.leistungen-dots button.active {
    width: 18px;
    background-color: var(--green);
}

/* ---------- LEISTUNGEN – Detailseite (leistungen.html) ---------- */
/* --------------------------- HERO / SEITENTITEL LEISTUNGEN --------------------------- */

.page-hero {
    width: 100%;
    margin-top: 115px;           /* Höhe deiner Navbar */
    padding: 60px 20px 40px;     /* deutlich weniger Abstand nach oben */
    text-align: center;
}

.page-hero-title {
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #47701f;
    text-transform: capitalize;
    font-family: System Sans-serif, Georgia, "Times New Roman", serif;
}


/* wenn du willst, exakt wie auf der Startseite: */
.page-hero-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #47701f, #73ab3c);
}

.leistungen-detail {
    max-width: 1200px;
    margin: 70px auto 40px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Text-Bereich */
.leistungen-detail .text-content {
    padding: 60px 60px 2px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.leistungen-detail .leistungen-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.leistungen-detail .leistungen-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #47701f, #73ab3c);
    margin-top: 15px;
    border-radius: 3px;
}

.leistungen-detail .leistungen-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 8px;
}

.leistungen-detail .leistungen-subtitle {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--green);
}

.leistungen-detail .leistungen-list {
    margin: 0 0 18px 20px;
    padding-left: 10px;
    line-height: 1.6;
}


/* Bild-Bereich */
.leistungen-detail .image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.leistungen-detail .leistungen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.leistungen-detail .image-container:hover .leistungen-image {
    transform: scale(1.03);
}
/* Desktop: 3 Karten – bleibt wie bei dir */

/* Tablets: 2 Karten pro Ansicht */
@media (max-width: 900px) {
  .leistung {
    flex: 0 0 50%;
    padding: 0 10px;
  }

  .leistung-img img {
    height: 220px;
  }
}

/* Handy: 1 Karte pro Ansicht */
@media (max-width: 600px) {
  .leistung {
    flex: 0 0 100%;
    padding: 0 10px;
  }

  .leistung-img img {
    height: 260px;
  }
  .leistungen-detail {
    margin: 35px auto 40px
  }
  
  .leistungen-detail .leistungen-subtitle{
    margin-top: 9px;
  }
  
  .leistungen-detail .leistungen-list {
    margin: 0 0 10px 20px;
  }
  
  .leistungen-section .leistungen-btn-wrapper {
    margin: 12px 0px 10px 0px;
  }
  .about .text p {
    margin: 0 0 10px;
  }
  
}

/* Responsive für Detailseite */
@media (max-width: 992px) {
    .leistungen-detail .text-content {
        padding: 40px;
    }
    .leistungen-detail .leistungen-title {
        font-size: 2.3rem;
    }
    .leistungen-detail .image-container {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .leistungen-detail .text-content {
        padding: 30px;
    }
    .leistungen-detail .leistungen-title {
        font-size: 2rem;
    }
    .leistungen-detail .image-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .leistungen-detail .text-content {
        padding: 45px 20px 0px;
    }
    .leistungen-detail .leistungen-title {
        font-size: 1.8rem;
    }
    .leistungen-detail .leistungen-text {
        font-size: 1rem;
    }
    .leistungen-detail .image-container {
        height: 250px;
    }
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .leistung-slide img {
        height: 360px;
    }

    .leistung-caption {
        left: 24px;
        bottom: 24px;
        font-size: 20px;
    }

    .leistungen-frame::after {
        width: 80%;
        bottom: -30px;
    }
}


@media (max-width: 600px) {
    .leistung-slide img {
        height: 260px;
    }

    .leistung-caption {
        left: 18px;
        bottom: 18px;
        font-size: 18px;
    }

    .leistungen-tag {
        padding: 12px 38px;
        font-size: 15px;
    }
}
#galerie {
    
-webkit-box-shadow: 0px 10px 14px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0); 
box-shadow: 1px 16px 14px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0.3);

}
.about .about-title{
 /* margin-top:180px; *********/
  text-align: center;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 2px;
}
  .about .about-title h2{color:#47701f;font-family: system-ui, sans-serif; font-weight: 500;}
  .about{width:100vw;margin-top:20px;margin-bottom:40px;margin-left:50%;transform:translateX(-50%); }/*background:#f7faf7 /*/
  .about .wrap{max-width:1200px;margin:0 auto;padding:35px 20px;display:grid;gap:28px;grid-template-columns:1.3fr 1fr;align-items:center}
  .about h2{margin:0 0 8px;font-size:clamp(1.6rem,2.5vw,2.2rem)}
  .about p{margin:0 0 30px;color:#24412f}
  .about .points{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:8px}
  .about .points li{position:relative;padding-left:22px}
  .about .points li::before{content:"✓";position:absolute;left:0;top:0;color:#2a6e3f;font-weight:700}
  .about .cta{display:flex;gap:14px;flex-wrap:wrap}
  .about .btn{background:#2a6e3f;color:#fff;padding:12px 18px;border-radius:9999px;text-decoration:none}
  
  .about .btn:hover{background:#215732}
  .about .link{color:#2a6e3f;text-decoration:none;align-self:center}
  .about .link:hover{text-decoration:underline}
  .about .media img{width:100%;height:auto;display:block;border-radius:16px;object-fit:cover}
 /* @media (max-width:900px){.about .wrap{grid-template-columns:1fr}}*/
  @media (max-width: 900px) {
  .about{
    margin-bottom: 0px;
      
  }
  .about .wrap {
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }

  /* Bild zuerst anzeigen */
  .about .media {
    order: -1;
  }

  /* Text zentrieren */
  .about .text {
    text-align: center;
  }

  .about .points {
    justify-items: center;
  }

  .about .cta {
    justify-content: center;
  }
}


/* RESPONSIVE: Handy / Tablet */
 /* === Variablen (einfach anpassen) === */
:root{
    --carousel-gap: 20px;
    --carousel-height: 320px;   /* etwas niedriger auf großen Screens */
    --carousel-radius: 16px;
    --nav-size: 48px;
}

/* Tablets */
@media (max-width: 900px){
  :root{
    --carousel-height: 260px;
  }
}

/* Handys */
@media (max-width: 600px){
  :root{
    --carousel-height: 220px;
  }
}


  /* Vollbreite im TT4 */
  .my-carousel{
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    margin-bottom: 60px;
  }

  /* Track – horizontal scroll + drag-freundlich */
  .my-carousel .track{
    display: flex;
    gap: var(--carousel-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 calc(var(--nav-size) + 8px);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: pan-y;          /* wichtig für Touch/Drag */
  }
  .my-carousel .track.dragging{
    cursor: grabbing;
    scroll-snap-type: none;       /* Snap aus während Drag */
  }
  .my-carousel .track:focus{ outline: none; }  /* keine schwarze Linie */

  /* Kacheln */
  .my-carousel .item{
    /* 3 Spalten Desktop: (100% - 2*gap) / 3 */
    flex: 0 0 calc((100% - (2 * var(--carousel-gap))) / 3);
    height: var(--carousel-height);
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--carousel-radius);
    overflow: hidden;
  }
  .my-carousel .item img{
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }

  /* Responsive Spalten */
  @media (max-width: 1024px){
    /* 2 Spalten: (100% - 1*gap) / 2 */
    .my-carousel .item{ flex-basis: calc((100% - var(--carousel-gap)) / 2); }
  }
  @media (max-width: 640px){
    /* 1 Spalte */
    .my-carousel .item{ flex-basis: 100%; }
  }

  /* Pfeile */
  .my-carousel button.nav{
    position: absolute; top: 50%; transform: translateY(-50%);
    width: var(--nav-size); height: var(--nav-size);
    display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 9999px; z-index: 2;
    background: rgba(0,0,0,.45); color: #fff; font-size: 28px; line-height: 1;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    cursor: pointer; transition: opacity .2s, background .2s, transform .2s;
  }
  .my-carousel button.nav:hover{ background: rgba(0,0,0,.65); }
  .my-carousel button.prev{ left: 8px; }
  .my-carousel button.next{ right: 8px; }
  .my-carousel button.nav[disabled]{ opacity: .35; pointer-events: none; }

  /* Scrollbar ausblenden, Funktion behalten */
  .my-carousel .track::-webkit-scrollbar{ display: none; }
  .my-carousel .track{ -ms-overflow-style: none; scrollbar-width: none; }

  /* (Optional) dezenter Hover-Zoom */
  /* .my-carousel .item img{ transition: transform .35s ease; }
     .my-carousel .item:hover img{ transform: scale(1.02); } */
 
  /* ===================== Impressum – responsiv ===== */
  
 .imp-wrap{
  max-width: 1100px;
  margin: 130px auto 40px;  /* ⬅︎ NEU: 130px Abstand nach oben, 40px nach unten */
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2.5vw, 20px);
  text-align: center;
  color: #444;
  line-height: 1.75;
  font-size: clamp(0.98rem, 0.95rem + 0.25vw, 1.05rem);
  font-family: System Sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}


  .imp-wrap h1{
    /* Vorher: "System Sans-serif;" (fehlerhaft) */
    font-family: System Sans-serif, Georgia, "Times New Roman", serif;   /* wie auf deiner DS-Seite */
    color: #47701f;
    letter-spacing: 1.5px;
    font-weight: 800;
    line-height: 1.2;
    margin: clamp(20px, 3vw, 28px) 0 clamp(36px, 5vw, 72px);
    font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
  }
  .imp-wrap h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #47701f, #73ab3c);
}

  .imp-wrap h2{
    color: #333;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 clamp(12px, 1.2vw, 20px);
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.0rem);
  }

  .imp-wrap h3{
    color: #333;
    font-weight: 700;
    line-height: 1.3;
    margin: clamp(20px, 3vw, 36px) 0 clamp(8px, 1vw, 12px);
    font-size: clamp(1.15rem, 1.0rem + 0.7vw, 1.5rem);
  }

  .imp-wrap p{
    margin: 0 0 clamp(10px, 1.2vw, 14px);
  }

  .imp-wrap a{
    color: #335177;
    text-decoration: none;
  }
  .imp-wrap a:hover{ text-decoration: underline; text-underline-offset: 2px; }

  /* kleine Feinheiten für große Displays */
  @media (max-width: 600px){
    .imp-wrap{ margin: 99px auto 40px; }
  }

  @media (min-width: 1200px){
    .imp-wrap{ line-height: 1.8; }
  }

  /* Druckansicht */
  @media print{
    .imp-wrap{ max-width: 100%; padding: 0; color: #000; }
    .imp-wrap a{ color: #000; text-decoration: none; }
  }
 
/* ----------- KONTAKT ---------------------*/
  /* ===== Kontaktformular Scoped ===== */
 /* Abstand unter der fixen Navbar */
.kontakt-section {
  margin-top: 120px;   /* an deine Navbar-Höhe anpassen (z.B. 100–130px) */
  margin-bottom: 60px;
}

 .gala-contact{ 
  --g:#47701f; --g2:#5a8c29; --ink:#333; --ink2:#3a5a1a; --bg:#f8faf7;
  --panel:#f9fbf8; --bd:#e0e8db; --bd2:#d0d9c7; --radius:15px;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink); line-height:1.6; font-size:clamp(.98rem,.95rem + .2vw,1.05rem);

  /* NEU: Abstand unter der fixen Navbar */
  margin-top: 120px;   /* Wert an deine Navbar-Höhe anpassen (z.B. 100–130px) */
}

  .gala-contact *{ box-sizing:border-box; }

  /* Container: nicht mehr auf max-width 1200px beschränken */
  .gala-contact .contact-container{
    margin-top:60px;   /* anpassen falls Header sticky */
    width:100%;
    max-width:none;    /* Box aufheben */
    margin-bottom:40px;
    padding:clamp(16px,2vw,20px);
    background:#fff;
    border-radius:var(--radius);
    box-shadow:0 5px 25px rgba(0,0,0,.1);
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr;
    gap:clamp(18px,2vw,30px);
    position:relative;
  }

  /* Header */
  .gala-contact .contact-header{
    grid-column:1/-1;
    text-align:center;
    padding:clamp(16px,3vw,24px) 0;
    margin-bottom:clamp(10px,2vw,20px);
    background:linear-gradient(135deg,var(--g) 0%,var(--g2) 100%);
    color:#192111; border-radius:12px;
  }
  .gala-contact .contact-header h1{
    color:#fff; 
    font-weight:800; 
    letter-spacing:.2px;
    line-height:1.2; 
    margin:.2rem 0 .6rem;
    font-family: System Sans-serif, Georgia, "Times New Roman", serif;
    font-size:clamp(1.6rem,1.2rem + 2vw,3rem);
    
  }
   
  .gala-contact .contact-header p{ 
    font-family: System Sans-serif, Georgia, "Times New Roman", serif;
    font-size:clamp(1rem,.95rem + .4vw,1.15rem); 
    opacity:.95; 
    color: #e7f9ed;
  }

  /* Form + Info Karten */
  .gala-contact .contact-form,
  .gala-contact .contact-info{
    background:var(--panel); border:1px solid var(--bd);
    border-radius:10px; padding:clamp(18px,2.2vw,25px); min-width:0;
  }

  @media (min-width:880px){
    .gala-contact .contact-container{ grid-template-columns:1.1fr 1fr; }
  }

  /* Felder */
  .gala-contact .form-group{ margin-bottom:clamp(14px,1.5vw,20px); }
  .gala-contact label{ display:block; margin-bottom:8px; font-weight:600; color:var(--ink2); }
  .gala-contact input, .gala-contact textarea, .gala-contact select{
    width:100%; padding:14px; border:1px solid var(--bd2); border-radius:8px;
    background:#fff; font-size:16px;
    transition:border-color .2s, box-shadow .2s;
  }
  .gala-contact input:focus, .gala-contact textarea:focus, .gala-contact select:focus{
    outline:none; border-color:var(--g2);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--g) 25%, transparent);
  }
  .gala-contact textarea{ min-height:150px; resize:vertical; }

  /* Button */
  .gala-contact button{
    background:var(--g); color:#fff; border:0; width:100%;
    padding:14px 24px; border-radius:8px; font-weight:700;
    font-size:clamp(1rem,.95rem + .2vw,1.1rem);
    transition:transform .15s, background .2s;
    min-height:44px; cursor:pointer; margin-top:10px;
  }
  .gala-contact button:hover{ background:var(--g2); transform:translateY(-2px); }
  .gala-contact button:active{ transform:translateY(0); }
  .gala-contact button:disabled{ opacity:.7; cursor:not-allowed; }

  /* Info-Spalte */
  .gala-contact .info-heading{
    font-size:clamp(1.35rem,1rem + 1vw,1.9rem);
    margin-bottom:clamp(16px,2vw,25px);
    color:var(--g); font-weight:800;
    position:relative; padding-bottom:10px;
    font-family: System Sans-serif, Georgia, "Times New Roman", serif;
  }
  .gala-contact .info-heading:after{
    content:""; position:absolute; left:0; bottom:0; width:50px; height:3px; background:var(--g2); border-radius:3px;
  }
  .gala-contact .info-item{ display:flex; gap:15px; margin-bottom:clamp(16px,2vw,25px); }
  .gala-contact .info-icon{
    flex:0 0 40px; width:40px; height:40px; background:#e6f0de; border-radius:50%;
    display:flex; align-items:center; justify-content:center; color:var(--g); font-size:18px;
  }
  .gala-contact .info-title{ font-weight:600; margin-bottom:5px; color:var(--ink2); display:block; }

  .gala-contact .social-icons{ display:flex; gap:15px; margin-top:10px; flex-wrap:wrap; }
  .gala-contact .social-icon{
    display:inline-flex; align-items:center; justify-content:center; width:45px; height:45px; border-radius:50%;
    background:#e6f0de; color:var(--g); text-decoration:none; font-size:18px;
    transition:transform .2s, background .2s, color .2s;
  }
  .gala-contact .social-icon:hover{ background:var(--g); color:#fff; transform:translateY(-3px); }

  /* Meldungen */
  .gala-contact .form-success, .gala-contact .form-error{
    display:none; text-align:center; padding:15px; border-radius:8px; margin-top:20px; border:1px solid;
  }
  .gala-contact .form-success{ background:#e6f7ee; color:#0d6834; border-color:#a3dcbf; }
  .gala-contact .form-error{ background:#fde8e6; color:#c53030; border-color:#f5c6c6; }
  .gala-contact .required{ color:#e53e3e; }

  /* Blätter */
  .gala-contact .leaf-decoration{ position:absolute; opacity:.08; font-size:200px; color:var(--g); z-index:0; pointer-events:none; }
  .gala-contact .leaf-2{ bottom:-60px; left:-40px; transform:rotate(-15deg); }

  /* Responsive Tweaks */
  @media (max-width:880px){ .gala-contact .contact-container{ margin:24px 0; } }
  @media (max-width:620px){
    .gala-contact .info-item{ align-items:flex-start; }
    .gala-contact .info-heading:after{ left:50%; transform:translateX(-50%); }
    .gala-contact .leaf-decoration{ display:none; }
  }
  /* ---- Fix: Kontaktinformationen responsiv umbrechen ---- */
.gala-contact .info-item{ align-items: flex-start; gap: 12px; }

.gala-contact .info-icon{
  flex: 0 0 36px;           /* etwas schmaler, damit mehr Platz für Text bleibt */
  width: 36px; height: 36px;
}

.gala-contact .info-content{
  flex: 1 1 auto;
  min-width: 0;             /* WICHTIG: Erlaubt Text-Umbruch in Flex-Child */
}

/* Lange Wörter/Links (E-Mails, URLs, Adressen) dürfen umgebrochen werden */
.gala-contact .info-content p,
.gala-contact .info-content a,
.gala-contact .info-content span{
  overflow-wrap: anywhere;   /* modern */
  word-break: break-word;    /* fallback */
  hyphens: auto;
}
/* Ergänzung*/
/* --- Responsive Fix für Kontaktinformationen (Zeilenumbruch/Overflow) --- */
.gala-contact .contact-info{
  min-width: 0;           /* darf in der Grid-Spalte schrumpfen */
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gala-contact .info-item{
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;        /* Icon/Text dürfen umbrechen, wenn eng */
}

.gala-contact .info-icon{
  flex: 0 0 32px;         /* etwas kleiner, spart Breite */
  width: 32px;
  height: 32px;
}

.gala-contact .info-content{
  flex: 1 1 auto;
  min-width: 0;           /* WICHTIG für Flex-Childs damit Text umbricht */
}

.gala-contact .info-content p,
.gala-contact .info-content a,
.gala-contact .info-content span{
  white-space: normal;
  overflow-wrap: anywhere; /* moderne Browser */
  word-break: break-word;  /* Fallback */
  hyphens: auto;
}

/* Sicherheitsnetz gegen horizontales Scrollen im Panel */
.gala-contact .contact-container{ overflow-x: hidden; }

/* =========================
   ÜBER UNS – SEITE
   ========================= */

/* Vollbreiter Hero-Bereich unter der fixen Navbar */
.about-hero {
    margin-top: 115px;          /* HÖHE DEINER NAVBAR anpassen! */
    background: linear-gradient(
                 rgba(0, 0, 0, 0.6),
                 rgba(0, 0, 0, 0.6)
               ),
               url("../images/slider1.jpg")
               no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    width: 100%;
}

.about-hero h1 {
    font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    margin-bottom: 26px;
    font-weight: 600;
    color: #bfff81;
    font-family: System Sans-serif, Georgia, "Times New Roman", serif;
    line-height: 3;
    letter-spacing: 1.5px;
}
.about-hero h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 0px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #47701f, #bfff81);
}
.about-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Über-uns Einleitung */
.about-intro {
  background-color: #f8faf7;
  width: 100%;
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: flex-start;     /* oben ausrichten, wie im Screenshot */
  gap: 60px;
}

/* Text-Spalte */
.about-text {
  flex: 1 1 55%;
}

/* Bild-Spalte */
.about-image {
  flex: 0 0 50%;
  max-width: 500px;           /* Bild nicht breiter als ~480px */
  /* aspect-ratio: 16 / 9;       feste Proportion -> saubere Höhe */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); /* weicher Schatten */
  background: #fff;
  margin-top: 100px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* Bild wird ggf. etwas zugeschnitten */
  display: block;
}

/* Überschrift & Text wie bisher */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #47701f, #6a9e2d);
  margin-top: 15px;
  border-radius: 3px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 25px;
}

/* Responsive: untereinander auf kleineren Bildschirmen */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    max-width: 100%;
    margin-top: 30px;
    align-self: center;
  }
}

/* Team */
.team-section {
    background-color: #ffffff;
    width: 100%;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.member-role {
    color: #47701f;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-desc {
    color: #4a5568;
    line-height: 1.6;
}

/* Werte */
.values-section {
    background-color: #f8faf7;
    width: 100%;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    border-top: 4px solid #47701f;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: #47701f;
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.value-desc {
    color: #4a5568;
    line-height: 1.6;
}

/* CTA */
.about-cta {
    background: linear-gradient(135deg, #bfff81 0%, #355215 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0c1108;
}

.about-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.about-cta .btn {
    display: inline-block;
    background: #ffffff;
    color: #47701f;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.about-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: #6a9e2d;
    color: #ffffff;
}

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 20px;
        margin-top: 80px; /* ggf. etwas kleiner auf Handy */
    }

    .about-hero h1 {
        font-size: 2.3rem;
        line-height: 2;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .value-card,
    .team-member {
        margin-bottom: 20px;
    }
}
@media (max-width: 900px) {
    .about-hero {
        margin-top: 80px;
    }
}

@media (max-width: 576px) {
    .header .navbar .navbar-left img{
   /*    height: 110px; */
    }
    .header .navbar .navbar-left{
        gap: 4px;
    }
    .header .navbar .navbar-left span {
    /*   display: none; */
    }
    .about-intro .about-content {
        gap: 25px;
    }
    .about-intro{
        padding: 40px 0;
    }
    .about-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-cta {
        padding: 50px 20px;
    }
        
    .about-cta h2 {
        font-size: 2rem;
    }

    .about-cta p {
        font-size: 1rem;
    }
    .about-intro .about-text p {
        margin-bottom: 0px;
    }
    .about-intro .about-image {
        margin-top: 0px;
    }
    .team-section{
        padding: 50px 0 25px;
    }
    .team-section .team-grid{
        gap: 18px;
        margin-top: 16px;
    }
    .values-section {
        padding: 40px 0 25px;
    }
    .values-section .values-grid{
        gap: 15px;
        margin-top: 23px;
    }
}

/* ===== Datenschutz – Seite ===== */
.privacy-page{
  --g:#47701f;
  --text:#2b2b2b;
  --muted:#6b6b6b;

  max-width: 1100px;
  margin: 120px auto 60px;
  padding: 40px 24px 60px;
  background:#ffffff;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);

  color:var(--text);
  line-height:1.75;
  font-size:clamp(0.98rem, 0.95rem + 0.3vw, 1.07rem);
}

.privacy-page .page-title{
  color:var(--g);
  text-align:center;
  font-weight:800;
  letter-spacing:.3px;
  margin:0 0 2.5rem;
  line-height:1.2;
  font-size:clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
}

.privacy-page .lead-title{
  text-align:left;
  color:#444;
  font-weight:700;
  margin:0 0 .75rem;
  line-height:1.25;
  font-size:clamp(1.35rem, 1.05rem + 1.2vw, 2rem);
}

.privacy-page .lead-sub{
  text-align:left;
  color:#444;
  font-weight:700;
  margin:.35rem 0 .85rem;
  line-height:1.3;
  font-size:clamp(1.05rem, 0.95rem + .6vw, 1.35rem);
}

.privacy-page .intro{
  color:var(--muted);
  margin:0 0 1.6rem;
}

.privacy-page h2{
  margin:clamp(1.4rem, 1rem + 1.2vw, 2rem) 0 .65rem;
  font-size:clamp(1.25rem, 1.05rem + .9vw, 1.8rem);
  color:#333;
  font-weight:700;
  line-height:1.3;
}
.privacy-page h3{
  margin:1rem 0 .4rem;
  font-size:clamp(1.05rem, 0.98rem + .5vw, 1.35rem);
  color:#4a4a4a;
  font-weight:700;
  line-height:1.35;
}

.privacy-page p{ margin:.45rem 0 .9rem; }
.privacy-page ul{ margin:.25rem 0 1rem 1.1rem; padding:0; }
.privacy-page li{ margin:.25rem 0; }
.privacy-page a{ color:var(--g); text-decoration:underline; text-underline-offset:2px; }

.privacy-page .note{
  background:#f6f8f4;
  border-left:4px solid var(--g);
  padding:.75rem 1rem;
  border-radius:.5rem;
  color:#3b3b3b;
  margin:1rem 0;
}

@media (max-width: 780px){
  .privacy-page{ padding:30px 18px 40px; }
  .privacy-page ul{ margin-left:.9rem; }
}
@media (max-width: 480px){
  .privacy-page{ padding:20px 18px 40px; background:#f5f5f5;}
  .privacy-page ul{ margin-left:.9rem; }
}

@media print{
  .privacy-page{
    max-width:100%;
    margin:0;
    box-shadow:none;
    border-radius:0;
    padding:0;
  }
  .privacy-page a{ color:#000; text-decoration:none; }
}
        
/* ---------- FOOTER ---------- */

.site-footer {
    background-color: #e8ecef;   /* deine helle Farbe bleibt */
    padding: 120px;
    font-size: 14px;
    color: #222;
    margin-top: 40px;
    
    filter: drop-shadow(0px -1px 1px #333);
}

/* obere Reihe mit 3 Spalten */
.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* Spalte links: Logo + Claim + Social */
.footer-brand {
    flex: 1.2;
}

.footer-logo {
    height: 200px;
    width: auto;
    
}

.footer-claim {
    margin-bottom: 20px;
    max-width: 260px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
    font-size: 18px;
    transition: background-color 0.2s ease, color 0.2s ease,
                transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-social-link:hover {
    background-color: #4b8b2a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* mittlere & rechte Spalte */
.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #47701f;
    margin-bottom: 18px;
}

.footer-column p {
    margin-bottom: 10px;
}

/* Leistungen-Liste mit Häkchen */
.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #4b8b2a;
    font-weight: 700;
}

/* Kontakt-Links */
.footer-contact a {
    color: #222;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #4b8b2a;
}

/* Kontakt-Zeilen im Footer nicht umbrechen */
.footer-contact p {
    margin-bottom: 8px;
    white-space: nowrap;    /* komplette Zeile bleibt zusammen */
}

.footer-contact a {
    white-space: nowrap;    /* Mail-Adresse wird nicht getrennt */
}

/* untere Reihe: Impressum / Datenschutz / Copyright */
.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 16px;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* alles zentriert */
    align-items: center;
    text-align: center;
    gap: 6px 16px;
    font-size: 13px;
}

/* NEU / geändert */
.footer-bottom-links {
    display: inline-flex;      /* statt nur flex */
    align-items: center;
    gap: 8px;
    white-space: nowrap;       /* kein Umbruch zwischen Impressum · Datenschutz */
    margin: 0;
}

.footer-bottom-links a {
    color: #222;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #4b8b2a;
}
/* Links in der Footer-Leistungen-Liste: schwarz, ohne Linie */
.footer-services .footer-list a {
    color: #222;               /* schwarz/dunkelgrau */
    text-decoration: none;     /* keine Unterstreichung */
    cursor: pointer;           /* Hand-Cursor */
}

/* auch beim Hover keine Farbänderung / Linie */
.footer-services .footer-list a:hover {
    color: #222;
    text-decoration: none;
}

.footer-copy {
    color: #555;
}
/* Handy: Footer-Zeile zentrieren */
@media (max-width: 600px) {
    .site-footer {
        padding: 20px;
    }
    /* Leistungen-Liste im Footer – Häkchen direkt neben dem Text */
.footer-list li {
   /*  display: inline-flex;           Icon + Text nebeneinander */
    align-items: center;
    gap: 6px;                      /* Abstand zwischen Häkchen und Text */
    margin-bottom: 6px;
    line-height: 1.6;
    padding-left: 0;               /* keinen extra Einzug mehr */
}
.site-footer .footer-social {
    justify-content: center;
}
.footer-list li::before {
    content: "✓ ";
    position: static;              /* nicht mehr absolut */
    color: #4b8b2a;
    font-weight: 700;
}

    .footer-bottom {
        width: 100%;
        display: flex;
        /*flex-direction: column; */
        align-items: center;    /* horizontal zentriert */
        justify-content: center;
        text-align: center;     /* Text selbst zentriert */
    }

    .footer-bottom p {
        margin: 4px 0;
        text-align: center;
    }

    /* wenn du "Impressum · Datenschutz" in einem eigenen Container hast */
    .footer-bottom-links {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;    /* nichts davon umbrechen */
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-brand,
    .footer-column {
        max-width: 320px;
    }

    .footer-list li {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}


 /*
@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--light);
        padding: 16px 24px;
        gap: 14px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.nav-open {
        max-height: 300px;
        opacity: 1;
    }

    .burger {
        display: flex;
    }
} */
@media (max-width: 900px) {
    .navbar {
        height: 80px;          /* niedriger auf Handy/Tablet */
        padding: 0 16px;
    }

    .logo {
        height: 70px;          /* Logo kleiner */
    }

    .brand {
        font-size: 1rem;       /* Titel kleiner */
    }

    .nav-links {
        position: absolute;
        top: 80px;             /* direkt unter der Navbar */
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--light);
        padding: 16px 24px;
        gap: 14px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
    }

    .nav-links.nav-open {
        max-height: 320px;
        opacity: 1;
    }

    .burger {
        display: flex;
        z-index: 1100;         /* über dem Menü */
    }
}

/* ganz kleine Screens: Titel noch etwas kleiner */
@media (max-width: 600px) {
    .brand {
        font-size: 0.9rem;
    }
}


@media (max-width: 600px) {
    .slide-content {
        padding: 24px;
        margin-left: 0;
    }

    .slide-content h1 {
        font-size: 30px;
    }

    .slider {
        height: 65vh;
        min-height: 360px;
    }
}

/* ===== Handy-Anpassungen (bis 600px) ===== */
@media (max-width: 600px) {

  /* 1) Header-Slider näher an der Navbar */
  .slider {
    margin-top: 80px;              /* statt 110px → geringerer Abstand */
    height: calc(100vh - 80px);
  }

  .slide-content {
    padding: 24px;
  }

  .slide-content h1 {
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
  }

  /* 2) Überschrift "UNSER LEISTUNGSSPEKTRUM" kleiner */
  .leistungen-section .section-subtitle {
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin: 40px 0 20px;
  }

  /* 3) Leistungs-Slider – Bild breiter, nur 1 Karte pro Slide */
  .leistungen-section {
    max-width: 100%;
    padding: 0 10px;
    margin: 50px auto;
  }

  .leistungen-slider {
    position: relative;
    justify-content: center;
  }

  .leistungen-window {
    margin: 0;                     /* keine negativen Ränder mehr */
  }

  .leistung {
    flex: 0 0 100%;                /* 1 Karte pro Ansicht */
    padding: 0 8px;
  }

  .leistung-img img {
    height: 300px;                 /* etwas höher = größerer Eindruck */
  }

  /* Pfeile auf dem Bild positionieren */
  .leistungen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .leistungen-nav.prev {
    left: 12px;
  }

  .leistungen-nav.next {
    right: 12px;
  }
  .galerie-section .section-subtitle{
    margin: 22px 0px 20px;
  }
}

/* === Handy: Leistungen-Bilder so breit wie der Titel === */
@media (max-width: 600px) {

  /* keine zusätzlichen Innenabstände im Slider */
  .leistungen-slider {
    padding: 0;
  }

  .leistungen-window {
    margin: 0;
  }

  /* Karte darf die ganze Container-Breite benutzen */
  .leistung {
    flex: 0 0 100%;
    padding: 0;              /* links/rechts kein Extra-Abstand mehr */
  }

  .leistung-img img {
    width: 100%;
    height: 300px;           /* kannst du bei Bedarf ändern (z.B. 280px oder 320px) */
    object-fit: cover;
  }
}

/* Leistungen-Seite: Hero-Titel auf kleineren Screens anpassen */
@media (max-width: 768px) {
    .page-hero {
        margin-top: 80px;          /* etwas kleiner, weil Navbar auf Handy 80px hoch ist */
        padding: 40px 20px 30px;
    }

    .page-hero-title {
        font-size: 2rem;
        line-height: 1.3;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}
