@charset "utf-8";
/* ============================================================
   ANDI24.DE - CUSTOM STYLES
   
   ✅ Hero min-height (Desktop + Mobile) - CLS Fix
   ✅ Navigation height 90px - CLS Fix
   ✅ Preloader Fix
   ✅ Login Button Fix (volle Klickfläche)
   ✅ WebManifest CORS Fix (absoluter Pfad)
   ============================================================ */

/* Lokale Webfonts: Inter + Poppins (latin, woff2) */
@import url('/assets/css/font.css');

/* ============================================================
   1. SERVICE AREA & ALLGEMEINE LAYOUTS
   ============================================================ */

.atf-service-area .row {
    text-align: left !important;
    justify-content: flex-start !important;
}

.atf-service-item {
    flex-direction: column !important;
}

@media (min-width: 768px) {
    .atf-service-item {
        flex-direction: row !important;
    }
}

@media (max-width: 767px) {
    .atf-service-item {
        flex-direction: column !important;
        padding: 20px;
    }
    .atf-service-item .col-12,
    .atf-service-item .col-md-7,
    .atf-service-item .col-md-5 {
        width: 100% !important;
        max-width: 100% !important;
    }
    .atf-service-box {
        flex-direction: column;
        text-align: center !important;
    }
    .atf-service-icon {
        margin: 0 auto 15px auto !important;
    }
    .atf-service-item .d-flex.col-md-5 {
        justify-content: center !important;
        margin-top: 20px !important;
    }
    .atf-service-thumb.d-none.d-lg-block {
        display: none !important;
    }
    .atf-service-btn {
        margin-left: 15px;
    }
    .atf-service-box-content {
        max-width: 100%;
    }
    .atf-service-title {
        word-break: break-word;
        hyphens: auto;
    }

    /* Mobile Container Padding */
    .container { padding-left: 16px !important; padding-right: 16px !important; }
    .atf-section-title { padding-left: 10px; padding-right: 10px; }
    .atf-service-box-area { margin-left: 5px; margin-right: 5px; }
    #hero .atf-hero-content { padding-left: 15px !important; padding-right: 15px !important; }
    #hero h1.title { font-size: 32px !important; line-height: 1.3 !important; word-break: break-word; }
    .row { margin-left: 0 !important; margin-right: 0 !important; }

    /* Blog */
    .atf-blog-item { height: auto !important; }
}

@media (max-width: 575px) {
    .breadcrumb-title { font-size: 32px !important; word-break: break-word; hyphens: auto; }
}

@media (max-width: 375px) {
    .breadcrumb-title { font-size: 26px !important; }
}

/* ============================================================
   2. FOOTER, ALERTS & NEWSLETTER
   ============================================================ */

/* Footer Links */
.footer-legal-list { list-style: none; padding: 0; margin: 0; }
.footer-legal-list li { margin-bottom: 8px; }
.footer-legal-list li a { color: #b0b0b0; font-size: 15px; text-decoration: none; transition: all 0.3s ease; }
.footer-legal-list li a:hover { color: #6ab2cf; padding-left: 5px; }

/* Alerts */
.alert { padding: 15px 20px; margin-bottom: 30px; border: 1px solid transparent; border-radius: 10px; font-weight: 500; font-size: 16px; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }

/* Newsletter Feedback */
.newsletter-feedback { margin-top: 15px; padding: 10px 15px; border-radius: 6px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; animation: fadeIn 0.5s ease-in-out; }
.newsletter-feedback.warning { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.newsletter-feedback.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.newsletter-feedback.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   3. HEADER FIX (Dunkelblau Start, Weiß beim Scrollen)
   ============================================================ */

/* --- STARTZUSTAND (Oben, Dunkelblau) --- */
.atf-site-header.atf-style1:not(.atf-sticky-active) {
    background-color: #0F172A !important;
    border-bottom: none !important;
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    height: 90px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* --- SCROLL-ZUSTAND (Sticky, Weiß) --- */
.atf-site-header.atf-style1.atf-sticky-active {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.2) !important;
    z-index: 9999;
    animation: none !important;
    transform: none !important;
    height: 90px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* --- INHALTE STABILISIEREN --- */
.atf-site-header.atf-style1 .container,
.atf-site-header.atf-style1 .row {
    height: 100% !important;
}

.atf-site-logo a {
    display: flex !important;
    align-items: center !important;
    height: 90px !important;
}

.atf-site-logo img {
    max-height: 50px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.atf-main-menu > nav > ul > li > a {
    display: flex !important;
    align-items: center !important;
    height: 90px !important;
    padding: 0 15px !important;
    margin: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-transform: none !important;
}

.atf-header-bottom-right {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.atf-themes-btn {
    margin: 0 !important;
}

/* --- FARBEN & LOGO-TAUSCH --- */

/* Start: Weißer Text & Logo */
.atf-site-header.atf-style1:not(.atf-sticky-active) .atf-main-menu > nav > ul > li > a,
.atf-site-header.atf-style1:not(.atf-sticky-active) .atf-themes-btn {
    color: #ffffff !important;
}

.atf-site-header.atf-style1:not(.atf-sticky-active) .atf-themes-btn {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.atf-site-header.atf-style1:not(.atf-sticky-active) .atf-site-logo img {
    display: none !important;
}

.atf-site-header.atf-style1:not(.atf-sticky-active) .atf-site-logo a {
    background-image: url('../img/logo/logo_andi24_web_weiss.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}

/* Sticky: Dunkler Text & Original Logo */
.atf-site-header.atf-style1.atf-sticky-active .atf-main-menu > nav > ul > li:not(.login-highlight) > a {
    color: var(--atf-thm-black) !important;
}

.atf-site-header.atf-style1.atf-sticky-active .atf-themes-btn {
    color: var(--atf-thm-black) !important;
    border-color: var(--atf-border-1) !important;
}

.atf-site-header.atf-style1.atf-sticky-active .atf-site-logo img {
    display: block !important;
    max-height: 90px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.atf-site-header.atf-style1.atf-sticky-active .atf-site-logo a {
    background-image: none !important;
}

/* Login-Button: Text dunkel bei Sticky */
.atf-site-header.atf-style1.atf-sticky-active .login-highlight > a {
    color: #0F172A !important;
}

/* Mobile: Immer Dunkel */
@media (max-width: 767px) {
    .atf-site-header.atf-style1:not(.atf-sticky-active) {
        background-color: #0F172A !important;
    }
    .atf-hamburger-toogle {
        color: #fff !important;
    }
}

/* Hero Wrapper */
#hero-master-wrapper,
#hero-master-wrapper .hero-inner {
    background-color: #0F172A !important;
}

#hero-master-wrapper {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    padding-top: 90px !important;
    margin: 0 !important;
}

.hero-inner {
    position: relative !important;
    width: 100% !important;
    line-height: 0 !important;
}

.hero-video-element {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Desktop */
@media (min-width: 768px) {
    #hero-master-wrapper {
        padding-top: 90px !important;
        min-height: 682px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #0F172A !important;
    }

    .hero-inner {
        position: relative !important;
        width: 1280px !important;
        height: 592px !important;
        max-width: 100% !important;
    }

    .hero-inner::after {
        content: '';
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to right,
            #0F172A 0%,
            rgba(15, 23, 42, 0.8) 3%,
            rgba(15, 23, 42, 0) 8%,
            rgba(15, 23, 42, 0) 92%,
            rgba(15, 23, 42, 0.8) 97%,
            #0F172A 100%
        ) !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }

    .hero-video-element {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        z-index: 1 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #hero-master-wrapper {
        width: 100% !important;
        min-height: calc(100vw * 0.4625 + 90px) !important;
        padding-top: 90px !important;
        margin: 0 !important;
        background-color: #000 !important;
        overflow: hidden !important;
    }

    .hero-inner {
        width: 100% !important;
        line-height: 0 !important;
    }

    .hero-video-element {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    #hero-text {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }
}

/* ============================================================
   5. NAVIGATION - FARBEN & HOVER
   ============================================================ */

html {
    scroll-behavior: smooth;
    scroll-margin-top: 130px;
}

/* Hauptmenü & Untermenü: Hover & Active */
body .atf-site-header .atf-main-menu > nav > ul > li > a:hover,
body .atf-site-header .atf-main-menu > nav > ul > li > a.active {
    color: #6ab2cf !important;
    opacity: 1 !important;
}

body .atf-site-header .atf-main-menu .sub-menu li a:hover,
body .atf-site-header .atf-main-menu .sub-menu li.active > a {
    color: #6ab2cf !important;
    background: transparent !important;
    padding-left: 20px !important;
}

/* Punkte im Untermenü entfernen */
body .atf-site-header .atf-main-menu .sub-menu li > a::before,
body .atf-site-header .atf-main-menu .sub-menu li:hover > a::before {
    content: none !important;
    display: none !important;
}

.atf-main-menu .sub-menu li a {
    padding-left: 20px !important;
    transition: all 0.3s ease;
}

.atf-main-menu .sub-menu li a:hover {
    color: #6ab2cf !important;
    padding-left: 25px !important;
    background: transparent !important;
}

.atf-site-header.atf-style1.atf-sticky-active .atf-main-menu li:not(.login-highlight) a:hover,
.atf-site-header.atf-style1.atf-sticky-active .atf-main-menu li:not(.login-highlight) a.active {
    color: #6ab2cf !important;
}

/* ============================================================
   6. BUTTONS & ICONS
   ============================================================ */

/* Hero Button */
.atf-themes-btn.btn-hero-solid {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

.atf-themes-btn.btn-hero-solid:hover {
    background-color: #6ab2cf !important;
    border-color: #6ab2cf !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(106, 178, 207, 0.4) !important;
}

/* CTA Buttons (Service-Seiten) */
.atf-cta-btn {
    background: #0F172A !important;
    color: white !important;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 8px;
    border: none !important;
    transition: all 0.3s ease;
}

.atf-cta-btn:hover {
    background: #1e293b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.atf-cta-btn-outline {
    background: transparent !important;
    color: #6ab2cf !important;
    padding: 18px 40px;
    font-size: 18px;
    border: 2px solid #6ab2cf !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.atf-cta-btn-outline:hover {
    background: #6ab2cf !important;
    color: white !important;
}

/* Service Buttons (Runde Buttons) */
.atf-service-btn a {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Newsletter Button */
.newsletter-input-group {
    position: relative;
    padding-right: 60px;
}

.atf-single-newsletter .subcribe-btn {
    position: absolute !important;
    top: 50% !important;
    right: 5px !important;
    transform: translateY(-50%);
    width: 45px !important;
    height: 45px !important;
    background-color: #000000 !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    padding: 0 !important;
    line-height: 1 !important;
}

@media (max-width: 600px) {
    .newsletter-input-group {
        padding-right: 45px;
    }

    .atf-single-newsletter .subcribe-btn {
        width: 35px !important;
        height: 35px !important;
        right: 3px !important;
    }

    .atf-single-newsletter .subcribe-btn .icon-klasse {
        font-size: 16px !important;
    }
}

/* Kontakt Icons */
.atf-contact-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.atf-contact-icon i {
    margin: 0 !important;
    display: block !important;
    line-height: 1 !important;
}

.atf-contact-btn button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Galerie Button */
.atf-portfolio-icon a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.atf-portfolio-icon a i {
    margin: 0 !important;
    line-height: 0 !important;
    display: block !important;
}

/* ============================================================
   7. BLOG STYLES
   ============================================================ */

.atf-blog-uniform {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.atf-blog-thumb-fixed {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
}

.atf-blog-thumb-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.atf-blog-thumb-fixed:hover img {
    transform: scale(1.05);
}

.atf-blog-title-fixed {
    min-height: 60px;
    max-height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.atf-blog-title-fixed a {
    font-size: 20px;
    font-weight: 700;
}

.atf-blog-excerpt-fixed {
    min-height: 72px;
    max-height: 72px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}

.atf-blog-meta-box-area {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.atf-blog-action {
    margin-top: auto !important;
}

@media (max-width: 991px) {
    .atf-blog-thumb-fixed { height: 220px; }
    .atf-blog-title-fixed { min-height: 55px; max-height: 55px; }
    .atf-blog-title-fixed a { font-size: 18px; }
    .atf-blog-excerpt-fixed { font-size: 14px; min-height: 66px; max-height: 66px; }
}

@media (max-width: 767px) {
    .atf-blog-thumb-fixed { height: 200px; }
    .atf-blog-title-fixed { min-height: auto; max-height: none; -webkit-line-clamp: unset; }
    .atf-blog-excerpt-fixed { min-height: auto; max-height: none; -webkit-line-clamp: 4; }

    /* Blog-Detail Buttons */
    .blog-text-content .atf-themes-btn,
    .atf-blog-details-content .atf-themes-btn {
        white-space: normal !important;
        line-height: 1.3 !important;
        height: auto !important;
        padding: 12px 15px !important;
        font-size: 14px !important;
        text-align: center !important;
    }
}

/* ============================================================
   8. TESTIMONIAL SLIDER
   ============================================================ */

html body section#client .testimonial-slider-active .slick-dots li button {
    background: transparent !important;
    border: none !important;
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    position: relative !important;
}

html body section#client .testimonial-slider-active .slick-dots li button:before,
html body section#client .testimonial-slider-active .slick-dots li button::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #6ab2cf !important;
    opacity: 0.3 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

html body section#client .testimonial-slider-active .slick-dots li.slick-active button:before,
html body section#client .testimonial-slider-active .slick-dots li.slick-active button::before {
    background-color: #0F172A !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
}

section#client .testimonial-slider-active {
    position: relative;
    padding-bottom: 60px;
}

section#client .testimonial-slide {
    padding: 20px 10px;
    outline: none;
}

section#client .testimonial-slide p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    color: #333;
    min-height: 120px;
}

@media (max-width: 768px) {
    section#client .circle-graphic { max-width: 300px; margin: 0 auto 40px auto; }
    section#client .testimonial-slider-active { padding-bottom: 80px; }
    section#client .testimonial-slider-active .slick-dots { bottom: -60px; }
    section#client .testimonial-slide p { font-size: 16px; min-height: auto; }
}

/* ============================================================
   9. FOOTER STYLES
   ============================================================ */

.atf-footer-menu a:hover,
.atf-footer-contact a:hover {
    color: #6ab2cf !important;
    padding-left: 5px;
}

.atf-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.atf-footer-social a:hover {
    background: #6ab2cf;
    transform: translateY(-3px);
}

.atf-footer-widget-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.atf-footer-widget p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 25px;
}

.atf-footer-menu { list-style: none; padding: 0; margin: 0; }
.atf-footer-menu li { margin-bottom: 12px; }
.atf-footer-menu a { color: rgba(255,255,255,0.8); text-decoration: none; transition: all 0.3s; }
.atf-footer-contact { list-style: none; padding: 0; margin: 0; }
.atf-footer-contact li { margin-bottom: 15px; color: rgba(255,255,255,0.8); }
.atf-footer-contact a { color: rgba(255,255,255,0.8); text-decoration: none; transition: all 0.3s; }

.atf-footer-top {
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
    padding-top: 100px;
    padding-bottom: 70px;
}

.atf-footer-bottom {
    background: #0F172A;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.atf-footer-bottom p { color: rgba(255,255,255,0.6); margin: 0; }
.atf-footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; transition: all 0.3s; }
.atf-footer-bottom a:hover { color: #6ab2cf; }
.atf-footer-logo img { max-width: 200px; }

/* ============================================================
   10. MOBILE ÜBERSCHRIFTEN
   ============================================================ */

@media (max-width: 767px) {
    .atf-hero-content h1,
    .breadcrumb-content h1,
    .breadcrumb-title,
    h1.atf-section-title {
        font-size: 30px !important;
        line-height: 1.4 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        padding: 0 10px !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    .service-info-box h3,
    .atf-service-box h3,
    .atf-service-title,
    .atf-service-box-content h3 {
        font-size: 20px !important;
        line-height: 1.5 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        text-align: center !important;
        padding: 0 15px !important;
        margin-bottom: 15px !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .service-detail-btn,
    .atf-themes-btn.service-btn,
    .service-info-box .atf-themes-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        height: auto !important;
        min-height: 50px !important;
        text-align: center !important;
        background: #0F172A !important;
        color: white !important;
        border: 2px solid #0F172A !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        margin-top: 20px !important;
    }

    .service-detail-btn:hover,
    .atf-themes-btn.service-btn:hover {
        background: #6ab2cf !important;
        border-color: #6ab2cf !important;
        transform: translateY(-2px) !important;
    }

    .service-detail-btn i,
    .atf-themes-btn.service-btn i {
        margin-left: 8px !important;
        flex-shrink: 0 !important;
    }

    .service-info-box {
        padding: 25px 20px !important;
        margin-bottom: 25px !important;
        border-radius: 15px !important;
        background: white !important;
        border: 2px solid #6ab2cf !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
    }

    .service-info-box .icon-box {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 15px auto !important;
        background: linear-gradient(135deg, #6ab2cf 0%, #0F172A 100%) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .service-info-box .icon-box i {
        font-size: 28px !important;
        color: white !important;
    }

    .service-info-box p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        text-align: center !important;
        color: #64748b !important;
    }

    .atf-section-title {
        font-size: 30px !important;
        line-height: 1.4 !important;
        padding: 0 20px !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .atf-section-subtitle {
        font-size: 16px !important;
        line-height: 1.6 !important;
        padding: 0 20px !important;
    }

    /* About Section */
    .atf-about-img { margin-bottom: 40px !important; }
    .atf-about-content-wrapp { padding-left: 20px !important; padding-right: 20px !important; }
    #about .atf-about-action .atf-themes-btn { background: #6ab2cf !important; border-color: #6ab2cf !important; color: #ffffff !important; }
    #about .atf-about-action .atf-themes-btn:hover { background: #4a9bb8 !important; border-color: #4a9bb8 !important; }

    /* Why Us */
    section#whyus article > div { flex-direction: column !important; align-items: center !important; text-align: center !important; }
    section#whyus article > div > div:first-child { margin-bottom: 20px !important; }
    section#whyus article h3 { text-align: center !important; }
    section#whyus article p { text-align: center !important; }
}

@media (max-width: 375px) {
    .atf-hero-content h1,
    .breadcrumb-title {
        font-size: 26px !important;
        line-height: 1.4 !important;
    }

    .service-info-box h3 {
        font-size: 18px !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }
}

/* ============================================================
   11. PORTFOLIO CARDS
   ============================================================ */

.atf-portfolio-item {
    background: #ffffff !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
}

.atf-portfolio-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transform: translateY(-5px) !important;
    border-color: #6ab2cf !important;
}

.atf-portfolio-area .atf-portfolio-thumb {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    height: 280px !important;
    width: 100% !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
}

.atf-portfolio-area .atf-portfolio-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
}

.atf-portfolio-area .atf-portfolio-thumb a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.atf-portfolio-area .atf-portfolio-thumb:hover img { transform: scale(1.08) !important; }
.atf-portfolio-content-area { padding: 0 5px !important; }
.atf-portfolio-title { margin-bottom: 12px !important; }

.atf-portfolio-title a {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    transition: color 0.3s ease !important;
    line-height: 1.4 !important;
    display: block !important;
    min-height: 60px !important;
}

.atf-portfolio-title a:hover { color: #6ab2cf !important; }

.atf-portfolio-cat { display: flex !important; gap: 8px !important; flex-wrap: wrap !important; }

.atf-portfolio-subtitle {
    background: #f1f5f9 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.atf-portfolio-icon a {
    width: 45px !important;
    height: 45px !important;
    background: linear-gradient(135deg, #6ab2cf 0%, #0F172A 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.atf-portfolio-icon a:hover { transform: rotate(45deg) scale(1.1) !important; }
.atf-portfolio-area .row > [class*="col-"] { margin-bottom: 40px !important; }

@media (max-width: 991px) {
    .atf-portfolio-area .atf-portfolio-thumb { height: 250px !important; }
    .atf-portfolio-area .row > [class*="col-"] { margin-bottom: 35px !important; }
}

@media (max-width: 768px) {
    .atf-portfolio-area .atf-portfolio-thumb { height: 220px !important; }
    .atf-portfolio-item { padding: 15px !important; }
    .atf-portfolio-area .row > [class*="col-"] { margin-bottom: 30px !important; }
}

@media (max-width: 480px) {
    .atf-portfolio-area .atf-portfolio-thumb { height: 200px !important; }
    .atf-portfolio-title a { font-size: 19px !important; }
}

.portfolio-details h1,
.portfolio-details h2 {
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
}

/* ============================================================
   12. MOBILE CTA BUTTONS
   ============================================================ */

@media (max-width: 767px) {
    nav[aria-label="Call-to-Action Buttons"] .atf-themes-btn {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
}

/* ============================================================
   13. RUNDER GALLERY BUTTON
   ============================================================ */

.atf-themes-btn.round-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    padding: 20px !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.3 !important;
}

@media (max-width: 767px) {
    .atf-themes-btn.round-cta-btn { width: 130px !important; height: 130px !important; font-size: 16px !important; }
}

@media (max-width: 576px) {
    .atf-themes-btn.round-cta-btn { width: 110px !important; height: 110px !important; font-size: 14px !important; }
}

/* ============================================================
   14. AVATAR IN NAVIGATION & LOGIN BUTTON
   ============================================================ */

.nav-avatar-link { display: flex !important; align-items: center !important; gap: 10px !important; }

.nav-avatar-image {
    width: 40px; height: 40px; min-width: 40px; min-height: 40px;
    border-radius: 50%; border: 2px solid #6ab2cf; object-fit: cover; flex-shrink: 0;
}

.nav-avatar-initials {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; min-width: 40px; min-height: 40px;
    border-radius: 50%; background: linear-gradient(135deg, #6AB2CF 0%, #0F172A 100%);
    color: white; font-weight: bold; border: 2px solid #6ab2cf; font-size: 16px; flex-shrink: 0;
}

.nav-user-name { white-space: nowrap; }

/* Login Button */
.atf-nav-list > li.login-highlight > a,
.atf-nav-list > li.login-highlight > a:hover {
    color: #0F172A !important;
}

.atf-nav-list > li.login-highlight {
    position: relative;
    z-index: 100;
}

.atf-nav-list > li.login-highlight > a {
    background: #6ab2cf !important;
    color: white !important;
    padding: 8px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(106, 178, 207, 0.3) !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: auto !important;
    font-size: 14px !important;
    position: relative;
    z-index: 101;
    pointer-events: auto !important;
}

.atf-nav-list > li.login-highlight > a:hover,
body .atf-site-header .atf-main-menu > nav > ul > li.login-highlight > a:hover,
.atf-site-header.atf-style1:not(.atf-sticky-active) .login-highlight > a:hover,
.atf-site-header.atf-style1.atf-sticky-active .login-highlight > a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(106, 178, 207, 0.5) !important;
    color: #0F172A !important;
    background: #6ab2cf !important;
}

.atf-nav-list > li.login-highlight > a i { font-size: 16px; }

/* Dropdown blockiert nicht den Button */
.atf-nav-list > li.login-highlight .sub-menu { pointer-events: none; }
.atf-nav-list > li.login-highlight:hover .sub-menu { pointer-events: auto; }

/* ============================================================
   15. NAV HIERARCHIE - DESKTOP UND MOBILE
   ============================================================ */

.atf-main-menu > nav > ul > li > a { font-weight: 600 !important; }
.atf-main-menu > nav > ul > li .sub-menu li > a { font-weight: 400 !important; }

.atf-main-menu > nav > ul > li .sub-menu li:first-child {
    border-top: 2px solid #6ab2cf !important;
    padding-top: 12px !important;
    margin-top: 8px !important;
}

.atf-main-menu > nav > ul > li .sub-menu li:first-child > a {
    font-weight: 600 !important;
    padding-left: 20px !important;
}

@media (min-width: 1400px) {
    .atf-main-menu > nav > ul > li .sub-menu li > a {
        padding: 12px 20px !important;
        transition: all 0.2s ease !important;
    }

    .atf-main-menu > nav > ul > li .sub-menu li:not(:first-child) {
        border-top: 1px solid rgba(100, 116, 139, 0.08) !important;
    }

    body .atf-site-header .atf-main-menu > nav > ul > li .sub-menu li > a:hover {
        background: rgba(106, 178, 207, 0.12) !important;
        padding-left: 20px !important;
        color: var(--atf-thm-black) !important;
    }

    .atf-main-menu > nav > ul > li .sub-menu { min-width: 240px !important; }
}

.atf-hamburger-menu ul li > a:hover,
.atf-hamburger-menu ul li > a:active {
    background: rgba(106, 178, 207, 0.12) !important;
    color: #0F172A !important;
}

/* ============================================================
   16. HAMBURGER MENU
   ============================================================ */

/* Hamburger immer sichtbar unter 1400px – Bootstrap-unabhängig */
@media (max-width: 1399px) {
    .atf-main-menu-bars { display: block !important; }
    .atf-main-menu-bars.d-xl-none { display: block !important; }
}
@media (min-width: 1400px) {
    .atf-main-menu-bars { display: none !important; }
}

.atf-hamburger { width: 400px !important; will-change: transform; }

@media (max-width: 574px) {
    .atf-hamburger { width: 100% !important; }
}

/* Hamburger Farbe beim Scroll */
header.atf-header-area .atf-site-header.atf-sticky-active .atf-main-menu-bars button,
header.atf-header-area .atf-site-header.atf-sticky-active .atf-hamburger-toggle,
header.atf-header-area .atf-site-header.atf-header-active .atf-main-menu-bars button,
header.atf-header-area .atf-site-header.atf-header-active .atf-hamburger-toggle,
.atf-header-active .fa-bars,
.atf-sticky-header.atf-header-active .fa-bars,
.fixed-top.atf-header-active .fa-bars,
header.atf-header-area .atf-site-header.atf-sticky-active .fa.fa-bars,
header.atf-header-area .atf-site-header.atf-header-active .fa.fa-bars,
.atf-sticky-active .fa-bars,
.atf-header-active .fa-bars {
    color: #0F172A !important;
}

.atf-header-active .atf-hamburger-toggle { color: #0F172A !important; }

.atf-header-active [class^="fa-"],
.atf-header-active [class*=" fa-"] {
    color: #0F172A !important;
}

/* ============================================================
   17. SPLIT-CONTENT H2 - MOBILE SCHRIFTGRÖSSE
   ============================================================ */

@media (max-width: 767px) {
    .atf-section-title .title.split-content,
    .atf-section-title h2.title.split-content,
    .atf-about-content-wrapp .title.split-content,
    .atf-hero-heading .title.split-content,
    h1.title.split-content,
    h2.title.split-content,
    .title.style1.split-content {
        font-size: 26px !important;
        line-height: 1.3 !important;
        letter-spacing: -1px !important;
    }
}

@media (max-width: 480px) {
    .atf-section-title .title.split-content,
    .atf-section-title h2.title.split-content,
    .atf-about-content-wrapp .title.split-content,
    .atf-hero-heading .title.split-content,
    h1.title.split-content,
    h2.title.split-content,
    .title.style1.split-content {
        font-size: 22px !important;
        line-height: 1.3 !important;
        letter-spacing: 0px !important;
    }
}

/* ============================================================
   18. PRELOADER - CLS FIX
   ============================================================ */

.atf_preloader::after {
    content: '';
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ============================================================
   19. SERVICE PAGES
   ============================================================ */

/* Backgrounds */
.service-bg-gradient { background: linear-gradient(180deg, white 0%, #f8fafc 100%); }
.service-bg-gradient-alt { background: linear-gradient(180deg, #f8fafc 0%, white 100%); }
.service-bg-dark { background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%); }
.service-bg-dark .title { color: white !important; }

.service-bg-dark .title .highlight,
section.service-bg-dark h2.title span.highlight,
.pt-100.pb-100.service-bg-dark .title .highlight,
.service-bg-dark .title > span.highlight {
    color: #ffffff !important;
}

/* Service Cards */
.service-card { border: 2px solid #6ab2cf; border-radius: 15px; padding: 35px; background: white; }
.service-card-white { background: white; border: none; border-radius: 15px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.service-card-small { padding: 30px; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.service-card-transparent { padding: 40px 20px; background: rgba(255,255,255,0.05); border: 2px solid rgba(106, 178, 207, 0.2); border-radius: 15px; }
.service-card-stats { padding: 30px; background: white; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }

/* Icons */
.service-icon-box, .service-icon-circle {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #6ab2cf 0%, #4a9bb8 100%);
    display: flex; align-items: center; justify-content: center; margin-bottom: 25px;
}
.service-icon-box { border-radius: 12px; }
.service-icon-circle { border-radius: 50%; }

.service-icon-circle-large {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #6ab2cf 0%, #4a9bb8 100%);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}

.service-icon-white { font-size: 32px; color: white !important; }
.service-icon-white-large { font-size: 36px; color: white !important; }
.service-icon-white-huge { font-size: 64px; color: #6ab2cf; margin-bottom: 20px; }
.service-tech-icon { font-size: 48px; color: #6ab2cf; margin-bottom: 15px; }
.service-icon-check { color: #6ab2cf; margin-right: 12px; }

/* Titles */
.service-card-title { font-size: 22px; font-weight: 700; color: #0F172A; margin-bottom: 15px; }
.service-card-title-large { font-size: 36px; font-weight: 700; color: #0F172A; margin-bottom: 20px; }
.service-card-title-white { font-size: 20px; font-weight: 700; color: white !important; margin-bottom: 15px; }
.service-card-title-dark { font-size: 32px; font-weight: 700; color: white !important; }

/* Text */
.service-card-text { color: #64748b; line-height: 1.8; }
.service-card-text-mb { color: #64748b; line-height: 1.8; margin-bottom: 15px; }
.service-card-text-large { color: #64748b; font-size: 18px; line-height: 1.8; }
.service-card-text-white { color: rgba(255,255,255,0.8) !important; line-height: 1.8; }
.service-intro-text { margin-bottom: 20px; line-height: 1.8; color: #64748b; }
.service-intro-text-large { font-size: 18px; color: #64748b; margin-bottom: 40px; line-height: 1.8; }

/* Process & Stats */
.service-process-number { font-size: 32px; font-weight: 700; color: white; }
.service-stat-number { font-size: 48px; color: #6ab2cf; margin-bottom: 15px; font-weight: 700; }
.service-stat-label { font-weight: 600; color: #0F172A; margin: 0; }

/* Gradient Boxes */
.service-gradient-box {
    background: linear-gradient(135deg, #6ab2cf 0%, #0F172A 100%);
    border-radius: 20px; padding: 50px; color: white !important; border: none; overflow: hidden;
}
.service-gradient-box .card-body { padding: 0; }

.service-gradient-box-alt {
    padding: 60px; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px; border: none; overflow: hidden;
}
.service-gradient-box-alt .card-body { padding: 0; }

.service-box-title { font-size: 24px; font-weight: 700; margin-bottom: 25px; color: white !important; }
.service-box-subtitle { font-size: 20px; font-weight: 700; color: white !important; margin-bottom: 15px; }

/* Checklists */
.service-checklist { list-style: none; padding: 0; margin: 0; }
.service-checklist-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.service-checklist-item:last-child { padding: 12px 0; border-bottom: none; }

/* Utility */
.service-text-white { color: white !important; }
.service-text-accent { color: #6ab2cf; font-weight: 600; }
.service-flex-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Skip Link (Barrierefreiheit) */
.skip-link { position: absolute; left: -9999px; z-index: 999; padding: 1em; background: #000; color: #fff; text-decoration: none; }

/* Intro Section Card */
.intro-section-card {
    background: white; border: 2px solid #6ab2cf; border-radius: 20px;
    box-shadow: 0 8px 30px rgba(106, 178, 207, 0.15); overflow: hidden; transition: all 0.3s ease;
}
.intro-section-card:hover { box-shadow: 0 12px 40px rgba(106, 178, 207, 0.25); transform: translateY(-4px); }

.intro-content-side {
    padding: 48px; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    height: 100%; display: flex; flex-direction: column; justify-content: center; position: relative;
}

.intro-content-side::after {
    content: ''; position: absolute; top: 10%; right: 0; bottom: 10%; width: 2px;
    background: linear-gradient(180deg, transparent 0%, #6ab2cf 20%, #6ab2cf 80%, transparent 100%);
}

.intro-text-content { margin-top: 24px; }
.intro-paragraph { margin-bottom: 20px; line-height: 1.8; color: #64748b; font-size: 16px; }
.intro-paragraph:last-child { margin-bottom: 0; }

.benefits-content-side { height: 100%; display: flex; flex-direction: column; background: white; }

.benefits-header {
    background: #0F172A;
    padding: 32px; position: relative; flex-shrink: 0;
}
.benefits-title { color: white; font-size: 26px; font-weight: 700; margin: 0; letter-spacing: -0.3px; }

.benefits-list { list-style: none; padding: 0; margin: 0; flex: 1; background: white; }

.benefit-item {
    display: flex; align-items: center; padding: 20px 32px; gap: 16px;
    background: white; border-bottom: 1px solid #e2e8f0; transition: all 0.25s ease; position: relative;
}
.benefit-item:last-child { border-bottom: none; }
.benefit-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(135deg, #6ab2cf 0%, #4a9bb8 100%); transition: width 0.3s ease; }
.benefit-item:hover { background: #f8fafc; padding-left: 38px; }
.benefit-item:hover::before { width: 4px; }

.benefit-icon {
    flex-shrink: 0; width: 40px; height: 40px;
    background: linear-gradient(135deg, #6ab2cf 0%, #4a9bb8 100%);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(106, 178, 207, 0.2);
}
.benefit-item:hover .benefit-icon { transform: scale(1.15) rotate(5deg); box-shadow: 0 4px 16px rgba(106, 178, 207, 0.4); }
.benefit-icon i { color: white; font-size: 20px; }
.benefit-text { color: #334155; font-size: 16px; font-weight: 500; line-height: 1.5; }
.benefit-item:hover .benefit-text { color: #0f172a; font-weight: 600; }

/* Service Main Cards */
.service-main-card {
    background: white; border: 2px solid #e2e8f0; border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); transition: all 0.3s ease;
    height: 100%; display: flex; flex-direction: column; overflow: hidden; position: relative;
}
.service-main-card:hover { border-color: #6ab2cf; box-shadow: 0 8px 30px rgba(106, 178, 207, 0.2); transform: translateY(-6px); }
.service-main-card-featured { border-color: #6ab2cf; background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); }
.service-main-card-featured:hover { border-color: #4a9bb8; }

.service-main-card-badge {
    position: absolute; top: 16px; right: 16px;
    background: linear-gradient(135deg, #6ab2cf 0%, #4a9bb8 100%);
    color: white; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    padding: 6px 12px; border-radius: 12px; z-index: 10; box-shadow: 0 2px 8px rgba(106, 178, 207, 0.3);
}

.service-main-card-header {
    background: linear-gradient(135deg, #0F172A 0%, #4a9bb8 100%);
    padding: 32px 28px; text-align: center;
}

.service-main-card-icon {
    width: 70px; height: 70px; background: rgba(255, 255, 255, 0.2); border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px;
    backdrop-filter: blur(10px); transition: all 0.3s ease;
}
.service-main-card:hover .service-main-card-icon { transform: scale(1.1) rotate(5deg); background: rgba(255, 255, 255, 0.3); }
.service-main-card-icon i { color: white; font-size: 32px; }
.service-main-card-title { color: white; font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -0.3px; }

.service-main-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-main-card-text { color: #64748b; font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

.service-main-highlights { list-style: none; padding: 0; margin: 0; flex: 1; }
.service-main-highlights li {
    color: #334155; font-size: 14px; font-weight: 500; padding: 10px 0;
    border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; transition: all 0.2s ease;
}
.service-main-highlights li:last-child { border-bottom: none; }
.service-main-highlights li:hover { color: #6ab2cf; padding-left: 8px; }
.service-main-highlights i { color: #6ab2cf; margin-right: 10px; font-size: 16px; flex-shrink: 0; }

.service-main-card-footer { padding: 0 28px 28px; border-top: 1px solid #f1f5f9; padding-top: 20px; }

.service-main-card-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: #6ab2cf; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.2s ease;
}
.service-main-card-link:hover { color: #4a9bb8; gap: 12px; }
.service-main-card-link i { font-size: 14px; transition: transform 0.2s ease; }
.service-main-card-link:hover i { transform: translateX(4px); }

/* Responsive Service */
@media (max-width: 991px) {
    .intro-content-side { padding: 40px; }
    .intro-content-side::after { display: none; }
    .benefits-header { padding: 28px; }
    .benefit-item { padding: 16px 28px; }
    .service-main-card-header { padding: 28px 24px; }
    .service-main-card-body { padding: 24px; }
    .service-main-card-footer { padding: 0 24px 24px; padding-top: 16px; }
}

@media (max-width: 767px) {
    .intro-content-side { padding: 32px 24px; }
    .benefits-title { font-size: 22px; }
    .benefit-item { padding: 16px 24px; }
    .service-main-card { border-radius: 12px; margin-bottom: 24px; }
    .service-main-card-header { padding: 24px 20px; }
    .service-main-card-body { padding: 20px; }
    .service-main-card-footer { padding: 0 20px 20px; }
}

/* ============================================================
   20. SERVICE H2 - RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .title.style1 { font-size: 2.5rem; line-height: 1.2; }
}

@media (max-width: 767px) {
    .title.style1 { font-size: 2.25rem !important; line-height: 1.3 !important; }
}

@media (max-width: 575px) {
    .title.style1 { font-size: 2rem !important; line-height: 1.3 !important; }
}

/* ============================================================
   21. INDEX - ABOUT SECTION (#about)
   ============================================================ */

#about.atf-about-area { background: #6ab2cf !important; }

#about.atf-about-area .left-glow,
#about.atf-about-area .right-dots,
#about.atf-about-area .blur-circle { opacity: 0.1; }

#about.atf-about-area h2.title { color: #0F172A !important; }

#about.atf-about-area .highlight {
    background: #0F172A !important;
    color: #6ab2cf !important;
}

#about.atf-about-area .atf-themes-btn {
    border-color: #0F172A !important;
    color: #ffffff !important;
    background: #0F172A !important;
}

#about.atf-about-area .atf-themes-btn:hover {
    background: #ffffff !important;
    color: #0F172A !important;
}

/* ============================================================
   22. Service Arztpraxis
   ============================================================ */
/* ============================================================
   service-arztpraxis.php – Page Styles
   Einbinden in custom_style.css (am Ende anhängen)
   ============================================================ */

/* ── HERO ── */
.arzt-hero { padding: 160px 0 80px; }
.arzt-hero-sub {
    font-size: 20px;
    color: #fff;
    margin-top: 20px;
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.25);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
}

/* ── INTRO CARD ── */
.arzt-intro-card .intro-content-side { padding: 50px 40px; background: #fff; }

/* ── BENEFITS SIDE ── */
.arzt-benefits-side {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.arzt-benefits-header {
    padding: 28px 32px;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(106, 178, 207, 0.7);
}
.arzt-benefits-header h3 {
    color: rgba(15, 23, 42, 0.7);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.arzt-benefits-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.arzt-benefit-item {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    gap: 14px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    transition: background 0.25s;
}
.arzt-benefit-item:last-child { border-bottom: none; }
.arzt-benefit-item:hover { background: #f8fafc; }
.arzt-benefit-icon {
    flex-shrink: 0;
    width: 34px; height: 34px;
    background: #f0f7fb;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.arzt-benefit-icon i { color: #6ab2cf; font-size: 16px; }
.arzt-benefit-text { color: #334155; font-size: 15px; font-weight: 500; line-height: 1.5; }

/* ── REFERENZEN ── */
.arzt-ref-section { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.arzt-ref-card {
    background: #fff;
    border: 2px solid #6ab2cf;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.arzt-ref-card:hover { box-shadow: 0 20px 50px rgba(106,178,207,0.2); transform: translateY(-4px); }
.arzt-ref-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #6ab2cf 0%, #0F172A 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.arzt-ref-icon i { font-size: 30px; color: #fff; }
.arzt-ref-card h3 { font-size: 22px; font-weight: 700; color: #0F172A; margin-bottom: 5px; }
.arzt-ref-location { font-size: 14px; color: #6ab2cf; margin-bottom: 20px; }
.arzt-ref-location i { margin-right: 5px; }
.arzt-ref-quote {
    font-size: 15px; line-height: 1.8; color: #64748b; font-style: italic;
    border-left: 3px solid #6ab2cf; padding-left: 15px; margin-bottom: 15px;
}
.arzt-ref-author { font-weight: 600; color: #0F172A; font-size: 14px; margin-bottom: 10px; }
.arzt-ref-stars { color: #f59e0b; font-size: 14px; }
.arzt-ref-stars i { margin-right: 2px; }

/* ── PROZESS ── */
.arzt-process-section { background: #f8fafc; }
.arzt-process-step {
    padding: 30px 20px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.arzt-process-step:hover {
    border-color: #6ab2cf;
    box-shadow: 0 10px 30px rgba(106,178,207,0.2);
    transform: translateY(-4px);
}
.arzt-process-number {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #6ab2cf 0%, #0F172A 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(106,178,207,0.35);
}
.arzt-process-step h3 { font-size: 18px; font-weight: 700; color: #0F172A; margin-bottom: 12px; }
.arzt-process-step p { color: #64748b; line-height: 1.7; font-size: 14px; }

/* ── SCHNELLCHECK ── */
.arzt-check-section { position: relative; overflow: hidden; }
.arzt-check-box {
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(106,178,207,0.3);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
}
.arzt-check-list { list-style: none; padding: 0; margin: 0; }
.arzt-check-list li { padding: 8px 0; color: rgba(255,255,255,0.85); font-size: 16px; }
.arzt-check-list li i { color: #6ab2cf; margin-right: 10px; }
.arzt-check-price-box {
    background: linear-gradient(135deg, #6ab2cf 0%, #4a9bb8 100%);
    border-radius: 20px; padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(106,178,207,0.4);
}
.arzt-check-price-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.arzt-check-only { font-size: 16px; color: rgba(255,255,255,0.8); }
.arzt-check-amount { font-size: 72px; font-weight: 700; color: #fff; line-height: 1; font-family: var(--atf-ff-heading); }
.arzt-check-desc { font-size: 15px; color: rgba(255,255,255,0.9); text-align: center; line-height: 1.6; }
.arzt-check-btn {
    background: #0F172A !important; color: #fff !important;
    border-color: #0F172A !important;
    white-space: normal !important; line-height: 1.4 !important;
    text-align: center !important; padding: 14px 20px !important;
    width: 100%; justify-content: center;
}
.arzt-check-btn:hover { background: #1e293b !important; }

/* ── KONTAKT ── */
.arzt-contact-section { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.arzt-contact-card {
    background: #fff; border: 2px solid #e2e8f0;
    border-radius: 20px; padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.arzt-contact-info-item { padding: 10px; }
.arzt-contact-info-item i { font-size: 36px; color: #6ab2cf; display: block; margin-bottom: 12px; }
.arzt-contact-info-item h4 { font-size: 16px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.arzt-contact-info-item a { color: #64748b; text-decoration: none; font-size: 15px; transition: color 0.3s; }
.arzt-contact-info-item a:hover { color: #6ab2cf; }

/* ── MOBILE ── */
@media (max-width: 991px) {
    .arzt-hero { padding: 120px 0 60px; }
    .arzt-check-box { padding: 30px 20px; }
    .arzt-check-amount { font-size: 56px; }
    .arzt-contact-card { padding: 30px 20px; }
    .arzt-intro-card .intro-content-side { padding: 30px 20px; }
}
@media (max-width: 767px) {
    .arzt-hero-sub { font-size: 16px; }
    .arzt-ref-card { padding: 25px 20px; }
    .arzt-process-step { padding: 20px 15px; }
    .arzt-check-price-box { margin-top: 30px; padding: 30px 20px; }
    .arzt-check-btn { font-size: 14px !important; padding: 12px 15px !important; }
}


/* ============================================================
   arzt-projekt – Referenz als Projekt-Showcase
   ============================================================ */

.arzt-ref-intro {
    font-size: 17px; color: #64748b; margin-top: 15px; max-width: 640px; margin-left: auto; margin-right: auto;
}

.arzt-ref-intro-punch {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 3px;
}
.arzt-ref-intro-punch::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: #6ab2cf;
    border-radius: 2px;
}

/* ai-star immer solid (font-weight 900 = solid-Font) – alle Kontexte */
.arzt-projekt-stars .ai-star,
.arzt-ref-stars .ai-star,
.arzt-projekt-stars i[class*="star"],
.arzt-ref-stars i[class*="star"],
.atf-testimonial-star-icon .ai-star,
.stars .ai-star {
    font-weight: 900 !important;
}

.arzt-projekt-row {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(15,23,42,0.07);
    background: #fff;
}

/* Browser-Mockup */
.arzt-projekt-preview {
    background: #f1f5f9;
    padding: 30px 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}
.arzt-projekt-preview--right { padding: 30px 30px 20px 40px; }

.arzt-projekt-browser {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15,23,42,0.12);
    background: #fff;
}
.arzt-browser-bar {
    background: #e2e8f0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.arzt-browser-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}
.arzt-browser-dot:nth-child(1) { background: #f87171; }
.arzt-browser-dot:nth-child(2) { background: #fbbf24; }
.arzt-browser-dot:nth-child(3) { background: #34d399; }
.arzt-browser-url {
    font-size: 11px; color: #64748b;
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 5px;
    font-family: monospace;
}
.arzt-browser-content { padding: 0; overflow: hidden; }

/* Site Preview – Skelett */
.arzt-site-preview {
    height: 220px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.arzt-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.arzt-preview-logo {
    font-size: 11px;
    font-weight: 700;
    color: #0F172A;
}
.arzt-preview-nav {
    display: flex;
    gap: 8px;
}
.arzt-preview-nav span {
    width: 28px; height: 4px;
    border-radius: 2px;
    background: #cbd5e1;
}
.arzt-preview-hero {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}
.arzt-preview-headline {
    height: 12px; border-radius: 4px;
    background: rgba(255,255,255,0.5);
    width: 70%;
}
.arzt-preview-sub {
    height: 8px; border-radius: 3px;
    background: rgba(255,255,255,0.3);
    width: 50%;
}
.arzt-preview-btn {
    height: 22px; width: 90px;
    border-radius: 20px;
    margin-top: 5px;
    background: rgba(255,255,255,0.9);
}
.arzt-preview-cards {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(0,0,0,0.05);
}
.arzt-preview-card {
    flex: 1; height: 40px;
    border-radius: 5px;
    background: rgba(255,255,255,0.6);
}

/* Farbgebung der Preview je Praxis */
.prinzreg-preview .arzt-preview-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5986 100%);
}
.klecker-preview .arzt-preview-hero {
    background: linear-gradient(135deg, #1a4a3a 0%, #2d7a5f 100%);
}

/* Badges unter dem Browser */
.arzt-projekt-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.arzt-badge {
    font-size: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0F172A;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.arzt-badge i { color: #6ab2cf; font-size: 11px; }

/* Info-Seite */
.arzt-projekt-info {
    padding: 40px 40px 40px 30px;
}
.arzt-projekt-info--right { padding: 40px 30px 40px 40px; }
.arzt-projekt-type {
    font-size: 12px;
    font-weight: 600;
    color: #6ab2cf;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.arzt-projekt-name {
    font-size: 26px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 5px;
}
.arzt-projekt-location {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
}
.arzt-projekt-location i { margin-right: 5px; color: #6ab2cf; }
.arzt-projekt-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 18px;
}
.arzt-projekt-leistungen {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.arzt-projekt-leistungen span {
    font-size: 12px;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.arzt-projekt-quote {
    border-left: 3px solid #6ab2cf;
    padding-left: 15px;
    margin: 0 0 12px;
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    line-height: 1.7;
}
.arzt-projekt-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #0F172A;
    font-size: 13px;
    margin-top: 8px;
}
.arzt-projekt-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 2px;
}
.arzt-projekt-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6ab2cf;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
    padding-bottom: 2px;
}
.arzt-projekt-link:hover { border-color: #6ab2cf; color: #6ab2cf; }

/* Coming Soon Cards */
.arzt-coming-label {
    font-size: 12px;
    font-weight: 700;
    color: #6ab2cf;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.arzt-coming-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
}
.arzt-coming-card {
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: border-color 0.3s, background 0.3s;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.arzt-coming-card:hover {
    border-color: #6ab2cf;
    background: #fff;
}
.arzt-coming-icon {
    font-size: 32px;
    color: #cbd5e1;
    margin-bottom: 12px;
    transition: color 0.3s;
}
.arzt-coming-card:hover .arzt-coming-icon { color: #6ab2cf; }
.arzt-coming-name {
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 10px;
}
.arzt-coming-badge {
    font-size: 11px;
    background: #e2e8f0;
    color: #64748b;
    padding: 3px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 991px) {
    .arzt-projekt-info,
    .arzt-projekt-info--right { padding: 30px 25px; }
    .arzt-projekt-preview,
    .arzt-projekt-preview--right { padding: 25px 20px 15px; }
    .arzt-projekt-name { font-size: 22px; }
    .arzt-site-preview { height: 180px; }
}


/* ============================================================
   spezialisierungen.php – Page Styles
   ============================================================ */


/* ── HERO ── */
.spez-hero { }
.spez-hero-sub {
    font-size: 20px; color: #fff; margin-top: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.25); display: inline-block;
    padding: 10px 24px; border-radius: 30px; line-height: 1.6;
}

/* ── INTRO ── */
.spez-intro-section { background: #fff; }
.spez-intro-text { font-size: 18px; color: #64748b; line-height: 1.9; max-width: 700px; margin: 0 auto; }

/* ── STATS ── */
.spez-stats-row {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
    border-radius: 20px; padding: 30px 40px; gap: 0;
    box-shadow: 0 20px 50px rgba(15,23,42,0.2);
    flex-wrap: wrap;
}
.spez-stat { text-align: center; padding: 10px 40px; }
.spez-stat-number { display: block; font-size: 42px; font-weight: 800; color: #6ab2cf; line-height: 1; font-family: var(--atf-ff-heading); }
.spez-stat-label { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }
.spez-stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* ── CARDS ── */
.spez-cards-section { background: #f8fafc; }
.spez-card {
    display: block; text-decoration: none;
    border-radius: 20px; overflow: hidden;
    position: relative; height: 100%; min-height: 320px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.spez-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.18); text-decoration: none; }
.spez-card-bg { position: absolute; inset: 0; transition: opacity 0.35s; }
.spez-card--arzt .spez-card-bg { background: linear-gradient(135deg, #0F172A 0%, #1a3a4a 50%, #6ab2cf 100%); }
.spez-card--handwerk .spez-card-bg { background: linear-gradient(135deg, #1a1a2e 0%, #2d2416 50%, #b07d3a 100%); }
.spez-card--physio .spez-card-bg { background: linear-gradient(135deg, #0d2137 0%, #1a3d35 50%, #3a9e7e 100%); }
.spez-card--kanzlei .spez-card-bg { background: linear-gradient(135deg, #1a1a2e 0%, #2a2040 50%, #6b5fb5 100%); }
.spez-card--gastro .spez-card-bg { background: linear-gradient(135deg, #2d1a0e 0%, #3d2010 50%, #c0602a 100%); }

.spez-card-inner {
    position: relative; z-index: 2;
    padding: 35px; height: 100%;
    display: flex; flex-direction: column; gap: 16px;
}
.spez-card-icon {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}
.spez-card:hover .spez-card-icon { background: rgba(255,255,255,0.22); }
.spez-card-icon i { font-size: 26px; color: #fff; }
.spez-card-badge {
    display: inline-block; font-size: 11px; font-weight: 700;
    color: rgba(255,255,255,0.7); text-transform: uppercase;
    letter-spacing: 1.5px; background: rgba(255,255,255,0.1);
    padding: 4px 12px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}
.spez-card-title { font-size: 28px; font-weight: 800; color: #fff; margin: 0; line-height: 1.2; }
.spez-card-text { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; margin: 0; flex: 1; }
.spez-card-features {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.spez-card-features li {
    font-size: 12px; color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1); border-radius: 20px;
    padding: 4px 12px;
}
.spez-card-features li::before { content: "✓ "; color: #6ab2cf; }
.spez-card-cta {
    font-size: 14px; font-weight: 700; color: #fff;
    display: flex; align-items: center; gap: 8px;
    opacity: 0.7; transition: opacity 0.3s, gap 0.3s;
}
.spez-card:hover .spez-card-cta { opacity: 1; gap: 12px; }

/* ── WHY SECTION ── */
.spez-why-section { position: relative; overflow: hidden; }
.spez-why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(106,178,207,0.2);
    border-radius: 16px; padding: 35px 25px; text-align: center;
    transition: all 0.3s; height: 100%;
    backdrop-filter: blur(5px);
}
.spez-why-card:hover {
    background: rgba(106,178,207,0.1);
    border-color: rgba(106,178,207,0.4);
    transform: translateY(-4px);
}
.spez-why-card > i { font-size: 40px; color: #6ab2cf; display: block; margin-bottom: 20px; }
.spez-why-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.spez-why-card p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; margin: 0; }

/* ── MOBILE ── */
@media (max-width: 991px) {
    .spez-hero-sub { font-size: 16px; }
    .spez-stats-row { padding: 20px; }
    .spez-stat { padding: 10px 20px; }
    .spez-stat-number { font-size: 32px; }
    .spez-stat-divider { display: none; }
    .spez-card { min-height: 280px; }
}
@media (max-width: 767px) {
    .spez-card-title { font-size: 22px; }
    .spez-card-inner { padding: 25px; }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .breadcrumb-area h1 {
        font-size: 28px !important;
    }
    
    /* Padding reduzieren auf Mobile */
    div[style*="padding: 50px"] {
        padding: 30px !important;
    }
}

/* Gallery Image Hover */
.gallery-img:hover {
    transform: translateY(-5px);
}

/* Description Styling */
.project-description h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-description h4 {
    font-size: 18px;
    font-weight: 600;
    color: #6ab2cf;
    margin-top: 25px;
    margin-bottom: 12px;
}

.project-description ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.project-description ul li {
    padding: 10px 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    padding-left: 30px;
    position: relative;
}

.project-description ul li:before {
    content: "\f00c";
    font-family: "andi24-icons";
    font-weight: 300;
    color: #6ab2cf;
    position: absolute;
    left: 0;
}

.project-description p {
    margin-bottom: 15px;
}

.project-description strong {
    color: #0F172A;
}

/* Button Hover Effects */
.atf-themes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
/* ============================================================
   23. UTILITIES (aus header.php ausgelagert)
   ============================================================ */

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }
.d-inline-flex { display: inline-flex !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.text-center { text-align: center !important; }
.text-white { color: #ffffff !important; }
.p-relative { position: relative; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }
.me-2  { margin-right: 0.5rem !important; }
.mt-4  { margin-top: 1.5rem !important; }
.pt-50 { padding-top: 50px !important; }
.pt-100 { padding-top: 100px !important; }
.pb-100 { padding-bottom: 100px !important; }
.img-fluid { max-width: 100%; height: auto; }
/* Responsive display utilities */
@media (min-width: 768px) {
    .d-md-block { display: block !important; }
    .d-md-none  { display: none !important; }
    .d-md-flex  { display: flex !important; }
}
@media (max-width: 767px) {
    .d-md-block { display: none !important; }
}
@media (min-width: 1400px) {
    .d-xl-block { display: block !important; }
    .d-xl-none  { display: none !important; }
    .d-xl-flex  { display: flex !important; }
}
@media (max-width: 1399px) {
    .d-xl-block { display: none !important; }
    .d-xl-none  { display: block !important; }
}

/* ============================================================
   24. BACKGROUNDS (aus header.php ausgelagert)
   ============================================================ */

.black-bg { background-color: var(--atf-thm-black); }
.color-bg { background-color: var(--atf-thm-color); }
.bg-gray  { background-color: #f9f9f9; }

/* ============================================================
   25. KONTAKT-BUTTON (Hauptbutton, aus header.php)
   ============================================================ */

.atf-themes-btn {
    border: 1px solid var(--atf-border-1);
    font-weight: 500;
    font-size: 18px;
    color: var(--atf-thm-black);
    line-height: 1;
    padding: 20px 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    border-radius: 45px 0 45px 45px;
    font-family: var(--atf-ff-body);
}
.atf-themes-btn::after {
    position: absolute; content: ""; display: block;
    right: 15%; left: -20%; top: -4%;
    height: 150%; width: 150%; bottom: 0;
    background-color: var(--atf-thm-color);
    transform: skewX(45deg) scale(0, 1);
    z-index: -1; transition: all 0.3s;
}
.atf-themes-btn:hover::after { transform: skewX(45deg) scale(1, 1); }
.atf-themes-btn:hover { color: var(--atf-thm-black); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }

/* ============================================================
   26. HERO TEXT (aus header.php ausgelagert)
   ============================================================ */

.atf-hero-content .sub-title {
    color: var(--atf-thm-black); display: inline-block;
    border-radius: 5px; font-size: 18px; font-weight: 400;
    position: relative; margin-bottom: 10px; padding-left: 60px;
}
.atf-hero-content .sub-title::before {
    content: ''; position: absolute;
    left: 11px; top: 15px; width: 35px; height: 3px;
    background: var(--atf-thm-black);
}
.atf-hero-content .title {
    font-size: 70px; color: var(--atf-thm-black);
    font-weight: 700; font-family: var(--atf-ff-heading);
    line-height: 1.2; letter-spacing: -2px;
}
.atf-hero-content .describtion { font-size: 18px; color: var(--atf-thm-black); }

@media only screen and (max-width: 767px) {
    .atf-hero-content .title { font-size: 32px !important; line-height: 1.3 !important; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .atf-hero-content .title { font-size: 50px; }
}