/* Grundlayout & Reset light */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background: #0f141b;
}

/* Container */

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 5%;
    background: rgba(5, 8, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo img {
    height: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 0.15rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ff3b3f;
    transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero */

.hero {
    height: 85vh;
    min-height: 460px;
    background-image: url("img/simcar_hero_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero-overlay {
    flex: 1;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 55%),
    linear-gradient(to bottom right, rgba(0,0,0,0.75), rgba(0,0,0,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    padding: 2rem;
    max-width: 640px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Buttons */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: #ff3b3f;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 59, 63, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(255, 59, 63, 0.45);
    background: #ff5559;
}

.btn-secondary {
    background: transparent;
    color: #ffb347;
    border: 1px solid #ffb347;
}

.btn-secondary:hover {
    background: rgba(255, 179, 71, 0.12);
}

/* Sektionen allgemein */

.section {
    padding: 4rem 0;
    background: #10151d;
}

.section:nth-of-type(even) {
    background: #121923;
}

.section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

.section p {
    color: #d4d8e0;
}

/* Team */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.team-member {
    text-align: center;
    background: #151b27;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.team-member img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    border: 3px solid rgba(255,255,255,0.2);
}

.team-member h3 {
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.team-member p {
    font-size: 0.9rem;
    color: #9ea5b5;
}

/* Kontakt */

.contact a {
    color: #ffb347;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */

.site-footer {
    background: #070a0f;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p {
    font-size: 0.85rem;
    color: #969bad;
}

/* Responsive */

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .hero {
        height: 70vh;
    }
}
