/* =========================================
   ZIEGLER - Baustellenseite
   Joomla 6.2 / Cassiopeia
   ========================================= */

.zg-maintenance {
  --zg-orange: #f39200;
  --zg-navy: #092642;
  --zg-blue: #123a61;
  --zg-white: #ffffff;
  --zg-text: #172c46;

  margin: 0;
  width: 100%;
  overflow: hidden;
  font-family: inherit;
  color: var(--zg-text);
}

/* Logo-Header */

.zg-maintenance-header {
  min-height: 125px;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  background: #fff;
  position: relative;
  border-bottom: 4px solid var(--zg-orange);
}

.zg-maintenance-header img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Hero */

.zg-hero {
  min-height: 440px;
  padding: 75px 6%;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  color: white;
  background:
    radial-gradient(
      ellipse at 80% 30%,
      rgba(30, 83, 126, 0.55),
      transparent 55%
    ),
    linear-gradient(
      120deg,
      #061a2f 0%,
      #0b2948 65%,
      #123b60 100%
    );
}

/* Dekorative Leiterbahnen */

.zg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(135deg,
      transparent 48%,
      var(--zg-orange) 49%,
      var(--zg-orange) 50%,
      transparent 51%);
  background-size: 180px 180px;
  pointer-events: none;
}

.zg-hero-content {
  width: 100%;
  max-width: 760px;
}

.zg-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--zg-orange);
}

.zg-hero h1 {
  margin: 0 0 25px;
  color: #fff;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.08;
  font-weight: 800;
}

.zg-hero h1 span {
  display: block;
  color: var(--zg-orange);
}

.zg-intro {
  max-width: 650px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  color: #e3eaf2;
}

/* Orange Kontakt-Hinweis */

.zg-notice {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
  padding: 22px 28px;
  max-width: 760px;
  background: var(--zg-orange);
  color: #fff;
  border-radius: 3px;
}

.zg-notice-icon {
  flex-shrink: 0;
  font-size: 36px;
  font-weight: 700;
}

.zg-notice p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

/* Kontakt-Bereich */

.zg-contact {
  padding: 55px 5%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  background: #f4f6f9;
}

.zg-contact-item {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  padding: 10px 15px;
  border-left: 3px solid var(--zg-orange);
}

.zg-icon {
  flex-shrink: 0;
  font-size: 31px;
  color: var(--zg-navy);
}

.zg-contact-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--zg-navy);
}

.zg-contact-item p {
  margin: 0 0 8px;
  line-height: 1.6;
  font-size: 15px;
}

.zg-contact-item a {
  color: #b96900;
  font-weight: 700;
  text-decoration: none;
}

.zg-contact-item a:hover {
  color: var(--zg-navy);
  text-decoration: underline;
}

/* Danke-Bereich */

.zg-thanks {
  padding: 35px 20px 50px;
  text-align: center;
  background: #fff;
}

.zg-thanks p {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  font-style: italic;
  color: var(--zg-navy);
}

/* Responsive Tablet */

@media (max-width: 991px) {
  .zg-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 15px;
  }

  .zg-hero {
    padding: 60px 5%;
  }
}

/* Responsive Smartphone */

@media (max-width: 600px) {
  .zg-maintenance-header {
    min-height: auto;
    padding: 20px;
  }

  .zg-maintenance-header img {
    max-width: 290px;
  }

  .zg-hero {
    min-height: auto;
    padding: 48px 22px;
  }

  .zg-hero h1 {
    font-size: 40px;
  }

  .zg-intro {
    font-size: 17px;
  }

  .zg-notice {
    gap: 12px;
    padding: 18px;
    margin-top: 30px;
  }

  .zg-notice-icon {
    font-size: 28px;
  }

  .zg-notice p {
    font-size: 16px;
  }

  .zg-contact {
    grid-template-columns: 1fr;
    padding: 35px 20px;
    gap: 18px;
  }

  .zg-contact-item {
    padding: 15px 10px;
  }

  .zg-thanks {
    padding: 30px 15px;
  }
}

/* ZIEGLER Footer */

.zg-footer {
  background: #08233f;
  color: #ffffff;
  padding: 22px 5%;
}

.zg-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
}

.zg-footer-company {
  font-size: 14px;
}

.zg-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.zg-footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.zg-footer-links a:hover {
  color: #f39200;
}

.zg-footer-links span {
  color: #f39200;
}

/* Smartphone Footer */

@media (max-width: 600px) {
  .zg-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .zg-footer-links {
    justify-content: center;
  }
}

