/* ==========================================
   HOMEPAGE BUNKERBANDITS NEWSLETTER
   ========================================== */
.home-newsletter {
  margin: 3.5rem auto 0rem;
  width: 90%;
  max-width: 800px;
  background: transparent;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.newsletter-line {
  color: #ccc;
  margin: 0 auto 0.4rem;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  max-width: 450px;
  line-height: 1.4;
}

.newsletter-line .brand-orange {
  color: var(--color-brand-orange);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 5px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  width: 100%;
  max-width: 450px;
}

.newsletter-form input {
  padding: 0 15px;
  border-radius: 22px; /* Adjusted to 44/2 */
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  flex: 1;
  font-size: 0.9rem; /* Increased slightly for 44px height */
  height: 44px;
  line-height: normal; /* Ensure consistent text centering */
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-brand-orange);
}

.newsletter-form button {
  padding: 0 25px;
  border-radius: 22px; /* Adjusted to 44/2 */
  border: 1px solid var(--color-brand-orange);
  background: transparent;
  color: var(--color-brand-orange);
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  height: 44px;
  line-height: normal;
  box-sizing: border-box;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--color-brand-orange);
  color: #fff;
}

.newsletter-toggle-wrapper {
  margin-top: 6px;
}

.newsletter-toggle-wrapper a {
  font-size: 0.7rem;
  color: #777;
  text-decoration: none;
  transition: color 0.3s;
}

.newsletter-toggle-wrapper a:hover {
  color: var(--color-brand-orange);
}

.newsletter-unsub-note {
  margin-top: 4px;
  font-size: 0.7rem;
  color: #666;
  font-style: italic;
}

.newsletter-message {
  margin-top: 4px;
  font-size: 0.8rem;
  min-height: 18px;
}

.newsletter-message.success { color: #4caf50; }
.newsletter-message.error { color: #f44336; }

.hidden-field {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  #newsletter-form {
    flex-direction: column;
    gap: 0;
  }
  #newsletter-form input,
  #newsletter-form button {
    height: 46px;
    min-height: 46px;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }
  .newsletter-form input {
    margin-bottom: 10px;
  }
  .home-newsletter {
    padding: 0.8rem;
    margin: 1rem auto 0.5rem;
  }
}
/* ===== Final Optimiert: index.css mit News-Ticker und detaillierten Kommentaren ===== */

/* ============================================= */
/* 📄 WRAPPER DER STARTSEITE */
/* ============================================= */

.page-wrapper.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper.home-page>main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 150px;
  align-items: center;
  min-height: auto;
  width: 100%;
}

.viewport-center {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.viewport-center .content-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.content-container {
  margin-bottom: 0;
}

/* ============================================= */
/* ✨ WILLKOMMENS-TEXTE */
/* ============================================= */

.welcome-text {
  color: var(--color-text-white);
  font-size: 32px;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 0.1em;
}

.band-name {
  font-size: 52px;
  font-weight: 800;
  color: var(--color-brand-orange);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-top: 0;
  margin-bottom: 0.1em;
}

.description {
  font-size: 24px;
  margin: 5px 0;
  line-height: 1.4;
}

.orange-text {
  color: var(--color-brand-orange);
  font-weight: 700;
}

.vertical-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Alles zentral ausrichten */
  margin: 5px auto 0 auto;
  /* Container zentriert, Inhalt linksbündig */
  gap: 0;
  /* Gap is managed by line-height/margins in script */
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
}

.vertical-slogan span:nth-child(1) {
  position: relative;
  left: -2.0em;
  /* "laut..." etwas nach links */
}

.vertical-slogan span:nth-child(2) {
  position: relative;
  left: 0;
  /* "lebendig..." ist genau mittig */
}

.vertical-slogan span:nth-child(3) {
  position: relative;
  left: 2.0em;
  /* "unvergesslich..." etwas nach rechts */
}

/* Englisch: "lively..." ist deutlich kürzer als "lebendig...". Damit die drei Zeilen wie im Deutschen
   als gleichmäßige Diagonale (Sonnenstrahlen) versetzt stehen, rückt die mittlere Zeile nach links.
   Gemessen: Zeilenanfänge DE -2,95 / -1,62 / -0,28 em, EN mit -0,55 em: -2,94 / -1,61 / -0,28 em. */
.bb-lang-en .vertical-slogan span:nth-child(2) {
  left: -0.55em;
}

.follow-text {
  font-size: 20px;
  color: var(--color-brand-orange);
  /* Akzentfarbe für Aufforderungen */
  font-style: italic;
  margin-top: 10px;
}

/* ============================================= */
/* 📰 NEWS-TICKER STYLES */
/* ============================================= */

/* ▶️ Äußerer Container des News-Tickers */
.news-ticker-outer {
  width: 100%;
  max-width: 850px;
  margin: 5px auto 5px auto;
  padding: 5px 10px;
  display: flex;
  /* horizontal anordnen */
  align-items: center;
  /* vertikal mittig ausrichten */
  background: rgba(0, 0, 0, 0.28);
  /* halbtransparenter Hintergrund */
  border-radius: 10px;
  /* abgerundete Ecken */
  overflow: hidden;
  /* nichts außerhalb anzeigen */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  box-sizing: border-box;
}

/* ▶️ "News:" Label links */
.news-label {
  flex-shrink: 0;
  /* Größe fixiert, schrumpft nicht */
  margin-right: 10px;
  /* Abstand zum Track */
  display: flex;
  align-items: center;
  /* Text mittig */
  font-weight: bold;
  color: var(--color-brand-orange);
  /* Geändert auf Brand-Variable */
  font-size: 16px;
  /* ✨ blinkt nur bei jedem Start des Loops */
  animation: blink-once 10s linear infinite;
}

/* ▶️ Wrapper für die scrollenden Meldungen */
.news-scroll-wrapper {
  flex-grow: 1;
  /* nimmt restliche Breite ein */
  overflow: hidden;
  /* Text außerhalb abschneiden */
  position: relative;
  display: flex;
  align-items: center;
  /* Text vertikal mittig */
  white-space: nowrap;
  /* alles in einer Zeile */
}

/* ▶️ Die bewegte Spur mit allen Meldungen */
.news-track {
  display: inline-flex;
  /* Inhalte inline nebeneinander */
  align-items: center;
  padding-left: 100%;
  /* startet rechts außerhalb des sichtbaren Bereichs */
  animation: scroll-left 10s linear infinite;
  /* Animation für horizontales Scrollen */
}

/* ▶️ Einzelne Meldung */
.news-text {
  display: inline-flex;
  align-items: center;
  /* vertikal mittig */
  font-weight: 600;
  font-size: 16px;
  color: #ffe5c3;
  /* Spezielle Ticker-Farbe beibehalten für Kontrast */
  margin-right: 10px;
  /* Abstand zum Trenner */
  line-height: 1.4;
  white-space: nowrap;
  /* Text bleibt in einer Zeile */
}

/* ▶️ Trenner nach jeder Meldung */
.news-text::after {
  content: "|";
  /* senkrechter Strich */
  margin-left: 10px;
  /* Abstand zum Text */
  color: var(--color-brand-orange);
  /* Trenner in Markenfarbe */
}

/* ▶️ letzter Eintrag ohne Trenner */
.news-text:last-child::after {
  content: "";
}

/* ▶️ Links innerhalb des Tickers */
.news-text a {
  margin-left: 0.3em;
}

/* ============================================= */
/* 🔄 KEYFRAMES FÜR ANIMATIONEN */
/* ============================================= */

/* horizontales Scrollen */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Blinken des Labels nur zu Beginn des Loops */
@keyframes blink-once {
  0% {
    opacity: 1;
  }

  3% {
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  9% {
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

/* ============================================= */
/* 📱📲💻🖥 RESPONSIVE BREAKPOINTS – 5 STUFEN BASIS */
/* ============================================= */

/* 📱 1. XS – Kleine Smartphones */
@media (max-width: 480px) {
  .page-wrapper.home-page>main {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 100px;
  }

  .viewport-center {
    padding: 0;
    /* keine zusätzliche Polsterung */
  }

  .band-name {
    font-size: 35px;
  }

  .welcome-text {
    font-size: 22px;
  }

  .description {
    font-size: 18px;
  }

  .follow-text {
    font-size: 14px;
  }

  .news-ticker-outer {
    max-width: 90%;
    margin: 20px auto;
    padding: 5px;
    font-size: 0.9rem;
  }

  .news-label {
    font-size: 14px;
    margin-right: 6px;
  }

  .news-text {
    font-size: 14px;
  }

  /* 📱 Slogan-Anpassung für kleine Handys */
  .vertical-slogan {
    font-size: 1.6rem;
  }

  /* Slogan-Offsets werden nun zentral gesteuert */
}

/* 📱 2. S – Normale Smartphones */
@media (min-width: 481px) and (max-width: 768px) {
  .page-wrapper.home-page>main {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 100px;
  }

  .viewport-center {
    padding: 0;
  }

  .band-name {
    font-size: 40px;
  }

  .news-ticker-outer {
    max-width: 95%;
    margin: 20px auto;
    padding: 6px 8px;
    font-size: 1rem;
  }

  .news-label {
    font-size: 15px;
    margin-right: 8px;
    font-weight: bold;
  }

  .news-text {
    font-size: 15px;
  }

  /* 📱 Slogan-Anpassung für normale Handys */
  .vertical-slogan {
    font-size: 1.8rem;
  }

  /* Slogan-Offsets werden nun zentral gesteuert */
}

/* 📲 3. M – Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  /* keine speziellen Anpassungen nötig */
}

/* 💻 4. L – Laptops / kleine Desktops */
@media (min-width: 1025px) and (max-width: 1440px) {
  /* keine speziellen Anpassungen nötig */
}

/* 🖥 5. XL – Große Bildschirme / 4K */
@media (min-width: 1441px) {
  /* keine speziellen Anpassungen nötig */
}

/* 🏁 6. HEADER OVERLAP & CENTERING FIX - CLEANED UP */

/* ============================================= */
/* 📱 SOCIAL ICONS STARTSEITE (UNTER TICKER) */
/* ============================================= */

.home-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.home-social-icons .social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.home-social-icons .social-icon.instagram {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg>');
}

.home-social-icons .social-icon.youtube {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .501 6.186C0 8.07 0 12 0 12s0 3.93.501 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.377.505 9.377.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
}

.home-social-icons .social-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .home-social-icons .social-icon {
    width: 42px;
    height: 42px;
  }
}