/* KogniLink Plattformseite (kn-*). Ergänzt styles.css, eingebunden pro Seite. */
.kn-page { color: var(--ink, #122139); overflow-wrap: break-word; overflow-x: clip; }
.kn-page *, .kn-page *::before, .kn-page *::after { box-sizing: border-box; }
:where(.kn-page) :is(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.kn-page) :is(ul, ol) { list-style: none; padding: 0; }
.kn-page h1, .kn-page h2, .kn-page h3 { font-weight: 500; text-wrap: balance; }
.kn-page h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.045em; }
.kn-page h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.kn-page a:focus-visible, .kn-page button:focus-visible { outline: 3px solid #efb74c; outline-offset: 4px; }
.kn-page section[id] { scroll-margin-top: 24px; }
.kn-section { padding-block: clamp(72px, 9vw, 128px); }
.kn-eyebrow { color: var(--blue, #2455f4); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px !important; }
.kn-eyebrow.light { color: var(--sky, #a4bcff); }
.kn-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.kn-head h2 { max-width: 18ch; }
.kn-head-center { flex-direction: column; align-items: center; text-align: center; }
.kn-head-center h2 { max-width: 22ch; }
.kn-head-center p:last-child { max-width: 62ch; color: var(--muted, #536174); font-size: 17px; line-height: 1.7; }
.kn-more { color: var(--blue, #2455f4); font-size: 14px; font-weight: 600; white-space: nowrap; }
.kn-more:hover span { margin-left: 4px; }

/* Hero */
.kn-hero { position: relative; background: #0a1527; color: #fff; padding-block: clamp(48px, 5.5vw, 80px); isolation: isolate; }
.kn-hero-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden;
    background:
        radial-gradient(60% 55% at 50% 100%, #2455f466, transparent 70%),
        radial-gradient(40% 40% at 85% 10%, #7a5cff33, transparent 70%),
        radial-gradient(35% 35% at 10% 30%, #2455f433, transparent 70%);
}
.kn-hero-glow::before { content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
}
.kn-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.kn-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid #ffffff26; border-radius: 99px; background: #ffffff0d; color: #c6d0df; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kn-pill span { width: 7px; height: 7px; border-radius: 50%; background: #5ee3a1; box-shadow: 0 0 0 4px #5ee3a126; }
.kn-hero h1 { margin-top: 24px; font-size: clamp(38px, 5vw, 68px); line-height: 1.1; letter-spacing: -.055em; max-width: 1080px; }
.kn-hero h1 span { display: block; }
.kn-hero h1 span { color: var(--blue, #2455f4); }
.kn-lead { margin-top: 26px; color: #c6d0df; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 46ch; }
.kn-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.kn-actions .button { min-height: 52px; }
.kn-ghost { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; padding: 15px 22px; border: 1px solid #ffffff40; border-radius: 4px; color: #fff; font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s; }
.kn-ghost:hover { background: #ffffff14; border-color: #ffffff80; }
.kn-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; color: #b6c5da; font-size: 13px; }
.kn-trust li { display: flex; align-items: center; gap: 8px; }
.kn-trust li::before { content: ""; width: 14px; height: 8px; margin-top: -4px; border: solid #5ee3a1; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Ergebnisse */
.kn-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kn-result { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 26px 24px 24px; border: 1px solid var(--line, #dce1e8); border-radius: 12px; background: #fff; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.kn-result::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #2455f4, #a4bcff); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.kn-result:hover { transform: translateY(-4px); border-color: #c4cfe3; box-shadow: 0 24px 48px #10203914; }
.kn-result:hover::before { transform: scaleX(1); }
.kn-result-tag { color: var(--blue, #2455f4); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kn-result-task { margin-top: 14px; color: var(--muted, #536174); font-size: 15px; line-height: 1.55; }
.kn-result-metric { margin-top: auto; padding-top: 28px; color: var(--muted, #536174); font-size: 14px; line-height: 1.5; }
.kn-result-metric strong { display: block; margin-bottom: 8px; color: var(--navy, #102039); font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.kn-result-link { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line, #dce1e8); color: var(--blue, #2455f4); font-size: 13px; font-weight: 600; }

/* Manifest */
.kn-manifest { position: relative; background: #0a1527; color: #fff; padding-block: clamp(96px, 12vw, 168px); text-align: center; overflow: hidden; isolation: isolate; }
.kn-manifest::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, #2455f440, transparent 70%); }
.kn-manifest-inner { display: flex; flex-direction: column; align-items: center; }
.kn-manifest-quote { max-width: 26ch; font-size: clamp(30px, 4vw, 56px); font-style: italic; line-height: 1.18; letter-spacing: -.035em; color: #a4bcff; text-wrap: balance; }
.kn-manifest h2 { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(28px, 3vw, 40px); }
.kn-manifest-lead { margin-top: 18px; max-width: 46ch; color: #dbe3ef; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; }
.kn-manifest-lead strong { color: #fff; }
.kn-manifest-body { margin-top: 28px; max-width: 60ch; color: #9fb0c8; font-size: 15px; line-height: 1.75; }
.kn-flow { display: grid; grid-template-columns: 1fr 64px 1.2fr 64px 1fr; align-items: center; width: min(920px, 100%); margin-top: 64px; text-align: left; }
.kn-flow-node { padding: 20px 22px; border: 1px solid #ffffff1f; border-radius: 12px; background: #ffffff08; color: #9fb0c8; font-size: 13px; line-height: 1.5; }
.kn-flow-node span { display: block; margin-bottom: 4px; color: #fff; font-size: 16px; font-weight: 600; }
.kn-flow-node.is-core { border-color: #2455f4; background: linear-gradient(135deg, #2455f4, #1a3fb8); color: #dbe5ff; box-shadow: 0 0 0 6px #2455f41f, 0 24px 60px #2455f440; }
.kn-flow-line { height: 2px; background: linear-gradient(90deg, #ffffff10, #a4bcff, #ffffff10); background-size: 200% 100%; animation: kn-flow 2.4s linear infinite; }
@keyframes kn-flow { to { background-position: -200% 0; } }

/* Plattform */
.kn-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.kn-steps li { padding: 28px 26px; border-top: 2px solid var(--blue, #2455f4); background: var(--pale, #f2f5fa); border-radius: 0 0 12px 12px; }
.kn-steps span { color: var(--blue, #2455f4); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kn-steps h3 { margin-top: 12px; }
.kn-steps p { margin-top: 10px; color: var(--muted, #536174); font-size: 15px; line-height: 1.65; }
.kn-showcase { margin-top: 72px; padding: clamp(20px, 3vw, 40px); border-radius: 20px; background: radial-gradient(70% 80% at 50% 0%, #2455f42e, transparent 70%), #0a1527; }
.kn-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 5px; border: 1px solid #ffffff1f; border-radius: 99px; background: #ffffff0a; }
.kn-tabs button { min-height: 40px; padding: 8px 18px; border: 0; border-radius: 99px; background: transparent; color: #b6c5da; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.kn-tabs button:hover { color: #fff; }
.kn-tabs button[aria-selected="true"] { background: #fff; color: var(--navy, #102039); }
.kn-panel img { display: block; width: 100%; max-width: 1080px; height: auto; margin: 0 auto; }
#kn-panel-1 img { max-width: 760px; border-radius: 12px; }
.kn-panel figcaption { max-width: 64ch; margin: 24px auto 0; color: #b6c5da; font-size: 15px; line-height: 1.65; text-align: center; }

/* Module */
.kn-modules { background: var(--pale, #f2f5fa); }
.kn-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kn-module { display: flex; flex-direction: column; padding: 30px 28px 26px; border: 1px solid var(--line, #dce1e8); border-radius: 12px; background: #fff; color: inherit; transition: transform .25s, box-shadow .25s; }
.kn-module:hover { transform: translateY(-4px); box-shadow: 0 24px 48px #10203914; }
.kn-module-label { color: var(--muted, #536174); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.kn-module h3 { margin-top: 10px; font-size: 26px; letter-spacing: -.035em; }
.kn-module p { margin-top: 12px; color: var(--muted, #536174); font-size: 15px; line-height: 1.65; }
.kn-module ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.kn-module li { padding: 6px 12px; border-radius: 99px; background: #edf2ff; color: #1a3fb8; font-size: 12px; font-weight: 600; }
.kn-module-link { margin-top: auto; padding-top: 26px; color: var(--blue, #2455f4); font-size: 13px; font-weight: 600; }
.kn-base { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 16px; padding: 22px 28px; border-radius: 12px; background: var(--navy, #102039); color: #fff; }
.kn-base-title { color: #fff; font-size: 16px; font-weight: 600; }
.kn-base ul { display: flex; flex-wrap: wrap; gap: 8px 28px; color: #c6d0df; font-size: 14px; }
.kn-base li { display: flex; align-items: center; gap: 10px; }
.kn-base li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky, #a4bcff); }
.kn-infra { margin-top: 16px !important; padding: 18px 28px; border: 1px dashed #b9c4d6; border-radius: 12px; color: var(--ink, #122139); font-size: 15px; font-weight: 600; }
.kn-infra span { margin-left: 16px; color: var(--muted, #536174); font-weight: 400; }

/* Durchschnittskunde */
.kn-average h2 { max-width: 26ch; }
.kn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line, #dce1e8); }
.kn-stats > div { padding: 32px 28px 8px 0; }
.kn-stats > div + div { padding-left: 28px; border-left: 1px solid var(--line, #dce1e8); }
.kn-stats dt { color: var(--blue, #2455f4); font-size: clamp(30px, 3vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.kn-stats dd { margin-top: 12px; color: var(--muted, #536174); font-size: 15px; line-height: 1.6; }

/* Kundenstimmen */
.kn-voices { padding-top: 0; }
.kn-voice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.kn-voice { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); border-radius: 16px; background: var(--pale, #f2f5fa); }
.kn-voice > img { height: 30px; width: auto; max-width: 180px; object-fit: contain; object-position: left; }
.kn-voice blockquote { margin-top: 28px; }
.kn-voice blockquote p { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; letter-spacing: -.02em; color: var(--navy, #102039); }
.kn-voice figcaption { margin-top: 24px; color: var(--muted, #536174); font-size: 14px; line-height: 1.5; }
.kn-voice figcaption strong { display: block; color: var(--ink, #122139); }
.kn-voice a { margin-top: auto; padding-top: 24px; color: var(--blue, #2455f4); font-size: 13px; font-weight: 600; }

/* Sicherheit */
.kn-security { background: #0a1527; color: #fff; }
.kn-security-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.kn-security-copy > p:not(.kn-eyebrow) { margin-top: 22px; color: #b6c5da; font-size: 17px; line-height: 1.7; }
.kn-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.kn-badges li { padding: 8px 14px; border: 1px solid #ffffff2e; border-radius: 99px; color: #dbe3ef; font-size: 13px; font-weight: 600; }
.kn-security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid #ffffff1a; border-radius: 16px; background: #ffffff1a; overflow: hidden; }
.kn-security-grid li { padding: 28px 26px; background: #0d1a30; }
.kn-security-grid h3 { font-size: 17px; }
.kn-security-grid p { margin-top: 10px; color: #9fb0c8; font-size: 14px; line-height: 1.65; }

/* CTA */
.kn-cta { padding-block: clamp(56px, 7vw, 96px); background: linear-gradient(120deg, #1a3fb8, #2455f4 55%, #5b7cff); color: #fff; }
.kn-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.kn-cta h2 { max-width: 20ch; }
.kn-cta p { margin-top: 18px; max-width: 52ch; color: #dbe5ff; font-size: 17px; line-height: 1.65; }
.kn-button-light { margin-top: 30px; min-height: 52px; background: #fff; color: var(--navy, #102039); }
.kn-button-light:hover { background: #e8eeff; }
.kn-cta img { display: block; width: 220px; height: 220px; object-fit: cover; object-position: top; border-radius: 50%; border: 4px solid #ffffff40; }

@media (max-width: 1100px) {
    .kn-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kn-result { min-height: 300px; }
    .kn-module-grid { grid-template-columns: 1fr; }
    .kn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kn-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .kn-security-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .kn-hero h1 { letter-spacing: -.045em; }
    .kn-actions { width: 100%; }
    .kn-actions > * { flex: 1 1 100%; justify-content: space-between; }
    .kn-trust { flex-direction: column; align-items: flex-start; text-align: left; }
    .kn-result-grid, .kn-steps, .kn-voice-grid, .kn-security-grid { grid-template-columns: 1fr; }
    .kn-result { min-height: 0; }
    .kn-flow { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
    .kn-flow-line { width: 2px; height: 28px; margin: 0 auto; background: linear-gradient(#ffffff10, #a4bcff, #ffffff10); animation: none; }
    .kn-stats { grid-template-columns: 1fr; }
    .kn-stats > div, .kn-stats > div + div { padding: 24px 0 0; border-left: 0; }
    .kn-tabs { border-radius: 14px; }
    .kn-tabs button { flex: 1 1 auto; }
    .kn-infra span { display: block; margin: 6px 0 0; }
    .kn-cta-inner { grid-template-columns: 1fr; }
    .kn-cta img { grid-row: 1; width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    .kn-flow-line { animation: none; }
    .kn-result, .kn-module { transition: none; }
}
.kn-nowrap { white-space: nowrap; }

/* Referenz-Kennzeichnung und Szenario-CTA */
.kn-result-ref { display: block; margin-bottom: 10px; color: #8290a1; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kn-module-cta { background: var(--navy, #102039); border-color: var(--navy, #102039); color: #fff; }
.kn-module-cta .kn-module-label { color: var(--sky, #a4bcff); }
.kn-module-cta p { color: #c6d0df; }
.kn-module-cta .kn-module-link { color: #fff; }
@media (max-width: 1100px) and (min-width: 761px) {
    .kn-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#kn-panel-2 img, #kn-panel-3 img { border-radius: 12px; }
.kn-results { padding-top: clamp(56px, 6vw, 88px); }
.kn-result-ref { display: flex; align-items: center; gap: 10px; min-height: 22px; }
.kn-result-logos { display: flex; align-items: center; gap: 10px; }
.kn-result-logos img { display: block; height: 18px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.kn-result-logos img[src$="ccbuchner.png"] { height: 28px; }
.kn-voice > img.kn-voice-logo-square { height: 44px; }

/* Hero füllt den ersten Bildschirm, damit der Falz nicht mitten durch die Ergebnisse schneidet (wie auf der Startseite). */
.kn-hero { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 88px); min-height: calc(100svh - 88px); }
@media (max-width: 760px) {
    .kn-hero { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }
}
