/*
 * Klemmshop Startseite v1.0
 * Scope: .ks-home – beeinflusst keine anderen JTL-Seiten.
 * Für JTL-Shop 5.4 / NOVA Child.
 */

.ks-home {
    --ks-bg: #f6f7f8;
    --ks-surface: #ffffff;
    --ks-ink: #171b24;
    --ks-muted: #69717e;
    --ks-border: #e5e8ec;
    --ks-dark: #151a22;
    --ks-dark-soft: #202733;
    --ks-green: #2e8b57;
    --ks-green-dark: #206640;
    --ks-green-soft: #eaf6ef;
    --ks-yellow: #f5b32b;
    --ks-yellow-soft: #fff4d9;
    --ks-radius: 20px;
    --ks-shadow: 0 18px 55px rgba(22, 28, 37, .10);
    color: var(--ks-ink);
    font-family: "Open Sans", Arial, sans-serif;
}

.ks-home *,
.ks-home *::before,
.ks-home *::after {
    box-sizing: border-box;
}

.ks-home img {
    max-width: 100%;
    height: auto;
}

.ks-home a {
    text-decoration: none;
}

.ks-home h1,
.ks-home h2,
.ks-home h3,
.ks-home strong {
    font-family: Montserrat, "Open Sans", Arial, sans-serif;
}

.ks-container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------- Hero ---------- */
.ks-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 74% 30%, rgba(245, 179, 43, .14), transparent 26%),
        radial-gradient(circle at 16% 110%, rgba(46, 139, 87, .19), transparent 31%),
        var(--ks-dark);
    color: #fff;
}

.ks-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .35;
    background-image: radial-gradient(circle, rgba(255,255,255,.12) 0 5px, transparent 5.8px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
}

.ks-hero__grid {
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(470px, 1.05fr);
    align-items: center;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.ks-hero__content {
    position: relative;
    z-index: 2;
    max-width: 690px;
}

.ks-eyebrow,
.ks-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.ks-eyebrow {
    margin-bottom: 22px;
    color: rgba(255,255,255,.82);
}

.ks-eyebrow__dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--ks-yellow);
    box-shadow: 0 0 0 6px rgba(245,179,43,.13);
}

.ks-hero h1 {
    margin: 0;
    max-width: 720px;
    color: #fff;
    font-size: clamp(2.65rem, 5vw, 4.85rem);
    line-height: 1.01;
    letter-spacing: -.045em;
    font-weight: 800;
}

.ks-hero h1 span {
    color: var(--ks-yellow);
}

.ks-hero__lead {
    max-width: 650px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.74);
    font-size: clamp(1rem, 1.35vw, 1.17rem);
    line-height: 1.75;
}

.ks-hero__actions,
.ks-service__actions,
.ks-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ks-hero__actions {
    margin-top: 34px;
}

.ks-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.ks-btn:hover,
.ks-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.ks-btn--primary {
    background: var(--ks-yellow);
    color: #171717;
    box-shadow: 0 12px 30px rgba(245,179,43,.18);
}

.ks-btn--primary:hover,
.ks-btn--primary:focus {
    color: #111;
    background: #ffc54d;
}

.ks-btn--ghost {
    color: #fff;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.22);
}

.ks-btn--ghost:hover,
.ks-btn--ghost:focus {
    color: #fff;
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.35);
}

.ks-btn--light {
    color: var(--ks-dark);
    background: #fff;
    box-shadow: 0 14px 35px rgba(0,0,0,.12);
}

.ks-btn--light:hover,
.ks-btn--light:focus {
    color: var(--ks-dark);
    background: #f8f9fa;
}

.ks-btn--outline-light {
    color: #fff;
    border-color: rgba(255,255,255,.43);
    background: transparent;
}

.ks-btn--outline-light:hover,
.ks-btn--outline-light:focus {
    color: #fff;
    background: rgba(255,255,255,.09);
}

.ks-btn--dark {
    color: #fff;
    background: var(--ks-dark);
}

.ks-btn--dark:hover,
.ks-btn--dark:focus {
    color: #fff;
    background: #252c37;
}

.ks-hero__proof {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 21px;
    margin: 31px 0 0;
    padding: 0;
    color: rgba(255,255,255,.76);
    font-size: .87rem;
}

.ks-hero__proof li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ks-proof-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ks-green);
    font-size: .73rem;
    font-weight: 800;
}

.ks-hero__visual {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-hero__halo {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(245,179,43,.31), rgba(46,139,87,.08));
    filter: blur(2px);
}

.ks-hero__product {
    position: relative;
    z-index: 2;
    width: min(600px, 100%);
    min-height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 34px 54px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 35px 90px rgba(0,0,0,.30);
    transform: rotate(-1.5deg);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ks-hero__product:hover,
.ks-hero__product:focus {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 42px 100px rgba(0,0,0,.36);
}

.ks-hero__product img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.ks-hero__badge {
    position: absolute;
    top: 17px;
    left: 18px;
    z-index: 3;
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--ks-dark);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.ks-hero__product-caption {
    position: absolute;
    left: 23px;
    right: 23px;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: baseline;
    color: var(--ks-ink);
    font-size: .78rem;
}

.ks-hero__product-caption strong {
    font-size: .98rem;
}

.ks-hero__product-caption span {
    color: var(--ks-muted);
}

.ks-float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    color: var(--ks-ink);
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.ks-float-card:hover,
.ks-float-card:focus {
    color: var(--ks-ink);
    text-decoration: none;
}

.ks-float-card small,
.ks-float-card strong {
    display: block;
}

.ks-float-card small {
    margin-bottom: 2px;
    color: var(--ks-muted);
    font-size: .68rem;
}

.ks-float-card strong {
    font-size: .82rem;
}

.ks-float-card--print {
    left: -17px;
    bottom: 23px;
}

.ks-float-card--shipping {
    right: -14px;
    top: 25px;
}

.ks-float-card__thumb {
    width: 62px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f3f4;
}

.ks-float-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ks-float-card__round {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ks-green-dark);
    background: var(--ks-green-soft);
}

.ks-float-card__round svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ---------- Trust ---------- */
.ks-trust {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--ks-border);
    background: #fff;
}

.ks-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ks-trust__item {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 19px 24px;
    border-right: 1px solid var(--ks-border);
}

.ks-trust__item:first-child {
    border-left: 1px solid var(--ks-border);
}

.ks-trust__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--ks-green-dark);
    background: var(--ks-green-soft);
}

.ks-trust__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.ks-trust__item strong,
.ks-trust__item small {
    display: block;
}

.ks-trust__item strong {
    margin-bottom: 2px;
    color: var(--ks-ink);
    font-size: .88rem;
}

.ks-trust__item small {
    color: var(--ks-muted);
    font-size: .76rem;
}

/* ---------- Sections ---------- */
.ks-section {
    padding: 76px 0;
}

.ks-section--categories {
    background: var(--ks-bg);
}

.ks-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 31px;
}

.ks-section-head--compact {
    margin-bottom: 23px;
}

.ks-kicker {
    margin-bottom: 9px;
    color: var(--ks-green-dark);
}

.ks-kicker--light {
    color: #bbf2d1;
}

.ks-section-head h2,
.ks-manufactory h2,
.ks-service h2,
.ks-final-cta h2 {
    margin: 0;
    color: var(--ks-ink);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 750;
}

.ks-section-head p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--ks-muted);
    line-height: 1.65;
}

.ks-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: var(--ks-green-dark);
    font-weight: 700;
}

.ks-text-link:hover,
.ks-text-link:focus {
    color: var(--ks-green);
}

/* ---------- Category cards ---------- */
.ks-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 16px;
}

.ks-category-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius);
    color: var(--ks-ink);
    background: #fff;
    box-shadow: 0 9px 30px rgba(23,27,36,.045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ks-category-card:hover,
.ks-category-card:focus {
    color: var(--ks-ink);
    transform: translateY(-4px);
    border-color: #d5dbdf;
    box-shadow: 0 17px 44px rgba(23,27,36,.10);
}

.ks-category-card--large {
    grid-column: span 2;
}

.ks-category-card--baseplates {
    grid-column: span 2;
    background: linear-gradient(135deg, #f4faf6 0%, #eef7fb 100%);
    border-color: #dbe9e1;
}

.ks-category-card--baseplates img {
    right: 3%;
    top: 4%;
    width: 52%;
    height: 88%;
}

.ks-category-card__pill--popular {
    color: #fff;
    background: var(--ks-green);
}

.ks-category-card__label,
.ks-category-card__copy,
.ks-category-card__arrow,
.ks-category-card__pill {
    position: relative;
    z-index: 3;
}

.ks-category-card__label {
    max-width: 70%;
    font-family: Montserrat, "Open Sans", Arial, sans-serif;
    font-size: 1.23rem;
    line-height: 1.2;
    font-weight: 700;
}

.ks-category-card__copy {
    max-width: 67%;
    margin-top: 6px;
    color: var(--ks-muted);
    font-size: .82rem;
    line-height: 1.45;
}

.ks-category-card__arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ks-dark);
    transition: transform .2s ease;
}

.ks-category-card:hover .ks-category-card__arrow {
    transform: translateX(3px);
}

.ks-category-card img {
    position: absolute;
    z-index: 1;
    right: 10px;
    top: 10px;
    width: 52%;
    height: 70%;
    object-fit: contain;
    transition: transform .3s ease;
}

.ks-category-card:hover img {
    transform: scale(1.035);
}

.ks-category-card--large img {
    right: 4%;
    top: 5%;
    width: 57%;
    height: 82%;
}

.ks-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 42%, rgba(255,255,255,.08) 78%);
}

.ks-category-card__icon {
    position: absolute;
    z-index: 1;
    right: 19px;
    top: 16px;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    color: #dbe9e0;
    background: var(--ks-green-soft);
}

.ks-category-card__icon svg {
    width: 68px;
    height: 68px;
    fill: currentColor;
}

.ks-category-card--print {
    grid-column: span 2;
    color: #fff;
    background: linear-gradient(135deg, #1e6840, #2e8b57);
    border-color: transparent;
}

.ks-category-card--print:hover,
.ks-category-card--print:focus {
    color: #fff;
}

.ks-category-card--print::after {
    background: linear-gradient(90deg, rgba(30,104,64,1) 0%, rgba(30,104,64,.96) 42%, rgba(30,104,64,.12) 84%);
}

.ks-category-card--print .ks-category-card__copy {
    color: rgba(255,255,255,.72);
}

.ks-category-card--print .ks-category-card__arrow {
    color: var(--ks-dark);
    background: #fff;
}

.ks-category-card--print img {
    width: 48%;
    height: 73%;
    right: 3%;
    top: 13%;
    padding: 13px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.ks-category-card__pill {
    margin-bottom: 9px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #164b30;
    background: #c9f1d9;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ---------- Manufactory ---------- */
.ks-manufactory {
    background: #fff;
}

.ks-manufactory__panel {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 40px 64px;
    padding: 54px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(245,179,43,.19), transparent 25%),
        linear-gradient(140deg, #17221c, #1f5135 58%, #287149);
    box-shadow: var(--ks-shadow);
}

.ks-manufactory__intro h2,
.ks-final-cta h2 {
    color: #fff;
}

.ks-manufactory__intro p {
    max-width: 620px;
    margin: 17px 0 25px;
    color: rgba(255,255,255,.72);
    line-height: 1.72;
}

.ks-steps {
    counter-reset: steps;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin: 0;
    padding: 0;
}

.ks-steps li {
    position: relative;
    min-height: 208px;
    padding: 22px 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.07);
}

.ks-step__number {
    position: absolute;
    top: 13px;
    right: 14px;
    color: rgba(255,255,255,.29);
    font-family: Montserrat, sans-serif;
    font-size: .76rem;
    font-weight: 800;
}

.ks-step__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.12);
}

.ks-step__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.ks-steps strong,
.ks-steps span:last-child {
    display: block;
}

.ks-steps strong {
    margin-bottom: 7px;
    color: #fff;
    font-size: .9rem;
}

.ks-steps span:last-child {
    color: rgba(255,255,255,.62);
    font-size: .78rem;
    line-height: 1.5;
}

.ks-manufactory__products {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.13);
}

.ks-manufactory__products a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.07);
    transition: background .18s ease, transform .18s ease;
}

.ks-manufactory__products a:hover,
.ks-manufactory__products a:focus {
    color: #fff;
    background: rgba(255,255,255,.12);
    transform: translateY(-2px);
}

.ks-manufactory__products strong,
.ks-manufactory__products small {
    display: block;
}

.ks-manufactory__products strong {
    font-size: .82rem;
}

.ks-manufactory__products small {
    margin-top: 2px;
    color: rgba(255,255,255,.55);
    font-size: .69rem;
}

.ks-mini-icon {
    min-width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 10px;
    color: var(--ks-dark);
    background: var(--ks-yellow);
    font-family: Montserrat, sans-serif;
    font-size: .72rem;
    font-weight: 800;
}

/* ---------- Brands ---------- */
.ks-brands {
    padding-top: 64px;
    padding-bottom: 48px;
    background: var(--ks-bg);
}

.ks-brand-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--ks-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.ks-brand-row a {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-right: 1px solid var(--ks-border);
    color: #3f4752;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    transition: color .18s ease, background .18s ease;
}

.ks-brand-row a:last-child {
    border-right: 0;
}

.ks-brand-row a:hover,
.ks-brand-row a:focus {
    color: var(--ks-green-dark);
    background: var(--ks-green-soft);
}

/* ---------- Existing JTL product sliders ---------- */
.ks-product-intro {
    padding: 56px 0 4px;
    background: #fff;
}

.product-slider-wrapper {
    padding-top: 30px;
    padding-bottom: 34px;
}

.product-slider-wrapper .hr-sect.h2,
.product-slider-wrapper .h2 {
    color: var(--ks-ink, #171b24);
    font-family: Montserrat, "Open Sans", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -.025em;
}

.product-slider-wrapper .productbox-inner {
    border-radius: 15px;
}

/* ---------- Bottom service ---------- */
.ks-home-bottom {
    background: #fff;
}

.ks-service {
    border-top: 1px solid var(--ks-border);
    background: var(--ks-bg);
}

.ks-service__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: 55px;
}

.ks-service__copy p {
    max-width: 690px;
    margin: 16px 0 0;
    color: var(--ks-muted);
    line-height: 1.75;
}

.ks-service__actions {
    margin-top: 25px;
}

.ks-service__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.ks-info-card {
    min-height: 180px;
    padding: 23px;
    border: 1px solid var(--ks-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(23,27,36,.045);
}

.ks-info-card__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 21px;
    border-radius: 12px;
    color: var(--ks-green-dark);
    background: var(--ks-green-soft);
}

.ks-info-card__icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.ks-info-card strong,
.ks-info-card > span:last-child {
    display: block;
}

.ks-info-card strong {
    margin-bottom: 6px;
    color: var(--ks-ink);
    font-size: .91rem;
}

.ks-info-card > span:last-child {
    color: var(--ks-muted);
    font-size: .79rem;
    line-height: 1.55;
}

/* ---------- Final CTA ---------- */
.ks-final-cta {
    padding: 58px 0;
    color: #fff;
    background: var(--ks-dark);
}

.ks-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ks-final-cta h2 {
    max-width: 780px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

/* ---------- Accessibility ---------- */
.ks-home a:focus-visible,
.ks-home button:focus-visible {
    outline: 3px solid #77d5a0;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .ks-home *,
    .ks-home *::before,
    .ks-home *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .ks-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
        gap: 30px;
    }

    .ks-float-card--print {
        left: 4px;
    }

    .ks-float-card--shipping {
        right: 4px;
    }

    .ks-trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ks-trust__item:nth-child(2) {
        border-right: 0;
    }

    .ks-trust__item:nth-child(n+3) {
        border-top: 1px solid var(--ks-border);
    }

    .ks-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ks-category-card--large,
    .ks-category-card--print {
        grid-column: span 1;
    }

    .ks-category-card--large img {
        width: 53%;
    }

    .ks-manufactory__panel {
        grid-template-columns: 1fr;
    }

    .ks-service__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .ks-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 56px;
        padding-bottom: 45px;
    }

    .ks-hero__content {
        max-width: 760px;
    }

    .ks-hero__visual {
        width: min(700px, 100%);
        min-height: 390px;
        margin: 4px auto 0;
    }

    .ks-hero__product {
        min-height: 340px;
    }

    .ks-brand-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .ks-brand-row a:nth-child(3) {
        border-right: 0;
    }

    .ks-brand-row a:nth-child(n+4) {
        border-top: 1px solid var(--ks-border);
    }

    .ks-final-cta__inner {
        display: block;
    }

    .ks-final-cta__actions {
        margin-top: 25px;
    }
}

@media (max-width: 767.98px) {
    .ks-container {
        width: min(100% - 28px, 1320px);
    }

    .ks-hero__grid {
        padding-top: 42px;
    }

    .ks-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.5rem);
    }

    .ks-hero__lead {
        font-size: .98rem;
    }

    .ks-hero__actions {
        align-items: stretch;
    }

    .ks-hero__actions .ks-btn {
        width: 100%;
    }

    .ks-hero__proof {
        display: grid;
        gap: 8px;
    }

    .ks-hero__visual {
        min-height: 330px;
    }

    .ks-hero__product {
        min-height: 290px;
        padding: 26px 20px 49px;
        border-radius: 22px;
    }

    .ks-hero__product-caption {
        left: 16px;
        right: 16px;
    }

    .ks-hero__product-caption span {
        display: none;
    }

    .ks-float-card--shipping {
        top: 7px;
        right: -4px;
    }

    .ks-float-card--print {
        left: -4px;
        bottom: 5px;
    }

    .ks-float-card--print .ks-float-card__thumb {
        display: none;
    }

    .ks-trust__grid {
        grid-template-columns: 1fr;
    }

    .ks-trust__item,
    .ks-trust__item:first-child,
    .ks-trust__item:nth-child(2) {
        border-left: 1px solid var(--ks-border);
        border-right: 1px solid var(--ks-border);
        border-top: 1px solid var(--ks-border);
    }

    .ks-trust__item:first-child {
        border-top: 0;
    }

    .ks-section {
        padding: 55px 0;
    }

    .ks-section-head {
        display: block;
    }

    .ks-section-head .ks-text-link {
        margin-top: 17px;
    }

    .ks-category-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 218px;
    }

    .ks-category-card--large,
    .ks-category-card--print {
        grid-column: auto;
    }

    .ks-category-card__label {
        max-width: 65%;
        font-size: 1.13rem;
    }

    .ks-category-card__copy {
        max-width: 62%;
    }

    .ks-manufactory__panel {
        width: min(100% - 20px, 1320px);
        padding: 35px 22px;
        border-radius: 23px;
    }

    .ks-steps,
    .ks-manufactory__products,
    .ks-service__cards {
        grid-template-columns: 1fr;
    }

    .ks-steps li {
        min-height: 165px;
    }

    .ks-step__icon {
        margin-bottom: 18px;
    }

    .ks-brand-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .ks-brand-row a,
    .ks-brand-row a:nth-child(3) {
        border-right: 1px solid var(--ks-border);
    }

    .ks-brand-row a:nth-child(even) {
        border-right: 0;
    }

    .ks-brand-row a:nth-child(n+3) {
        border-top: 1px solid var(--ks-border);
    }

    .ks-final-cta__actions .ks-btn {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .ks-float-card--shipping {
        display: none;
    }

    .ks-hero__visual {
        min-height: 285px;
    }

    .ks-hero__product {
        min-height: 260px;
    }

    .ks-hero__badge {
        font-size: .66rem;
    }

    .ks-float-card--print {
        bottom: -6px;
    }

    .ks-category-card img,
    .ks-category-card--large img,
    .ks-category-card--print img {
        width: 46%;
    }
}


/* v1.3 category expansion */
.ks-category-card--baseplates .ks-category-card__label,
.ks-category-card--baseplates .ks-category-card__copy {
    max-width: 46%;
}

@media (max-width: 1199.98px) {
    .ks-category-card--baseplates {
        grid-column: span 1;
    }
    .ks-category-card--baseplates img {
        width: 50%;
        height: 72%;
        top: 10%;
    }
    .ks-category-card--baseplates .ks-category-card__label,
    .ks-category-card--baseplates .ks-category-card__copy {
        max-width: 65%;
    }
}

@media (max-width: 767.98px) {
    .ks-category-card--baseplates {
        grid-column: auto;
    }
}

/* ===== v1.4: Individualdruck stärker auf der Startseite ===== */
.ks-btn--print {
    color: #173c28;
    background: #d5f5df;
    border: 1px solid #bde8ca;
    box-shadow: 0 10px 28px rgba(30,104,64,.13);
}
.ks-btn--print:hover,
.ks-btn--print:focus {
    color: #102e1d;
    background: #c5efd2;
    border-color: #a8ddb9;
    transform: translateY(-1px);
}

.ks-hero__print-note {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 565px;
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(30,104,64,.15);
    border-radius: 14px;
    color: var(--ks-ink);
    background: rgba(239,248,243,.86);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ks-hero__print-note:hover,
.ks-hero__print-note:focus {
    color: var(--ks-ink);
    transform: translateY(-2px);
    border-color: rgba(30,104,64,.28);
    box-shadow: 0 12px 30px rgba(30,104,64,.10);
}
.ks-hero__print-note-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: var(--ks-green);
    font-size: 1.15rem;
    font-weight: 800;
}
.ks-hero__print-note > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}
.ks-hero__print-note strong {
    font-size: .86rem;
    line-height: 1.3;
}
.ks-hero__print-note small {
    margin-top: 2px;
    color: var(--ks-muted);
    font-size: .72rem;
    line-height: 1.35;
}
.ks-hero__print-note-arrow {
    font-size: 1.15rem;
    font-weight: 700;
}

.ks-print-feature {
    padding: 34px 0 10px;
}
.ks-print-feature__panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 34px;
    padding: 34px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 14%, rgba(129,225,164,.18), transparent 27%),
        radial-gradient(circle at 96% 0%, rgba(255,255,255,.08), transparent 33%),
        linear-gradient(135deg, #173f29 0%, #1f6d46 54%, #2a8053 100%);
    box-shadow: 0 22px 60px rgba(20,60,39,.16);
}
.ks-print-feature__intro {
    position: relative;
    z-index: 2;
    align-self: center;
}
.ks-print-feature__intro h2 {
    margin: 9px 0 14px;
    max-width: 630px;
    color: #fff;
    font-family: Montserrat, "Open Sans", Arial, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
}
.ks-print-feature__intro p {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,.80);
    font-size: .98rem;
    line-height: 1.7;
}
.ks-print-feature__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.ks-print-feature__text-link {
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.ks-print-feature__text-link:hover,
.ks-print-feature__text-link:focus { color: #d8f5e3; }
.ks-print-feature__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.ks-print-feature__benefits span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.07);
    font-size: .69rem;
    font-weight: 700;
}
.ks-print-feature__footnote {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.53);
    font-size: .65rem;
}
.ks-print-feature__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    align-content: center;
}
.ks-print-feature__card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    color: #fff;
    background: rgba(255,255,255,.09);
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ks-print-feature__card:hover,
.ks-print-feature__card:focus {
    color: #fff;
    transform: translateY(-3px);
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.27);
}
.ks-print-feature__card--wide { grid-column: span 2; min-height: 220px; }
.ks-print-feature__card-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 16px 10px 40%;
}
.ks-print-feature__card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 13px 18px rgba(0,0,0,.12));
    transition: transform .25s ease;
}
.ks-print-feature__card:hover img { transform: scale(1.035); }
.ks-print-feature__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18,56,36,.95) 0%, rgba(18,56,36,.82) 43%, rgba(18,56,36,.12) 82%);
    pointer-events: none;
}
.ks-print-feature__card-copy,
.ks-print-feature__card-arrow {
    position: relative;
    z-index: 2;
}
.ks-print-feature__card-copy {
    display: flex;
    max-width: 58%;
    flex-direction: column;
}
.ks-print-feature__card-copy small {
    margin-bottom: 4px;
    color: #bfeccc;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ks-print-feature__card-copy strong {
    color: #fff;
    font-family: Montserrat, "Open Sans", Arial, sans-serif;
    font-size: 1.12rem;
    line-height: 1.2;
}
.ks-print-feature__card-copy span {
    margin-top: 5px;
    color: rgba(255,255,255,.69);
    font-size: .74rem;
    line-height: 1.4;
}
.ks-print-feature__card-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #19482e;
    background: #fff;
    font-weight: 800;
}
.ks-print-feature__quicklinks {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,.16);
}
.ks-print-feature__quicklinks a {
    display: flex;
    flex-direction: column;
    min-height: 70px;
    justify-content: center;
    padding: 12px 15px;
    color: #fff;
    background: rgba(15,52,33,.62);
    text-decoration: none;
    transition: background .2s ease;
}
.ks-print-feature__quicklinks a:hover,
.ks-print-feature__quicklinks a:focus { color:#fff; background: rgba(12,43,27,.82); }
.ks-print-feature__quicklinks strong { font-size: .78rem; }
.ks-print-feature__quicklinks span { margin-top: 2px; color: rgba(255,255,255,.62); font-size: .67rem; }

/* Sechs statt drei Manufaktur-Einstiege, ohne den bisherigen Bereich umzubauen */
.ks-manufactory__products { grid-template-columns: repeat(3, minmax(0,1fr)); }

@media (max-width: 991.98px) {
    .ks-print-feature__panel { grid-template-columns: 1fr; }
    .ks-print-feature__cards { max-width: none; }
    .ks-print-feature__quicklinks { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    .ks-print-feature { padding-top: 22px; }
    .ks-print-feature__panel { padding: 24px 18px; border-radius: 22px; }
    .ks-print-feature__cards { grid-template-columns: 1fr; }
    .ks-print-feature__card--wide { grid-column: auto; }
    .ks-print-feature__card { min-height: 170px; }
    .ks-print-feature__card-image { padding-left: 43%; }
    .ks-print-feature__card-copy { max-width: 62%; }
    .ks-print-feature__quicklinks { grid-template-columns: 1fr 1fr; }
    .ks-manufactory__products { grid-template-columns: 1fr; }
}
@media (max-width: 479.98px) {
    .ks-hero__print-note { align-items: flex-start; }
    .ks-hero__print-note-arrow { display: none; }
    .ks-print-feature__actions .ks-btn { width: 100%; justify-content: center; }
    .ks-print-feature__quicklinks { grid-template-columns: 1fr; }
}
