.khs-bpl {
    --khs-bpl-brown: #6f4a2b;
    --khs-bpl-brown-dark: #4e311c;
    --khs-bpl-blue: #1889bd;
    --khs-bpl-teal: #46aaa9;
    --khs-bpl-ink: #20272e;
    --khs-bpl-muted: #66717b;
    --khs-bpl-line: #e7e8e8;
    --khs-bpl-soft: #f6f4f1;
    --khs-bpl-white: #ffffff;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(32px, 5vw, 72px) 20px;
    background: #ffffff;
    color: var(--khs-bpl-ink);
    font-family: inherit;
    box-sizing: border-box;
}

.khs-bpl *,
.khs-bpl *::before,
.khs-bpl *::after {
    box-sizing: border-box;
}

.khs-bpl__inner {
    width: min(1920px, 100%);
    margin: 0 auto;
}

.khs-bpl h2,
.khs-bpl h3,
.khs-bpl p,
.khs-bpl ul {
    margin-top: 0;
}

.khs-bpl h2 {
    margin-bottom: 18px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--khs-bpl-ink);
}

.khs-bpl h3 {
    margin-bottom: 14px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    color: var(--khs-bpl-ink);
}

.khs-bpl p,
.khs-bpl li,
.khs-bpl span,
.khs-bpl a {
    font-size: 16px;
    line-height: 1.6;
}

.khs-bpl a {
    color: var(--khs-bpl-brown-dark);
}

.khs-bpl__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    gap: clamp(26px, 5vw, 64px);
    align-items: center;
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid var(--khs-bpl-line);
    border-top: 6px solid var(--khs-bpl-brown);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 64%, #f8f5f1 100%);
    box-shadow: 0 18px 55px rgba(22, 28, 33, .08);
}

.khs-bpl__eyebrow,
.khs-bpl__kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--khs-bpl-brown);
    font-size: 13px !important;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.3 !important;
    text-transform: uppercase;
}

.khs-bpl__lead {
    max-width: 760px;
    margin-bottom: 26px;
    color: var(--khs-bpl-muted);
    font-size: clamp(18px, 2vw, 21px) !important;
    line-height: 1.55 !important;
}

.khs-bpl__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 26px;
}

.khs-bpl__fact {
    min-height: 118px;
    padding: 18px;
    border: 1px solid var(--khs-bpl-line);
    border-radius: 12px;
    background: rgba(255,255,255,.88);
}

.khs-bpl__fact-label {
    display: block;
    margin-bottom: 8px;
    color: var(--khs-bpl-brown);
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.khs-bpl__fact strong,
.khs-bpl__fact > span:last-child {
    display: block;
}

.khs-bpl__fact strong {
    margin-bottom: 3px;
    font-size: 16px;
    line-height: 1.35;
}

.khs-bpl__fact > span:last-child {
    color: var(--khs-bpl-muted);
    font-size: 14px;
    line-height: 1.45;
}

.khs-bpl__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.khs-bpl__button,
.khs-bpl a.khs-bpl__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 2px solid var(--khs-bpl-brown);
    border-radius: 8px;
    background: var(--khs-bpl-brown);
    color: #ffffff !important;
    font-weight: 800;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.khs-bpl__button:hover,
.khs-bpl__button:focus-visible {
    background: var(--khs-bpl-brown-dark);
    border-color: var(--khs-bpl-brown-dark);
    transform: translateY(-1px);
}

.khs-bpl__button--ghost,
.khs-bpl a.khs-bpl__button--ghost {
    background: transparent;
    color: var(--khs-bpl-brown-dark) !important;
}

.khs-bpl__button--ghost:hover,
.khs-bpl__button--ghost:focus-visible {
    background: var(--khs-bpl-soft);
}

.khs-bpl__qr-card {
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(27, 37, 45, .10);
    text-align: center;
}

.khs-bpl__logo {
    display: block;
    width: 92px;
    height: auto;
    margin: 0 auto 14px;
}

.khs-bpl__qr {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.khs-bpl__qr-card p {
    margin: 12px 0 0;
    color: var(--khs-bpl-muted);
    font-size: 14px !important;
}

.khs-bpl__section {
    padding: clamp(50px, 7vw, 86px) 0 28px;
}

.khs-bpl__section-head {
    max-width: 780px;
    margin-bottom: 28px;
}

.khs-bpl__section-head p {
    margin-bottom: 0;
    color: var(--khs-bpl-muted);
}

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

.khs-bpl__route-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    min-height: 176px;
    padding: 22px;
    border: 1px solid var(--khs-bpl-line);
    border-radius: 14px;
    background: #ffffff;
}

.khs-bpl__route-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--khs-bpl-brown);
    color: #ffffff;
    font-size: 17px !important;
    font-weight: 800;
    line-height: 1 !important;
}

.khs-bpl__route-card strong,
.khs-bpl__route-card span:not(.khs-bpl__route-number),
.khs-bpl__route-card b {
    display: block;
}

.khs-bpl__route-card strong {
    margin: 2px 0 6px;
    line-height: 1.35;
}

.khs-bpl__route-card span:not(.khs-bpl__route-number) {
    color: var(--khs-bpl-muted);
    font-size: 14px;
    line-height: 1.45;
}

.khs-bpl__route-card b {
    grid-column: 2;
    margin-top: auto;
    color: var(--khs-bpl-brown);
    font-size: 23px;
    line-height: 1;
}

.khs-bpl__info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 28px 0 clamp(44px, 6vw, 72px);
}

.khs-bpl__info-card {
    padding: 24px;
    border-radius: 14px;
    background: var(--khs-bpl-soft);
}

.khs-bpl__info-card h3 {
    font-size: 21px;
}

.khs-bpl__info-card p:last-child,
.khs-bpl__info-card ul:last-child {
    margin-bottom: 0;
}

.khs-bpl__info-card ul {
    padding-left: 20px;
}

.khs-bpl__info-card li + li {
    margin-top: 4px;
}

.khs-bpl__donation {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 30px;
    align-items: center;
    padding: clamp(26px, 4vw, 42px);
    border-radius: 16px;
    background: var(--khs-bpl-brown-dark);
    color: #ffffff;
}

.khs-bpl__donation h3,
.khs-bpl__donation p,
.khs-bpl__donation .khs-bpl__kicker {
    color: #ffffff;
}

.khs-bpl__donation p {
    margin-bottom: 0;
    opacity: .9;
}

.khs-bpl__thanks {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
}

.khs-bpl__thanks strong,
.khs-bpl__thanks span {
    display: block;
}

.khs-bpl__thanks strong {
    margin-bottom: 6px;
    font-size: 20px;
}

.khs-bpl__thanks span {
    font-size: 14px;
    line-height: 1.5;
    opacity: .9;
}

.khs-bpl__registration {
    padding-top: clamp(50px, 7vw, 84px);
    scroll-margin-top: 110px;
}

.khs-bpl__section-head--registration {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.khs-bpl__form-wrap {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--khs-bpl-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(22, 28, 33, .08);
}

.khs-bpl__form-wrap iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 760px;
    border: 0;
    background: #ffffff;
}

.khs-bpl__form-fallback {
    text-align: center;
}

@media (max-width: 980px) {
    .khs-bpl__hero {
        grid-template-columns: 1fr;
    }

    .khs-bpl__qr-card {
        max-width: 440px;
        margin: 0 auto;
    }

    .khs-bpl__route-grid,
    .khs-bpl__info-grid {
        grid-template-columns: 1fr;
    }

    .khs-bpl__route-card {
        min-height: 0;
    }

    .khs-bpl__donation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .khs-bpl {
        padding-left: 14px;
        padding-right: 14px;
    }

    .khs-bpl__hero {
        padding: 22px;
        border-radius: 14px;
    }

    .khs-bpl__facts {
        grid-template-columns: 1fr;
    }

    .khs-bpl__fact {
        min-height: 0;
    }

    .khs-bpl__actions {
        display: grid;
    }

    .khs-bpl__button {
        width: 100%;
    }

    .khs-bpl__form-wrap iframe {
        min-height: 900px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .khs-bpl__button {
        transition: none;
    }
}

/* Verhindert einen sichtbaren Positionssprung, bis der Block hinter „Herzlich Willkommen“ einsortiert wurde. */
.khs-bpl--pending-placement {
    visibility: hidden;
}
