/* ===================================
    Crafto - Medical
====================================== */
/* font – WAZ CI: Source Sans 3 */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700;800&display=swap');
/* variable – WAZ CI: TÜV Rheinland */
:root {
    --base-color: #0071B9;  /* TÜV-Blau (statt Türkis #18bcc7) */
    --alt-font: 'Source Sans 3', sans-serif;
    --primary-font: 'Source Sans 3', sans-serif;
    --dark-gray: #003D66;   /* TÜV-Dunkelblau für Headlines */
    --red: #E8A317;         /* Bernstein (WAZ-Akzent, ersetzt Rot) */
    --medium-light-gray:#b4b4b4;
    --medium-gray:#848587;
}
/* box layout */
.box-layout {
    padding: 0 100px;
}
body{
    font-size: 17px;
    line-height: 30px;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-weight: 700;
    font-size: 18px;
    padding: 10px 14px;
}
header .container-fluid {
    padding-left: 85px;
    padding-right: 85px;
}
.sticky-wrap.shadow-in {
    left: 31px;
}
header .navbar-brand img {
    max-height:42px;
}
/* WAZ: Logo-Zeichen + Text */
header .navbar-brand .logo-mark { border-radius: 5px; }
header .navbar-brand .logo-text b { display:block; color: var(--dark-gray); font-weight: 800; font-size: 16px; line-height: 1.1; white-space: nowrap; }
header .navbar-brand .logo-text span { display:block; color: var(--medium-gray); font-weight: 500; font-size: 10px; line-height: 1.2; margin-top: 2px; white-space: nowrap; }
/* bg color */
.bg-light-turquoise-blue {
    background-color: #E8F4FD;
}
.bg-light-sea-green-transparent {
    background-color: rgba(0, 113, 185, 0.8);
}
.bg-light-sea-green-transparent-light {
    background-color: rgba(0, 113, 185, 0.12);
}
/* border color */
.border-color-transparent-dark-gray {
    border-color: rgba(39, 47, 48, 0.1) !important;
}
.border-color-red {
    border-color: var(--red) !important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
/* btn */
.btn {
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0px;
}
.btn.btn-extra-large {
    font-size: 18px;
}
.btn.btn-large {
    font-size:17px;
}
.btn.btn-medium {
    font-size: 16px;
}
.btn.btn-small {
    font-size: 15px;
}
.btn.btn-very-small {
    font-size: 14px;
}
.btn.btn-dark-gray:hover,
.btn.btn-dark-gray:active,
.btn.btn-transparent-light-gray:hover,
.btn.btn-transparent-light-gray:active,
.btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:active{
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--white);
}
.btn.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}
/* page title */
.page-title-extra-large h2 {
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0px;
}
/* social media icon */
.social-icon-style-02 .small-icon li {
    margin: 0;
}
/* outside box right */ 
.outside-box-right-2 {
    margin-right: -2vw;
}
/* tab style 01 */
.tab-style-01 .nav-tabs .nav-link.show,
.tab-style-01 .nav-tabs .nav-link.active,
.tab-style-01 .nav-tabs .nav-link:hover {
    background-color: var(--base-color);
    color: var(--white);
}
.tab-style-01 .nav-tabs .nav-link {
    padding: 7px 29px;
    color: var(--dark-gray);
}
.tab-style-01 .nav-tabs > li.nav-item {
    padding: 0 13px;
}
/* time table */ 
.time-table-box .hover-detail {
    padding: 25px 30px;
}
/* accordion style 05 */
.accordion-style-05 .accordion-item {
    padding: 25px 35px 27px 75px;
}
/* footer */
footer .nav-link {
    color: var(--white);
}
.elements-social .light li a:hover {
    color: var(--base-color) !important;
}
footer .footer-logo img {
    max-height: 40px;
}
footer .elements-social ul li:last-child {
    margin-right: 0;
}
/* media query responsive */
@media (min-width: 768px){
    .page-title-extra-large h1 {
        font-size: 3.8rem;
        line-height: 3.8rem;
    }
}
@media (max-width: 1600px){
    .box-layout {
        padding: 0 60px;
    }
    .sticky-wrap.shadow-in {
        left: 10px;
    }
    header .container-fluid {
        padding-left: 45px;
        padding-right: 45px;
    }
}
@media (max-width: 1400px){
    footer .nav-link {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}
@media (max-width: 1199px){
    .box-layout {
        padding: 0 0;
    }
    .navbar .navbar-nav .nav-link {
        padding-left: 18px;
        padding-right: 18px;
    }
    header .btn.btn-switch-text.btn-small > span {
        padding: 8px 10px;
    }

    .tab-style-01 .nav-tabs > li.nav-item {
        padding: 0 8px;
    }
    header .navbar [class*=col-] {
        padding: 0px;
    }
    .time-table-box {
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media (max-width: 991px){
    .tab-style-01 .nav-tabs .nav-link {
        padding: 5px 25px;
    }

    .time-schedule-scroll {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .time-schedule-scroll .time-schedule-min-width {
        min-width: 1050px;
    }
    .tab-style-01 .nav-tabs > li.nav-item {
        padding: 0 4px;
    }
    header .navbar [class*=col-] {
        padding: 0 15px;
    }
}
@media (max-width: 767px){
    .accordion-style-05 .accordion-item .number {
        top: 13px;
    }
}
/* ===== WAZ: Button-Icon rechts vom Text (Gegenstück zu .left-icon) ===== */
.btn.right-icon i { margin-left: 6px; margin-right: 0; }
/* Pfeil-Slide beim Hover – gleiche Kurve/Dauer wie der Text-Swap (2 Kopien) */
.btn-switch-text .waz-icon-switch { position: relative; display: inline-flex; align-items: center; overflow: hidden; margin-left: 6px; }
.btn-switch-text .waz-icon-switch i { margin: 0 !important; display: block; transition: transform .8s cubic-bezier(.15,.85,.31,1), opacity .55s cubic-bezier(.15,.85,.31,1); }
.btn-switch-text .waz-icon-switch i:nth-child(2) { position: absolute; left: 0; top: 0; transform: translateY(120%); opacity: 0; }
.btn-switch-text:hover .waz-icon-switch i:nth-child(1), .btn-switch-text:active .waz-icon-switch i:nth-child(1) { transform: translateY(-120%); opacity: 0; }
.btn-switch-text:hover .waz-icon-switch i:nth-child(2), .btn-switch-text:active .waz-icon-switch i:nth-child(2) { transform: translateY(0); opacity: 1; }

/* ===== WAZ: Button-Hover vereinheitlichen – nur Farbe, keine Slide-Animation ===== */
/* Text-Slide (hoch/runter) global aus */
.btn.btn-switch-text .btn-double-text { transition: none !important; transform: none !important; }
.btn.btn-switch-text .btn-double-text::before { content: none !important; display: none !important; }
.btn.btn-switch-text:hover .btn-double-text, .btn.btn-switch-text:active .btn-double-text { transform: none !important; }
/* Pfeil-Swap ("Jetzt bewerben") aus – nur ein statischer Pfeil */
.waz-icon-switch i:nth-child(2) { display: none !important; }
.btn-switch-text:hover .waz-icon-switch i:nth-child(1), .btn-switch-text:active .waz-icon-switch i:nth-child(1) { transform: none !important; opacity: 1 !important; }
/* Farb-Hover: deutlich sichtbarer Wechsel zwischen den beiden CI-Blautönen */
.btn.btn-base-color:hover, .btn.btn-base-color:active { background-color: #003D66 !important; border-color: #003D66 !important; color: #fff !important; }
.btn.btn-dark-gray:hover, .btn.btn-dark-gray:active { background-color: #0071B9 !important; border-color: #0071B9 !important; color: #fff !important; }

/* ===== WAZ: Footer über volle Breite (Seiten-Padding des box-layout ausgleichen) ===== */
footer.bg-dark-gray { margin-left: -100px; margin-right: -100px; }
@media (max-width: 1600px){ footer.bg-dark-gray { margin-left: -60px; margin-right: -60px; } }
@media (max-width: 1199px){ footer.bg-dark-gray { margin-left: 0; margin-right: 0; } }

/* ===== WAZ: weniger Abstand zwischen Stellenangebote und CTA-Section ===== */
#stellenangebote { padding-top: 60px; padding-bottom: 50px; }
#kontakt { padding-top: 55px; }

/* ===== WAZ: Leistungs-Foto-Karten (Foto-Hintergrund statt Icon) ===== */
.waz-svc-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: 8px; overflow: hidden; padding: 26px; text-decoration: none; color: #fff; }
.waz-svc-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.waz-svc-card:hover .waz-svc-img { transform: scale(1.06); }
.waz-svc-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,25,45,.92) 0%, rgba(0,25,45,.55) 45%, rgba(0,25,45,.10) 100%); transition: background .3s ease; }
.waz-svc-card:hover::before { background: linear-gradient(to top, rgba(0,25,45,.95) 0%, rgba(0,25,45,.65) 50%, rgba(0,25,45,.22) 100%); }
.waz-svc-badge { position: absolute; top: 22px; left: 22px; z-index: 2; background: var(--base-color); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 13px; border-radius: 30px; }
.waz-svc-body { position: relative; z-index: 2; }
.waz-svc-title { display: block; color: #fff; font-size: 21px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.waz-svc-text { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.5; margin-bottom: 16px; }
.waz-svc-more { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 15px; transition: gap .25s ease; }
.waz-svc-card:hover .waz-svc-more { gap: 14px; }
@media (prefers-reduced-motion: reduce){ .waz-svc-card:hover .waz-svc-img { transform: none; } .waz-svc-card:hover .waz-svc-more { gap: 8px; } }

/* ===== WAZ: CTA-Section (ersetzt das Kontaktformular) ===== */
.waz-cta { position: relative; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #003D66 0%, #00567d 55%, #007A8C 100%); padding: 64px 64px; color: #fff; box-shadow: 0 30px 60px rgba(0,61,102,.22); }
.waz-cta-content { position: relative; z-index: 2; max-width: 720px; }
.waz-cta-badge { display: inline-block; border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; border-radius: 30px; padding: 6px 18px; margin-bottom: 22px; }
.waz-cta-title { color: #fff; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.waz-cta-text { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.6; margin-bottom: 32px; }
.waz-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.waz-cta-btn.btn { padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.waz-cta-btn.btn i { font-size: 18px; }
/* CTA-Buttons: kleiner Farb-Hover (Hintergrund heller) */
.waz-cta-btn-primary.btn { background: #fff; color: #003D66; border-color: #fff; }
.waz-cta-btn-primary.btn:hover, .waz-cta-btn-primary.btn:active, .waz-cta-btn-primary.btn:focus { background: #cfe3f6; color: #003D66; border-color: #cfe3f6; }
.waz-cta-btn-ghost.btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.waz-cta-btn-ghost.btn:hover, .waz-cta-btn-ghost.btn:active, .waz-cta-btn-ghost.btn:focus { background: rgba(255,255,255,.28); color: #fff; border-color: rgba(255,255,255,.7); }
.waz-cta-hours { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: 15px; }
.waz-cta-hours i { color: #fff; }
.waz-cta-deco { position: absolute; right: -30px; bottom: -20px; width: 460px; max-width: 50%; opacity: .12; z-index: 1; pointer-events: none; }
.waz-cta-deco img { width: 100%; display: block; }
@media (max-width: 991px){ .waz-cta { padding: 46px 36px; } .waz-cta-deco { display: none; } }
@media (max-width: 575px){ .waz-cta { padding: 36px 24px; } .waz-cta-actions { flex-direction: column; align-items: flex-start; } .waz-cta-hours { display: flex; } }
@media (prefers-reduced-motion: reduce){ .waz-cta-btn:hover, .waz-cta-btn:focus-visible { transform: none; } }

/* ===== WAZ: Herzschlag-Deko (EKG-Linie statt Hexagon) ===== */
.waz-heartbeat-deco { opacity: .18; }

/* ===== WAZ: Social-Icons (rund, Hover: weiß gefüllt + anheben) ===== */
.waz-social ul { display: flex; gap: 12px; padding: 0; margin: 0; list-style: none; }
.waz-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 25%; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 16px; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.waz-social a:hover, .waz-social a:focus-visible { background-color: #fff; color: #003D66; border-color: #fff; transform: translateY(-3px); outline: none; }
@media (prefers-reduced-motion: reduce){ .waz-social a:hover, .waz-social a:focus-visible { transform: none; } }

/* ===== WAZ: Footer-Bottom 2-teilig (Copyright links · Made by IMA rechts) ===== */
/* Impressum/Datenschutz sind jetzt in einer eigenen .waz-legal-Section über dem Footer (harmonischere Anordnung, Tutor-Feedback 16.07.) */
.waz-footer-bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.waz-footer-bottom .wfb-left { justify-self: start; }
.waz-footer-bottom .wfb-right { justify-self: end; }
.waz-footer-bottom .wfb-right a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); letter-spacing: .3px; transition: color .2s ease; }
.waz-footer-bottom .wfb-right a:hover { color: #fff; }
.waz-footer-bottom .wfb-right img { height: 16px; width: auto; display: block; }
@media (max-width: 767px){
    .waz-footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
    .waz-footer-bottom .wfb-left, .waz-footer-bottom .wfb-right { justify-self: center; }
}

/* ===== WAZ: eigenständiger 4-Spalten-Footer ===== */
footer .footer-list { margin: 0; padding: 0; list-style: none; }
footer .footer-list li { margin-bottom: 12px; font-size: 15px; color: rgba(255,255,255,.7); }
footer .footer-list li a { color: rgba(255,255,255,.7); transition: color .3s ease; }
footer .footer-list li a:hover { color: #fff; }
footer .footer-list li i { color: var(--base-color); }
footer .footer-heading { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; display: block; margin-bottom: 20px; }
footer .footer-badge { display: inline-block; border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 500; font-size: 13px; border-radius: 4px; padding: 5px 14px; }

/* ===== WAZ: Hero-Collage (beide Welten) + bündig rechts ===== */
.hero-figure { margin-right: -4vw; }
.hero-figure-inset { width: 36%; left: -7%; bottom: 26%; border: 6px solid #fff; box-shadow: 0 22px 45px rgba(0,61,102,.28); z-index: 2; }
@media (max-width: 1199px){ .hero-figure { margin-right: 0; } }

/* ===== WAZ: Hero mit Original-Foto (beide Welten) ===== */
.waz-hero { min-height: 600px; display: flex; align-items: center; }
/* Foto bleibt auch responsive sichtbar (nur Höhe anpassen, kein Ausblenden) */
@media (max-width: 991px){
    .waz-hero { min-height: 480px; display: block; }
    /* blaue TÜV-Leiste normal fließen lassen, damit sie den Button nicht verdeckt */
    .waz-hero > .bg-base-color.position-absolute { position: static !important; }
    .waz-hero .container { padding-top: 40px; padding-bottom: 40px; }
}

/* ===== WAZ: Leistungs-Karten gleiche Höhe + "Mehr erfahren" unten ausgerichtet ===== */
#leistungen .swiper-wrapper { align-items: stretch; }
#leistungen .swiper-slide { height: auto; display: flex; }
#leistungen .icon-with-text-style-02 { width: 100%; height: 100%; }
#leistungen .icon-with-text-style-02 .feature-box { height: 100%; display: flex; flex-direction: column; }
#leistungen .feature-box .feature-box-content { display: flex; flex-direction: column; flex: 1 1 auto; }
#leistungen .feature-box .feature-box-content p { flex: 1 1 auto; }
#leistungen .feature-box .feature-box-content .btn-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; line-height: 1; }
#leistungen .feature-box .feature-box-content .btn-link i { margin: 0; line-height: 1; }

/* ===== WAZ: Slider-Pfeile (statt Magic-Cursor) ===== */
.leist-nav { position: relative; z-index: 3; }
.leist-nav .leist-nav-prev,
.leist-nav .leist-nav-next {
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--dark-gray); background: transparent; color: var(--dark-gray);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; transition: background .3s ease, color .3s ease;
    padding: 0;
}
.leist-nav .leist-nav-prev:hover,
.leist-nav .leist-nav-next:hover { background: var(--dark-gray); color: #fff; }
.leist-nav .leist-nav-prev i, .leist-nav .leist-nav-next i { line-height: 1; }

/* ===== WAZ: Karten-Hover – Icon-Kreis weiß, Icon TÜV-blau (statt weiß auf weiß) ===== */
#leistungen .icon-with-text-style-02:hover .feature-box-icon,
#leistungen .icon-with-text-style-02 .feature-box:hover .feature-box-icon { background-color: #fff !important; }
#leistungen .icon-with-text-style-02:hover .feature-box-icon i,
#leistungen .icon-with-text-style-02 .feature-box:hover .feature-box-icon i { color: var(--base-color) !important; }

/* ===== WAZ: Menü-Hover – kein Ausgrauen/Faden, sauberes TÜV-Blau ===== */
header .navbar .navbar-nav .nav-link { transition: color .2s ease; opacity: 1 !important; }
header .navbar .navbar-nav .nav-link:hover,
header .navbar .navbar-nav .nav-link:focus { color: var(--base-color) !important; opacity: 1 !important; }

/* ===== WAZ: Karten-Hover-Füllung in Dunkelblau (wie Button/Überschriften links) ===== */
#leistungen .feature-box-overlay { background-color: var(--dark-gray) !important; }

/* ===== WAZ: Datenschutz-Checkbox sauber (Checkbox links, Text als Block) ===== */
.waz-consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--medium-gray); }
.waz-consent input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--base-color); }
.waz-consent span { flex: 1 1 auto; }

/* ===== WAZ: Off-Canvas Mobile-Menü (slide-in, ≤991px) ===== */
.waz-oc-backdrop { position: fixed; inset: 0; background: rgba(0,20,40,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s ease; z-index: 1040; }
.waz-oc-backdrop.is-open { opacity: 1; }
.waz-oc { position: fixed; top: 0; right: 0; height: 100%; width: min(88vw, 380px); background: linear-gradient(160deg, #003D66 0%, #00567d 55%, #007A8C 100%); color: #fff; z-index: 1050; display: flex; flex-direction: column; padding: 26px 26px calc(26px + env(safe-area-inset-bottom)) 26px; transform: translateX(100%); transition: transform .38s cubic-bezier(.22,.61,.36,1); box-shadow: -20px 0 60px rgba(0,0,0,.35); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.waz-oc.is-open { transform: translateX(0); }
.waz-oc-head { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 18px; }
.waz-oc-close { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; border-radius: 8px; font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.waz-oc-close:hover, .waz-oc-close:focus-visible { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); outline: none; }
.waz-oc-nav { display: flex; flex-direction: column; }
.waz-oc-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; font-size: 19px; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); transition: color .2s ease, padding-left .2s ease; }
.waz-oc-link:hover, .waz-oc-link:focus-visible { color: #E8A317; padding-left: 8px; outline: none; }
.waz-oc-contact { margin-top: 34px; }
.waz-oc-contact h3 { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 16px; }
.waz-oc-ci { margin-bottom: 14px; }
.waz-oc-ci > span { display: block; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #8fd3e8; font-weight: 700; margin-bottom: 2px; }
.waz-oc-ci a, .waz-oc-ci p { font-size: 16px; color: #fff; text-decoration: none; margin: 0; }
.waz-oc-ci a:hover { color: #E8A317; }
body.waz-oc-open { overflow: hidden; }
@media (min-width: 992px){ .waz-oc, .waz-oc-backdrop { display: none !important; } }
@media (prefers-reduced-motion: reduce){ .waz-oc, .waz-oc-backdrop { transition: none; } }

/* ===== WAZ: Menü-Links immer einzeilig ("Über uns") + kompakteres Padding im mittleren Bereich ===== */
header .navbar-nav .nav-link { white-space: nowrap; }
@media (max-width: 1199px){
    header .navbar .navbar-nav .nav-link { padding-left: 12px; padding-right: 12px; }
}

/* ===== WAZ: Saubere Silbentrennung (lang=de) statt willkürlicher Wortumbrüche ===== */
body { -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
/* Überschriften + Buttons/Labels/Navigation NICHT trennen (grosse/kurze Begriffe sollen ganz bleiben) */
h1, h2, h3, h4, h5, h6, .btn, .navbar-nav, .nav-link, .footer-list, .breadcrumb { -webkit-hyphens: manual; -ms-hyphens: manual; hyphens: manual; }

/* ===== WAZ: Prozess-Schritte (In 3 Schritten) auf Handy gleich breit + Kreise fluchten, Block zentriert ===== */
@media (max-width: 767px){
    .waz-process-steps .process-step-style-07 { width: 100%; }
    .waz-process-steps .process-step-item { width: 240px; max-width: 100%; margin-left: auto; margin-right: auto; }
}

/* ===== WAZ: Karussell-Pfeile auf Handy-Breite ausblenden (dort per Wischen bedienbar) ===== */
@media (max-width: 767px){ .leist-nav { display: none !important; } }

/* ===== WAZ: Leistungs-Karussell im Responsive bündig zur Text-Spalte (gleicher 15px-Abstand) ===== */
@media (max-width: 991px){
    .waz-leist-carousel-col.ps-5 { padding-left: 15px !important; }
}

/* ===== WAZ: Sticky-Header aktiv (responsive-sticky) – Anker-Sprünge nicht unter Header ===== */
html { scroll-padding-top: 96px; }
@media (max-width: 991px){ html { scroll-padding-top: 76px; } }

/* ===== WAZ: Hero-H1 auf schmalen Handys skalieren (kein Überlauf bei "Betriebsarzt") ===== */
.waz-hero h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 575px){
    .waz-hero h1 { font-size: 42px !important; line-height: 46px !important; letter-spacing: -1px !important; }
}
@media (max-width: 400px){
    .waz-hero h1 { font-size: 37px !important; line-height: 41px !important; }
}

/* ===== WAZ: FAQ-Section (Card-Accordion, TÜV-CI) ===== */
.waz-faq { background: #fff; }
@media (min-width: 992px){ .waz-faq .col-lg-4 { position: sticky; top: 118px; } }
/* Intro-H2 im schmalen lg-Bereich verkleinern, sonst bricht "Unternehmen." mitten im Wort um */
@media (min-width: 992px) and (max-width: 1199px){
    .waz-faq h2 { font-size: 33px; line-height: 1.15; -webkit-hyphens: auto; hyphens: auto; }
}

/* Accordion-Items als Karten */
.waz-faq-acc .accordion-item { background: #fff; border: 1px solid #e4eaf0; border-radius: 12px; margin-bottom: 16px; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.waz-faq-acc .accordion-item:last-child { margin-bottom: 0; }
.waz-faq-acc .accordion-item:hover { border-color: rgba(0,113,185,.45); box-shadow: 0 8px 26px rgba(0,61,102,.07); }
.waz-faq-acc .accordion-item.active-accordion { border-color: var(--base-color); box-shadow: 0 12px 36px rgba(0,61,102,.11); }
.waz-faq-acc .accordion-header { border: 0; padding: 0; background: transparent; }
.waz-faq-acc .accordion-header a { display: block; padding: 24px 28px; text-decoration: none; cursor: pointer; }
.waz-faq-acc .accordion-item .accordion-header .accordion-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-right: 0; }
/* Icon zurück in den Flex-Fluss (Theme setzt es sonst position:absolute -> Text-Überlappung) */
.waz-faq-acc .accordion-item .accordion-header .accordion-title i.waz-faq-ico { position: static; top: auto; right: auto; transform: none; }
.waz-faq-acc .waz-faq-q { flex: 1 1 auto; min-width: 0; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--dark-gray); transition: color .2s ease; }
.waz-faq-acc .accordion-item:hover .waz-faq-q,
.waz-faq-acc .accordion-item.active-accordion .waz-faq-q { color: var(--base-color); }
/* +/- Badge */
.waz-faq-acc .waz-faq-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,113,185,.10); color: var(--base-color); font-size: 20px; transition: background-color .25s ease, color .25s ease; }
.waz-faq-acc .accordion-item.active-accordion .waz-faq-ico { background: var(--base-color); color: #fff; }
/* Body */
.waz-faq-acc .accordion-body { border: 0; padding: 0 68px 26px 28px; }
.waz-faq-acc .accordion-body p { font-size: 16px; line-height: 1.75; color: #52616f; margin: 0; }
/* Tastatur-Fokus sichtbar */
.waz-faq-acc .accordion-header a:focus-visible { outline: 2px solid var(--base-color); outline-offset: -2px; border-radius: 12px; }
/* Mobile */
@media (max-width: 575px){
    .waz-faq-acc .accordion-header a { padding: 18px 18px; }
    .waz-faq-acc .waz-faq-q { font-size: 16px; }
    .waz-faq-acc .waz-faq-ico { width: 34px; height: 34px; font-size: 18px; }
    .waz-faq-acc .accordion-body { padding: 0 18px 22px 18px; }
}
@media (prefers-reduced-motion: reduce){
    .waz-faq-acc .accordion-collapse.collapsing { transition: none !important; }
    .waz-faq-acc .accordion-item, .waz-faq-acc .waz-faq-ico, .waz-faq-acc .waz-faq-q { transition: none !important; }
}

/* ===== WAZ: Prozess-Schritte (01/02/03) hochwertiger, mit CI-Bernstein-Akzent ===== */
.waz-process-steps .process-step-icon {
    width: 54px !important; height: 54px !important;
    border: 2px solid rgba(255,255,255,.32) !important;
    background: linear-gradient(155deg, rgba(255,255,255,.22), rgba(255,255,255,.05));
    box-shadow: 0 8px 20px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.28);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.waz-process-steps .process-step-icon .number {
    font-size: 19px; font-weight: 800; color: #fff; line-height: 1;
    font-variant-numeric: tabular-nums; letter-spacing: .5px;
}
.waz-process-steps .process-step-item:hover .process-step-icon {
    border-color: rgba(255,255,255,.6) !important;
    background: linear-gradient(155deg, rgba(255,255,255,.32), rgba(255,255,255,.10));
}

/* ===== WAZ: "Floating Process Section" – Karten, Verbindungslinie, Hover-Lift ===== */
/* Box mit dezentem Verlauf + weichem Schatten */
.waz-process-box {
    background: linear-gradient(135deg, #0071B9 0%, #005e97 55%, #007A8C 100%);
    box-shadow: 0 30px 60px rgba(0,61,102,.28);
    border-radius: 20px !important;
}
/* jede Stufe als eigene, leicht transparente Karte – Icon oben, Text darunter */
.waz-process-steps .process-step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
    transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative; z-index: 1;
    height: 100%;
}
.waz-process-steps .process-content { padding-left: 0 !important; margin-top: 10px; }
.waz-process-steps .process-step-item:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.30);
    box-shadow: 0 20px 44px rgba(0,0,0,.24);
}
@media (min-width: 992px){
    /* mehr Abstand zwischen den Karten */
    .waz-process-steps { --bs-gutter-x: 2rem; --bs-gutter-y: 1.5rem; }
    /* feine Verbindungslinie zwischen den Karten (ersetzt die großen Pfeile), auf Höhe der Kreise */
    .waz-process-steps .process-step-style-07:not(:last-child)::after {
        content: ""; position: absolute; top: 45px; right: -16px;
        width: 32px; height: 2px; background: rgba(255,255,255,.32);
        transform: translateY(-50%); z-index: 0; pointer-events: none;
    }
}
@media (prefers-reduced-motion: reduce){
    .waz-process-steps .process-step-icon,
    .waz-process-steps .process-step-item { transition: none; }
    .waz-process-steps .process-step-item:hover { transform: none; }
}

/* ===== WAZ: semantische Überschriften (SEO) – <h3> statt <span>, Optik unverändert ===== */
h3.waz-svc-title { margin-top: 0; }            /* margin-bottom: 8px bleibt aus .waz-svc-title */
h3.waz-faq-q { margin: 0; }
h3.waz-loc-name { margin-top: 0; margin-bottom: 5px; }
h3.waz-job-title { margin: 0; }
/* Kennzahl "15+" (früher h2) als reine Zahl darstellen */
.waz-stat-num { font-size: 42px; line-height: 1; }

/* ===== WAZ: Prozess-Band "In 3 Schritten" – fest mit Dienstleistungen verbunden (konsistente Überlappung, ohne Pfeile) ===== */
.waz-process-band { position: relative; z-index: 3; margin-top: -150px; }
@media (max-width: 991px){ .waz-process-band { margin-top: 30px; } }  /* mobil kein Overlap */

/* ===== WAZ: Barrierefreiheit (WCAG 2.1 AA / BFSG) ===== */
/* 2.4.7 Fokus sichtbar – Theme setzt :focus-visible{outline:none}; hier wieder aktivieren */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.btn:focus-visible, .accordion-header a:focus-visible, .nav-link:focus-visible {
    outline: 3px solid var(--base-color) !important;
    outline-offset: 2px !important;
    border-radius: 3px;
}
/* 2.4.1 Skip-Link */
.waz-skip { position: absolute; left: 12px; top: -80px; z-index: 100000;
    background: var(--dark-gray); color: #fff !important; padding: 12px 20px;
    border-radius: 0 0 8px 8px; font-weight: 700; text-decoration: none;
    transition: top .2s ease; }
.waz-skip:focus { top: 0; }
/* 1.4.3 Kontrast – Standard-Textfarbe von #848587 (3,7:1) auf lesbares Slate anheben */
body { color: #55616d; }
/* Job-Karten: text-light-opacity (opacity .7) war ~2,3:1 -> lesbar machen */
#stellenangebote .text-light-opacity { opacity: 1; color: #55616d; }
/* 2.3.3 Reduced Motion */
@media (prefers-reduced-motion: reduce){
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important; scroll-behavior: auto !important;
    }
    [data-anime] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   WAZ: Tutor-Feedback 16.07. (Eckenradien, Rechtliches, Bilder)
   ============================================================ */

/* 1) Button-Eckenradius an das Hero-Bild angleichen (10px statt 4px).
   Gilt gezielt für den Kontakt-Button im Header und den Hero-Button. */
header .header-button .btn-round-edge,
.waz-hero .btn-round-edge { border-radius: 10px; }

/* 3) Über-uns: Original-Fotos von waz-saar.com, einheitliches 3:2-Format
   (object-fit cover), damit breites Arzt-Foto + quadratisches Stillleben
   gleich und ruhig wirken. Großes Bild mit dezentem statischem Schatten. */
.waz-ueber-img img { aspect-ratio: 3 / 2; object-fit: cover;
    box-shadow: 0 15px 45px rgba(0,61,102,.12); }
.waz-ueber-accent img { aspect-ratio: 3 / 2; object-fit: cover; }
/* Foto-Spalte: relative (mobil, damit Akzentbild korrekt sitzt), ab Desktop sticky
   -> Bilder bleiben beim Scrollen stehen (wie FAQ-Intro) bis Section-Ende.
   position-relative-Klasse wurde entfernt, da deren !important das sticky überschrieb. */
.waz-ueber-media { position: relative; }
@media (min-width: 992px){ .waz-ueber-media { position: sticky; top: 118px; align-self: flex-start; } }

/* 4) Rechtliches (Impressum · Datenschutz) – im Footer, über der Trennlinie der ©-Zeile. */
.waz-legal { display: flex; justify-content: center; align-items: center;
    gap: 14px; font-size: 15px; }
.waz-legal a { text-decoration: none; transition: color .2s ease; }
.waz-legal-footer { padding-bottom: 22px; }
.waz-legal-footer a { color: rgba(255,255,255,.85); }
.waz-legal-footer a:hover { color: #fff; }
.waz-legal-footer .waz-legal-sep { color: rgba(255,255,255,.4); }

/* Heartbeat-Deko (Dienstleistungen): Top-Position – Standard 0px statt 30px, ab ≤1199px -15px statt -50px */
.waz-heartbeat-deco { top: 0 !important; }
@media (max-width: 1199px){ .waz-heartbeat-deco { top: -15px !important; } }
