/**
 * kutego · Landingpage shared styles
 *
 * Globally loaded via app/Layouts/kutego.tpl.php for all frontend pages.
 * Provides the new hero (bracket items + laptop stage + mascots),
 * problem statement section, module cards, feature boxes, customer logo
 * grid and the "warum kutego" reasons grid — used by the redesigned
 * landingpages on top of the legacy kutego.css.
 */

/* ============================================================
 * Design tokens — type scale, spacing, colors
 * (must remain at the top so all rules below can use them)
 * ============================================================ */
:root {
    --fs-display: clamp(2.25rem, 1.25rem + 3vw, 3.75rem);
    --fs-h1:      clamp(1.75rem, 1.1rem + 2vw, 2.5rem);
    --fs-h2:      1.375rem;
    --fs-body:    1rem;
    --fs-small:   1rem;       /* 16 px — was 14 px (0.875), unified with body */
    --fs-eyebrow: 0.875rem;   /* eyebrow stays slightly smaller for kicker feel */

    --lh-display: 1.05;
    --lh-h1:      1.15;
    --lh-h2:      1.25;
    --lh-body:    1.55;
    --lh-tight:   1.35;

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 4.5rem;
    --space-7: 6rem;

    --c-blue:        #506ea2;
    --c-blue-soft:   #edf1fe;
    --c-blue-dark:   rgba(80, 110, 162, 0.14);   /* shadow tint */
    --c-yellow:      #efbd3a;
    --c-yellow-soft: rgba(239, 189, 58, 0.18);
    --c-yellow-dark: #b48415;                    /* hover/depth accent */
    --c-yellow-shadow: rgba(239, 189, 58, 0.25);
    --c-text:        #374151;
    --c-border:      #e5eaf1;
    --c-grey:        #d0dae1;                    /* muted border / divider */
    --c-bg-soft:     #f4f6fa;
    --c-bg-tint:     #edf1fe;
    --c-bg-pure:     #ffffff;
    --c-danger:      #d6334f;                    /* negative bullets, error icons */
    --c-success:     #29b676;                    /* positive confirmations */
}

/* ============================================================
 * Section background utilities — alternating rhythm
 * ============================================================ */
.section--soft   { background: var(--c-bg-soft); }
.section--tint   { background: var(--c-bg-tint); }
.section--pure   { background: var(--c-bg-pure); }
.section--bordered {
    background: var(--c-bg-pure);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

/* ============================================================
 * Headline + sub + strip
 * ============================================================ */
.hero-headline {
    line-height: 1.05;
}

@media (max-width: 768px) {
    .hero-headline .words {
        position: relative;
        width: 100%;
        margin-left: 0.25em;
        vertical-align: bottom;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-headline .words {
        margin-left: 0;
        text-align: left;
    }

    .bracket {
        padding: 30px 5px;
        padding-right: 70px;
    }

    .hero-strip {
        text-align: center;
    }
}

.hero-sub {
    margin: 0.5rem 0 0;
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.25rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

.hero-sub-accent {
    color: var(--c-yellow);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.hero-strip {
    margin: 2rem 0 2rem 2rem;
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-Cond", sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 0.6vw + 0.9rem, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
}

.hero-strip span {
    margin-right: 1rem;
}

.hero-strip-accent {
    color: var(--c-yellow);
}

@media (max-width: 767px) {
    .hero-strip {
        margin: 4rem 0 2rem 0;
        text-align: center;
    }
    .hero-strip span {
        margin-right: 0;
    }
}

/* ============================================================
 * Bracket items — icon-circle on the left, two-line text on the right
 * ============================================================ */
.bracket .bracket-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.bracket .bracket-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-transform: none;
    font-family: inherit;
    font-size: inherit;
}

.bracket .bracket-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    background-color: var(--c-bg-pure);
    color: var(--c-blue);
    border-radius: 50%;
    font-size: 1.125rem;
}

.bracket .bracket-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.bracket .bracket-title {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-Cond", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.bracket .bracket-sub {
    font-family: inherit;
    font-weight: 400;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
 * Laptop stage — wraps the existing .video block in a laptop frame
 * with two mascots and a stars backdrop. The video element itself
 * is unchanged so the existing magnific-popup lightbox keeps working.
 * ============================================================ */
.hero-laptop-stage {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
}

/* Star sparkles behind the laptop */
.hero-laptop-stage::before {
    content: "";
    position: absolute;
    inset: -28% -22% -18% -22%;
    background: url("../images/stars.png") no-repeat center / contain;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

.hero-laptop {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-left: -15px;
    margin-right: -15px;
    aspect-ratio: 2000 / 1300;
    background: url("../images/laptop.png") no-repeat center / contain;
}

/* The existing .video block sits inside the laptop screen area */
.hero-laptop .hero-screen {
    position: absolute;
    top: 4.4%;
    left: 12%;
    right: 12%;
    bottom: 14.5%;
    overflow: hidden;
}

/* Override the legacy .video margins so the embed fills the screen area */
.hero-laptop .hero-screen .video,
.hero-laptop .hero-screen .video-wrapper {
    margin: 0 !important;
    width: 100%;
    height: 100%;
}

.hero-laptop .hero-screen .embed-responsive {
    width: 100%;
    height: 100%;
    padding: 0;
}

.hero-laptop .hero-screen .embed-responsive::before {
    display: none; /* drop bootstrap aspect-ratio padding hack */
}

.hero-laptop .hero-screen video,
.hero-laptop .hero-screen iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Caption under the laptop — "Video: Kutego® in 60 Sekunden erklärt" */
.hero-laptop .video-title {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2.4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Make the screen + video wrapper transparent so the laptop.png
 * artwork (built-in screen render) shines through.
 * Only applies inside .hero-laptop so other pages aren't affected. */
.hero-laptop .video,
.hero-laptop .video-wrapper,
.hero-laptop .embed-responsive,
.hero-laptop video {
    background: transparent !important;
    box-shadow: none !important;
}

/* Hide the inline <video> entirely — the laptop.png already provides
 * the dashboard screenshot. We just need a clickable play button that
 * keeps the existing magnific-popup lightbox trigger working. */
.hero-laptop video {
    opacity: 0;
}

.hero-laptop .embed-popup {
    position: relative;
    cursor: pointer;
}

/* Yellow round play button on top of the laptop screen */
.hero-laptop .embed-popup::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

/* The play triangle inside the yellow circle */
.hero-laptop .embed-popup::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 0.7rem solid transparent;
    border-bottom: 0.7rem solid transparent;
    border-left: 1rem solid var(--c-blue);
    pointer-events: none;
    z-index: 2;
}

.hero-laptop .embed-popup:hover::after {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Mascots */
.hero-mascot {
    position: absolute;
    pointer-events: none;
}

.hero-mascot--blue {
    top: -28%;
    right: 2%;
    width: clamp(130px, 18vw, 200px);
    z-index: 1; /* behind .hero-laptop */
    transform: rotate(6deg);
}

.hero-mascot--yellow {
    bottom: -10%;
    left: -4%;
    width: clamp(100px, 14vw, 150px);
    z-index: 3; /* in front of .hero-laptop */
    transform: rotate(-8deg);
}

@media (max-width: 320px) {
    .hero-mascot--blue {
        width: 130px;
        top: -35%;
        right: 0%;
    }
    .hero-mascot--yellow {
        width: 130px;
        bottom: -20%;
        left: -10%;
    }
}

@media (max-width: 375px) {
    .hero-mascot--blue {
        width: 130px;
        top: -28%;
        right: 0%;
    }
}

@media (max-width: 425px) {
    .hero-mascot--blue {
        width: 130px;
        top: -24%;
        right: 0%;
    }
}

@media (max-width: 768px) {
    .hero-mascot--blue {
        width: 150px;
        top: -19%;
        right: 5%;
    }
    .hero-mascot--yellow {
        width: 150px;
        bottom: -10%;
        left: -10%;
    }
}

/* ============================================================
 * Module section — single-column cards, icon top-left, kicker text
 * ============================================================ */
.modules-eyebrow {
    display: inline-block;
    color: var(--c-blue);
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--fs-eyebrow);
    margin-bottom: 0.5rem;
}

.modules-headline {
    color: var(--c-blue);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.modules-headline b,
.feature-section__headline b {
    color: var(--c-yellow);
}

.module-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    background: #fff;
    border: 1px solid var(--c-border);
    border-top: 4px solid var(--c-blue);
    border-radius: 14px;
    padding: calc(var(--space-3) - 3px) var(--space-3) var(--space-3);
    height: 100%;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.module-card:hover {
    box-shadow: 0 12px 28px var(--c-blue-dark);
    transform: translateY(-2px);
}

/* Alternate blue / yellow top border for visual rhythm */
.modules-grid .col-md-4:nth-child(even) .module-card,
.modules-grid .col-sm-6:nth-child(even) .module-card {
    border-top-color: var(--c-yellow);
}

.module-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.module-card__heading {
    display: flex;
    flex-direction: column;
    line-height: var(--lh-tight);
}

.module-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    flex-shrink: 0;
    background: var(--c-yellow-soft);
    color: var(--c-blue);
    border-radius: 12px;
    font-size: 1.5rem;
}

.module-card__title {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-size: var(--fs-h2);
    color: var(--c-blue);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.25rem;
    line-height: var(--lh-tight);
}

.module-card__sub {
    font-size: var(--fs-small);
    color: rgba(80, 110, 162, 0.7);
    margin: 0;
}

.module-card__list {
    list-style: none;
    padding: var(--space-2) 0 0;
    margin: 0 0 var(--space-3);
    flex-grow: 1;
    border-top: 1px solid #f0f3f8;
    width: 100%;
    text-align: left;
}

.module-card__list li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.5rem;
    font-size: var(--fs-small);
    line-height: var(--lh-tight);
    color: var(--c-text);
}

.module-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.875rem;
    height: 0.875rem;
    background-color: var(--c-yellow);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2 L5 8.5 L9.5 3.7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 75%;
}

.module-card__more {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-blue);
    text-decoration: none;
    align-self: flex-start;
}

.module-card__more i {
    margin-left: 0.4rem;
    transition: transform 200ms ease;
}

.module-card__more:hover {
    color: var(--c-yellow);
    text-decoration: none;
}

.module-card__more:hover i {
    transform: translateX(4px);
}

/* ============================================================
 * Branches grid — 3×3 illustrated tiles
 * ============================================================ */
.branches-accent {
    color: var(--c-yellow);
}

.branch-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--c-border);
    border-top: 4px solid var(--c-blue);
    border-radius: 14px;
    padding: calc(var(--space-3) - 3px) var(--space-2) var(--space-3);
    height: 100%;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.branch-card:hover {
    box-shadow: 0 12px 28px var(--c-blue-dark);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

/* Alternate blue / yellow top border for visual rhythm */
.branches-grid .col-md-4:nth-child(even) .branch-card,
.branches-grid .col-sm-6:nth-child(even) .branch-card,
.branches-grid .col-6:nth-child(even) .branch-card {
    border-top-color: var(--c-yellow);
}

.branch-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    background: var(--c-yellow-soft);
    color: var(--c-blue);
    border-radius: 12px;
    font-size: 1.5rem;
    margin: 0 auto var(--space-2);
}

.branch-card__label {
    display: block;
    width: auto;
    margin: 0;
    background: transparent;
    color: var(--c-blue);
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0;
    font-size: var(--fs-h2);
    line-height: var(--lh-tight);
}

/* ============================================================
 * "Warum kutego?" — 4 reasons + DSGVO badge + testimonial
 * ============================================================ */
.warum-accent {
    color: var(--c-yellow);
}

.warum-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .warum-list {
        grid-template-columns: 1fr 1fr;
    }
}

.warum-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.warum-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    background: var(--c-blue-soft);
    color: var(--c-blue);
    border-radius: 50%;
    font-size: 1.25rem;
}

.warum-item__body {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.warum-item__title {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-Cond", sans-serif;
    color: var(--c-blue);
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.warum-item__text {
    font-size: 0.9rem;
    color: var(--c-text);
}

.dsgvo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--c-yellow);
    color: var(--c-blue);
    border-radius: 999px;
    padding: 0.6rem 1.1rem 0.6rem 0.6rem;
    box-shadow: 0 6px 16px var(--c-yellow-shadow);
}

.dsgvo-badge i {
    font-size: 1.75rem;
    background: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dsgvo-badge span {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-Cond", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
    font-size: 0.95rem;
}

.dsgvo-badge b {
    font-size: 1.25rem;
}

.testimonial-card {
    background: var(--c-bg-pure);
    border: 1px solid var(--c-grey);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.testimonial-card__quote {
    font-style: italic;
    color: var(--c-text);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.testimonial-card__author {
    margin: 0;
    font-size: 0.9rem;
    color: var(--c-blue);
}

/* ============================================================
 * CTA double card — "Jetzt starten" + "Beratungsgespräch"
 * ============================================================ */
.cta-card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg-pure);
    border: 1px solid var(--c-grey);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.cta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--c-blue-dark);
}

.cta-card--primary {
    border-top: 4px solid var(--c-blue);
}

.cta-card--secondary {
    border-top: 4px solid var(--c-yellow);
}

.cta-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.cta-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--c-blue-soft);
    color: var(--c-blue);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cta-card--secondary .cta-card__icon {
    background: var(--c-yellow-soft);
    color: var(--c-yellow-dark);
}

.cta-card__kicker {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-Cond", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-blue);
    font-size: 0.95rem;
}

.cta-card__title {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-Cond", sans-serif;
    color: var(--c-blue);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.cta-card__lead {
    color: var(--c-text);
    margin: 0 0 1rem;
}

.cta-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.cta-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.3rem 0;
    color: var(--c-text);
}

.cta-card__list .fa-check {
    color: var(--c-yellow);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.cta-card__btn {
    align-self: flex-start;
}

.cta-card__note {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    color: rgba(80, 110, 162, 0.7);
    font-style: italic;
}

/* ============================================================
 * Intro / Stärken section — first content block after hero
 * ============================================================ */
.intro-section {
    padding-block: var(--space-4);
}

.intro-section .eyebrow {
    display: inline-block;
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    color: var(--c-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--fs-eyebrow);
    margin-bottom: 0.5rem;
}

.intro-section .section-title {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    color: var(--c-blue);
    font-family: "Daytona Pro Condensed Light", "DaytonaPro-Cond", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0 0 var(--space-3);
}

.intro-section .section-title b {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    color: var(--c-yellow);
}

.intro-section .section-lead {
    font-size: 1.125rem;
    line-height: var(--lh-body);
    color: var(--c-text);
    max-width: 56ch;
    margin: 0 auto;
}

.usp-tile {
    text-align: center;
    padding: var(--space-3) var(--space-2);
}

.usp-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: #fff;
    color: var(--c-blue);
    border-radius: 50%;
    font-size: 1.75rem;
    margin-bottom: var(--space-2);
    box-shadow: 0 4px 14px rgba(80, 110, 162, 0.12);
}

.usp-tile__title {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-size: 1.25rem;
    color: var(--c-blue);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 var(--space-1);
}

.usp-tile__text {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--c-text);
    margin: 0 auto;
    max-width: 32ch;
}

/* ============================================================
 * Problem statement section — "Schluss mit Telefon, Zettelwirtschaft..."
 * Two-column block (text + mascot) with negative bullet list and a
 * resolved-with-kutego pill at the bottom.
 * ============================================================ */
.problem-section {
    background: var(--c-bg-pure);
    padding-block: var(--space-5);
    position: relative;
    overflow: hidden;
}

.problem-headline {
    color: var(--c-blue);
    text-transform: uppercase;
    margin: 0 0 var(--space-2);
}

.problem-lead {
    font-size: 1.5rem;
    line-height: var(--lh-body);
    color: var(--c-blue);
    margin: 0 0 var(--space-4);
}

.problem-sub-headline {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    color: var(--c-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: var(--lh-tight);
    margin: 0 0 var(--space-2);
}

.problem-text {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--c-blue);
    margin: 0 0 var(--space-4);
    max-width: 56ch;
}

.problem-list-title {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    color: var(--c-blue);
    text-transform: uppercase;
    font-size: 1.5rem;
    margin: 0 0 var(--space-3);
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .problem-list {
        grid-template-columns: 1fr 1fr;
    }
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--c-text);
    font-size: var(--fs-body);
    line-height: var(--lh-tight);
}

.problem-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: var(--c-danger);
    font-size: 1rem;
    margin-top: 0.1rem;
}

.problem-resolved {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-blue);
    font-size: 0.95rem;
}

.problem-resolved__logo {
    height: 1.6rem;
    width: auto;
}

.problem-resolved__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--c-success);
    color: var(--c-bg-pure);
    font-size: 0.85rem;
}

.problem-mascot {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    pointer-events: none;
}

.problem-mascot img {
    width: 100%;
    height: auto;
}

/* ============================================================
 * Feature boxes section — "Das schätzen unsere Schwimmschulen"
 * Two-column grid of dashed-border cards with title + paragraph,
 * mascot strip below and an optional DSGVO badge at the right.
 * ============================================================ */
.feature-section {
    background: var(--c-bg-pure);
    padding-block: var(--space-5);
    position: relative;
}

.feature-section__headline {
    color: var(--c-blue);
    text-transform: uppercase;
    margin: 0 0 var(--space-2);
}

.feature-section__lead,
.modules-section__lead {
    font-size: 1.5rem;
    line-height: var(--lh-body);
    color: var(--c-blue);
    margin: 0 0 var(--space-5);
}

.feature-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-box {
    background: var(--c-bg-pure);
    border: 2px dashed var(--c-yellow);
    border-radius: 14px;
    padding: var(--space-3);
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.feature-box:hover {
    box-shadow: 0 8px 22px rgba(80, 110, 162, 0.10);
    transform: translateY(-2px);
}

.feature-box__title {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    color: var(--c-blue);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.6rem;
    line-height: var(--lh-tight);
}

.feature-box__text {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--c-text);
    margin: 0;
}

.feature-mascots {
    margin-top: var(--space-5);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-3);
    pointer-events: none;
}

.feature-mascots img {
    max-height: 280px;
    width: auto;
}

@media (min-width: 768px) {
    .feature-mascots img {
        max-height: 420px;
    }
}

.feature-section__badge {
    display: flex;
    justify-content: center;
    margin-top: var(--space-3);
}

/* ============================================================
 * Customer logos section — "Wie arbeiten unsere Kunden mit kutego?"
 * Three large logo tiles, separate from the existing legacy
 * .row-outline strip (different visual rhythm).
 * ============================================================ */
.customer-logos {
    background: var(--c-bg-soft);
    padding-block: var(--space-5);
}

.customer-logos__headline {
    font-family: "Daytona Pro Condensed Light", "DaytonaPro-Cond", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-blue);
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    margin: 0 0 var(--space-4);
}

.customer-logos__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

@media (min-width: 576px) {
    .customer-logos__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.customer-logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-2);
    background: var(--c-bg-pure);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.customer-logos__item:hover {
    box-shadow: 0 8px 22px rgba(80, 110, 162, 0.10);
    transform: translateY(-2px);
}

.customer-logos__item img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
}

/* ============================================================
 * Type-scale enforcement — overrides legacy kutego.css/sections
 * (kept at the bottom so it wins specificity ties)
 * ============================================================ */
h1.h1.hero-headline {
    font-size: var(--fs-display);
    line-height: var(--lh-display);
    letter-spacing: -0.01em;
}

.headline,
.modules-headline,
.intro-section .section-title,
.warum-grid h2,
.branches-grid h2,
.cta-cards h2 {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    font-family: "Daytona Pro Condensed Light", "DaytonaPro-Cond", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0 0 var(--space-3);
}

/* Section headlines share the same blue tone for visual consistency */
.warum-grid h2 {
    color: var(--c-blue);
}

.headline b,
.modules-headline b,
.intro-section .section-title b,
.warum-grid h2 b,
.branches-grid h2 b,
.cta-cards h2 b {
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-weight: 700;
}

.module-card__title,
.cta-card__title,
.warum-item__title {
    font-size: var(--fs-h2);
    line-height: var(--lh-tight);
}

.lead,
.section-lead,
.cta-card__lead {
    font-size: 1.125rem;
    line-height: var(--lh-body);
    font-weight: 400;
    color: var(--c-text);
}

.module-card__sub,
.warum-item__text,
.testimonial-card__quote,
.usp-tile__text {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.module-card__list li,
.cta-card__list li,
.testimonial-card__author,
.cta-card__note,
.branch-card__label {
    font-size: var(--fs-small);
}

.eyebrow,
.modules-eyebrow,
.cta-card__kicker {
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: "Daytona Pro Condensed Bold", "DaytonaPro-CondBold", sans-serif;
    font-weight: 700;
    color: var(--c-blue);
}

.intro-section,
.modules-grid-wrap,
.modules-grid,
.branches-grid,
.warum-grid,
.cta-cards-wrap,
.cta-cards {
    padding-block: var(--space-4);
}

@media (max-width: 768px) {
    .intro-section,
    .modules-grid-wrap,
    .modules-grid,
    .branches-grid,
    .warum-grid,
    .cta-cards-wrap,
    .cta-cards {
        padding-block: var(--space-5);
    }
}

/* Center the legacy logo strip + match other sections' vertical rhythm */
.row-outline,
.row-outline > .col-md-12,
.row-outline .container-wide,
.row-outline .container,
.row-outline ul.list-inline {
    text-align: center;
}

.row-outline {
    padding-block: var(--space-7);
}

.row-outline .container-wide {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .row-outline {
        padding-block: var(--space-5);
    }
}

/* Replace yellow <mark> highlight with branded yellow text — fits the new look */
mark {
    background: transparent;
    color: var(--c-yellow);
    padding: 0;
    font-weight: 700;
}


