:root {
  --blau: #A1DDFF;
  --orange: #FFB89F;
  --orange-transparent: rgba(255, 184, 159, 0.2);
  --buttercup: #FFEEA4;
  --schwarz: #190905;
  --weiß: #FFFCFA;
  --fullweiß: #FFFFFF;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--weiß);
  color: var(--schwarz);
}

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem; /* Diese Zeile kannst du ggf. entfernen */
  padding-top: 60px; /* Platz für Navbar schaffen */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero picture.hero-background {
  position: absolute;
  top: 60px; /* Start unter der Navbar */
  left: 0;
  width: 100%;
  height: calc(100% - 80px);
  z-index: -1;
}

.hero picture.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section {
  scroll-margin-top: 100px; /* Höhe deines fixen Headers anpassen */
}

.overlay {
  /*background: rgba(25, 9, 5, 0.4);*/
  padding: 1.5rem;
  text-align: center;
  border-radius: 1rem;
}

.fancy {
  font-family: 'Brittany Signature', cursive;
  font-weight: 300;
  font-size: 2.7rem;
  color: var(--schwarz);
  text-align: center;
}

.hero-title {
  font-family: 'Brittany Signature', cursive;
  font-size: 4rem;
  color: var(--schwarzß);
  text-shadow: 0.5px 0.5px 0.5px rgba(255,255,255.2);
  margin-top: -15;
}

.hero-subtitle {
  color: var(--schwarz);
  font-size: 1.2rem;
}

.countdown-hero {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--schwarz);
}

.time-label {
  font-size: 0.9rem;
  color: var(--schwarz);
  margin-top: 0.2rem;
}

/* Overlay Mobil (max. 1200px) */
@media (max-width: 1200px) {
  .overlay {
    padding: 1rem;          /* kleinerer Kasten */
    max-width: 80%;         /* fast Bildschirmbreite, aber mit Rand */
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: -15;
  }

  .countdown-hero {
    gap: 1rem;
    flex-wrap: wrap;        /* damit Zahlen umbrechen können */
  }

  .time-number {
    font-size: 1.4rem;      /* Countdown kleiner */
  }

  .time-label {
    font-size: 0.75rem;
  }
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--fullweiß);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nav-logo-large {
  height: 80px;
  margin-right: 1rem;
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-center {
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
  font-size: 18px;
  margin-left: -50px;
}

.nav-logo {
  height: 50px;
}

.navbar a {
  text-decoration: none;
  color: var(--schwarz);
  font-weight: bold;
}

/* Burger-Button */
.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--schwarz);
  margin-left: 150px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-center {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--fullweiß);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none;
  }

  .nav-center.show {
    display: flex;
  }

  .burger {
    display: block;
  }

  .nav-left {
    flex: 1;
  }

  .nav-center a {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }
}

.section {
  padding: 1.5rem 0rem;
}

.section.dark {
  background: var(--weiß);
  color: var(--schwarz);
}

.section.light {
  background: var(--weiß);
  color: var(--schwarz);
}

.card-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  border: 1px solid var(--orange-transparent);
  border-radius: 1rem;
  padding: 1rem;
  flex: 1 1 200px;
  max-width: 300px;
  background-color: var(--orange-transparent);
  text-align: center;
}

.card-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.card-name {
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.footer {
  background-color: var(--weiß);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--schwarz);
  border-top: 1px solid #ccc;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--schwarz);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}


input, select, textarea, button {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background-color: var(--orange);
  color: var(--weiß);
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.countdown-timer {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2rem;
  text-align: center;
}

.login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: var(--weiß);
}

.login-container {
  text-align: center;
  border: 2px solid var(--blau);
  padding: 2rem;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: auto;
}

.hero-logo {
  max-width: 100px;
  margin-bottom: 1rem;
}

.highlight {
  margin-bottom: -30;
}

.responsive-img {
  width: 100%;
  max-width: 800px;
  margin-top: 1rem;
  border-radius: 8px;
}

.gallery, .dresscode-gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.gallery img, .dresscode-gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ablauf-list {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.ablauf-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .ablauf-flow picture img {
    display: block;
    margin: 0;
    width: 100vw;
    max-width: none;
  }
}

.section {
  text-align: center;
}

.nav-logo-large {
  cursor: pointer;
  z-index: 9999;
  position: relative;
}

.song-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  max-width: 400px;
  margin: 2rem auto;
}

.song-form input,
.song-form button {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--blau);
  font-family: inherit;
}

.song-form button {
  background-color: var(--orange);
  color: var(--weiß);
  border: 1px solid var(--rosa);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 300px;
}

.song-form button:hover {
  background-color: #e2906f; /* etwas dunklerer Orange-Ton */
  color: var(--weiß);
}

#song-feedback {
  margin-top: 1rem;
  font-style: italic;
  color: var(--blau);
}

.content-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: 'Acumin Pro Wide Thin', sans-serif;
  color: var(--schwarz);
  line-height: 1.6;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--rosa);
}

.songlist-link {
  margin-top: 2rem;
  text-align: center;
}

.button-link {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background-color: var(--orange);
  color: white;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button-link:hover {
  background-color: #e2906f; /* etwas dunklerer Orange-Ton */
}

.timetable {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
}

.trenner {
  width: 100%;
  height: auto;
  display: block;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 252, 250, 0.95); /* fast weiß, leicht transparent */
  color: var(--schwarz);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

.cookie-banner button {
  display: inline-block;
  width: auto;
  padding: 0.3rem 0.8rem;
  background-color: var(--orange);
  border: none;
  color: white;
  border-radius: 0.3rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
}

#passwordInput {
  font-size: 16px;
}

@media (max-width: 768px) {
  /* globaler Seiten-Innenabstand für Lauftext */
  .section {
    padding-inline: 1rem;        /* links + rechts Abstand */
    box-sizing: border-box;
  }

  /* Überschriften sollen weiterhin „vollflächig“ aussehen (nicht durch die padding-inline eingeschoben) */
  .section .fancy,
  .section h1,
  .section h2,
  .section h3 {
    width: calc(100% + 2rem);    /* auf volle Viewport-Breite ziehen */
    margin-left: -1rem;
    margin-right: -1rem;
    box-sizing: border-box;
    text-align: center;          /* optional, falls du zentrierte H2 willst */
  }

  /* Karten/Galerien/Forms (Layouts) wieder auf volle Breite ziehen und intern paddings behalten */
  .card-grid,
  .gallery,
  .dresscode-gallery,
  .song-form {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
    box-sizing: border-box;
    padding-inline: 1rem;       /* damit die inneren Items nicht an den Rändern kleben */
  }
}