/* GRUNDEINSTELLUNGEN & FARBEN */
:root {
    --bg-color: #ffffff; 
    --text-color: #2b2b2b; 
    --accent-color: #ff7e5f; /* Sundowner-Orange */
    --light-gray: #f9f9f9;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--accent-color); }

/* BUTTON DESIGN */
.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: var(--text-color);
    transform: translateY(-2px);
}

/* HEADER (Zentriert) */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
    padding: 5px;
}

/* HERO SECTION */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('titelbild.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-text {
    padding: 20px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem; 
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
}

/* LAYOUT CONTAINER */
.container {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* ABOUT SECTION */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .image-block { order: -1; }
}

.image-block img {
    width: 100%;
    height: auto;
    box-shadow: 15px 15px 0px var(--accent-color);
}

/* EVENTS (ZUKÜNFTIGE) */
.bg-light { background-color: var(--light-gray); }
.event-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 0;
    width: 320px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 25px; flex-grow: 1; }
.card h3 { margin-top: 0; font-size: 1.1rem; }
.card .date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

/* VERGANGENE EVENTS / GALERIE */
.gallery-grid {
    column-count: 3; 
    column-gap: 20px;
    margin-top: 40px;
}

@media (max-width: 800px) { .gallery-grid { column-count: 2; } }
@media (max-width: 500px) { .gallery-grid { column-count: 1; } }

.gallery-item {
    break-inside: avoid; 
    margin-bottom: 20px; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: auto; 
    display: block;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* UNSERE PARTNER SEKTION (NEU) */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
    opacity: 0.7; /* Standardmäßig etwas dezenter */
}

.partner-logo img {
    height: 60px; /* Einheitliche Höhe für alle Logos */
    width: auto;
    filter: grayscale(100%); /* Schwarz-Weiß Look */
    transition: 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%); /* Farbe bei Mouseover */
    transform: scale(1.1);
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
}
footer a { color: var(--white); border-bottom: 1px solid #444; }
.admin-link { margin-top: 20px; font-size: 0.75rem; opacity: 0.5; display: block;}
.admin-link a { border: none; color: #666; }
.admin-link a:hover { color: var(--accent-color); }

/* MODAL / POPUP STYLES */
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(4px);
    overflow-y: auto; 
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto; 
    padding: 30px;
    width: 85%;
    max-width: 450px;
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-btn {
    color: #333;
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 100;
}

.modal input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.checkbox-group {
    text-align: left;
    font-size: 0.8rem;
    margin: 15px 0 20px 0;
    color: #666;
    display: flex;
    gap: 10px;
}
.checkbox-group input { width: auto; margin: 0; }