:root {
    --primary: #2d6a4f;
    --secondary: #1b4332;
    --accent: #ffb703;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

header {
    background: var(--primary);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo { height: 63px; display: flex; align-items: center; text-decoration: none; }
.logo:hover { transform: scale(1.05); transition: transform 0.3s ease; }
.logo img { max-height: 72px; width: auto; }
.nav-links { display: flex; gap: 18px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--white); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-links button { background: none; border: none; color: var(--white); cursor: pointer; font-size: 1rem; font-family: inherit; padding: 0; font-weight: 500; transition: 0.3s; }
.nav-links button:hover { color: var(--accent); }

.phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 25%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.phone-button::before {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.phone-button:hover { background: var(--secondary); transform: scale(1.1); }

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('/images/entruempelung_background.png');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 700px; margin-bottom: 2rem; }

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s transform;
    display: inline-block;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { transform: scale(1.05); background: var(--secondary); }

.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 5%;
    background: var(--light);
    text-align: center;
}
.trust-item { font-weight: bold; color: var(--primary); font-size: 1.1rem; }

.services { padding: 80px 5%; text-align: center; }
.services h2 { margin-bottom: 50px; font-size: 2.5rem; }
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.card {
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 0 1 calc(25% - 24px);
}
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.card h3 { margin-bottom: 15px; color: var(--primary); }

.stats-box {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.stats-box-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0;
}

.stats-box-label {
    font-size: 0.95rem;
    color: #666;
    margin-top: 5px;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
}

.testimonial {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: 0.3s;
    flex: 0 1 calc(25% - 16px);
}

.testimonial:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
    font-size: 0.95rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

footer { 
    padding: 40px 5%; 
    background: #111; 
    color: #888; 
    text-align: center; 
    font-size: 0.9rem; 
}
footer a { color: #ccc; text-decoration: none; margin: 0 10px; }

@media (max-width: 1024px) {
    .card { flex: 0 1 calc(50% - 15px); }
    .testimonial { flex: 0 1 calc(50% - 10px); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .card { flex: 0 1 100%; }
    .testimonial { flex: 0 1 100%; }
}
