/* =========================================
   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);
}

/* =====================================
   ZIEGLER HEADER - CIRCUIT V2
   ===================================== */

.zg-maintenance-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 125px;
  padding: 20px 5%;
  overflow: hidden;

  background: #ffffff;
  border-bottom: 4px solid #f39200;
}

/* Logo */

.zg-maintenance-header .zg-logo {
  display: block;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Leiterbahn-Bereich */

.zg-circuit {
  position: absolute;
  top: 0;
  right: 0;
  width: 390px;
  height: 121px;
  overflow: hidden;
  pointer-events: none;
}

/* Gemeinsame Leiterbahn */

.zg-trace {
  position: absolute;
  height: 4px;
  background: #f39200;
}

.zg-trace i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 4px solid #f39200;
  border-radius: 50%;
  background: #ffffff;
}

/* Bahn 1 */

.trace-1 {
  top: 25px;
  right: 0;
  width: 220px;
}

.trace-1::before {
  content: "";
  position: absolute;
  left: 0;
  top: -25px;
  width: 4px;
  height: 29px;
  background: #f39200;
}

.trace-1 i {
  left: -7px;
  top: -7px;
}

/* Bahn 2 */

.trace-2 {
  top: 70px;
  right: 0;
  width: 290px;
}

.trace-2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -30px;
  width: 4px;
  height: 34px;
  background: #f39200;
}

.trace-2 i {
  left: -7px;
  top: -7px;
}

/* Bahn 3 */

.trace-3 {
  top: 45px;
  right: 80px;
  width: 190px;
}

.trace-3::before {
  content: "";
  position: absolute;
  right: 0;
  top: -25px;
  width: 4px;
  height: 29px;
  background: #f39200;
}

.trace-3 i {
  right: -7px;
  top: -7px;
}

/* Bahn 4 */

.trace-4 {
  top: 95px;
  right: 30px;
  width: 160px;
}

.trace-4::before {
  content: "";
  position: absolute;
  left: 0;
  top: -25px;
  width: 4px;
  height: 29px;
  background: #f39200;
}

.trace-4 i {
  left: -7px;
  top: -7px;
}

/* Bahn 5 */

.trace-5 {
  top: 12px;
  right: 120px;
  width: 100px;
}

.trace-5 i {
  right: -7px;
  top: -7px;
}

/* Smartphone */

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

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

  .zg-circuit {
    width: 145px;
    height: 91px;
    opacity: 0.65;
    transform: scale(0.65);
    transform-origin: top right;
  }
}

/* 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;
  }
}

/* ========================================
   ZIEGLER HERO - Joomla / Cassiopeia
   ======================================== */

.zg-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 570px;
  padding: 70px 6%;
  overflow: hidden;

  background: #08233f;
  color: #ffffff;
}

/* Hintergrundbild */

.zg-hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;

  background-image:
    linear-gradient(
      90deg,
      rgba(5, 24, 44, 0.98) 0%,
      rgba(5, 24, 44, 0.90) 35%,
      rgba(5, 24, 44, 0.55) 58%,
      rgba(5, 24, 44, 0.10) 100%
    ),
    url("/images/baustelle/pcb-hero.jpg");

  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Dezente technische Leiterbahnstruktur */

.zg-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  z-index: -1;
  pointer-events: none;

  opacity: 0.15;

  background-image:
    linear-gradient(
      135deg,
      transparent 47%,
      #f39200 48%,
      #f39200 49%,
      transparent 50%
    );

  background-size: 100px 100px;
}

/* Textinhalt */

.zg-hero-content {
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

/* Eyebrow */

.zg-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-bottom: 25px;

  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;

  color: #f39200;
}

.zg-eyebrow-line {
  display: inline-block;
  width: 55px;
  height: 4px;
  background: #f39200;
}

/* Überschrift */

.zg-hero h1 {
  max-width: 850px;

  margin: 0 0 25px;
  padding: 0;

  color: #ffffff;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2px;
}

.zg-hero h1 span {
  display: block;
  color: #f39200;
}

/* Intro-Text */

.zg-hero .zg-intro {
  max-width: 650px;

  margin: 0 0 35px;

  color: #e8edf4;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}

/* Orange Hinweisbanner */

.zg-hero .zg-notice {
  display: flex;
  align-items: center;
  gap: 25px;

  position: relative;

  width: min(760px, 100%);
  margin: 0;
  padding: 25px 35px;

  background: #f39200;
  color: #ffffff;

  border-radius: 0;
  box-shadow: none;
}

/* Banner-Form */

.zg-hero .zg-notice::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;

  width: 80px;
  height: 100%;

  background: #f39200;
  transform: skewX(-20deg);
}

/* Banner-Icon */

.zg-hero .zg-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 65px;

  font-size: 38px;
  color: #ffffff;
  border-right: 2px solid rgba(255,255,255,0.7);
  padding-right: 22px;
}

/* Banner-Text */

.zg-hero .zg-notice p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

/* Tablet */

@media (max-width: 991px) {
  .zg-hero {
    min-height: 500px;
    padding: 60px 5%;
  }

  .zg-hero-background {
    background-position: center, 65% center;
  }

  .zg-hero .zg-notice {
    max-width: 700px;
  }
}

/* Smartphone */

@media (max-width: 600px) {
  .zg-hero {
    min-height: auto;
    padding: 45px 22px;
  }

  .zg-hero-background {
    background-image:
      linear-gradient(
        rgba(5, 24, 44, 0.88),
        rgba(5, 24, 44, 0.94)
      ),
      url("/images/baustelle/pcb-hero.jpg");

    background-position: center, 65% center;
  }

  .zg-eyebrow {
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .zg-eyebrow-line {
    width: 35px;
  }

  .zg-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
    letter-spacing: -1px;
  }

  .zg-hero .zg-intro {
    font-size: 17px;
    line-height: 1.6;
  }

  .zg-hero .zg-notice {
    gap: 15px;
    padding: 20px 18px;
    width: 100%;
  }

  .zg-hero .zg-notice::after {
    display: none;
  }

  .zg-hero .zg-notice-icon {
    flex: 0 0 42px;
    font-size: 28px;
    padding-right: 12px;
  }

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

/* ==========================================
   ZIEGLER HEADER - LOGO + CIRCUIT DESIGN
   ========================================== */

.zg-maintenance-header {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;

  min-height: 125px;
  padding: 20px 5%;

  background-color: #ffffff;
  background-image:
    /* Leiterbahnen */
    linear-gradient(#f39200, #f39200),
    linear-gradient(#f39200, #f39200),
    linear-gradient(#f39200, #f39200),
    linear-gradient(#f39200, #f39200),
    linear-gradient(#f39200, #f39200);

  background-size:
    4px 48px,
    4px 72px,
    55px 4px,
    85px 4px,
    45px 4px;

  background-position:
    94% 0,
    97% 0,
    94% 24px,
    97% 72px,
    100% 48px;

  background-repeat: no-repeat;

  border-bottom: 4px solid #f39200;
  overflow: hidden;
}

/* Logo */

.zg-maintenance-header img {
  position: relative;
  z-index: 2;

  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Leiterbahn-Knoten */

.zg-maintenance-header::after {
  content: "";
  position: absolute;

  right: 3%;
  top: 20px;

  width: 12px;
  height: 12px;

  border: 4px solid #f39200;
  border-radius: 50%;

  background: #ffffff;
  box-shadow:
    -75px 45px 0 -1px #ffffff,
    -75px 45px 0 3px #f39200,
    -145px 10px 0 -1px #ffffff,
    -145px 10px 0 3px #f39200;

  opacity: 0.9;
}

/* Mobile */

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

    background-size:
      3px 32px,
      3px 40px,
      35px 3px,
      50px 3px,
      30px 3px;

    background-position:
      95% 0,
      98% 0,
      95% 16px,
      98% 42px,
      100% 30px;
  }

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

  .zg-maintenance-header::after {
    right: 2%;
    top: 12px;
    transform: scale(0.7);
    transform-origin: top right;
  }
}


/* ==========================================
   ZIEGLER KONTAKTFORMULAR
   Joomla 6.2 / Cassiopeia
   ========================================== */

/* Seitenhintergrund und Formularbereich */

.com-contact {
  color: #092642;
}

.com-contact .contact-form,
.com-contact form {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* Überschriften */

.com-contact h1,
.com-contact h2,
.com-contact legend {
  color: #092642;
  font-weight: 800;
}

/* Labels */

.com-contact label {
  color: #092642;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Eingabefelder */

.com-contact input[type="text"],
.com-contact input[type="email"],
.com-contact input[type="tel"],
.com-contact select,
.com-contact textarea,
.com-contact .form-control {
  width: 100%;
  max-width: 100%;
  min-height: 48px;

  padding: 12px 15px;

  color: #092642;
  background: #ffffff;

  border: 1px solid #d7e0e9;
  border-radius: 3px;

  box-shadow: none;
  font-size: 16px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Nachricht */

.com-contact textarea {
  min-height: 180px;
  resize: vertical;
}

/* Fokus */

.com-contact input:focus,
.com-contact select:focus,
.com-contact textarea:focus,
.com-contact .form-control:focus {
  border-color: #f39200;
  outline: none;
  box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.13);
}

/* Abstand der Formularfelder */

.com-contact .control-group,
.com-contact .form-group {
  margin-bottom: 22px;
}

/* Button */

.com-contact button,
.com-contact input[type="submit"],
.com-contact .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 14px 28px;

  background: #f39200;
  border: 1px solid #f39200;
  border-radius: 3px;

  color: #ffffff;
  font-size: 16px;
  font-weight: 700;

  box-shadow: none;
  transition: all 0.25s ease;
}

/* Hover */

.com-contact button:hover,
.com-contact input[type="submit"]:hover,
.com-contact .btn-primary:hover {
  background: #092642;
  border-color: #092642;
  color: #ffffff;

  transform: translateY(-2px);
}

/* Links */

.com-contact a {
  color: #bd7200;
}

.com-contact a:hover {
  color: #092642;
}

/* Pflichtfelder / Hinweise */

.com-contact .form-text,
.com-contact .help-block {
  color: #65768a;
}

/* Smartphone */

@media (max-width: 600px) {
  .com-contact input[type="text"],
  .com-contact input[type="email"],
  .com-contact select,
  .com-contact textarea,
  .com-contact .form-control {
    font-size: 16px;
  }

  .com-contact button,
  .com-contact input[type="submit"],
  .com-contact .btn-primary {
    width: 100%;
  }
}
