/* ============================================
   BauDenkPlan — Zielgruppen-Unterseiten 2026
   Ergänzungs-CSS zu style-option-a.css
   ============================================ */

/* --- Subpage Hero --- */
.subhero {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d4a 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    margin-top: 3.5rem;
}
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb__sep { color: rgba(255,255,255,0.2); }
.subhero__kicker {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2.5px;
    color: #7eb8ff; margin-bottom: 1rem; font-weight: 600; display: block;
}
.subhero h1 {
    font-size: 2rem; font-weight: 800; line-height: 1.2;
    color: var(--white); margin-bottom: 1rem; max-width: 720px;
}
@media (min-width: 768px) { .subhero h1 { font-size: 2.75rem; } }
.subhero__sub {
    font-size: 1.05rem; color: rgba(255,255,255,0.7);
    max-width: 620px; margin-bottom: 2rem; line-height: 1.65;
}
.subhero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.subhero__credentials {
    margin-top: 2rem; display: flex;
    flex-wrap: wrap; gap: 0.5rem; align-items: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.subhero__credentials .trust-sep { color: rgba(255,255,255,0.2); font-size: 0.9rem; }

/* --- Pain Points --- */
.painpoints { background: var(--bg); }
.painpoints__grid {
    display: grid; grid-template-columns: 1fr; gap: 1.25rem;
    margin-top: 2.5rem;
}
@media (min-width: 768px) { .painpoints__grid { grid-template-columns: repeat(3, 1fr); } }
.painpoints__item {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem 1.5rem; border-left: 4px solid var(--brand);
    box-shadow: var(--shadow-sm);
}
.painpoints__item h3 {
    font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem;
}
.painpoints__item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.painpoints__icon {
    color: var(--brand); margin-bottom: 0.75rem;
}

/* --- Leistungen Subpage Highlight --- */
.leistungen__badge {
    display: inline-block; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    background: var(--accent); color: var(--white);
    padding: 0.2em 0.75em; border-radius: 10px; margin-bottom: 0.5rem;
    flex-shrink: 0;
}
/* Karten ohne Badge bekommen einen Platzhalter in gleicher Höhe,
   damit Icons, Überschriften und Tags überall auf einer Linie stehen */
.leistungen__card:not(.leistungen__card--primary)::before {
    content: '';
    display: block;
    height: calc(0.68rem * 1.5 + 0.4em + 0.5rem);
    flex-shrink: 0;
}
.leistungen__card--primary {
    border-top-color: var(--accent);
    background: linear-gradient(160deg, #f5f7ec 0%, var(--white) 60%);
}

/* --- Prozess / BestandsWert Angepasst --- */
.prozess { background: var(--white); }
.prozess__intro {
    text-align: center; max-width: 680px; margin: 0 auto 2.5rem;
    font-size: 1rem; color: var(--text-light); line-height: 1.65;
}

/* --- Referenz Highlight --- */
.referenz-single { background: var(--bg); }
.referenz-highlight {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2.5rem; box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent);
    max-width: 820px; margin: 0 auto;
}
.referenz-highlight__type {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--brand); margin-bottom: 0.5rem; display: block;
}
.referenz-highlight__title {
    font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem;
}
.referenz-highlight__result {
    font-size: 1.05rem; font-weight: 800; color: var(--accent);
    margin-bottom: 1rem; padding: 0.75rem 1rem;
    background: var(--accent-light); border-radius: var(--radius);
    display: inline-block;
}
.referenz-highlight p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.referenz-highlight__image {
    width: 100%; max-height: 340px; overflow: hidden;
    border-radius: var(--radius); margin-bottom: 1.25rem;
}
.referenz-highlight__image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* --- Testimonial (Subpage) --- */
.testimonial-single { background: var(--white); }
.testimonial-single .container { max-width: 720px; }
.testimonial-single blockquote {
    font-size: 1.1rem; font-style: italic; line-height: 1.7;
    color: var(--text); text-align: center; padding: 2rem;
    background: var(--bg); border-radius: var(--radius-lg);
    border-top: 3px solid var(--brand); position: relative;
}
.testimonial-single blockquote::before {
    content: '\201E'; font-size: 4rem; color: var(--brand); opacity: 0.15;
    position: absolute; top: 0; left: 1rem; line-height: 1;
}
.testimonial-single__author {
    text-align: center; margin-top: 1.25rem;
}
.testimonial-single__author strong { font-size: 0.95rem; color: var(--dark); display: block; }
.testimonial-single__author span { font-size: 0.82rem; color: var(--muted); }

/* --- Testimonial Grid (mehrere nebeneinander) --- */
.testimonials-grid { background: var(--white); }
.testimonials-grid__inner {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .testimonials-grid__inner { grid-template-columns: 1fr 1fr; } }
.testimonials-grid__item {
    display: flex; flex-direction: column;
}
.testimonials-grid__item blockquote {
    font-size: 0.95rem; font-style: italic; line-height: 1.65;
    color: var(--text); text-align: center; padding: 1.5rem;
    background: var(--bg); border-radius: var(--radius-lg);
    border-top: 3px solid var(--brand); position: relative;
    flex: 1;
}
.testimonials-grid__item blockquote::before {
    content: '\201E'; font-size: 3rem; color: var(--brand); opacity: 0.15;
    position: absolute; top: 0; left: 1rem; line-height: 1;
}
.testimonials-grid__author {
    text-align: center; margin-top: 1rem; padding-bottom: 1.5rem;
}
.testimonials-grid__author strong { font-size: 0.9rem; color: var(--dark); display: block; }
.testimonials-grid__author span { font-size: 0.78rem; color: var(--muted); }

/* --- Kontaktformular (Subpage, dunkler Hintergrund) --- */
.kontakt__form-wrap {
    background: rgba(255,255,255,0.08); border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
}
.kontakt__form-wrap h3 {
    font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem;
}
.kontakt__form-wrap > p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.form__grid {
    display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form__group { display: flex; flex-direction: column; gap: 0.35rem; }
.form__group--full { grid-column: 1 / -1; }
.form__label {
    font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.6);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.form__input,
.form__textarea,
.form__select {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px; padding: 0.75em 1em;
    font-family: inherit; font-size: 0.95rem; color: var(--white);
    transition: border-color 0.2s, background 0.2s; width: 100%;
    -webkit-appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(255,255,255,0.3); }
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none; border-color: #7eb8ff;
    background: rgba(255,255,255,0.15);
}
.form__select option { background: var(--dark); color: var(--white); }
.form__textarea { min-height: 130px; resize: vertical; }
.form__checkbox-group {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.82rem; color: rgba(255,255,255,0.55);
    cursor: pointer; line-height: 1.5; margin-top: 0.5rem;
}
.form__checkbox-group input[type="checkbox"] {
    flex-shrink: 0; margin-top: 3px;
    width: 16px; height: 16px; cursor: pointer;
}
.form__checkbox-group a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.form__submit { margin-top: 1.25rem; }
.form__note {
    font-size: 0.78rem; color: rgba(255,255,255,0.35);
    margin-top: 0.75rem;
}

/* ============================================
   MOBILE OPTIMIERUNG — Subpage
   ============================================ */
@media (max-width: 768px) {
    /* --- Subpage Hero: Kompakt, Above-the-fold --- */
    .subhero {
        padding: 4.5rem 0 2rem;
        margin-top: 3.5rem;
    }
    .subhero__kicker {
        font-size: 0.65rem; letter-spacing: 2px; margin-bottom: 0.5rem;
    }
    .subhero h1 {
        font-size: 1.35rem; margin-bottom: 0.75rem;
    }
    .subhero__sub {
        font-size: 0.88rem; margin-bottom: 1.25rem; line-height: 1.5;
    }
    .subhero__actions .btn {
        font-size: 0.85rem; padding: 0.7em 1.25em; width: 100%; text-align: center;
    }
    .subhero__credentials {
        margin-top: 1rem; font-size: 0.65rem; gap: 0.3rem;
    }
    .breadcrumb {
        font-size: 0.7rem; margin-bottom: 1rem;
    }

    /* --- Pain Points: Kompakter --- */
    .painpoints__item {
        padding: 1.25rem 1rem;
    }
    .painpoints__item h3 { font-size: 0.92rem; }
    .painpoints__item p { font-size: 0.82rem; }

    /* --- Leistungen Badge Platzhalter: Kleiner auf Mobile --- */
    .leistungen__card:not(.leistungen__card--primary)::before {
        height: calc(0.6rem * 1.5 + 0.3em + 0.35rem);
    }

    /* --- Referenz Highlight: Kompakter --- */
    .referenz-highlight {
        padding: 1.5rem 1.25rem;
    }
    .referenz-highlight__title { font-size: 1.05rem; }
    .referenz-highlight__result { font-size: 0.92rem; padding: 0.5rem 0.75rem; }
    .referenz-highlight p { font-size: 0.82rem; }
    .referenz-highlight__image { max-height: 200px; }

    /* --- Testimonial Single: Kompakter --- */
    .testimonial-single blockquote {
        font-size: 0.92rem; padding: 1.5rem 1rem;
    }

    /* --- Testimonial Grid: Kompakter + mehr Abstand --- */
    .testimonials-grid__inner { gap: 1.5rem; }
    .testimonials-grid__item blockquote {
        font-size: 0.85rem; padding: 1.25rem 1rem;
    }
    .testimonials-grid__author {
        margin-top: 0.75rem; margin-bottom: 1rem;
    }

    /* --- Kontakt Formular: Kompakter --- */
    .kontakt__form-wrap {
        padding: 1.5rem 1.25rem;
    }
    .kontakt__form-wrap h3 { font-size: 1rem; }

    /* --- Prozess Intro: Kompakter --- */
    .prozess__intro {
        font-size: 0.88rem; margin-bottom: 1.5rem;
    }
}
