/* ============================================================================
 * Universelle Landingpage für alle WDSB-Domains
 * ============================================================================
 * Version: 2025.12.02.121500
 * Autor: Willi da Silva Borges - WDSB-Webdesign
 * ============================================================================ */

/* ===== Global Reset ===== */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  background-color: var(--landing-universal-background-color);
}

/* ===== Haupt-Container ===== */
.landing-universal {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  box-sizing: border-box;
}

/* ===== Content-Container ===== */
.landing-universal__container {
  width: 100%;
  max-width: clamp(380px, 100vw, 2025px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
  padding-top: clamp(80px, 15vw, 120px);
  padding-bottom: clamp(80px, 15vw, 120px);
  box-sizing: border-box;
}

/* ===== Logo ===== */
.landing-universal__logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-universal__logo-link {
  display: block;
  width: clamp(150px, 50vw, 300px);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.landing-universal__logo-link:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.landing-universal__logo-link:active {
  transform: translateY(0) scale(0.97);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}

.landing-universal__logo-link img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===== Textbereich ===== */
.landing-universal__text {
  width: 100%;
  max-width: clamp(300px, 80vw, 800px);
  text-align: center;
  color: #F2EEBB;
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.6;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ===== Icons ===== */
.landing-universal__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(15px, 3vw, 30px);
  width: 100%;
  max-width: clamp(300px, 80vw, 800px);
}

.landing-universal__icon-link {
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.landing-universal__icon-link:hover {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.landing-universal__icon-link:active {
  transform: translateY(0) scale(0.95);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.landing-universal__icon {
  width: auto;
  height: clamp(37px, 5vw, 74px);
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* ===== Gemeinsamer Style für Top- & Bottom-Container ===== */

.landing-universal__gradient-box {
  border-radius: clamp(6px, 1.5vw, 12px);
  padding: clamp(12px, 2vw, 20px);
  box-shadow: 0 clamp(3px, 0.8vw, 8px) clamp(8px, 2vw, 16px) rgba(0, 0, 0, 0.4);
  color: #ffffff;
  position: relative;
  z-index: 10;
}

/* Domain-spezifische Gradient-Boxen - Vertikaler Verlauf mit dunkel in der Mitte */
.landing-universal--webdesign .landing-universal__gradient-box {
  background: linear-gradient(
    180deg,
    #ff0000 0%,
    #e30003 20%,
    #c70005 40%,
    #620000 50%,
    #c70005 60%,
    #e30003 80%,
    #ff0000 100%
  );
}

.landing-universal--pictures .landing-universal__gradient-box {
  background: linear-gradient(
    180deg,
    #2600ff 0%,
    #2300e4 20%,
    #1f00c9 40%,
    #09003c 50%,
    #1f00c9 60%,
    #2300e4 80%,
    #2600ff 100%
  );
}

.landing-universal--ticket .landing-universal__gradient-box {
  background: linear-gradient(
    180deg,
    #5a8a6a 0%,
    #528061 20%,
    #4a7658 40%,
    #2d3e32 50%,
    #4a7658 60%,
    #528061 80%,
    #5a8a6a 100%
  );
}

.landing-universal--design .landing-universal__gradient-box {
  background: linear-gradient(
    180deg,
    #8b6f47 0%,
    #7d6340 20%,
    #705839 40%,
    #3d2b1c 50%,
    #705839 60%,
    #7d6340 80%,
    #8b6f47 100%
  );
}

/* ===== TOP-CONTAINER: Hintergrund-Box ===== */

.landing-universal__top-bar {
  position: absolute;
  left: clamp(10px, 2vw, 20px);
  right: clamp(10px, 2vw, 20px);
  top: clamp(10px, 2vw, 20px);
  min-height: 80px;
  padding: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

@media (max-width: 601px) {
  .landing-universal__top-bar {
    min-height: 110px;
    height: fit-content;
  }
  
  .landing-universal__top-content {
    padding-top: 10px;
    min-height: 110px;
  }
}

/* ===== Container über der Topbar: Logo + Telefon + E-Mail auf gleicher Höhe ===== */

.landing-universal__top-content {
  position: absolute;
  left: clamp(10px, 2vw, 20px);
  right: clamp(10px, 2vw, 20px);
  top: clamp(10px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(15px, 3vw, 25px);
  font-size: clamp(1rem, 0.8845rem + 0.4863vw, 1.5rem);
  padding-left: clamp(12px, 2vw, 20px);
  padding-right: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
  z-index: 10;
  pointer-events: none;
  min-height: 80px;
}

.landing-universal__top-content > * {
  pointer-events: auto;
}

.landing-universal__top-content__phone {
  text-align: left;
  flex: 0 1 auto;
  color: #ffffff;
  font-size: clamp(1rem, 0.8845rem + 0.4863vw, 1.5rem);
  display: flex;
  align-items: center;
}

.landing-universal__top-content__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-universal__top-logo-link {
  display: block;
  /* width: clamp(200px, calc(153.799px + 12.158vw), 400px); */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.landing-universal__top-logo-link:hover {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.landing-universal__top-logo-link:active {
  transform: scale(0.95);
}

.landing-universal__top-logo-link img {
  width: 50px;
  height: auto;
  display: block;
  object-fit: contain;
}

.landing-universal__top-content__email {
  text-align: right;
  flex: 0 1 auto;
  color: #ffffff;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  display: flex;
  align-items: center;
}

.landing-universal__top-content a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}

.landing-universal__top-content a:hover {
  text-decoration: underline;
}

@media (max-width: 603px) {
  .landing-universal__top-content {
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 2vw, 15px);
    min-height: auto;
    height: fit-content;
  }

  .landing-universal__top-content__phone,
  .landing-universal__top-content__email {
    text-align: center;
  }
}

/* ===== BOTTOM-CONTAINER: Impressum / Datenschutz / Kontakt ===== */

.landing-universal__bottom-bar {
  position: absolute;
  left: clamp(10px, 2vw, 20px);
  right: clamp(10px, 2vw, 20px);
  bottom: clamp(10px, 2vw, 20px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1.5vw, 15px);
  font-size: clamp(0.75rem, 1.3vw, 0.95rem);
  min-height: clamp(50px, 8vw, 80px);
  padding: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

.landing-universal__bottom-bar__link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: clamp(4px, 1vw, 8px) clamp(8px, 1.5vw, 12px);
  border-radius: clamp(3px, 0.8vw, 6px);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: clamp(1rem, 0.8845rem + 0.4863vw, 1.5rem);
}

.landing-universal__bottom-bar__link:hover {
  background: rgba(255, 255, 255, 0.35);
  text-decoration: underline;
}

/* ===== MODALS ===== */

:root {
  --landing-universal-modal-overlay-bg: rgba(0, 0, 0, 0.8);
  --landing-universal-modal-bg: transparent;
}

.landing-universal__modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--landing-universal-modal-overlay-bg);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.landing-universal__modal-overlay.is-active {
  display: flex;
}

.landing-universal__modal {
  width: clamp(280px, 80vw, 900px);
  max-height: clamp(400px, 80vh, 800px);
  border-radius: clamp(8px, 2vw, 16px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 clamp(10px, 2.5vw, 25px) clamp(20px, 5vw, 50px) rgba(0, 0, 0, 0.9);
  padding: clamp(15px, 3vw, 30px);
  position: relative;
  overflow: auto;
  background: var(--landing-universal-modal-bg);
  color: #f8f3da;
}

.landing-universal__modal__close {
  position: absolute;
  top: clamp(8px, 1.5vw, 15px);
  right: clamp(10px, 2vw, 20px);
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.landing-universal__modal__close:hover {
  color: #ffcc33;
  transform: scale(1.1);
}

.landing-universal__modal__content {
  margin: clamp(20px, 4vw, 40px) 0;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  line-height: 1.6;
}

.landing-universal__modal__content h1 {
  margin-top: 0;
  margin-bottom: clamp(10px, 2vw, 20px);
  color: #ffcc33;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}


