:root{
    --bg:#ffffff;
    --panel:#ffffff;
    --panel2:#f7f7f7;
    --text:#1b1b1b;
    --muted:#666666;

    --gold:#d4af37;
    --wine:#7b1020;
    --wine2:#a0182e;

    --border:rgba(123,16,32,.16);
    --shadow:0 18px 45px rgba(0,0,0,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#ffffff;
    color:var(--text);
    min-height:100vh;
}

a{color:inherit}

.hero{
    min-height:340px;
    background:
        radial-gradient(circle at top left,rgba(212,175,55,.25),transparent 35%),
        linear-gradient(135deg,var(--wine),var(--wine2));
    border-bottom:4px solid var(--gold);
}

.topbar{
    max-width:1180px;
    margin:0 auto;
    padding:18px 22px;
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
}

.brand{
    font-weight:800;
    text-decoration:none;
    letter-spacing:.4px;
    color:var(--gold);
}

.brand2{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.nav-logo2 {
    height:250px;
    width:auto;
    display:block;

    position:relative;
    top:50px;
}

.navlinks{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.navlinks a{
    font-size:14px;
    text-decoration:none;
    color:#f5f1e8;
    padding:8px 10px;
    border:1px solid transparent;
    border-radius:999px;
}

.navlinks a:hover{
    border-color:rgba(212,175,55,.55);
    color:#ffffff;
    background:rgba(255,255,255,.12);
}

.hero-content{
    max-width:1180px;
    margin:0 auto;
    padding:0px 22px 80px;
    text-align:center;
}

.eyebrow{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:800;
    margin:0 0 12px;
}

.hero h1{
    font-size:clamp(38px,7vw,76px);
    line-height:1;
    margin:0;
    color:#ffffff;
    text-shadow:0 10px 35px rgba(0,0,0,.45);
}

.subtitle{
    font-size:18px;
    color:#f5f1e8;
    margin:18px auto 0;
    max-width:620px;
}

.container{
    width:min(1180px,calc(100% - 32px));
    margin:0 auto;
    padding:42px 0 70px;
}

.section-head,
.gallery-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.section-head h2,
.gallery-head h2{
    font-size:clamp(28px,4vw,46px);
    margin:0;
    color:var(--wine);
}

.section-head p,
.gallery-head p{
    color:var(--muted);
    margin:8px 0 0;
}

.back-link{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    color:var(--wine);
    border:1px solid var(--border);
    border-radius:999px;
    padding:10px 14px;
    background:#ffffff;
    white-space:nowrap;
    font-weight:700;
}

.back-link:hover{
    background:rgba(212,175,55,.12);
    border-color:var(--gold);
}

.event-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:22px;
}

.event-card{
    position:relative;
    min-height:260px;
    border-radius:24px;
    overflow:hidden;
    background:#ffffff;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    text-decoration:none;
    isolation:isolate;
    transition:.3s ease;
}

.event-card:hover{
    transform:translateY(-6px);
    box-shadow:
        0 20px 45px rgba(0,0,0,.18),
        0 0 22px rgba(212,175,55,.28);
}

.event-card img{
    width:100%;
    height:100%;
    position:absolute;
    inset:0;
    object-fit:cover;
    transition:transform .45s ease;
    filter:saturate(.95);
}

.event-card:hover img{
    transform:scale(1.08);
}

.event-card:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.82),
        rgba(0,0,0,.25),
        rgba(123,16,32,.22)
    );
    z-index:1;
}

.event-overlay{
    position:absolute;
    z-index:2;
    left:22px;
    right:22px;
    bottom:22px;
}

.event-year{
    display:inline-block;
    background:var(--gold);
    color:#1a1303;
    font-weight:900;
    padding:6px 10px;
    border-radius:999px;
    font-size:13px;
}

.event-overlay h3{
    font-size:28px;
    line-height:1.05;
    margin:12px 0 8px;
    color:#ffffff;
}

.event-overlay p{
    margin:0;
    color:#f5f1e8;
}

.no-cover{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    color:var(--muted);
    background:linear-gradient(135deg,#ffffff,#f3f3f3);
}

.photo-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
    gap:16px;
}

.photo-card{
    padding:0;
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
    background:#ffffff;
    height:190px;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.photo-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease,filter .35s ease;
}

.photo-card:hover img{
    transform:scale(1.06);
    filter:brightness(1.08);
}

.empty-box{
    border:1px solid var(--border);
    border-radius:24px;
    background:#ffffff;
    padding:28px;
    color:var(--muted);
    box-shadow:var(--shadow);
}

.empty-box h3{
    color:var(--wine);
    margin-top:0;
}

.empty-box strong{
    color:var(--wine);
}

.lightbox{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
    background:rgba(0,0,0,.92);
    align-items:center;
    justify-content:center;
    padding:54px 48px;
}

.lightbox.open{display:flex}

.lightbox img{
    max-width:92vw;
    max-height:82vh;
    border-radius:12px;
    box-shadow:0 20px 80px rgba(0,0,0,.75);
}

.lightbox-close,
.download-btn,
.lightbox-arrow{
    position:absolute;
    border:1px solid rgba(212,175,55,.35);
    background:rgba(20,20,24,.72);
    color:#ffffff;
    border-radius:999px;
    display:grid;
    place-items:center;
    text-decoration:none;
    backdrop-filter:blur(10px);
    cursor:pointer;
}



.lightbox-close{
    top:18px;
    right:18px;
    width:38px;
    height:38px;
    font-size:26px;
}

.download-btn{
    top:18px;
    right:66px;
    width:38px;
    height:38px;
    font-size:18px;
}

.lightbox-arrow{
    top:50%;
    transform:translateY(-50%);
    width:34px;
    height:34px;
    font-size:30px;
    line-height:1;
}

.lightbox-prev{left:14px}
.lightbox-next{right:14px}

.lightbox-close:hover,
.download-btn:hover,
.lightbox-arrow:hover{
    background:var(--wine2);
    border-color:var(--gold);
}

.lightbox-caption{
    position:absolute;
    left:20px;
    right:20px;
    bottom:18px;
    text-align:center;
    color:#f5f1e8;
    font-size:14px;
}

.footer{
    border-top:4px solid var(--gold);
    padding:28px 16px;
    text-align:center;
    color:var(--muted);
    background:#fafafa;
}

.footer p{margin:6px 0}

.footer a{
    color:var(--wine);
    text-decoration:none;
    font-weight:700;
}

.footer a:hover{color:var(--gold)}

.content-page{
    max-width:860px;
    margin:0 auto;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:24px;
    padding:30px;
    line-height:1.7;
    box-shadow:var(--shadow);
}

.content-page h2{
    color:var(--wine);
    margin-top:0;
}

.content-page a{
    color:var(--wine);
    font-weight:700;
}

@media(max-width:720px){
    .topbar,
    .section-head,
    .gallery-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .hero-content{text-align:left}
    .event-grid{grid-template-columns:1fr}
    .photo-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
    .photo-card{height:145px}
    .lightbox{padding:58px 14px}
    .lightbox-arrow{width:30px;height:30px;font-size:25px}
    .lightbox-prev{left:8px}
    .lightbox-next{right:8px}
}

.team-grid{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:30px !important;

    width:100% !important;
    max-width:500px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.team-card{
    width:100% !important;
    max-width:400px !important;
    margin-left:auto !important;
    margin-right:auto !important;

    background:#ffffff;
    border:1px solid var(--border);
    border-radius:24px;
    padding:24px;
    text-align:center;
    box-shadow:var(--shadow);
}

.calendar-list{
    max-width:800px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.calendar-card{
    display:flex;
    gap:20px;
    align-items:center;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:24px;
    padding:22px;
    box-shadow:var(--shadow);
}

.calendar-date{
    min-width:95px;
    height:95px;
    border-radius:18px;
    background:var(--wine);
    color:white;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:4px solid var(--gold);
}

.calendar-date span{
    font-size:34px;
    font-weight:900;
}

.calendar-date small{
    color:#f5f1e8;
}

.calendar-card h3{
    margin:0 0 6px;
    color:var(--wine);
}

.slideshow-btn{
    display:inline-block;
    margin:0 0 22px;
    padding:12px 20px;
    background:var(--wine);
    color:white;
    border:2px solid var(--gold);
    border-radius:999px;
    font-weight:800;
    cursor:pointer;
}

.slideshow-btn:hover{
    background:var(--wine2);
}

.member-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:9999;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.member-modal.open{
    display:flex;
}

.member-box{
    position:relative;
    max-width:420px;
    width:100%;
    background:white;
    border-radius:24px;
    padding:30px;
    text-align:center;
    box-shadow:0 25px 80px rgba(0,0,0,.35);
    border:3px solid var(--gold);
}

.member-box img{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid var(--gold);
}

.member-box h2{
    color:var(--wine);
    margin:18px 0 4px;
}

.member-box h3{
    color:var(--gold);
    margin:0 0 14px;
}

.member-close{
    position:absolute;
    top:12px;
    right:14px;
    border:none;
    background:var(--wine);
    color:white;
    width:34px;
    height:34px;
    border-radius:50%;
    font-size:24px;
    cursor:pointer;
}

.team-card{
    cursor:pointer;
}

.lightbox-close, 
.download-btn, 
.slideshow-btn, 
.lightbox-arrow
	{ 
		position:absolute; 
		width:42px; 
		height:42px; 
		display:flex; 
		justify-content:center; 
		align-items:center; 
		border-radius:50%; 
		border:2px solid rgba(212,175,55,.35); 
		background:rgba(20,20,24,.72); 
		color:white; 
		cursor:pointer; 
		backdrop-filter:blur(10px); 
		transition:.25s; 
		text-decoration:none; } 

.lightbox-close:hover, 
.download-btn:hover, 
.slideshow-btn:hover, 
.lightbox-arrow:hover
	{ 
		background:var(--wine2); 
		border-color:var(--gold); 
	} 

/* Positionen */ 

.lightbox-close{ top:18px; right:18px; } 
.download-btn{ top:18px; right:68px; } 
.slideshow-btn{ top:18px; right:118px; } 
.lightbox-prev{ top:50%; left:14px; transform:translateY(-50%); } 
.lightbox-next{ top:50%; right:14px; transform:translateY(-50%); } 

/* Icons */ 
	.lightbox-close::before{ content:"✕"; font-size:22px; } 
	.download-btn::before{ content:"📲"; font-size:20px; } 
	.slideshow-btn::before{ content:"▶"; font-size:18px; } 
	.slideshow-btn.playing::before{ content:"⏸"; } 
	.lightbox-prev::before{ content:"❮"; font-size:28px; } 
	.lightbox-next::before{ content:"❯"; font-size:28px; }

