/* --- VARIABLES --- */
:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-color: #ffffff;
    --accent-color: #FFC107;
    /* Standard Gold/Yellow - adjust to match logo exactly if needed */
    --accent-glow: rgba(255, 193, 7, 0.4);
    --text-muted: #a3a3a3;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin: 0;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
    padding: 0;
}

/* --- LAYOUT UTILS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

/* --- HEADER --- */
/* CTA Button styles are now fully defined in navbar.css */





/* --- SERVICES GRID --- */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* --- RESPONSIVE --- */



@media (max-width: 768px) {



    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 120px;
        text-align: center;
    }

    .hide-mobile {
        display: none;
    }



    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }



    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    /* Image on top on mobile */
    h1 {
        font-size: 2.5rem;
    }
}

/* --- SUBPAGES --- */
.hero-subpage {
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 180px;
    padding-bottom: 3rem;
}

/* Shared Hero styling to ensure universality */
.hero-content h1,
.hero-subpage h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* Standardized to 1.5rem like startseite */
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    word-break: break-word;
    /* Allow breaking long words */
    hyphens: auto;
    /* Enable hyphenation */
}



.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    text-decoration: none;
}

.about-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.about-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }

    .about-image img {
        width: 250px;
        height: 250px;
    }

    .about-image::before {
        width: 250px;
        height: 250px;
    }

    .hero-subpage h1,
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subpage {
        padding-top: 180px;
        /* More space below header on mobile */
        min-height: auto;
    }
}

/* --- SCROLL ANIMATIONS --- */
.anim-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- ACTIVE NAV LINK --- */
.nav-links a.nav-active,
.mobile-nav a.nav-active {
    color: var(--accent-color) !important;
    position: relative;
}

.nav-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}