/* ============================================
   Riesling Sommer Lounge — Stylesheet
   Farben & Typografie angelehnt an Logo, Flyer
   und Programmheft der Riesling Sommer Lounge.
   ============================================ */

:root {
  --petrol-900: #2f434c;
  --petrol-800: #37505b;
  --petrol-700: #46697a;
  --petrol-600: #55798a;
  --petrol-500: #6b8d9c;
  --petrol-tint: #eef3f4;

  --lime-500: #c6d15c;
  --lime-600: #b7c34a;
  --lime-700: #9aa93a;
  --lime-glow: rgba(198, 209, 92, 0.35);

  --cream: #faf8f1;
  --white: #ffffff;
  --ink: #23343b;

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Quicksand", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 18px;
  --shadow-soft: 0 20px 50px -20px rgba(28, 44, 51, 0.35);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--lime-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--lime-600);
  display: inline-block;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 72px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--petrol-900);
  margin-top: 14px;
  line-height: 1.15;
}
.section-head p {
  margin-top: 16px;
  color: var(--petrol-700);
  font-size: 1.08rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
}
.btn--lime {
  background: var(--lime-500);
  color: var(--petrol-900);
  box-shadow: 0 12px 30px -10px var(--lime-glow);
}
.btn--lime:hover { transform: translateY(-2px); background: var(--lime-600); }
.btn--outline {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--petrol {
  background: var(--petrol-800);
  color: var(--white);
}
.btn--petrol:hover { background: var(--petrol-900); transform: translateY(-2px); }

/* ---------- Wave divider ---------- */
.wave {
  display: block;
  width: 100%;
  line-height: 0;
}
.wave svg { width: 100%; height: auto; display: block; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  background: rgba(47, 67, 76, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.4);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.05;
}
.brand-mark span { display: block; }
.brand-mark .mid { color: var(--lime-500); }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime-500);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}
.nav-cta-mobile { display: none; }

@media (max-width: 899px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--petrol-900);
    padding: 24px 28px 30px;
    gap: 18px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,0.5);
  }
  .nav-cta-mobile { display: flex; margin-top: 8px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.2s ease, transform 8s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28,40,46,0.35) 0%, rgba(28,40,46,0.25) 35%, rgba(30,44,50,0.88) 100%),
    linear-gradient(100deg, rgba(47,67,76,0.55), rgba(47,67,76,0.05) 55%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 120px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 26px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 4px var(--lime-glow);
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}
.hero h1 .line { display: block; }
.hero h1 .line--accent { color: var(--lime-500); }
.hero-sub {
  margin-top: 26px;
  max-width: 540px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
}
.hero-meta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-meta-item .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-meta-item .icon svg { width: 20px; height: 20px; stroke: var(--lime-500); }
.hero-meta-item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}
.hero-meta-item .value {
  font-weight: 700;
  font-size: 1.02rem;
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll .stick {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), transparent);
  animation: scrollpulse 2s infinite;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.4; }
}

/* ---------- Intro / Willkommen ---------- */
.intro {
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}
.intro-copy p {
  color: var(--petrol-700);
  font-size: 1.08rem;
}
.intro-copy p + p { margin-top: 16px; }
.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 14px 34px -22px rgba(47,67,76,0.35);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--petrol-900);
}
.stat .lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime-700);
  font-weight: 700;
  margin-top: 4px;
}
.intro-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: var(--lime-500);
  color: var(--petrol-900);
  padding: 14px 20px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4);
}
.intro-media-badge small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

/* ---------- Programm ---------- */
.programm {
  background: var(--petrol-900);
  color: var(--white);
  position: relative;
}
.programm .section-head h2 { color: var(--white); }
.programm .section-head p { color: rgba(255,255,255,0.75); }
.programm .eyebrow { color: var(--lime-500); }

.day-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.day-tab {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.day-tab .d { display:block; font-size: 0.68rem; font-weight: 600; opacity: 0.7; letter-spacing: 0.08em; text-transform: uppercase;}
.day-tab.is-active {
  background: var(--lime-500);
  color: var(--petrol-900);
  border-color: var(--lime-500);
}

.day-panel { display: none; }
.day-panel.is-active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline {
  border-left: 2px solid rgba(255,255,255,0.15);
  margin-left: 8px;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 5px rgba(198,209,92,0.18);
}
.timeline-time {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--lime-500);
}
.timeline-title {
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: 4px;
}
.timeline-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  margin-top: 4px;
}
.timeline-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--lime-500);
}
.programm-note {
  margin-top: 44px;
  padding: 22px 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.programm-note svg { flex-shrink: 0; width: 22px; height: 22px; stroke: var(--lime-500); margin-top: 2px; }

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.gallery-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: block;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47,67,76,0) 55%, rgba(30,44,50,0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-grid a:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .g-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 28, 32, 0.94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--lime-500); color: var(--petrol-900); }

/* ---------- Weingüter & Gastronomen ---------- */
.exhibitors { background: var(--petrol-tint); }
.exhibitor-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
@media (max-width: 760px) { .exhibitor-groups { grid-template-columns: 1fr; } }
.exhibitor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: 0 16px 40px -26px rgba(47,67,76,0.4);
}
.exhibitor-card h3 {
  color: var(--petrol-900);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.exhibitor-card h3 .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--lime-500);
  display: flex; align-items: center; justify-content: center;
}
.exhibitor-card h3 .ic svg { width: 19px; height: 19px; stroke: var(--petrol-900); }
.exhibitor-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.exhibitor-list li {
  background: var(--petrol-tint);
  color: var(--petrol-800);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(70,105,122,0.15);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.exhibitor-list li:has(a) { padding: 0; }
.exhibitor-list li a {
  display: block;
  padding: 9px 16px;
  color: inherit;
  font-weight: 600;
}
.exhibitor-list li:has(a):hover {
  background: var(--lime-500);
  border-color: var(--lime-500);
  transform: translateY(-2px);
}
.exhibitor-list li:has(a):hover a { color: var(--petrol-900); }

/* ---------- Location ---------- */
.location {
  background: var(--white);
}
.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: stretch;
}
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } }
.location-info {
  background: var(--petrol-900);
  color: var(--white);
  border-radius: 24px;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-info .eyebrow { color: var(--lime-500); }
.location-info h2 { color: var(--white); margin-top: 14px; font-size: 2.1rem; }
.location-info p { color: rgba(255,255,255,0.78); margin-top: 14px; }
.location-facts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.location-fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.location-fact .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-fact .icon svg { width: 19px; height: 19px; stroke: var(--lime-500); }
.location-fact strong { display: block; font-size: 0.98rem; }
.location-fact span { color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.location-map {
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow-soft);
}
.location-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(0.9); }

/* ---------- Team ---------- */
.team { background: var(--petrol-tint); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
.team-media {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.team-copy p { color: var(--petrol-700); font-size: 1.05rem; }
.team-copy p + p { margin-top: 14px; }

/* ---------- Newsletter / CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--petrol-800), var(--petrol-900));
  color: var(--white);
  text-align: center;
  border-radius: 32px;
  margin: 0 28px;
  padding: 72px 34px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(198,209,92,0.25), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(198,209,92,0.18), transparent 45%);
}
.cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.cta p { margin-top: 16px; color: rgba(255,255,255,0.82); }
.cta-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-900);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-mark { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-col h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--lime-500);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--lime-500); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--lime-500); color: var(--petrol-900); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
::selection { background: var(--lime-500); color: var(--petrol-900); }

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .cta { margin: 0 16px; padding: 52px 24px; }

  .hero { align-items: flex-start; }
  .hero-content { padding-top: 150px; padding-bottom: 70px; }
  .hero-scroll { display: none; }
}
