/* ========================================
   TABLE OF CONTENTS
   1.  Root Variables
   2.  Reset & Base
   3.  Layout Helpers
   4.  Typography
   5.  Hero Section
   6.  Buttons
   7.  Navbar
   8.  Section Styling (gemeinsam)
   9.  Sektion: Die Idee
   10. Sektion: Lineup
   11. Sektion: Tickets
   12. Sektion: Kontakt & Newsletter
   13. Sektion: Veranstalter
   14. Sektion: Partner
   15. Sektion: FAQ
   16. Footer
   17. Back to Top
   18. Responsive: ≥ 640px (Tablet)
   19. Responsive: ≥ 900px (Desktop)
   20. Responsive: ≤ 640px (Mobile)
======================================= */


/* ========================================
   1. ROOT VARIABLES
======================================= */
:root {
  --primary: #0089a6;
  --secondary1: #e08125;
  --secondary2: #ffffff;
  --accent: #82b1a1;
  --text-dark: #0b1b22;
  --text-light: #ffffff;
  --max-width: 1100px;
}


/* ========================================
   2. RESET & BASE
======================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--primary);
  line-height: 1.6;
}

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

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


/* ========================================
   3. LAYOUT HELPERS
======================================= */
.page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--primary) 0%, #009fbe 40%, #fdfdfd 100%);
}

.section {
  padding: 3rem 1.5rem;
}

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

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}


/* ========================================
   4. TYPOGRAPHY
======================================= */
h1, h2, h3 {
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  text-transform: uppercase;
  text-align: center;
  color: var(--secondary2);
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--text-dark);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}


/* ========================================
   5. HERO SECTION
======================================= */
.hero {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  color: var(--secondary2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-logo {
  width: 250px;
  height: 150px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.9;
  margin-bottom: 0.3rem;
}

.hero-dates {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-location {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
  margin-top: 1rem;
}

.hero-info-row {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0.9;
}


/* ========================================
   6. BUTTONS
======================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-primary {
  background: var(--secondary1);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  background: #f29532;
}

.btn-ghost {
  background: rgba(0,0,0,0.18);
  color: var(--secondary2);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.32);
}


/* ========================================
   7. NAVBAR
======================================= */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  backdrop-filter: blur(12px);
  background: linear-gradient(
    90deg,
    rgba(0, 137, 166, 0.96),
    rgba(0, 118, 146, 0.96)
  );
  color: var(--secondary2);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.navbar-nav {
  display: none;
  gap: 0.75rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navbar-nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.navbar-nav a:hover {
  background: rgba(255,255,255,0.15);
}

.navbar-toggle {
  border: none;
  background: transparent;
  color: var(--secondary2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar-nav-mobile {
  display: none;
  flex-direction: column;
  padding-top: 0.5rem;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navbar-nav-mobile a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
}

.navbar-nav-mobile a:hover {
  background: rgba(0,0,0,0.28);
}

.navbar-nav-mobile.open {
  display: flex;
}


/* ========================================
   8. SECTION STYLING (gemeinsam)
======================================= */
.section-box {
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  padding: 2rem 1.5rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary1);
  margin-bottom: 0.4rem;
}

.section-intro {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}


/* ========================================
   9. SEKTION: DIE IDEE
======================================= */
#idee .section-box {
  background: linear-gradient(135deg, #ffffff 0%, #fef6ec 100%);
  border: 1px solid rgba(224,129,37,0.18);
}


/* ========================================
   10. SEKTION: LINEUP
======================================= */
#lineup .day-card {
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
}

#lineup .day-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0,137,166,0.1);
  color: var(--primary);
  margin-bottom: 0.4rem;
}

#lineup h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.schedule {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.schedule li {
  padding: 0.35rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.schedule li:last-child {
  border-bottom: none;
}

.schedule-time {
  font-weight: 600;
  min-width: 4.3rem;
  color: var(--primary);
}

.schedule-act {
  flex: 1;
}


/* ========================================
   11. SEKTION: TICKETS
======================================= */
#tickets .section-box {
  text-align: center;
  background: radial-gradient(circle at top left, #ffffff 0, #fefefe 45%, #f4f9f7 100%);
  border: 1px solid rgba(130,177,161,0.4);
}

.tickets-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.7rem;
}


/* ========================================
   12. SEKTION: KONTAKT & NEWSLETTER
======================================= */
.newsletter-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.newsletter-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.newsletter-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: rgba(0,137,166,0.3);
}

.newsletter-links svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.link-main {
  text-align: left;
  font-weight: 600;
  min-width: 0;
}

.link-side {
  margin-left: auto;
  text-align: right;
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 45%;
}

.social-link.whatsapp:hover { border-color: #25D366; }
.social-link.instagram:hover { border-color: #E4405F; }
.social-link.facebook:hover  { border-color: #1877F2; }
.contact-email:hover         { border-color: #82b1a1; }
.contact-phone:hover         { border-color: #e08125; }


/* ========================================
   13. SEKTION: VERANSTALTER
======================================= */
#veranstalter .section-box {
  background: linear-gradient(135deg, #ffffff 0%, #eef8f5 100%);
  border: 1px solid rgba(0,0,0,0.06);
}

#veranstalter .team-highlight {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.veranstalter-image {
  margin-top: 1.5rem;
  border-radius: 18px;
  overflow: hidden;
  /* aspect-ratio: 2574 / 1511;  */ /* MBR */
  aspect-ratio: 2574 / 1800; /* MBR lang */
  background: #e9eef0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.veranstalter-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* ========================================
   14. SEKTION: PARTNER
======================================= */
#partner .partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.partner-logo {
  height: 80px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
}

.partner-logo:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: rgba(0,137,166,0.2);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


/* ========================================
   15. SEKTION: FAQ DROPDOWN
======================================= */
#faq .faq-list {
  margin-top: 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  margin: 0;
  padding: 1rem 1rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(0,137,166,0.05);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease;
  position: relative;
}

.faq-question:hover {
  background: rgba(0,137,166,0.08);
}

.faq-question::after {
  content: "▼";
  font-size: 0.8rem;
  font-weight: 200;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1rem;
  margin: 0;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(-8px);
}

.faq-answer.show {
  max-height: 1200px;
  padding: 0.8rem 1rem 1.2rem;
  opacity: 1;
  transform: translateY(0);
}

.faq-answer ul {
  padding-left: 1.1rem;
  margin: 0.3rem 0;
}

.faq-answer li {
  margin-bottom: 0.2rem;
}

.faq-answer p {
  margin-bottom: 0.6rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-strong {
  font-weight: 600;
}


/* ========================================
   16. FOOTER
======================================= */
footer {
  padding: 2rem 1.5rem 2.5rem;
  background: #02161b;
  color: rgba(255,255,255,0.76);
  font-size: 0.85rem;
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

footer a {
  color: rgba(255,255,255,0.86);
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .footer-meta {
  opacity: 0.7;
}


/* ========================================
   17. BACK TO TOP
======================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--secondary1);
  color: var(--text-dark);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(224,129,37,0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #f29532;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 32px rgba(224,129,37,0.5);
}


/* ========================================
   18. RESPONSIVE: ≥ 640px (Tablet)
======================================= */
@media (min-width: 640px) {
  .hero {
    padding-bottom: 4rem;
  }

  .hero-cta-group {
    flex-direction: row;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 3.5rem 2rem;
  }

  .section-box {
    padding: 2.3rem 2rem;
  }

  #lineup .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #partner .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  footer .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ========================================
   19. RESPONSIVE: ≥ 900px (Desktop)
======================================= */
@media (min-width: 900px) {
  .hero {
    padding-top: 6rem;
    text-align: center;
  }

  .hero-inner {
    padding: 0;
    max-width: 900px;
  }

  .navbar-nav {
    display: flex;
  }

  .navbar-toggle {
    display: none;
  }

  .navbar-nav-mobile {
    display: none !important;
  }

  .partner-logo {
    height: 180px;
  }
}


/* ========================================
   20. RESPONSIVE: ≤ 640px (Mobile)
======================================= */
@media (max-width: 640px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 639px) {
  #partner .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .partner-logo {
    height: 125px;
  }
}
