/* HEADER */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 110px;
  padding: 0 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(10px);
  z-index: 1002;
}

header strong { font-size: 1.7rem; font-weight: 600; word-spacing: 0.7rem; }
nav a { margin-left: 28px; color: var(--muted); font-size: 1.15rem; font-weight: 600; text-decoration: none; transition: .3s; }
nav a:hover { color: var(--text); text-shadow: 0 0 1px var(--text); }

/* Header logo */
header .header-logo {
  height: 72px;
  width: auto;
  margin-right: 18px;
  object-fit: contain;
}

/* HERO */
.hero {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 700px;
  margin-top: 110px;
  background: url("../img/events/juz1.webp") center/cover no-repeat;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 30%;
}

.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.9));
}

.hero-content { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; }
.hero h2 { font-size: 3.6rem; padding: 1.4rem 2.6rem; border-radius: 16px; background: rgba(0,0,0,.55); text-align: center; }

.hero.hide { opacity: 0; transform: translateY(-140px); pointer-events: none; transition: opacity .6s, transform .6s; }

/* MAIN */
main { position: relative; z-index: 1001; margin-top: 810px; background: var(--bg); }
section { padding: 90px 20%; }
section h3 {text-align: center;}
.alt { background: var(--panel); }

/* ÜBERSCHRIFTEN OPTIMIERT */
#intro h3, #events h3, #map h3, .list h3 { 
  font-size: 3rem; 
  margin-bottom: 30px; 
  font-weight: 800;
}
#events h3 { text-align: center; }

#intro p { font-size: 1.45rem; color: var(--muted); line-height: 1.9; max-width: 960px; }

/* BILDERGALERIE */
#pictures { padding: 20px 15%}
.picture-grid-odd, .picture-grid-even {
  display: flex;
  justify-content: space-evenly;

  margin: 5% 0;
}

.picture-grid-even img, .picture-grid-odd img {
  width: 200px;
  height: 200px;
  border-radius: 90%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(2,6,12,0.6);
}

/* EVENTS */
#events { padding: 90px 30%; }
.events-row { display: flex; align-items: center; justify-content: center; gap: 32px; }
.event-arrow {
  width: 72px; height: 72px; border-radius: 50%; aspect-ratio: 1/1;
  background: rgba(255,255,255,.08); border: none;
  color: white; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.event-arrow:hover { background: rgba(255,255,255,.16); }

.event-viewport { overflow: hidden; flex-grow: 1; }
.event-wrapper { display: flex; gap: 30px; margin: 20px 0; transition: transform .65s cubic-bezier(.22,.9,.3,1); }
.event {
  min-width: calc(50% - 15px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-radius: 20px; padding: 16px; box-shadow: 0 8px 24px rgba(2,6,12,0.6);
}
.event img { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }

/* DRINKS */
#drinks { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.list { background: var(--panel); padding: 35px; border-radius: 20px; }
.list td { padding: 12px 0; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mix { background: var(--panel-soft); padding: 22px; border-radius: 18px; margin-bottom: 20px; font-size: 1.15rem; }

/* MAP & REVIEWS OPTIMIERT */
.map-wrap { background: var(--panel); padding: 22px; border-radius: 20px; margin-bottom: 50px; }
iframe { width: 100%; aspect-ratio: 21 / 9; border-radius: 14px; border: 0; }

.review-wrap { 
  border-top: 2px solid rgba(255,255,255,.15); 
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px; /* Gleicher Abstand zwischen den Review-Containern */
}
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.review { background: rgba(255,255,255,.06); padding: 20px; border-radius: 16px; border-left: 4px solid var(--accent); }
.review-seperator { display: none; } /* Entfernt den ungleichmäßigen Abstand */
.stars { color: var(--accent); margin-bottom: 6px; }

/* FOOTER */
footer { padding: 30px 10%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); }
footer .main { display: flex; justify-content: space-between; align-items: center; width: 90%; gap: 20%;}
footer .right { display: flex; align-items: center; gap: 40px;}
footer .right > * {padding: 10px }
footer a { color: var(--muted); text-decoration: none; transition: .3s; }
footer a:hover { color: var(--text); }

/* ANIMATIONEN */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

footer .footerpic {
  width: 150px;
  height: auto;
  margin: -187px -88px 0 0 ;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
  
  animation: spin 40s linear infinite;
  will-change: transform;
}


@media (max-width: 900px) {
section { padding: 70px 8%; }
header { padding: 0 8%; }

.hero h2 { font-size: 2.8rem; padding: 1.2rem 2rem; }

#intro h3, #events h3, #map h3, .list h3 { font-size: 2.3rem; }
#intro p { font-size: 1.2rem; }

#drinks { grid-template-columns: 1fr; gap: 32px; }
iframe { aspect-ratio: 16 / 9; }
.event { min-width: calc(50% - 15px); }
}





@media (max-width: 600px) {
header { 
  height: 110px; 
  flex-direction: column; 
  justify-content: center; 
  gap: 10px; 
  padding: 0 5%; 
}
header strong { font-size: 1.3rem; word-spacing: 0.3rem; }
nav a { margin-left: 12px; font-size: 0.95rem; }

.hero { height: 400px;}
.hero-content { padding: 0 20px; margin-left: -20px;}
.hero h2 { 
  font-size: 1.8rem; 
  padding: 1rem; 
  width: 100%; 
  max-width: 340px; 
  margin: 0 auto; 
}

main { margin-top: 510px; }
section { padding: 50px 5%; }

#intro h3, #events h3, #map h3, .list h3 { font-size: 2rem; }
#intro p { font-size: 1.1rem; }

/* Bildergalerie untereinadner, links und rechts verschoben */
.picture-grid-odd, .picture-grid-even {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.picture-grid-odd img, .picture-grid-even img {
  width: 200px;
  height: 200px;
  object-fit: cover; 
  border-radius: 90%;
  box-shadow: 0 8px 24px rgba(2,6,12,0.6);
}

.picture-grid-odd img:nth-child(odd), .picture-grid-even img:nth-child(even) {
  margin: 20px 150px 20px 0;
} 

.picture-grid-odd img:nth-child(even), .picture-grid-even img:nth-child(odd) {
  margin-left: 150px;
}

/* EVENTS - MOBILE PFEILE UNTEN */
#events { padding: 90px 10%; }
.events-row {
  display: grid;
  grid-template-areas: 
    "viewport viewport"
    "prev next";
  justify-items: center;
  gap: 25px;
}

.event-viewport { grid-area: viewport; width: 100%; }
.event { min-width: 100%; }

#prev { grid-area: prev; justify-self: end; width: 65px; height: 65px; }
#next { grid-area: next; justify-self: start; width: 65px; height: 65px; }

/* GETRÄNKE - ENTZERRTE DARSTELLUNG */
#drinks {
  grid-template-columns: 1fr;
  gap: 30px; /* Mehr Abstand zwischen Liste und Mischungen */
}

.list {
  padding: 25px 20px; /* Mehr Innenabstand für mehr Luft */
}

.list h3 {
  margin-bottom: 25px;
}

.list table {
  width: 100%;
}

.list td {
  padding: 18px 0; 
  font-size: 1.1rem;
}


.list td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  padding-left: 15px;
}

.mix {
  padding: 25px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.mix strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

/* MAP & REVIEWS */
iframe { aspect-ratio: 4 / 3; height: auto; }
.reviews { grid-template-columns: 1fr; }
.review-wrap { gap: 22px; }
.review p span { display: block; margin-top: 10px; text-align: right; font-size: 0.75rem; }

footer {text-align: left; align-items: center; }
footer .main { width: 100%; display: flex; flex-direction: column; gap: 30px;}
footer .right { gap: 30px; justify-content: left; }

footer .footerpic { width: 150px; margin: -40px -150px 0 0;}
}