/* Inter Tight — the typeface of the block pages layout (self-hosted). */
@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-200-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-200-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/inter-tight/inter-tight-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   «Блоки страницы» — pages built from blocks (services, project directions).
   Values follow the Figma layout (frame 1440): Inter Tight, 36px gutters,
   warm radial glow on alternating sections.
   ========================================================================== */

.kb-page {
    font-family: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --kb-gutter: 36px;
    --kb-line: rgba(255, 255, 255, 0.13);
    --kb-glow: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(112, 62, 26, 0.42) 0%, rgba(112, 62, 26, 0) 72%);
}

/* Theme sets p { font-weight: 400 } — paragraphs follow their block */
.kb-page section p {
    font-weight: inherit;
}

/* ------------------------------------------------------------- Shared */
.kb-title {
    font-weight: 300;
    font-size: 63.4px;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: #fff;
}

.kb-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

.kb-head .kb-title {
    max-width: 760px;
}

.kb-head > .kb-title:only-child {
    max-width: none;
}

.kb-intro {
    flex: 0 0 440px;
    max-width: 440px;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.kb-intro p + p {
    margin-top: 1em;
}

.kb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.6);
}

.kb-eyebrow::before {
    content: "";
    width: 12px;
    height: 12px;
    background: url("../assets/icons/kb/star.svg") center / contain no-repeat;
}

.kb-icon {
    flex-shrink: 0;
    display: block;
}

/* Buttons: white, translucent («ghost») and outlined */
.kb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 250px;
    height: 50px;
    padding: 0 20px 0 24px;
    border: 1px solid #fff;
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.kb-btn .kb-icon {
    width: 14px;
    height: 14px;
}

.kb-btn:hover {
    background-color: rgba(255, 255, 255, 0.85);
}

.kb-btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.28);
    color: #fff;
}

.kb-btn--ghost .kb-icon {
    filter: invert(1);
}

.kb-btn--ghost:hover {
    border-color: #fff;
    background-color: rgba(0, 0, 0, 0.45);
}

.kb-btn--outline {
    min-width: 220px;
    height: 46px;
    padding: 0 18px 0 22px;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: transparent;
    color: #fff;
}

.kb-btn--outline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.06);
}

.kb-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    transition: border-color 0.25s ease, opacity 0.25s ease;
}

.kb-arrow:hover {
    border-color: #fff;
}

.kb-arrow.swiper-button-disabled {
    opacity: 0.6;
    cursor: default;
}

/* Swiper hides arrows when every slide fits; the layout keeps them */
.kb-arrow.swiper-button-lock {
    display: inline-flex;
    opacity: 1;
}

.kb-arrow .kb-icon {
    width: 16px;
    height: 16px;
}

/* --------------------------------------------------------------- Hero */
.kb-page .hero--service {
    height: 820px;
    max-height: 100vh;
    min-height: 600px;
    padding: 0 var(--kb-gutter) 44px;
}

.kb-page .hero--service::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 30%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.kb-page .hero__title--service {
    z-index: 1;
    width: min(980px, calc(100% - 2 * var(--kb-gutter)));
    max-width: none;
    font-weight: 500;
    font-size: 56.2px;
    line-height: 1.04;
    letter-spacing: -0.015em;
    text-transform: uppercase;
}

/* Title with a subtitle: smaller caps line, then a light sentence */
.kb-page .hero__title--has-sub {
    font-size: 51.8px;
}

.hero__subtitle {
    display: block;
    margin-top: 19px;
    font-weight: 300;
    font-size: 32.1px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.9);
}

.kb-page .hero__desc--service {
    max-width: 460px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0;
}

.kb-page .hero__buttons {
    gap: 16px;
}

/* ------------------------------------------------------------ Reasons */
.kb-reasons {
    padding: 150px var(--kb-gutter) 130px;
    background: var(--kb-glow), #000;
}

.kb-reasons::before {
    display: none;
}

.kb-reasons__head {
    display: grid;
    grid-template-columns: minmax(0, 632px) minmax(0, 680px);
    justify-content: space-between;
    gap: 56px;
    padding-bottom: 88px;
    border-bottom: 1px solid var(--kb-line);
}

.kb-reasons__head .kb-title {
    max-width: 632px;
}

.kb-reasons__aside {
    padding-top: 9px;
}

.kb-reasons__intro {
    font-weight: 400;
    font-size: 21.6px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.kb-reasons__subhead {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 30px;
    font-weight: 300;
    font-size: 23px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.72);
}

.kb-reasons__subhead .kb-icon {
    width: 16px;
    height: 16px;
}

.kb-reasons__list {
    margin-top: 0;
}

.kb-reasons__item {
    display: grid;
    grid-template-columns: minmax(0, 656px) minmax(0, 680px);
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    padding: 48px 0;
    border-top: 0;
    border-bottom: 1px solid var(--kb-line);
}

.kb-reasons__item:last-child {
    border-bottom: 0;
}

.kb-reasons__num {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.55);
}

.kb-reasons__text {
    max-width: 680px;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.6;
    color: #fff;
}

/* -------------------------------------------------------------- Image */
.kb-page .service-image {
    background-color: #000;
}

.kb-page .service-image__img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--kb-ratio, 1440 / 760);
    object-fit: cover;
}

/* -------------------------------------------------------------- Steps */
.kb-steps {
    padding: 120px var(--kb-gutter) 40px;
    background-color: #000;
    color: #fff;
}

.kb-steps__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding-bottom: 57px;
    border-bottom: 1px solid var(--kb-line);
}

.kb-steps__head .kb-title {
    max-width: 900px;
    font-size: 51.8px;
    line-height: 1.06;
}

.kb-steps__item {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: center;
    min-height: 200px;
    padding: 40px 0;
    border-bottom: 1px solid var(--kb-line);
}

.kb-steps__item:last-child {
    border-bottom: 0;
}

.kb-steps__num {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.6);
}

.kb-steps__name {
    font-weight: 300;
    font-size: 43.2px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.kb-steps__link {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    color: #fff;
}

.kb-steps__link .kb-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease;
}

.kb-steps__link:hover .kb-icon {
    transform: translate(3px, -3px);
}

.kb-steps__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}

/* -------------------------------------------------------------- Cards */
.kb-cards {
    padding: 130px var(--kb-gutter) 140px;
    background-color: #000;
    color: #fff;
}

.kb-cards--tiles {
    background: var(--kb-glow), #000;
}

.kb-cards__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    margin-top: 72px;
}

.kb-cards__list--1 { grid-template-columns: minmax(0, 1fr); }
.kb-cards__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kb-cards__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Tile: number + icon on top, title (and text, link) pinned to the bottom */
.kb-card {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    padding: 28px 28px 29px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(0, 0, 0, 0.35);
    color: #fff;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

a.kb-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.03);
}

.kb-cards__list--short .kb-card {
    min-height: 210px;
    padding: 28px 28px 32px;
    background-color: rgba(255, 255, 255, 0.02);
}

/* Cards with text, no links («Was möglich wird», sub-types) */
.kb-cards__list--text .kb-card {
    min-height: 260px;
    padding: 28px 28px 32px;
    background-color: rgba(255, 255, 255, 0.02);
}

.kb-cards__list--text .kb-card__title {
    font-size: 27.4px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.kb-cards__list--text .kb-card__text {
    margin-top: 13px;
}

/* 2 × 2 large cards («Individuelle Lösungen für jede Art von …») */
.kb-cards__list--big .kb-card {
    min-height: 341px;
    padding: 32px 32px 36px;
}

.kb-cards__list--big.kb-cards__list--3 .kb-card {
    min-height: 421px;
}

.kb-cards__list--big .kb-card__icon {
    width: 56px;
    height: 56px;
}

.kb-cards__list--big .kb-card__title {
    font-size: 37.4px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.kb-cards__list--big .kb-card__text {
    max-width: 560px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
}

/* Two responsibility cards with lists («Wer auf der Baustelle …») */
.kb-card--checklist {
    min-height: 0;
    padding: 37px 37px 28px;
    border-color: rgba(255, 255, 255, 0.14);
    background-color: rgba(0, 0, 0, 0.35);
}

.kb-card--checklist.is-primary {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.04);
}

.kb-card__brand {
    width: 49px;
    height: auto;
}

.kb-card--checklist .kb-card__title {
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 24px;
    font-size: 37.4px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.kb-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kb-card__list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.kb-card--checklist:not(.is-primary) .kb-card__list li {
    color: rgba(255, 255, 255, 0.82);
}

.kb-card__list .kb-icon {
    width: 18px;
    height: 18px;
}

/* Rows of links («Unsere Leistungen für …») */
.kb-cards__list--rows {
    display: block;
    border-top: 1px solid var(--kb-line);
}

.kb-row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 40px 0 41px;
    border-bottom: 1px solid var(--kb-line);
    color: #fff;
}

.kb-row__num {
    font-weight: 400;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.kb-row__title {
    font-weight: 300;
    font-size: 43.2px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    transition: opacity 0.25s ease;
}

.kb-row__arrow {
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease;
}

a.kb-row:hover .kb-row__arrow {
    transform: translate(3px, -3px);
}

a.kb-row:hover .kb-row__title {
    opacity: 0.75;
}

.kb-pills {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.kb-pills__label {
    font-weight: 500;
    font-size: 15px;
    color: #fff;
}

.kb-pills__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kb-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 46px;
    padding: 0 23px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 23px;
    font-weight: 500;
    font-size: 13px;
    color: #fff;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.kb-pill:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.06);
}

.kb-pill .kb-icon {
    width: 10px;
    height: 10px;
}

/* Last tile: a call to action instead of a card */
.kb-card--cta {
    background-color: rgba(255, 255, 255, 0.02);
}

.kb-card--cta .kb-btn {
    width: 100%;
    margin-top: auto;
}

.kb-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.kb-card__num {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.6);
}

.kb-card__icon {
    width: 28px;
    height: 28px;
}

.kb-card__icon--arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

a.kb-card:hover .kb-card__icon--arrow {
    transform: translate(2px, -2px);
}

.kb-card__title {
    margin-top: auto;
    padding-top: 40px;
    font-weight: 300;
    font-size: 37.4px;
    line-height: 1.21;
    letter-spacing: -0.02em;
}

.kb-cards__list--short .kb-card__title {
    font-size: 27.4px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.kb-card__text {
    margin-top: 15px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
}

.kb-card__more {
    align-self: flex-start;
    margin-top: 15px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
}

/* Cards with an illustration («Weitere Leistungen») */
.kb-cards--media {
    padding-bottom: 150px;
}

.kb-cards__list--media {
    gap: 32px;
}

.kb-card--media {
    min-height: 0;
    padding: 29px 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: none;
}

.kb-card__frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 435 / 300;
    padding: 34px 18px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: #000;
}

.kb-card__art {
    width: 100%;
    max-width: 397px;
    height: 100%;
    object-fit: contain;
}

.kb-card__code,
.kb-card__caption {
    position: absolute;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

.kb-card__code {
    top: 13px;
    left: 15px;
}

.kb-card__caption {
    right: 15px;
    bottom: 12px;
}

.kb-card--media .kb-card__num {
    margin-top: 40px;
}

.kb-card--media .kb-card__title {
    margin-top: 18px;
    padding-top: 11px;
    font-size: 28.8px;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.kb-card--media .kb-card__text {
    margin-top: 18px;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.6;
}

.kb-card--media .kb-card__text {
    margin-bottom: 40px;
}

/* Buttons line up at the bottom of the row, as in the layout */
.kb-card--media .kb-btn {
    align-self: flex-start;
    margin-top: auto;
}

.kb-card--media .kb-btn .kb-icon {
    width: 14px;
    height: 14px;
}

/* --------------------------------------------------------------- Text */
.kb-text {
    padding: 130px var(--kb-gutter) 140px;
    background-color: #000;
    color: #fff;
}

.kb-text__content {
    max-width: 668px;
}

.kb-text--media {
    display: grid;
    grid-template-columns: minmax(0, 668fr) minmax(0, 628fr);
    gap: 72px;
    align-items: stretch;
}

.kb-text__content .kb-eyebrow {
    margin-bottom: 28px;
}

.kb-text .kb-title {
    font-size: 60.5px;
}

.kb-text__body {
    max-width: 600px;
    margin-top: 48px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.kb-text__body p + p {
    margin-top: 1em;
}

.kb-text__lead {
    margin-top: 83px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 300;
    font-size: 28.8px;
    line-height: 1.32;
    letter-spacing: -0.01em;
    color: #fff;
}

/* The picture is as tall as the text beside it, as in the layout */
.kb-text__media {
    position: relative;
    margin: 0;
    min-height: 100%;
    overflow: hidden;
}

.kb-text__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb-text__label,
.kb-founder__label {
    position: absolute;
    top: 22px;
    left: 24px;
    z-index: 1;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #000;
}

/* ------------------------------------------------------------- Topics */
.kb-topics {
    padding: 130px var(--kb-gutter) 140px;
    background-color: #000;
    color: #fff;
}

.kb-topics__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.kb-topics__head .kb-title {
    max-width: 1040px;
}

.kb-btn--wide {
    min-width: 250px;
    height: 50px;
    padding: 0 20px 0 24px;
}

.kb-btn--outline .kb-icon[src*="btn-arrow"] {
    filter: invert(1);
}

.kb-topics__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 72px;
    margin-top: 72px;
}

.kb-topics__item {
    padding: 33px 0 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.kb-topics__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.kb-topics__name {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.kb-topics__num {
    flex-shrink: 0;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.kb-topics__text {
    margin-top: 28px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

/* ------------------------------------------------- Compare (before/after) */
.kb-compare {
    padding: 130px var(--kb-gutter);
    background-color: #000;
    color: #fff;
}

.kb-compare__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 72px;
}

.kb-compare__frame {
    position: relative;
    aspect-ratio: 440 / 342;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-color: #050505;
    overflow: hidden;
    user-select: none;
}

.kb-compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Filter row above the cards («Alle · Hotels · …») */
.kb-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 60px;
    margin-top: 48px;
    padding-bottom: 29px;
    border-bottom: 1px solid var(--kb-line);
}

.kb-filter__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-weight: 300;
    font-size: 20.9px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: color 0.25s ease;
}

.kb-filter__btn::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
}

.kb-filter__btn:hover,
.kb-filter__btn.is-active {
    color: #fff;
}

.kb-compare__list--filtered {
    margin-top: 48px;
}

.kb-compare__list--filtered .kb-compare__frame {
    aspect-ratio: 440 / 382;
}

.kb-compare__card.is-hidden {
    display: none;
}

/* The «before» picture is cut at the handle */
.kb-compare__img--before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.kb-compare__label {
    position: absolute;
    top: 16px;
    z-index: 2;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.kb-compare__label--before { left: 16px; }
.kb-compare__label--after { right: 16px; }

.kb-compare__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    z-index: 2;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.6);
}

.kb-compare__handle {
    position: absolute;
    top: 50%;
    left: var(--pos);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.kb-compare__handle .kb-icon {
    width: 18px;
    height: 12px;
}

/* An invisible range input on top does the dragging, keyboard included */
.kb-compare__range {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.kb-compare__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-top: 26px;
}

.kb-compare__title {
    font-weight: 300;
    font-size: 24px;
    line-height: 1.2;
}

.kb-compare__num {
    flex-shrink: 0;
    padding-top: 8px;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.kb-compare__text {
    margin-top: 13px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.kb-compare__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
}

.kb-compare__link .kb-icon {
    width: 10px;
    height: 10px;
}

/* ---------------------------------------------- Why (slider of 4 cards) */
.why--slider {
    padding: 120px 0 0;
    background: var(--kb-glow), #000;
}

.why--slider::before {
    display: none;
}

.why--slider .why__head {
    padding: 0 var(--kb-gutter);
}

.why--slider .why__title {
    max-width: 640px;
    padding: 0;
    font-weight: 300;
    font-size: 49px;
    line-height: 1.06;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.why--slider .why__nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 40px var(--kb-gutter) 32px;
}

.why--slider .why__slider {
    margin-top: 0;
}

.why--slider .why__track {
    width: auto;
    animation: none;
}

.why--slider .why__card {
    width: auto;
    margin-right: 0;
}

.why--slider .why__media {
    width: 100%;
    height: auto;
    aspect-ratio: 358 / 460;
}

.why--slider .why__num {
    top: 22px;
    left: 24px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0;
}

.why--slider .why__card-bottom {
    padding: 30px 24px 72px;
}

.why--slider .why__card-title {
    margin-top: 0;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.21;
    letter-spacing: 0;
    text-transform: uppercase;
}

.why--slider .why__card-text {
    max-width: 310px;
    margin-top: 14px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.62);
}

/* ------------------------------------------------------------ Founder */
/* Fits one screen: the photo takes the screen height (layout proportions
   560 × 700) and its width follows; the text column fills the rest. */
.kb-founder {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 86px;
    padding: 60px var(--kb-gutter);
    background-color: #000;
    color: #fff;
}

.kb-founder__media {
    position: relative;
    height: min(calc(100vh - 120px), 760px);
    min-height: 520px;
    margin: 0;
    aspect-ratio: 560 / 700;
    background-color: #140c06;
    overflow: hidden;
}

.kb-founder__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb-founder__label {
    color: #fff;
}

.kb-founder__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.kb-founder__content .kb-eyebrow {
    margin-top: 2px;
    margin-bottom: 28px;
}

.kb-founder .kb-title {
    max-width: 720px;
    font-size: 57.6px;
}

.kb-founder__body {
    max-width: 620px;
    margin-top: 44px;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.kb-founder__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin-top: auto;
    padding-top: 33px;
    border-top: 1px solid var(--kb-line);
}

.kb-founder__value {
    display: block;
    font-weight: 300;
    font-size: 43.2px;
    line-height: 1.21;
    letter-spacing: -0.02em;
}

.kb-founder__caption {
    display: block;
    margin-top: 7px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

/* ------------------------------------------------------------ Reviews */
.kb-reviews {
    padding: 130px var(--kb-gutter);
    background-color: #000;
    color: #fff;
}

.kb-reviews__widget {
    margin-top: 72px;
}

/* ---------------------------------------------------------------- FAQ */
.kb-faq {
    padding: 130px var(--kb-gutter) 120px;
    background: var(--kb-glow), #000;
}

.kb-faq .faq__head {
    align-items: flex-end;
    margin-bottom: 0;
    padding-bottom: 45px;
    border-bottom: 1px solid var(--kb-line);
}

.kb-faq .faq__title {
    padding-top: 0;
    font-weight: 300;
    font-size: 63.4px;
    line-height: 1.04;
    letter-spacing: -0.025em;
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.kb-faq .faq__subtitle {
    max-width: 300px;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: right;
    background: none;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
    color: rgba(255, 255, 255, 0.85);
}

.kb-faq .faq__item {
    border-bottom: 1px solid var(--kb-line);
}

.kb-faq .faq__trigger {
    padding: 34px 0;
    font-family: inherit;
}

.kb-faq .faq__item.is-open .faq__trigger {
    padding-bottom: 27px;
}

.kb-faq .faq__q {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kb-faq .faq__arrow {
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
}

.kb-faq .faq__item.is-open .faq__arrow {
    transform: none;
}

.kb-faq .faq__a {
    max-width: 760px;
    padding-bottom: 36px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------------------- Projects */
.kb-projects {
    padding-top: 130px;
}

.kb-projects .kb-head {
    padding: 0 var(--kb-gutter) 60px;
}

/* ------------------------------------------------------------ Gallery */
.kb-gallery {
    padding: 130px 0 120px;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.kb-gallery .kb-head {
    padding: 0 var(--kb-gutter);
}

.kb-gallery .project__nav {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin: 60px 0 28px;
    padding-right: var(--kb-gutter);
}

.kb-gallery .project__prev img {
    transform: scaleX(-1);
}

.kb-gallery .project__slider {
    overflow: visible;
    margin-left: 30%;
}

.kb-gallery .project__slider .swiper-slide {
    width: 488px;
    height: 320px;
    overflow: hidden;
}

.kb-gallery .project__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------------------------ Contact */
/* Page picture under a warm dark veil instead of the video */
.kb-page .contact {
    padding: 0 10px;
}

.kb-page .contact__inner {
    padding: 34px 36px 200px;
    border-radius: 0;
}

.kb-page .contact__main {
    margin-top: 192px;
}

.contact--image .contact__inner::after {
    background-color: rgba(28, 18, 10, 0.68);
}

.kb-page .contact__title {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-weight: 500;
    font-size: 46.1px;
    line-height: 1.06;
    letter-spacing: -0.015em;
}

/* ------------------------------------------------- Project request form */
.kb-page .contact__title {
    margin-bottom: 44px;
}

.contact .gform_wrapper form.kb-form,
.contact form.kb-form {
    width: 560px;
    max-width: 100%;
}

/* The plugin wrapper sizes itself to the form inside a centred column —
   cap it to the screen so the 560 px form can shrink on phones. */
.kb-page .contact__main .gform_wrapper {
    width: 100%;
    max-width: 560px;
}

.kb-form .contact__fields {
    column-gap: 14px;
    row-gap: 14px;
}

.contact .gform_wrapper .kb-form .contact__input,
.contact .kb-form .contact__select-trigger,
.contact .gform_wrapper .kb-form .kb-form__message {
    height: 50px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 3px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-family: inherit;
    font-weight: 500 !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
    color: #fff !important;
}

.contact .gform_wrapper .kb-form .contact__input::placeholder,
.contact .gform_wrapper .kb-form .kb-form__message::placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
}

.kb-form .contact__select-option {
    font-size: 13px;
}

.kb-form .gfield--type-textarea,
.kb-form .gfield--type-fileupload {
    grid-column: 1 / -1;
}

.contact .gform_wrapper .kb-form .kb-form__message {
    display: block;
    width: 100%;
    height: 120px !important;
    padding: 16px !important;
    resize: vertical;
    outline: none;
}

/* Dashed upload strip */
.kb-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.kb-upload:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.kb-upload__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.kb-upload__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kb-upload__title {
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
}

.kb-upload__hint {
    overflow: hidden;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.72);
}

.kb-upload__pick {
    flex-shrink: 0;
    margin-left: auto;
    padding-bottom: 2px;
    border-bottom: 1px solid #fff;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
}

/* The real file input covers the strip, invisible */
.kb-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.contact .gform_wrapper .kb-form .contact__submit {
    height: 52px;
    margin-top: 14px;
    padding: 0 20px 0 24px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
}

.kb-form .contact__submit img {
    width: 14px;
    height: 14px;
}

/* ======================================================== Breakpoints */
@media (max-width: 1270px) {
    .kb-title,
    .kb-faq .faq__title { font-size: 52px; }
    .kb-text .kb-title,
    .kb-founder .kb-title { font-size: 48px; }
    .kb-steps__head .kb-title { font-size: 44px; }
    .kb-steps__name { font-size: 36px; }
    .kb-steps__item { grid-template-columns: 120px minmax(0, 1fr) 300px; }
    .kb-cards__list,
    .kb-cards__list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-cards__list--media { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .kb-card__title { font-size: 32px; }
    .kb-founder { gap: 50px; }
    .kb-founder__value { font-size: 36px; }
    .kb-gallery .project__slider { margin-left: 10%; }
}

@media (max-width: 1024px) {
    .kb-page { --kb-gutter: 30px; }
    .kb-head { flex-direction: column; align-items: flex-start; gap: 24px; }
    .kb-intro { flex: none; max-width: 560px; }
    .kb-title,
    .kb-faq .faq__title,
    .kb-text .kb-title,
    .kb-founder .kb-title { font-size: 42px; }
    .kb-page .hero__title--service { font-size: 42px; }
    .hero__subtitle { font-size: 26px; }
    /* Title sits under the header on tablets and phones, not over it */
    .kb-page .hero--service { height: var(--fixed-vh, 100vh); max-height: none; padding-top: 220px; }
    .kb-reasons { padding: 100px var(--kb-gutter) 80px; }
    .kb-reasons__head { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 50px; }
    .kb-reasons__subhead { justify-content: flex-start; }
    .kb-reasons__item { grid-template-columns: 60px minmax(0, 1fr); padding: 32px 0; }
    .kb-steps__head { flex-direction: column; align-items: flex-start; }
    .kb-topics { padding-top: 90px; padding-bottom: 60px; }
    .kb-topics__head { flex-direction: column; align-items: flex-start; gap: 24px; }
    .kb-topics__list { column-gap: 40px; margin-top: 50px; }
    .kb-compare { padding-top: 90px; padding-bottom: 90px; }
    .kb-compare__list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 50px; row-gap: 50px; }
    .kb-steps__item { grid-template-columns: 60px minmax(0, 1fr); min-height: 0; row-gap: 14px; }
    .kb-row { grid-template-columns: 60px minmax(0, 1fr) auto; }
    .kb-row__title { font-size: 32px; }
    .kb-steps__text { grid-column: 2; }
    .kb-cards__list--media { grid-template-columns: minmax(0, 1fr); gap: 60px; }
    .kb-text--media,
    .kb-founder { grid-template-columns: minmax(0, 1fr); gap: 50px; }
    .kb-text,
    .kb-founder,
    .kb-cards,
    .kb-reviews,
    .kb-faq { padding-top: 90px; padding-bottom: 90px; }
    .kb-text__lead { margin-top: 50px; }
    .kb-founder__stats { margin-top: 50px; }
    .kb-founder__media { width: 100%; height: auto; min-height: 0; }
    .kb-text__media { min-height: 0; aspect-ratio: 628 / 720; }
    .kb-faq .faq__head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .kb-faq .faq__subtitle { text-align: left; }
}

@media (max-width: 570px) {
    /* Manual line breaks are tuned for 1440 — phones wrap naturally */
    .kb-title br,
    .why--slider .why__title br,
    .kb-faq .faq__title br,
    .kb-page .contact__title br { display: none; }
    .kb-page { --kb-gutter: 20px; }
    .kb-title,
    .kb-faq .faq__title,
    .kb-text .kb-title,
    .kb-founder .kb-title,
    .kb-steps__head .kb-title { font-size: 32px; }
    .why--slider .why__title { font-size: 32px; }
    .kb-page .hero__title--service { font-size: 30px; }
    .hero__subtitle { margin-top: 12px; font-size: 20px; }
    .kb-page .hero--service { min-height: 640px; padding-top: 150px; padding-bottom: 30px; }
    .kb-page .hero__desc--service { max-width: 330px; font-size: 14px; }
    .kb-page .contact__title { font-size: 28px; margin-bottom: 28px; }
    .kb-page .contact__inner { padding: 24px 20px 80px; }
    .kb-page .contact__main { margin-top: 90px; }
    .kb-form .contact__fields { grid-template-columns: minmax(0, 1fr); }
    .kb-page .hero__buttons { flex-direction: column; width: 100%; }
    .kb-btn { width: 100%; min-width: 0; }
    .kb-intro,
    .kb-text__body,
    .kb-founder__body,
    .kb-reasons__intro { font-size: 16px; }
    .kb-reasons__subhead { font-size: 18px; }
    .kb-reasons__item { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 26px 0; }
    .kb-reasons__text { font-size: 16px; }
    .kb-steps__item { grid-template-columns: 36px minmax(0, 1fr); padding: 28px 0; }
    .kb-steps__name { font-size: 28px; }
    .kb-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; padding: 24px 0; }
    .kb-row__title { font-size: 24px; }
    .kb-pills { flex-direction: column; align-items: flex-start; }
    .kb-topics__list { grid-template-columns: minmax(0, 1fr); }
    .kb-compare { padding-top: 70px; padding-bottom: 70px; }
    .kb-compare__list { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
    .kb-compare__title { font-size: 21px; }
    .kb-filter { gap: 6px 26px; }
    .kb-filter__btn { font-size: 17px; }
    .kb-topics__item { padding: 26px 0 36px; }
    .kb-topics__text { margin-top: 18px; font-size: 16px; }
    .kb-topics { padding-top: 70px; padding-bottom: 40px; }
    .kb-cards__list,
    .kb-cards__list--2,
    .kb-cards__list--3 { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
    .kb-card { min-height: 280px; }
    .kb-cards__list--short .kb-card { min-height: 170px; }
    .kb-card__title { font-size: 28px; }
    .kb-card--checklist { padding: 26px 20px 16px; }
    .kb-card__list li { font-size: 15px; }
    .kb-cards__list--short .kb-card__title { font-size: 22px; }
    .kb-card--media .kb-card__title { font-size: 24px; }
    .kb-text__lead { font-size: 22px; }
    .kb-founder__stats { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .why--slider .why__nav { justify-content: flex-start; }
    .why--slider .why__card { width: 290px; }
    .why--slider .why__card-bottom { padding: 24px 0 50px; }
    .kb-text,
    .kb-founder,
    .kb-cards,
    .kb-reviews,
    .kb-faq,
    .kb-steps { padding-top: 70px; padding-bottom: 70px; }
    .kb-gallery .project__slider { margin-left: 0; padding-left: var(--kb-gutter); }
    .kb-gallery .project__slider .swiper-slide { width: 80%; height: 220px; }
}
