/* Allgemeine Stile */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding-top: 80px;
    background-color: #F5F6F5;
    color: #1A3C34;
    line-height: 1.7;
}
/* WhatsApp-Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000; /* Höherer z-index für Sichtbarkeit */
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-button i {
    font-size: 2em;
}
.whatsapp-button .whatsapp-text {
    display: none; /* Text standardmäßig ausgeblendet */
    font-size: 0.9em;
    margin-left: 8px;
}
.whatsapp-button:hover {
    background: linear-gradient(135deg, #40C4FF 0%, #34C759 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    width: 120px; /* Erweitert bei Hover, um Text anzuzeigen */
    border-radius: 30px;
}
.whatsapp-button:hover .whatsapp-text {
    display: inline; /* Zeigt Text bei Hover */
}
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-button i {
        font-size: 1.8em;
    }
    .whatsapp-button:hover {
        width: 100px; /* Kleinere Erweiterung auf Mobilgeräten */
    }
}
/* Header */
header {
    background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.logo {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 8px;
}
.logo:hover {
    transform: scale(1.05);
}
nav {
    display: flex;
    gap: 10px; /* Kleinerer Abstand für eine Zeile */
    align-items: center;
}
nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
}
nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #1A3C34;
    transform: translateY(-2px);
}
.hamburger {
    display: none;
    font-size: 1.8em;
    color: #FFFFFF;
    cursor: pointer;
}
nav.active {
    display: flex;
    gap: 10px; /* Konsistenter Abstand in einer Zeile */
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
    position: absolute;
    top: 60px;
    left: 0;
    align-items: center; /* Zentriert die Links vertikal */
    justify-content: center; /* Zentriert die Links horizontal */
    flex-wrap: nowrap; /* Verhindert Umbruch */
}
/* Hero-Sektion */
#hero {
    position: relative;
    height: 64vh; /* 20% kleiner als 80vh */
    min-height: 320px; /* 20% kleiner als 400px */
    overflow: hidden;
}
#hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%; /* Volle Breite */
    height: 100%; /* Passt sich der Hero-Sektion an */
    object-fit: cover; /* Füllt die Fläche ohne Verzerrung */
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: brightness(0.85);
}
#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.6), rgba(64, 196, 255, 0.6));
    z-index: 1;
}
#hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}
#hero .d-flex {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}
#hero .w-100 {
    color: #FFFFFF;
    padding: 20px;
}
#hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#hero h1 .brand-name {
    font-size: 1.05em;
}
#hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#hero p i {
    margin-right: 8px;
    color: #FFFFFF;
}
#hero .stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
#hero .stats div {
    background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
#hero .stats div i {
    margin-right: 8px;
}
#hero .stats div:hover {
    transform: translateY(-3px);
}
#hero button {
    background: linear-gradient(135deg, #FF5733 0%, #FF8C42 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 30px;
    font-size: 1.2em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
}
#hero button i {
    margin-right: 8px;
}
#hero button:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF5733 100%);
    transform: scale(1.05) translateY(-2px);
}
/* Fallback für Geräte ohne Video-Unterstützung */
@media (pointer: coarse) and (hover: none) {
    #hero {
        background: linear-gradient(135deg, rgba(52, 199, 89, 0.6), rgba(64, 196, 255, 0.6)), #1A3C34 no-repeat center center / cover;
    }
    #hero video {
        display: none;
    }
}
/* Sektionen */
section {
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #1A3C34;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
    margin: 10px auto;
}
/* Grid und Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.card {
    background: #FFFFFF;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    min-height: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.card h3 {
    color: #1A3C34;
    font-size: 1.5em;
    margin-bottom: 15px;
}
.card h3 i {
    margin-right: 10px;
    color: #34C759;
}
.card p {
    color: #2A4D50;
    line-height: 1.7;
}
/* Spezifische Stile für #services */
#services .card h3 {
    font-size: 1.275em;
}
#services .card h3 i {
    margin-right: 10px;
    color: #34C759;
}
#services .card:nth-child(2) h3,
#services .card:nth-child(4) h3,
#services .card:nth-child(5) h3 {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#services .card:nth-child(2) h3 i,
#services .card:nth-child(4) h3 i,
#services .card:nth-child(5) h3 i {
    flex-shrink: 0;
    margin-right: 10px;
}
/* Spezielle Stile für #important */
#important .card {
    background: #FFFFFF;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    min-height: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#important .card h3 {
    color: #1A3C34;
    font-size: 1.5em;
    margin-bottom: 15px;
}
#important .card h3 i {
    margin-right: 10px;
    color: #34C759;
}
#important .card p {
    color: #2A4D50;
    line-height: 1.7;
}
/* Formulare */
form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
input, textarea {
    padding: 14px;
    border: 1px solid #40C4FF;
    border-radius: 8px;
    background-color: #F5F6F5;
    color: #1A3C34;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
input:focus, textarea:focus {
    border-color: #34C759;
    outline: none;
}
input::placeholder, textarea::placeholder {
    color: #6B7280;
}
textarea {
    min-height: 150px;
    resize: vertical;
}
button {
    background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 30px;
    font-size: 1.2em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
button i {
    margin-right: 8px;
}
button:hover {
    background: linear-gradient(135deg, #40C4FF 0%, #34C759 100%);
    transform: scale(1.05) translateY(-2px);
}
/* About Sektion */
#about {
    background-color: #FFFFFF;
    padding: 60px 20px;
}
#about p {
    max-width: 800px;
    margin: 15px auto;
    color: #2A4D50;
}
/* Testimonials Sektion */
#testimonials .card {
    text-align: center;
}
#testimonials .card p {
    font-style: italic;
}
#testimonials .card p i {
    color: #34C759;
    margin-right: 8px;
}
#testimonials .card p:last-child {
    font-weight: 600;
    margin-top: 10px;
}
/* Kontakt Sektion */
#contact p i {
    margin-right: 8px;
    color: #34C759;
}
/* Footer */
footer {
    background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
    color: #FFFFFF;
    padding: 30px 20px;
    text-align: center;
}
footer a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    .header-container {
        padding: 10px 15px;
    }
    .logo {
        max-width: 140px;
    }
    nav {
        display: none;
        gap: 8px; /* Kleinerer Abstand für mobile Ansicht */
        width: 100%;
        padding: 10px 15px;
        background: linear-gradient(135deg, #34C759 0%, #40C4FF 100%);
        position: absolute;
        top: 60px;
        left: 0;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap; /* Verhindert Umbruch */
    }
    nav.active {
        display: flex;
    }
    nav a {
        font-size: 0.9em;
        padding: 6px 10px;
    }
    .hamburger {
        display: block;
    }
    #hero {
        height: 48vh; /* 20% kleiner als 60vh */
        min-height: 240px; /* 20% kleiner als 300px */
    }
    #hero h1 {
        font-size: 2.2em;
    }
    #hero p {
        font-size: 1.1em;
    }
    #hero .stats {
        flex-direction: column;
        gap: 15px;
    }
    section {
        padding: 40px 15px;
    }
    h2 {
        font-size: 2em;
    }
    #hero button {
        margin-top: 30px;
    }
}