/* ===============================
   1. Farb- und Layout-Variablen
   =============================== */
:root {
  --bg-image: url('http://wp1037914.server-he.de/background_weinfest_uckerath.jpg');
  --overlay: rgba(58,44,34,.55);
  --accent: #B25540;   /* Weinrot */
  --accent-2: #D7A86C; /* Gold/Beige */
  --olive: #6B7C4E;    /* Grün */
  --deep: #24323F;     /* Dunkler Hintergrund */
  --text: #F6F1E8;     /* Standardtext */
  --muted: #E9DFD2;    /* Abgeschwächte Texte */
}

/* ===============================
   2. Grundstruktur & Reset
   =============================== */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--deep) no-repeat center center fixed;
  background-image: var(--bg-image);
  background-size: cover;
}

/* ===============================
   3. Hero-Bereich
   =============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(20,16,12,.68),
    var(--overlay) 60%,
    rgba(12,15,20,.82)
  );
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .10;
  mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(0,0,0,.15) 1px, transparent 1px);
  background-size: 3px 3px;
}

.wrap { padding: clamp(1rem,2vw,2rem); }

/* ===============================
   4. Typografie
   =============================== */
.badge {
  display: inline-block;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: .75rem;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .4rem .7rem;
  background: rgba(0,0,0,.25);
}

/* Haupttitel */
h1 {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem); /* kleiner für Zusatztext */
  line-height: 1.3;
  margin: .5rem 0 .25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  color: #f7f3ee;
}

/* Weinfest im Script-Stil */
h1 .weinfest {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(3rem, 20vw, 15rem); /* Handy: 3rem, PC: sehr groß, max. 7rem */
  color: var(--accent);

}



/* Untertitel & Fließtext */
.subtitle,
p,
.note {
  font-family: "Inter", sans-serif;     /* weg vom bürokratischen Serif */
  font-size: 1.2rem;                   /* leicht größer für Lesbarkeit */
  line-height: 1.7;                     /* luftiger, ruhiger Rhythmus */
  color: var(--muted);
  max-width: 50rem;
  margin: 0 auto 1rem;
}

/* Untertitel weicher und wärmer */
.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: #fdfbf7;                       /* wärmeres Weiß */
  opacity: .95;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  line-height: 1.6;
}

/* Zusatzinfo */
.soon {
  margin-top: 1.1rem;
  font-size: .95rem;
  color: #fff9;
  font-style: italic;                   /* dezenter, softer Hinweis */
}

/* Highlight für Uckerath */
.highlight-location {
  font-family: "Caveat", cursive; 
  font-size: 1.4em;                     /* etwas größer als Umgebung */
  font-weight: 900;
  color: var(--accent);              /* Gold-Akzent */
  letter-spacing: 0.5px;
  
}



/* ===============================
   5. Meta-Infos & Buttons
   =============================== */
.meta {
  margin: 1rem auto 1.25rem;
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: .5rem .9rem;
  backdrop-filter: blur(2px);
  background: rgba(0,0,0,.25);
}

.cta {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.25rem 0 2rem;
}

.btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: .9rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #7A3A30);
  color: #fff;
  box-shadow: 0 8px 20px rgba(178,85,64,.25);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.35);
}

.btn.olive {
  background: linear-gradient(135deg, var(--olive), #425233);
  color: #fff;
}

.btn:hover { transform: translateY(-1px); }

/* ===============================
   6. Panels & Animationen
   =============================== */
/* Panels: Basis-Einstellungen */
.panel {
  max-width: 95%;       /* relative Breite für kleine Geräte */
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(to bottom, rgba(24,21,18,.55), rgba(24,21,18,.45));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

/* Handy: etwas schmaler + kompakter */
@media (max-width: 720px) {
  .panel {
    max-width: 92%; /* weniger Randverlust */
    padding: 1rem;
    border-radius: 14px;
    background: linear-gradient(to bottom, rgba(24,21,18,.68), rgba(24,21,18,.55));
  }
}

/* Tablet: moderat */
@media (min-width: 721px) and (max-width: 1023px) {
  .panel {
    max-width: 65rem; /* ca. 1040px */
  }
}

/* PC / große Bildschirme */
@media (min-width: 1024px) {
  .panel {
    max-width: 75rem; /* vorher 62rem → ca. 20% breiter */
  }
}

/* Sehr große Monitore */
@media (min-width: 1600px) {
  .panel {
    max-width: 85rem; /* schön breit auf 2K / 4K */
  }
}


.fade-in { opacity: 0; transform: translateY(6px); animation: fade .8s ease-out forwards; }
.fade-in:nth-child(2){ animation-delay: .08s; }
.fade-in:nth-child(3){ animation-delay: .16s; }
.fade-in:nth-child(4){ animation-delay: .24s; }
@keyframes fade { to { opacity: 1; transform: none; } }

/* ===============================
   7. Hintergrundvideo
   =============================== */
.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  background: #000;
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20,16,12,.1), rgba(20,16,12,.1) 60%, rgba(20,16,12,.3));
}

/* ===============================
   8. Social Icons
   =============================== */
.insta-icon {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}
.insta-icon:hover {
  color: var(--accent-2);
  transform: scale(1.15);
}

/* ===============================
   9. Footer
   =============================== */
footer {
  position: relative;
  margin-top: 6vh;
  padding: 2rem 1rem;
  color: #e7e0d7;
}
.footer-box {
  max-width: 58rem;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.25rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer small {
  font-family: Inter, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-box a {
  color: var(--accent-2);
  text-decoration: none;
}
.footer-box a:hover {
  color: var(--accent);
}

/* /* ===============================
   10. Partner / Unterstützer
   =============================== */
.supporters {
  margin: 2.5rem auto 1.5rem;
  padding: 1.2rem;
}
.supporters-head { text-align: left; margin-bottom: .6rem; }
.supporters h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  color: var(--text);
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.supporter-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: center;
}

/* Karten – gleiche Höhe, sauber verteilt */
.supporter-logos li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* verteilt Name, Logo, Insta */
  height: 180px;                  /* fix für Gleichheit */
  padding: 0.8rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Name oben */
.supporter-name {
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

/* Logo mittig */
.supporter-logos img {
  max-width: 120px;
  max-height: 70px;
  flex-grow: 1;          /* füllt den Mittelteil */
  object-fit: contain;
  margin: auto 0;
  transition: transform 0.2s ease;
}
.supporter-logos img:hover { transform: scale(1.05); }

/* Insta-Icon unten */
.insta-btn {
  margin-top: 0.5rem;
  margin-bottom: 0;      /* bündig nach unten */
  color: #C13584;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.insta-btn:hover { color: #e95950; }
.insta-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Text-only Block – gleiche Höhe wie die anderen */
.supporter-logos li.text-only {
  height: 180px;         /* gleiche Höhe */
  background: #fff;
  border-radius: 8px;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.supporter-text {
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}


/* ===============================
   11. Event-Planning Block
   =============================== */
.planning-wrap {
  margin: 2rem auto 0;
  max-width: 420px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(135deg, rgba(178,85,64,.18), rgba(0,0,0,.28));
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  text-align: center;
}
.planning-title {
  font-family: Inter, sans-serif;
  font-size: 1.35rem;
  color: var(--accent-2);
  margin: 0 0 .8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.planning-team {
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.planning-team .chip {
  font-size: .95rem;
  padding: .45rem .9rem;
  color: var(--accent-2);
  text-decoration: none;
}
.planning-team .chip:hover {
  color: var(--accent);
}

/* ===============================
   12. Rechtliches Modal
   =============================== */
.legal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12,10,8,.55);
  backdrop-filter: blur(2px);
  padding: 2rem;
  z-index: 9999;
}
.legal-modal[aria-hidden="false"] { display: flex; }

.legal-dialog {
  width: min(900px, 100%);
  max-height: 84vh;
  overflow: auto;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(to bottom, rgba(24,21,18,.9), rgba(24,21,18,.85));
  color: var(--muted);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
