:root {
  --primary: #b1121a;
  --primary-soft: #910e15;
  --dark: #111827;
  --gray: #6b7280;
  --bg: #f3f4f6;
  --text: #1f2937;
  --muted: #6b7280;
  --glass: rgba(255, 255, 255, 0.65);
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}
    * { margin:0; padding:0; box-sizing:border-box;}
body { 
    font-family:'Inter', system-ui, -apple-system, sans-serif;
    color:var(--text);
    line-height:1.6;
    background: 
        radial-gradient(800px 400px at 10% 10%, rgba(177, 18, 26, 0.05) 0%, transparent 60%),
        radial-gradient(600px 300px at 90% 15%, rgba(177, 18, 26, 0.03) 0%, transparent 55%),
        var(--bg);
    min-height: 100vh;
}

.brushed-steel {
  /* Keeping compatibility but making it more subtle */
  background: 
    linear-gradient(135deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 60%),
    repeating-linear-gradient(80deg, #eee 0.2px, #eee 0.2px, #e5e5e5 0.2px, #e5e5e5 0.2px);
}

a {
    color:var(--primary);
    text-decoration:underline;
}
.wrap {
    max-width:1100px;
    margin:auto;
    padding:2rem;
}
header {
    position: sticky;
    top: 1rem;
    z-index: 1000;
    margin: 1.5rem 1.5rem;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
}
header img {
    height:60px;
}

nav {
    width: 33%;
    display: flex;
    justify-content: flex-end;
}

nav a {
    margin-right:1rem;
    color:var(--dark);
    text-decoration:none;
    font-weight:500;
}

.button-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 33%;
    flex-grow: 1;
}

.center-image {
    display: none;
    flex-grow: 1;
}

.menubar {
    height: calc(100% - 2vh);
    margin: 1vh;
    display: flex;
    align-content: center;
    justify-content: flex-end;
    flex-grow: 1;
    width: 33%;
}

.menubar a {
    margin-right:1rem;
    color:var(--dark);
    text-decoration:none;
    font-weight:500;
}

/* Der Hamburger-Button Grundzustand */
.menu-toggle {
    visibility: hidden; /* Desktop weg */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #b1121a;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* X-Animation */
.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width:768px) {
    .menu-toggle {
        display:flex;
        visibility: visible; /* Mobile sichtbar */
    }

    header nav {
        visibility: hidden;
    }

    .center-image {
        display: block;
        width: 33%;
    }

    /* Das aufgeklappte Menü als Fullscreen Slide-In */
    .menubar {
        display: flex;
        position: fixed; 
        top: 0; 
        left: -100%; 
        width: 100%; 
        height: 100vh; 
        background: var(--glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        z-index: 1001;
        transition: left 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        margin: 0;
    }

    .menubar.active {
        left: 0;
    }

    header.squared {
        border-radius: 999px; /* Keeping round on mobile too */
    }

    .hero-branding {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-logo {
        max-width: 220px;
    }

    .menubar a {
        font-size: 2rem;
        color: #000;
        margin: 15px 0;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 900;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease-out;
    }

    /* Links nacheinander einblenden */
    .menubar.active a {
        opacity: 1;
        transform: translateY(0);
    }
    .menubar.active a:nth-child(1) { transition-delay: 0.1s; }
    .menubar.active a:nth-child(2) { transition-delay: 0.2s; }
    .menubar.active a:nth-child(3) { transition-delay: 0.3s; }
    .menubar.active a:nth-child(4) { transition-delay: 0.4s; }
    .menubar.active a:nth-child(5) { transition-delay: 0.5s; }
}

section {
    padding:4rem 0;
}
/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
}

.hero-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
    flex-shrink: 0;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

.hero-text {
    text-align: left;
    max-width: 600px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 span {
    color: var(--primary);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.cta-wrapper {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 
        0 15px 35px rgba(177, 18, 26, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 45px rgba(177, 18, 26, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.grid {
    display:grid;
    gap:1.8rem;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}
footer {
    text-align: center;
    font-size: 0.95rem;
    color: var(--muted);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

.member { 
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: transform 0.25s ease;
}

.member:hover {
    transform: translateY(-5px);
}

.member h3 { 
    margin-bottom: 0.6rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.member p {
    margin-bottom: 0.3rem;
    color: var(--muted);
}

section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}
