/* Grundlayout */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
	font-size: 20px;
    background: #ffffff;
    color: #000000;
    padding-top: 0px;
	background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url("assets/harmonica.jpg"); 
	background-size: cover; 
	background-position: center; 
	background-attachment: fixed;
}

/* Logo oben mittig */
.logo-container {
    text-align: center;
    padding: 25px 0;
    background: white;
}

.main-logo { height: 500px; /* deutlich grösser */ max-height: 35vh; /* verhindert Übergrösse auf kleinen Screens */ cursor: pointer; transition: transform 0.2s; }

.main-logo:hover {
    transform: scale(1.08);
}

/* Popup für grosses Logo */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup:target {
    display: flex;
}

.popup-content {
    position: relative;
    text-align: center;
}

.popup-logo {
    width: 80%;
    max-width: 900px;
    border-radius: 20px;
    border: 4px solid white;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    color: black;
    font-size: 40px;
    text-decoration: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-weight: bold;
}

/* Topbar */
.topbar {
    display: flex;
    justify-content: center;
    padding: 15px 30px;
    background: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #C00000;
}

nav a {
    color: #ffffff;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    color: #C00000;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
}

.rounded-hero {
    width: 100%;
    border-radius: 20px;
}

.hero-text {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: white;
    text-shadow: 2px 2px 6px black;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin: 0;
}

/* Sections */
section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: auto;
    scroll-margin-top: 180px;
}

h2 {
    color: #C00000;
    border-left: 6px solid #C00000;
    padding-left: 10px;
}

/* Mitglieder */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); /* 3 oben */ gap: 30px; } .member-grid .member:nth-child(4), .member-grid .member:nth-child(5) { grid-column: span 1; /* 2 unten */ }

.member {
    background: #fff;
    border: 3px solid #C00000;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.member img {
    width: 80%;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    border: 3px solid #000000;
}

.member .name {
    font-weight: bold;
    margin-top: 10px;
    color: #C00000;
}

.member .desc {
    font-size: 1.0rem;
    margin-top: 5px;
}

/* Social Media */
.social-links a {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    background: #C00000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.social-links a:hover {
    background: #000000;
}

/* Kontakt */
.button {
    display: inline-block;
    padding: 12px 20px;
    background: #C00000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.button:hover {
    background: #000000;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #000000;
    color: white;
    margin-top: 40px;
}
