/* Benutzerdefinierte Stile für CleanVex */

:root {
    --brand-blue: #003399;
    --brand-blue-dark: #002b80;
    --gold: #D4AF37;
    --gold-hover: #b08d2a;
    --bg-dark: #050505;
    --text-soft: #d1d5db;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: #e5e5e5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    color: #fff;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* Filmischer Farbverlauf im Titelbereich */
.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(0, 51, 153, 0.4) 100%
    );
}

/* Hover-Effekt für Leistungskarten */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Eleganter Unterstrich für Navigationslinks */
.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.mobile-menu-button {
    transition: all 0.2s ease;
}

.mobile-menu-button:active {
    transform: scale(0.96);
}

/* Benutzerdefinierte Markierungsfarbe */
::selection {
    background: var(--gold);
    color: #000;
}

@media (max-width: 767px) {
    nav .flex.justify-between {
        height: 72px;
    }

    nav .flex-shrink-0 span {
        font-size: 1.1rem;
    }

    header {
        min-height: 100vh;
        padding-top: 88px;
    }

    header h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        line-height: 1.05;
        letter-spacing: -0.06em;
        margin-bottom: 1rem;
    }

    header p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions a,
    .hero-actions button {
        width: 100%;
        justify-content: center;
    }

    section {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }

    .service-card {
        padding: 1.5rem !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

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

    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .social-links {
        justify-content: flex-start !important;
    }
}

@media (max-width: 480px) {
    .container,
    .max-w-7xl,
    .max-w-3xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .nav-logo-text {
        font-size: 1.1rem;
    }

    .mobile-menu-button {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
