/* ==========================================================================
   budoo.one landing page stylesheet
   Standalone design on top of plain Bootstrap 5, matching the Lovable
   template in budoo-relaunch-step-1/ (src/styles.css + components).
   All classes are prefixed with "ld-" to avoid collisions.
   ========================================================================== */

:root {
    /* brand orange fixed to the budoo standard (user decision) */
    --ld-orange: #FF6700;
    --ld-orange-dark: #E65D00;
    /* template tokens (converted from oklch) */
    --ld-ink: #101216;
    --ld-ink-soft: #5A5F67;
    --ld-surface: #F6F7F8;
    --ld-contrast: #F5F1E9;
    --ld-contrast-soft: #EDE8DD;
    --ld-border: #E5E7EA;
    --ld-emerald: #10B981;
    --ld-emerald-text: #059669;
    /* template radius scale: base 12px, cards (2xl) = 20px, large (3xl) = 24px */
    --ld-radius-sm: 12px;
    --ld-radius-md: 16px;
    --ld-radius: 20px;
    --ld-radius-lg: 24px;
    --ld-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body.ld-body {
    font-family: var(--ld-font);
    color: var(--ld-ink);
    background-color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "cv11", "ss01", "ss03";
}

.ld-body ::selection {
    background-color: var(--ld-orange);
    color: #fff;
}

.ld-body h1, .ld-body h2, .ld-body h3, .ld-body h4, .ld-body h5 {
    font-weight: 600;
    color: var(--ld-ink);
}

.ld-body a {
    color: inherit;
    text-decoration: none;
}

.ld-highlight {
    color: var(--ld-orange);
}

.ld-muted {
    color: var(--ld-ink-soft);
}

/* --------------------------------------------------------------------------
   Buttons (template: all CTAs are pills)
   -------------------------------------------------------------------------- */

.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    border: 0;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.ld-btn .bx {
    font-size: 1rem;
}

.ld-btn-sm {
    padding: .5rem 1rem;
    font-size: .8125rem;
}

.ld-body .ld-btn-primary {
    background-color: var(--ld-orange);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(255, 103, 0, .2), 0 4px 6px -4px rgba(255, 103, 0, .2);
}

.ld-body .ld-btn-primary:hover {
    background-color: var(--ld-orange);
    color: #fff;
    opacity: .9;
}

/* dark pill, turns orange on hover (template behaviour) */
.ld-body .ld-btn-dark {
    background-color: var(--ld-ink);
    color: #fff;
    padding: .75rem 1.5rem;
}

.ld-body .ld-btn-dark:hover {
    background-color: var(--ld-orange);
    color: #fff;
}

/* light pill with hairline ring (hero secondary CTA) */
.ld-body .ld-btn-outline {
    background-color: var(--ld-surface);
    color: var(--ld-ink);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
}

.ld-body .ld-btn-outline:hover {
    background-color: #fff;
    color: var(--ld-ink);
}

/* white pill for use on surface/contrast sections */
.ld-body .ld-btn-light {
    background-color: #fff;
    color: var(--ld-ink);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
}

.ld-body .ld-btn-light:hover {
    background-color: var(--ld-surface);
    color: var(--ld-ink);
}

/* plain text link ("Live-Demo buchen →") */
.ld-body .ld-textlink {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--ld-ink-soft);
}

.ld-body .ld-textlink:hover {
    color: var(--ld-ink);
}

/* orange text link with arrow */
.ld-body .ld-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--ld-orange);
    font-weight: 500;
    font-size: .8125rem;
}

.ld-body .ld-link:hover {
    color: var(--ld-orange);
    text-decoration: underline;
}

.ld-arrow-ne {
    transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Placeholders (for images that are not yet available locally)
   -------------------------------------------------------------------------- */

.ld-ph {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background-color: #EDEEF0;
    background-image: repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(0, 0, 0, .035) 14px, rgba(0, 0, 0, .035) 28px);
    border-radius: var(--ld-radius);
    color: #979BA1;
    font-size: .85rem;
    font-weight: 600;
    overflow: hidden;
}

.ld-ph--dark {
    background-color: #23262B;
    background-image: repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(255, 255, 255, .04) 14px, rgba(255, 255, 255, .04) 28px);
    color: #B4B8BE;
}

.ld-ph-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #E2E4E7;
    background-image: repeating-linear-gradient(45deg, transparent 0, transparent 8px, rgba(0, 0, 0, .04) 8px, rgba(0, 0, 0, .04) 16px);
    box-shadow: 0 0 0 1px var(--ld-border);
    flex: none;
}

/* --------------------------------------------------------------------------
   Header & navigation (template: glass bar, 64px)
   -------------------------------------------------------------------------- */

.ld-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(16, 18, 22, .08);
}

.ld-header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 64px;
}

.ld-header-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.ld-nav {
    display: flex;
    align-items: center;
    gap: .125rem;
    list-style: none;
    margin: 0 auto 0 0;
    padding: 0;
}

.ld-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .5rem .75rem;
    border-radius: 8px;
    font-size: .84375rem;
    font-weight: 500;
    color: var(--ld-ink-soft);
    background: none;
    border: 0;
    transition: color .15s ease;
}

.ld-nav-link:hover {
    color: var(--ld-ink);
}

.ld-nav-link .bx {
    font-size: .95rem;
    transition: transform .2s ease;
}

.ld-nav-item-mega.open > .ld-nav-link {
    color: var(--ld-ink);
}

.ld-nav-item-mega.open > .ld-nav-link .bx {
    transform: rotate(180deg);
}

.ld-header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}

.ld-header-textlink {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .5rem 1rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--ld-ink);
    transition: background-color .15s ease;
}

.ld-header-textlink:hover {
    color: var(--ld-ink);
    background-color: rgba(16, 18, 22, .05);
}

/* dark login pill, orange on hover */
.ld-body .ld-btn-login {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background-color: var(--ld-ink);
    color: #fff;
    padding: .5rem 1rem;
    font-size: .8125rem;
    font-weight: 500;
    transition: background-color .15s ease;
}

.ld-body .ld-btn-login:hover {
    background-color: var(--ld-orange);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Mega menu
   -------------------------------------------------------------------------- */

.ld-nav-item-mega {
    position: relative;
    list-style: none;
}

.ld-megamenu {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    z-index: 1029;
    display: none;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(16, 18, 22, .08);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .18);
}

.ld-nav-item-mega.open .ld-megamenu {
    display: block;
}

/* While the mega menu is open the header and panel are fully opaque -
   the translucent blur look applies to the plain scrolling state only. */
.ld-header.ld-header--menu-open {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.ld-header.ld-header--menu-open .ld-megamenu {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.ld-megamenu-inner {
    padding: 2.5rem 0;
}

.ld-megamenu-eyebrow {
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ld-ink-soft);
}

.ld-megamenu-heading {
    margin-top: .75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ld-ink);
}

.ld-megamenu-text {
    margin-top: .75rem;
    margin-bottom: 0;
    font-size: .8125rem;
    line-height: 1.6;
    color: var(--ld-ink-soft);
}

.ld-megamenu .ld-link {
    margin-top: 1rem;
}

.ld-megamenu-group {
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ld-ink-soft);
    margin-bottom: .75rem;
}

.ld-megamenu-item {
    display: block;
    border-radius: 10px;
    padding: .75rem;
    margin: 0 -.75rem .25rem;
    transition: background-color .15s ease;
}

.ld-megamenu-item:hover {
    background-color: rgba(16, 18, 22, .04);
}

.ld-megamenu-item-title {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--ld-ink);
}

.ld-megamenu-item:hover .ld-megamenu-item-title {
    color: var(--ld-orange);
}

.ld-megamenu-item-text {
    display: block;
    margin-top: .125rem;
    font-size: .75rem;
    line-height: 1.45;
    color: var(--ld-ink-soft);
}

.ld-megamenu-highlight {
    border: 1px solid rgba(16, 18, 22, .08);
    border-radius: var(--ld-radius-md);
    background-color: rgba(245, 246, 247, .4);
    padding: 1.25rem;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ld-megamenu-highlight-eyebrow {
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ld-orange);
}

.ld-megamenu-highlight-title {
    margin-top: .75rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--ld-ink);
}

.ld-megamenu-highlight-text {
    margin-top: .5rem;
    margin-bottom: 0;
    font-size: .8125rem;
    line-height: 1.6;
    color: var(--ld-ink-soft);
    flex: 1;
}

.ld-megamenu-highlight .ld-btn {
    margin-top: 1.25rem;
    align-self: stretch;
}

/* --------------------------------------------------------------------------
   Mobile offcanvas menu
   -------------------------------------------------------------------------- */

.ld-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--ld-border);
}

.ld-offcanvas-group {
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ld-ink-soft);
    margin: 1.4rem 0 .5rem;
}

.ld-offcanvas-link {
    display: block;
    padding: .45rem 0;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ld-ink);
}

.ld-offcanvas-link:hover {
    color: var(--ld-orange);
}

/* --------------------------------------------------------------------------
   Sections & headings
   -------------------------------------------------------------------------- */

.ld-section {
    padding: 6rem 0;
}

.ld-section-surface {
    background-color: var(--ld-surface);
}

/* warm greige highlight sections (headless, DSGVO) with orange glow */
.ld-section-contrast {
    position: relative;
    overflow: hidden;
    background-color: var(--ld-contrast);
}

.ld-section-contrast::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -15%;
    width: 55vw;
    height: 55vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    background: rgba(255, 103, 0, .09);
    filter: blur(140px);
    pointer-events: none;
}

.ld-section-contrast > .container {
    position: relative;
    z-index: 1;
}

/* left-aligned section header (template SectionHeader) */
.ld-section-header {
    max-width: 48rem;
    margin-bottom: 3.5rem;
}

.ld-section-heading {
    font-size: clamp(2.25rem, 3.4vw, 3rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    font-weight: 600;
    text-wrap: balance;
    margin-bottom: 0;
}

.ld-section-sub {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--ld-ink-soft);
    max-width: 42rem;
}

/* centered variant (headless, DSGVO, final CTA) */
.ld-section-header--center {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 4rem;
}

.ld-section-header--center .ld-section-heading {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
}

.ld-section-header--center .ld-section-sub {
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Hero (white with soft orange glows)
   -------------------------------------------------------------------------- */

.ld-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #fff 55%, var(--ld-surface) 100%);
    padding: 5rem 0 6rem;
}

.ld-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: rgba(255, 103, 0, .1);
    filter: blur(120px);
    pointer-events: none;
}

.ld-hero::after {
    content: "";
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    background: rgba(255, 103, 0, .05);
    filter: blur(100px);
    pointer-events: none;
}

.ld-hero > .container {
    position: relative;
    z-index: 1;
}

.ld-hero-title {
    font-size: clamp(2.5rem, 4.8vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    text-wrap: balance;
    margin-bottom: 0;
}

.ld-hero-sub {
    margin-top: 1.75rem;
    margin-bottom: 0;
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--ld-ink-soft);
    max-width: 36rem;
    text-wrap: pretty;
}

.ld-hero-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.ld-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: 2rem;
}

.ld-badge-check {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .375rem .75rem;
    border-radius: 999px;
    background-color: var(--ld-surface);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    font-size: .75rem;
    font-weight: 500;
    color: var(--ld-ink-soft);
    white-space: nowrap;
}

.ld-badge-check .bx {
    color: var(--ld-orange);
    font-size: .95rem;
}

/* hero slider fills the right column */
.ld-hero-visual {
    position: relative;
    min-height: 420px;
    height: 100%;
}

.ld-hero-swiper {
    position: absolute;
    inset: 0;
    border-radius: var(--ld-radius);
    box-shadow: 0 25px 50px -12px rgba(16, 18, 22, .12), 0 0 0 1px var(--ld-border);
    background-color: #fff;
}

.ld-hero-swiper .swiper-slide .ld-ph,
.ld-hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

/* pagination dots (active: wide orange pill) */
.ld-hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, .7);
    opacity: 1;
    transition: width .3s ease, background-color .3s ease;
}

.ld-hero-swiper .swiper-pagination-bullet:hover {
    background-color: #fff;
}

.ld-hero-swiper .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 999px;
    background-color: var(--ld-orange);
}

/* --------------------------------------------------------------------------
   Swiper navigation arrows (hero + testimonials, appear on hover)
   -------------------------------------------------------------------------- */

.ld-body .swiper-button-prev,
.ld-body .swiper-button-next {
    --swiper-navigation-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--ld-ink);
    opacity: 0;
    transition: opacity .2s ease, background-color .15s ease;
}

.ld-body .swiper-button-prev:hover,
.ld-body .swiper-button-next:hover {
    background: #fff;
}

.ld-hero-swiper:hover .swiper-button-prev,
.ld-hero-swiper:hover .swiper-button-next,
.ld-testimonials:hover .swiper-button-prev,
.ld-testimonials:hover .swiper-button-next {
    opacity: 1;
}

/* touch devices: drag instead of arrows */
@media (hover: none) {
    .ld-body .swiper-button-prev,
    .ld-body .swiper-button-next {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Testimonials carousel
   -------------------------------------------------------------------------- */

.ld-testimonials {
    position: relative;
    padding: 6rem 0;
    background-color: #fff;
}

.ld-testimonials-mask {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.ld-testimonials-swiper {
    padding: .5rem max(1.5rem, calc((100vw - 1320px) / 2 + .75rem)) 1rem;
}

.ld-testimonials-swiper .swiper-slide {
    width: min(440px, 85vw);
    height: auto;
}

.ld-testimonials > .swiper-button-prev {
    left: 1.25rem;
}

.ld-testimonials > .swiper-button-next {
    right: 1.25rem;
}

.ld-testimonial-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--ld-surface);
    border-radius: var(--ld-radius);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 1.75rem;
}

.ld-testimonial-mark {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 103, 0, .12);
    user-select: none;
}

.ld-testimonial-quote {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ld-ink);
    padding-right: 1.5rem;
    margin: 0;
}

.ld-testimonial-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.ld-testimonial-name {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ld-ink);
}

.ld-testimonial-role {
    font-size: .75rem;
    color: var(--ld-ink-soft);
}

.ld-body .ld-testimonial-school {
    color: var(--ld-orange);
}

.ld-body .ld-testimonial-school:hover {
    color: var(--ld-orange);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Modules bento grid (12-column template layout)
   -------------------------------------------------------------------------- */

.ld-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
    perspective: 1600px;
}

.ld-bento > * {
    grid-column: span 12;
}

@media (min-width: 992px) {
    .ld-bento-crm {
        grid-column: span 4;
        grid-row: span 2;
        min-height: 560px;
    }

    .ld-bento-finance {
        grid-column: span 8;
    }

    .ld-bento-exams,
    .ld-bento-campus {
        grid-column: span 4;
    }
}

/* CRM: tall image card with gradient overlay */
.ld-bento-crm {
    position: relative;
    display: flex;
    border-radius: var(--ld-radius);
    overflow: hidden;
    min-height: 420px;
    background-color: var(--ld-ink);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
}

.ld-bento-crm .ld-ph,
.ld-bento-crm > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* subtle image zoom on hover (template: scale-105 over 1.2s) */
.ld-bento-crm > img,
.ld-flip-front img {
    transition: transform 1.2s ease;
}

.ld-bento-crm:hover > img,
.ld-flip:hover .ld-flip-front img {
    transform: scale(1.05);
}

.ld-bento-crm-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(16, 18, 22, .9), rgba(16, 18, 22, .4) 50%, rgba(16, 18, 22, .1));
    color: #fff;
}

.ld-bento-crm-overlay h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    letter-spacing: -0.035em;
    margin-bottom: 0;
}

.ld-bento-crm-overlay p {
    margin: .75rem 0 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.65;
    max-width: 28rem;
}

.ld-bento-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.25rem;
    font-size: .875rem;
    font-weight: 500;
}

/* Finance: wide orange card */
.ld-bento-finance {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--ld-radius);
    overflow: hidden;
    min-height: 260px;
    background-color: var(--ld-orange);
    color: #fff;
    padding: 2rem;
}

.ld-bento-finance::before {
    content: "";
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    filter: blur(48px);
    pointer-events: none;
}

.ld-bento-finance h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    letter-spacing: -0.035em;
    margin-bottom: 0;
}

.ld-bento-finance-sub {
    margin: .75rem 0 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.65;
    max-width: 42rem;
}

.ld-partner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}

/* premium partner badge with German flag dot */
.ld-partner-card {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    border-radius: var(--ld-radius-sm);
    background-color: #fff;
    color: var(--ld-ink);
    padding: .625rem .875rem;
    box-shadow: 0 1px 2px rgba(16, 18, 22, .05), 0 0 0 1px rgba(16, 18, 22, .05);
    max-width: 100%;
}

.ld-partner-flag {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
    box-shadow: 0 0 0 1px rgba(16, 18, 22, .1);
    background: linear-gradient(to bottom, #000 0 33.3%, #DD0000 33.3% 66.6%, #FFCE00 66.6% 100%);
}

.ld-partner-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ld-partner-card-eyebrow {
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ld-orange);
}

.ld-partner-card-name {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ld-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ld-partner-card-sub {
    font-size: .6875rem;
    line-height: 1.3;
    color: var(--ld-ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Prüfungsmanagement: white text card */
.ld-bento-exams {
    display: flex;
    flex-direction: column;
    border-radius: var(--ld-radius);
    background-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 1.75rem;
    min-height: 240px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ld-bento-exams:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 103, 0, .4);
}

.ld-bento-exams h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.ld-bento-exams p {
    margin: .5rem 0 0;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--ld-ink-soft);
}

.ld-bento-exams .ld-bento-cta {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--ld-ink);
}

/* eLearning campus bento tile is a flip card (see .ld-flip) */
.ld-bento-campus {
    min-height: 240px;
}

/* --------------------------------------------------------------------------
   Flip cards (eLearning bento tile + feature grid image tiles)
   -------------------------------------------------------------------------- */

.ld-flip {
    position: relative;
    perspective: 1600px;
    min-height: 240px;
}

.ld-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transform-style: preserve-3d;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.ld-flip:hover .ld-flip-inner,
.ld-flip.flipped .ld-flip-inner {
    transform: rotateY(180deg);
}

.ld-flip-front,
.ld-flip-back {
    position: absolute;
    inset: 0;
    border-radius: var(--ld-radius);
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* explicit rotation + small z-offset so the browser never paints the
   mirrored front on top of the back while both sit in the same plane */
.ld-flip-front {
    transform: rotateY(0deg) translateZ(1px);
    display: flex;
    align-items: flex-end;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
}

.ld-flip-front .ld-ph {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.ld-flip-front img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-flip-front-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(16, 18, 22, .85), rgba(16, 18, 22, .3) 55%, transparent);
}

.ld-flip-front-overlay h3 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 0;
    text-wrap: balance;
}

.ld-flip-front-overlay span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .5rem;
    font-size: .6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .8);
}

.ld-flip-back {
    transform: rotateY(180deg) translateZ(1px);
    background-color: var(--ld-ink);
    color: #fff;
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.ld-flip-back h3 {
    color: #fff;
    font-size: 1.125rem;
    margin: 0;
    text-wrap: balance;
}

.ld-flip-back p {
    margin: .5rem 0 0;
    font-size: .875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .75);
}

.ld-body .ld-flip-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    padding-top: 1rem;
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
}

.ld-body .ld-flip-link:hover {
    color: var(--ld-orange);
}

/* --------------------------------------------------------------------------
   Coming soon pill (emerald with pulsing dot)
   -------------------------------------------------------------------------- */

.ld-pill-soon {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, .3);
    background-color: rgba(16, 185, 129, .1);
    color: var(--ld-emerald-text);
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.ld-pill-soon-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.ld-pill-soon-dot::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--ld-emerald);
    opacity: .4;
    animation: ld-ping 1.2s cubic-bezier(0, 0, .2, 1) infinite;
}

.ld-pill-soon-dot::after {
    content: "";
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--ld-emerald);
}

@keyframes ld-ping {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   Feature cards (headless + DSGVO sections, rounded-3xl white)
   -------------------------------------------------------------------------- */

.ld-feature-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: var(--ld-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 1.75rem;
    height: 100%;
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ld-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(16, 18, 22, .05), 0 8px 10px -6px rgba(16, 18, 22, .05), inset 0 0 0 1px rgba(255, 103, 0, .2);
}

.ld-feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.ld-feature-card p {
    margin: .75rem 0 0;
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--ld-ink-soft);
    flex: 1;
}

/* --------------------------------------------------------------------------
   Feature grid (square tiles, mixed text/flip)
   -------------------------------------------------------------------------- */

.ld-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    perspective: 1600px;
}

@media (min-width: 992px) {
    .ld-tiles {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ld-tile {
    aspect-ratio: 1 / 1;
    min-height: 230px;
    border-radius: var(--ld-radius);
}

.ld-tile-text {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--ld-surface);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ld-tile-text:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 103, 0, .4);
}

.ld-tile-text .ld-tile-arrow {
    align-self: flex-end;
    font-size: 1rem;
    color: var(--ld-ink-soft);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .2s ease;
}

.ld-tile-text:hover .ld-tile-arrow {
    opacity: 1;
    transform: translateX(0);
}

.ld-tile-text h3 {
    margin-top: auto;
    font-size: 1rem;
    margin-bottom: 0;
}

.ld-tile-text p {
    margin: .5rem 0 0;
    font-size: .875rem;
    line-height: 1.55;
    color: var(--ld-ink-soft);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.ld-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #fff, var(--ld-surface), #fff);
}

.ld-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 103, 0, .1);
    filter: blur(120px);
    pointer-events: none;
}

.ld-cta > .container {
    position: relative;
    z-index: 1;
}

.ld-cta-checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.5rem;
    margin-top: 2.5rem;
}

.ld-cta-check {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--ld-ink-soft);
}

.ld-cta-check-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 103, 0, .1);
    flex: none;
}

.ld-cta-check-dot .bx {
    font-size: .75rem;
    color: var(--ld-orange);
}

/* --------------------------------------------------------------------------
   Footer (light, template style)
   -------------------------------------------------------------------------- */

.ld-footer {
    background-color: var(--ld-surface);
    border-top: 1px solid rgba(16, 18, 22, .08);
    padding: 5rem 0;
    font-size: .875rem;
    color: var(--ld-ink-soft);
}

.ld-footer-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.ld-footer-text {
    margin-top: 1rem;
    margin-bottom: 0;
    max-width: 20rem;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--ld-ink-soft);
}

.ld-footer-group {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ld-ink);
    margin-bottom: 1.25rem;
}

.ld-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ld-footer-links li {
    margin-bottom: .75rem;
}

.ld-footer-links a {
    font-size: .875rem;
    color: var(--ld-ink-soft);
    transition: color .15s ease;
}

.ld-footer-links a:hover {
    color: var(--ld-orange);
}

.ld-footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 18, 22, .08);
    font-size: .75rem;
    color: var(--ld-ink-soft);
}

/* --------------------------------------------------------------------------
   Topic pages: dark hero
   -------------------------------------------------------------------------- */

.ld-topic-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--ld-ink);
    color: #fff;
    padding: 5rem 0 6rem;
}

.ld-topic-hero::before {
    content: "";
    position: absolute;
    top: -10rem;
    right: -10rem;
    width: 36rem;
    height: 36rem;
    border-radius: 50%;
    background: rgba(255, 103, 0, .2);
    filter: blur(120px);
    pointer-events: none;
}

.ld-topic-hero::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background: rgba(94, 120, 255, .12);
    filter: blur(120px);
    pointer-events: none;
}

.ld-topic-hero > .container {
    position: relative;
    z-index: 1;
}

/* scoped under .ld-topic-hero so the color wins over the generic ".ld-body h1" rule */
.ld-topic-hero .ld-topic-hero-title {
    font-size: clamp(2.5rem, 4.4vw, 3.75rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    text-wrap: balance;
    color: #fff;
    margin-bottom: 0;
}

.ld-topic-hero-lead {
    margin-top: 1.75rem;
    margin-bottom: 0;
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .75);
    max-width: 34rem;
}

.ld-topic-hero-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.ld-topic-hero-img {
    display: block;
    width: 100%;
    max-width: 32rem;
    height: auto;
    margin: 0 auto;
    border-radius: var(--ld-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .2);
}

.ld-topic-hero-ph {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
}

/* --------------------------------------------------------------------------
   Topic pages: intro copy
   -------------------------------------------------------------------------- */

.ld-topic-intro {
    max-width: 64rem;
}

.ld-topic-intro-text {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ld-ink-soft);
}

/* --------------------------------------------------------------------------
   Topic pages: feature tabs (Bootstrap pills, restyled)
   -------------------------------------------------------------------------- */

.ld-topic-tabs {
    display: grid;
    grid-template-columns: minmax(0, 22rem) 1fr;
    gap: 1.5rem;
    align-items: start;
}

.ld-topic-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ld-topic-tab {
    text-align: left;
    border: 0;
    border-radius: var(--ld-radius-sm);
    padding: .75rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--ld-ink-soft);
    background-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    transition: background-color .15s ease, color .15s ease;
    white-space: normal;
}

.ld-topic-tab:hover {
    color: var(--ld-ink);
}

.ld-topic-tab.active {
    background-color: var(--ld-ink);
    color: #fff;
    box-shadow: none;
}

.ld-topic-tabs-content {
    background-color: #fff;
    border-radius: var(--ld-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 2.5rem;
    min-height: 22rem;
}

.ld-topic-pane-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    letter-spacing: -0.035em;
    margin-bottom: 0;
}

.ld-topic-pane-title .bx {
    color: var(--ld-orange);
    font-size: 1.75rem;
    flex: none;
}

.ld-topic-pane-desc {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ld-ink-soft);
    max-width: 42rem;
}

.ld-topic-checks {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-top: 2rem;
    max-width: 42rem;
}

@media (min-width: 576px) {
    .ld-topic-checks {
        grid-template-columns: 1fr 1fr;
    }
}

.ld-topic-check {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border-radius: var(--ld-radius-sm);
    background-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 1rem;
    font-size: .875rem;
    line-height: 1.55;
    color: var(--ld-ink);
}

.ld-topic-check .bx {
    color: var(--ld-orange);
    font-size: 1.25rem;
    flex: none;
    margin-top: -.1rem;
}

@media (max-width: 991.98px) {
    .ld-topic-tabs {
        grid-template-columns: 1fr;
    }

    /* horizontal scrolling pill list on mobile */
    .ld-topic-tabs-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: .5rem;
        margin: 0 -.75rem;
        padding-left: .75rem;
        padding-right: .75rem;
        scrollbar-width: none;
    }

    .ld-topic-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .ld-topic-tab {
        flex: none;
        white-space: nowrap;
    }

    .ld-topic-tabs-content {
        padding: 1.75rem;
        min-height: 0;
    }
}

/* --------------------------------------------------------------------------
   Topic pages: content blocks (alternating image rows + text card grid)
   -------------------------------------------------------------------------- */

.ld-topic-block {
    margin-bottom: 4rem;
}

.ld-topic-block-title {
    margin-top: 1rem;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-wrap: balance;
    margin-bottom: 0;
}

.ld-topic-block-body {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ld-ink-soft);
}

.ld-topic-block-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--ld-radius-lg);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    background-color: var(--ld-surface);
}

.ld-topic-block-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-topic-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: 1.75rem;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 2.25rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ld-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(16, 18, 22, .08);
}

.ld-topic-card h3 {
    margin-top: .75rem;
    font-size: clamp(1.375rem, 1.8vw, 1.625rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-wrap: balance;
    margin-bottom: 0;
}

.ld-topic-card p {
    margin: 1rem 0 0;
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--ld-ink-soft);
}

/* --------------------------------------------------------------------------
   FAQ accordion (hairline divider list on Bootstrap collapse)
   -------------------------------------------------------------------------- */

.ld-faq {
    max-width: 52rem;
    border-top: 1px solid rgba(16, 18, 22, .08);
}

.ld-faq-item {
    border-bottom: 1px solid rgba(16, 18, 22, .08);
}

.ld-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    border: 0;
    background: none;
    padding: 1.5rem 0;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ld-ink);
    cursor: pointer;
}

.ld-faq-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .12);
    color: var(--ld-ink-soft);
    flex: none;
    transition: background-color .15s ease, color .15s ease, transform .2s ease;
}

.ld-faq-question[aria-expanded="true"] .ld-faq-chevron {
    background-color: var(--ld-ink);
    color: #fff;
    box-shadow: none;
    transform: rotate(180deg);
}

.ld-faq-answer {
    margin: 0;
    padding: 0 2.75rem 1.5rem 0;
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--ld-ink-soft);
    max-width: 46rem;
}

/* --------------------------------------------------------------------------
   Pricing (/preise): plan cards, billing toggle, feature matrix
   -------------------------------------------------------------------------- */

.ld-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border-radius: 999px;
    background-color: var(--ld-surface);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: .25rem;
}

.ld-billing-toggle button {
    border: 0;
    border-radius: 999px;
    background: none;
    font-family: inherit;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--ld-ink-soft);
    padding: .5rem 1.25rem;
    transition: background-color .15s ease, color .15s ease;
}

.ld-billing-toggle button.active {
    background-color: var(--ld-ink);
    color: #fff;
}

.ld-billing-toggle .ld-billing-save {
    color: var(--ld-emerald-text);
    font-weight: 600;
}

.ld-plan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: var(--ld-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 1.75rem;
    position: relative;
}

.ld-plan-card--highlight {
    box-shadow: inset 0 0 0 2px var(--ld-orange), 0 20px 40px -20px rgba(255, 103, 0, .35);
}

.ld-plan-badge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ld-orange);
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .25rem .875rem;
    white-space: nowrap;
}

.ld-plan-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.ld-plan-desc {
    margin: .5rem 0 0;
    font-size: .8125rem;
    line-height: 1.55;
    color: var(--ld-ink-soft);
    min-height: 3.75rem;
}

.ld-plan-price {
    margin-top: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: .375rem;
}

.ld-plan-price-value {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--ld-ink);
}

.ld-plan-price-period {
    font-size: .8125rem;
    color: var(--ld-ink-soft);
}

.ld-plan-features {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    flex: 1;
}

.ld-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--ld-ink);
    margin-bottom: .625rem;
}

.ld-plan-features li .bx {
    color: var(--ld-orange);
    font-size: 1.05rem;
    flex: none;
    margin-top: .05rem;
}

.ld-plan-card .ld-btn {
    margin-top: 1.5rem;
}

/* feature matrix table */

.ld-price-table-wrap {
    overflow-x: auto;
    border-radius: var(--ld-radius);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    background-color: #fff;
}

.ld-price-table {
    width: 100%;
    min-width: 56rem;
    border-collapse: collapse;
    font-size: .8125rem;
}

.ld-price-table th,
.ld-price-table td {
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(16, 18, 22, .06);
    text-align: center;
    vertical-align: middle;
    color: var(--ld-ink-soft);
}

.ld-price-table th {
    font-weight: 600;
    color: var(--ld-ink);
    background-color: var(--ld-surface);
}

.ld-price-table th:first-child,
.ld-price-table td:first-child {
    text-align: left;
    color: var(--ld-ink);
    min-width: 16rem;
}

.ld-price-table .ld-price-table-category td {
    background-color: var(--ld-contrast);
    font-weight: 600;
    color: var(--ld-ink);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: left;
}

.ld-price-table .bx-check {
    color: var(--ld-orange);
    font-size: 1.25rem;
}

.ld-price-table .bx-x {
    color: #C6C9CE;
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   Demo page: form card, step cards, check list, honeypot
   -------------------------------------------------------------------------- */

.ld-form-card {
    background-color: #fff;
    border-radius: var(--ld-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08), 0 25px 50px -12px rgba(16, 18, 22, .12);
    padding: 2.25rem;
}

.ld-form-card .form-label {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--ld-ink);
    margin-bottom: .375rem;
}

.ld-form-card .form-control,
.ld-form-card .form-select {
    border-radius: var(--ld-radius-sm);
    border: 1px solid var(--ld-border);
    padding: .625rem .875rem;
    font-size: .9375rem;
    color: var(--ld-ink);
}

.ld-form-card .form-select {
    padding-right: 2.25rem;
}

.ld-form-card .form-control:focus,
.ld-form-card .form-select:focus {
    border-color: var(--ld-orange);
    box-shadow: 0 0 0 3px rgba(255, 103, 0, .15);
}

.ld-form-card .form-check-input:checked {
    background-color: var(--ld-orange);
    border-color: var(--ld-orange);
}

.ld-form-card .form-check-label {
    font-size: .8125rem;
    color: var(--ld-ink-soft);
}

.ld-form-card .form-check-label a {
    color: var(--ld-orange);
}

.ld-form-card .invalid-feedback {
    font-size: .75rem;
}

.ld-form-card .has-error .form-control {
    border-color: #DC3545;
}

.ld-form-card .has-error .invalid-feedback,
.ld-form-card .has-error .help-block {
    display: block;
    color: #DC3545;
    font-size: .75rem;
    margin-top: .25rem;
    margin-bottom: 0;
}

.ld-form-note {
    margin: 1rem 0 0;
    font-size: .75rem;
    line-height: 1.6;
    color: var(--ld-ink-soft);
}

/* visually hidden honeypot field (bots fill it, humans never see it) */
.ld-hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* hero bullet list (demo page left column) */
.ld-check-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.ld-check-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--ld-ink);
    margin-bottom: .875rem;
}

.ld-check-list li .ld-cta-check-dot {
    margin-top: .15rem;
}

/* numbered step cards (demo page, dein-start) */
.ld-step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: var(--ld-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    padding: 2rem 1.75rem 1.75rem;
}

.ld-step-pill {
    position: absolute;
    top: -0.8rem;
    left: 1.5rem;
    background-color: var(--ld-ink);
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .25rem .875rem;
    white-space: nowrap;
}

.ld-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--ld-radius-sm);
    background-color: rgba(255, 103, 0, .1);
    color: var(--ld-orange);
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
}

.ld-step-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0;
}

.ld-step-card p {
    margin: .625rem 0 0;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--ld-ink-soft);
    flex: 1;
}

.ld-step-counter {
    margin-top: 1.5rem;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--ld-ink-soft);
}

/* --------------------------------------------------------------------------
   Flash alerts & cookie banner (kept from the old homepage stack)
   -------------------------------------------------------------------------- */

.frontend-flash-alert {
    position: relative;
    z-index: 1040;
    margin-top: 0 !important;
    margin-bottom: 0;
    border-radius: 0;
}

.frontend-flash-alert.alert-dismissible {
    padding-right: 4rem;
}

.frontend-flash-alert .btn-close {
    z-index: 1;
}

.cc-grower {
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 10000;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .ld-testimonials-swiper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .ld-section,
    .ld-testimonials {
        padding: 4rem 0;
    }

    .ld-hero {
        padding: 3rem 0 4rem;
    }

    .ld-hero-visual {
        margin-top: 2.5rem;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 575.98px) {
    .ld-tiles {
        grid-template-columns: 1fr;
    }

    .ld-tile {
        aspect-ratio: auto;
        min-height: 200px;
    }

    .ld-tile.ld-flip {
        aspect-ratio: 1 / 1;
    }
}

/* --------------------------------------------------------------------------
   Related modules ("Das könnte dich auch interessieren", partials/_related-modules.php)
   -------------------------------------------------------------------------- */

.ld-related-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    border-radius: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ld-related-card:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08), 0 20px 50px -30px rgba(0, 0, 0, .35);
}

.ld-related-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--ld-surface);
}

.ld-related-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ld-related-card:hover .ld-related-media img {
    transform: scale(1.05);
}

.ld-related-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}

.ld-related-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--ld-ink);
}

.ld-related-desc {
    flex: 1;
    margin-top: .5rem;
    font-size: .85rem;
    color: var(--ld-ink-soft);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ld-related-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--ld-orange);
}

/* --------------------------------------------------------------------------
   Kontakt page (landing/kontakt.php)
   -------------------------------------------------------------------------- */

.ld-page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.05;
}

.ld-page-lead {
    max-width: 42rem;
    margin-top: 1.25rem;
    font-size: 1.125rem;
    color: var(--ld-ink-soft);
    line-height: 1.6;
}

.ld-contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    background-color: var(--ld-surface);
    border-radius: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ld-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 103, 0, .4);
}

.ld-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
    background-color: #fff;
    border-radius: .625rem;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    font-size: 1.25rem;
    color: var(--ld-ink);
    transition: background-color .15s ease, color .15s ease;
}

.ld-contact-card:hover .ld-contact-icon {
    background-color: var(--ld-orange);
    color: #fff;
    box-shadow: none;
}

.ld-contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ld-ink);
    margin-bottom: .5rem;
}

.ld-contact-desc {
    flex: 1;
    font-size: .875rem;
    color: var(--ld-ink-soft);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ld-contact-mail {
    font-size: .875rem;
    font-weight: 500;
    color: var(--ld-orange);
}

.ld-whatsapp-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding: 2.5rem;
    background-color: var(--ld-ink);
    color: #fff;
    border-radius: var(--ld-radius-lg);
}

.ld-whatsapp-content {
    max-width: 36rem;
}

.ld-whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
    padding: .25rem .75rem;
    background-color: rgba(255, 255, 255, .1);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 500;
}

/* scoped under the panel so the color wins over the generic ".ld-body h2" rule */
.ld-whatsapp-panel .ld-whatsapp-title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: .75rem;
    letter-spacing: -.01em;
}

.ld-whatsapp-desc {
    font-size: .95rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
    margin: 0;
}

/* Testimonial avatars (replaced the grey placeholder circle) */
.ld-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Pricing page additions (anchor pills, verband price details, included panel)
   -------------------------------------------------------------------------- */

.ld-anchor-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem 1rem;
    background-color: var(--ld-surface);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--ld-ink);
    transition: background-color .15s ease, color .15s ease;
}

.ld-anchor-pill:hover {
    background-color: var(--ld-ink);
    color: #fff;
}

.ld-plan-dl {
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ld-border);
}

.ld-plan-dl-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem 0;
}

.ld-plan-dl-row dt {
    font-weight: 400;
    font-size: .85rem;
    color: var(--ld-ink-soft);
}

.ld-plan-dl-row dd {
    margin-bottom: 0;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
}

.ld-included-panel {
    height: 100%;
    background-color: #fff;
    border-radius: var(--ld-radius);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    overflow: hidden;
}

.ld-included-panel-head {
    padding: 1rem 1.5rem;
    background-color: var(--ld-surface);
    border-bottom: 1px solid var(--ld-border);
    font-size: .9rem;
    font-weight: 600;
}

.ld-included-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .85rem 1.5rem;
}

.ld-included-row + .ld-included-row {
    border-top: 1px solid var(--ld-border);
}

.ld-included-row > i {
    color: var(--ld-orange);
    font-size: 1.1rem;
    margin-top: .1rem;
}

.ld-included-row-title {
    display: block;
    font-size: .9rem;
    font-weight: 600;
}

.ld-included-row-desc {
    display: block;
    font-size: .8rem;
    color: var(--ld-ink-soft);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Demo / Dein-Start additions (6-item checklist grid, step numbers)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
    .ld-demo-checklist {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.5rem;
    }
}

.ld-step-num {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(16, 18, 22, .15);
}

/* --------------------------------------------------------------------------
   Partner profile pages (landing/partner-profile.php, e.g. LEMMENS)
   -------------------------------------------------------------------------- */

.ld-pp-hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.02;
}

.ld-pp-hero-claim {
    max-width: 42rem;
    margin-top: 1.25rem;
    font-size: 1.25rem;
    color: var(--ld-ink-soft);
    line-height: 1.55;
}

.ld-pp-hero-age {
    max-width: 36rem;
    margin: 1.25rem 0 0;
    font-size: 1rem;
    color: var(--ld-ink-soft);
    line-height: 1.6;
}

.ld-pp-hero-cta {
    margin-top: 1.75rem;
}

.ld-pp-logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background-color: #fff;
    border-radius: var(--ld-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
}

.ld-pp-logo-panel img {
    max-width: min(24rem, 100%);
    height: auto;
    object-fit: contain;
}

.ld-pp-facts {
    padding: 3rem 0;
    background-color: var(--ld-surface);
    border-top: 1px solid var(--ld-border);
    border-bottom: 1px solid var(--ld-border);
}

.ld-pp-fact-value {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
    letter-spacing: -.01em;
}

.ld-pp-fact-label {
    margin-top: .25rem;
    font-size: .85rem;
    color: var(--ld-ink-soft);
}

.ld-pp-lead {
    max-width: 56rem;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--ld-ink);
    line-height: 1.55;
}

.ld-pp-about-grid {
    margin-top: 1rem;
}

.ld-pp-panel-section {
    padding-bottom: 5rem;
}

.ld-pp-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 2rem;
}

.ld-pp-panel--dark {
    background-color: var(--ld-ink);
    color: #fff;
}

.ld-pp-panel--dark::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 103, 0, .18) 0%, transparent 70%);
    pointer-events: none;
}

.ld-pp-panel--contrast {
    background-color: var(--ld-contrast);
}

.ld-pp-panel-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.15;
}

.ld-pp-panel--dark .ld-pp-panel-title {
    color: #fff;
}

.ld-pp-panel-lead {
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: .8;
}

.ld-pp-panel-text {
    font-size: .95rem;
    line-height: 1.7;
    opacity: .7;
}

.ld-pp-panel-divider {
    position: relative;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.ld-pp-panel--contrast .ld-pp-panel-divider {
    border-top-color: rgba(16, 18, 22, .1);
}

.ld-pp-kicker {
    margin-bottom: 1.25rem;
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .18em;
    opacity: .6;
}

.ld-pp-root-card {
    height: 100%;
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, .05);
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.ld-pp-root-label {
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
}

.ld-pp-root-role {
    margin-top: .2rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
}

.ld-pp-program-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background-color: var(--ld-surface);
    border-radius: var(--ld-radius-lg);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ld-pp-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .35);
}

.ld-pp-program-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ld-pp-program-name {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -.01em;
}

.ld-pp-program-age {
    margin: .35rem 0 0;
    font-size: .85rem;
    font-weight: 500;
    color: var(--ld-orange);
}

.ld-pp-program-num {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(16, 18, 22, .1);
}

.ld-pp-program-desc {
    flex: 1;
    margin-top: 1.25rem;
    font-size: .95rem;
    color: var(--ld-ink-soft);
    line-height: 1.65;
}

.ld-pp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.25rem;
}

.ld-pp-chip {
    display: inline-flex;
    align-items: center;
    padding: .35rem .8rem;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    border-radius: 999px;
    font-size: .8rem;
    color: var(--ld-ink);
}

.ld-pp-chip--strong {
    padding: .45rem 1rem;
    background-color: var(--ld-surface);
    font-weight: 500;
    font-size: .85rem;
}

.ld-pp-icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background-color: #fff;
    border-radius: .75rem;
    box-shadow: inset 0 0 0 1px rgba(16, 18, 22, .08);
    font-size: 1.35rem;
    color: var(--ld-orange);
}

.ld-pp-dev-text {
    max-width: 36rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ld-pp-side-card {
    padding: 2rem;
    background-color: var(--ld-surface);
    border-radius: var(--ld-radius-lg);
}

.ld-pp-side-card + .ld-pp-side-card {
    margin-top: 1.25rem;
}

.ld-pp-side-card-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.ld-pp-side-card-head h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.ld-pp-side-card-lead {
    font-size: .875rem;
    color: var(--ld-ink-soft);
    line-height: 1.6;
}

.ld-pp-story-title {
    margin-top: 1.25rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -.01em;
}

.ld-pp-story-lead {
    margin-top: .75rem;
    font-size: 1.05rem;
    color: var(--ld-ink);
    line-height: 1.6;
}

.ld-pp-story-text {
    margin-top: .75rem;
}

.ld-pp-locations {
    scroll-margin-top: 6rem;
}

.ld-pp-location-card {
    height: 100%;
    padding: 1.5rem;
    background-color: var(--ld-surface);
    border-radius: 1.25rem;
}

.ld-pp-location-card > i {
    font-size: 1.35rem;
    color: var(--ld-orange);
}

.ld-pp-location-city {
    margin-top: .5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.ld-pp-location-region {
    margin: .2rem 0 0;
    font-size: .85rem;
    color: var(--ld-ink-soft);
}

.ld-pp-locations-outro {
    margin-top: 2rem;
}

.ld-pp-closing-lead {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--ld-ink);
    line-height: 1.6;
}

.ld-pp-closing-text {
    margin-top: .75rem;
}

/* --------------------------------------------------------------------------
   Legal pages (site/imprint.php, site/privacy-policy.php, site/tou.php)
   -------------------------------------------------------------------------- */

.ld-legal {
    max-width: 56rem;
}

.ld-legal h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.ld-legal h2:first-child {
    margin-top: 0;
}

.ld-legal h3 {
    margin: 2rem 0 .75rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.ld-legal h4 {
    margin: 2rem 0 .75rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}

.ld-legal p,
.ld-legal li {
    font-size: .9375rem;
    color: var(--ld-ink-soft);
    line-height: 1.7;
}

.ld-legal p {
    margin-bottom: 1rem;
}

.ld-legal ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.ld-legal a {
    color: var(--ld-orange);
    text-decoration: underline;
}

.ld-legal strong {
    color: var(--ld-ink);
}
