/*
  style.css – Aussehen von SG EVENTWERK.
  Dunkles Design (Lila) mit Peach/Orange-Akzent und Partybild im Hero.
*/

/* --- 1. Farben zentral --- */
:root {
  --bg:            #160c29;  /* sehr dunkles Lila – Hintergrund */
  --bg-alt:        #211338;  /* etwas heller – abgesetzte Bereiche */
  --flaeche:       #2a1947;  /* Karten/Flächen */
  --rand:          #3d2a63;  /* Rahmen */
  --text:          #f3eefc;  /* heller Haupttext */
  --text-leise:    #c6b6e4;  /* gedämpfter heller Text */
  --akzent:        #ff8450;  /* Peach / Orange */
  --akzent-hover:  #ff6b31;
  --breite-max:    1100px;
}

/* --- 2. Reset & Grundlagen --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; } /* sanftes Scrollen zu den Abschnitten */

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: var(--breite-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- 3. Kopfbereich / Navigation --- */
.site-header {
  background: rgba(22, 12, 41, 0.80);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rand);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: padding 0.25s ease, background 0.25s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-svg {
  height: 38px;
  width: auto;
  display: block;
}
/* Kopfzeile wird beim Scrollen etwas kompakter/dunkler: */
.site-header.scrolled { background: rgba(18, 10, 34, 0.95); }
.site-header.scrolled .header-inner { padding-top: 0.6rem; padding-bottom: 0.6rem; }

.main-nav a {
  color: var(--text-leise);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--akzent); }
.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--text); font-size: 1.5rem; cursor: pointer;
}

/* --- 4. Hero mit Partybild --- */
.hero {
  position: relative;
  /* dunkler Verlauf ÜBER dem Foto, damit der Text lesbar bleibt: */
  background:
    linear-gradient(180deg, rgba(22,12,41,0.72) 0%, rgba(22,12,41,0.78) 55%, var(--bg) 100%),
    url("../bilder/party-hero.jpg") center / cover no-repeat;
  color: var(--text);
  padding: 8rem 0;
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; }
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--akzent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 2.9rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-text {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: #eadff7;
}

/* --- 5. Knopf --- */
.button {
  display: inline-block;
  background: var(--akzent);
  color: #1a0f2e;
  padding: 0.9rem 1.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 132, 80, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.button:hover { background: var(--akzent-hover); transform: translateY(-2px); }

/* --- 6. Abschnitte --- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 2rem; color: #fff; margin-bottom: 1rem; }
.intro { color: var(--text-leise); max-width: 700px; }

/* --- 7. "Wer wir sind": zwei Personen-Kästchen --- */
.personen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}
.person {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.person:hover { transform: translateY(-5px); border-color: var(--akzent); }
/* Foto-Rahmen: freigestellte Person auf sanftem Verlauf, unten abgerundet */
.person-rahmen {
  width: 210px;
  aspect-ratio: 5 / 6;
  margin: 0 auto 1rem;
  border-radius: 18px 18px 95px 95px; /* oben leicht, unten stark abgerundet */
  overflow: hidden;
  background: linear-gradient(160deg, #3a2366 0%, #241038 100%);
  border: 1px solid var(--rand);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.person-cut2 {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* ganzes Bild sichtbar – nichts wird abgeschnitten */
  object-position: bottom center;
  display: block;
}
.person-name { color: #fff; font-size: 1.25rem; margin-bottom: 0.2rem; }
.person-rolle { color: var(--akzent); font-weight: 600; margin-bottom: 0.6rem; }
.person-text { color: var(--text-leise); margin: 0; }
/* Zusatztext, der beim Drüberfahren (Hover) aufklappt */
.person-mehr {
  color: var(--text-leise);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}
.person:hover .person-mehr,
.person:focus-within .person-mehr {
  max-height: 260px;
  opacity: 1;
  margin-top: 0.6rem;
}
/* Auf Touch-Geräten (kein Hover) immer anzeigen: */
@media (hover: none) {
  .person-mehr { max-height: 260px; opacity: 1; margin-top: 0.6rem; }
}

/* --- 8. Leistungs-Karten --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--akzent); }
.card h3 { margin-bottom: 0.5rem; color: var(--akzent); }
.card p { color: var(--text-leise); }

/* --- Kontakt --- */
.kontakt-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.kontakt-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.kontakt-item:hover {
  transform: translateY(-4px);
  border-color: var(--akzent);
}
.kontakt-label {
  color: var(--akzent);
  font-weight: 700;
  font-size: 0.9rem;
}
.kontakt-wert {
  color: var(--text);
  font-size: 1.05rem;
  word-break: break-word;
}
.kontakt-ort {
  color: var(--text-leise);
  margin-top: 1.25rem;
}

/* --- 9. Galerie / Eindrücke --- */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.foto-platzhalter {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px dashed var(--rand);
  background: linear-gradient(135deg, #241440, #2e1a52);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-leise);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* --- 10. Fußbereich --- */
.site-footer {
  background: #120a22;
  color: var(--text-leise);
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rand);
}
.footer-slogan {
  color: var(--akzent);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* --- Text-Logo (z. B. auf der Event-Seite) --- */
.logo-sg { color: var(--akzent); font-weight: 900; font-size: 1.25rem; }
.logo-ew { color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: 2px; margin-left: 6px; }

/* --- Event-Teaser auf der Startseite --- */
.event-teaser {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  text-decoration: none;
  background: radial-gradient(circle at 12% 20%, rgba(255, 107, 49, 0.28), transparent 60%), var(--flaeche);
  border: 1px solid var(--rand);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.event-teaser:hover { transform: translateY(-4px); border-color: var(--akzent); }
.event-emoji { font-size: 2.6rem; line-height: 1; }
.event-info { display: flex; flex-direction: column; gap: 0.3rem; }
.event-titel { font-size: 1.4rem; font-weight: 800; color: #fff; }
.event-sub { color: var(--text-leise); }
.event-cta { color: var(--akzent); font-weight: 700; margin-top: 0.25rem; }

/* Event mit Plakat (klickbar) */
.event-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}
.event-plakat {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rand);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.event-plakat:hover { transform: translateY(-5px); border-color: var(--akzent); }
.event-plakat img { display: block; width: 100%; height: auto; }
.event-info2 h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.5rem; }
.event-info2 p { color: var(--text-leise); margin-bottom: 0.9rem; }
.event-meta { color: var(--text) !important; font-weight: 600; }
@media (max-width: 768px) {
  .event-layout { grid-template-columns: 1fr; }
  .event-plakat { max-width: 340px; margin: 0 auto; }
}

/* --- Event-Seite "Glühmeister" --- */
.event-hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 107, 49, 0.40), transparent 46%),
    radial-gradient(circle at 85% 18%, rgba(123, 47, 247, 0.40), transparent 46%),
    var(--bg);
}
.button-sm { padding: 0.55rem 1.15rem; font-size: 0.95rem; box-shadow: none; }

/* Sekundärer Button (Umriss) */
.button-sek {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rand);
  box-shadow: none;
  margin-left: 0.6rem;
}
.button-sek:hover { background: transparent; border-color: var(--akzent); }

/* Aufklappbare Event-Beschreibung */
.konzept-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.55s ease, opacity 0.45s ease, padding 0.4s ease;
}
.konzept-panel.offen {
  max-height: 1800px;
  opacity: 1;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.konzept-intro { color: var(--text-leise); max-width: 720px; }
.schritt-nr { color: var(--akzent); font-weight: 800; }
.app-hinweis {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  color: var(--text-leise);
  font-weight: 600;
}

.stempelkarte { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.stempel {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px dashed var(--rand);
  background: var(--flaeche);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; cursor: pointer; user-select: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.stempel.voll {
  background: radial-gradient(circle at 35% 30%, #ffa770, #ff6b31);
  border-color: transparent; border-style: solid;
}
.stempel:hover { transform: scale(1.06); }
.score { margin-top: 1.25rem; font-size: 1.3rem; font-weight: 800; color: var(--akzent); }
.score.gewonnen { color: #fff; }

.ticket-box {
  max-width: 460px;
  margin-top: 1.5rem;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.ticket-preis { font-size: 2.6rem; font-weight: 900; color: #fff; }
.ticket-preis small { font-size: 1rem; color: var(--text-leise); font-weight: 600; }
.ticket-liste { list-style: none; margin: 1.25rem 0; padding: 0; display: inline-block; text-align: left; }
.ticket-liste li { color: var(--text-leise); margin: 0.4rem 0; }
.ticket-liste li::before { content: "✓ "; color: var(--akzent); font-weight: 800; }
.ticket-termin { color: var(--text-leise); margin-top: 1rem; }

/* --- Rechtsseiten (Impressum / Datenschutz) --- */
.rechtstext { max-width: 760px; }
.rechtstext h3 { color: #fff; margin: 1.75rem 0 0.5rem; font-size: 1.15rem; }
.rechtstext p, .rechtstext li { color: var(--text-leise); }
.rechtstext ul { margin: 0.5rem 0 0.5rem 1.2rem; }
.rechtstext a { color: var(--akzent); }
.hinweis-box {
  background: rgba(255, 132, 80, 0.12);
  border: 1px solid var(--akzent);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 760px;
}
.footer-links { margin-top: 0.6rem; }
.footer-links a { color: var(--text-leise); text-decoration: none; margin: 0 0.4rem; }
.footer-links a:hover { color: var(--akzent); }

/* --- 11. Einblend-Animation beim Scrollen --- */
/* Nur wenn JavaScript aktiv ist (Klasse "js" am <html>), verstecken wir
   die Abschnitte zunächst – so bleibt ohne JS alles sichtbar. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 12. Responsive (Handy) --- */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { margin: 0.5rem 0; }
  .header-inner { flex-wrap: wrap; }
  .hero { padding: 6rem 0; }
  .hero h1 { font-size: 2rem; }
  .cards { grid-template-columns: 1fr; }
  .personen { grid-template-columns: 1fr; }
}
