html{
    scroll-behavior:smooth;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f5f7f2;
    color:#333;
    line-height:1.6;
}


/* =========================
   NAVIGATION
   ========================= */

nav{
    position:sticky;
    top:0;
    z-index:999;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:18px 8%;

    background:#1b5e20;

    box-shadow:0 4px 15px rgba(0,0,0,.15);
}

.nav-links{
    display:flex;
    justify-content:center;
    align-items:center;
}

.nav-links a{
    color:white;
    text-decoration:none;
    font-weight:600;
    margin:0 15px;
    transition:.3s;
}

.nav-links a:hover{
    color:#8bc34a;
}

/* Checkbox verstecken */

#menu-toggle{
    display:none;
}

/* Logo auf Desktop verstecken */

.mobile-logo{
    display:none;
}

.footer-logo{
    width:180px;
    margin-bottom:20px;
}


/* =========================
   HEADER
   ========================= */

header{
    position:relative;
    overflow:hidden;

    min-height:600px;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:white;
}

.hero-video{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:0;

    animation:heroZoom 15s ease-in-out infinite alternate;
}

header::after{
    content:"";

    position:absolute;
    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.45),
        rgba(27,94,32,.45)
    );

    z-index:1;
}

header .hero{
    position:relative;
    z-index:10;

    width:90%;
    max-width:900px;
}

@keyframes heroZoom{
    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.08);
    }
}

header h1{
    font-size:60px;
    margin-bottom:15px;
}

header p{
    font-size:24px;
    margin-bottom:8px;
}


/* =========================
   ALLGEMEIN
   ========================= */

.container{
    width:85%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:60px 0;
}

h2{
    text-align:center;
    color:#1b5e20;
    font-size:38px;
    margin-bottom:40px;
}

h3{
    color:#1b5e20;
    margin-bottom:15px;
}


/* =========================
   LEISTUNGSKARTEN
   ========================= */

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

    max-width:1200px;
    margin:auto;

    align-items:stretch;
}

.card{
    background:white;
    border-radius:22px;
    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    transition:.3s;

    display:flex;
    flex-direction:column;

    height:100%;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

.card img{
    width:100%;
    height:160px;
    object-fit:cover;
}

.card h3{
    font-size:22px;
    color:#1b5e20;

    padding:20px 20px 10px;
    margin:0;
}

.card p{
    padding:0 20px 15px;
    color:#555;
}

.card ul{
    list-style:none;

    padding:0 20px;
    margin:0;

    flex-grow:1;
}

.card li{
    color:#555;
    margin:10px 0;
    line-height:1.5;
}

.card li::before{
    content:"✓";

    color:#8bc34a;
    font-weight:bold;

    margin-right:10px;
}

.card .button{
    display:inline-block;

    align-self:flex-start;

    width:auto;

    margin:20px;
    margin-top:auto;

    padding:13px 32px;

    background:#8bc34a;
    color:white;

    border-radius:30px;

    font-size:16px;
    font-weight:600;

    text-decoration:none;
    text-align:center;

    transition:.3s;
}

.card .button:hover{
    background:#76a82d;
    transform:translateY(-2px);
}


/* =========================
   INFO-KARTEN
   ========================= */

.info-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

    max-width:1200px;
    margin:auto;
}

.info-card{
    background:white;
    border-radius:22px;

    padding:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    transition:.3s;

    min-height:180px;
}

.info-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

.info-card h3{
    margin:0 0 15px;
    padding:0;

    font-size:24px;
    color:#1b5e20;
}

.info-card p{
    margin:0;

    font-size:17px;
    color:#555;

    line-height:1.7;
}


/* =========================
   PREISKARTEN
   ========================= */

.preis-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

    max-width:1200px;
    margin:auto;

    align-items:stretch;
}

.preis-card{
    background:white;
    border-radius:22px;

    padding:28px 25px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    transition:.3s;

    display:flex;
    flex-direction:column;

    height:100%;
}

.preis-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

.preis-card h3{
    margin:0 0 15px;
    padding:0;

    font-size:23px;
    color:#1c5320;
}

.preis-card .price{
    margin-bottom:12px;

    font-size:24px;
    font-weight:700;

    color:#8bc34a;
}

.preis-card p{
    margin:0 0 20px;
    padding:0;

    min-height:52px;

    font-size:15px;
    line-height:1.6;

    color:#555;
}

.preis-card ul{
    list-style:none;

    margin:0;
    padding:0;
}

.preis-card li{
    position:relative;

    margin:10px 0;
    padding-left:24px;

    font-size:15px;
    line-height:1.5;

    color:#555;
}

.preis-card li::before{
    content:"✓";

    position:absolute;
    left:0;
    top:0;

    color:#8bc34a;
    font-weight:bold;
}


/* =========================
   PREISE
   ========================= */

.price{
    color:#1b5e20;
    font-size:28px;
    font-weight:bold;
    margin-top:20px;
}


/* =========================
   PREISHINWEIS
   ========================= */

.preis-hinweis{
    max-width:900px;

    margin:50px auto 0;
    padding:30px;

    background:#eef7e9;

    border-left:6px solid #8bc34a;
    border-radius:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    text-align:center;
}

.preis-hinweis h3{
    font-size:24px;
    margin-bottom:12px;
    color:#1b5e20;
}

.preis-hinweis p{
    max-width:750px;

    margin:8px auto;

    color:#4f5b4d;
    font-size:16px;
}

.preis-hinweis strong{
    color:#1b5e20;
}


/* =========================
   BUTTONS
   ========================= */

.button{
    display:inline-block;

    background:#8bc34a;
    color:white;

    text-decoration:none;

    padding:15px 35px;
    margin-top:25px;

    border-radius:30px;

    font-weight:600;

    transition:.3s;
}

.button:hover{
    transform:scale(1.05);
    background:#689f38;
}

button{
    background:#8bc34a;
    color:white;

    border:none;

    padding:15px 30px;

    border-radius:30px;

    cursor:pointer;

    font-size:16px;
    font-weight:600;

    transition:.3s;
}

button:hover{
    background:#689f38;
}


/* =========================
   TABELLEN
   ========================= */

table{
    width:100%;

    border-collapse:collapse;

    background:white;

    border-radius:10px;

    overflow:hidden;
}

th{
    background:#1b5e20;
    color:white;
}

td,
th{
    padding:15px;

    border-bottom:1px solid #ddd;

    text-align:left;
}


/* =========================
   KONTAKT
   ========================= */

.contact{
    background:#1b5e20;
    color:white;
    text-align:center;
}

.contact h2{
    color:white;
}

form{
    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

input,
textarea{
    width:100%;

    padding:15px;
    margin:10px 0;

    border:1px solid #ccc;
    border-radius:10px;

    font-size:16px;
}

textarea{
    min-height:150px;
    resize:vertical;
}
/* =========================
   KONTAKTSEITE
   ========================= */

.kontakt-box{
    max-width:750px;
    margin:auto;

    padding:45px;

    background:white;

    border-radius:24px;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

    text-align:center;
}

.kontakt-box h3{
    margin:0 0 10px;

    font-size:30px;
    color:#1b5e20;
}

.kontakt-beschreibung{
    margin-bottom:35px;

    font-size:17px;
    color:#555;
}

.kontakt-daten{
    display:grid;
    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-bottom:30px;
}

.kontakt-link{
    display:flex;
    align-items:center;

    gap:15px;

    padding:20px;

    background:#f5f7f2;

    border:1px solid #e0e8dc;
    border-radius:16px;

    color:#333;
    text-decoration:none;

    text-align:left;

    transition:.3s;
}

.kontakt-link:hover{
    transform:translateY(-4px);

    border-color:#8bc34a;

    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.kontakt-link i{
    width:50px;
    height:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-shrink:0;

    background:#1b5e20;
    color:white;

    border-radius:50%;

    font-size:20px;
}

.kontakt-link span{
    display:flex;
    flex-direction:column;

    overflow-wrap:anywhere;
}

.kontakt-link strong{
    color:#1b5e20;
    font-size:16px;
}

.whatsapp-button{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    gap:12px;

    padding:16px 32px;

    background:#25d366;
    color:white;

    border-radius:30px;

    text-decoration:none;

    font-size:17px;
    font-weight:600;

    transition:.3s;
}

.whatsapp-button i{
    font-size:25px;
}

.whatsapp-button:hover{
    background:#1ebe5d;

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(37,211,102,.3);
}

.kontakt-hinweis{
    max-width:550px;

    margin:25px auto 0;

    color:#555;
    font-size:15px;
}


/* Handy */

@media(max-width:700px){

    .kontakt-box{
        padding:30px 20px;
    }

    .kontakt-box h3{
        font-size:26px;
    }

    .kontakt-daten{
        grid-template-columns:1fr;
    }

    .kontakt-link{
        padding:17px;
    }

    .whatsapp-button{
        width:100%;
        padding:15px 20px;
    }
    @media(max-width:700px){

    nav{
        justify-content:space-between;

        padding:14px 20px;
    }

    .nav-brand{
        display:block;

        color:white;

        font-size:21px;
        font-weight:700;
    }

    .burger-menu{
        width:34px;
        height:26px;

        display:flex;
        flex-direction:column;
        justify-content:space-between;

        cursor:pointer;

        position:relative;
        z-index:1002;
    }

    .burger-menu span{
        display:block;

        width:100%;
        height:4px;

        background:white;

        border-radius:5px;

        transition:
            transform .3s,
            opacity .3s;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;

        width:100%;

        display:flex;
        flex-direction:column;
        align-items:stretch;

        background:#1b5e20;

        max-height:0;
        overflow:hidden;

        opacity:0;
        visibility:hidden;

        box-shadow:0 15px 25px rgba(0,0,0,.2);

        transition:
            max-height .4s ease,
            opacity .3s ease,
            visibility .3s ease;
    }

    .nav-links a{
        display:block;

        width:100%;

        margin:0;
        padding:16px 25px;

        text-align:center;
        font-size:17px;

        border-top:1px solid rgba(255,255,255,.12);
    }

    .nav-links a:hover{
        color:white;
        background:rgba(139,195,74,.25);
    }

    #menu-toggle:checked ~ .nav-links{
        max-height:500px;

        opacity:1;
        visibility:visible;
    }

    #menu-toggle:checked + .burger-menu span:nth-child(1){
        transform:translateY(11px) rotate(45deg);
    }

    #menu-toggle:checked + .burger-menu span:nth-child(2){
        opacity:0;
    }

    #menu-toggle:checked + .burger-menu span:nth-child(3){
        transform:translateY(-11px) rotate(-45deg);
    }

}

}

/* =========================
   FOOTER
   ========================= */

footer{
    background:#111;
    color:white;

    text-align:center;

    padding:25px;
}


/* =========================
   TABLET
   ========================= */

@media(max-width:1000px){

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

    .preis-cards{
        grid-template-columns:repeat(2,1fr);
    }

}
.social-media{

    display:flex;

    justify-content:center;

    gap:20px;

    margin:25px 0;

}

.social-media a{

    width:55px;
    height:55px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:#1b5e20;

    color:white;

    font-size:24px;

    text-decoration:none;

    transition:.3s;

}

.social-media a:hover{

    background:#8bc34a;

    transform:translateY(-5px) scale(1.08);

    box-shadow:0 10px 20px rgba(0,0,0,.2);

}


/* =========================
   HANDY
   ========================= */

@media(max-width:700px){

    .container{
        width:92%;
    }


    /* Navigation */

    nav{
        padding:8px 15px;
        justify-content:center;
    }

    .mobile-logo{
        display:block;

        cursor:pointer;

        position:relative;
        z-index:1002;
    }

    .mobile-logo img{
        display:block;

        width:85px;
        height:70px;

        object-fit:contain;

        transition:.3s;
    }

    .mobile-logo:active img{
        transform:scale(.95);
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;

        width:100%;

        display:flex;
        flex-direction:column;
        align-items:stretch;

        background:#1b5e20;

        max-height:0;

        opacity:0;
        visibility:hidden;
        overflow:hidden;

        box-shadow:0 15px 25px rgba(0,0,0,.2);

        transition:
            max-height .4s ease,
            opacity .3s ease,
            visibility .3s ease;
    }

    .nav-links a{
        display:block;

        width:100%;

        margin:0;
        padding:16px 25px;

        color:white;

        font-size:17px;
        text-align:center;

        border-top:1px solid rgba(255,255,255,.12);
    }

    .nav-links a:hover{
        color:white;
        background:rgba(139,195,74,.25);
    }

    #menu-toggle:checked ~ .nav-links{
        max-height:500px;

        opacity:1;
        visibility:visible;
    }


    /* Header */

    header{
        min-height:430px;
    }

    header h1{
        font-size:36px;
    }

    header p{
        font-size:18px;
    }


    /* Bereiche */

    section{
        padding:40px 0;
    }

    h2{
        font-size:30px;
        margin-bottom:30px;
    }


    /* Karten */

    .cards{
        grid-template-columns:1fr;
    }

    .card{
        padding:0;
    }

    .card img{
        height:180px;
    }

    .card .button{
        width:calc(100% - 40px);
        align-self:center;
    }

    .info-cards{
        grid-template-columns:1fr;
    }

    .info-card{
        min-height:auto;
    }

    .preis-cards{
        grid-template-columns:1fr;
    }

    .preis-card p{
        min-height:auto;
    }


    /* Preise */

    .price{
        font-size:24px;
    }

    .preis-hinweis{
        margin:35px 15px 0;
        padding:22px 18px;
    }

    .preis-hinweis h3{
        font-size:21px;
    }

    .preis-hinweis p{
        font-size:15px;
    }


    /* Buttons */

    .hero .button{
        width:90%;
        max-width:360px;
        text-align:center;
    }


    /* Tabellen */

    table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }


    /* Formular */

    form{
        padding:20px;
    }

}



/* =========================
   IMPRESSUM & AGB
========================= */

.legal-page {
    min-height: 80vh;
    padding: 120px 20px 70px;
    background: #f6f8f5;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.legal-container h1 {
    font-size: 38px;
    margin-bottom: 35px;
}

.legal-container h2 {
    font-size: 21px;
    margin-top: 35px;
    margin-bottom: 12px;
}

.legal-container p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.legal-container a {
    text-decoration: none;
}

.legal-intro {
    font-weight: 600;
    margin-bottom: 35px !important;
}

.back-button {
    display: inline-block;
    margin-top: 35px;
    padding: 13px 25px;
    background: #1f5c3a;
    color: white;
    border-radius: 10px;
    transition: 0.2s;
}

.back-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {

    .legal-page {
        padding: 100px 15px 50px;
    }

    .legal-container {
        padding: 30px 22px;
        border-radius: 15px;
    }

    .legal-container h1 {
        font-size: 29px;
    }

    .legal-container h2 {
        font-size: 19px;
    }
}

/* =========================
   BUTTONS
   ========================= */

/* Standard-Buttons */
.button {
    display: inline-block;

    background: #3f7d20;
    color: #ffffff;

    text-decoration: none;

    padding: 15px 35px;
    margin-top: 25px;

    border-radius: 30px;

    font-weight: 600;

    transition: .3s;
}

.button:hover {
    transform: scale(1.05);
    background: #326619;
    color: #ffffff;
}


/* Buttons innerhalb der Leistungskarten */
.card .button {
    display: inline-block;

    align-self: flex-start;

    width: auto;

    margin: 20px;
    margin-top: auto;

    padding: 13px 32px;

    background: #3f7d20;
    color: #ffffff;

    border-radius: 30px;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;
    text-align: center;

    transition: .3s;
}

.card .button:hover {
    background: #326619;
    color: #ffffff;

    transform: translateY(-2px);
}


/* Normale HTML-Buttons */
button {
    background: #3f7d20;
    color: #ffffff;

    border: none;

    padding: 15px 30px;

    border-radius: 30px;

    cursor: pointer;

    font-size: 16px;
    font-weight: 600;

    transition: .3s;
}

button:hover {
    background: #326619;
    color: #ffffff;
}


/* =========================
   KONTAKT CTA
   Hellgrün bewusst beibehalten
   ========================= */

.contact .button {
    background: #8bc34a;
    color: #17351a;

    font-weight: 700;
}

.contact .button:hover {
    background: #9ccc65;
    color: #17351a;

    transform: scale(1.05);
}


/* Tastatur-Navigation / Barrierefreiheit */
.button:focus-visible,
button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}