/* ==========================================================================
   Paderborn – Inhaltsstile
   Ergänzt das Website-Theme (bootstrap.css, style.css, color-blue.css).
   Enthält bewusst KEINE globalen Resets und keine body-Regeln, damit das
   bestehende Theme (Header, Navigation, Footer) unverändert weiterläuft.
   ========================================================================== */

:root {
    --pb-ink: #1f2d3a;
    --pb-muted: #5b6b7a;
    --pb-brand: #006db7;
    --pb-brand-dark: #005893;
    --pb-accent: #c8102e;
    --pb-sand: #f7f4ef;
    --pb-sand-deep: #efe9e1;
    --pb-line: #e3ded6;
    --pb-card: #ffffff;
}

/* --- Grundelemente ------------------------------------------------------ */

.pb-section {
    padding: 46px 0;
}

.pb-section--sand {
    background: var(--pb-sand);
}

.pb-section--white {
    background: #ffffff;
}

.pb-section > .container > h2,
.pb-section .pb-lede h2 {
    margin-top: 0;
}

.pb-h2 {
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.28;
    color: var(--pb-ink);
    margin: 0 0 14px;
}

.pb-h3 {
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pb-ink);
    margin: 0 0 8px;
}

.pb-text {
    font-size: 17px;
    line-height: 1.85;
    color: #2b3a48;
    margin: 0 0 16px;
}

.pb-text:last-child {
    margin-bottom: 0;
}

.pb-lede {
    max-width: 860px;
}

.pb-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: #eaf2f9;
    color: #285677;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* --- Brotkrumen --------------------------------------------------------- */

.pb-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    font-size: 13px;
    color: var(--pb-muted);
}

.pb-breadcrumb a {
    color: var(--pb-muted);
}

.pb-breadcrumb a:hover {
    color: var(--pb-brand);
}

/* --- Buttons ------------------------------------------------------------ */

.pb-btn {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid #cfd8e0;
    border-radius: 26px;
    background: #ffffff;
    color: var(--pb-ink);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    transition: all 0.2s ease;
}

.pb-btn:hover,
.pb-btn:focus {
    background: var(--pb-ink);
    border-color: var(--pb-ink);
    color: #ffffff;
    text-decoration: none;
}

.pb-btn i {
    margin-right: 7px;
}

.pb-btn--primary {
    background: var(--pb-brand);
    border-color: var(--pb-brand);
    color: #ffffff;
}

.pb-btn--primary:hover,
.pb-btn--primary:focus {
    background: var(--pb-brand-dark);
    border-color: var(--pb-brand-dark);
    color: #ffffff;
}

.pb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* --- Hero --------------------------------------------------------------- */

.pb-hero {
    padding: 26px 0 44px;
    background: linear-gradient(180deg, #ffffff 0%, var(--pb-sand) 100%);
}

.pb-hero h1 {
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--pb-ink);
    margin: 0 0 16px;
}

.pb-hero__intro {
    font-size: 18px;
    line-height: 1.8;
    color: #2b3a48;
    margin: 0;
}

.pb-hero__visual {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(31, 45, 58, 0.13);
}

.pb-hero__visual img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.pb-hero__visual figcaption {
    padding: 11px 15px;
    color: var(--pb-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* --- Vertrauensleiste --------------------------------------------------- */

.pb-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-trust li {
    padding: 18px 16px;
    border: 1px solid var(--pb-line);
    border-radius: 9px;
    background: #ffffff;
    text-align: center;
}

.pb-trust i {
    display: block;
    margin-bottom: 8px;
    color: var(--pb-brand);
    font-size: 22px;
}

.pb-trust strong {
    display: block;
    font-size: 16px;
    color: var(--pb-ink);
    margin-bottom: 3px;
}

.pb-trust span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pb-muted);
}

/* --- Karten / Leistungen ------------------------------------------------ */

.pb-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pb-card {
    padding: 24px;
    border: 1px solid var(--pb-line);
    border-radius: 10px;
    background: var(--pb-card);
}

.pb-card__tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 14px;
    background: #fdeaee;
    color: #a30d26;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pb-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #2b3a48;
    margin: 0 0 12px;
}

.pb-card ul {
    margin: 0 0 14px;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.75;
    color: #2b3a48;
}

.pb-card ul li {
    margin-bottom: 4px;
}

.pb-card__link {
    font-weight: 700;
}

.pb-card--feature {
    grid-column: 1 / -1;
    border-left: 4px solid var(--pb-accent);
    background: #fffdfa;
}

/* --- Deutschlandkarte --------------------------------------------------- */

.pb-map {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
    align-items: center;
}

.pb-map__svg {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto;
}

.pb-map__land {
    fill: #ffffff;
    stroke: #b9c7d3;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.pb-map__route {
    stroke: var(--pb-accent);
    stroke-width: 1.3;
    stroke-dasharray: 4 4;
    opacity: 0.5;
}

.pb-map__city {
    fill: #7b8c9b;
}

.pb-map__label {
    fill: #55697a;
    font: 600 11px 'Open Sans', Arial, sans-serif;
}

.pb-map__pulse {
    fill: var(--pb-accent);
    opacity: 0.15;
}

.pb-map__home {
    fill: var(--pb-accent);
    stroke: #ffffff;
    stroke-width: 2.5;
}

.pb-map__home-label {
    fill: var(--pb-ink);
    font: 700 14px 'Raleway', Arial, sans-serif;
}

/* --- Stadtteile --------------------------------------------------------- */

.pb-districts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.pb-districts li {
    border: 1px solid var(--pb-line);
    border-radius: 9px;
    background: #ffffff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pb-districts li:hover {
    box-shadow: 0 8px 20px rgba(31, 45, 58, 0.09);
    transform: translateY(-2px);
}

.pb-districts a {
    display: block;
    padding: 16px 18px;
    color: var(--pb-ink);
}

.pb-districts a:hover,
.pb-districts a:focus {
    text-decoration: none;
}

.pb-districts strong {
    display: block;
    color: var(--pb-brand);
    font-size: 16px;
    margin-bottom: 3px;
}

.pb-districts span {
    display: block;
    color: var(--pb-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* --- Ablauf ------------------------------------------------------------- */

.pb-steps {
    counter-reset: pb-step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-steps li {
    position: relative;
    padding: 22px 18px 20px;
    border: 1px solid var(--pb-line);
    border-radius: 9px;
    background: #ffffff;
}

.pb-steps li::before {
    counter-increment: pb-step;
    content: counter(pb-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--pb-brand);
    color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.pb-steps h3 {
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--pb-ink);
    margin: 0 0 6px;
}

.pb-steps p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--pb-muted);
    margin: 0;
}

/* --- Bewertungen -------------------------------------------------------- */

.pb-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pb-review {
    padding: 22px;
    border: 1px solid var(--pb-line);
    border-radius: 9px;
    background: #ffffff;
}

/* Der Sterne-Absatz ist selbst ein <p> und wuerde sonst von der Regel
   ".pb-review p" darunter eingefaerbt. Der Elternselektor hebt die
   Spezifitaet an, damit das Gelb wie auf den uebrigen Seiten gewinnt. */
.pb-review .pb-review__stars {
    color: #f1b700;
    font-size: 15px;
    margin-bottom: 10px;
}

.pb-review p {
    font-size: 16px;
    line-height: 1.75;
    color: #2b3a48;
    margin: 0 0 12px;
}

.pb-review cite {
    color: var(--pb-muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

/* --- FAQ ---------------------------------------------------------------- */

.pb-faq {
    max-width: 900px;
}

.pb-faq details {
    margin-bottom: 10px;
    border: 1px solid var(--pb-line);
    border-radius: 8px;
    background: #ffffff;
}

.pb-faq summary {
    position: relative;
    padding: 15px 46px 15px 18px;
    color: var(--pb-ink);
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.pb-faq summary::-webkit-details-marker {
    display: none;
}

.pb-faq summary::after {
    content: "\f067";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    font-family: 'FontAwesome';
    font-size: 13px;
    font-weight: 400;
    color: var(--pb-brand);
}

.pb-faq details[open] > summary::after {
    content: "\f068";
}

.pb-faq summary:focus-visible {
    outline: 2px solid var(--pb-brand);
    outline-offset: 2px;
}

.pb-faq details > p {
    margin: 0;
    padding: 0 18px 17px;
    font-size: 16px;
    line-height: 1.8;
    color: #2b3a48;
}

/* Zweite Ebene: vertiefende Antwort hinter einem weiteren Klick.
   Der Inhalt steht vollstaendig im HTML und ist damit crawlbar. */
.pb-faq__more {
    margin: 0 18px 16px;
    padding: 13px 0 0;
    border: 0;
    border-top: 1px solid var(--pb-line);
    border-radius: 0;
    background: transparent;
}

.pb-faq details > .pb-faq__more > summary {
    position: relative;
    padding: 0 0 0 19px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pb-brand);
}

.pb-faq details > .pb-faq__more > summary::after {
    left: 0;
    right: auto;
    font-size: 11px;
}

.pb-faq details > .pb-faq__more > summary:hover {
    color: var(--pb-brand-dark);
}

.pb-faq__more > p,
.pb-faq details > .pb-faq__more > p {
    margin: 11px 0 0;
    padding: 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: #3d4c5a;
}

.pb-faq__more > ul {
    margin: 11px 0 0;
    padding-left: 20px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #3d4c5a;
}

.pb-faq__more > ul li {
    margin-bottom: 5px;
}

/* --- Abschluss-CTA ------------------------------------------------------ */

.pb-cta {
    padding: 44px 0;
    background: #1f2d3a;
    color: #ffffff;
}

.pb-cta h2 {
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
}

.pb-cta p {
    font-size: 17px;
    line-height: 1.8;
    color: #d3dce4;
    margin: 0;
    max-width: 720px;
}

.pb-cta .pb-btn {
    background: transparent;
    border-color: #5c6f80;
    color: #ffffff;
}

.pb-cta .pb-btn:hover,
.pb-cta .pb-btn:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--pb-ink);
}

.pb-cta .pb-btn--primary {
    background: var(--pb-brand);
    border-color: var(--pb-brand);
    color: #ffffff;
}

.pb-cta .pb-btn--primary:hover,
.pb-cta .pb-btn--primary:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--pb-brand-dark);
}

/* --- Hinweisbox --------------------------------------------------------- */

.pb-note {
    margin: 22px 0 0;
    padding: 18px 22px;
    border-left: 4px solid var(--pb-brand);
    border-radius: 0 8px 8px 0;
    background: #eef4fa;
    font-size: 16px;
    line-height: 1.8;
    color: #2b3a48;
}

/* --- Responsiv ---------------------------------------------------------- */

@media (max-width: 991px) {
    .pb-trust,
    .pb-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pb-districts,
    .pb-reviews {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pb-map {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
    }

    .pb-section {
        padding: 34px 0;
    }

    .pb-hero {
        padding: 18px 0 32px;
    }

    .pb-hero h1 {
        font-size: 27px;
    }

    .pb-hero__intro {
        font-size: 16.5px;
    }

    .pb-hero__visual {
        margin-top: 24px;
    }

    .pb-hero__visual img {
        height: 210px;
    }

    .pb-h2,
    .pb-cta h2 {
        font-size: 24px;
    }

    .pb-text {
        font-size: 16.5px;
    }

    .pb-cards,
    .pb-trust,
    .pb-districts,
    .pb-reviews,
    .pb-steps {
        grid-template-columns: 1fr;
    }

    .pb-card--feature {
        grid-column: auto;
    }

    .pb-card {
        padding: 20px;
    }

    .pb-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pb-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .pb-map__svg {
        max-width: 290px;
    }

    /* Theme-Navigation auf Mobilgeräten mittig und umbruchsicher */
    .collapse.navbar-collapse {
        display: block;
    }

    .navbar-nav {
        float: none;
        margin: 12px 0 0 !important;
        text-align: center;
    }

    .navbar-nav > li {
        float: none;
        display: inline-block;
    }

    .navbar-nav > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    #top-bar {
        margin-top: 0 !important;
    }
}
