: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;
  background: #fff;
  padding: 4px 34px;
  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;
}
/* ===========================
   Mobile
=========================== */

@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; }
}
