/* =========================================
   HELL FESTIVAL – Core Layout (statt nicepage.css)
   Basis: Reset, Body, Header, Footer, Grids, Buttons
   ========================================= */

/* ---------- Reset & Basics ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body,
.u-body {
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.5;
}

.u-overlap,
.u-xl-mode {
  /* nur für Kompatibilität – kein spezielles Verhalten nötig */
}

/* Hilfsklassen */
.u-clearfix::before,
.u-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.u-black {
  background-color: #000 !important;
  color: #fff;
}

.u-grey-80 {
  background-color: #333;
}

.u-align-center {
  text-align: center;
}

.u-container-align-center .u-text {
  text-align: center;
}

.u-text-white {
  color: #fff !important;
}

/* ---------- Layout-Container (Sheet / Group) ---------- */

.u-sheet {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
}

.u-sheet-1 {
  /* wird im Header/Footer noch genauer gestylt */
}

.u-container-style {
  position: relative;
}

.u-group {
  display: block;
}

.u-container-layout {
  width: 100%;
  height: 100%;
}

/* ---------- Headings & Text (Skalierung) ---------- */

h1, h2, h3, h4, h5, h6,
.u-text {
  margin: 0;
  color: inherit;
}

.u-custom-font.u-font-montserrat,
.u-font-montserrat {
  font-family: 'Montserrat', 'Open Sans', system-ui, sans-serif;
}

.u-text-1,
.u-text-2,
.u-text-3,
.u-text-4 {
  /* Basis – spezifische Größen über index.css */
}

/* Globale Headings – Grund-Skalierung */
h1,
.u-section-1 .u-text-1,
.u-section-1 .u-text-2 {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Bilder ---------- */

.u-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.u-image-default {
  object-fit: contain;
}

.u-image-contain {
  object-fit: contain;
}

.u-preserve-proportions {
  height: auto;
}

/* ---------- Sektionen (Grund-Padding) ---------- */

section[class^="u-section"],
section[id^="sec-"],
#block-1,
#block-2 {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ---------- Video-Container / Background-Video ---------- */

.u-background-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.u-background-video .embed-responsive,
.u-background-video video,
#sec-dfb1 .embed-responsive,
#sec-dfb1 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.u-video-shading {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Block 1 / 2 Höhe – grobe Defaults; Feinanpassung macht index.css */
#block-1,
#block-2 {
  min-height: 480px;
}

/* ---------- HEADER ---------- */

.u-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

#header .u-sheet-1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#header .u-image-1 {
  height: 60px;
  width: auto;
  display: block;
}

#header .u-text-1 {
  /* aktuell leer – reserviert für spätere Nutzung */
}

#header .u-text-2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

#header .u-text-3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  opacity: 0.85;
}

/* Mobile Header-Variante */
@media (max-width: 600px) {
  #header .u-sheet-1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #header .u-image-1 {
    height: 50px;
    margin-bottom: 2px;
  }

  #header .u-text-2 {
    font-size: 18px;
  }

  #header .u-text-3 {
    font-size: 12px;
  }
}

/* ---------- FOOTER ---------- */

.u-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.12);
}

#footer .u-sheet-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}

#footer .u-group-1,
#footer .u-group-2 {
  min-width: 180px;
}

#footer .u-text-1,
#footer .u-text-3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

#footer .u-text-2,
#footer .u-text-4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

#footer .u-image-1 {
  max-height: 50px;
  width: auto;
}

/* Footer responsive */
@media (max-width: 900px) {
  #footer .u-sheet-1 {
    justify-content: center;
    text-align: center;
  }

  #footer .u-image-1 {
    order: -1;
    margin-bottom: 12px;
  }
}

/* ---------- Buttons (u-btn) ---------- */

.u-btn,
.u-button-style {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.u-btn:hover,
.u-button-style:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Link-Buttons im Footer (ohne Pill-Optik) */
.u-button-link.u-none.u-border-none {
  padding: 0;
  border: none;
  background: none;
}

.u-button-link.u-none.u-border-none:hover {
  background: none;
  color: #ff4081;
}

.u-active-none,
.u-hover-none {
  /* Dummy für Kompatibilität – Verhalten wird über obige Regeln gesteuert */
}

/* ---------- Badges & Inline-Buttons (Hero/Sections) ---------- */

.hell-inline-btn {
  display: inline-block;
  padding: 14px 36px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  border-radius: 40px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.25s ease;
}

.hell-inline-btn:hover {
  background: rgba(255,255,255,0.15);
}

.hell-badge {
  position: absolute;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 6;
}

/* Badge / Button mobile Anpassung */
@media (max-width: 900px) {
  .hell-inline-btn {
    padding: 12px 28px !important;
    font-size: 18px !important;
    border-radius: 36px !important;
  }

  .hell-badge {
    padding: 10px 22px !important;
    font-size: 20px !important;
    border-radius: 30px !important;
    top: 15px !important;
    left: 15px !important;
  }
}

@media (max-width: 600px) {
  .hell-inline-btn {
    padding: 10px 22px !important;
    font-size: 16px !important;
    border-radius: 30px !important;
  }

  .hell-badge {
    padding: 8px 18px !important;
    font-size: 16px !important;
    border-radius: 24px !important;
    top: 10px !important;
    left: 10px !important;
  }
}

/* ---------- Cookie-Banner & Modal (Popup) – wie vorher ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99991;
  display: none;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.cookie-banner.show {
  display: block;
}

.cookie-banner .row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 260px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.link {
  color: #9ad;
  text-decoration: underline;
}

/* Modal (Popup) */
.modal-overlay,
#promoModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.65);
  padding: 20px;
}

.modal-overlay.show,
#promoModal.show {
  display: flex !important;
}

.modal {
  width: min(720px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: modalIn .28s ease;
}

@keyframes modalIn {
  from { transform: translateY(10px); opacity: .001; }
  to   { transform: translateY(0);   opacity: 1; }
}

.modal-header,
.modal-footer {
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px 16px 0 0;
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

.modal-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  padding: 4px 8px;
  cursor: pointer;
}

.modal-body {
  padding: 16px;
  line-height: 1.55;
}

.modal-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  text-align: right;
}

/* Body-Scroll sperren, wenn Modal offen */
body.modal-open {
  overflow: hidden !important;
}

/* ---------- Mobile-Fixes für deine Sektionen ---------- */

@media (max-width: 767px) {
  #sec-dfb1,
  #block-2,
  #block-1 {
    overflow: visible !important;
    height: auto !important;
  }
}

/* ---------- Kleine Helfer ---------- */

.section-btn {
  z-index: 5 !important;
}