/* Globale Stile */
/* Globale Stile */
@font-face {

    font-family: 'Amali';
    src: url('Amali.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Ladeverhalten optimieren */

}



:root {
    --primary-color: #121212;
    --secondary-color: #1e1e1e;
    --accent-color: #333333;
    --text-color: #ffffff;
    --highlight-color: #4a4a4a;
    --font-heading: 'Amali', serif; /* Elegante Serif für Überschriften (Amati SC ähnlich) */
    --font-body: 'Amali',  Georgia, serif;
}




body {
    background-color: var(--primary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--dark-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-list {
    font-family: var(--font-body);
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 300;
    transition: opacity 0.3s;
}

.nav-list a:hover {
    opacity: 0.8;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero-Sektion */
.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hintergrund.jpg');
    background-size: cover;
}

.hero h1 {
    font-family: var(--font-body);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: var(--medium-gray);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--light-gray);
    color: var(--black);
}

/* Grid-Sektion */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
}

.grid-item {
    background-color: var(--dark-gray);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item h2 {
    font-family: var(--font-body);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark-gray);
    margin-top: 2rem;
    font-family: var(--font-body);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark-gray);
        padding: 1rem 0;
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}