/* === Grundstruktur === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background-color: #121212;
  color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
input, textarea {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
}

/* === Navigation === */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(18,18,18,0.9);
  z-index: 999;
}

.top-bar .logo {
  color: #39aa41;
  font-family: 'Inter', sans-serif; /* Schriftart für das Logo */
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: lowercase;
}

.top-bar nav {
  display: flex;
  gap: 1rem;
}

.top-bar nav a {
  text-decoration: none;
  color: #fff;
  font-family: 'Inter', sans-serif; /* Schriftart für Navigation */
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
}

@media (max-width: 768px) {
  .top-bar nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #121212;
    flex-direction: column;
    padding: 1rem;
  }
  .top-bar nav.show {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}

/* === Hero === */
header {
  background: url('../images/hero.jpg') center/cover no-repeat;
  height: 80vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

header * {
  position: relative;
  z-index: 1;
}

.socials {
  margin-bottom: 1rem;
}

.socials a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
}

.band-name {
  font-family: 'Inter', sans-serif; /* Schriftart für den Bandnamen */
  font-size: 3rem;
  font-weight: 700;
  color: #39aa41;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}

/* === Sektionen === */
.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #39aa41;
  font-family: 'Inter', sans-serif; /* Schriftart für die Überschrift der Sektionen */
}

/* === Termine === */
.gigs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gig {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.gig .date {
  background: #39aa41;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem; /* Kleinere Schriftgröße für das Datum */
}

.gig .info {
  flex-grow: 1;
  margin-left: 1rem;
  font-size: 0.95rem; /* Etwas kleinere Schriftgröße für die Info */
}

.gig .details {
  background: #333;
  padding: 0.4rem 0.8rem;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.event-card {
  background: #1a1a1a;
  border-radius: 12px;
  margin-bottom: 1rem; /* Verringert den Abstand zwischen den Event Cards */
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 transparent;
  transition: box-shadow 0.3s ease;
}

.event-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.event-main {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.event-date {
  text-align: center;
  background: #39aa41;
  color: white;
  padding: 0.5rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem; /* Schriftgröße etwas verringern */
}
.event-date .day {
  font-size: 1.4rem;
}

.event-date .month {
  font-size: 0.9rem;
}

.event-info {
  flex: 1;
}

.event-title {
  font-family: 'Inter', sans-serif; /* Schriftart für die Event-Titel */
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.event-title span {
  font-weight: 400;
  color: #aaa;
}

.event-location {
  font-size: 0.95rem;
  color: #ccc;
  margin-top: 0.2rem;
}

.event-toggle {
  font-size: 0.85rem;
  color: #39aa41;
  margin-top: 0.5rem;
}

.event-details-box {
  display: none;
  padding: 1rem 1.5rem;
  background: #2a2a2a;
  color: #eee;
  border-top: 1px solid #333;
}

.event-card.active .event-details-box {
  display: block;
}

/* === Band Mitglieder === */
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.band-member {
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.band-member.visible {
  opacity: 1;
  transform: translateY(0);
}

.band-member img {
  max-width: 100%;
  height: auto;
  border: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
}

.band-member h3 {
  margin-top: 1rem;
  color: #39aa41;
  font-family: 'Inter', sans-serif; /* Schriftart für Band-Mitglieder */
}

/* === Kontaktbereich === */
#kontakt {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  z-index: 1;
}

#kontakt video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.kontakt-overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 1rem;
  backdrop-filter: blur(6px);
}

.kontakt-overlay h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.kontakt-overlay p {
  color: #cccccc;
  margin-bottom: 2rem;
}

.kontakt-overlay input,
.kontakt-overlay textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 1rem;
}

.kontakt-overlay button {
  background: #39aa41;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.kontakt-overlay button:hover {
  background: #2f8a35;
}

/* === Download Cards === */
#downloads {
  padding: 5rem 2rem;
  background-color: #121212;
  text-align: center;
}

#downloads h2 {
  color: #39aa41;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-family: 'Inter', sans-serif; /* Schriftart für den Titel */
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.download-card {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.download-card:hover {
  transform: translateY(-5px);
}

.download-card h3 {
  color: #39aa41;
  margin-bottom: 1rem;
}

.download-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.download-card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #39aa41;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.download-card a:hover {
  background: #2e8a34;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  background: #1e1e1e;
}

a { color: #39aa41; text-decoration: none; }
a:hover { text-decoration: underline; }

.event-details-box .detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #eee;
}

.event-details-box .detail-row i {
  font-size: 1rem;
  color: #39aa41;
  min-width: 1.2rem;
  margin-top: 0.2rem;
}

.event-details-box a {
  color: #39aa41;
  text-decoration: none;
}

.event-details-box a:hover {
  text-decoration: underline;
}

#vergangene-termine .event-card {
  opacity: 0.7;
}

#vergangene-termine h3 {
  text-align: center;
  font-weight: 500;
}

.past-events-link {
  text-align: center;
  margin-top: 0.1rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
  font-size: 0.9rem;
}

.past-events-link a {
  color: #39aa41;
  text-decoration: none;
  font-weight: 500;
}

.past-events-link a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Weniger Abstand zum unteren Link */
.gigs .event-card:last-child {
  margin-bottom: 0.8rem;
}

/* Kompaktere Sektion bei letzter .section */
.section:last-of-type {
  padding-bottom: 2rem !important;
}

/* Weniger Abstand für Link zu vergangenen Terminen */
.past-events-link {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
  font-size: 0.85rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.logout-button {
  background: #39aa41;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.logout-button:hover {
  background: #2f8a35;
}

/* === Spezifisches Styling für Termin bearbeiten Seite === */
.edit-termin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 8px;
}

.edit-termin-form label {
  font-weight: bold;
  color: #fff;
}

.edit-termin-form input {
  padding: 0.8rem;
  margin: 0.3rem 0;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
  background: #2a2a2a;
  color: white;
}

.edit-termin-form input[type="date"],
.edit-termin-form input[type="time"],
.edit-termin-form input[type="url"] {
  width: 100%;
}

.edit-termin-form button {
  grid-column: span 2;
  padding: 0.6rem;
  background: #39aa41;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.edit-termin-form button:hover {
  background: #2f8a35;
}

/* Spezielle Einstellungen für das Layout und Design der Terminbearbeitung */
h2 {
  color: #39aa41;
  text-align: center;
}

.edit-termin-back-link {
  display: inline-block;
  margin-top: 20px;
  padding: 0.6rem 1rem;
  background-color: #2a2a2a;
  color: #39aa41;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}

.edit-termin-back-link:hover {
  background-color: #39aa41;
  color: white;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* Cookie-Benachrichtigung */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2a2a2a;
  color: #fff;
  padding: 1rem;
  display: none; /* Initially hidden */
  z-index: 9999;
}
/* === Eingabefelder und Textareas === */
input, textarea {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
}

.cookie-message {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-message p {
  font-size: 0.9rem;
  margin-right: 10px;
}

.cookie-message a {
  color: #39aa41;
  text-decoration: none;
}

.cookie-message button {
  background-color: #39aa41;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.cookie-message button:hover {
  background-color: #2f8a35;
}

#selfie-wall {
  padding: 4rem 2rem;
  background-color: #121212;
  color: #fff;
  text-align: center;
}

#selfie-wall h2 {
  color: #39aa41;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.selfie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: auto;
}

.selfie-card {
  width: 150px;           /* Breite der Selfie-Karten (angepasst an das Design) */
  height: 150px;          /* Höhe der Selfie-Karten */
  margin: 10px;           /* Abstand zwischen den Bildern */
  overflow: hidden;       /* Überflüssige Teile des Bildes werden ausgeblendet */
  display: inline-block;  /* Inline-block für die Selbstbilder */
  text-align: center;     /* Zentrieren des Inhalts */
position: relative;      /* Positionierung des roten X relativ zur Selfie-Karte */
}

.selfie-card img {
  width: 100%;            /* Bild soll die gesamte Breite der Selfie-Karte ausfüllen */
  height: 100%;           /* Bild soll die gesamte Höhe der Selfie-Karte ausfüllen */
  object-fit: cover;      /* Bild wird so skaliert, dass es den Container ausfüllt, dabei aber das Verhältnis beibehalten */
  border-radius: 10px;    /* Optional: abgerundete Ecken für das Bild */
}

.selfie-card p {
  color: #ccc;
  margin-top: 1rem;
}

#selfies {
  padding: 4rem 2rem;
  background-color: #121212;
  text-align: center;
}

.selfies-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.selfie-card {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.selfie-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.selfie-card p {
  color: #fff;
  margin-top: 1rem;
}

/* === Selfie Upload Bereich === */
#selfie-upload-container {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

#selfie-upload-container h2 {
  text-align: center;
  color: #39aa41;
  margin-bottom: 1.5rem;
}

#selfie-upload-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#selfie-upload-container input[type="file"],
#selfie-upload-container button,
#selfie-upload-container .submit-btn {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  background-color: #39aa41;
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

#selfie-upload-container input[type="file"] {
  background-color: #2a2a2a;
}

#selfie-upload-container button:hover,
#selfie-upload-container .submit-btn:hover {
  background-color: #2f8a35;
}

#selfie-upload-container .dsgvo {
  margin-top: 1rem;
  text-align: center;
}

#selfie-upload-container .dsgvo a {
  color: #39aa41;
}

#selfie-feedback {
  margin-top: 15px;
  color: green;
  font-weight: bold;
}
/* === Selfie Anzeige === */
.selfies-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.selfie-card {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  position: relative;
  text-align: center;
}

.selfie-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.selfie-card p {
  color: #fff;
  margin-top: 1rem;
}

/* Verstecke das native Datei-Input */
#fileInput {
  display: none;
}

/* Stil für das Label (Datei-Auswahl Button) */
.file-upload-label {
  background-color: #39aa41;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px; /* Abstände zwischen den Elementen */
}

.file-upload-label i {
  margin-right: 10px; /* Abstand zwischen dem Icon und dem Text */
}

.file-upload-label:hover {
  background-color: #2f8a35;
}

/* Stil für den "Selfie Hochladen" Button */
.submit-btn {
  background-color: #39aa41;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn i {
  margin-right: 10px; /* Abstand zwischen dem Icon und dem Text */
}

.submit-btn:hover {
  background-color: #358f33;
}

.submit-btn:focus {
  outline: none;
}


.delete-btn {
  position: absolute;      /* Positioniere das X über dem Bild */
  top: 5px;                /* Abstand vom oberen Rand */
  left: 5px;               /* Abstand vom linken Rand */
  background-color: rgba(255, 0, 0, 0.6); /* Hintergrundfarbe für das X */
  color: white;            /* Weißes X */
  border: none;            /* Kein Rand */
  font-size: 1.2rem;       /* Schriftgröße für das X */
  padding: 5px;            /* Etwas Abstand um das X */
  border-radius: 50%;      /* Macht das X rund */
  cursor: pointer;        /* Zeigt Handcursor an */
  z-index: 10;             /* Stellt sicher, dass das X über dem Bild liegt */
}

.delete-btn:hover {
  background-color: rgba(255, 0, 0, 0.8); /* Hellerer Hintergrund bei Hover */
}

#dsgvo-agreement {
  background: #1a1a1a;
  padding: 1rem;
  margin: 2rem auto;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
}

#dsgvo-agreement label {
  font-size: 1rem;
  color: white;
}

#dsgvo-agreement a {
  color: #39aa41;
}

#dsgvo-agreement .submit-btn {
  background-color: #39aa41;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
}

#dsgvo-agreement .submit-btn:hover {
  background-color: #2f8a35;
}

/* === Weitere allgemeine Stile === */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  background: #1e1e1e;
}

a { color: #39aa41; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Media Queries für kleinere Bildschirmgrößen === */
@media (max-width: 768px) {
  #selfie-upload {
    max-width: 90%;
  }

  .selfies-container {
    flex-direction: column;
    align-items: center;
  }

  .selfie-card {
    width: 100%;
    height: 200px;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .selfie-card {
    width: 100%;
    height: 200px;
    max-width: 300px;
  }

  #selfie-upload form {
    gap: 0.5rem;
  }
}

#formFeedback {
  margin-top: 1rem;
  font-weight: bold;
}

.success {
  color: #39aa41;
  background-color: #e9f7db;
  padding: 10px;
  border-radius: 5px;
}

.error {
  color: #e74c3c;
  background-color: #f9d6d5;
  padding: 10px;
  border-radius: 5px;
}

@media (min-width: 768px) {
  #selfie-upload-container {
    display: none;
  }
}

/*Verstecke Selfie-Bereich für größere Bildschirme
@media (min-width: 768px) {
  #selfie-upload-container {
    display: none;
  }
}

@media (min-width: 768px) {
  #selfie-upload-container {
    visibility: hidden; /* oder opacity: 0; */
  }
}

@media (min-width: 768px) {
  #selfie-upload-container {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
}


@media (min-width: 768px) {
  #selfie-upload-container {
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
  }
}
*/

.year-divider {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #39aa41;
  border-top: 2px solid #39aa41;
  padding-top: 10px;
}
