* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2600;
    border-bottom: 1px solid #f0f0f0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #2c2c2c;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 130px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2c2c2c;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 400px;
    padding: 4rem 5%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
                url('../images/taylor-vick-M5tzZtFCOfs-unsplash.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Fallback für Browser ohne WebP-Support */
.no-webp .hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
                url('../images/taylor-vick-M5tzZtFCOfs-unsplash.jpg') center/cover;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
}

/* Section Styles */
.section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Featured Section */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.featured-item {
    text-align: center;
    transition: transform 0.3s;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-image {
    width: 100%;
    height: 400px;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.featured-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-item:hover .featured-image img {
    transform: scale(1.05);
}

.featured-item h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.featured-item p {
    color: #666;
    font-size: 0.95rem;
}

.featured-item a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.featured-item a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    background: #fafafa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border: 1px solid #eee;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #888;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c2c2c;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: #2c2c2c;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: #444;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-legal {
    margin-top: 2rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c2c2c;
    /* iOS Touch Target Optimization - mindestens 44x44px */
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
    /* iOS Touch Feedback */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo-image {
        height: 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .featured-image {
        height: 250px;
        max-width: 100%;
    }

    .featured-item {
        max-width: 100%;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .about-text-box {
        padding: 2rem;
    }

    .about-text-box p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-box {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Extra sicher für sehr kleine Bildschirme */
@media (max-width: 768px) {
    .section {
        padding: 3rem 4%;
    }

    .featured-image {
        height: 200px;
    }

    .stats-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
    }

}

/* Styling für das Dropdown-Feld im Kontaktformular */
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #333;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form select:hover {
    border-color: #3282b8;
}

.contact-form select:focus {
    outline: none;
    border-color: #0f4c75;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.contact-form select option {
    padding: 10px;
}

/* Placeholder-Stil für die erste Option */
.contact-form select option[value=""] {
    color: #999;
}

/* Datenschutz-Checkbox Styling */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #0f4c75;
}

.checkbox-text {
    color: #666;
}

.checkbox-text a {
    color: #0f4c75;
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: #3282b8;
}

/* Button Loading State */
.submit-button {
    position: relative;
}

.submit-button .btn-loading {
    display: none;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Scroll Animations - Apple Style */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.scroll-reveal-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal-stagger.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Services Grid - uses same styling as featured-grid */

/* About Section */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-box {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.about-text-box p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-text-box p:last-child {
    margin-bottom: 0;
}

/* Stats Grid - 3 columns */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-box {
    text-align: center;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.stat-subtitle {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}