/* Globale Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Navigation & Header */
header {
    background: #1a1a1a;
    color: #4BB445;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo-Bildgröße kontrollieren */
.logo a img {
    height: 100px; /* Perfekte Logogröße */
    width: auto;  
    display: block;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #ff9900; /* Baustellen-Orange */
}

/* Slogan im Header */
.header-slogan {
    font-size: 16px;
    font-weight: 500;
    color: #4BB445; /* Auffällige Farbe für den Slogan */
    text-align: center;
    max-width: 400px;
    line-height: 1.3;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #4BB445;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff9900;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://unsplash.com') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #4BB445;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    background: #4BB445;
    color: #1a1a1a;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #e68a00;
}

.btn-sm {
    background: #4BB445;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s;
}

.btn-sm:hover {
    background: #ff9900;
    color: #1a1a1a;
}

/* Produkt-Grid */
.products, .benefits, .contact {
    padding: 60px 10%;
    text-align: center;
}

h2 {
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
}

.grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin: 15px 0 10px 0;
}

.price {
    font-weight: bold;
    color: #4BB445;
    font-size: 18px;
    margin: 15px 0;
}

/* Styling für die Kategorien */
.category-block {
    margin-bottom: 50px;
    text-align: left; 
}

.category-title {
    font-size: 24px;
    color: #1a1a1a;
    border-left: 5px solid #4BB445; 
    padding-left: 15px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Einheitliche Größe für Produktbilder */
.card img.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 15px;
}

/* Vorteile */
.benefits {
    background: #f1f1f1;
}

.benefit-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.benefit-item h3 {
    margin-bottom: 10px;
    color: #4BB445;
}

/* Kontaktformular */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input, .contact select, .contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Responsive Design für Mobilgeräte */
@media (max-width: 900px) {
    .header-slogan {
        display: none; /* Versteckt Slogan auf kleinen Bildschirmen */
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero-content h1 {
        font-size: 30px;
    }
  



}
/* WICHTIG: Ganz am Ende der style.css einfügen */
.contact .btn-whatsapp {
    background: #25D366 !important; /* WhatsApp Grün */
    color: #fff !important;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: block !important;       /* Erzwingt die Button-Form */
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    transition: background 0.3s;
    margin-top: 10px;                /* Abstand zum oberen Button */
}

.contact .btn-whatsapp:hover {
    background: #20ba5a !important;  /* Dunkleres Grün beim Drüberfahren */
}
/* Erzeugt den Abstand zwischen dem WhatsApp-Logo und dem Text */
.btn-whatsapp i {
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}
/* Richtet das neue SVG-Logo auf dem Button aus */
.btn-whatsapp .wa-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}
/* Telefonnummer unter dem WhatsApp-Button */
.phone-text {
    margin-top: 15px;
    font-size: 15px;
    color: #555;
    text-align: center;
}

.phone-text a {
    color: #4BB445; /* Nutzt dein neues Webseiten-Grün für die Nummer */
    text-decoration: none;
    transition: color 0.3s;
}

.phone-text a:hover {
    text-decoration: underline; /* Unterstreicht die Nummer beim Drüberfahren */
}

