/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a1628;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* 2. SPEZIFISCHE BEREICHE MIT AKZENTFARBE */

/* Links im Fließtext (leicht sichtbar) */
section p a,
.faq-answer a {
    color: #fff;
    border-bottom: 1px solid rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
}

section p a:hover,
.faq-answer a:hover {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* 3. KONTAKT-LINKS (Telefon, Email) */
.contact-info a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
}

.contact-info a:hover {
    color: #667eea !important;
}

/* 4. FOOTER-LINKS */
footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

/* 5. BUTTON-LINKS (keine Änderung) */
.btn,
.btn-primary,
.btn-secondary {
    /* Buttons behalten ihre Farben */
    color: #fff;
}

/* 6. SERVICE-LINKS (in Service Cards) */
.service-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: #764ba2;
}

/* 7. NAVIGATION-LINKS */
nav a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 1;
}

/* 8. MOBILE NAVIGATION */
.mobile-nav-overlay nav a {
    color: #fff;
    text-decoration: none;
}

/* 9. CHECKBOX-LABEL LINKS (Datenschutz) */
.checkbox-label a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.checkbox-label a:hover {
    border-bottom-color: #667eea;
}

/* 10. SOCIAL-LINKS */
.social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SPEZIAL: LINKS IN ANFRAGE.HTML                                 */
/* ═══════════════════════════════════════════════════════════════ */

/* Kontakt-Items auf anfrage.html */
#contact .contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

#contact .contact-item a:hover {
    color: #667eea;
}

/* Email/Telefon Links mit Akzentfarbe */
a[href^="tel:"],
a[href^="mailto:"] {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
    color: #667eea;
}

/* ─────────────────────────────────────────────────────────────── */
/* 2. CONTACT ITEMS RESPONSIVE                                     */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* Contact Items zentrieren auf Mobile */
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center !important;
        padding: 1.5rem !important;
    }
    
    .contact-icon {
        margin: 0 auto 1rem !important;
    }
    
    .contact-info {
        text-align: center !important;
    }
    
    .contact-info h3 {
        font-size: 1.1rem !important;
    }
    
    .contact-info p {
        font-size: 0.95rem !important;
    }
    
    .contact-info a {
        word-break: break-all; /* Lange Email-Adressen umbrechen */
    }
}


/* ═══════════════════════════════════════════════════════════════ */
/* OVERRIDE: Browser-Standard überschreiben                       */
/* ═══════════════════════════════════════════════════════════════ */


/* Aktive Links */
a:active {
    color: #667eea;
}

/* Focus State (Tastatur-Navigation) */
a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 3rem;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s;
}

/* Header verstecken beim Runterscrollen (Mobile) */
header.header-hidden {
    transform: translateY(-100%);
}

/* Header zeigen beim Hochscrollen */
header.header-visible {
    transform: translateY(0);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 100px;
    width: auto;
    transition: height 0.3s ease;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    opacity: 1;
}

/* Burger Menu Button (nur mobile sichtbar) */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    display: block;
}

/* Burger Animation zu X */
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-overlay nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2rem;
    margin-top: 5rem;
}

.mobile-nav-overlay nav a {
    font-size: 1.5rem;
    padding: 1rem;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    /* Logo auf Mobile kleiner */
    .logo-image {
        height: 50px !important; /* Deutlich kleiner auf Mobile */
    }

    /* Desktop Navigation verstecken */
    .header-content nav {
        display: none;
    }

    /* Burger Menu anzeigen */
    .burger-menu {
        display: flex;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    header {
        padding: 1rem 2rem;
    }
    
    .logo-image {
        height: 70px;
    }
    
    nav {
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.5) 0%, rgba(26, 39, 68, 0.6) 100%);
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero/SChreibtisch_mit_MacWebseiten.avif') center/cover;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 10rem 3rem 6rem;
}

.hero-tag {
    color: #667eea;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 700px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.9;
}

.trust-item {
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Sections */
section {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

section.hero {
    padding: 10rem 0 6rem;
    max-width: none;
    margin: 0;
}

.section-tag {
    color: #667eea;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

section > p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.6s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.service-link:hover {
    color: #764ba2;
}

/* Portfolio Section */
.portfolio-section {
    background: rgba(0, 0, 0, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(102, 126, 234, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Pricing */
.pricing-container {
    position: relative;
    margin-top: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.85)),
                url('../images/hero/Hand_auf_Papier-Recherchen.avif') center/cover;
    background-attachment: fixed;
    z-index: 0;
    border-radius: 16px;
}

.pricing-card {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.6s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pricing-card .description {
    opacity: 0.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.25rem;
    opacity: 0.7;
    font-weight: 400;
}

.price-note {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.8;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Verbesserter Answer Container */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 2000px; /* Erhöht für mehr Inhalt */
    opacity: 1;
    padding: 0 2rem 1.5rem;
}

/* Content innerhalb der Answer */
.faq-answer > * {
    transform: translateY(-10px);
    transition: transform 0.3s ease 0.1s; /* Verzögert für smooth effect */
}

.faq-item.active .faq-answer > * {
    transform: translateY(0);
}

.faq-answer p {
    opacity: 0.8;
    line-height: 1.8;
    margin: 0;
}

/* Photographer Showcase */
.photographer-showcase {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.photographer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.photographer-avatar {
    flex-shrink: 0;
}

.photographer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
}

.photographer-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05); /* Fallback während Laden */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.photographer-gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Loading State */
.photographer-gallery img[src=""] {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Alternative: Wenn Bilder nicht laden, zeige Placeholder Icon */
.photographer-gallery img::after {
    content: '📷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .photographer-gallery {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .photographer-info {
        flex-direction: column;
        text-align: center;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: rgba(0, 0, 0, 0.2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1.05rem;
}

.testimonial-author span {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.6s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    /* Grid auf anfrage.html und index.html Contact Section */
    #contact > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    /* Auch bei inline-styles überschreiben */
    section > div > div[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

@media (max-width: 768px) {
 /* Contact Section */
    #contact {
        padding: 3rem 1.5rem !important;
    }
    
    /* Grid-Container */
    #contact > div > div[style*="grid-template-columns"],
    section > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Hero auf anfrage.html */
    section[style*="padding-top: 10rem"] {
        padding-top: 8rem !important;
        padding-bottom: 3rem !important;
    }
    
    section[style*="padding-top: 10rem"] h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    section[style*="padding-top: 10rem"] p {
        font-size: 1rem !important;
    }
}

/* Map Container */
.map-container {
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Form - Service Selection */
.service-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-option:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px);
}

.service-option:hover::before {
    opacity: 1;
}

.service-option-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-option h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.service-option p {
    opacity: 0.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.service-option:active {
    transform: translateY(-2px) scale(0.98);
}

/* ─────────────────────────────────────────────────────────────── */
/* 3. SERVICE SELECTION GRID FIX                                   */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* Service Options untereinander auf Mobile */
    .service-selection {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .service-option {
        padding: 2rem 1.5rem !important;
    }
    
    .service-option-icon {
        font-size: 3rem !important;
    }
    
    .service-option h4 {
        font-size: 1.3rem !important;
    }
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.selected-service-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* ─────────────────────────────────────────────────────────────── */
/* 5. BUTTONS & BADGES MOBILE                                      */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* Back Button */
    .back-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Submit Button */
    .btn-submit {
        width: 100%;
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    /* Selected Service Badge */
    .selected-service-badge {
        font-size: 1rem !important;
        padding: 0.875rem 1.5rem !important;
    }
}

/* ─────────────────────────────────────────────────────────────── */
/* 6. TRUST BADGES / OPENING HOURS BOX                             */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* Trust Badges untereinander */
    div[style*="display: flex; gap: 2rem; flex-wrap: wrap"] {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    /* Öffnungszeiten Box */
    div[style*="border-radius: 12px; padding: 2rem; margin-top: 2rem"] {
        padding: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
}

/* Contact Form */
.contact-form-container {
    max-width: 800px;
    margin: 4rem auto 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
}

.contact-form-container h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.hidden {
    display: none;
}

/* ─────────────────────────────────────────────────────────────── */
/* 4. FORM GRID FIX (2-spaltig → 1-spaltig)                        */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .form-group {
        margin-bottom: 1rem !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Verhindert Auto-Zoom auf iOS */
    }
}

/* Feature Highlight Section */
.feature-highlight {
    background: #0f1a2e;
    position: relative;
}

.feature-content {
    position: sticky;
    top: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem 4rem;
    z-index: 1;
    pointer-events: none;
}

.feature-content > * {
    pointer-events: auto;
}

.feature-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-image-section {
    position: relative;
    height: 150vh;
}

.feature-image-container {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
    height: 100vh;
}

.feature-image-wrapper {
    position: relative;
    width: 70%;
    max-width: 1200px;
    height: 75vh;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image-wrapper.expanded {
    width: 100%;
    max-width: 100%;
}

.feature-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image-wrapper.expanded .feature-image {
    border-radius: 0;
}

.feature-modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 700px;
    background: rgba(15, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    z-index: 10;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.feature-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.feature-modal h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-modal p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.newsletter {
    display: flex;
    gap: 0.5rem;
}

.newsletter input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
}

.newsletter button {
    padding: 0.75rem 1.5rem;
}

.newsletter-form {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: rgba(102, 126, 234, 0.2);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 8rem 1.5rem 4rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .feature-highlight {
        padding: 4rem 1.5rem;
        min-height: 250vh;
    }

    .feature-image-container {
        height: 60vh;
    }

    .feature-modal {
        padding: 2rem;
        width: 95%;
        margin-top: 5em;
    }

    .feature-modal h3 {
        font-size: 1.5rem;
    }

    .feature-buttons {
        flex-direction: column;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Cookie Banner Styles */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(102, 126, 234, 0.3);
    padding: 2rem;
    z-index: 10000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block; /* Immer im DOM */
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.cookie-banner-text p {
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-banner-buttons .btn {
    white-space: nowrap;
    padding: 0.875rem 1.75rem;
}

.cookie-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.3s;
}

.cookie-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-banner-buttons .btn {
        width: 100%;
    }
}

/* ─────────────────────────────────────────────────────────────── */
/* 7. OVERFLOW FIX (Wichtig!)                                      */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* Verhindert horizontales Scrollen */
    body {
        overflow-x: hidden !important;
    }
    
    /* Container max-width auf Mobile */
    section > div {
        max-width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    /* Grids dürfen nicht über Viewport hinausgehen */
    .service-selection,
    .form-grid,
    #contact > div > div {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ─────────────────────────────────────────────────────────────── */
/* 8. KLEINE SCREENS (< 400px wie iPhone SE)                       */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 400px) {
    /* Noch kompaktere Abstände */
    #contact {
        padding: 2rem 1rem !important;
    }
    
    section[style*="padding-top: 10rem"] {
        padding-top: 7rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    section[style*="padding-top: 10rem"] h1 {
        font-size: 1.75rem !important;
    }
    
    .contact-item {
        padding: 1rem !important;
    }
    
    .service-option {
        padding: 1.5rem 1rem !important;
    }
    
    .service-option-icon {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
}

/* ─────────────────────────────────────────────────────────────── */
/* 9. SPEZIFISCHE FIXES FÜR INLINE-STYLES                          */
/* ─────────────────────────────────────────────────────────────── */

/* Da deine anfrage.html inline-styles nutzt, brauchen wir !important */

@media (max-width: 768px) {
    /* Grid-Container mit inline-style */
    [style*="display: grid"][style*="grid-template-columns: 1fr 1.5fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Alle 2-spaltigen Grids */
    [style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Max-width Container */
    [style*="max-width: 1400px"] {
        max-width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ─────────────────────────────────────────────────────────────── */
/* 10. LANDSCAPE MODE (Querformat Mobile)                          */
/* ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) and (orientation: landscape) {
    /* Hero kompakter im Querformat */
    section[style*="padding-top: 10rem"] {
        padding-top: 5rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Service Options Grid 2-spaltig im Querformat */
    .service-selection {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
