:root {
  --primary-navy: #024466;
  --dark-teal: #0C3B3A;
  --text-dark: #1B1B1B;
  --text-gray: #6B7280;
  --light-bg: #EEF3F6;
  --link-blue: #1B5E82;
  --white: #FFFFFF;
  --card-radius: 10px;
  --btn-radius: 6px;
  --section-padding: 90px 0;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1270px;
}

.section-padding {
  padding: var(--section-padding);
}

/* Navbar */
.navbar-wieg {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 0.5rem 0;
}
.navbar-wieg .navbar-brand img {
  height: 44px;
  width: auto;
  display: block;
}
.navbar-wieg .nav-link {
  font-weight: 500;
  color: #024466;
  padding: 0.5rem 0.9rem !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.navbar-wieg .nav-link:hover,
.navbar-wieg .nav-link:focus {
  color: var(--primary-navy);
}
/* Dropdown on hover (desktop only) */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown {
    position: relative;
  }
  .navbar .nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    margin-top: 0;
    pointer-events: none;
    top: 100%;
  }
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .navbar .nav-item.dropdown .dropdown-toggle::after {
    transition: transform 0.15s ease;
  }
  .navbar .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Nested dropdown (submenu) */
  .navbar .nav-item.dropdown .dropdown-submenu {
    position: relative;
  }
  .navbar .nav-item.dropdown .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
  }
  .navbar .nav-item.dropdown .dropdown-submenu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .navbar .nav-item.dropdown .dropdown-submenu .dropdown-toggle::after {
    transform: rotate(-90deg);
  }
  .navbar .nav-item.dropdown .dropdown-submenu:hover .dropdown-toggle::after {
    transform: rotate(-90deg);
  }
}

.btn-anfragen a {
  font-family: 'Raleway', sans-serif;
  background-color: var(--primary-navy);
  color: var(--white) !important;
  border-radius: var(--btn-radius);
  padding: 0.45rem 1.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  border: none;
  white-space: nowrap;
}
.btn-anfragen a:hover {
  background-color: #0a2f45;
  color: var(--white);
}

/* Hero */
.section-hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-navy);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: #000000a6;
  pointer-events: none;
}
.hero-overlay:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #024466b2;
  clip-path: polygon(100% 0px, 70% 100%, 100% 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-content p {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.btn-hero {
  font-family: 'Raleway', sans-serif;
  background-color: var(--primary-navy);
  color: var(--white);
  border-radius: var(--btn-radius);
  padding: 0.7rem 2.2rem;
  font-weight: 600;
  border: none;
  margin-top: 1rem;
}
.btn-hero:hover {
  background-color: #0a2f45;
  color: var(--white);
}

/* Section headings */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--text-gray);
  font-size: 0.95rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.bg-light-custom {
  background-color: var(--light-bg);
}
.service-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  height: 100%;
  transition: box-shadow 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
}
.service-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  display: block;
}
.service-card h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}
.service-card ul {
  font-family: 'Raleway', sans-serif;
  list-style: none;
  padding-left: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-gray);

}


.service-card ul li::before {
  content: "•";
  color: var(--text-gray);
  position: relative;
  left: -8px;
}
.service-link {
  font-family: 'Raleway', sans-serif;
  color: var(--link-blue);
  font-weight: 500;
  font-size: 0.85rem;
}
.service-link i {
  font-size: 0.7rem;
  margin-left: 0.25rem;
  transition: margin-left 0.15s;
}
.service-link:hover i {
  margin-left: 0.5rem;
}

/* About */
.about-image-col {
  padding-left: 0 !important;
}
.about-image-col img {
display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  clip-path: polygon(0 0, 94% 0, 89% 100%, 0% 100%);
}
.about-content-inner {
  padding: 60px 40px;
  max-width: 580px;
}
.checklist {
  list-style: none;
  padding-left: 0;
}
.checklist li {
  font-family: 'Raleway', sans-serif;
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  font-size: 18px;
  color: var(--text-dark);
  align-content: center;
  font-weight: bold;
}
.checklist li i {
  color: #02446685;
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  line-height: 1;
}

/* Why WIEG */
.section-why-wieg {
  position: relative;
  background: url('../images/47275.jpg') center center / cover no-repeat fixed;
}
.section-why-wieg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,59,58,0.92) 0%, rgba(12,59,58,0.78) 100%);
}
.section-why-wieg > .container {
  position: relative;
  z-index: 1;
}
.section-why-wieg .why-wieg-text {
  max-width: 770px;
}
.value-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  height: 100%;
  text-align: left;
}

.value-card .icon-wrap img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
}
.value-card h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 0;
}
.quote-line {
  font-style: italic;
  color: #fff;
  font-size: 1rem;
  margin-top: 2.5rem;
}

/* Referenzen */
.ref-card {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  background: var(--white);
  height: 100%;
}
.ref-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.ref-card-body {
  padding: 2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ref-card-body h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  margin-bottom: 0;
  font-size: 0.95rem;
}
.ref-card-body a {
  font-family: 'Raleway', sans-serif;
  color: var(--link-blue);
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: bold;
}
.ref-card-body a i {
  font-size: 0.7rem;
  margin-left: 0.2rem;
}

/* News */
.news-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  height: 100%;
}

.section-news .acf-field-subtitle {
  max-width: 620px;
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 1.25rem;
}
.news-date {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}
.news-date i {
  margin-right: 0.3rem;
}
.news-card-body h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.news-card-body p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 0.6rem;
}
.news-link {
  font-family: 'Raleway', sans-serif;
  color: var(--link-blue);
  font-weight: 500;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news-link i {
  margin-left: 0.2rem;
  font-size: 0.65rem;
  text-decoration: none;
}

/* Footer */
.footer-wieg {
  background-color: var(--primary-navy);
  color: rgba(255,255,255,0.8);
}
.footer-wieg h6 {
  font-family: 'Raleway', sans-serif;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.footer-wieg p,
.footer-wieg a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
}
.footer-wieg a:hover {
  color: var(--white);
}
.footer-wieg .footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.footer-wieg .footer-links li {
  margin-bottom: 0.2rem;
}
.footer-wieg .footer-links a {
  color: #fff;
}
.footer-wieg .footer-links a:hover {
  color: var(--white);
}
.footer-wieg .contact-row i {
  width: 1.2rem;
  margin-right: 0.4rem;
  color: rgba(255,255,255,0.6);
}
.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
  box-sizing: content-box;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.7);
  margin-right: 0.5rem;
  font-size: 0.9rem;
  transition: 0.15s;
  background: #205a78;
}
.social-icons a:hover {
  border-color: var(--white);
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.2rem 0;
  margin-top: 4rem;
  font-size: 0.82rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.7);
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ===== Breadcrumb inside page-hero ===== */
.page-hero .breadcrumb {
  background: transparent;
  padding: 20px 0 0;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-family: 'Raleway', sans-serif;
  justify-content: center;
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.page-hero .breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}
.page-hero .breadcrumb-item.active {
  color: #fff;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-navy);
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ===== Legal Cards ===== */
.legal-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}
.legal-card h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--primary-navy);
}
.legal-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.legal-card p, .legal-card ul li, .legal-card ol li {
  font-size: 0.92rem;
  color: var(--text-gray);
  margin-bottom: 0.8rem;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--link-blue); }
.legal-card ul, .legal-card ol { margin-bottom: 0.8rem; padding-left: 1.2rem; }
.legal-card .contact-box {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-navy);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}
.legal-card .highlight-box {
  background: #ebf8ff;
  border: 1px solid #90cdf4;
  padding: 1rem 1.25rem;
  border-radius: var(--card-radius);
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.legal-card .info-box {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-navy);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.legal-card .info-box.warning {
  background: #fff4e6;
  border-left-color: #e67e22;
}
.legal-card .info-box.success {
  background: #eafaf1;
  border-left-color: #27ae60;
}
.legal-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0;
  font-size: 0.85rem;
}
.legal-card th {
  background: var(--primary-navy);
  color: #fff;
  padding: 0.5rem 0.8rem;
  text-align: left;
  font-weight: 600;
}
.legal-card td {
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid #e2e8f0;
}
.legal-card tr:last-child td { border-bottom: none; }
.legal-card tr:nth-child(even) td { background: var(--light-bg); }

/* ===== Job / Career ===== */
.job-list { list-style: none; padding-left: 0; }
.job-list li { padding: 0.5rem 0; padding-left: 1.8rem; position: relative; font-size: 0.95rem; }
.job-list li::before { content: "\f26a"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--primary-navy); font-size: 1rem; }
.cta-section { background: var(--light-bg); }
.cta-section.dark { background-color: #024466; color: #fff; text-align: center; }
.cta-section.dark h2 { color: #fff; }
.cta-section.dark p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 1.5rem; }
.job-card-img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--card-radius) var(--card-radius) 0 0; }

/* ===== Contact ===== */
.contact-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  height: 100%;
  transition: box-shadow 0.2s;
}
.contact-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); }
.contact-card .icon-wrap { width: 48px; height: 48px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.contact-card .icon-wrap i { font-size: 1.3rem; color: var(--primary-navy); }
.contact-card h5 { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 0; }
.contact-card a:hover { color: var(--primary-navy); }
.map-placeholder { background: var(--light-bg); border-radius: var(--card-radius); min-height: 380px; display: flex; align-items: center; justify-content: center; color: var(--text-gray); font-size: 1rem; }

/* ===== Forms ===== */
.form-section .form-label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.form-section .form-control, .form-section .form-select { border-radius: 6px; border: 1px solid #d1d9e0; padding: 0.65rem 1rem; font-size: 0.95rem; }
.form-section .form-control:focus, .form-section .form-select:focus { border-color: var(--primary-navy); box-shadow: 0 0 0 0.2rem rgba(2,68,102,0.15); }
.form-section textarea.form-control { min-height: 130px; resize: vertical; }
.form-section .hint-text { font-size: 0.82rem; color: var(--text-gray); margin-top: 0.3rem; }
.form-section .required::after { content: " *"; color: #dc3545; }
.btn-submit { font-family: 'Raleway', sans-serif; background-color: var(--primary-navy); color: var(--white); border-radius: var(--btn-radius); padding: 0.7rem 2.5rem; font-weight: 600; border: none; font-size: 0.95rem; }
.btn-submit:hover { background-color: #0a2f45; color: var(--white); }

/* ===== Blockquote ===== */
blockquote { font-style: italic; border-left: 4px solid #024466; padding-left: 1.5rem; margin: 2rem 0; font-size: 1.1rem; color: #1B1B1B; font-family: 'Raleway', sans-serif; }

/* ===== Misc ===== */
.cert-icon { font-size: 2.5rem; color: #024466; margin-bottom: 1rem; }
.inner-page-hero-content { max-width: 800px; margin: 0 auto; text-align: center; }
.ratio video {
  background: #fff;
}
.btn-primary{
  background: #024466;
}
.btn-primary:hover{
  background: #236d93;
} 

.news-detail-right {
  background: #eef3f6;
  padding: 30px;
  position: sticky;
  top: 70px;
  height: 100%;
}



/* ===========================
   Main Navigation
=========================== */

.navbar-nav{
    display:flex;
    align-items:center;
    margin:0;
    padding:0;
    list-style:none;
    gap:8px;
}

.navbar-nav > li{
    position:relative;
    list-style:none;
}

.navbar-nav > li > a{
    display:flex;
    align-items:center;
    padding:16px 18px;
    text-decoration:none;
    color:#1b3558;
    font-weight:600;
    text-transform:uppercase;
    transition:.3s;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.current-menu-item > a{
    color:#0a2f45;
}

.policy-link ul {
  display: flex;
  gap: 20px;
}
/* ===========================
   First Dropdown
=========================== */

.navbar-nav .sub-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:250px;
    background:#fff;
    padding:10px 0;
    margin:0;
    list-style:none;
    border-radius:6px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:.3s;
    z-index:999;
}

.navbar-nav li:hover > .sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.sub-menu li{
    position:relative;
}

.sub-menu li a{
    display:block;
    padding:10px 20px;
    color:#333;
    text-decoration:none;
    white-space:nowrap;
    transition:.3s;
}

.sub-menu li a:hover{
    background:#0a2f45;
    color:#fff;
}

/* ===========================
   Third Level
=========================== */

.sub-menu .sub-menu{
    top:0;
    left:100%;
    margin-left:2px;
}

/* ===========================
   Arrow
=========================== */

.menu-item-has-children > a::after{
    content:"▼";
    font-size:10px;
    margin-left:8px;
}

.sub-menu .menu-item-has-children > a::after{
    content:"▶";
    float:right;
}

.news-card-body h5 a {
  color: #1b1b1b;
}


.sec-lr .sec-repeat:nth-child(even) {
  background: #EEF3F6;
}
#bewerbungsForm .row.g-3.mb-3 p {
  margin: 0;
}

#bewerbungsForm {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  margin: 26px 0 0;
}
.form-section p {
  margin: 0;
}
.form-section .form-check {
  padding: 0;
}
.section-career {
        border-top: 1px solid #b1afaf;
}
.career-card {
  padding: 40px;
  background: #eef3f6;
  height: 100%;
  border-radius: 10px;
  border: 1px solid #c0c0c0;
}

.service-card1 {
  text-align: center;
	    display: flex;
    flex-direction: column;
	align-items: center;
}
.service-card1 a.service-link {
    margin-top: auto;
}
.service-card img {
  width: 110px;
}
.col-md-6:last-child .contact-card p.acf-field-text + p.acf-field-text {
    margin-left: 40px;
}
    /* ===== Arbeitsweise-specific styles ===== */
    .step-number-large {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--primary-navy);
      color: var(--white);
      font-family: 'Raleway', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 0.75rem;
      flex-shrink: 0;
    }
    .overview-grid .step-overview-card {
      background: var(--white);
      border-radius: var(--card-radius);
      padding: 1.25rem;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      height: 100%;
      text-align: center;
      transition: box-shadow 0.2s, transform 0.2s;
      border: 1px solid #eef3f6;
    }
    .overview-grid .step-overview-card:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
      transform: translateY(-2px);
    }
    .overview-grid .step-overview-card .step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--primary-navy);
      color: var(--white);
      font-family: 'Raleway', sans-serif;
      font-weight: 700;
      font-size: 0.9rem;
      margin-bottom: 0.6rem;
    }
    .overview-grid .step-overview-card h6 {
      font-family: 'Raleway', sans-serif;
      font-weight: 600;
      font-size: 0.85rem;
      color: var(--text-dark);
      margin-bottom: 0.3rem;
    }
    .overview-grid .step-overview-card p {
      font-size: 0.78rem;
      color: var(--text-gray);
      margin-bottom: 0;
      line-height: 1.4;
    }
    .detail-section {
      padding-top: 0;
    }
    .detail-section + .detail-section {
      padding-top: 0;
    }
    .detail-card {
      background: var(--white);
      border-radius: var(--card-radius);
      padding: 2rem;
      box-shadow: 0 4px 16px rgba(0,0,0,0.05);
      height: 100%;
		border: 1px solid #cbcbcb;
    }
    .detail-card h3 {
      font-family: 'Raleway', sans-serif;
      font-weight: 700;
      font-size: 1.3rem;
      color: var(--primary-navy);
      margin-bottom: 1rem;
    }
    .detail-card p {
      font-size: 0.92rem;
      color: var(--text-gray);
      margin-bottom: 0.8rem;
    }
    .detail-card p:last-child {
      margin-bottom: 0;
    }
    .detail-card ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }
    .detail-card ul li {
      font-size: 0.88rem;
      color: var(--text-gray);
      padding-left: 1.2rem;
      position: relative;
      margin-bottom: 0.4rem;
    }
    .detail-card ul li::before {
      content: "\f26a";
      font-family: "bootstrap-icons";
      position: absolute;
      left: 0;
      color: var(--primary-navy);
      font-size: 0.75rem;
      top: 0.2rem;
    }
    .checklist-wieg {
      list-style: none;
      padding-left: 0;
    }
    .checklist-wieg li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      margin-bottom: 0.8rem;
      font-size: 0.95rem;
      color: var(--text-dark);
    }
    .checklist-wieg li i {
      color: var(--primary-navy);
      font-size: 1.1rem;
      flex-shrink: 0;
      margin-top: 0.15rem;
    }
    .gallery-section .gallery-img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      border-radius: var(--card-radius);
    }
    .cta-anfragen-btn {
      font-family: 'Raleway', sans-serif;
      background-color: var(--white);
      color: var(--primary-navy);
      border-radius: var(--btn-radius);
      padding: 0.75rem 2.5rem;
      font-weight: 700;
      font-size: 1rem;
      text-transform: uppercase;
      border: none;
      letter-spacing: 0.03em;
      transition: background-color 0.2s, color 0.2s;
    }
    .cta-anfragen-btn:hover {
      background-color: #eef3f6;
      color: var(--primary-navy);
    }
    @media (max-width: 991.98px) {
      .gallery-section .gallery-img {
        height: 200px;
      }
    }
    @media (max-width: 575.98px) {
      .overview-grid .step-overview-card {
        padding: 1rem;
      }
      .detail-card {
        padding: 1.5rem;
      }
    }

    /*anfrageformular start*/


    .hero {
      position: relative;
      min-height: 480px;
      display: flex;
      align-items: flex-end;
      background:
        linear-gradient(90deg, rgba(0, 40, 72, 0.88) 0%, rgba(0, 53, 92, 0.68) 48%, rgba(0, 47, 82, 0.22) 100%),
        url("0_media/db_beleuchtungsmast.png") center center / cover no-repeat;
      color: var(--white);
    }

    .hero__inner {
      width: min(var(--max-width), calc(100% - 40px));
      margin: 0 auto;
      padding: 86px 0 72px;
    }

    .hero__eyebrow {
      display: inline-block;
      margin-bottom: 14px;
      padding: 7px 12px;
      border-left: 4px solid #58b7ed;
      background: rgba(255, 255, 255, 0.12);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.11em;
      text-transform: uppercase;
    }

    .hero h1 {
      max-width: 760px;
      margin: 0 0 16px;
      font-size: clamp(2.4rem, 5vw, 4.5rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
    }

    .hero p {
      max-width: 720px;
      margin: 0;
      font-size: clamp(1rem, 1.8vw, 1.25rem);
      color: rgba(255, 255, 255, 0.92);
    }
    .intro-card {
      display: grid;
      grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.75fr);
      gap: 38px;
      align-items: center;
      padding: 38px 42px;
      background: var(--white);
      border-top: 5px solid var(--wieg-blue);
      box-shadow: var(--shadow);
    }

    .intro-card h2 {
      margin: 0 0 10px;
      font-size: clamp(1.65rem, 3vw, 2.25rem);
      line-height: 1.2;
    }

    .intro-card p {
      margin: 0;
      color: var(--muted);
    }

    .intro-card__note {
      padding: 20px 22px;
      background: var(--wieg-blue-light);
      border-left: 4px solid var(--wieg-blue);
      font-size: 0.95rem;
    }

    .form-shell {
      margin-top: 34px;
      padding: 46px;
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .progress {
      display: none;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-bottom: 42px;
      height: 100%;
    }

    .progress__item {
      padding: 12px 10px;
      background: #edf1f4;
      border-top: 3px solid #b9c5cd;
      color: #52606b;
      font-size: 0.84rem;
      font-weight: 700;
      text-align: center;
    }

    .progress__item:first-child {
      background: var(--wieg-blue-light);
      border-color: var(--wieg-blue);
      color: var(--wieg-blue-dark);
    }

    .textarea-field textarea{
      height: 150px;
    }
    .choice-grid .wpcf7-form-control.wpcf7-radio{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .privacy p {
      display: flex;
      gap: 10px;
      margin: 0;
    }
    .choice1 {
      position: relative;
    }

    .choice1 input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    } 
    .choice1 input:checked ~ .wpcf7-list-item-label {        
      border-color: var(--wieg-blue);
      background: var(--wieg-blue-light);
      color: var(--wieg-blue-dark);
      }
      .choice1 .wpcf7-list-item-label {
        min-height: 62px;
        margin: 0;
        padding: 17px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border);
        background: #fbfcfd;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s ease;
      }

    .checkbox-list .wpcf7-form-control.wpcf7-checkbox{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px 18px;
    }
    .form-group.form-group--full .checkbox-list input {
  width: 20px;
  min-height: 20px;
}
.form-group.form-group--full .checkbox-list label {
  display: flex;
  align-content: center;
  gap: 10px;
}

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px 24px;
    }

    .form-group {
      min-width: 0;
    }

    .form-group--full {
      grid-column: 1 / -1;
    }

    label,
    .group-label {
      display: block;
      margin-bottom: 8px;
      font-size: 0.94rem;
      font-weight: 700;
    }

    .optional {
      color: var(--muted);
      font-weight: 400;
    }
    .checkbox-line {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .checkbox-line input {
      width: 18px;
      min-height: 18px;
      margin-top: 3px;
      accent-color: var(--wieg-blue);
    }

    .checkbox-line label {
      margin: 0;
      font-weight: 400;
    }

    .upload-box {
      padding: 30px;
      border: 2px dashed #aebcc6;
      background: #f8fafb;
      text-align: center;
    }

    .upload-box input[type="file"] {
      max-width: 520px;
      min-height: auto;
      margin: 14px auto 0;
      border: 0;
      background: transparent;
    }

    .upload-box strong {
      display: block;
      font-size: 1.08rem;
    }

    .upload-box small {
      color: var(--muted);
    }

    .privacy {
      margin-top: 10px;
      padding: 20px;
      background: #f7f9fa;
      border: 1px solid var(--border);
    }

    .privacy a {
      color: var(--wieg-blue);
      font-weight: 700;
    }

    .form-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 22px;
      margin-top: 30px;
    }

    .required-note {
      color: var(--muted);
      font-size: 0.88rem;
    }

    .submit-button {
      min-width: 230px;
      padding: 16px 24px;
      border: 0;
      border-radius: 3px;
      background: var(--wieg-blue);
      color: var(--white);
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .submit-button:hover {
      background: var(--wieg-blue-dark);
      transform: translateY(-1px);
    }

    .contact-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      margin-top: 34px;
      background: var(--wieg-blue-dark);
      color: var(--white);
    }

    .contact-strip__item {
      padding: 24px 28px;
      border-right: 1px solid rgba(255, 255, 255, 0.17);
    }

    .contact-strip__item:last-child {
      border-right: 0;
    }

    .contact-strip__item span {
      display: block;
      margin-bottom: 5px;
      color: #9fd1ee;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .contact-strip__item strong {
      font-size: 1rem;
    }
    .form-group p {
      margin: 0;
    }

    @media (max-width: 900px) {
      .intro-card {
        grid-template-columns: 1fr;
      }

      .choice-grid,
      .checkbox-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .contact-strip {
        grid-template-columns: 1fr;
      }

      .contact-strip__item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.17);
      }

      .contact-strip__item:last-child {
        border-bottom: 0;
      }
    }

    @media (max-width: 680px) {
      .hero {
        min-height: 410px;
      }

      .hero__inner,
      main {
        width: min(100% - 24px, var(--max-width));
      }

      .intro-card,
      .form-shell {
        padding: 28px 22px;
      }

      .form-grid,
      .choice-grid,
      .checkbox-list,
      .progress {
        grid-template-columns: 1fr;
      }

      .progress__item:not(:first-child) {
        display: none;
      }

      .form-actions {
        align-items: stretch;
        flex-direction: column;
      }

      .submit-button {
        width: 100%;
      }

      .choice-grid .wpcf7-form-control.wpcf7-radio {
        grid-template-columns: repeat(1, minmax(0, 1fr));
      }
      .checkbox-list .wpcf7-form-control.wpcf7-checkbox {
        grid-template-columns: repeat(1, minmax(0, 1fr));
      }
    }

    /*anfrageformular End*/

    /*Partner referenzen Start*/
    /* ===== Partner-specific styles ===== */
    .partner-card {
      background: var(--white);
      border-radius: var(--card-radius);
      padding: 0 0 1.5rem;
      box-shadow: 0 4px 16px rgba(0,0,0,0.05);
      height: 100%;
      text-align: center;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .partner-card:hover {
      box-shadow: 0 8px 28px rgba(0,0,0,0.09);
      transform: translateY(-2px);
    }
    .partner-card .partner-icon-wrap {
      width: 64px;
      height: 64px;
      background: var(--light-bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
    }
    .partner-card .partner-icon-wrap i {
      font-size: 1.6rem;
      color: var(--primary-navy);
    }
    .partner-card h5 {
      font-family: 'Raleway', sans-serif;
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--text-dark);
      margin-bottom: 0.4rem;
    }
    .partner-card .acf-field-subtitle {
      font-size: 0.88rem;
      color: var(--text-gray);
      margin-bottom: 0;
    }
    .ref-project-card {
      background: var(--white);
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0,0,0,0.05);
      height: 100%;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .ref-project-card:hover {
      box-shadow: 0 8px 28px rgba(0,0,0,0.09);
      transform: translateY(-2px);
    }
    .ref-project-card .ref-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }
    .ref-project-card .ref-body {
      padding: 1.5rem;
    }
    .ref-project-card .ref-body h5 {
      font-family: 'Raleway', sans-serif;
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--text-dark);
      margin-bottom: 0.25rem;
    }
    .ref-project-card .ref-body .acf-field-category {
      font-size: 0.82rem;
      color: var(--primary-navy);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      margin-bottom: 0.6rem;
      display: block;
    }
    .ref-project-card .ref-body .acf-field-description {
      font-size: 0.88rem;
      color: var(--text-gray);
      margin-bottom: 0;
      line-height: 1.6;
    }
    /* ===== Partner slider (show 3, scroll 1) ===== */
    .partner-slider-wrapper {
      overflow: hidden;
      margin: 0 -12px;
    }
    .partner-slider-track {
      display: flex;
      transition: transform 0.4s ease;
    }
    .partner-slide {
      flex: 0 0 calc(100% / 3);
      padding: 0 12px;
      min-width: 0;
    }
    .partner-slider-arrow {
      position: absolute;
      top: 65%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--white);
      border: 1px solid #d1d9e0;
      color: var(--primary-navy);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 5;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      transition: background 0.2s, box-shadow 0.2s;
    }
    .partner-slider-arrow:hover {
      background: var(--primary-navy);
      color: var(--white);
      border-color: var(--primary-navy);
      box-shadow: 0 4px 12px rgba(2,68,102,0.25);
    }
    .partner-slider-arrow i {
      font-size: 1.2rem;
      line-height: 1;
    }
    .partner-slider-arrow--left {
      left: -8px;
    }
    .partner-slider-arrow--right {
      right: -8px;
    }
    .partner-slider-arrow:disabled {
      opacity: 0.3;
      pointer-events: none;
    }
    .partner-card .ref-img.acf-field-image {
      height: 240px;
      object-fit: cover;
    }
    @media (max-width: 767.98px) {
      .partner-slide {
        flex: 0 0 100%;
      }
      .partner-slider-arrow--left {
        left: 4px;
      }
      .partner-slider-arrow--right {
        right: 4px;
      }
    }
    @media (max-width: 575.98px) {
      .partner-card {
        padding: 1.25rem 1rem;
      }
    }
    /*Partner referenzen End*/
/* .sub-menu li a {
    text-transform: uppercase;
}

.service-card h4 {
    text-transform: capitalize;
} */


p.contact-row.mb-1 i.bi.bi-geo-alt {
    margin: 0 0 0 -18px;
}

p.contact-row.mb-1:nth-child(2) {
    MARGIN: 0 0 0 21px;
}
.sec-lr .col-12.section-padding.sec-repeat  img {
    width: 100%;
    margin: auto !important;
    max-width: 50%;
    display: inherit;
}

.cf7-step-tab p {
    margin: 0;
}

.cf7-step-tab {
    padding: 10px 20px;
}
.form-actions.cf7-navigation p {
    width: 100%;
    display: flex;
}

button.cf7-next-button {
    background: var(--wieg-blue);
    color: #fff;
}
section.form-shell {
    overflow: hidden;
}
.Reparatur .section-padding.sec-repeat:nth-child(odd) .row {
    flex-direction: row-reverse;
}
/* ===========================
   Mobile media css
=========================== */

@media(max-width:991px){

    .navbar-nav{
        display:block;
        width:100%;
        gap:0;
    }

    .navbar-nav > li{
        width:100%;
        border-bottom:1px solid #ececec;
    }

    .navbar-nav > li > a{
        display:block;
        padding:14px 16px;
    }

    .navbar-nav .sub-menu{
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
        display:none;
        box-shadow:none;
        border-radius:0;
        background:#f7f7f7;
        padding:0;
        width:100%;
    }

    .navbar-nav li:hover > .sub-menu{
        display:block;
    }

    .navbar-nav .sub-menu .sub-menu{
        left:0;
        margin-left:0;
        background:#efefef;
    }

    .sub-menu li a{
        padding:12px 20px;
    }

    .sub-menu .sub-menu li a{
        padding-left:40px;
    }

    .menu-item-has-children > a::after{
        float:right;
    }

}

/* ===== Gallery ===== */
.gallery-img { width: 100%; height: 330px; object-fit: cover; }
@media (max-width: 767.98px) {
  .gallery-img { height: 180px; }
}

@media (max-width: 991.98px) {
  .hero-content h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .section-padding { padding: 60px 0; }
  .about-image-col img { height: 350px; border-radius: 0; }
  .about-content-inner { padding: 40px 24px; max-width: 100%; }
}
@media (max-width: 767px) {
  
.section-title {
  font-size: 2rem;
}
.hero-content h1 {
  font-size: 36px;
}
.section-hero {
  padding: 50px 0;
}
.section-padding {
  padding: 40px 0;
}
}
@media (max-width: 575.98px) {
  .hero-content h1 { font-size: 1.6rem; }
  .section-hero { min-height: 400px; }
  .about-image-col img { height: 280px; }
}
