/* =========================================================================
   Autos-Band auf der Startseite (.kxs) — Inhaber 12.11.2026
   Vorbild licenseplate.ae: links ein Handy auf Mintgrund mit unserer echten
   Autoseite darin (Hero-Foto von /cars, Suchkarte, Typ-Kacheln), rechts
   Ueberschrift, drei Haken, zwei Knoepfe. Das Handy ist komplett aus HTML/CSS
   gebaut (kein Screenshot): scharf in jeder Groesse, uebersetzbar, RTL-faehig.
   Eigenes Praefix .kxs- (vorher gegreppt; .ksc gehoert dem alten Band).
   ========================================================================= */

.kxs {
    --kxs-g: #006C35; --kxs-g-d: #005a2c; --kxs-ink: #18181b; --kxs-ink-2: #52525b;
    --kxs-mint: #e7f4ec; --kxs-mint-2: #d3ecdd; --kxs-line: #e4e4e7;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border: 1px solid var(--kxs-line); border-radius: 28px; overflow: hidden;
    background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 48px -28px rgba(0,60,30,.25);
}

/* ---------------------------------------------------------------- Bildseite */
.kxs-vis {
    position: relative; min-height: 500px; overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 105%, rgba(0,108,53,.22) 0%, rgba(0,108,53,0) 60%),
        radial-gradient(60% 55% at 85% 10%, #fff 0%, rgba(255,255,255,0) 70%),
        linear-gradient(160deg, var(--kxs-mint) 0%, var(--kxs-mint-2) 100%);
}
.kxs-pill {
    position: absolute; z-index: 3; inset-block-start: 26px; inset-inline-start: 26px;
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
    background: #fff; color: var(--kxs-g); font-size: 14px; font-weight: 800;
    box-shadow: 0 6px 18px -8px rgba(0,60,30,.35);
}
.kxs-pill i { font-size: 12px; }

/* Das Handy: unten aus dem Bild geschnitten, wie ein Geraet, das man haelt. */
.kxs-phone {
    /* Von OBEN ausgerichtet: der Fuss des Geraets laeuft unten aus dem Bild,
       die Statusleiste bleibt immer sichtbar -- egal wie hoch die Textseite wird. */
    position: absolute; inset-inline-start: 50%; inset-block-start: 64px; z-index: 2;
    width: 300px; height: 590px; transform: translateX(-50%);
    padding: 11px; border-radius: 48px; background: #121212;
    box-shadow:
        inset 0 0 0 2px #2b2b2b, inset 0 0 0 4px #0a0a0a,
        0 40px 70px -30px rgba(0,40,20,.55), 0 14px 30px -18px rgba(0,0,0,.45);
    display: block; text-decoration: none; color: inherit;
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
[dir="rtl"] .kxs-phone { transform: translateX(50%); }
.kxs-phone:hover { transform: translateX(-50%) translateY(-8px); }
[dir="rtl"] .kxs-phone:hover { transform: translateX(50%) translateY(-8px); }
.kxs-phone:focus-visible { outline: 3px solid var(--kxs-g); outline-offset: 6px; }
.kxs-phone::before { /* Seitentasten */
    content: ""; position: absolute; inset-inline-end: -3px; inset-block-start: 140px;
    width: 3px; height: 64px; border-radius: 2px; background: #1d1d1d;
}
.kxs-scr {
    position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #f4f5f4;
    display: flex; flex-direction: column;
}
.kxs-isl { position: absolute; z-index: 4; inset-block-start: 9px; left: 50%; transform: translateX(-50%);
    width: 92px; height: 26px; border-radius: 20px; background: #0b0b0b; }
.kxs-bar { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between;
    padding: 0 22px 0 26px; font: 700 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; color: #111; background: #fff; direction: ltr; }
.kxs-bar svg { display: block; }
.kxs-bar-ico { display: flex; align-items: center; gap: 5px; }
.kxs-head { height: 42px; flex: none; display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; background: #fff; border-bottom: 1px solid #eef0ee; }
.kxs-logo { font-size: 15px; font-weight: 900; color: var(--kxs-g); letter-spacing: -.01em; direction: ltr; }
.kxs-logo span { color: #a1a1aa; font-weight: 400; }
.kxs-burger { display: grid; gap: 3px; }
.kxs-burger i { display: block; width: 16px; height: 2px; border-radius: 2px; background: #3f3f46; }

.kxs-hero { position: relative; height: 188px; flex: none; }
.kxs-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%; display: block; }
.kxs-hero::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.62) 100%); }
.kxs-hero-t { position: absolute; z-index: 2; inset-inline: 14px; inset-block-end: 36px; color: #fff; }
.kxs-hero-h { font-size: 21px; line-height: 1.12; font-weight: 900; letter-spacing: -.015em; margin: 0 0 4px; }
.kxs-hero-p { font-size: 10.5px; line-height: 1.4; opacity: .9; margin: 0; }

.kxs-card { position: relative; z-index: 3; margin: -26px 10px 0; padding: 11px 11px 12px; border-radius: 14px;
    background: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); }
.kxs-card-h { font-size: 11.5px; line-height: 1.3; font-weight: 800; color: var(--kxs-ink); margin: 0 0 8px; text-align: center; }
.kxs-in { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 9px 4px;
    border: 1px solid #e4e4e7; border-radius: 10px; color: #a1a1aa; font-size: 10.5px; }
.kxs-in svg { flex: none; }
.kxs-in span { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kxs-go { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
    background: var(--kxs-g); color: #fff; }
[dir="rtl"] .kxs-go svg { transform: scaleX(-1); }

.kxs-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 10px 0; }
.kxs-type { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 12px -8px rgba(0,0,0,.3); }
.kxs-type img { width: 100%; height: 66px; object-fit: cover; display: block; }
.kxs-type b { display: block; padding: 6px 8px 7px; font-size: 10.5px; font-weight: 800; color: var(--kxs-ink); }

/* ---------------------------------------------------------------- Textseite */
.kxs-txt { padding: 56px 56px 52px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.kxs-eye { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--kxs-g); font-size: 14px; font-weight: 800; }
.kxs-h { margin: 0; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em;
    color: var(--kxs-ink); text-wrap: balance; }
.kxs-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kxs-checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 1.35; color: #27272a; }
.kxs-tick { flex: none; width: 28px; height: 28px; border-radius: 999px; background: #1f9d55; color: #fff;
    display: grid; place-items: center; font-size: 12px; box-shadow: 0 4px 10px -4px rgba(31,157,85,.6); }
.kxs-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.kxs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
    border-radius: 14px; font-size: 17px; font-weight: 800; text-decoration: none; transition: background-color .15s, border-color .15s, transform .15s; }
.kxs-btn:hover { transform: translateY(-1px); }
.kxs-btn:focus-visible { outline: 3px solid var(--kxs-g); outline-offset: 3px; }
.kxs-btn--go { background: var(--kxs-g); color: #fff; box-shadow: 0 10px 22px -12px rgba(0,108,53,.8); }
.kxs-btn--go:hover { background: var(--kxs-g-d); color: #fff; }
[dir="rtl"] .kxs-btn--go i { transform: scaleX(-1); }
.kxs-btn--line { background: #fff; color: var(--kxs-ink); border: 1.5px solid #d4d4d8; }
.kxs-btn--line:hover { border-color: var(--kxs-g); color: var(--kxs-g); }
.kxs-fuss { margin: 0; font-size: 13.5px; line-height: 1.5; color: #71717a; }

/* ---------------------------------------------------------------- Tablet / Handy */
@media (max-width: 1023px) {
    .kxs-txt { padding: 40px 36px; }
    .kxs-checks li { font-size: 16px; }
}
@media (max-width: 767px) {
    .kxs { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
    .kxs-vis { min-height: 380px; }
    .kxs-pill { inset-block-start: 16px; inset-inline-start: 16px; padding: 7px 13px; font-size: 13px; }
    .kxs-phone { width: 236px; height: 470px; inset-block-start: 60px; padding: 9px; border-radius: 40px; }
    .kxs-scr { border-radius: 32px; }
    .kxs-hero { height: 150px; }
    .kxs-hero-h { font-size: 17px; }
    .kxs-txt { padding: 28px 20px 26px; gap: 18px; }
    .kxs-h { font-size: 27px; }
    .kxs-checks { gap: 11px; }
    .kxs-checks li { font-size: 15.5px; }
    .kxs-tick { width: 24px; height: 24px; font-size: 11px; }
    .kxs-act { flex-direction: column; gap: 10px; }
    .kxs-btn { width: 100%; min-height: 52px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .kxs-phone, .kxs-btn { transition: none; }
    .kxs-phone:hover { transform: translateX(-50%); }
    [dir="rtl"] .kxs-phone:hover { transform: translateX(50%); }
    .kxs-btn:hover { transform: none; }
}
