/* ========================================================================
   OSCHWALD Vorlagen – Sektions-Basis der Branchenseiten (bisher sanierung-v5.css)
   Haengt ab von vorlagen-basis.css. Genutzt von allen Objekt-Branchenseiten
   ausser Bautraeger (eigene Fassung in objektseiten/css/bautraeger-wohnbau.css)
   und der Uebersicht /objekt/, ausserdem von allen Privatkunden-Seiten.
   ======================================================================== */
/* ============================================
   OSCHWALD B2B Sanierung & Renovierung – CSS
   Version 1
   Ergänzt objekt-v42.css um Sanierung-Sektionen
   Basiert auf bautraeger-v18.css
   ============================================ */


/* ===== HERO ===== */
.oschwald-b2b.sanierung .hero {
    min-height: 70vh;
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.15) 100%),
                url('/wp-content/uploads/2026/03/260317-Sanierung-Renovierung-Augustiner-3.jpg');
    background-size: cover;
    background-position: center;
}

.oschwald-b2b.sanierung .hero-inner {
    grid-template-columns: 1fr;
}

/* Hero Badge */
.oschwald-b2b .hero-branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
}

/* Hero Feature-Liste */
.oschwald-b2b .hero-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.oschwald-b2b .hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: calc(15px + .1vw);
    text-shadow: 1px 1px 3px #1c1c1c;
}

.oschwald-b2b .hero-feature img {
    width: 20px;
    height: 20px;
    filter: invert(75%) sepia(30%) saturate(600%) hue-rotate(35deg) brightness(95%);
}

/* Hero CTAs */
.oschwald-b2b .hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.oschwald-b2b .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.oschwald-b2b .btn-primary {
    background: var(--oschwald-green);
    color: var(--white);
}

.oschwald-b2b .btn-primary:hover,
.oschwald-b2b .btn-primary:visited,
.oschwald-b2b .btn-primary:active,
.oschwald-b2b .btn-primary:focus {
    background: var(--oschwald-green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(97, 127, 41, 0.3);
}

.oschwald-b2b .btn-secondary {
    background: rgba(210, 120, 20, 0.85);
    color: var(--white);
    border: 2px solid rgba(210, 120, 20, 0.9);
    backdrop-filter: blur(4px);
}

.oschwald-b2b .btn-secondary:hover,
.oschwald-b2b .btn-secondary:visited,
.oschwald-b2b .btn-secondary:active,
.oschwald-b2b .btn-secondary:focus {
    background: rgba(190, 105, 15, 1);
    color: var(--white);
    border-color: rgba(190, 105, 15, 1);
}

.oschwald-b2b .btn-secondary img {
    filter: brightness(0) invert(1);
}


/* ===== OVERLINE (Dachzeile) ===== */
.oschwald-b2b .overline {
    display: inline-block;
    color: var(--oschwald-green);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}


/* ===== SECTION HEADER (zentriert) ===== */
.oschwald-b2b .section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
}

/* Open Sans wird nur in 400/600/700 geladen – ohne explizites 700
   würde der Theme-Default 500 auf den Regular-Schnitt (400) zurückfallen. */
.oschwald-b2b .section-header h2 {
    font-weight: 700;
}

.oschwald-b2b .section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
}


/* ===== HIGHLIGHT BOX ===== */
.oschwald-b2b .highlight-box {
    background: var(--oschwald-green-light);
    border-left: 4px solid var(--oschwald-green);
    padding: 24px 28px;
    border-radius: 0 12px 12px 0;
    margin-top: 2rem;
}

.oschwald-b2b .highlight-box p {
    margin: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.oschwald-b2b .intro-text .highlight-box p {
    margin-bottom: 0;
}


/* ===== 3. INTRO / POSITIONIERUNG ===== */
.oschwald-b2b .intro {
    padding: clamp(40px, 8vw, 80px) 24px;
    background: var(--white);
}

.oschwald-b2b .intro-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.oschwald-b2b .intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.oschwald-b2b .intro-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.oschwald-b2b .intro-text p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.7;
}

.oschwald-b2b .intro-text p strong {
    color: var(--text-dark);
}

/* Info-Box rechts */
.oschwald-b2b .intro-infobox {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
}

.oschwald-b2b .intro-infobox h3 {
    color: var(--oschwald-green);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
}

.oschwald-b2b .intro-infobox h3 img {
    width: 24px;
    height: 24px;
    filter: invert(42%) sepia(15%) saturate(1200%) hue-rotate(50deg) brightness(95%) contrast(90%);
}

.oschwald-b2b .infobox-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.oschwald-b2b .infobox-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.oschwald-b2b .infobox-badge {
    background: var(--oschwald-green);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.oschwald-b2b .infobox-text {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.5;
}

.oschwald-b2b .infobox-text strong {
    color: var(--text-dark);
}


/* ===== 4. LEISTUNGEN ===== */
.oschwald-b2b .leistungen {
    padding: clamp(40px, 8vw, 80px) 24px;
    background: var(--bg-light);
}

.oschwald-b2b .leistungen-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.oschwald-b2b .leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.oschwald-b2b .leistung-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oschwald-b2b .leistung-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.oschwald-b2b .leistung-icon {
    width: 56px;
    height: 56px;
    background: var(--oschwald-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.oschwald-b2b .leistung-card:hover .leistung-icon {
    background: var(--oschwald-green);
    transform: scale(1.1);
}

.oschwald-b2b .leistung-icon img {
    width: 28px;
    height: 28px;
    filter: invert(42%) sepia(15%) saturate(1200%) hue-rotate(50deg) brightness(95%) contrast(90%);
}

.oschwald-b2b .leistung-card:hover .leistung-icon img {
    filter: brightness(0) invert(1);
}

.oschwald-b2b .leistung-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.oschwald-b2b .leistung-card p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 0;
    text-wrap: balance;
}


/* ===== 5. ABLAUF / PROZESS ===== */
.oschwald-b2b .prozess {
    padding: clamp(40px, 8vw, 80px) 24px;
    background: linear-gradient(135deg, var(--oschwald-green) 0%, var(--oschwald-green-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.oschwald-b2b .prozess::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.oschwald-b2b .prozess::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.oschwald-b2b .prozess-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.oschwald-b2b .prozess h2 {
    color: var(--white);
}

.oschwald-b2b .prozess .overline {
    color: var(--oschwald-green-accent);
}

.oschwald-b2b .prozess .section-header p {
    color: rgba(255,255,255,0.8);
}

.oschwald-b2b .prozess a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.oschwald-b2b .prozess a:hover {
    color: var(--white);
}

/* Sanierung hat 6 Schritte: 3+3 in zwei Reihen */
.oschwald-b2b.sanierung .prozess-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
}

.oschwald-b2b .prozess-step {
    text-align: center;
    position: relative;
}

.oschwald-b2b .prozess-step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.oschwald-b2b .prozess-step:hover .prozess-step-number {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.oschwald-b2b .prozess-step h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 8px;
}

.oschwald-b2b .prozess-step p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.5;
    text-wrap: balance;
}


/* ===== 6. BODENARTEN ===== */
.oschwald-b2b .bodenarten {
    padding: clamp(40px, 8vw, 80px) 24px;
    background: var(--white);
}

.oschwald-b2b .bodenarten-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.oschwald-b2b .bodenarten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.oschwald-b2b .bodenart-card {
    background: var(--bg-light);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.oschwald-b2b .bodenart-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.oschwald-b2b .bodenart-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.oschwald-b2b .bodenart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.oschwald-b2b .bodenart-card:hover .bodenart-image img {
    transform: scale(1.05);
}

.oschwald-b2b .bodenart-content {
    padding: 28px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.oschwald-b2b .bodenart-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--oschwald-green);
}

.oschwald-b2b .bodenart-card p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.oschwald-b2b .bodenart-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.oschwald-b2b .bodenart-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.oschwald-b2b .bodenart-tag img {
    width: 14px;
    height: 14px;
    filter: invert(42%) sepia(15%) saturate(1200%) hue-rotate(50deg) brightness(95%) contrast(90%);
}


/* ===== 8. FAQ AKKORDEON ===== */
.oschwald-b2b .faq {
    padding: clamp(40px, 8vw, 80px) 24px;
    background: var(--white);
}

.oschwald-b2b .faq-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.oschwald-b2b .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oschwald-b2b .faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.oschwald-b2b .faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.oschwald-b2b .faq-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
}

.oschwald-b2b .faq-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--oschwald-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oschwald-b2b .faq-icon img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.oschwald-b2b .faq-header h4 {
    flex: 1;
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
}

.oschwald-b2b .faq-chevron {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--text-medium);
    transition: transform 0.3s ease;
}

.oschwald-b2b .faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.oschwald-b2b .faq-body {
    padding: 0 28px 32px;
    padding-left: 88px;
    display: none;
}

.oschwald-b2b .faq-item.open .faq-body {
    display: block;
}

.oschwald-b2b .faq-body p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.7;
}


/* ===== CTA SECTION ===== */
.oschwald-b2b .cta-section {
    padding: clamp(40px, 8vw, 80px) 24px;
    background: var(--bg-light);
}

.oschwald-b2b .cta-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.oschwald-b2b .cta-card {
    background: var(--white);
    border-radius: 20px;
    padding: clamp(32px, 5vw, 60px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.oschwald-b2b .cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--oschwald-green), var(--oschwald-green-accent));
}

.oschwald-b2b .cta-text h2 {
    margin-bottom: 12px;
    font-weight: 700;
}

.oschwald-b2b .cta-text p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.oschwald-b2b .cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.oschwald-b2b .cta-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.oschwald-b2b .cta-person img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--oschwald-green-light);
}

.oschwald-b2b .cta-person-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.oschwald-b2b .cta-person-info p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

.oschwald-b2b .cta-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--oschwald-green);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.oschwald-b2b .cta-phone:hover {
    background: var(--oschwald-green-dark);
    color: var(--white);
    transform: scale(1.02);
}

.oschwald-b2b .cta-phone img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}


/* ===== REFERENZ-DETAILS ===== */
.oschwald-b2b .reference-content p {
    font-size: 16px;
}

.oschwald-b2b .contact-header p {
    font-size: 16px;
}

.oschwald-b2b .reference-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.oschwald-b2b .reference-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 500;
}

.oschwald-b2b .reference-detail img {
    width: 16px;
    height: 16px;
    filter: invert(42%) sepia(15%) saturate(1200%) hue-rotate(50deg) brightness(95%) contrast(90%);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .oschwald-b2b.sanierung .hero-inner {
        grid-template-columns: 1fr;
    }

    .oschwald-b2b .intro-grid,
    .oschwald-b2b .cta-card {
        grid-template-columns: 1fr;
    }

    .oschwald-b2b .leistungen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .oschwald-b2b.sanierung .prozess-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .oschwald-b2b .leistungen-grid,
    .oschwald-b2b .bodenarten-grid {
        grid-template-columns: 1fr;
    }

    .oschwald-b2b.sanierung .prozess-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .oschwald-b2b .hero-ctas {
        flex-direction: column;
    }

    .oschwald-b2b .hero-ctas .btn {
        text-align: center;
        justify-content: center;
    }

    .oschwald-b2b .cta-card {
        padding: 32px;
    }

    .oschwald-b2b .faq-body {
        padding-left: 28px;
    }

    .oschwald-b2b .cta-phone {
        font-size: 1.1rem;
    }

    .oschwald-b2b .faq-body p {
        font-size: 16px;
    }

    .oschwald-b2b .prozess::before {
        width: 150px;
        height: 150px;
        top: -50px;
        left: -50px;
    }

    .oschwald-b2b .prozess::after {
        width: 120px;
        height: 120px;
        bottom: -40px;
        right: -40px;
    }
}

@media (max-width: 480px) {
    .oschwald-b2b.sanierung .prozess-timeline {
        grid-template-columns: 1fr;
    }

    .oschwald-b2b .btn {
        width: 100%;
        justify-content: center;
    }

    .oschwald-b2b .prozess-step-number {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
}
