:root {
    --primary: #ffffff;
    --secondary: #e0e0e0;
    --dark: #000000;
    --bg-light: #f8f8f8;

    --accent: #4f7ea8;
    --accent-2: #6ea6c9;

    --card-bg: rgba(255, 255, 255, 0.9);
    --radius: 12px;

    --max-width: 1100px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-light);
    color: #222;
    line-height: 1.5;
}

/* ================================ */
/* TOP-BANNER                        */
/* ================================ */
.top-banner {
    background: #000;
    color: #c30000;
    text-align: center;
    padding: 0.5rem;
    font-size: 1rem;
}
.top-banner u { text-decoration: underline; }

/* ================================ */
/* NAVIGATION                        */
/* ================================ */
.nav {
    width: 100%;
    background: #000;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.nav-inner {
    max-width: 900px;
    width: 100%;
    display: flex;
    gap: 24px;
    justify-content: flex-start;
    align-items: center;
}

.nav-inner a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.nav-inner a:hover {
    text-decoration: underline;
}

/* ================================ */
/* HERO-BEREICH                       */
/* ================================ */
.hero, .hero-projektinfo, .hero-teilnehmer {
    width: 100%;
    height: 1120px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-teilnehmer { background-image: url('../img/header.jpg'); }

/* Hero Overlay */
.hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--primary);
    padding: 20px;
}
.hero-overlay-top { justify-content: flex-start; padding-top: 12vh; }

.hero-overlay h1 { font-size: 78px; letter-spacing: 2px; }
.hero-overlay h2 { font-size: 48px; letter-spacing: 2px; }
.hero-overlay p { font-size: 20px; margin-top: 10px; }
.hero-overlay a { color: #a4dafc; font-size: 24px; padding: 10px 5px; }

.hero-overlay .hero-content {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

/* ================================ */
/* TEILNEHMER GRID                   */
/* ================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 20px;
    margin: 40px auto;
    max-width: var(--max-width);
}

.profile-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--card-bg);
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-photo img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    background: #ddd;
}

.profile-meta h3 { margin: 0 0 6px 0; }
.profile-meta .role { font-weight: 700; margin-bottom: 6px; }
.profile-meta .genres { font-size: 13px; color: #555; }

.profile-full .photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.profile-full .photo-grid img {
    width: 160px; height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* ================================ */
/* BUTTONS & LINKS                   */
/* ================================ */
.btn, .btn-primary {
    border-radius: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-weight: 700;
}
.btn-primary { background: var(--accent); color: #fff; }

.button-black { padding: 12px 18px; background: #000; color: #fff; border: none; cursor: pointer; transition: 0.3s; }
.button-black:hover { background: #222; }

/* ================================ */
/* FOOTER                            */
/* ================================ */
.footer {
    width: 100%;
    background: var(--dark);
    padding: 20px;
    text-align: center;
}
.footer a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    font-weight: bold;
    transition: var(--transition);
}
.footer a:hover { opacity: 0.6; }

/* ================================ */
/* RESPONSIVE                        */
/* ================================ */
@media (max-width: 768px) {
    .hero, .hero-teilnehmer { height: 1100px; }
    .hero-overlay h1 { font-size: 32px; }
    .hero-overlay h2 { font-size: 28px; }
    .hero-overlay p { font-size: 16px; }
    .hero-overlay a { font-size: 20px; }
}

@media (max-width: 600px) {
    .nav-inner { flex-wrap: wrap; gap: 12px; }
    .nav-inner a { font-size: 15px; }
    .profile-card { flex-direction: column; align-items: flex-start; }
    .profile-photo img { width: 100%; height: 200px; }
}

@media (max-width: 480px) {
    .hero-overlay h1 { font-size: 28px; }
    .hero-overlay h2 { font-size: 22px; }
    .hero-overlay p { font-size: 16px; }
    .hero-overlay a { font-size: 16px; }
}
