/******************************************************************
 WAZV Arnstadt und Umgebung
 Master Stylesheet

 Version: 3.0
 Stand: Juli 2026

 Datei:
 /templates/shaper_helixultimate/css/custom.css

 Hinweis:
 Vor dem Einspielen die vorhandene custom.css sichern.
******************************************************************/

/* ===========================
   WAZV Service-Kacheln
   =========================== */

.wazv-kachel {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    text-decoration: none !important;
    color: #222;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.wazv-kachel:hover,
.wazv-kachel:focus {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0,0,0,.13);
    border-color: #d5e3f2;
    color: inherit;
    text-decoration: none !important;
}

.wazv-kachel img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
}

.wazv-kachel h3 {
    margin: 22px 15px 10px;
    color: #004b9b;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    transition: color .25s ease;
}

.wazv-kachel:hover h3 {
    color: #005fc0;
}

.wazv-kachel p {
    margin: 0 20px 28px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    min-height: 90px;
}

/* Tablet */
@media (max-width: 991px) {
    .wazv-kachel img {
        height: 165px;
    }

    .wazv-kachel h3 {
        font-size: 1.65rem;
    }

    .wazv-kachel p {
        min-height: 80px;
    }
}

/* Smartphone */
@media (max-width: 575px) {
    .wazv-kachel img {
        height: 160px;
    }

    .wazv-kachel h3 {
        font-size: 1.45rem;
    }

    .wazv-kachel p {
        font-size: .95rem;
        min-height: auto;
    }
}

/* ==========================================================
   WAZV Bereitschaftsdienst
   ========================================================== */

.wazv-notdienst {
    max-width: 1050px;
    margin: 35px auto;
    padding: 28px 36px 22px;
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-left: 6px solid #0056a8;
    border-radius: 18px;
    box-shadow:
        0 12px 30px rgba(0,0,0,.06),
        0 3px 10px rgba(0,0,0,.03);
}

.wazv-notdienst-top {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 24px;
}

.wazv-notdienst-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 50%;
    border: 1px solid #dfe8f3;
    color: #0056a8;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.wazv-notdienst-headline {
    flex: 1;
}

.wazv-notdienst-headline span {
    display: block;
    margin-bottom: 4px;
    color: #5db126;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.wazv-notdienst-headline h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    color: #0056a8;
}

.wazv-notdienst-headline p {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
}

.wazv-notdienst-nummern {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin: 24px 0 16px;
}

.wazv-notdienst-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    min-height: 100px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.wazv-notdienst-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    text-decoration: none !important;
}

.notdienst-symbol {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 14px rgba(0,0,0,.08);
    flex-shrink: 0;
    z-index: 2;
}

.wazv-notdienst-box strong {
    display: block;
    margin-bottom: 3px;
    font-size: 18px;
    font-weight: 800;
    z-index: 2;
    position: relative;
}

.wazv-notdienst-box b {
    display: block;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .3px;
    z-index: 2;
    position: relative;
}

.wazv-notdienst-box small {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #475569;
    z-index: 2;
    position: relative;
}

.wazv-notdienst-box.trinkwasser {
    background: #f8fcff;
    border: 2px solid #70baff;
}

.wazv-notdienst-box.trinkwasser strong,
.wazv-notdienst-box.trinkwasser b,
.wazv-notdienst-box.trinkwasser .notdienst-symbol,
.wazv-notdienst-box.trinkwasser .notdienst-symbol i {
    color: #0056a8 !important;
}

.wazv-notdienst-box.abwasser {
    background: #fbfef8;
    border: 2px solid #79c85c;
}

.wazv-notdienst-box.abwasser strong,
.wazv-notdienst-box.abwasser b,
.wazv-notdienst-box.abwasser .notdienst-symbol,
.wazv-notdienst-box.abwasser .notdienst-symbol i {
    color: #3d9729 !important;
}

.wazv-notdienst-info {
    background: #f8fafc;
    border: 1px solid #e5edf5;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #4b5563;
}

.wazv-notdienst-info i {
    color: #0056a8 !important;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .wazv-notdienst {
        max-width: 100%;
        padding: 22px 18px;
    }

    .wazv-notdienst-top {
        flex-direction: column;
        gap: 15px;
    }

    .wazv-notdienst-nummern {
        grid-template-columns: 1fr;
    }

    .wazv-notdienst-headline h2 {
        font-size: 22px;
    }
}

/* ==========================================================
   WAZV Kontaktbereich
   ========================================================== */

.wazv-kontaktbereich {
    max-width: 1050px;
    margin: 60px auto 0;
}

.wazv-kontakt-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 28px;
    margin-bottom: 32px;
}

.wazv-kontakt-card {
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    padding: 24px 30px 28px;
    text-align: center;
    box-shadow:
        0 12px 30px rgba(0,0,0,.05),
        0 3px 10px rgba(0,0,0,.03);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.wazv-kontakt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0,0,0,.10);
    border-color: #d5e3f2;
}

.wazv-kontakt-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dfe8f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056a8;
    font-size: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.wazv-kontakt-card h3 {
    margin: 0 0 16px;
    color: #0056a8;
    font-size: 26px;
    font-weight: 800;
}

.wazv-kontakt-card p {
    margin: 12px 0;
    color: #4b5563;
    line-height: 1.65;
}

.wazv-kontakt-card strong {
    color: #263238;
}

.wazv-kontakt-card a {
    color: #0056a8;
    text-decoration: none;
}

.wazv-kontakt-card a:hover {
    text-decoration: underline;
}

.wazv-kontakt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    margin-top: 16px;
    padding: 12px 26px;
    border-radius: 40px;
    background: #2452ad;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.wazv-kontakt-button:hover {
    background: #00488d;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,86,168,.25);
    text-decoration: none !important;
}

/* Erreichbarkeit */

.wazv-erreichbarkeit {
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    padding: 32px 34px 28px;
    box-shadow:
        0 12px 30px rgba(0,0,0,.05),
        0 3px 10px rgba(0,0,0,.03);
}

.wazv-erreichbarkeit-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    text-align: left;
}

.wazv-erreichbarkeit-head .wazv-kontakt-icon {
    margin: 0;
    flex-shrink: 0;
}

.wazv-erreichbarkeit-head span {
    display: block;
    color: #58b230;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.wazv-erreichbarkeit-head h3 {
    margin: 2px 0 0;
    color: #0056a8;
    font-size: 28px;
    font-weight: 800;
}

.wazv-zeiten-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}

.wazv-zeiten-box {
    background: #fafcff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    padding: 24px;
    overflow: hidden;
}

.wazv-zeiten-box.telefonisch {
    border-top: 5px solid #0056a8;
}

.wazv-zeiten-box.besuch {
    border-top: 5px solid #63b52d;
}

.wazv-zeiten-box h4 {
    margin: 0 0 22px;
    font-size: 22px;
    color: #263238;
    font-weight: 800;
}

.wazv-zeiten-box h4 i {
    margin-right: 10px;
    color: #0056a8;
}

.wazv-zeit-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f7;
}

.wazv-zeit-row:last-child {
    border-bottom: none;
}

.wazv-zeit-row strong {
    width: 175px;
    font-size: 15px;
    color: #263238;
}

.wazv-zeit-row span {
    flex: 1;
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.wazv-zeit-group {
    margin: 18px 0 2px;
    padding-top: 16px;
    border-top: 1px solid #dfe8f3;
    color: #0056a8;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.wazv-kontakt-hinweis {
    margin-top: 26px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e5edf5;
    border-radius: 10px;
    color: #4b5563;
    font-size: 14px;
}

.wazv-kontakt-hinweis i {
    color: #0056a8;
    margin-right: 8px;
}

@media (max-width: 991px) {
    .wazv-kontakt-grid,
    .wazv-zeiten-grid {
        grid-template-columns: 1fr;
    }

    .wazv-zeit-row {
        flex-direction: column;
        gap: 8px;
    }

    .wazv-zeit-row strong {
        width: auto;
    }
}

@media (max-width: 575px) {
    .wazv-kontaktbereich {
        margin-top: 45px;
    }

    .wazv-kontakt-card,
    .wazv-erreichbarkeit {
        padding: 22px;
    }

    .wazv-erreichbarkeit-head {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .wazv-erreichbarkeit-head .wazv-kontakt-icon {
        margin: 0 auto;
    }

    .wazv-erreichbarkeit-head h3 {
        font-size: 25px;
    }

    .wazv-kontakt-card h3 {
        font-size: 24px;
    }

    .wazv-zeiten-box h4 {
        font-size: 20px;
    }
}

/* ===========================
   WAZV Footer
   =========================== */

#sp-footer {
    background: #1f3b78;
    color: #ffffff;
    padding: 45px 0 30px;
}

#sp-footer .container {
    max-width: 1200px;
}

/* Helix/Footer-Linien und doppelte Modul-Trenner entfernen */
#sp-footer .container-inner,
#sp-footer .row,
#sp-footer .sp-module,
#sp-footer .sp-module-content,
#sp-footer .sp-module-title {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    background-image: none !important;
}

#sp-footer .container-inner::before,
#sp-footer .container-inner::after,
#sp-footer .row::before,
#sp-footer .row::after,
#sp-footer .sp-module::before,
#sp-footer .sp-module::after,
#sp-footer .sp-module-content::before,
#sp-footer .sp-module-content::after,
#sp-footer .sp-module-title::before,
#sp-footer .sp-module-title::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

#sp-footer .wazv-footer-separator {
    display: none !important;
}

#sp-footer h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 26px;
}

#sp-footer p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 16px;
}

#sp-footer strong {
    color: #ffffff;
    font-weight: 800;
}

#sp-footer a {
    color: #dbeafe;
    text-decoration: none;
}

#sp-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.wazv-footer-brand h3 {
    max-width: 560px;
}

.wazv-footer-copy {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255,255,255,.75);
}

.wazv-footer-links {
    width: 100%;
    text-align: right;
}

.wazv-footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wazv-footer-links li {
    margin-bottom: 12px;
}

.wazv-footer-links a {
    display: inline-block;
    font-size: 15px;
    transition: transform .2s ease, color .2s ease;
}

.wazv-footer-links a:hover {
    transform: translateX(-5px);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .wazv-footer-links {
        text-align: left;
        margin-top: 30px;
    }

    .wazv-footer-links a:hover {
        transform: translateX(-3px);
    }
}

/* ===============================
   WAZV Online-Dienste
================================ */

.wazv-service-card{

    display:flex;
    flex-direction:column;

    height:100%;

    padding:45px;

    background:#fff;

    border-radius:18px;

    border:1px solid #E5EAF0;

    text-decoration:none;

    color:#333;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

    transition:.30s ease;

}

.wazv-service-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

    text-decoration:none;

}

.wazv-service-icon{

    width:150px;

    height:150px;

    margin:0 auto 25px;

}

.wazv-service-icon img{

    width:100%;

    display:block;

}

.wazv-service-card h3{

    text-align:center;

    color:#164A96;

    font-size:38px;

    font-weight:700;

    margin-bottom:25px;

}

.wazv-service-card p{

    text-align:center;

    font-size:21px;

    line-height:1.7;

    color:#444;

    margin-bottom:35px;

}

.wazv-service-card ul{

    list-style:none;

    padding:0;

    margin:0 0 40px;

}

.wazv-service-card li{

    position:relative;

    padding-left:34px;

    margin-bottom:16px;

    font-size:18px;

    line-height:1.6;

}

.wazv-service-card li:before{

    content:"?";

    position:absolute;

    left:0;

    color:#5FAF3A;

    font-weight:bold;

    font-size:20px;

}

.wazv-service-button{

    margin-top:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    padding:18px;

    border-radius:10px;

    background:#164A96;

    color:#fff;

    font-weight:700;

    font-size:20px;

    transition:.25s;

}

.wazv-service-card:hover .wazv-service-button{

    background:#0F3C83;

}

.wazv-service-button i{

    transition:.25s;

}

.wazv-service-card:hover .wazv-service-button i{

    transform:translateX(5px);

}

@media(max-width:991px){

.wazv-service-card{

padding:35px;

}

.wazv-service-icon{

width:120px;

height:120px;

}

.wazv-service-card h3{

font-size:30px;

}

.wazv-service-card p{

font-size:18px;

}

}

.wazv-vorteile-card {
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 100%);
  border: 1px solid #d8e7f7;
  border-radius: 14px;
  padding: 34px 38px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.wazv-vorteile-card h3 {
  color: #164A96;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 28px;
}

.wazv-vorteile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.wazv-vorteil {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-right: 22px;
  border-right: 1px solid #d5e0ec;
}

.wazv-vorteil:last-child {
  border-right: none;
}

.wazv-vorteil-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #164A96;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
}

.wazv-vorteil strong {
  display: block;
  color: #164A96;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.wazv-vorteil p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .wazv-vorteile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wazv-vorteil {
    border-right: none;
  }
}

@media (max-width: 575px) {
  .wazv-vorteile-grid {
    grid-template-columns: 1fr;
  }

  .wazv-vorteile-card {
    padding: 28px 24px;
  }
}

.wazv-digitalzaehler-card {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 260px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 60, 100, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wazv-digitalzaehler-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.wazv-digitalzaehler-image {
  background: linear-gradient(135deg, #004b73, #0b7fab);
  position: relative;
  overflow: hidden;
}

.wazv-digitalzaehler-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wazv-digitalzaehler-content {
  padding: 42px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wazv-digitalzaehler-kicker {
  color: #5FAF3A;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wazv-digitalzaehler-content h3 {
  margin: 0 0 16px 0;
  color: #003d5c;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
}

.wazv-digitalzaehler-content p {
  margin: 0 0 26px 0;
  color: #3d4a55;
  font-size: 18px;
  line-height: 1.65;
  max-width: 760px;
}

.wazv-digitalzaehler-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  background: #5FAF3A;
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  padding: 13px 24px;
  border-radius: 10px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.wazv-digitalzaehler-card:hover .wazv-digitalzaehler-button {
  background: #4f9d2f;
  transform: translateX(3px);
}

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

  .wazv-digitalzaehler-image {
    height: 220px;
  }

  .wazv-digitalzaehler-content {
    padding: 30px 26px;
  }

  .wazv-digitalzaehler-content h3 {
    font-size: 28px;
  }

  .wazv-digitalzaehler-content p {
    font-size: 16px;
  }
}

/* ===========================
   WAZV Job & Karriere
   =========================== */

.wazv-job-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    color: #1f2f36;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.wazv-job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,.18);
    text-decoration: none !important;
    color: #1f2f36;
}


.wazv-job-card-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.wazv-job-card-content {
    padding: 35px 40px;
    text-align: center;
}

.wazv-job-card-content h3 {
    margin: 0 0 16px;
    color: #2F6FB3;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.wazv-job-card-content p {
    max-width: 820px;
    margin: 0 auto 24px;
    color: #4A5560;
    line-height: 1.7;
    font-size: 16px;
}

.wazv-job-card-content span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    background: #5FAF3A;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.wazv-job-card:hover span {
    background: #4D9832;
    transform: translateY(-2px);
}

/* Hinweisbox */

.wazv-job-hinweis {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin:0;
    padding: 20px 24px;
    border-left: 5px solid #2F6FB3;
    background: #F7FAFD;
    border-radius: 10px;
}

.wazv-job-hinweis i {
    font-size: 28px;
    color: #2F6FB3;
    margin-top: 2px;
    flex-shrink: 0;
}

.wazv-job-hinweis-text h4 {
    margin: 0 0 6px;
    color: #2F6FB3;
    font-size: 22px;
    font-weight: 700;
}

.wazv-job-hinweis-text p {
    margin: 0;
    color: #4A5560;
    line-height: 1.7;
    font-size: 16px;
}

/* Buttons Stellenangebote */

.wazv-job-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.wazv-job-buttons a {
    display: inline-block;
    min-width: 340px;
    padding: 14px 24px;
    background: #5FAF3A;
    color: #ffffff !important;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .25s ease, transform .25s ease;
}

.wazv-job-buttons a:hover {
    background: #4D9832;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Mobil */

@media (max-width: 768px) {
    .wazv-job-card-image {
        height: 180px;
    }

    .wazv-job-card-content {
        padding: 25px;
    }

    .wazv-job-card-content h3 {
        font-size: 26px;
    }

    .wazv-job-card-content p {
        max-width: 100%;
        font-size: 15px;
    }

    .wazv-job-buttons a {
        width: 100%;
        min-width: 0;
    }

    .wazv-job-hinweis {
        padding: 18px 20px;
    }
}

.wazv-abwasser-kachel{
    display:block;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
    color:#1f2933;
    box-shadow:0 10px 25px rgba(0,0,0,.10);
    transition:.25s;
    height:100%;
    text-align:center;
}

.wazv-abwasser-kachel:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 36px rgba(0,0,0,.16);
    text-decoration:none;
}

.wazv-abwasser-kachel-bild{
    height:230px;
    overflow:hidden;
}

.wazv-abwasser-kachel-bild img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.4s;
}

.wazv-abwasser-kachel:hover img{
    transform:scale(1.05);
}

.wazv-abwasser-kachel-inhalt{
    padding:30px 26px;
}

.wazv-abwasser-kachel-inhalt h3{
    margin:0 0 15px;
    color:#005B96;
    font-size:26px;
    font-weight:700;
    line-height:1.3;
}

.wazv-abwasser-kachel-inhalt p{
    margin:0;
    color:#555;
    font-size:16px;
    line-height:1.7;
}

@media(max-width:991px){

    .wazv-abwasser-kachel-bild{
        height:200px;
    }

    .wazv-abwasser-kachel-inhalt{
        padding:25px 20px;
    }

}

.wazv-info-card {
  display: block;
  width: 100%;
  background: #ffffff;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wazv-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.13);
}

.wazv-info-card-image {
  width: 100%;
  height: 230px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wazv-info-card-content {
  padding: 32px 34px 34px;
  text-align: center;
}

.wazv-info-card-content h3 {
  margin: 0 0 18px;
  color: #005b96;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
}

.wazv-info-card-content p {
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.75;
}

/* ===========================
   WAZV Standorte
   =========================== */

.wazv-standort-card {
    display: flex;
    flex-direction: column;
    height: 620px;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    border: 1px solid #dbe6f3;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,64,128,.08);
    text-align: center;
    text-decoration: none !important;
    color: #4b5563;
    transition: transform .25s ease, box-shadow .25s ease;
}

.wazv-standort-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,64,128,.14);
    text-decoration: none !important;
    color: #4b5563;
}

.wazv-standort-bild {
    width: 100%;
    height: 230px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f8fc;
}

.wazv-standort-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bild bleibt beim Hover ruhig */
.wazv-standort-card:hover .wazv-standort-bild img {
    transform: none;
}

.wazv-standort-inhalt {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 28px 26px 28px;
}

.wazv-standort-card h3 {
    margin: 0 0 18px;
    color: #005ca9;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
}

.wazv-standort-card p {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}

.wazv-standort-card strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2933;
    font-size: 15px;
    font-weight: 800;
}

.wazv-standort-card span {
    color: #0067c5;
}

.wazv-standort-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 170px;
    margin-top: auto;
    padding: 13px 32px;
    border-radius: 999px;
    background: #2858b8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    transition: background .25s ease;
}

.wazv-standort-card:hover .wazv-standort-button {
    background: #203f86;
}

@media (max-width: 767px) {
    .wazv-standort-card {
        height: auto;
    }

    .wazv-standort-bild {
        height: 210px;
    }

    .wazv-standort-inhalt {
        padding: 26px 22px 28px;
    }

    .wazv-standort-card h3 {
        font-size: 24px;
    }
}

/* ===============================
   WAZV Akkordeon
================================ */

.wazv-accordion .sppb-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    overflow: hidden;
}

.wazv-accordion .sppb-panel-heading {
    padding: 16px 22px;
    transition: all 0.25s ease;
}

.wazv-accordion .sppb-panel-heading:hover {
    background: #f5f9fe;
}

.wazv-accordion .sppb-panel-title {
    color: #004B9B;
    font-weight: 700;
}

.wazv-accordion .sppb-panel-heading:hover .sppb-panel-title {
    color: #5FAF3A;
}
/* ======================================================
   WAZV – HEADER, LOGO UND HAUPTNAVIGATION
   Helix Ultimate / Joomla
====================================================== */


/* ======================================================
   1. HEADER
====================================================== */

#sp-header {
    position: relative;
    z-index: 1000;
    height: 110px;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(0, 47, 100, 0.08);
    overflow: visible !important;
}

#sp-header .container,
#sp-header .container-inner {
    height: 100%;
    overflow: visible !important;
}

/* Wichtig: Logo und Navigation dürfen nicht umbrechen */
#sp-header .row {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    height: 100%;
    overflow: visible !important;
}


/* ======================================================
   2. LOGOSPALTE
====================================================== */

#sp-logo {
    position: relative;
    z-index: 1010;

    flex: 0 0 170px !important;
    width: 170px !important;
    max-width: 170px !important;
    height: 110px;

    overflow: visible !important;
}

#sp-logo .sp-column {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible !important;
}


/* ======================================================
   3. LOGO
====================================================== */

#sp-logo .logo {
    position: absolute;
    top: 5px;
    left: 12px;
    z-index: 1010;

    display: block;

    width: 150px !important;
    height: auto !important;
    margin: 0 !important;

    overflow: visible !important;
}

#sp-logo .logo img {
    display: block;

    width: 150px !important;
    min-width: 150px !important;
    max-width: none !important;

    height: auto !important;
    max-height: none !important;

    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

#sp-logo .logo:hover img {
    transform: translateY(-2px);
    filter: drop-shadow(0 5px 7px rgba(0, 50, 100, 0.12));
}


/* ======================================================
   4. MENÜSPALTE
====================================================== */

#sp-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;

    height: 110px;
}

#sp-menu .sp-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    height: 100%;
    min-width: 0;
}

.sp-megamenu-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    min-width: 0;
}

.sp-megamenu-parent {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;

    gap: 2px;
    margin: 0;
    padding: 0;

    white-space: nowrap;
}


/* ======================================================
   5. HAUPTMENÜ-LINKS
====================================================== */

.sp-megamenu-parent > li {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 10px !important;

    color: #263443 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;

    background: transparent !important;
    border: 0;
    border-radius: 7px;
    box-shadow: none !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* Alte Helix-Linien deaktivieren */

.sp-megamenu-parent > li > a::before,
.sp-megamenu-parent > li > a::after,
.sp-megamenu-parent > li > span::before,
.sp-megamenu-parent > li > span::after {
    display: none !important;
    content: none !important;
}


/* Hover */

.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li:hover > span {
    color: #004b9b !important;
    background: rgba(0, 75, 155, 0.05) !important;
}


/* Aktiver Menüpunkt */

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span,
.sp-megamenu-parent > li.current-item > a,
.sp-megamenu-parent > li.current-item > span,
.sp-megamenu-parent > li.current-menu-item > a,
.sp-megamenu-parent > li.current-menu-item > span {
    color: #004b9b !important;
    background: transparent !important;
    font-weight: 600;
    box-shadow: none !important;
}


/* Aktiver Menüpunkt beim Hover */

.sp-megamenu-parent > li.active:hover > a,
.sp-megamenu-parent > li.active:hover > span,
.sp-megamenu-parent > li.current-item:hover > a,
.sp-megamenu-parent > li.current-item:hover > span,
.sp-megamenu-parent > li.current-menu-item:hover > a,
.sp-megamenu-parent > li.current-menu-item:hover > span {
    color: #004b9b !important;
    background: rgba(0, 75, 155, 0.05) !important;
}


/* Tastaturfokus */

.sp-megamenu-parent > li > a:focus-visible,
.sp-megamenu-parent > li > span:focus-visible {
    color: #004b9b !important;
    background: rgba(0, 75, 155, 0.05) !important;

    outline: 3px solid rgba(0, 75, 155, 0.24);
    outline-offset: 2px;
}


/* ======================================================
   6. DROPDOWN-PFEILE
====================================================== */

.sp-megamenu-parent .menu-toggler,
.sp-megamenu-parent .sp-menu-item > a .menu-toggler,
.sp-megamenu-parent .sp-menu-item > span .menu-toggler {
    position: relative;
    top: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 0;
    margin-left: 6px;

    line-height: 1;
    vertical-align: middle;

    transform: none;
}

.sp-megamenu-parent > li:hover > a .menu-toggler,
.sp-megamenu-parent > li:hover > span .menu-toggler,
.sp-megamenu-parent > li.active > a .menu-toggler,
.sp-megamenu-parent > li.active > span .menu-toggler {
    color: #004b9b;
}


/* ======================================================
   7. DROPDOWN-MENÜ
====================================================== */

.sp-megamenu-parent .sp-dropdown {
    margin-top: -1px;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner,
.sp-dropdown-main .sp-dropdown-inner {
    min-width: 240px;
    padding: 10px 0;

    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 12px;

    box-shadow:
        0 12px 30px rgba(0, 30, 70, 0.12),
        0 3px 8px rgba(0, 30, 70, 0.06);

    overflow: hidden;
}

.sp-megamenu-parent .sp-dropdown ul {
    margin: 0;
    padding: 0;
}

.sp-megamenu-parent .sp-dropdown li {
    margin: 0;
    padding: 0;
}

.sp-megamenu-parent .sp-dropdown li > a,
.sp-megamenu-parent .sp-dropdown li > span {
    display: block;

    margin: 2px 8px;
    padding: 11px 12px !important;

    color: #263443 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;

    background: transparent !important;
    border-radius: 7px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        padding-left 0.2s ease;
}


/* Keine Linien innerhalb der Dropdowns */

.sp-megamenu-parent .sp-dropdown li > a::before,
.sp-megamenu-parent .sp-dropdown li > a::after,
.sp-megamenu-parent .sp-dropdown li > span::before,
.sp-megamenu-parent .sp-dropdown li > span::after {
    display: none !important;
    content: none !important;
}


/* Dropdown-Hover und aktiver Eintrag */

.sp-megamenu-parent .sp-dropdown li:hover > a,
.sp-megamenu-parent .sp-dropdown li:hover > span,
.sp-megamenu-parent .sp-dropdown li.active > a,
.sp-megamenu-parent .sp-dropdown li.active > span,
.sp-megamenu-parent .sp-dropdown li.current-item > a,
.sp-megamenu-parent .sp-dropdown li.current-item > span,
.sp-megamenu-parent .sp-dropdown li.current-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.current-menu-item > span {
    color: #004b9b !important;
    background: #eef6ff !important;
    padding-left: 16px !important;
}


/* Tastaturfokus im Dropdown */

.sp-megamenu-parent .sp-dropdown li > a:focus-visible,
.sp-megamenu-parent .sp-dropdown li > span:focus-visible {
    color: #004b9b !important;
    background: #eef6ff !important;

    outline: 2px solid rgba(0, 75, 155, 0.28);
    outline-offset: -2px;
}


/* ======================================================
   8. SUCHFELD
====================================================== */

#sp-header .search,
#sp-header .mod-search,
#sp-header .finder {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

#sp-header .search input,
#sp-header .search .form-control,
#sp-header .mod-search input,
#sp-header .finder input,
#sp-header input[type="search"],
#sp-header input[type="text"] {
    width: 208px;
    height: 40px;
    padding: 8px 13px;

    color: #263443;
    font-size: 14px;

    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: none;

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

#sp-header .search input:hover,
#sp-header .search .form-control:hover,
#sp-header .mod-search input:hover,
#sp-header .finder input:hover,
#sp-header input[type="search"]:hover,
#sp-header input[type="text"]:hover {
    border-color: #9eb4ca;
}

#sp-header .search input:focus,
#sp-header .search .form-control:focus,
#sp-header .mod-search input:focus,
#sp-header .finder input:focus,
#sp-header input[type="search"]:focus,
#sp-header input[type="text"]:focus {
    border-color: #004b9b;
    box-shadow: 0 0 0 3px rgba(0, 75, 155, 0.13);
    outline: none;
}

#sp-header input::placeholder {
    color: #6d7885;
    opacity: 1;
}


/* ======================================================
   9. HAMBURGER / OFFCANVAS
====================================================== */

.offcanvas-toggler {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    min-height: 42px;

    margin-left: 16px;
    padding: 8px;

    background: transparent;
    border-radius: 7px;

    transition: background-color 0.2s ease;
}

.offcanvas-toggler:hover {
    background: #eef6ff;
}

.burger-icon {
    width: 26px;
}

.burger-icon > span {
    height: 2px;
    background: #1f2937;
    transition: background-color 0.2s ease;
}

.offcanvas-toggler:hover .burger-icon > span {
    background: #004b9b;
}

.offcanvas-toggler:focus-visible {
    outline: 3px solid rgba(0, 75, 155, 0.25);
    outline-offset: 2px;
}


/* ======================================================
   10. SEITENBEREICH UNTER DEM HEADER
====================================================== */

#sp-main-body,
.body-wrapper,
#sp-page-builder {
    position: relative;
}


/* ======================================================
   11. KLEINERE DESKTOPS
====================================================== */

@media (max-width: 1399px) {

    #sp-logo {
        flex-basis: 155px !important;
        width: 155px !important;
        max-width: 155px !important;
    }

    #sp-logo .logo {
        left: 5px;
        width: 140px !important;
    }

    #sp-logo .logo img {
        width: 140px !important;
        min-width: 140px !important;
    }

    .sp-megamenu-parent {
        gap: 0;
    }

    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding-right: 7px !important;
        padding-left: 7px !important;
        font-size: 13px;
    }

    #sp-header .search input,
    #sp-header .search .form-control,
    #sp-header .mod-search input,
    #sp-header .finder input,
    #sp-header input[type="search"],
    #sp-header input[type="text"] {
        width: 180px;
    }

    .offcanvas-toggler {
        margin-left: 10px;
    }
}


/* ======================================================
   12. TABLET / MOBILE
====================================================== */

@media (max-width: 991px) {

    #sp-header,
    #sp-logo,
    #sp-menu {
        height: 82px;
    }

    #sp-header .row {
        flex-wrap: nowrap !important;
    }

    #sp-logo {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }

    #sp-logo .logo {
        position: relative;
        top: auto;
        left: auto;

        display: flex;
        align-items: center;

        width: auto !important;
        height: 82px !important;
    }

    #sp-logo .logo img {
        width: auto !important;
        min-width: 0 !important;
        max-width: 130px !important;

        height: auto !important;
        max-height: 72px !important;
    }

    #sp-menu {
        flex: 1 1 auto !important;
        width: auto !important;
    }

    #sp-header .search,
    #sp-header .mod-search,
    #sp-header .finder {
        display: none;
    }

    .offcanvas-toggler {
        margin-left: 10px;
    }
}


/* ======================================================
   13. KLEINE SMARTPHONES
====================================================== */

@media (max-width: 575px) {

    #sp-header,
    #sp-logo,
    #sp-menu {
        height: 74px;
    }

    #sp-logo .logo {
        height: 74px !important;
    }

    #sp-logo .logo img {
        max-width: 115px !important;
        max-height: 66px !important;
    }

    .offcanvas-toggler {
        min-width: 40px;
        min-height: 40px;
        margin-left: 6px;
    }
}


/* ======================================================
   14. REDUZIERTE BEWEGUNGEN
====================================================== */

@media (prefers-reduced-motion: reduce) {

    #sp-logo .logo img,
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span,
    .sp-megamenu-parent .sp-dropdown li > a,
    .sp-megamenu-parent .sp-dropdown li > span,
    #sp-header input,
    .offcanvas-toggler,
    .burger-icon > span {
        transition: none !important;
    }

    #sp-logo .logo:hover img {
        transform: none;
    }
}

/* ==========================================================
   WAZV OFFCANVAS-MENÜ
   Helix Ultimate / Joomla 6
   ========================================================== */

/* Grundfläche */
.offcanvas-menu {
    background: #ffffff !important;
    color: #374151;
}

/* Blauer Kopfbereich */
.offcanvas-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 170px;
    background: linear-gradient(135deg, #004b9b 0%, #0065b3 55%, #203f86 100%);
    z-index: 0;
}

/* Originales WAZV-Logo */
.offcanvas-menu::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 22px;
    width: 245px;
    height: 125px;
    background: rgba(255,255,255,.98)
        url("/images/wazv/bilder/template/wazv_logo.png")
        center / contain no-repeat;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,35,80,.20);
    z-index: 2;
}

/* Menüinhalt unter den Kopf schieben */
.offcanvas-menu .offcanvas-inner {
    position: relative;
    z-index: 3;
    padding-top: 190px !important;
}

/* Schließen-Schaltfläche */
.offcanvas-menu .close-offcanvas {
    top: 22px !important;
    right: 18px !important;
    width: 36px;
    height: 36px;
    opacity:.9;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: rgba(0,45,100,.38) !important;
    border: 1px solid rgba(255,255,255,.65) !important;
    border-radius: 50%;
    z-index: 20 !important;
    transition: background-color .25s ease, transform .25s ease;
}

.offcanvas-menu .close-offcanvas:hover,
.offcanvas-menu .close-offcanvas:focus {
    color: #ffffff !important;
    background: rgba(0,35,85,.72) !important;
    transform: rotate(90deg);
}

/* Hauptliste */
.offcanvas-menu .offcanvas-inner > .mod-menu,
.offcanvas-menu .offcanvas-inner ul.menu {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e5edf5;
    list-style: none !important;
}

/* Hauptlinks */
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: 15px 48px 15px 54px !important;
    color: #314965 !important;
    background: transparent !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: color .22s ease, background-color .22s ease, padding-left .22s ease;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li > span:hover {
    color: #004b9b !important;
    background: #f1f7fb !important;
    padding-left: 59px !important;
}

/* Aktiver Hauptpunkt */
.offcanvas-menu .offcanvas-inner ul.menu > li.current > a,
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu > li.current-menu-item > a {
    color: #004b9b !important;
    background: #edf6fc !important;
    font-weight: 700 !important;
    box-shadow: inset 4px 0 0 #079bd8;
}

/* Themen-Icons links */
.offcanvas-menu .offcanvas-inner ul.menu > li > a::before {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 26px;
    transform: translateY(-50%);
    text-align: center;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-size: 20px;
    font-weight: 900;
    color: #075aa9;
}

.offcanvas-menu a[href*="trinkwasser"]::before {
    content: "\f043";
    color: #079bd8;
}

.offcanvas-menu a[href*="abwasser"]::before {
    content: "\f06c";
    color: #43a83b;
}

.offcanvas-menu a[href*="formular"]::before {
    content: "\f15c";
    color: #0872ce;
}

.offcanvas-menu a[href*="online"]::before {
    content: "\f108";
    color: #075eb1;
}

.offcanvas-menu a[href*="verband"]::before {
    content: "\f19c";
    color: #0756a5;
}

.offcanvas-menu a[href*="foerder"]::before,
.offcanvas-menu a[href*="förder"]::before {
    content: "\f4d8";
    color: #43a83b;
}

.offcanvas-menu a[href*="ausschreibung"]::before {
    content: "\f15c";
    color: #0872ce;
}

.offcanvas-menu a[href*="job"]::before,
.offcanvas-menu a[href*="karriere"]::before {
    content: "\f0c0";
    color: #075eb1;
}

/* Helix-Untermenü-Schalter */
.offcanvas-menu .menu-toggler {
    position: absolute !important;
    top: 12px !important;
    right: 8px !important;
    width: 38px;
    height: 38px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    color: #314965 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50%;
    z-index: 10;
    transition: color .22s ease, background-color .22s ease;
}

.offcanvas-menu .menu-toggler:hover,
.offcanvas-menu .menu-toggler:focus {
    color: #004b9b !important;
    background: #eaf3fa !important;
}

/* Untermenü */
.offcanvas-menu .mod-menu__sub,
.offcanvas-menu .menu-child,
.offcanvas-menu .nav-child {
    width: 100% !important;
    margin: 0 !important;
    padding: 6px 14px 14px 54px !important;
    background: #f7fafc !important;
    list-style: none !important;
}

.offcanvas-menu .mod-menu__sub li,
.offcanvas-menu .menu-child li,
.offcanvas-menu .nav-child li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Unterpunkte */
.offcanvas-menu .mod-menu__sub li > a,
.offcanvas-menu .menu-child li > a,
.offcanvas-menu .nav-child li > a {
    display: block !important;
    margin: 2px 0;
    padding: 8px 12px !important;
    color: #42566f !important;
    background: transparent !important;
    border-radius: 7px;
    font-size: 15px !important;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color .2s ease, background-color .2s ease, padding-left .2s ease;
}

/* Keine Hauptmenü-Icons in Untermenüs */
.offcanvas-menu .mod-menu__sub li > a::before,
.offcanvas-menu .menu-child li > a::before,
.offcanvas-menu .nav-child li > a::before {
    display: none !important;
    content: none !important;
}

.offcanvas-menu .mod-menu__sub li > a:hover,
.offcanvas-menu .mod-menu__sub li > a:focus,
.offcanvas-menu .menu-child li > a:hover,
.offcanvas-menu .menu-child li > a:focus,
.offcanvas-menu .nav-child li > a:hover,
.offcanvas-menu .nav-child li > a:focus {
    color: #004b9b !important;
    background: #eaf3fa !important;
    padding-left: 17px !important;
}

.offcanvas-menu .mod-menu__sub li.current > a,
.offcanvas-menu .mod-menu__sub li.active > a,
.offcanvas-menu .menu-child li.current > a,
.offcanvas-menu .menu-child li.active > a,
.offcanvas-menu .nav-child li.current > a,
.offcanvas-menu .nav-child li.active > a {
    color: #004b9b !important;
    background: #e6f1fb !important;
    font-weight: 700 !important;
}

/* Geöffneten Hauptmenüpunkt */
.offcanvas-menu .menu-parent.menu-open > a,
.offcanvas-menu .menu-parent.open > a{

    background:#EAF4FF !important;

    color:#0056A8 !important;

    font-weight:700 !important;

    border-left:none !important;

    padding-left:54px !important;
}

.offcanvas-menu .menu-parent.menu-open > a::before,
.offcanvas-menu .menu-parent.open > a::before{

    color:#0056A8 !important;
}

.offcanvas-menu .menu-parent.menu-open > .menu-toggler,
.offcanvas-menu .menu-parent.open > .menu-toggler{

    color:#0056A8 !important;
}
/* Mobile Feinabstimmung */
@media (max-width: 480px) {
    .offcanvas-menu::before {
        height: 160px;
    }

    .offcanvas-menu::after {
        top: 20px;
        left: 18px;
        width: 205px;
        height: 108px;
    }

    .offcanvas-menu .offcanvas-inner {
        padding-top: 180px !important;
    }

    .offcanvas-menu .close-offcanvas {
        top: 20px !important;
        right: 14px !important;
    }

    .offcanvas-menu .offcanvas-inner ul.menu > li > a,
    .offcanvas-menu .offcanvas-inner ul.menu > li > span {
        min-height: 58px;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        font-size: 16px !important;
    }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    .offcanvas-menu .close-offcanvas,
    .offcanvas-menu .offcanvas-inner ul.menu > li > a,
    .offcanvas-menu .offcanvas-inner ul.menu > li > span,
    .offcanvas-menu .menu-toggler,
    .offcanvas-menu .mod-menu__sub li > a,
    .offcanvas-menu .menu-child li > a,
    .offcanvas-menu .nav-child li > a {
        transition: none !important;
    }
}
/* ==========================================================
   WAZV Offcanvas – nur originalen Helix-Pfeil verwenden
   ========================================================== */

/* Zusätzlich erzeugte CSS-Pfeile entfernen */
.offcanvas-menu .offcanvas-inner ul.menu > li > a::after,
.offcanvas-menu .offcanvas-inner ul.menu > li > span::after {
    display: none !important;
    content: none !important;
}

/* Menüpunkt als Bezugspunkt */
.offcanvas-menu .offcanvas-inner ul.menu > li {
    position: relative;
}

/* Originalen Helix-Pfeil exakt mittig ausrichten */
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-toggler,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-deeper > .menu-toggler,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a .menu-toggler,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-deeper > a .menu-toggler {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;

    width: 38px !important;
    height: 38px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;
    color: #5d7086 !important;
    background: transparent !important;
}

/* Bei normalen Links keinen Untermenü-Schalter anzeigen */
.offcanvas-menu .offcanvas-inner ul.menu > li:not(.menu-parent):not(.menu-deeper) > .menu-toggler,
.offcanvas-menu .offcanvas-inner ul.menu > li:not(.menu-parent):not(.menu-deeper) > a .menu-toggler {
    display: none !important;
}

/* =====================================================
   WAZV Ausschreibung – flexible moderne Kachel
===================================================== */

.wazv-ausschreibung {
    margin-bottom: 36px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dce6f0;
    border-top: 5px solid #005bae;
    border-radius: 15px;
    box-shadow: 0 10px 28px rgba(24, 52, 85, 0.08);
    color: #263342;
}


/* =====================================================
   Kopfbereich
===================================================== */

.wazv-ausschreibung-kopf {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e8ef;
}

.wazv-ausschreibung-label {
    display: block;
    margin-bottom: 4px;
    color: #68778a;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wazv-ausschreibung-nummer {
    display: block;
    color: #005bae;
    font-size: 1.15rem;
    line-height: 1.2;
}

.wazv-ausschreibung-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #edf6ff;
    border-radius: 999px;
    color: #005bae;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.wazv-ausschreibung-status::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 8px;
    background: #005bae;
    border-radius: 50%;
}


/* =====================================================
   Titelbereich
===================================================== */

.wazv-ausschreibung-titel {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 0;
}

.wazv-ausschreibung-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    height: 52px;
    background: #005bae;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 8px 18px rgba(0, 91, 174, 0.18);
}

.wazv-ausschreibung-art {
    display: block;
    margin-bottom: 4px;
    color: #5faf3a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wazv-ausschreibung-titel h2 {
    margin: 0;
    color: #203f86;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.25;
}


/* =====================================================
   Grunddaten
===================================================== */

.wazv-ausschreibung-daten {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    padding: 8px 22px;
    background: #f7f9fc;
    border: 1px solid #dde6ef;
    border-radius: 12px;
}

.wazv-ausschreibung-feld {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #dde5ed;
}

.wazv-ausschreibung-feld:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.wazv-ausschreibung-feld strong {
    color: #253242;
    font-size: 0.9rem;
}

.wazv-ausschreibung-feld span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #596779;
    font-size: 0.9rem;
}


/* =====================================================
   Freier Bereich für kurze oder lange Beschreibungen
===================================================== */

/* =====================================================
   Art und Umfang der Leistungen – Klappbereich
===================================================== */

.wazv-ausschreibung-umfang {
    margin-top: 24px;
    background: #f8fafc;
    border: 1px solid #dde6ef;
    border-radius: 12px;
    overflow: hidden;
}

.wazv-ausschreibung-umfang summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    color: #203f86;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.wazv-ausschreibung-umfang summary::-webkit-details-marker {
    display: none;
}

.wazv-ausschreibung-umfang summary:hover {
    background: #f2f7fc;
}

.wazv-ausschreibung-umfang[open] summary {
    border-bottom: 1px solid #dde6ef;
}

.wazv-ausschreibung-pfeil {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.wazv-ausschreibung-umfang[open] .wazv-ausschreibung-pfeil {
    transform: rotate(225deg);
}

.wazv-ausschreibung-umfang-inhalt {
    padding: 22px;
}

.wazv-ausschreibung-umfang-inhalt p {
    margin: 0 0 14px;
    color: #435164;
    line-height: 1.65;
}

.wazv-ausschreibung-umfang-inhalt p:last-child {
    margin-bottom: 0;
}

.wazv-ausschreibung-umfang-inhalt strong {
    color: #253242;
}

@media (max-width: 650px) {

    .wazv-ausschreibung-umfang summary {
        padding: 16px 18px;
    }

    .wazv-ausschreibung-umfang-inhalt {
        padding: 18px;
    }

}

/* =====================================================
   Unterlagen
===================================================== */

.wazv-ausschreibung-unterlagen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #dfe7ef;
}

.wazv-ausschreibung-unterlagen h3 {
    margin: 0 0 6px;
    color: #253242;
    font-size: 1rem;
    font-weight: 700;
}

.wazv-ausschreibung-unterlagen p {
    margin: 0;
    color: #68778a;
    line-height: 1.55;
}

.wazv-ausschreibung-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 20px;
    background: #005bae;
    border: 2px solid #005bae;
    border-radius: 9px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.wazv-ausschreibung-button:hover,
.wazv-ausschreibung-button:focus {
    background: #004b91;
    border-color: #004b91;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 91, 174, 0.2);
}

.wazv-ausschreibung-button:focus-visible {
    outline: 3px solid rgba(0, 91, 174, 0.3);
    outline-offset: 3px;
}


/* =====================================================
   Beauftragtes Unternehmen – gemeinsame Gestaltung
===================================================== */

.wazv-ausschreibung-unternehmen {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid transparent;
    border-left-width: 5px;
    border-radius: 9px;
}

.wazv-ausschreibung-unternehmen-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1rem;
}

.wazv-ausschreibung-unternehmen-text {
    min-width: 0;
}

.wazv-ausschreibung-unternehmen h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.wazv-ausschreibung-unternehmen p {
    margin: 0;
    line-height: 1.55;
}


/* Noch nicht vergeben */

.wazv-unternehmen-offen {
    background: #fffaf0;
    border-color: #f0dfb2;
    border-left-color: #d99a19;
}

.wazv-unternehmen-offen .wazv-ausschreibung-unternehmen-status {
    background: #fff0c7;
    color: #986300;
}

.wazv-unternehmen-offen h3 {
    color: #795100;
}

.wazv-unternehmen-offen p {
    color: #725f38;
}


/* Auftrag vergeben */

.wazv-unternehmen-vergeben {
    background: #f2faf0;
    border-color: #cfe6c8;
    border-left-color: #5faf3a;
}

.wazv-unternehmen-vergeben .wazv-ausschreibung-unternehmen-status {
    background: #dff1d9;
    color: #397b22;
}

.wazv-unternehmen-vergeben h3 {
    color: #315f22;
}

.wazv-unternehmen-vergeben p {
    color: #4d6545;
}


/* =====================================================
   Mobile Darstellung
===================================================== */

@media (max-width: 700px) {

    .wazv-ausschreibung-umfang summary {
        padding: 16px 18px;
    }

    .wazv-ausschreibung-umfang-inhalt {
        padding: 18px;
    }

    .wazv-ausschreibung-unterlagen {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .wazv-ausschreibung-button {
        width: 100%;
        white-space: normal;
    }

    .wazv-ausschreibung-unternehmen {
        align-items: flex-start;
        padding: 17px;
    }

}

/* =========================================================
   WAZV – Kontaktformular
   Komplette optimierte Version
========================================================= */


/* ---------------------------------------------------------
   Äußerer Formularbereich
--------------------------------------------------------- */

.wazv-kontaktformular {
    width: 100%;
    max-width: 980px;
    margin: 34px auto 70px;
    padding: 38px 44px;
    background: #ffffff;
    border: 1px solid rgba(32, 63, 134, 0.14);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(24, 48, 95, 0.09);
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Allgemeine Schrift
--------------------------------------------------------- */

.wazv-kontaktformular,
.wazv-kontaktformular input,
.wazv-kontaktformular select,
.wazv-kontaktformular textarea,
.wazv-kontaktformular button {
    font-family: inherit;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Überschrift des Formulars
--------------------------------------------------------- */

.wazv-kontaktformular .sppb-addon-title,
.wazv-kontaktformular h2,
.wazv-kontaktformular h3,
.wazv-kontaktformular h4 {
    margin: 0 0 6px;
    color: #203f86;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}


/* Beschreibung unter der Überschrift */

.wazv-kontaktformular .sppb-addon-content > p:first-of-type,
.wazv-kontaktformular .form-description,
.wazv-kontaktformular .cf-form-description {
    margin: 0 0 26px;
    color: #667084;
    font-size: 15px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Convert Forms – Grundstruktur
--------------------------------------------------------- */

.wazv-kontaktformular .cf-form-wrap,
.wazv-kontaktformular .cf-form,
.wazv-kontaktformular .cf-content-wrap,
.wazv-kontaktformular .cf-control-group,
.wazv-kontaktformular .cf-control-input {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Formulargruppen
--------------------------------------------------------- */

.wazv-kontaktformular .form-group,
.wazv-kontaktformular .sppb-form-group,
.wazv-kontaktformular .cf-control-group,
.wazv-kontaktformular .control-group {
    margin-bottom: 15px;
}


/* ---------------------------------------------------------
   Beschriftungen
--------------------------------------------------------- */

.wazv-kontaktformular label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   Eingabefelder
--------------------------------------------------------- */

.wazv-kontaktformular input[type="text"],
.wazv-kontaktformular input[type="email"],
.wazv-kontaktformular input[type="tel"],
.wazv-kontaktformular input[type="number"],
.wazv-kontaktformular input[type="date"],
.wazv-kontaktformular input[type="url"],
.wazv-kontaktformular select,
.wazv-kontaktformular textarea,
.wazv-kontaktformular .form-control,
.wazv-kontaktformular .sppb-form-control,
.wazv-kontaktformular .cf-input,
.wazv-kontaktformular .cf-select {
    width: 100% !important;
    max-width: none !important;
    min-height: 50px;
    padding: 12px 15px;
    color: #26364d;
    font-size: 15px;
    line-height: 1.4;
    background: #ffffff;
    border: 1px solid #c7d2e1;
    border-radius: 8px;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


/* Platzhalter */

.wazv-kontaktformular input::placeholder,
.wazv-kontaktformular textarea::placeholder {
    color: #8a94a3;
    opacity: 1;
}


/* ---------------------------------------------------------
   Fokuszustand
--------------------------------------------------------- */

.wazv-kontaktformular input:focus,
.wazv-kontaktformular select:focus,
.wazv-kontaktformular textarea:focus,
.wazv-kontaktformular .form-control:focus,
.wazv-kontaktformular .sppb-form-control:focus,
.wazv-kontaktformular .cf-input:focus,
.wazv-kontaktformular .cf-select:focus {
    outline: none;
    background: #ffffff;
    border-color: #326bd6;
    box-shadow: 0 0 0 3px rgba(50, 107, 214, 0.13);
}


/* ---------------------------------------------------------
   Fachbereich-Auswahl
--------------------------------------------------------- */

.wazv-kontaktformular select,
.wazv-kontaktformular .cf-select {
    min-height: 56px;
    padding: 0 48px 0 16px;
    color: #344054;
    font-size: 16px;
    font-weight: 500;
    background-color: #f8fafd;
    border-color: #aebed3;
    cursor: pointer;
}

.wazv-kontaktformular select:hover,
.wazv-kontaktformular .cf-select:hover {
    border-color: #8fa4bf;
}


/* Lange Auswahltexte besser lesbar */

.wazv-kontaktformular select {
    white-space: normal;
    text-overflow: clip;
}


/* ---------------------------------------------------------
   Ansprechpartner aus Convert Forms
--------------------------------------------------------- */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide) {
    width: 100%;
    margin: 18px 0 28px !important;
    padding: 18px 20px !important;
    background: #f5f8fc !important;
    border: 1px solid rgba(32, 63, 134, 0.14) !important;
    border-left: 4px solid #203f86 !important;
    border-radius: 10px !important;
}


/* Innere Container zurücksetzen */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
.cf-control-input,
.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
.cf-control-input > div {
    margin: 0 !important;
    padding: 0 !important;
}


/* Gesamter Text */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
p {
    margin: 0 !important;
    color: #536074 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}


/* Erste Zeile */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
p::first-line {
    color: #203f86 !important;
    font-weight: 700 !important;
}


/* Namen automatisch untereinander */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
strong {
    display: block !important;
    margin-top: 10px;
    margin-bottom: 3px;
    color: #26364d !important;
    font-weight: 700 !important;
}


/* Erstes Element ohne zusätzlichen Abstand */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
strong:first-of-type {
    margin-top: 8px;
}


/* Zeilenumbrüche stabilisieren */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
br {
    display: block;
    content: "";
}


/* Auswahlfeld direkt darunter */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
+ .cf-control-group {
    margin-top: 0 !important;
}


/* Telefonnummern */

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
a[href^="tel:"] {
    color: #203f86;
    font-weight: 600;
    text-decoration: none;
}

.wazv-kontaktformular
.cf-control-group[data-type="html"]:not(.cf-hide)
a[href^="tel:"]:hover {
    color: #5faf3a;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Zweispaltige Felder
--------------------------------------------------------- */

.wazv-kontaktformular .row {
    margin-right: -6px;
    margin-left: -6px;
}

.wazv-kontaktformular .row > [class*="col-"] {
    padding-right: 6px;
    padding-left: 6px;
}


/* ---------------------------------------------------------
   Textbereich
--------------------------------------------------------- */

.wazv-kontaktformular textarea,
.wazv-kontaktformular textarea.form-control,
.wazv-kontaktformular textarea.sppb-form-control {
    min-height: 170px;
    padding-top: 14px;
    line-height: 1.55;
    resize: vertical;
}


/* ---------------------------------------------------------
   Datei-Upload
--------------------------------------------------------- */

.wazv-kontaktformular input[type="file"] {
    width: 100%;
    min-height: 116px;
    padding: 30px 18px;
    color: #4f5c6d;
    font-size: 14px;
    background: #f8fafd;
    border: 1px dashed #9fadc0;
    border-radius: 8px;
    cursor: pointer;
}

.wazv-kontaktformular input[type="file"]:hover {
    background: #f3f6fa;
    border-color: #203f86;
}


/* ---------------------------------------------------------
   Hinweis- und Hilfstexte
--------------------------------------------------------- */

.wazv-kontaktformular small,
.wazv-kontaktformular .form-text,
.wazv-kontaktformular .help-block,
.wazv-kontaktformular .cf-help-text {
    display: block;
    margin-top: 7px;
    color: #778192;
    font-size: 12px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Checkboxen und Datenschutz
--------------------------------------------------------- */

.wazv-kontaktformular input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 8px 0 0;
    accent-color: #5faf3a;
    flex: 0 0 auto;
}

.wazv-kontaktformular .form-check,
.wazv-kontaktformular .sppb-form-check,
.wazv-kontaktformular .checkbox {
    display: flex;
    align-items: flex-start;
}

.wazv-kontaktformular .form-check label,
.wazv-kontaktformular .sppb-form-check label,
.wazv-kontaktformular .checkbox label {
    margin: 0;
    color: #596579;
    font-weight: 400;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Links
--------------------------------------------------------- */

.wazv-kontaktformular a {
    color: #203f86;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wazv-kontaktformular a:hover {
    color: #5faf3a;
}


/* ---------------------------------------------------------
   Rechenaufgabe / Captcha
--------------------------------------------------------- */

.wazv-kontaktformular .captcha,
.wazv-kontaktformular .cf-captcha,
.wazv-kontaktformular .captcha-container {
    color: #344054;
    font-size: 15px;
}

.wazv-kontaktformular .captcha input,
.wazv-kontaktformular .cf-captcha input {
    min-height: 48px;
}


/* ---------------------------------------------------------
   Pflichtfelder
--------------------------------------------------------- */

.wazv-kontaktformular .required,
.wazv-kontaktformular .star,
.wazv-kontaktformular abbr[title="required"] {
    color: #c83d3d;
}


/* ---------------------------------------------------------
   Absenden-Button
--------------------------------------------------------- */

.wazv-kontaktformular button[type="submit"],
.wazv-kontaktformular input[type="submit"],
.wazv-kontaktformular .sppb-btn,
.wazv-kontaktformular .cf-btn {
    min-height: 50px;
    padding: 12px 26px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    background: #203f86;
    border: 1px solid #203f86;
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(32, 63, 134, 0.20);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.wazv-kontaktformular button[type="submit"]:hover,
.wazv-kontaktformular input[type="submit"]:hover,
.wazv-kontaktformular .sppb-btn:hover,
.wazv-kontaktformular .cf-btn:hover {
    color: #ffffff;
    background: #2d55a4;
    border-color: #2d55a4;
    box-shadow: 0 10px 24px rgba(32, 63, 134, 0.25);
    transform: translateY(-1px);
}

.wazv-kontaktformular button[type="submit"]:focus,
.wazv-kontaktformular input[type="submit"]:focus,
.wazv-kontaktformular .sppb-btn:focus,
.wazv-kontaktformular .cf-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(32, 63, 134, 0.16);
}


/* ---------------------------------------------------------
   Erfolgsmeldungen
--------------------------------------------------------- */

.wazv-kontaktformular .alert-success,
.wazv-kontaktformular .sppb-alert-success,
.wazv-kontaktformular .cf-response-success {
    padding: 14px 16px;
    color: #25652c;
    background: #eef8ef;
    border: 1px solid #b9dcb9;
    border-radius: 8px;
}


/* ---------------------------------------------------------
   Fehlermeldungen
--------------------------------------------------------- */

.wazv-kontaktformular .alert-danger,
.wazv-kontaktformular .sppb-alert-danger,
.wazv-kontaktformular .cf-response-error,
.wazv-kontaktformular .error {
    padding: 14px 16px;
    color: #9c3030;
    background: #fff2f2;
    border: 1px solid #edbcbc;
    border-radius: 8px;
}


/* ---------------------------------------------------------
   Deaktivierte Felder
--------------------------------------------------------- */

.wazv-kontaktformular input:disabled,
.wazv-kontaktformular select:disabled,
.wazv-kontaktformular textarea:disabled {
    color: #8a929e;
    background: #f0f2f5;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 991px) {

    .wazv-kontaktformular {
        max-width: calc(100% - 40px);
        padding: 34px 30px;
    }
}


/* ---------------------------------------------------------
   Mobil
--------------------------------------------------------- */

@media (max-width: 767px) {

    .wazv-kontaktformular {
        width: auto;
        max-width: none;
        margin: 24px 14px 50px;
        padding: 24px 18px;
        border-radius: 12px;
    }

    .wazv-kontaktformular .sppb-addon-title,
    .wazv-kontaktformular h2,
    .wazv-kontaktformular h3,
    .wazv-kontaktformular h4 {
        font-size: 20px;
    }

    .wazv-kontaktformular input[type="text"],
    .wazv-kontaktformular input[type="email"],
    .wazv-kontaktformular input[type="tel"],
    .wazv-kontaktformular input[type="number"],
    .wazv-kontaktformular input[type="date"],
    .wazv-kontaktformular input[type="url"],
    .wazv-kontaktformular select,
    .wazv-kontaktformular textarea,
    .wazv-kontaktformular .form-control,
    .wazv-kontaktformular .sppb-form-control,
    .wazv-kontaktformular .cf-input,
    .wazv-kontaktformular .cf-select {
        min-height: 48px;
        font-size: 16px;
    }

    .wazv-kontaktformular select,
    .wazv-kontaktformular .cf-select {
        min-height: 54px;
        padding-left: 14px;
        padding-right: 42px;
    }

    .wazv-kontaktformular textarea {
        min-height: 150px;
    }

    .wazv-kontaktformular input[type="file"] {
        min-height: 100px;
        padding: 24px 12px;
    }

    .wazv-kontaktformular
    .cf-control-group[data-type="html"]:not(.cf-hide) {
        padding: 15px 16px !important;
        margin: 15px 0 20px !important;
    }

    .wazv-kontaktformular
    .cf-control-group[data-type="html"]:not(.cf-hide)
    p {
        font-size: 14px !important;
    }

    .wazv-kontaktformular button[type="submit"],
    .wazv-kontaktformular input[type="submit"],
    .wazv-kontaktformular .sppb-btn,
    .wazv-kontaktformular .cf-btn {
        width: 100%;
    }

    .wazv-kontaktformular .row > [class*="col-"] {
        width: 100%;
        padding-right: 6px;
        padding-left: 6px;
    }
}

/* ==========================================================
   WAZV KONTAKT UND SUCHE IN DER NAVIGATION
   Joomla-Menüklasse der Suche: wazv-suche-link

   Joomla-Einstellungen:
   - Menütitel anzeigen: Ja
   - CSS-Klasse für Link: wazv-suche-link
   - Icon-Klasse zum Link: fas fa-search
========================================================== */


/* ==========================================================
   1. KONTAKT-ICON IM OFFCANVAS
========================================================== */

.offcanvas-menu .offcanvas-inner ul.menu > li > a[href*="kontakt"]::before {
    content: "\f0e0" !important;
    color: #5f93d3 !important;
}


/* ==========================================================
   2. SUCHE IM DESKTOP-HEADER
   Nur die Lupe anzeigen, Text zuverlässig ausblenden
========================================================== */

#sp-header .sp-megamenu-parent > li > a.wazv-suche-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;

    color: #203f86 !important;
    font-size: 0 !important;
    line-height: 1 !important;

    background: transparent !important;
    border-radius: 7px;
}

/* Lupe trotz font-size: 0 sichtbar halten */
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link i,
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link .fas,
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link .fa,
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link .fa-search {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;

    color: #203f86 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Falls Helix den Titel zusätzlich in ein Element setzt */
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link .menu-title,
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link .menu-item-title,
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link > span:not(.fas):not(.fa):not(.fa-search) {
    display: none !important;
}

#sp-header .sp-megamenu-parent > li > a.wazv-suche-link:hover,
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link:focus {
    color: #004b9b !important;
    background: #eef6ff !important;
}

#sp-header .sp-megamenu-parent > li > a.wazv-suche-link:hover i,
#sp-header .sp-megamenu-parent > li > a.wazv-suche-link:focus i {
    color: #004b9b !important;
}


/* ==========================================================
   3. SUCHE IM OFFCANVAS
   Lupe und Text wie bei den übrigen Menüpunkten
========================================================== */

.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-height: 62px !important;

    margin: 0 !important;
    padding: 15px 48px 15px 54px !important;
    gap: 0 !important;

    color: #314965 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-align: left !important;

    background: transparent !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

/* Das von Joomla ausgegebene Icon ausblenden.
   Das einheitlich positionierte Icon kommt über ::before. */
.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link i,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link .fas,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link .fa,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link .fa-search {
    display: none !important;
}

/* Einheitliche Lupe links */
.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link::before {
    content: "\f002" !important;

    position: absolute !important;
    top: 50% !important;
    left: 16px !important;

    display: block !important;
    width: 26px !important;

    margin: 0 !important;
    transform: translateY(-50%) !important;

    color: #5f93d3 !important;
    font-family:
        "Font Awesome 6 Free",
        "Font Awesome 5 Free",
        FontAwesome !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
}

/* Keine künstlich ergänzte zweite Beschriftung */
.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link::after {
    display: none !important;
    content: none !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link:focus {
    color: #004b9b !important;
    background: #f1f7fb !important;
    padding-left: 59px !important;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.active > a.wazv-suche-link,
.offcanvas-menu .offcanvas-inner ul.menu > li.current > a.wazv-suche-link,
.offcanvas-menu .offcanvas-inner ul.menu > li.current-menu-item > a.wazv-suche-link {
    color: #004b9b !important;
    background: #edf6fc !important;
    font-weight: 700 !important;
    box-shadow: inset 4px 0 0 #079bd8;
}


/* ==========================================================
   4. MOBILE FEINABSTIMMUNG
========================================================== */

@media (max-width: 480px) {
    .offcanvas-menu .offcanvas-inner ul.menu > li > a.wazv-suche-link {
        min-height: 58px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        font-size: 16px !important;
    }
}

/* =========================================================
   WAZV – Hinweisbox „Wichtig“
========================================================= */

.wazv-hinweisbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 24px 0;
    padding: 20px 22px;
    border-radius: 12px;
    box-sizing: border-box;
}

.wazv-hinweisbox-wichtig {
    background: rgba(0, 75, 155, 0.07);
    border: 1px solid rgba(0, 75, 155, 0.22);
    border-left: 5px solid #004b9b;
}

.wazv-hinweisbox-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-top: 2px;
    color: #ffffff;
    background: #004b9b;
    border-radius: 50%;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}

.wazv-hinweisbox-inhalt {
    min-width: 0;
}

.wazv-hinweisbox-inhalt strong {
    display: block;
    margin-bottom: 5px;
    color: #004b9b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.wazv-hinweisbox-inhalt p {
    margin: 0;
    color: #2f3742;
    font-size: 16px;
    line-height: 1.65;
}

/* Mobile Darstellung */
@media (max-width: 575px) {
    .wazv-hinweisbox {
        gap: 12px;
        padding: 17px 16px;
        border-radius: 10px;
    }

    .wazv-hinweisbox-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .wazv-hinweisbox-inhalt strong {
        font-size: 17px;
    }

    .wazv-hinweisbox-inhalt p {
        font-size: 15px;
        line-height: 1.55;
    }
}

/* =========================================================
   WAZV – Schlichte Linkboxen
   Für SP Page Builder Funktionsboxen
   CSS-Klasse: wazv-linkbox
========================================================= */

.wazv-linkbox {
    margin: 8px 0 12px;
}

/* Äußerer Container */
.wazv-linkbox .sppb-addon-content {
    padding: 0 !important;
}

/* Zeile */
.wazv-linkbox .sppb-media {
    display: flex !important;
    align-items: center !important;
    gap: 14px;

    min-height: 50px;
    padding: 8px 10px;

    border-radius: 8px;

    transition:
        background-color .2s ease,
        box-shadow .2s ease;
}

/* dezenter Hover */
.wazv-linkbox:hover .sppb-media {
    background: rgba(0,75,155,.05);
}

/* Icon */
.wazv-linkbox .sppb-media > div:first-child,
.wazv-linkbox .media-left,
.wazv-linkbox .pull-left {

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto;

    margin: 0 !important;
    padding: 0 !important;
}

/* Textbereich */
.wazv-linkbox .sppb-media-body,
.wazv-linkbox .media-body {

    display: flex !important;
    align-items: center !important;

    flex: 1;

    margin: 0 !important;
    padding: 0 !important;
}

/* Titel */
.wazv-linkbox .sppb-addon-title,
.wazv-linkbox .sppb-feature-box-title {

    margin: 0 !important;
    padding: 0 !important;

    color: #004b9b;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.35;

    transition: color .2s ease;
}

/* Link */
.wazv-linkbox a {

    color: inherit !important;

    text-decoration: none !important;

    transition: color .2s ease;
}

.wazv-linkbox:hover a {

    color: #0067c5 !important;

    text-decoration: none !important;
}

/* Beschreibung ausblenden */
.wazv-linkbox .sppb-addon-text,
.wazv-linkbox .sppb-feature-box-text,
.wazv-linkbox p {

    display: none;
}

/* Tastatur */
.wazv-linkbox a:focus-visible {

    outline: 2px solid rgba(0,75,155,.25);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Mobile */
@media (max-width:768px){

    .wazv-linkbox{

        margin-bottom:10px;
    }

    .wazv-linkbox .sppb-media{

        min-height:46px;

        gap:12px;

        padding:7px 6px;
    }

    .wazv-linkbox .sppb-addon-title,
    .wazv-linkbox .sppb-feature-box-title{

        font-size:15px;
    }

}

/* ==========================================================
   WAZV Home-Slider – Mobile Optimierung
   CSS-Klasse am Diashow-Addon: home-slider
========================================================== */

@media (max-width: 768px) {

    /* Slider-Inhalt kompakter */
    .home-slider .sp-item {
        padding-bottom: 54px !important;
    }

    /* Beschreibungstext */
    .home-slider p {
        font-size: 18px !important;
        line-height: 1.45 !important;
        margin-bottom: 18px !important;
    }

    /* Button */
    .home-slider .sppb-btn {
        font-size: 15px !important;
        line-height: 1.2 !important;
        padding: 12px 28px !important;
        margin: 0 !important;
    }

    /* Punkt-Navigation sichtbar halten */
    .home-slider .sp-dots {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: 16px !important;

        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;

        transform: translateX(-50%) !important;
        z-index: 20 !important;
    }

    /* Punkte nebeneinander */
    .home-slider .sp-dots ul {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;

        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .home-slider .sp-dots li {
        display: block !important;
        margin: 0 !important;
    }
}