/* LotseLogik 1.2: consolidated site styles, system fonts; no external font requests. */

/* ===== systems-tinkerer.css (preserved rule order) ===== */
/* === Systems Tinkerer / LotseLogik style === */

:root {
    --bg: #ffffff;
    --panel: #ffffff;
    --panel-raised: #f6f8fb;
    --text: #172334;
    --muted: #5c6879;
    --green: #2f65a7;
    --green-soft: rgba(47, 101, 167, 0.075);
    --border: rgba(47, 101, 167, 0.22);
    --border-soft: rgba(23, 35, 52, 0.11);
    --curtain: #07111f;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: ui-monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.68;
}

body.has-intro {
    overflow: hidden;
}

html.intro-skip body.has-intro {
    overflow: auto;
}

html.intro-skip body.has-intro main {
    opacity: 1;
}

html.intro-skip #boot-intro {
    display: none;
}

a {
    color: var(--green);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Header navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    width: 100%;
    background: rgba(9, 20, 17, 0.92);
    border-bottom: 1px solid rgba(92, 159, 235, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.top-nav {
    width: min(1240px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    padding: 10px 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.site-header:not(.has-section-menu) .top-nav {
    grid-template-columns: minmax(0, 1fr) auto;
}

.site-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: var(--text);
    font-family: var(--sans);
    text-decoration: none;
}

.site-wordmark-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.site-wordmark-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(0.94) contrast(1.02);
}

.site-wordmark:hover,
.site-wordmark:focus-visible {
    color: var(--text);
}

.site-wordmark-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-wordmark-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-wordmark-tagline {
    display: block;
    color: var(--muted);
    font-size: 0.53rem;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-wordmark-separator,
.site-wordmark-domain {
    color: var(--green);
}

.section-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-width: 0;
    font-family: var(--sans);
    font-size: 0.70rem;
    letter-spacing: 0.05em;
}

.section-nav a,
.section-nav .section-nav-replay {
    padding: 7px 8px;
    border-radius: 7px;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav .section-nav-replay:hover,
.section-nav .section-nav-replay:focus-visible {
    color: var(--green);
    background: var(--green-soft);
}

.section-nav .section-nav-top {
    color: var(--green);
}

.section-nav .section-nav-replay {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    color: var(--green);
}

.language-switch {
    display: inline-flex;
    font-family: var(--sans);
    align-items: center;
    gap: 0;
    padding: 3px;
    color: var(--muted);
    background: rgba(13, 23, 19, 0.78);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(92, 159, 235, 0.03), 0 0 18px rgba(92, 159, 235, 0.055);
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.language-switch a {
    min-width: 52px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--muted);
    text-align: center;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.language-switch a:hover {
    color: var(--green);
    background: var(--green-soft);
}

.language-switch a.is-active {
    color: var(--bg);
    background: var(--green);
    box-shadow: 0 0 14px rgba(92, 159, 235, 0.16);
    font-weight: 800;
}

.language-switch span {
    color: var(--border);
    padding: 0 2px;
}

/* Main page layout */
main {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 32px;
}

body.has-intro main {
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* Systems emblem */
.systems-emblem {
    display: flex;
    justify-content: center;
    margin: 18px auto 22px;
}

.systems-emblem img {
    width: min(220px, 48vw);
    height: auto;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 0 18px rgba(0, 255, 127, 0.22));
}

.portrait-emblem img {
    filter: drop-shadow(0 0 18px rgba(0, 255, 127, 0.18));
}

/* Typography */
.hero-identity {
    margin: 0 auto 10px;
    font-family: var(--mono);
    color: var(--muted);
    font-size: clamp(0.72rem, 1.8vw, 0.88rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.hero-identity span {
    color: var(--green);
}

h1 {
    margin: 0 0 24px;
    color: var(--text);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.04em;
}

h1 span {
    display: block;
    color: var(--muted);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: normal;
    letter-spacing: 0;
    margin-top: 12px;
}

h2 {
    color: var(--text);
    font-size: 1.35rem;
    text-align: center;
    margin: 0 0 8px;
}

p {
    margin: 0 0 1.2rem;
}

ul {
    margin: 0 0 1.2rem 1.2rem;
    padding: 0;
}

li {
    margin: 0.35rem 0;
}

/* Intro */
.intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.05rem;
}

.intro strong {
    color: var(--green);
}

/* Sections */
.project-section,
.archive-section,
.ability-section,
.contact-section {
    margin: 42px 0;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
}

/* Cards */
.ability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 36px 0;
}

.ability-box {
    display: block;
    min-height: 160px;
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    color: var(--text);
}

.ability-box strong {
    display: block;
    color: var(--green);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.ability-box p {
    margin: 0;
    color: var(--text);
}

/* Archive callout */
.archive-note {
    max-width: 820px;
    margin: 28px auto 0;
    padding: 22px;
    background: var(--green-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
    color: var(--text);
}

.archive-link {
    text-align: center;
    margin: 28px auto 0;
}

.archive-link a,
.lotse-button {
    display: inline-block;
    border: 1px solid var(--green);
    border-radius: 8px;
    padding: 12px 18px;
    color: var(--green);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.archive-link a:hover,
.lotse-button:hover {
    background: var(--green);
    color: #07182d;
    transform: translateY(-1px);
}

.archive-language-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

/* system-uiactive terminal launcher */
.terminal-launch {
    max-width: 820px;
    font-family: var(--mono);
    margin: 34px auto 0;
    padding: 0 24px 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 0%, rgba(0, 255, 127, 0.09), transparent 34%),
        #080d10;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.terminal-launch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 -24px 22px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid var(--border-soft);
    color: var(--muted);
    font-size: 0.82rem;
}

.terminal-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    white-space: nowrap;
}

.terminal-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.7);
}

.terminal-launch > p {
    max-width: 660px;
    margin: 0 auto 18px;
    text-align: center;
    color: var(--muted);
}

.terminal-launch .terminal-instruction {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 0.92rem;
}

.terminal-instruction code,
.terminal-feedback code {
    color: var(--green);
    font: inherit;
}

.terminal-command-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 690px;
    margin: 0 auto;
}

.terminal-command {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 15px 17px;
    overflow-x: auto;
    background: #030607;
    border: 1px solid rgba(0, 255, 127, 0.18);
    border-radius: 9px;
    color: var(--text);
    scrollbar-width: thin;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.terminal-command:focus-within {
    border-color: rgba(0, 255, 127, 0.62);
    box-shadow: 0 0 0 3px rgba(0, 255, 127, 0.08);
}

.terminal-prompt {
    flex: 0 0 auto;
    color: var(--muted);
    white-space: nowrap;
}

.terminal-command-input {
    flex: 1 0 110px;
    min-width: 110px;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--green);
    font: inherit;
    caret-color: var(--green);
}

.terminal-command-input::placeholder {
    color: rgba(0, 255, 127, 0.35);
    opacity: 1;
}

.terminal-cursor {
    flex: 0 0 auto;
    width: 8px;
    height: 1.05em;
    background: var(--green);
    animation: terminal-blink 1s steps(1, end) infinite;
}

.terminal-command:focus-within .terminal-cursor {
    display: none;
}

.terminal-launch-button {
    flex: 0 0 auto;
    padding: 11px 18px;
    background: transparent;
    border: 1px solid var(--green);
    border-radius: 8px;
    color: var(--green);
    cursor: pointer;
    font: inherit;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.terminal-launch-button:hover,
.terminal-launch-button:focus-visible {
    background: var(--green);
    color: #07182d;
    transform: translateY(-1px);
}

.terminal-feedback {
    min-height: 1.4em;
    margin: 11px auto 0 !important;
    color: var(--muted) !important;
    font-size: 0.82rem;
}

.terminal-feedback.is-success {
    color: var(--green) !important;
}

.terminal-feedback.is-error {
    color: #ff8e8e !important;
}

.terminal-command.is-error {
    border-color: rgba(255, 99, 99, 0.75);
    animation: terminal-shake 0.24s ease-in-out;
}

.terminal-launch .terminal-language-note {
    margin: 7px auto 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes terminal-blink {
    0%, 48% { opacity: 1; }
    49%, 100% { opacity: 0; }
}

@keyframes terminal-shake {
    0%, 100% { transform: translateX(0); }
    35% { transform: translateX(-4px); }
    70% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .terminal-cursor,
    .terminal-command.is-error {
        animation: none;
    }
}

/* Highlight section */
.highlight-box {
    background: var(--green-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin: 38px 0 30px;
    text-align: center;
}

.highlight-box strong {
    color: var(--green);
}

.closing {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

/* Contact section */
.contact-section {
    margin-top: 48px;
    margin-bottom: 42px;
}

.email-contact,
.legal-panel {
    max-width: 820px;
    margin: 30px auto;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}

.legal-panel h2 {
    text-align: left;
    margin-top: 2rem;
}

.legal-panel h2:first-child {
    margin-top: 0;
}

.email-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.email-contact span {
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 920px;
    margin: 30px auto;
}

.contact-methods .email-contact {
    max-width: none;
    margin: 0;
    height: 100%;
}

.email-contact small {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.whatsapp-contact {
    border-color: rgba(92, 159, 235, 0.22);
}

.whatsapp-btn {
    border-color: rgba(92, 159, 235, 0.65);
}

/* Footer hint */
.hint {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Shared button style */
.startBtn {
    appearance: none;
    font-family: var(--sans);
    border: 1px solid var(--green);
    background: transparent;
    color: var(--green);
    border-radius: 8px;
    padding: 12px 20px;
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.startBtn:hover {
    background: var(--green);
    color: #07182d;
    transform: translateY(-1px);
}

/* Footer menu */
.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 26px auto 14px;
    text-align: center;
}

.footer-menu a,
.footer-menu .footer-link {
    font-family: var(--sans);
    color: var(--green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.15s ease;
}

.footer-menu a:hover,
.footer-menu .footer-link:hover {
    color: var(--green);
    text-decoration: none;
    opacity: 0.78;
}

.footer-link-external span {
    display: inline-block;
    margin-left: 2px;
    font-size: 0.8em;
    transition: transform 0.15s ease;
}

.footer-link-external:hover span,
.footer-link-external:focus-visible span {
    transform: translate(1px, -1px);
}

.footer-location {
    margin: 8px auto 0;
    text-align: center;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
}

.copyright {
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 8px;
}

/* Back to top */
.back-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    margin: 28px auto 14px;
    border: 1px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.back-to-top:hover {
    background: var(--green);
    color: #07182d;
    transform: translateY(-2px);
}

/* Simulated console-login intro */
#boot-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 14%, rgba(92, 159, 235, 0.08), transparent 38rem),
        linear-gradient(180deg, rgba(11, 21, 18, 0.96), rgba(5, 11, 9, 0.985));
    transition: opacity 1.15s ease 0.42s;
}

#boot-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 4px);
    opacity: 0.24;
    pointer-events: none;
}

#boot-intro.open {
    opacity: 0;
    pointer-events: none;
}

#boot-intro.is-blackout {
    background: #020403;
}

.boot-frame {
    position: relative;
    width: min(760px, calc(100% - 24px));
    border: 1px solid rgba(92, 159, 235, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(8, 15, 12, 0.92), rgba(6, 12, 10, 0.95));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: opacity 0.34s ease, transform 0.46s ease;
}

#boot-intro.open .boot-frame {
    opacity: 0;
    transform: translateY(-8px) scale(0.992);
}

.boot-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 85% 10%, rgba(92, 159, 235, 0.07), transparent 24rem);
}

.boot-message {
    position: relative;
    z-index: 1;
    padding: 28px 32px 14px;
    border-bottom: 1px solid rgba(92, 159, 235, 0.12);
    background: linear-gradient(180deg, rgba(9, 18, 14, 0.92), rgba(6, 12, 10, 0.76));
}

.boot-message-status {
    margin-bottom: 12px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.boot-message-headline {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(1.55rem, 3.5vw, 2.4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.boot-message-subline {
    margin: 0;
    max-width: 36rem;
    color: var(--muted);
    font-family: var(--mono);
    font-size: clamp(0.92rem, 1.55vw, 1.02rem);
    line-height: 1.55;
}

.boot-message-byline {
    margin-top: 12px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.boot-login {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 236px;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px 28px;
    background: rgba(4, 9, 7, 0.86);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.012);
    transition: opacity 0.42s ease, transform 0.42s ease, visibility 0s linear 0.42s;
}

.boot-login.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition-delay: 0s;
}

.boot-login-title {
    margin-bottom: 26px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.boot-login-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-height: 1.8em;
    color: var(--text);
    font-family: var(--mono);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
}

.boot-login-prompt {
    color: var(--muted);
}

.boot-login-user {
    color: var(--text);
    font-weight: 700;
}

.boot-cursor {
    display: inline-block;
    width: 0.65ch;
    height: 1.05em;
    margin-left: -5px;
    background: var(--green);
    vertical-align: -0.12em;
    animation: boot-cursor-blink 0.82s steps(1) infinite;
}

.boot-login-auth {
    margin-top: 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.boot-login-auth strong {
    color: var(--green);
    font-size: 0.82em;
    letter-spacing: 0.08em;
}

.boot-login-auth.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.boot-login-session {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(92, 159, 235, 0.12);
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.boot-login-session.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.boot-login-hint {
    margin-top: 26px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#boot-intro.is-blackout .boot-frame {
    opacity: 0;
    transform: scale(0.995);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

@keyframes boot-cursor-blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 760px) {
    .boot-frame {
        width: min(100%, 640px);
    }

    .boot-message {
        padding: 22px 20px 12px;
    }

    .boot-message-status {
        font-size: 0.67rem;
        letter-spacing: 0.11em;
    }

    .boot-message-headline {
        font-size: clamp(1.35rem, 6vw, 1.9rem);
    }

    .boot-message-subline {
        font-size: 0.88rem;
    }

    .boot-message-byline {
        font-size: 0.64rem;
        letter-spacing: 0.1em;
    }

    .boot-login {
        min-height: 250px;
        padding: 28px 20px 24px;
    }

    .boot-login-line {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.86rem;
    }

    .boot-login-session {
        font-size: 0.7rem;
        letter-spacing: 0.09em;
    }

    .boot-login-hint {
        font-size: 0.64rem;
        letter-spacing: 0.09em;
    }
}

/* Mobile optimisation */
@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    .top-nav {
        padding-top: 14px;
        padding-bottom: 8px;
        gap: 8px;
    }

    .site-wordmark-tagline {
        font-size: 0.5rem;
        letter-spacing: 0.14em;
    }

    main {
        width: min(100% - 24px, 920px);
        padding-top: 16px;
    }

    .systems-emblem {
        margin-top: 10px;
        margin-bottom: 18px;
    }

    .systems-emblem img {
        width: min(170px, 52vw);
    }

    .matrix-copy {
        width: min(100% - 28px, 640px);
        padding: 20px 18px;
    }

    .matrix-status {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    .matrix-copy strong {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .ability-list {
        grid-template-columns: 1fr;
    }

    .ability-box {
        min-height: auto;
    }

    .email-contact,
    .legal-panel {
        padding: 20px;
    }

    .terminal-launch {
        padding: 0 16px 20px;
    }

    .terminal-launch-header {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .terminal-command-form {
        flex-direction: column;
    }

    .terminal-command {
        gap: 7px;
        padding: 13px;
        font-size: 0.85rem;
    }

    .terminal-launch-button {
        width: 100%;
    }

    .startBtn {
        padding: 10px 13px;
    }


    .footer-menu {
        gap: 12px;
    }
}

/* === Homepage: compact technical portfolio === */
.home-page main {
    width: min(1180px, calc(100% - 48px));
    padding-top: 22px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.9fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
    min-height: 520px;
    padding: 38px 30px 56px;
    border-bottom: 1px solid var(--border-soft);
}

.hero-emblem-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.home-hero .systems-emblem {
    margin: 0;
}

.home-hero .systems-emblem img {
    width: min(290px, 100%);
}

.hero-contact-button {
    min-width: 184px;
    text-align: center;
}

.home-hero .hero-copy {
    min-width: 0;
}

.home-hero .hero-identity {
    margin: 0 0 8px;
    text-align: left;
}

.home-hero h1 {
    max-width: 820px;
    margin: 0 0 26px;
    text-align: left;
    font-size: clamp(2.7rem, 5.6vw, 4.9rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.home-hero h1 span {
    max-width: 760px;
    margin-top: 18px;
    font-size: clamp(1rem, 1.8vw, 1.28rem);
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.hero-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -6px 0 24px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-location span:nth-child(even) {
    color: var(--green);
}

.home-hero .intro {
    max-width: 800px;
    margin: 0 0 24px;
    text-align: left;
    font-size: 1.05rem;
}

.home-hero .intro p:last-child {
    margin-bottom: 0;
}

.hero-history {
    color: var(--muted);
}

.capability-strip {
    display: grid;
    gap: 9px;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.capability-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.capability-strip span {
    padding: 7px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
}

.competence-section,
.proof-section,
.codeproof-section,
.terminal-section {
    margin: 148px 0;
    scroll-margin-top: 96px;
}

.section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: end;
    margin-bottom: 30px;
}

.section-heading-row h2 {
    max-width: 620px;
    margin: 4px 0 0;
    text-align: left;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.section-heading-row > p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
}

.section-kicker {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tech-card {
    min-height: 205px;
    padding: 22px;
    background: linear-gradient(145deg, var(--panel-raised), var(--panel));
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}

.tech-card > span {
    display: block;
    margin-bottom: 28px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
}

.tech-card strong {
    display: block;
    margin-bottom: 9px;
    color: var(--green);
    font-size: 1.04rem;
}

.tech-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.58;
}

.knowledge-note {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 30px;
    margin-top: 14px;
    padding: 22px 24px;
    background: var(--green-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.knowledge-note strong {
    color: var(--green);
}

.era-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.era-panel {
    min-width: 0;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
}

.era-panel-old {
    background:
        linear-gradient(rgba(92, 159, 235, 0.025), rgba(92, 159, 235, 0.025)),
        #0a130f;
}

.era-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 2px 2px 12px;
    border-bottom: 1px solid var(--border-soft);
}

.era-heading span {
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.era-heading strong {
    font-size: 0.95rem;
    font-weight: 650;
}

.proof-images {
    display: grid;
    gap: 12px;
}

.proof-card {
    margin: 0;
    overflow: hidden;
    background: #050806;
    border: 1px solid var(--border-soft);
    border-radius: 11px;
}

.proof-card a {
    display: block;
    overflow: hidden;
    background: #050806;
    aspect-ratio: 16 / 9;
}

.proof-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.proof-card a:hover img {
    transform: scale(1.012);
    opacity: 0.94;
}

.proof-card figcaption {
    min-height: 66px;
    padding: 12px 14px 13px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.proof-card-contain a {
    background: #0b1110;
}

.proof-card-contain img {
    object-fit: contain;
    object-position: top center;
    padding: 8px;
}


.terminal-section .terminal-launch {
    max-width: 100%;
    margin-top: 0;
}

.terminal-heading-row {
    margin-bottom: 22px;
}

.home-highlight {
    max-width: 980px;
    margin: 96px auto 36px;
    padding: 26px 32px;
    font-size: 1.02rem;
}

.home-page .closing {
    max-width: 820px;
}

.home-page .contact-section {
    max-width: 900px;
    margin: 148px auto 72px;
    scroll-margin-top: 96px;
}

.home-page .contact-methods {
    grid-template-columns: 1fr;
    max-width: 680px;
}

.home-page .email-contact {
    max-width: 680px;
}

@media (max-width: 760px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
}



.codeproof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.codeproof-card {
    min-width: 0;
    padding: 18px;
    background: linear-gradient(155deg, rgba(7, 14, 11, 0.96), rgba(12, 22, 17, 0.98));
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.codeproof-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.codeproof-card pre {
    margin: 0;
    overflow-x: auto;
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.84rem;
    line-height: 1.62;
    white-space: pre;
    scrollbar-width: thin;
}

.codeproof-card code {
    font: inherit;
}

.codeproof-card pre::-webkit-scrollbar {
    height: 8px;
}

.codeproof-card pre::-webkit-scrollbar-thumb {
    background: rgba(92, 159, 235, 0.22);
    border-radius: 999px;
}

@media (max-width: 1080px) {
    .top-nav {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 16px;
    }

    .site-header.has-section-menu .section-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
    }

    .language-switch {
        justify-self: end;
    }

    .competence-section,
    .proof-section,
    .codeproof-section,
    .terminal-section {
        margin: 116px 0;
    }

   .home-page .contact-section {
        margin-top: 116px;
    }
}

@media (max-width: 980px) {

    .home-page main {
        width: min(100% - 32px, 1180px);
    }

    .home-hero {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 30px;
        min-height: auto;
        padding: 30px 10px 44px;
    }

    .home-hero h1 {
        font-size: clamp(2.55rem, 6.4vw, 4.3rem);
    }

    .section-heading-row {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }

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

@media (max-width: 720px) {
    .site-header {
        position: sticky;
    }

    .top-nav {
        width: min(100% - 20px, 1180px);
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
        padding: 8px 0 9px;
    }

    .site-wordmark {
        gap: 7px;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    .site-wordmark-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 9px;
    }

    .language-switch {
        justify-self: end;
    }

    .site-header.has-section-menu .section-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 3px;
        overflow-x: auto;
        padding-bottom: 2px;
        font-size: 0.64rem;
        scrollbar-width: none;
    }

    .site-header.has-section-menu .section-nav::-webkit-scrollbar {
        display: none;
    }

    .section-nav a,
    .section-nav .section-nav-replay {
        padding: 6px 7px;
    }

    .home-page main {
        width: min(100% - 24px, 1180px);
    }

    .home-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px 0 34px;
        text-align: center;
    }

    .home-hero .systems-emblem {
        justify-content: center;
    }

    .home-hero .systems-emblem img {
        width: min(170px, 48vw);
    }

    .hero-emblem-column {
        gap: 14px;
    }

    .hero-contact-button {
        min-width: 170px;
    }

    .home-hero h1,
    .home-hero .intro {
        text-align: center;
    }

    .hero-location {
        justify-content: center;
        margin-top: -2px;
    }

    .home-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.6rem);
    }

    .capability-strip {
        justify-items: center;
    }

    .capability-row {
        justify-content: center;
    }

    .competence-section,
    .proof-section,
    .codeproof-section,
    .terminal-section {
        margin: 88px 0;
        scroll-margin-top: 142px;
    }

   .home-page .contact-section {
        margin-top: 88px;
        scroll-margin-top: 142px;
    }

    .section-heading-row h2,
    .section-heading-row > p {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .section-kicker {
        display: block;
        text-align: center;
    }

    .tech-grid,
    .era-grid,
    .knowledge-note,
    .codeproof-grid {
        grid-template-columns: 1fr;
    }

    .tech-card {
        min-height: auto;
    }

    .tech-card > span {
        margin-bottom: 16px;
    }

    .knowledge-note {
        gap: 8px;
        text-align: center;
    }

    .era-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }


    .home-highlight {
        margin-top: 48px;
        padding: 22px;
    }
}


/* === Project lightbox === */
body.lightbox-open {
    overflow: hidden;
}

.proof-card a[data-lightbox-image] {
    position: relative;
    cursor: zoom-in;
}

.proof-card a[data-lightbox-image]::after {
    content: "+";
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(92, 159, 235, 0.46);
    border-radius: 50%;
    background: rgba(3, 8, 6, 0.82);
    color: var(--green);
    font-family: var(--mono);
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0.82;
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.proof-card a[data-lightbox-image]:hover::after {
    opacity: 1;
    transform: scale(1.06);
    background: rgba(7, 16, 13, 0.96);
}

.project-lightbox {
    width: min(1180px, calc(100vw - 48px));
    max-width: none;
    max-height: calc(100vh - 48px);
    padding: 48px 62px 22px;
    overflow: visible;
    background: #07111f;
    color: var(--text);
    border: 1px solid rgba(92, 159, 235, 0.30);
    border-radius: 16px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.project-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(6px);
}

.project-lightbox figure {
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 14px;
}

.project-lightbox img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #0b1422;
}

.project-lightbox figcaption {
    max-width: 920px;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

.project-lightbox-close,
.project-lightbox-nav {
    appearance: none;
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background: rgba(8, 20, 36, 0.94);
    color: var(--green);
    font-family: var(--mono);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.project-lightbox-close:hover,
.project-lightbox-nav:hover,
.project-lightbox-close:focus-visible,
.project-lightbox-nav:focus-visible {
    background: var(--green);
    color: var(--bg);
    border-color: var(--green);
}

.project-lightbox-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.35rem;
}

.project-lightbox-nav {
    top: 50%;
    width: 42px;
    height: 52px;
    margin-top: -26px;
    border-radius: 9px;
    font-size: 1.25rem;
}

/* A single project image is an enlargement, not a gallery. */
.project-lightbox-nav[hidden],
.project-lightbox.single-image .project-lightbox-nav {
    display: none !important;
}

.project-lightbox-prev {
    left: 10px;
}

.project-lightbox-next {
    right: 10px;
}

/* === Code showcase: console chrome and machine-room atmosphere === */
.codeproof-card {
    position: relative;
    overflow: hidden;
    padding-top: 16px;
    background:
        linear-gradient(rgba(92, 159, 235, 0.018) 1px, transparent 1px),
        linear-gradient(155deg, rgba(7, 14, 11, 0.98), rgba(12, 22, 17, 0.99));
    background-size: 100% 4px, auto;
}

.codeproof-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 159, 235, 0.62), transparent);
    opacity: 0.56;
}

.codeproof-chrome {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin: -2px 0 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.codeproof-chrome > span:last-child {
    color: var(--green);
}

.codeproof-dots {
    color: rgba(92, 159, 235, 0.55);
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.codeproof-card pre {
    min-height: 330px;
    font-size: 0.79rem;
    line-height: 1.54;
}

.codeproof-terminal {
    border-color: rgba(92, 159, 235, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        inset 0 0 40px rgba(92, 159, 235, 0.025);
}

@media (max-width: 720px) {
    .project-lightbox {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 48px 12px 16px;
        border-radius: 12px;
    }

    .project-lightbox img {
        max-height: calc(100vh - 145px);
    }

    .project-lightbox-nav {
        top: auto;
        bottom: 12px;
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 50%;
    }

    .project-lightbox-prev {
        left: 12px;
    }

    .project-lightbox-next {
        right: 12px;
    }

    .project-lightbox figcaption {
        padding: 0 52px;
        font-size: 0.78rem;
    }

    .codeproof-card pre {
        min-height: 0;
        font-size: 0.75rem;
    }

    .codeproof-chrome {
        gap: 8px;
        font-size: 0.62rem;
    }
}

.codeproof-terminal::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18%;
    height: 44px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(92, 159, 235, 0.055), transparent);
    animation: codeproof-scan 7s linear infinite;
}

.codeproof-terminal .codeproof-chrome > span:last-child {
    animation: codeproof-status 2.4s ease-in-out infinite;
}

@keyframes codeproof-scan {
    from { transform: translateY(0); }
    to { transform: translateY(520px); }
}

@keyframes codeproof-status {
    0%, 100% { opacity: 0.58; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .codeproof-terminal::after,
    .codeproof-terminal .codeproof-chrome > span:last-child {
        animation: none;
    }
}

/* === Rotating code cube / technical ornament === */
.code-cube-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 190px;
    margin: -2px 0 28px;
    padding: 12px 20px;
    overflow: hidden;
    border-top: 1px solid rgba(92, 159, 235, 0.08);
    border-bottom: 1px solid rgba(92, 159, 235, 0.08);
    background:
        linear-gradient(90deg, transparent, rgba(92, 159, 235, 0.025), transparent),
        repeating-linear-gradient(0deg, transparent 0 23px, rgba(92, 159, 235, 0.018) 23px 24px);
}

.code-cube-stage {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    perspective: 720px;
}

.code-cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: code-cube-spin 14s linear infinite;
}

.code-cube-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(92, 159, 235, 0.58);
    background:
        linear-gradient(135deg, rgba(92, 159, 235, 0.13), rgba(5, 12, 9, 0.92)),
        repeating-linear-gradient(90deg, transparent 0 15px, rgba(92, 159, 235, 0.035) 15px 16px);
    color: var(--green);
    box-shadow: inset 0 0 24px rgba(92, 159, 235, 0.05);
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-shadow: 0 0 10px rgba(92, 159, 235, 0.32);
    backface-visibility: visible;
}

.cube-front  { transform: rotateY(0deg) translateZ(60px); }
.cube-back   { transform: rotateY(180deg) translateZ(60px); }
.cube-right  { transform: rotateY(90deg) translateZ(60px); }
.cube-left   { transform: rotateY(-90deg) translateZ(60px); }
.cube-top    { transform: rotateX(90deg) translateZ(60px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(60px); }

.code-cube-orbit {
    min-width: 0;
    overflow: hidden;
    color: rgba(159, 179, 165, 0.58);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.code-cube-orbit-a {
    text-align: right;
}

.code-cube-orbit-b {
    text-align: left;
}

.code-cube-orbit::before,
.code-cube-orbit::after {
    content: "";
    display: inline-block;
    width: 42px;
    height: 1px;
    margin: 0 12px 0 0;
    vertical-align: middle;
    background: linear-gradient(90deg, transparent, rgba(92, 159, 235, 0.45));
}

.code-cube-orbit-b::before {
    margin-right: 12px;
}

.code-cube-orbit-b::after {
    display: none;
}

@keyframes code-cube-spin {
    0%   { transform: rotateX(-18deg) rotateY(0deg) rotateZ(0deg); }
    25%  { transform: rotateX(18deg) rotateY(90deg) rotateZ(2deg); }
    50%  { transform: rotateX(-12deg) rotateY(180deg) rotateZ(0deg); }
    75%  { transform: rotateX(16deg) rotateY(270deg) rotateZ(-2deg); }
    100% { transform: rotateX(-18deg) rotateY(360deg) rotateZ(0deg); }
}

.codeproof-excel {
    grid-column: 1 / -1;
    background:
        radial-gradient(circle at 88% 8%, rgba(92, 159, 235, 0.08), transparent 28%),
        linear-gradient(155deg, rgba(7, 14, 11, 0.98), rgba(12, 22, 17, 0.98));
}

.codeproof-excel .codeproof-label {
    margin-bottom: 16px;
}

@media (max-width: 720px) {
    .code-cube-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 220px;
        padding: 18px 10px;
    }

    .code-cube-stage {
        grid-row: 1;
        width: 104px;
        height: 104px;
    }

    .cube-front  { transform: rotateY(0deg) translateZ(52px); }
    .cube-back   { transform: rotateY(180deg) translateZ(52px); }
    .cube-right  { transform: rotateY(90deg) translateZ(52px); }
    .cube-left   { transform: rotateY(-90deg) translateZ(52px); }
    .cube-top    { transform: rotateX(90deg) translateZ(52px); }
    .cube-bottom { transform: rotateX(-90deg) translateZ(52px); }

    .code-cube-orbit {
        text-align: center;
        white-space: normal;
        line-height: 1.5;
    }

    .code-cube-orbit::before,
    .code-cube-orbit::after {
        display: none;
    }

    .codeproof-excel {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .code-cube {
        animation: none;
        transform: rotateX(-16deg) rotateY(34deg);
    }
}

/* === Lean-web positioning & contextual explanations === */
.hero-about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(92, 159, 235, 0.28);
    padding-bottom: 2px;
}

.hero-about-link:hover,
.hero-about-link:focus-visible {
    border-bottom-color: var(--green);
}

.lean-web-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(24px, 4vw, 46px);
    margin-top: 30px;
    padding: clamp(24px, 4vw, 38px);
    background:
        linear-gradient(135deg, rgba(92, 159, 235, 0.055), transparent 42%),
        var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.lean-web-copy h3 {
    margin: 7px 0 16px;
    color: var(--green);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
}

.lean-web-copy p {
    color: var(--muted);
}

.inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(92, 159, 235, 0.28);
    font-family: var(--mono);
    font-size: 0.88rem;
}

.inline-cta:hover,
.inline-cta:focus-visible {
    border-bottom-color: var(--green);
}

.lean-benefits {
    display: grid;
    gap: 10px;
    align-content: start;
}

.lean-benefits > div {
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
}

.lean-benefits strong,
.lean-benefits span {
    display: block;
}

.lean-benefits strong {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.9rem;
}

.lean-benefits span {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.codeproof-explainer {
    min-height: 4.8em;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.proof-section .proof-card {
    height: 100%;
}

@media (max-width: 980px) {
    .lean-web-panel {
        grid-template-columns: 1fr;
    }

    .codeproof-explainer {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .hero-about-link {
        justify-content: center;
    }

    .lean-web-panel {
        padding: 22px 18px;
        text-align: center;
    }

    .lean-benefits {
        text-align: left;
    }
}


/* === Light-only interface ===================================================
   LotseLogik uses one deliberately bright interface. Dark technical surfaces
   remain only where they are part of the content itself (Lab / lightboxes).
   ========================================================================== */

body {
    background:
        radial-gradient(circle at 42% -24%, rgba(47, 101, 167, 0.10), transparent 34rem),
        radial-gradient(circle at 76% -18%, rgba(9, 223, 248, 0.055), transparent 27rem),
        linear-gradient(180deg, #f8fafc 0%, var(--bg) 34rem, var(--bg) 100%);
}

.site-header {
    background: rgba(248, 250, 252, 0.93);
    border-bottom-color: rgba(47, 101, 167, 0.13);
    box-shadow: 0 8px 30px rgba(34, 53, 78, 0.045);
}

.site-wordmark-mark {
    background:
        radial-gradient(circle at 18% 18%, rgba(5, 93, 224, 0.10), transparent 52%),
        radial-gradient(circle at 84% 20%, rgba(9, 223, 248, 0.10), transparent 48%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.98));
    border-color: rgba(47, 101, 167, 0.12);
    box-shadow: 0 5px 14px rgba(34, 53, 78, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Header utilities. */
.header-tools {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: max-content;
}


.language-switch {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 18px rgba(34, 53, 78, 0.055);
}

.language-switch a.is-active {
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(47, 101, 167, 0.16);
}

/* The emblem is optically adapted for the bright interface. */
.systems-emblem {
    border-radius: 50%;
}

.systems-emblem img {
    border-radius: 50%;
    filter: invert(1) hue-rotate(180deg) saturate(0.92) contrast(1.04) brightness(0.98);
    box-shadow:
        0 18px 48px rgba(31, 52, 78, 0.10),
        0 0 0 1px rgba(47, 101, 167, 0.16);
}

.portrait-emblem img {
    filter: brightness(1.08) contrast(1.03) saturate(0.92);
    box-shadow:
        0 18px 48px rgba(31, 52, 78, 0.09),
        0 0 0 1px rgba(47, 101, 167, 0.14);
}

.capability-strip span {
    background: rgba(255, 255, 255, 0.72);
}

.ability-box,
.tech-card,
.era-panel,
.email-contact,
.legal-panel {
    box-shadow: 0 12px 34px rgba(31, 52, 78, 0.045);
}

.tech-card {
    background: linear-gradient(145deg, #ffffff, var(--panel-raised));
}

.era-panel-old {
    background:
        linear-gradient(rgba(47, 101, 167, 0.035), rgba(47, 101, 167, 0.035)),
        #f7fafe;
}

.proof-card {
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(31, 52, 78, 0.055);
}

.proof-card figcaption {
    background: #ffffff;
}

.proof-card a,
.proof-card-contain a {
    background: #eef4fa;
}

.lean-web-panel {
    background:
        linear-gradient(135deg, rgba(47, 101, 167, 0.065), transparent 42%),
        #ffffff;
    box-shadow: 0 14px 38px rgba(31, 52, 78, 0.05);
}

.lean-benefits > div {
    background: #f5f8fc;
}

.archive-link a:hover,
.lotse-button:hover,
.startBtn:hover,
.back-to-top:hover {
    color: #ffffff;
}

/* Console-like elements intentionally remain dark as a technical accent. */
#boot-intro,
.terminal-launch,
.codeproof-card,
.project-lightbox {
    --bg: #081525;
    --panel: #0e1d31;
    --panel-raised: #13263f;
    --text: #eef5fc;
    --muted: #aab9cc;
    --green: #5c9feb;
    --green-soft: rgba(92, 159, 235, 0.10);
    --border: rgba(92, 159, 235, 0.25);
    --border-soft: rgba(238, 245, 252, 0.10);
}

.terminal-launch {
    box-shadow: 0 20px 55px rgba(20, 34, 25, 0.16);
}

.codeproof-card {
    box-shadow:
        0 16px 42px rgba(20, 34, 25, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.code-cube-wrap {
    border-top-color: rgba(47, 101, 167, 0.10);
    border-bottom-color: rgba(47, 101, 167, 0.10);
    background:
        linear-gradient(90deg, transparent, rgba(47, 101, 167, 0.035), transparent),
        repeating-linear-gradient(0deg, transparent 0 23px, rgba(47, 101, 167, 0.025) 23px 24px);
}

.code-cube-face {
    border-color: rgba(92, 159, 235, 0.52);
    background:
        linear-gradient(135deg, rgba(92, 159, 235, 0.12), rgba(5, 12, 9, 0.94)),
        repeating-linear-gradient(90deg, transparent 0 15px, rgba(92, 159, 235, 0.035) 15px 16px);
    color: #5c9feb;
}

.code-cube-orbit {
    color: rgba(68, 91, 76, 0.76);
}


.footer-menu {
    padding-top: 8px;
}

@media (max-width: 1080px) {
    .header-tools {
        justify-self: end;
    }
}

@media (max-width: 720px) {
    .header-tools {
        gap: 5px;
    }
}

/* === EARLY CMS / STACK FIT CHECK ===========================================
   Promoted directly below the hero so the practical service model is visible
   before the detailed competence section. The existing lean-web component is
   reused to avoid a second visual language for the same idea.
   ========================================================================== */
.cms-fit-section {
    margin: 42px 0 0;
    scroll-margin-top: 96px;
}

.cms-fit-section .lean-web-panel {
    margin-top: 0;
}


.cms-fit-section .section-kicker {
    color: var(--green);
}

@media (max-width: 720px) {
    .cms-fit-section {
        margin-top: 28px;
    }
}

/* The promoted panel is a top-level section, so its title is an h2. */
.cms-fit-section .lean-web-copy h2 {
    max-width: 760px;
    margin: 7px 0 16px;
    color: var(--green);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* === Cinematic intro treatment ===========================================
   Keeps the existing timing and login logic untouched. The opening message
   is simply given more visual weight so the first visit feels like a short
   title sequence before the simulated console takes over. */
#boot-intro .boot-frame {
    width: min(920px, calc(100% - 32px));
    border-radius: 22px;
    border-color: rgba(92, 159, 235, 0.24);
    box-shadow:
        0 34px 100px rgba(0, 0, 0, 0.48),
        0 0 70px rgba(92, 159, 235, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#boot-intro .boot-frame::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(92, 159, 235, 0.13), transparent 34rem),
        radial-gradient(circle at 88% 12%, rgba(92, 159, 235, 0.07), transparent 22rem);
}

#boot-intro .boot-message {
    padding: clamp(42px, 6vw, 66px) clamp(28px, 6vw, 58px) clamp(34px, 5vw, 50px);
    text-align: center;
    background:
        linear-gradient(180deg, rgba(10, 21, 16, 0.96), rgba(6, 12, 10, 0.84));
}

#boot-intro .boot-message::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: min(240px, 44%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(92, 159, 235, 0.75), transparent);
    box-shadow: 0 0 18px rgba(92, 159, 235, 0.28);
}

#boot-intro .boot-message-status {
    margin-bottom: 18px;
    font-size: clamp(0.72rem, 1.3vw, 0.86rem);
    letter-spacing: 0.28em;
    opacity: 0.92;
}

#boot-intro .boot-message-headline {
    max-width: 820px;
    margin: 0 auto 20px;
    font-size: clamp(2.35rem, 6.6vw, 4.85rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
    text-shadow: 0 0 28px rgba(92, 159, 235, 0.08);
}

#boot-intro .boot-message-subline {
    max-width: 680px;
    margin: 0 auto;
    font-size: clamp(0.98rem, 1.8vw, 1.18rem);
    line-height: 1.6;
    letter-spacing: 0.015em;
}

#boot-intro .boot-message-byline {
    margin-top: 20px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    opacity: 0.78;
}

#boot-intro .boot-login {
    min-height: 255px;
    padding: 34px clamp(28px, 6vw, 58px) 34px;
}

#boot-intro .boot-login-title {
    margin-bottom: 30px;
    font-size: 0.82rem;
    letter-spacing: 0.25em;
}

@media (prefers-reduced-motion: no-preference) {
    #boot-intro .boot-frame::before {
        animation: lotse-intro-ambient 7s ease-in-out infinite alternate;
    }

    #boot-intro .boot-message-status,
    #boot-intro .boot-message-headline,
    #boot-intro .boot-message-subline,
    #boot-intro .boot-message-byline {
        animation: lotse-title-reveal 0.8s ease both;
    }

    #boot-intro .boot-message-headline {
        animation-delay: 0.08s;
    }

    #boot-intro .boot-message-subline {
        animation-delay: 0.16s;
    }

    #boot-intro .boot-message-byline {
        animation-delay: 0.24s;
    }
}

@keyframes lotse-title-reveal {
    from {
        opacity: 0;
        transform: translateY(8px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes lotse-intro-ambient {
    from {
        opacity: 0.72;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.025);
    }
}

@media (max-width: 760px) {
    #boot-intro {
        padding: 16px;
    }

    #boot-intro .boot-frame {
        width: min(100%, 660px);
        border-radius: 18px;
    }

    #boot-intro .boot-message {
        padding: 34px 20px 28px;
    }

    #boot-intro .boot-message-status {
        margin-bottom: 14px;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    #boot-intro .boot-message-headline {
        margin-bottom: 16px;
        font-size: clamp(2rem, 10.5vw, 3rem);
        line-height: 1.02;
    }

    #boot-intro .boot-message-subline {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    #boot-intro .boot-message-byline {
        margin-top: 16px;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    #boot-intro .boot-login {
        min-height: 238px;
        padding: 28px 20px 26px;
    }
}

/* Compact opener for the additional modern-web portfolio. The screenshots
   themselves remain out of the page flow and are loaded only by the lightbox. */
.mini-portfolio-link {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 2px 2px;
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: var(--green);
    font: 700 0.78rem/1.35 var(--mono);
    letter-spacing: 0.045em;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s ease, transform 0.15s ease;
}

.mini-portfolio-link span {
    transition: transform 0.15s ease;
}

.mini-portfolio-link:hover,
.mini-portfolio-link:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.mini-portfolio-link:hover span,
.mini-portfolio-link:focus-visible span {
    transform: translateX(3px);
}

.mini-portfolio-link:focus-visible {
    outline: 1px solid var(--green);
    outline-offset: 5px;
    border-radius: 2px;
}

/* === Mobile header utilities =============================================== */
@media (max-width: 720px) {
    .header-tools {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        min-width: max-content;
        flex-shrink: 0;
    }

    .language-switch {
        flex-shrink: 0;
        padding: 2px;
        font-size: 0.76rem;
    }

    .language-switch a {
        min-width: 36px;
        padding: 8px 8px;
    }

    .language-switch span {
        padding: 0;
    }
}


/* Personal LinkedIn link on the About page / About dialog only */
.about-profile-footer {
    display: flex;
    justify-content: center;
    margin: 28px auto 8px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
}

.about-profile-footer a {
    font-family: var(--mono);
    color: var(--green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.15s ease;
}

.about-profile-footer a:hover,
.about-profile-footer a:focus-visible {
    color: var(--green);
    text-decoration: none;
    opacity: 0.78;
}

.about-profile-footer span {
    display: inline-block;
    margin-left: 2px;
    font-size: 0.8em;
    transition: transform 0.15s ease;
}

.about-profile-footer a:hover span,
.about-profile-footer a:focus-visible span {
    transform: translate(1px, -1px);
}


/* === Realised projects / case-study showcase === */
.case-study-section {
    margin: 148px 0;
    scroll-margin-top: 96px;
}

.project-catcher-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-catcher-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 330px;
    flex-direction: column;
    padding: clamp(22px, 3vw, 30px);
    overflow: hidden;
    background:
        linear-gradient(rgba(92, 159, 235, 0.018) 1px, transparent 1px),
        linear-gradient(145deg, var(--panel-raised), var(--panel));
    background-size: 100% 5px, auto;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.project-catcher-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 159, 235, 0.7), transparent);
    opacity: 0.55;
}

.project-catcher-card:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 159, 235, 0.34);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.project-catcher-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.065em;
}

.project-catcher-top span:first-child {
    color: var(--green);
    font-size: 0.82rem;
}

.project-catcher-media {
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
}

.project-catcher-media a {
    position: relative;
    display: block;
    cursor: zoom-in;
}

.project-catcher-media a::after {
    content: "+";
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(92, 159, 235, 0.34);
    border-radius: 50%;
    background: rgba(7, 16, 13, 0.78);
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.9rem;
    line-height: 1;
}

.project-catcher-media img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.project-catcher-media a:hover img,
.project-catcher-media a:focus-visible img {
    transform: scale(1.015);
    filter: brightness(0.94);
}

.project-catcher-card h3 {
    margin: 0 0 13px;
    color: var(--text);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    letter-spacing: -0.025em;
}

.project-catcher-card > p {
    max-width: 620px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.project-catcher-tags,
.case-lightbox-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-catcher-tags {
    margin-top: auto;
    margin-bottom: 22px;
}

.project-catcher-tags span,
.case-lightbox-stack span {
    padding: 6px 9px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(92, 159, 235, 0.035);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.66rem;
    line-height: 1;
}

.project-case-button,
.project-browser-button,
.case-nav-button {
    appearance: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.project-case-button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    padding: 0;
    background: transparent;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
}

.project-case-button span,
.project-browser-button span {
    transition: transform 0.16s ease;
}

.project-case-button:hover span,
.project-case-button:focus-visible span,
.project-browser-button:hover span,
.project-browser-button:focus-visible span {
    transform: translateX(4px);
}

.project-browser-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 14px;
    padding: 18px 20px;
    border: 1px solid var(--border-soft);
    border-radius: 13px;
    background: var(--green-soft);
}

.project-browser-cta p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.project-browser-cta strong {
    color: var(--text);
}

.project-browser-button {
    flex: 0 0 auto;
}

.case-lightbox {
    width: min(1040px, calc(100vw - 48px));
    max-width: none;
    max-height: calc(100vh - 48px);
    padding: 0;
    overflow: auto;
    background: #07100d;
    color: var(--text);
    border: 1px solid rgba(92, 159, 235, 0.3);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.case-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(7px);
}

.case-lightbox-shell {
    min-height: 100%;
}

.case-lightbox-bar {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-soft);
    background: rgba(7, 16, 13, 0.96);
    backdrop-filter: blur(12px);
}

.case-lightbox-bar > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.case-lightbox-category,
.case-lightbox-counter {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.case-lightbox-category {
    color: var(--green);
}

.case-lightbox-counter {
    color: var(--muted);
}

.case-lightbox-close {
    appearance: none;
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(3, 8, 6, 0.84);
    color: var(--green);
    font-family: var(--mono);
    font-size: 1.3rem;
    cursor: pointer;
}

.case-lightbox-close:hover,
.case-lightbox-close:focus-visible,
.case-nav-button:hover,
.case-nav-button:focus-visible {
    background: var(--green);
    color: var(--bg);
    border-color: var(--green);
}

.case-lightbox-content {
    padding: clamp(26px, 5vw, 56px);
}

.case-lightbox-content h2 {
    max-width: 780px;
    margin: 0 0 14px;
    text-align: left;
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.case-lightbox-lead {
    max-width: 790px;
    margin: 0 0 32px;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.65;
}

.case-lightbox-figure {
    width: min(460px, 100%);
    margin: 0 0 30px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.case-lightbox-figure a {
    position: relative;
    display: block;
    cursor: zoom-in;
}

.case-lightbox-figure a::after {
    content: "+";
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(92, 159, 235, 0.42);
    border-radius: 50%;
    background: rgba(7, 16, 13, 0.82);
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.95rem;
    line-height: 1;
}

.case-lightbox-figure img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.case-lightbox-figure a:hover img,
.case-lightbox-figure a:focus-visible img {
    transform: scale(1.015);
    filter: brightness(0.94);
}

.case-lightbox-figure figcaption {
    padding: 11px 14px 13px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.case-lightbox-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.case-lightbox-detail-grid section {
    padding: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.018);
}

.case-lightbox-detail-grid section > span {
    display: block;
    margin-bottom: 13px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.case-lightbox-detail-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.62;
}

.case-lightbox-stack {
    margin-top: 22px;
}

.case-lightbox-actions {
    position: sticky;
    z-index: 2;
    bottom: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-top: 1px solid var(--border-soft);
    background: rgba(7, 16, 13, 0.96);
    backdrop-filter: blur(12px);
}

.case-nav-button,
.case-contact-link {
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 700;
}

.case-nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: rgba(8, 20, 36, 0.94);
    color: var(--green);
}

.case-contact-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-self: center;
    gap: 8px;
    padding: 0 15px;
    background: var(--green-soft);
    color: var(--green);
    text-decoration: none;
}

.case-contact-link:hover,
.case-contact-link:focus-visible {
    border-color: var(--green);
}

@media (max-width: 900px) {
    .case-lightbox-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .case-study-section {
        margin: 110px 0;
    }

    .project-catcher-grid {
        grid-template-columns: 1fr;
    }

    .project-catcher-card {
        min-height: 0;
    }

    .project-catcher-media img {
        height: 132px;
    }

    .project-browser-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .case-lightbox {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 13px;
    }

    .case-lightbox-content {
        padding: 28px 18px 24px;
    }

    .case-lightbox-actions {
        grid-template-columns: 1fr 1fr;
    }

    .case-contact-link {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        justify-content: center;
    }

    .case-nav-button {
        justify-content: center;
    }
}

/* Project viewer follows the console palette in both public themes. */
.case-lightbox {
    --bg: #081525;
    --panel: #0e1d31;
    --panel-raised: #13263f;
    --text: #eef5fc;
    --muted: #aab9cc;
    --green: #5c9feb;
    --green-soft: rgba(92, 159, 235, 0.10);
    --border: rgba(92, 159, 235, 0.25);
    --border-soft: rgba(238, 245, 252, 0.10);
}

.project-browser-button {
    background: transparent;
    color: var(--green);
}

@media (max-width: 1080px) {
    .case-study-section {
        margin: 116px 0;
    }
}

@media (max-width: 720px) {
    .case-study-section {
        margin: 88px 0;
        scroll-margin-top: 142px;
    }
}

/* === Featured Robshots highlight ==========================================
   Promotes the self-hosted photo gallery high on the home page with a clean
   project spotlight and screenshot grid.
   ========================================================================== */
.robshots-feature-section {
    margin: 42px 0 0;
    scroll-margin-top: 96px;
}

.robshots-heading-row {
    margin-bottom: 24px;
}

.robshots-feature-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(22px, 4vw, 38px);
    padding: clamp(24px, 4vw, 38px);
    background:
        linear-gradient(135deg, rgba(92, 159, 235, 0.055), transparent 42%),
        var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.robshots-feature-copy > p {
    margin-top: 0;
    color: var(--muted);
}

.robshots-feature-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 0;
}

.robshots-feature-points > div {
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
}

.robshots-feature-points strong,
.robshots-feature-points span {
    display: block;
}

.robshots-feature-points strong {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 0.92rem;
}

.robshots-feature-points span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.robshots-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
    margin-top: 22px;
}

.robshots-mini-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.robshots-mini-facts span {
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.robshots-shot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.robshots-shot-card {
    margin: 0;
    background: linear-gradient(145deg, var(--panel-raised), var(--panel));
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
}

.robshots-shot-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    padding: 14px;
    background: rgba(255, 255, 255, 0.018);
}

.robshots-shot-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.robshots-shot-card figcaption {
    display: grid;
    gap: 4px;
    padding: 14px 16px 16px;
}

.robshots-shot-card strong {
    color: var(--green);
    font-size: 0.92rem;
}

.robshots-shot-card span {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.robshots-feature-shell {
    background:
        linear-gradient(135deg, rgba(47, 101, 167, 0.065), transparent 42%),
        #ffffff;
    box-shadow: 0 14px 38px rgba(31, 52, 78, 0.05);
}

.robshots-feature-points > div,
.robshots-mini-facts span {
    background: #f5f8fc;
}

.robshots-shot-card {
    box-shadow: 0 12px 34px rgba(31, 52, 78, 0.05);
}

.robshots-shot-card a {
    background: #eef4fa;
}

@media (max-width: 1080px) {
    .robshots-feature-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .robshots-feature-section {
        margin-top: 28px;
    }

    .robshots-heading-row,
    .robshots-feature-shell {
        text-align: center;
    }

    .robshots-feature-shell {
        padding: 22px 18px;
    }

    .robshots-feature-points,
    .robshots-shot-grid {
        grid-template-columns: 1fr;
    }

    .robshots-feature-actions {
        justify-content: center;
    }

    .robshots-mini-facts {
        justify-content: center;
    }
}

/* Personal Seemann signature: intentionally subtle, not a nautical theme. */
.hero-personal-note {
    color: var(--text);
}

.lean-motto {
    margin-bottom: 10px;
    color: var(--text) !important;
}

.footer-signature {
    margin: 5px auto 0;
    text-align: center;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.045em;
}

/* === Business homepage 2026 ===============================================
   Customer-first structure for LotseLogik. The existing technical visual
   language remains, while the homepage now explains the commercial offer
   before the personal/experimental material.
   ========================================================================== */
.business-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: stretch;
    min-height: 590px;
    padding: clamp(58px, 7vw, 92px) 0 clamp(64px, 8vw, 108px);
    border-bottom: 1px solid var(--border-soft);
}

.business-hero-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.business-kicker,
.business-panel-label {
    display: block;
    margin-bottom: 18px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.business-hero h1 {
    max-width: 880px;
    margin: 0;
    text-align: left;
    font-size: clamp(3rem, 6.1vw, 5.7rem);
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.business-hero-lead {
    max-width: 780px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.55vw, 1.25rem);
    line-height: 1.72;
}

.business-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    align-items: center;
    margin-top: 32px;
}

.business-hero-signature {
    display: grid;
    gap: 5px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}

.business-hero-signature strong {
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.business-hero-signature span {
    max-width: 690px;
    color: var(--muted);
    font-size: 0.9rem;
}

.business-hero-panel {
    align-self: center;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(92, 159, 235, 0.055), transparent 46%),
        var(--panel);
}

.business-hero-panel ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.business-hero-panel li {
    display: grid;
    gap: 5px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border-soft);
}

.business-hero-panel li:first-child {
    padding-top: 0;
}

.business-hero-panel strong {
    color: var(--text);
    font-size: 1rem;
}

.business-hero-panel li span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.business-panel-foot {
    margin-top: 18px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.67rem;
    line-height: 1.7;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.business-section,
.problem-section,
.about-home-section,
.lab-section {
    margin: 138px 0;
    scroll-margin-top: 104px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.solution-card {
    min-height: 250px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--border-soft);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--panel-raised), var(--panel));
}

.solution-card > span,
.process-grid article > span,
.problem-grid > div > span,
.lab-card > span {
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.solution-card h3 {
    margin: 22px 0 12px;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.solution-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.65;
}

.solution-card small {
    display: block;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.problem-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(32px, 6vw, 76px);
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--panel);
}

.problem-copy h2 {
    margin: 8px 0 18px;
    text-align: left;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.problem-copy p {
    margin: 0;
    color: var(--muted);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.problem-grid > div {
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
}

.problem-grid p {
    margin: 10px 0 0;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.55;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.process-grid article {
    min-height: 230px;
    padding: 26px;
    border-top: 2px solid var(--green);
    background: var(--panel);
}

.process-grid h3 {
    margin: 24px 0 10px;
    font-size: 1.28rem;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.about-home-section {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(92, 159, 235, 0.045), transparent 42%),
        var(--panel);
}

.about-home-media {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.about-home-media img {
    display: block;
    width: min(330px, 100%);
    height: auto;
    border-radius: 50%;
}

.about-home-media span {
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}

.about-home-copy h2 {
    max-width: 720px;
    margin: 8px 0 22px;
    text-align: left;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-home-copy p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.72;
}

.about-home-copy p strong {
    color: var(--text);
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lab-card {
    display: block;
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.lab-card:hover,
.lab-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--green);
}

.lab-card h3 {
    margin: 24px 0 10px;
    font-size: 1.35rem;
}

.lab-card p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.65;
}

.lab-card strong {
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.77rem;
}

.home-page .business-contact {
    margin-top: 148px;
    scroll-margin-top: 104px;
}

.business-contact > .section-kicker {
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.business-contact h2 {
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
    text-wrap: balance;
}

.business-hero-panel,
.solution-card,
.problem-section,
.process-grid article,
.about-home-section,
.lab-card {
    background-color: #ffffff;
    box-shadow: 0 14px 38px rgba(31, 52, 78, 0.045);
}

.problem-grid > div {
    background: #f5f8fc;
}

@media (max-width: 980px) {
    .business-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .business-hero-panel {
        width: 100%;
    }

    .problem-section,
    .about-home-section {
        grid-template-columns: 1fr;
    }

    .about-home-media {
        justify-items: start;
    }

    .about-home-media span {
        text-align: left;
    }
}

@media (max-width: 760px) {
    .home-page main {
        width: min(100% - 30px, 1180px);
        padding-top: 6px;
    }

    .business-hero {
        gap: 34px;
        padding: 48px 0 66px;
    }

    .business-hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .business-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .business-hero-actions .lotse-button,
    .business-hero-actions .inline-cta {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .business-section,
    .problem-section,
    .about-home-section,
    .lab-section {
        margin: 92px 0;
        scroll-margin-top: 146px;
    }

    .solution-grid,
    .problem-grid,
    .process-grid,
    .lab-grid {
        grid-template-columns: 1fr;
    }

    .solution-card,
    .process-grid article,
    .lab-card {
        min-height: 0;
    }

    .problem-section,
    .about-home-section {
        padding: 24px 18px;
    }

    .about-home-media {
        justify-items: center;
    }

    .about-home-media span {
        text-align: center;
    }
}


/* === Business light refinement / system-ui ==================================== */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: #e7ece9;
    box-shadow: 0 8px 30px rgba(34, 53, 78, 0.045);
}

.site-wordmark-mark {
    background: #ffffff;
    border-color: #e2e9e5;
    box-shadow: 0 5px 16px rgba(34, 53, 78, 0.07);
}

.site-wordmark-main {
    letter-spacing: 0.075em;
}

.site-wordmark-tagline {
    letter-spacing: 0.105em;
}

.section-nav {
    font-weight: 500;
    letter-spacing: 0;
}

.language-switch {
    background: #ffffff;
    border-color: #dde6e1;
    box-shadow: 0 4px 16px rgba(34, 53, 78, 0.05);
    letter-spacing: 0.02em;
}

.language-switch a.is-active {
    color: #ffffff;
    background: var(--green);
    box-shadow: 0 3px 12px rgba(47, 101, 167, 0.16);
}

.business-hero {
    border-bottom-color: #e7ece9;
}

.business-hero h1 {
    color: var(--text);
    font-weight: 700;
}

.business-hero-panel,
.solution-card,
.problem-section,
.process-grid article,
.about-home-section,
.lab-card,
.proof-card,
.legal-panel,
.email-contact {
    background-color: #ffffff;
    box-shadow: 0 14px 38px rgba(31, 52, 78, 0.045);
}

.solution-card {
    background: #ffffff;
}

.problem-grid > div,
.lean-benefits > div,
.robshots-feature-points > div,
.robshots-mini-facts span {
    background: #f6f8f7;
}

.business-hero-panel {
    background:
        linear-gradient(145deg, rgba(47, 101, 167, 0.04), transparent 46%),
        #ffffff;
}

.about-home-section {
    background:
        linear-gradient(135deg, rgba(47, 101, 167, 0.035), transparent 42%),
        #ffffff;
}

.business-hero-lead,
.solution-card p,
.problem-grid p,
.process-grid p,
.about-home-copy p,
.lab-card p {
    font-family: var(--sans);
}

.lotse-button,
.inline-cta,
.hero-contact-button {
    font-family: var(--sans);
    font-weight: 600;
}

.footer-signature {
    font-family: var(--sans);
    letter-spacing: 0.015em;
}

/* Keep the public canvas intentionally white; hierarchy comes from spacing,
   borders and subtle panel shading rather than a page-wide tint. */
body {
    background: #ffffff;
}


/* === Business refinement v3: roomier header + floating scroll-to-top ===== */
@media (min-width: 721px) {
    .top-nav {
        min-height: 90px;
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .site-wordmark-mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 14px;
        padding: 3px;
    }

    .site-wordmark {
        gap: 12px;
    }
}

.back-to-top {
    position: fixed;
    right: clamp(18px, 2.2vw, 34px);
    bottom: clamp(18px, 2.2vw, 34px);
    z-index: 1150;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(47, 101, 167, 0.34);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--green);
    box-shadow: 0 10px 28px rgba(31, 52, 78, 0.12);
    font-family: var(--sans);
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease,
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
    transform: translateY(-2px);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(47, 101, 167, 0.18);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .top-nav {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-wordmark-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

/* v4: Terminal as the single Lab catcher */
.terminal-catcher {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: 330px;
    padding: clamp(30px, 4.5vw, 56px);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(31, 52, 78, 0.055);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.terminal-catcher:hover,
.terminal-catcher:focus-visible {
    transform: translateY(-3px);
    border-color: var(--green);
    box-shadow: 0 22px 58px rgba(31, 52, 78, 0.09);
}

.terminal-catcher-copy > span {
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.terminal-catcher-copy h3 {
    margin: 18px 0 14px;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.terminal-catcher-copy p {
    max-width: 650px;
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.68;
}

.terminal-catcher-copy strong {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--green);
    font-size: 0.92rem;
}

.terminal-catcher-screen {
    overflow: hidden;
    min-height: 235px;
    border: 1px solid #163b29;
    border-radius: 13px;
    background: #0b1510;
    box-shadow: 0 18px 36px rgba(7, 21, 13, 0.16);
    font-family: var(--mono);
}

.terminal-catcher-bar {
    display: flex;
    gap: 7px;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(132, 255, 181, 0.12);
    background: #101e16;
}

.terminal-catcher-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(217, 240, 224, 0.38);
}

.terminal-catcher-bar span {
    margin-left: 6px;
    color: rgba(216, 237, 223, 0.56);
    font-size: 0.66rem;
    letter-spacing: 0.04em;
}

.terminal-catcher-console {
    padding: 34px 28px;
    color: #d9eee0;
    font-size: clamp(0.72rem, 1.2vw, 0.88rem);
    line-height: 1.85;
}

.terminal-prompt {
    color: #5be287;
}

.terminal-output {
    color: rgba(217, 238, 224, 0.58);
}

.terminal-cursor {
    color: #5be287;
    animation: terminal-cursor-blink 1.05s steps(1) infinite;
}

@keyframes terminal-cursor-blink {
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .terminal-cursor { animation: none; }
}

@media (max-width: 860px) {
    .terminal-catcher {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .terminal-catcher {
        padding: 24px;
        min-height: 0;
    }

    .terminal-catcher-screen {
        min-height: 205px;
    }

    .terminal-catcher-console {
        padding: 28px 20px;
    }
}

/* === Business v9: brand palette ===========================================
   Main interface follows the blue/cyan LotseLogik logo. The terminal catcher
   deliberately keeps a green console accent as a technical Easter egg.
   ========================================================================== */

.terminal-catcher {
    --green: #087a43;
    --green-soft: rgba(8, 122, 67, 0.075);
    --border: rgba(8, 122, 67, 0.22);
}

.project-examples-note {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(92, 159, 235, 0.035));
    color: var(--muted);
}

.project-examples-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.project-examples-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* === Business v5: application examples =================================== */
.project-catcher-card-wide {
    grid-column: 1 / -1;
}

.project-catcher-media img {
    height: 190px;
    object-position: top center;
}

.project-catcher-card-wide .project-catcher-media img {
    height: clamp(220px, 28vw, 340px);
}

.project-image-count {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 6px 9px;
    border: 1px solid rgba(47, 101, 167, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #234e82;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    box-shadow: 0 5px 18px rgba(36, 57, 84, 0.08);
}

@media (max-width: 720px) {
    .project-catcher-card-wide {
        grid-column: auto;
    }

    .project-catcher-media img,
    .project-catcher-card-wide .project-catcher-media img {
        height: 170px;
    }
}


/* === Business refinement v6: standalone pages + stronger brand mark ====== */
@media (min-width: 721px) {
    .top-nav {
        min-height: 98px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-wordmark-mark {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .site-wordmark {
        gap: 13px;
    }
}

@media (max-width: 720px) {
    .site-wordmark-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}

/* About, privacy and legal information are normal pages, not modal content. */
.content-page main {
    width: min(1180px, calc(100% - 40px));
    padding: clamp(46px, 6vw, 86px) 0 46px;
}

.content-page .footer-menu,
.content-page .footer-location,
.content-page .footer-signature,
.content-page .copyright {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.legal-page {
    background: #f7f9fc;
}

.legal-page main {
    width: min(1120px, calc(100% - 40px));
}

.legal-page main > h1 {
    max-width: 980px;
    margin: 0 auto 30px;
    text-align: left;
}

.legal-page main > h1 span {
    max-width: 920px;
}

.legal-page .intro {
    max-width: 980px;
    margin: 0 auto 30px;
    text-align: left;
}

.legal-page .legal-panel {
    max-width: 980px;
    background: #ffffff;
    box-shadow: 0 16px 46px rgba(36, 57, 84, 0.055);
}

.about-page main {
    width: min(1240px, calc(100% - 40px));
}

.about-page-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(44px, 7vw, 90px);
    align-items: center;
    margin-bottom: clamp(70px, 8vw, 118px);
}

.about-page-portrait {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.about-page-portrait img {
    display: block;
    width: min(390px, 100%);
    height: auto;
    border-radius: 50%;
    box-shadow: 0 22px 60px rgba(31, 52, 78, 0.11), 0 0 0 1px rgba(47, 101, 167, 0.14);
}

.about-page-portrait span {
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-align: center;
}

.about-page-hero-copy h1 {
    max-width: 820px;
    margin: 12px 0 26px;
    font-size: clamp(2.65rem, 5.2vw, 5.4rem);
    line-height: 0.98;
    text-align: left;
}

.about-page-hero-copy > p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about-page-hero-copy .about-page-lead {
    color: var(--text);
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    line-height: 1.55;
}

.about-page-hero-copy .lotse-button {
    margin-top: 10px;
}

.about-page-section {
    margin: clamp(64px, 8vw, 112px) 0;
}

.about-page-section .section-heading-row h2,
.about-tinkerer h2,
.about-background h2,
.about-page-cta h2 {
    text-align: left;
}

.about-timeline,
.about-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.about-timeline article,
.about-principles article {
    padding: 30px;
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--green);
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(31, 52, 78, 0.045);
}

.about-timeline article > span,
.about-principles article > span {
    display: block;
    margin-bottom: 24px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.about-timeline h3,
.about-principles h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.about-timeline p,
.about-principles p {
    margin: 0;
    color: var(--muted);
}

.about-tinkerer {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 6vw, 82px);
    padding: clamp(32px, 5vw, 58px);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(47, 101, 167, 0.035), transparent 46%), #ffffff;
    box-shadow: 0 16px 44px rgba(31, 52, 78, 0.045);
}

.about-tinkerer-copy p,
.about-background-grid p {
    color: var(--muted);
    font-size: 1.05rem;
}

.about-background {
    padding: 0 clamp(4px, 3vw, 36px);
}

.about-background-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 68px);
    margin-top: 28px;
}

.about-page-cta {
    margin: clamp(76px, 9vw, 126px) auto 70px;
    padding: clamp(38px, 6vw, 68px);
    max-width: 980px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(31, 52, 78, 0.05);
    text-align: center;
}

.about-page-cta h2 {
    max-width: 760px;
    margin: 12px auto 18px;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.about-page-cta > p {
    max-width: 720px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 1.08rem;
}

.about-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 24px;
}

@media (max-width: 900px) {
    .about-page-hero,
    .about-tinkerer {
        grid-template-columns: 1fr;
    }

    .about-page-portrait img {
        width: min(320px, 72vw);
    }

    .about-page-hero-copy {
        text-align: center;
    }

    .about-page-hero-copy h1,
    .about-page-section .section-heading-row h2,
    .about-tinkerer h2,
    .about-background h2 {
        text-align: center;
    }

    .about-page-hero-copy > p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-timeline,
    .about-principles {
        grid-template-columns: 1fr;
    }

    .about-background-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 720px) {
    .content-page main,
    .about-page main,
    .legal-page main {
        width: min(100% - 28px, 1240px);
        padding-top: 34px;
    }

    .about-page-hero {
        gap: 30px;
    }

    .about-page-hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.7rem);
    }

    .about-timeline article,
    .about-principles article,
    .about-tinkerer,
    .about-page-cta {
        padding: 24px 20px;
    }
}

/* === Business refinement v7: consistent navigation on subpages ========== */
.section-nav a[aria-current] {
    color: var(--green);
    background: var(--green-soft);
}


/* === Business refinement v18: final brand polish ========================= */
/* Keep the header mark as the logo itself — no card, frame or white tile. */
.site-wordmark-mark,
.site-header .site-wordmark-mark {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-wordmark-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(0.96) contrast(1.02);
}

/* Technical micro-headings remain part of the identity, but read a little calmer. */
.section-kicker {
    letter-spacing: 0.12em;
}

.business-kicker,
.business-panel-label {
    letter-spacing: 0.11em;
}

.project-catcher-top {
    letter-spacing: 0.065em;
}


/* === Business refinement v19: stronger mono microtype ==================== */
/* ui-monospace remains a technical accent, but is intentionally large enough
   to stay readable on high-resolution desktop displays. */
.section-kicker {
    font-size: 0.79rem;
    line-height: 1.45;
}

.business-kicker,
.business-panel-label {
    font-size: 0.79rem;
    line-height: 1.45;
}

.business-panel-foot {
    font-size: 0.73rem;
    line-height: 1.65;
}

.solution-card > span,
.process-grid article > span,
.problem-grid > div > span,
.lab-card > span,
.terminal-catcher-copy > span {
    font-size: 0.75rem;
}

.project-catcher-top {
    font-size: 0.73rem;
    line-height: 1.45;
}

.project-catcher-top span:first-child {
    font-size: 0.86rem;
}

.project-image-count {
    font-size: 0.67rem;
}

.about-home-media span {
    font-size: 0.74rem;
    line-height: 1.45;
}

.footer-location {
    font-size: 0.82rem;
    line-height: 1.55;
    letter-spacing: 0.045em;
}

@media (max-width: 720px) {
    .section-kicker,
    .business-kicker,
    .business-panel-label {
        font-size: 0.74rem;
    }

    .business-panel-foot,
    .footer-location {
        font-size: 0.72rem;
    }
}

/* === Business refinement v20: system-ui for business microtype =============== */
/* Keep monospace typography for terminal/code contexts only. The business
   interface uses system-ui throughout for a calmer, more readable presentation. */
.home-page .business-kicker,
.home-page .business-panel-label,
.home-page .business-panel-foot,
.home-page .section-kicker,
.home-page .solution-card > span,
.home-page .problem-grid > div > span,
.home-page .project-catcher-top,
.home-page .project-image-count,
.home-page .project-catcher-tags span,
.home-page .process-grid article > span,
.home-page .about-home-media span,
.home-page .footer-location,
.home-page .footer-signature {
    font-family: var(--sans);
}

.home-page .business-kicker,
.home-page .business-panel-label,
.home-page .section-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.085em;
}

.home-page .business-panel-foot {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.045em;
}

.home-page .project-catcher-top,
.home-page .process-grid article > span,
.home-page .solution-card > span {
    font-weight: 700;
    letter-spacing: 0.055em;
}

.home-page .problem-grid > div > span,
.home-page .project-image-count,
.home-page .project-catcher-tags span,
.home-page .about-home-media span {
    font-weight: 600;
    letter-spacing: 0.045em;
}

.home-page .footer-location {
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.025em;
}

@media (max-width: 720px) {
    .home-page .business-kicker,
    .home-page .business-panel-label,
    .home-page .section-kicker {
        font-size: 0.74rem;
        letter-spacing: 0.07em;
    }
}


/* === Business refinement v22: restrained accent gradients =============== */
:root {
    --panel-tint-top: #f8fbff;
    --panel-tint-bottom: #eef5fc;
    --panel-accent-glow: rgba(74, 160, 220, 0.10);
    --panel-accent-glow-strong: rgba(74, 160, 220, 0.14);
}

.problem-section {
    border-color: rgba(47, 101, 167, 0.16);
    background:
        radial-gradient(circle at 12% 18%, var(--panel-accent-glow), transparent 34%),
        linear-gradient(135deg, #fbfdff 0%, #f3f8fd 100%);
    box-shadow: 0 16px 42px rgba(31, 52, 78, 0.05);
}

.problem-grid > div {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.home-page .business-contact {
    position: relative;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
    padding: clamp(38px, 5vw, 64px);
    border: 1px solid rgba(47, 101, 167, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 15% 20%, var(--panel-accent-glow-strong), transparent 38%),
        linear-gradient(135deg, var(--panel-tint-top) 0%, var(--panel-tint-bottom) 100%);
    box-shadow: 0 18px 48px rgba(31, 52, 78, 0.055);
}

.home-page .business-contact::before,
.about-page-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 18%, transparent 100%);
}

.home-page .business-contact h2,
.home-page .business-contact .section-intro {
    position: relative;
    z-index: 1;
}

.home-page .contact-methods {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin-top: 36px;
    justify-items: center;
}

.home-page .email-contact {
    width: min(100%, 760px);
    max-width: 760px;
    justify-self: center;
    padding: clamp(30px, 4vw, 40px);
    border-color: rgba(47, 101, 167, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(31, 52, 78, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-page .email-contact .startBtn,
.about-page-cta .lotse-button {
    border-color: rgba(47, 101, 167, 0.86);
    background: var(--green);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(47, 101, 167, 0.18);
}

.home-page .email-contact .startBtn:hover,
.home-page .email-contact .startBtn:focus-visible,
.about-page-cta .lotse-button:hover,
.about-page-cta .lotse-button:focus-visible {
    background: #275b9b;
    color: #ffffff;
    border-color: #275b9b;
    transform: translateY(-1px);
}

.about-page-cta {
    position: relative;
    overflow: hidden;
    border-color: rgba(47, 101, 167, 0.18);
    background:
        radial-gradient(circle at 16% 20%, var(--panel-accent-glow-strong), transparent 38%),
        linear-gradient(135deg, var(--panel-tint-top) 0%, var(--panel-tint-bottom) 100%);
    box-shadow: 0 18px 48px rgba(31, 52, 78, 0.055);
}

.about-page-cta > * {
    position: relative;
    z-index: 1;
}

.about-page-actions .inline-cta {
    font-weight: 600;
}

@media (max-width: 760px) {
    .home-page .business-contact {
        padding: 28px 18px;
        border-radius: 20px;
    }

    .home-page .email-contact,
    .about-page-cta {
        border-radius: 18px;
    }

    .home-page .email-contact .startBtn,
    .about-page-cta .lotse-button {
        width: 100%;
        text-align: center;
    }
}

/* === Business refinement v25: 3D CSS cube in Labor / Lab ================= */
.lab-cube-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(34px, 6vw, 86px);
    align-items: center;
    margin: 34px 0 22px;
    padding: clamp(30px, 4.5vw, 56px);
    overflow: hidden;
    border: 1px solid rgba(47, 101, 167, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 78% 32%, rgba(47, 101, 167, 0.10), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(54, 191, 223, 0.10), transparent 26%),
        linear-gradient(135deg, #fbfdff 0%, #f3f8fd 100%);
    box-shadow: 0 18px 48px rgba(31, 52, 78, 0.055);
}

.lab-cube-copy {
    position: relative;
    z-index: 2;
}

.lab-cube-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--green);
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
}

.lab-cube-copy h3 {
    max-width: 560px;
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.lab-cube-copy p {
    max-width: 620px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.lab-cube-copy small {
    color: var(--muted);
    font-size: 0.78rem;
}

.lab-cube-stage {
    --cube-size: clamp(190px, 20vw, 250px);
    display: grid;
    min-height: 390px;
    place-items: center;
    perspective: 1000px;
    perspective-origin: 50% 45%;
}

.lab-cube {
    position: relative;
    width: var(--cube-size);
    height: var(--cube-size);
    transform-style: preserve-3d;
    animation: lotse-cube-spin 24s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    will-change: transform;
}

.lab-cube-stage:hover .lab-cube,
.lab-cube-stage:focus-within .lab-cube {
    animation-play-state: paused;
}

.lab-cube-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(47, 101, 167, 0.30);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(235, 246, 255, 0.97));
    box-shadow:
        inset 0 0 34px rgba(54, 191, 223, 0.06),
        0 8px 24px rgba(31, 52, 78, 0.08);
    color: var(--text);
    text-align: center;
    backface-visibility: hidden;
}

.lab-cube-face::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(47, 101, 167, 0.09);
    pointer-events: none;
}

.lab-cube-face span {
    color: var(--green);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lab-cube-face strong {
    max-width: 84%;
    font-size: clamp(1rem, 1.65vw, 1.28rem);
    line-height: 1.22;
}

.lab-cube-front  { transform: translateZ(calc(var(--cube-size) / 2)); }
.lab-cube-back   { transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
.lab-cube-right  { transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2)); }
.lab-cube-left   { transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
.lab-cube-top    { transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2)); }
.lab-cube-bottom { transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2)); }

@keyframes lotse-cube-spin {
    0%   { transform: rotateX(-18deg) rotateY(0deg); }
    15%  { transform: rotateX(-18deg) rotateY(90deg); }
    30%  { transform: rotateX(-18deg) rotateY(180deg); }
    45%  { transform: rotateX(-18deg) rotateY(270deg); }
    60%  { transform: rotateX(-18deg) rotateY(360deg); }
    72%  { transform: rotateX(-92deg) rotateY(360deg); }
    84%  { transform: rotateX(92deg) rotateY(360deg); }
    100% { transform: rotateX(-18deg) rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .lab-cube {
        animation: none;
        transform: rotateX(-18deg) rotateY(32deg);
    }
}

@media (max-width: 900px) {
    .lab-cube-feature {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lab-cube-copy h3,
    .lab-cube-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .lab-cube-stage {
        min-height: 330px;
    }
}

@media (max-width: 560px) {
    .lab-cube-feature {
        padding: 28px 18px;
    }

    .lab-cube-stage {
        --cube-size: min(58vw, 205px);
        min-height: 285px;
    }

    .lab-cube-face {
        padding: 14px;
    }

    .lab-cube-face strong {
        font-size: 0.95rem;
    }
}

/* ===== Projektseiten ===== */
/* LotseLogik v2 — designed to sit alongside the original site stylesheet. */
:root{--rn-bg:#09111f;--rn-bg2:#0d1828;--rn-ink:#f2f6ff;--rn-muted:#a7b6ca;--rn-border:rgba(160,190,230,.17);--rn-mint:#b6f2d4;--rn-blue:#86aefd;--rn-shadow:0 30px 80px rgba(0,0,0,.22)}
body.kurs-mode{background:var(--rn-bg);color:var(--rn-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.6;color-scheme:dark;min-width:320px}
body.kurs-mode main{background:var(--rn-bg);color:var(--rn-ink)}
.kurs-mode a{color:inherit}
.kurs-mode a:focus-visible,.kurs-mode button:focus-visible,.kurs-mode textarea:focus-visible{outline:3px solid var(--rn-mint);outline-offset:4px}
.kurs-mode button{font-family:inherit}
.kurs-mode .site-header{background:rgba(8,16,29,.90);border-bottom:1px solid var(--rn-border);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.kurs-mode .top-nav{max-width:1320px;width:calc(100% - 72px);min-height:86px;gap:22px}
.kurs-mode .site-wordmark{display:flex;align-items:center;gap:10px;min-width:225px;color:var(--rn-ink)}
.kurs-mode .site-wordmark-mark{width:49px;height:49px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.96);border-radius:13px;padding:6px;overflow:hidden}
.kurs-mode .site-wordmark-mark img{max-width:100%;max-height:100%;width:100%;height:auto;object-fit:contain}
.kurs-mode .site-wordmark-name,.kurs-mode .site-wordmark-domain{color:#fff;font-size:12px;letter-spacing:.08em;font-weight:800}
.kurs-mode .site-wordmark-domain{color:var(--rn-mint)}
.kurs-mode .site-wordmark-separator{color:#61718a}
.kurs-mode .site-wordmark-tagline{color:#899fb9;font:9px ui-monospace,monospace;letter-spacing:.035em;white-space:nowrap}
.kurs-mode .section-nav{display:flex;align-items:center;justify-content:flex-end;gap:24px;min-width:0}
.kurs-mode .section-nav a{color:#adbbce;font:600 10px ui-monospace,monospace;letter-spacing:.055em;white-space:nowrap;transition:color .2s}
.kurs-mode .section-nav a:hover,.kurs-mode .section-nav a:focus-visible{color:var(--rn-mint)}
.kurs-mode .header-tools{justify-self:end}
.kurs-mode .language-switch{border:1px solid rgba(188,213,245,.19);border-radius:99px;padding:6px 10px;display:flex;gap:7px;color:#7188a4;font-size:11px;background:rgba(255,255,255,.035)}
.kurs-mode .language-switch a{font-size:10px;color:#8797ad}
.kurs-mode .language-switch a.is-active{color:var(--rn-mint)}
.kurs{overflow:hidden;isolation:isolate}
.kurs *{box-sizing:border-box}
.kurs-wrap{width:min(1200px,calc(100% - 88px));margin-left:auto;margin-right:auto}
.kurs h1,.kurs h2,.kurs h3,.kurs h4,.kurs p,.kurs figure{margin:0}
.kurs p{color:var(--rn-muted)}
.kurs-eyebrow,.kurs-kicker,.kurs-mono-mini,.kurs-small-label{font:700 11px/1.6 ui-monospace,ui-monospace,monospace;letter-spacing:.085em;color:var(--rn-mint)}
.kurs-kicker{display:block;margin-bottom:23px}
.kurs-section{padding-top:115px;padding-bottom:115px;scroll-margin-top:100px}
.kurs-section-head{display:grid;grid-template-columns:1.1fr .68fr;gap:80px;align-items:end;margin-bottom:45px}
.kurs-section-head h2,.kurs-ai h2,.kurs-lab-band h2,.kurs-about-band h2{font-size:clamp(32px,4.6vw,62px);line-height:1.105;letter-spacing:-.055em;font-weight:800;color:#f4f7ff}
.kurs-section-head h2 span,.kurs-ai h2 span,.kurs-lab-band h2 span,.kurs-about-band h2 span{color:var(--rn-mint)}
.kurs-section-head>p{font-size:16px;line-height:1.85;max-width:380px;justify-self:end}
.kurs-btn{min-height:55px;display:inline-flex;gap:26px;align-items:center;justify-content:space-between;border-radius:9px;padding:13px 21px;font:700 12px ui-monospace,monospace;transition:transform .18s,background .18s,border-color .18s;letter-spacing:-.02em;text-decoration:none;border:1px solid transparent}
.kurs-btn:hover{transform:translateY(-2px)}
.kurs-btn-primary{background:var(--rn-mint);color:#0c1d22!important;box-shadow:0 13px 42px rgba(182,242,212,.09)}
.kurs-btn-primary:hover{background:#d8ffe7}
.kurs-btn-text{background:transparent;color:#e7f0ff!important;padding-left:4px;padding-right:5px}
.kurs-btn-text:hover{color:var(--rn-mint)!important}
.kurs-btn-light{background:#f3fff9;color:#101d22!important}
.kurs-btn-light:hover{background:#c7ffe5}
.kurs-hero{min-height:735px;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:55px;align-items:center;padding-top:70px;padding-bottom:85px;position:relative}
.kurs-hero:before{content:'';position:absolute;pointer-events:none;left:-25%;top:0;width:95%;height:100%;background:radial-gradient(ellipse at 48% 40%,rgba(21,56,77,.25),transparent 64%);z-index:-1}
.kurs-hero-copy{position:relative;z-index:1}
.kurs-eyebrow{display:flex;align-items:center;gap:12px;color:#a5b9cf;font-size:10px}
.kurs-live-dot{width:8px;height:8px;border-radius:50%;background:#b7f3d2;box-shadow:0 0 0 5px rgba(182,242,212,.10),0 0 24px rgba(182,242,212,.22)}
.kurs-hero h1{font-size:clamp(48px,5.3vw,80px);letter-spacing:-.065em;line-height:1.075;font-weight:800;margin:31px 0 27px;max-width:730px;color:#f6f8ff}
.kurs-hero h1 em{font-style:normal;color:var(--rn-mint)}
.kurs-lead{font-size:17px;line-height:1.9;max-width:590px}
.kurs-hero-ctas{margin-top:34px;display:flex;flex-wrap:wrap;gap:23px;align-items:center}
.kurs-hero-attribution{display:flex;align-items:center;gap:15px;margin-top:50px;color:#849cb4;font:10px ui-monospace,monospace}
.kurs-attrib-line{width:25px;height:1px;background:var(--rn-mint)}
.kurs-hero-visual{position:relative;max-width:620px;min-width:0;padding:25px 0}
.kurs-visual-glow{position:absolute;z-index:-1;inset:0 -25px;background:radial-gradient(ellipse at center,rgba(60,116,172,.25),transparent 70%);filter:blur(5px)}
.kurs-console{border:1px solid rgba(139,184,231,.28);border-radius:16px;background:linear-gradient(145deg,#14243a 0%,#0c1728 80%);box-shadow:0 40px 95px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.04);overflow:hidden;transform:rotate(1deg)}
.kurs-console-bar{min-height:53px;background:rgba(255,255,255,.035);border-bottom:1px solid rgba(177,209,239,.10);display:flex;align-items:center;gap:17px;padding:0 19px;font:9px ui-monospace,monospace;letter-spacing:.04em;color:#91a5bd}
.kurs-window-controls{display:flex;gap:6px}
.kurs-window-controls i,.kurs-lab-mock-head i{display:block;width:8px;height:8px;background:#3d536e;border-radius:50%}
.kurs-window-controls i:first-child,.kurs-lab-mock-head i:first-child{background:#fa947e}
.kurs-window-controls i:nth-child(2),.kurs-lab-mock-head i:nth-child(2){background:#f8c473}
.kurs-window-controls i:nth-child(3),.kurs-lab-mock-head i:nth-child(3){background:#8fdcb1}
.kurs-online{margin-left:auto;white-space:nowrap;color:#b8f8d4;display:flex;align-items:center;gap:7px}
.kurs-online i,.kurs-console-foot i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#aaf4d0}
.kurs-console-inner{padding:30px}
.kurs-console-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}
.kurs-mono-mini{color:#77a2ca;font-size:9px;font-weight:400;letter-spacing:0}
.kurs-console-heading h2{color:#f0f7ff;font-size:21px;letter-spacing:-.04em;line-height:1.3;margin:9px 0 5px}
.kurs-console-heading p{font-size:11px;color:#879eb7;line-height:1.6}
.kurs-console-icon{border:1px solid rgba(162,201,232,.19);width:37px;height:37px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:var(--rn-mint);font-size:21px}
.kurs-workflow-steps{margin-top:34px}
.kurs-workflow-step{display:flex;align-items:center;gap:14px;padding:14px 14px;border-radius:10px;border:1px solid rgba(153,190,229,.13);background:rgba(255,255,255,.025)}
.kurs-ws-active{border-color:rgba(182,242,212,.45);background:rgba(126,233,173,.06)}
.kurs-ws-icon{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:8px;background:rgba(120,163,219,.13);color:#a5c0ef;font-size:21px;flex-shrink:0}
.kurs-ws-active .kurs-ws-icon{background:rgba(182,242,212,.14);color:var(--rn-mint)}
.kurs-workflow-step>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.kurs-workflow-step small{color:#8ba5bd;font:9px ui-monospace,monospace}
.kurs-workflow-step strong{color:#e8f2ff;font-size:13px;font-weight:600;line-height:1.35}
.kurs-ws-ok{margin-left:auto;color:#9ddaba;font-size:18px}
.kurs-ws-loader{margin-left:auto;width:14px;height:14px;border:2px solid rgba(176,242,212,.2);border-top-color:var(--rn-mint);border-radius:50%;animation:kursspin 2s linear infinite}
@keyframes kursspin{to{transform:rotate(360deg)}}
.kurs-workflow-connector{height:19px;margin-left:31px;border-left:1px dashed rgba(147,181,212,.35)}
.kurs-console-foot{border-top:1px solid rgba(166,195,230,.13);padding:15px 26px;display:flex;justify-content:space-between;color:#69839f;font:9px ui-monospace,monospace}
.kurs-logo-accent{color:var(--rn-mint)}
.kurs-console-foot i{margin-left:6px}
.kurs-console-note{display:block;text-align:center;margin-top:25px;color:#6e8198;font:9px ui-monospace,monospace}
.kurs-proof{border-block:1px solid var(--rn-border);background:rgba(255,255,255,.012)}
.kurs-proof-inner{padding-top:22px;padding-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.kurs-proof-inner>span{font:9px ui-monospace,monospace;color:#67809a}
.kurs-proof-inner>strong{font:600 10px ui-monospace,monospace;letter-spacing:.055em;color:#9ab1c8}
.kurs-proof-inner .kurs-proof-sep{color:var(--rn-mint);font-size:14px}
.kurs-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.kurs-service-card{position:relative;display:flex;flex-direction:column;min-height:340px;padding:29px 28px;border-radius:14px;background:#101d2e;border:1px solid var(--rn-border);transition:transform .25s,border-color .25s,background .25s;overflow:hidden}
.kurs-service-card:hover{transform:translateY(-6px);border-color:rgba(185,237,217,.37);background:#122439}
.kurs-service-card:after{content:'';position:absolute;width:200px;height:200px;top:-95px;right:-115px;border-radius:50%;background:radial-gradient(circle,rgba(138,186,251,.1),transparent 70%);pointer-events:none}
.kurs-card-top{display:flex;justify-content:space-between;align-items:start}
.kurs-service-num{color:#6c88a4;font:11px ui-monospace,monospace}
.kurs-service-glyph{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid rgba(170,205,231,.18);border-radius:12px;color:var(--rn-mint);font-size:31px}
.kurs-service-card h3{font-size:24px;line-height:1.3;letter-spacing:-.04em;color:#f2f7ff;margin:33px 0 15px}
.kurs-service-card p{font-size:14px;line-height:1.75;max-width:340px}
.kurs-service-foot{margin-top:auto;padding-top:23px;color:#8198b4;font:9px/1.7 ui-monospace,monospace;letter-spacing:.03em}
.kurs-projects{background:#edf3f9;color:#18263c}
.kurs-projects .kurs-kicker{color:#346b88}
.kurs-projects .kurs-section-head h2{color:#14283d}
.kurs-projects .kurs-section-head h2 span{color:#2b6997}
.kurs-projects .kurs-section-head>p{color:#5d7288}
.kurs-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.kurs-project-card{min-width:0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 22px 55px rgba(31,63,99,.075);border:1px solid rgba(25,70,110,.08);transition:transform .23s,box-shadow .23s}
.kurs-project-card:hover{transform:translateY(-6px);box-shadow:0 28px 65px rgba(26,67,108,.15)}
.kurs-project-link{display:flex;flex-direction:column;height:100%}
.kurs-project-media{height:220px;position:relative;background:#dfe9f4;overflow:hidden;padding:18px}
.kurs-project-media img{width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 7px 15px rgba(36,58,86,.16));transition:transform .25s}
.kurs-project-card:hover img{transform:scale(1.045)}
.kurs-project-image-mark{position:absolute;top:15px;left:16px;display:block;padding:4px 8px;border:1px solid rgba(16,53,94,.17);background:rgba(255,255,255,.80);color:#39546e;font:10px ui-monospace,monospace;border-radius:5px}
.kurs-project-body{display:flex;flex:1;flex-direction:column;padding:26px 27px 28px}
.kurs-project-category{font:700 9px ui-monospace,monospace;letter-spacing:.065em;color:#386a9b;text-transform:uppercase}
.kurs-project-body h3{margin:13px 0 12px;color:#172d43;font-size:21px;line-height:1.35;letter-spacing:-.04em}
.kurs-project-body p{font-size:13px;line-height:1.75;color:#63788d}
.kurs-project-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#135c7e;font:700 11px ui-monospace,monospace;padding-top:28px;margin-top:auto}
.kurs-project-cta span{font-size:18px}
.kurs-more-projects{display:grid;grid-template-columns:200px 1fr;gap:24px;margin-top:50px;border-top:1px solid #cbd7e4;padding-top:30px}
.kurs-more-label{font:700 11px ui-monospace,monospace;color:#53728d}
.kurs-more-list a{display:grid;grid-template-columns:40px 84px 1fr minmax(110px,.65fr) 23px;align-items:center;gap:12px;padding:19px 0;border-bottom:1px solid #d6dfe9;transition:padding .2s}
.kurs-more-list a:hover{padding-left:10px}
.kurs-more-thumb{width:84px;height:55px;border-radius:6px;background:#dce8f1;object-fit:contain;padding:3px}
.kurs-more-list a>span,.kurs-more-list a>small{color:#67839c;font:10px ui-monospace,monospace}
.kurs-more-list a>strong{font-size:14px;color:#20364b;font-weight:600}
.kurs-more-list a>b{color:#34699a;font-size:19px}
.kurs-ai{display:grid;grid-template-columns:1fr .85fr;align-items:center;gap:105px}
.kurs-ai-copy p{max-width:520px;font-size:17px;line-height:1.9;margin-top:25px}
.kurs-ai-note{margin-top:33px;display:flex;align-items:flex-start;gap:15px;max-width:520px;border-top:1px solid var(--rn-border);padding-top:21px;color:#93a9c1;font-size:13px;line-height:1.8}
.kurs-ai-note span{color:var(--rn-mint);font-size:20px;line-height:1}
.kurs-ai-flow{border:1px solid rgba(150,205,225,.21);border-radius:14px;background:linear-gradient(160deg,#102337,#0e1829);padding:24px;box-shadow:var(--rn-shadow)}
.kurs-ai-flow-head{display:flex;justify-content:space-between;color:#86a6c0;font:10px ui-monospace,monospace;border-bottom:1px solid var(--rn-border);padding-bottom:18px;margin-bottom:22px}
.kurs-ai-node{display:flex;align-items:center;gap:15px;padding:17px;border:1px solid rgba(142,191,225,.16);background:rgba(255,255,255,.025);border-radius:10px}
.kurs-ai-node-icon{font-size:22px;color:var(--rn-mint);display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;background:rgba(182,242,212,.10);flex-shrink:0}
.kurs-ai-node div{display:flex;flex-direction:column;gap:3px}
.kurs-ai-node small{font:10px ui-monospace,monospace;color:#81a2bf}
.kurs-ai-node strong{font-size:14px;color:#edf8ff;font-weight:600}
.kurs-ai-arrow{text-align:center;color:#7298b2;font-size:20px;line-height:29px}
.kurs-ai-flow-foot{margin-top:20px;padding:14px 2px 1px;color:#8db8a9;font:11px ui-monospace,monospace;border-top:1px solid var(--rn-border)}
.kurs-cursor{color:var(--rn-mint);animation:kursblink 1.5s step-end infinite}@keyframes kursblink{50%{opacity:0}}
.kurs-lab-band{background:linear-gradient(125deg,#b5eed5 0%,#c7f3df 50%,#d8f0e4 100%);color:#0d282d}
.kurs-lab-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.kurs-lab-band .kurs-kicker{color:#2d726d}
.kurs-lab-band h2,.kurs-lab-band h2 span{color:#0d292c}
.kurs-lab-copy p{max-width:510px;color:#385f62;line-height:1.9;margin:25px 0 29px;font-size:16px}
.kurs-lab-caption{font:10px ui-monospace,monospace;color:#567c74;margin-top:18px}
.kurs-lab-mock{border-radius:14px;overflow:hidden;background:#0d1c29;box-shadow:0 30px 70px rgba(18,79,67,.2);border:1px solid rgba(4,44,47,.25);transform:rotate(-1.5deg)}
.kurs-lab-mock-head{background:#172c3a;padding:14px 18px;display:flex;align-items:center;gap:6px}
.kurs-lab-mock-head span{font:9px ui-monospace,monospace;color:#a0b3c6;margin-left:12px}
.kurs-mock-terminal{display:flex;flex-direction:column;gap:11px;padding:28px;color:#a1b9d5;font:11px ui-monospace,monospace;line-height:1.6}
.kurs-mock-terminal .kurs-mock-green{color:#b0eacd}
.kurs-mock-result{margin:0 25px 25px;border-radius:9px;background:#eef5f8;padding:19px}
.kurs-mock-result-top{display:flex;align-items:center;justify-content:space-between;font:9px ui-monospace,monospace;color:#42677b;margin-bottom:20px}
.kurs-mock-result-top span:last-child{background:#d7f3e5;padding:5px;border-radius:4px;color:#247059}
.kurs-mock-line{height:9px;margin:10px 0;border-radius:50px;background:#c9dce7}.kurs-mock-line.long{width:91%}.kurs-mock-line.med{width:75%}.kurs-mock-line.short{width:48%}
.kurs-mock-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.kurs-mock-tags span{font:8px ui-monospace,monospace;color:#40776b;border:1px solid #b7dbce;border-radius:4px;padding:5px 6px}
.kurs-process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;border-top:1px solid var(--rn-border);margin-top:50px}
.kurs-process-item{padding-top:28px}.kurs-process-item>span{color:var(--rn-mint);font:10px ui-monospace,monospace}.kurs-process-item h3{font-size:24px;color:#f0f6ff;letter-spacing:-.04em;margin:45px 0 10px}.kurs-process-item p{max-width:310px;font-size:14px;line-height:1.85}
.kurs-about-band{background:#101e2f}
.kurs-about-grid{display:grid;grid-template-columns:380px 1fr;gap:100px;align-items:center}
.kurs-about-photo{position:relative;max-width:380px;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#1e3444}
.kurs-about-photo img{width:100%;height:100%;object-fit:cover}
.kurs-about-photo>span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(4,13,23,.8));color:#ecf7ff;padding:45px 20px 15px;font:10px ui-monospace,monospace}
.kurs-about-text p{max-width:590px;line-height:1.95;font-size:16px;margin:24px 0}
.kurs-inline-link{color:var(--rn-mint)!important;font:700 12px ui-monospace,monospace;display:inline-block;margin-top:10px}
.kurs-inline-link:hover{text-decoration:underline}
.kurs-contact{text-align:center;display:flex;flex-direction:column;align-items:center;gap:0;padding-top:130px;padding-bottom:140px}
.kurs-contact .kurs-kicker{margin-bottom:24px}
.kurs-contact h2{max-width:820px;font-size:clamp(35px,5.5vw,72px);line-height:1.12;letter-spacing:-.06em;color:#f6faff}
.kurs-contact p{font-size:16px;line-height:1.9;max-width:680px;margin:26px auto 28px}
.kurs-contact small{font:10px ui-monospace,monospace;color:#6d87a1;margin-top:18px}
/* Footer is shared with the existing legal pages. */
/* LotseLogik 1.9 | A single, uninterrupted footer surface.
   Earlier shared rules put top margins on location, signature and copyright.
   Those margins exposed the main canvas between footer blocks as horizontal bands. */
.kurs-mode .footer-menu{border-top:1px solid var(--rn-border);background:#07101c;display:flex;justify-content:center;flex-wrap:wrap;gap:27px;margin:0;padding:39px 25px 20px}
.kurs-mode .footer-menu a,.kurs-mode .footer-menu .footer-link{font:600 11px ui-monospace,monospace;color:#8ca2bc}
.kurs-mode .footer-menu a:hover{color:var(--rn-mint)}
.kurs-mode .footer-location,.kurs-mode .footer-signature,.kurs-mode .ll-footer-brand,.kurs-mode .copyright{background:#07101c;border:0;box-shadow:none;margin:0;text-align:center}
.kurs-mode .footer-location{color:#6f879c;font-size:11px;padding:10px 20px 6px}
.kurs-mode .footer-signature{color:#7f96aa;font-size:11px;padding:0 20px 12px}
.kurs-mode .copyright{color:#647d99;font-size:11px;padding:12px 20px 32px}
/* Case study pages */
.kurs-backlink{display:inline-flex;gap:10px;align-items:center;color:#8eabc6!important;font:11px ui-monospace,monospace;margin-bottom:60px}.kurs-backlink:hover{color:var(--rn-mint)!important}
.kurs-detail-hero{padding-top:65px;padding-bottom:58px}
.kurs-detail-heading{display:grid;grid-template-columns:1.3fr .7fr;align-items:end;gap:55px}
.kurs-detail-heading h1{font-size:clamp(43px,6.2vw,79px);line-height:1.09;letter-spacing:-.065em;color:#f6f9ff;max-width:850px}
.kurs-detail-heading p{font-size:17px;line-height:1.9;max-width:420px}
.kurs-detail-labels{display:flex;flex-wrap:wrap;gap:10px;margin-top:40px}.kurs-detail-labels span{border:1px solid var(--rn-border);border-radius:5px;padding:7px 12px;font:10px ui-monospace,monospace;color:#9db6c9}
.kurs-detail-leadmedia{background:#dce8f4;border-radius:16px;min-height:280px;padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}
.kurs-detail-leadmedia img{width:100%;max-height:650px;object-fit:contain;border-radius:7px;box-shadow:0 22px 50px rgba(24,44,66,.15)}
.kurs-detail-leadmedia>span{font:11px ui-monospace,monospace;color:#43647d}
.kurs-detail-content{display:grid;grid-template-columns:1fr 290px;gap:100px}
.kurs-detail-story{display:grid;gap:39px}.kurs-detail-story article{display:grid;grid-template-columns:200px 1fr;gap:30px;border-top:1px solid var(--rn-border);padding-top:21px}
.kurs-detail-story article>span,.kurs-detail-stack .kurs-kicker{font:11px ui-monospace,monospace;color:var(--rn-mint)}
.kurs-detail-story p{line-height:1.9;font-size:16px}
.kurs-detail-stack>div{display:flex;flex-wrap:wrap;gap:9px}.kurs-detail-stack>div>span{font:10px ui-monospace,monospace;border:1px solid var(--rn-border);border-radius:5px;padding:7px 9px;color:#a9bdcc}
.kurs-gallery{padding-bottom:80px}.kurs-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:25px}
.kurs-gallery-grid a{position:relative;display:block;background:#dfeaf5;border-radius:10px;padding:18px;min-width:0}.kurs-gallery-grid img{width:100%;height:280px;object-fit:contain}.kurs-gallery-grid a span{position:absolute;right:14px;bottom:10px;color:#215a8a}
.kurs-detail-notice{font:12px/1.8 ui-monospace,monospace;color:#95afc9;border-top:1px solid var(--rn-border);padding-top:20px}
.kurs-detail-contact{border-block:1px solid var(--rn-border);display:flex;align-items:center;justify-content:space-between;gap:35px}.kurs-detail-contact h2{max-width:780px;font-size:clamp(24px,3.2vw,42px);line-height:1.28;letter-spacing:-.04em;color:#eef6ff}
.kurs-detail-next{padding-bottom:100px}.kurs-detail-next>div{display:grid;grid-template-columns:repeat(2,1fr);gap:0 30px}.kurs-detail-next a{display:flex;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid var(--rn-border);font-size:13px;color:#b7c9d9}.kurs-detail-next a:hover{color:var(--rn-mint)}
/* system-uiactive Lab */
.kurs-lab-hero{padding-top:65px;padding-bottom:70px}
.kurs-lab-hero h1{font-size:clamp(44px,6.2vw,76px);line-height:1.09;letter-spacing:-.065em;color:#f6faff;max-width:940px;margin-bottom:25px}
.kurs-lab-hero>p{max-width:850px;font-size:17px;line-height:1.85}
.kurs-lab-warning{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;color:#b8eecf;border:1px solid rgba(182,242,212,.3);border-radius:7px;font:10px ui-monospace,monospace;margin-top:28px}
.kurs-lab-workspace{background:#0f1f31;border:1px solid var(--rn-border);border-radius:15px;padding:21px;box-shadow:0 30px 75px rgba(0,0,0,.2)}
.kurs-lab-panel{background:#112337;border:1px solid rgba(166,204,238,.14);border-radius:11px;padding:25px;min-width:0}
.kurs-lab-panel-heading{display:flex;justify-content:space-between;align-items:center;color:#9ebad3;font:10px ui-monospace,monospace;border-bottom:1px solid rgba(166,204,238,.16);padding-bottom:15px;margin-bottom:22px}
.kurs-lab-panel-heading>span:last-child{color:var(--rn-mint)}
.kurs-lab-select{margin-bottom:17px}
.kurs-lab-tabs{display:flex;gap:12px;flex-wrap:wrap}
.kurs-lab-tabs button{border:1px solid rgba(168,196,234,.25);background:#182e44;color:#afc1d5;border-radius:7px;padding:12px 19px;cursor:pointer;font-size:13px;transition:background .2s,border-color .2s}
.kurs-lab-tabs button:hover{border-color:rgba(182,242,212,.5)}
.kurs-lab-tabs button.is-selected{background:var(--rn-mint);color:#10252a;border-color:var(--rn-mint);font-weight:700}
.kurs-lab-columns{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.kurs-lab-panel h2{font-size:21px;letter-spacing:-.04em;color:#edf5ff;margin-bottom:22px}
.kurs-timeline{list-style:none;padding:0;margin:0 0 30px;min-height:315px;display:flex;flex-direction:column;gap:0}
.kurs-timeline li{display:grid;grid-template-columns:80px 1fr;gap:13px;position:relative;padding:11px 0 18px 19px;border-left:1px solid #315069;font-size:13px;line-height:1.6;color:#b4c5d7}
.kurs-timeline li:before{content:'';position:absolute;left:-5px;top:16px;width:9px;height:9px;border:2px solid #84a9c8;border-radius:50%;background:#112337}
.kurs-timeline li:last-child{border-left-color:transparent}
.kurs-timeline time{font:10px ui-monospace,monospace;color:#87a8c8;padding-top:2px}
.kurs-timeline .kurs-new-entry{color:#e0ffe8;background:rgba(182,242,212,.07);border-radius:4px}.kurs-timeline .kurs-new-entry:before{background:var(--rn-mint);border-color:var(--rn-mint)}
.kurs-lab-actions{display:flex;flex-wrap:wrap;gap:10px}
.kurs-action-primary,.kurs-action-ghost,.kurs-action-copy{min-height:42px;padding:10px 14px;border-radius:7px;cursor:pointer;font:600 11px ui-monospace,monospace;border:1px solid transparent}
.kurs-action-primary{background:var(--rn-mint);color:#102624}.kurs-action-primary:disabled{opacity:.45;cursor:not-allowed}.kurs-action-ghost,.kurs-action-copy{border-color:#37506b;background:transparent;color:#bdd0dd}
.kurs-lab-panel-result{background:#172b41}
.kurs-result-status{font:10px ui-monospace,monospace;color:var(--rn-mint)}
.kurs-small-label{display:block;color:#9ad2c6;font-size:10px;margin:18px 0 11px}
.kurs-lab-summary{font-size:15px;line-height:1.8;color:#edf5ff!important}
.kurs-lab-tasks{list-style:none;padding:0;margin:0;display:grid;gap:8px}.kurs-lab-tasks li{display:flex;align-items:start;gap:9px;font-size:13px;color:#c2d4e1;line-height:1.7}.kurs-lab-tasks li:before{content:'○';color:var(--rn-mint);font-size:18px;line-height:1.3}
.kurs-lab-panel blockquote{background:rgba(177,215,245,.065);color:#c6d7e5;padding:17px;border-radius:7px;border-left:2px solid var(--rn-mint);margin:0 0 18px;font-size:13px;line-height:1.8}
.kurs-lab-disclaimer{color:#819db6;padding:15px 8px 2px;font:11px/1.8 ui-monospace,monospace}
.kurs-api-section{display:grid;grid-template-columns:.82fr 1.18fr;gap:85px;align-items:start}
.kurs-api-section h2{font-size:clamp(28px,3.5vw,47px);letter-spacing:-.045em;line-height:1.2;color:#f4f8ff}.kurs-api-section>div>p{line-height:1.9;margin:21px 0}
.kurs-api-status{color:#94a9bf;border:1px solid var(--rn-border);background:#101f30;border-radius:7px;padding:15px;margin-top:25px;font:11px/1.75 ui-monospace,monospace}.kurs-api-on{color:var(--rn-mint)}
.kurs-lab-api-box{background:#122337;border:1px solid var(--rn-border);border-radius:13px;padding:25px}
.kurs-lab-api-box textarea{width:100%;display:block;resize:vertical;background:#0a1725;color:#f0f7ff;border:1px solid #37546e;border-radius:7px;line-height:1.7;padding:13px;font-family:inherit;font-size:14px;min-height:160px}
.kurs-lab-api-box textarea:disabled{opacity:.55;cursor:not-allowed}
.kurs-api-hint{display:block;color:#869eb4;font:10px/1.7 ui-monospace,monospace;margin:13px 0 22px}
.kurs-lab-api-box .kurs-btn:disabled{opacity:.42;cursor:not-allowed;transform:none}
.kurs-api-message{font:12px ui-monospace,monospace;color:#f3b5a8;margin-top:12px}
.kurs-api-answer{border-top:1px solid var(--rn-border);margin-top:27px;padding-top:18px}.kurs-api-answer[hidden]{display:none}
.kurs-api-answer p,.kurs-api-answer li{font-size:13px;line-height:1.75;color:#c9d9e7}.kurs-api-answer ul{margin:0;padding-left:20px}
.kurs-legal-ai-note{margin-top:-45px;padding-bottom:80px}
/* Responsive adjustments */
@media (max-width:1170px){.kurs-mode .top-nav{width:calc(100% - 44px);gap:12px}.kurs-mode .section-nav{gap:15px}.kurs-mode .section-nav a{font-size:9px}.kurs-mode .site-wordmark{min-width:0}.kurs-wrap{width:min(1200px,calc(100% - 62px))}.kurs-hero{gap:24px}.kurs-hero h1{font-size:clamp(45px,5.25vw,72px)}.kurs-ai{gap:45px}.kurs-about-grid{gap:60px}}
@media (max-width:920px){.kurs-mode .top-nav{grid-template-columns:1fr auto;row-gap:4px;padding:13px 0}.kurs-mode .section-nav{grid-column:1/-1;grid-row:2;overflow-x:auto;justify-content:flex-start;max-width:100%;padding:12px 2px 4px;gap:25px}.kurs-mode .section-nav a{font-size:10px}.kurs-mode .header-tools{grid-column:2;grid-row:1}.kurs-hero{grid-template-columns:1fr;min-height:0;padding-top:80px;padding-bottom:75px;gap:50px}.kurs-hero-copy{max-width:730px}.kurs-hero-visual{max-width:600px;width:100%;margin:auto}.kurs-section{padding-top:85px;padding-bottom:85px}.kurs-section-head{grid-template-columns:1fr;gap:20px}.kurs-section-head>p{justify-self:start;max-width:660px}.kurs-service-grid{grid-template-columns:1fr 1fr}.kurs-service-card:last-child{grid-column:1/-1;min-height:230px}.kurs-service-card{min-height:320px}.kurs-project-grid{grid-template-columns:1fr 1fr}.kurs-project-card:last-child{grid-column:1/-1}.kurs-project-card:last-child .kurs-project-media{height:270px}.kurs-ai{grid-template-columns:1fr 1fr;gap:25px}.kurs-lab-layout{gap:30px}.kurs-about-grid{grid-template-columns:290px 1fr;gap:35px}.kurs-detail-heading{grid-template-columns:1fr;gap:20px}.kurs-detail-content{grid-template-columns:1fr;gap:35px}.kurs-detail-stack{order:-1}.kurs-api-section{grid-template-columns:1fr;gap:30px}.kurs-lab-columns{grid-template-columns:1fr}}
@media (max-width:650px){.kurs-mode .top-nav{width:calc(100% - 26px);min-height:0}.kurs-mode .site-wordmark-mark{width:38px;height:38px;border-radius:10px;padding:4px}.kurs-mode .site-wordmark-name,.kurs-mode .site-wordmark-domain{font-size:10px}.kurs-mode .site-wordmark-tagline{font-size:7px}.kurs-mode .section-nav{gap:19px}.kurs-mode .section-nav a{font-size:9px}.kurs-wrap{width:calc(100% - 38px)}.kurs-section{padding-top:73px;padding-bottom:73px}.kurs-hero{padding-top:62px;padding-bottom:65px;gap:30px}.kurs-eyebrow{font-size:8px}.kurs-hero h1{font-size:clamp(42px,10vw,58px);margin:24px 0}.kurs-lead{font-size:15px}.kurs-hero-ctas{gap:12px}.kurs-btn{min-height:51px;padding:12px 15px;font-size:11px}.kurs-btn-text{padding:8px}.kurs-hero-attribution{margin-top:30px;font-size:9px}.kurs-console{transform:none}.kurs-console-inner{padding:17px}.kurs-console-bar{font-size:7px;gap:8px;padding:0 10px}.kurs-console-heading h2{font-size:18px}.kurs-console-heading p{font-size:10px}.kurs-workflow-step{padding:10px;gap:8px}.kurs-workflow-step strong{font-size:11px}.kurs-workflow-step small{font-size:8px}.kurs-console-foot{padding:12px 10px;font-size:7px}.kurs-console-note{font-size:8px}.kurs-proof-inner{justify-content:center;flex-wrap:wrap;gap:9px 15px}.kurs-proof-inner>strong{font-size:9px}.kurs-proof-inner>span:first-child,.kurs-proof-inner>span:last-child{display:none}.kurs-section-head h2,.kurs-ai h2,.kurs-lab-band h2,.kurs-about-band h2{font-size:clamp(32px,8vw,47px)}.kurs-section-head>p{font-size:14px}.kurs-service-grid,.kurs-project-grid,.kurs-ai,.kurs-lab-layout,.kurs-about-grid,.kurs-process-grid{grid-template-columns:1fr}.kurs-service-card,.kurs-service-card:last-child{grid-column:auto;min-height:285px}.kurs-project-card:last-child{grid-column:auto}.kurs-project-card:last-child .kurs-project-media,.kurs-project-media{height:220px}.kurs-more-projects{grid-template-columns:1fr;gap:8px}.kurs-more-list a{grid-template-columns:22px 65px 1fr 20px}.kurs-more-thumb{width:65px;height:47px}.kurs-more-list a>small{display:none}.kurs-ai-copy p{font-size:15px}.kurs-ai-flow{padding:15px}.kurs-lab-mock{transform:none}.kurs-lab-copy p{font-size:14px}.kurs-process-item h3{margin:23px 0 10px}.kurs-process-grid{gap:30px}.kurs-about-photo{max-width:350px}.kurs-contact{padding-top:95px;padding-bottom:105px}.kurs-contact p{font-size:14px}.kurs-mode .footer-menu{gap:17px}.kurs-mode .footer-menu a{font-size:10px}.kurs-detail-hero{padding-top:38px}.kurs-backlink{margin-bottom:39px}.kurs-detail-heading h1{font-size:clamp(40px,10vw,58px)}.kurs-detail-heading p{font-size:15px}.kurs-detail-leadmedia{padding:14px;border-radius:9px}.kurs-detail-story article{grid-template-columns:1fr;gap:12px}.kurs-gallery-grid{grid-template-columns:1fr}.kurs-gallery-grid img{height:220px}.kurs-detail-contact{flex-direction:column;align-items:start}.kurs-detail-next>div{grid-template-columns:1fr}.kurs-lab-hero{padding-top:36px;padding-bottom:40px}.kurs-lab-hero h1{font-size:clamp(39px,10vw,56px)}.kurs-lab-hero>p{font-size:14px}.kurs-lab-workspace{padding:10px}.kurs-lab-panel{padding:16px}.kurs-lab-tabs button{padding:9px 11px;font-size:12px}.kurs-timeline{min-height:0}.kurs-timeline li{grid-template-columns:66px 1fr;font-size:12px}.kurs-lab-api-box{padding:16px}.kurs-api-section h2{font-size:34px}.kurs-legal-ai-note{margin-top:-25px}}
@media (prefers-reduced-motion:reduce){.kurs *, .kurs *::before,.kurs *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* About page */
.kurs-about-hero{padding-top:65px;padding-bottom:100px}
.kurs-about-hero-grid{display:grid;grid-template-columns:1.15fr .68fr;gap:80px;align-items:center}
.kurs-about-hero h1{font-size:clamp(45px,6vw,78px);color:#f5faff;letter-spacing:-.065em;line-height:1.12;max-width:750px}
.kurs-about-hero h2{font-size:clamp(23px,2.4vw,32px);color:var(--rn-mint);font-weight:600;letter-spacing:-.045em;line-height:1.35;margin-top:22px}
.kurs-about-hero p{font-size:16px;line-height:1.95;margin-top:24px;max-width:700px}
.kurs-about-profile{border-radius:14px;overflow:hidden;background:#153047;position:relative;box-shadow:var(--rn-shadow)}
.kurs-about-profile img{width:100%;display:block;aspect-ratio:1/1;object-fit:cover}
.kurs-about-profile span{position:absolute;bottom:0;left:0;right:0;padding:60px 17px 17px;color:white;background:linear-gradient(transparent,rgba(6,18,31,.85));font:10px ui-monospace,monospace}
.kurs-about-cards{border-top:1px solid var(--rn-border)}
.kurs-about-quote{background:#142337}
.kurs-about-quote h2{max-width:900px;font-size:clamp(35px,4.4vw,60px);line-height:1.16;letter-spacing:-.055em;color:#f4faff}
.kurs-about-quote p{font-size:17px;line-height:1.9;max-width:820px;margin-top:28px}
@media(max-width:850px){.kurs-about-hero-grid{grid-template-columns:1fr;gap:35px}.kurs-about-profile{max-width:360px}.kurs-about-hero{padding-top:45px}}
@media(max-width:650px){.kurs-about-hero{padding-bottom:65px}.kurs-about-hero p,.kurs-about-quote p{font-size:14px}}
/* Explicitly remove legacy fixed-width main constraints; all kurs sections size themselves. */
body.kurs-mode main{width:100%;max-width:none;margin:0;padding:0}
body.kurs-mode .site-wordmark-mark{flex:0 0 49px}
@media(max-width:920px){body.kurs-mode .site-header.has-section-menu .section-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:12px 2px 4px;gap:25px}}
@media(max-width:650px){body.kurs-mode .site-wordmark-mark{flex:0 0 38px}body.kurs-mode .site-header.has-section-menu .section-nav{gap:19px}}

.kurs-api-consent{display:flex;gap:11px;align-items:flex-start;margin:10px 0 19px;font-size:12px;line-height:1.7;color:#b6cadc;cursor:pointer}
.kurs-api-consent input{appearance:auto;accent-color:#b6f2d4;flex:0 0 auto;margin-top:5px;width:16px;height:16px}
.kurs-api-consent a{color:#b6f2d4!important;text-decoration:underline;text-underline-offset:3px}


/* Systems Lab v2.1: step-by-step simulation; clearly separate canned demos from AI. */
.kurs-lab-tab-help{font-size:11px;line-height:1.6;color:#8ba9c2;margin:12px 0 0}
.kurs-lab-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;margin:-5px 0 21px;border-radius:7px;background:rgba(138,186,217,.06);border:1px solid rgba(138,186,217,.12);font:10px ui-monospace,monospace;color:#91aec4}
.kurs-lab-progress strong{color:#b6f2d4;font-weight:700}
.kurs-result-status{border:1px solid rgba(178,212,239,.23);border-radius:999px;padding:5px 9px;color:#b9d4e3!important;white-space:nowrap}
.kurs-result-status.is-done{border-color:rgba(182,242,212,.4);color:#b6f2d4!important}
.kurs-timeline .kurs-new-entry{background:none;color:#c5e8dc;border-radius:0}
.kurs-timeline .kurs-new-entry:before{border-color:#b6f2d4;background:#112337}
.kurs-timeline .kurs-latest-entry{background:rgba(182,242,212,.09);color:#e3ffef;border-radius:5px;padding-right:10px}
.kurs-timeline .kurs-latest-entry:before{background:#b6f2d4}
.kurs-lab-tasks .kurs-no-tasks{color:#b6f2d4}
.kurs-lab-tasks .kurs-no-tasks:before{content:'✓'}
.kurs-action-ghost:disabled{opacity:.45;cursor:not-allowed}
.kurs-lab-copy-feedback{display:inline-block;min-height:20px;font:10px ui-monospace,monospace;color:#b6f2d4;margin:7px 0 0 10px}
@media(max-width:650px){.kurs-lab-panel-heading{gap:12px}.kurs-result-status{font-size:9px}.kurs-lab-progress{font-size:9px}}

/* Systems Lab v2.2: longer scenarios, contextual overview and expandable history */
.kurs-lab-progressbar{width:100%;height:5px;border-radius:10px;background:rgba(150,190,218,.18);margin:-11px 0 19px;overflow:hidden}
.kurs-lab-progressbar>span{display:block;height:100%;width:0;background:var(--rn-mint);border-radius:10px;transition:width .22s ease}
.kurs-lab-history-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;min-height:23px}
.kurs-lab-history-control>span{color:#85a4c0;font:10px/1.5 ui-monospace,monospace}
.kurs-lab-history-control button{background:none;border:none;color:#b6f2d4;padding:3px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px;font:10px/1.5 ui-monospace,monospace;text-align:right}
.kurs-lab-history-control button[hidden]{display:none!important}
.kurs-lab-timeline-panel .kurs-timeline{min-height:315px;margin-bottom:22px}
.kurs-lab-proof{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;margin:1px 0 20px;background:#102539;border:1px solid rgba(182,242,212,.17);border-radius:8px;font:10px/1.6 ui-monospace,monospace;color:#a5c3d5}
.kurs-lab-proof-number{font-size:18px;font-weight:700;color:var(--rn-mint)}
.kurs-lab-proof-arrow{margin-left:auto;color:var(--rn-mint);font-size:16px}
.kurs-lab-proof strong{color:#e4f8ef;font-weight:700}
.kurs-lab-focus{padding:14px 15px;background:rgba(182,242,212,.055);border-left:3px solid var(--rn-mint);border-radius:5px;margin-bottom:19px;display:grid;gap:6px}
.kurs-lab-focus>span{font:10px ui-monospace,monospace;color:#9ad2c6;letter-spacing:.035em}
.kurs-lab-focus>strong{font-size:13px;font-weight:600;color:#edfaf4;line-height:1.55}
.kurs-result-status.is-attention{color:#ffdba4!important;border-color:rgba(255,202,137,.48)}
.kurs-lab-actions{align-items:center}
.kurs-lab-actions button{white-space:normal}
.kurs-action-copy:focus-visible,.kurs-lab-tabs button:focus-visible,.kurs-lab-actions button:focus-visible,.kurs-lab-history-control button:focus-visible{outline:2px solid var(--rn-mint);outline-offset:3px}
@media(max-width:650px){.kurs-lab-history-control{align-items:flex-start}.kurs-lab-proof{gap:6px}.kurs-lab-proof-arrow{margin-left:5px}.kurs-lab-actions{display:grid;grid-template-columns:1fr 1fr}.kurs-lab-actions .kurs-action-primary{grid-column:1/-1}.kurs-lab-actions button{font-size:10px}}

/* v2.3: typography-only personal wordmark; former picture mark remains favicon only. */
body.kurs-mode .site-wordmark{gap:0;min-width:0;max-width:100%}
body.kurs-mode .site-wordmark-text{min-width:0;gap:6px}
body.kurs-mode .site-wordmark-main{gap:8px;line-height:1.25}
body.kurs-mode .site-wordmark-name,body.kurs-mode .site-wordmark-domain{font-size:13px;letter-spacing:.065em}
body.kurs-mode .site-wordmark-tagline{font-size:9px;letter-spacing:.07em;line-height:1.45}
@media(max-width:650px){
  body.kurs-mode .site-wordmark-name,body.kurs-mode .site-wordmark-domain{font-size:10px;letter-spacing:.02em}
  body.kurs-mode .site-wordmark-main{gap:6px}
  body.kurs-mode .site-wordmark-tagline{font-size:7px;letter-spacing:0;white-space:normal}
}
@media(max-width:410px){
  body.kurs-mode .site-wordmark-main{flex-wrap:wrap;gap:2px 6px}
  body.kurs-mode .site-wordmark-text{gap:4px}
  body.kurs-mode .site-wordmark-tagline{max-width:195px}
  body.kurs-mode .top-nav{column-gap:7px}
}

/* v2.4: Project range and catalogue */
.kurs-range-lead{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:42px;margin-top:45px;background:#e0ecf3;border:1px solid #c7dbe7;border-radius:15px}
.kurs-range-lead>div{max-width:610px}
.kurs-range-lead h3{font-size:clamp(22px,3vw,32px);letter-spacing:-.04em;color:#17324b;line-height:1.25;margin:12px 0}
.kurs-range-lead p{font-size:13px;line-height:1.8;color:#536e83}
.kurs-range-lead .kurs-btn{flex:0 0 auto;white-space:nowrap}
.kurs-catalogue-hero{padding-top:90px;padding-bottom:78px;position:relative}
.kurs-catalogue-hero h1{font-size:clamp(43px,6.5vw,82px);letter-spacing:-.065em;line-height:1.1;color:#f7fbff;max-width:900px;margin:20px 0}
.kurs-catalogue-hero p{font-size:17px;line-height:1.85;max-width:800px;color:#a9bed0}
.kurs-catalogue-count{margin-top:35px;font:11px ui-monospace,monospace;color:#96b1c5;display:flex;align-items:baseline;gap:13px}
.kurs-catalogue-count span{font:700 56px system-ui,sans-serif;color:var(--rn-mint);letter-spacing:-.06em}
.kurs-catalogue-content{background:#edf3f9;color:#173148;padding:62px 0 110px}
.kurs-filter{display:flex;flex-wrap:wrap;gap:10px}
.kurs-filter-btn{font:700 11px system-ui,sans-serif;letter-spacing:.005em;border-radius:30px;border:1px solid #cddce7;padding:13px 18px;color:#456378;background:#fff;cursor:pointer;transition:background .15s,border .15s,color .15s}
.kurs-filter-btn:hover{border-color:#2e778a;color:#0f4e65}
.kurs-filter-btn.is-active{background:#13364e;border-color:#13364e;color:#def5ed}
.kurs-filter-btn:focus-visible{outline:3px solid #64bba2;outline-offset:3px}
.kurs-filter-count{font:10px ui-monospace,monospace;color:#54718d;margin:21px 0 26px}
.kurs-catalogue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.kurs-catalogue-card{min-width:0;background:#fff;border:1px solid #dce7ef;border-radius:14px;overflow:hidden;box-shadow:0 18px 45px rgba(39,78,114,.07);transition:transform .2s,box-shadow .2s}
.kurs-catalogue-card[hidden]{display:none!important}
.kurs-catalogue-card:hover{transform:translateY(-4px);box-shadow:0 24px 60px rgba(39,78,114,.13)}
.kurs-catalogue-card a{display:flex;flex-direction:column;height:100%;color:inherit}
.kurs-catalogue-media{height:205px;position:relative;overflow:hidden;background:linear-gradient(135deg,#d6e7f2,#e8f0f8);padding:14px}
.kurs-catalogue-media img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(15,48,80,.1));transition:transform .2s}
.kurs-catalogue-card:hover .kurs-catalogue-media img{transform:scale(1.04)}
.kurs-catalogue-media>span{position:absolute;top:12px;left:12px;border-radius:4px;background:rgba(255,255,255,.88);color:#436881;font:10px ui-monospace,monospace;padding:6px 9px}
.kurs-catalogue-body{padding:23px 24px 28px;display:flex;flex:1;flex-direction:column}
.kurs-catalogue-body small{font:700 10px ui-monospace,monospace;color:#39718c;line-height:1.5}
.kurs-catalogue-body h2{font-size:20px;color:#1b354b;line-height:1.35;letter-spacing:-.035em;margin:13px 0 10px}
.kurs-catalogue-body p{font-size:13px;line-height:1.75;color:#627c8f}
.kurs-catalogue-open{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:26px;color:#1f6882;font:700 11px ui-monospace,monospace}
.kurs-catalogue-open span{font-size:19px}
.kurs-catalogue-notice{margin-top:28px;color:#647b90;font:11px/1.85 ui-monospace,monospace}
.kurs-catalogue-contact{display:flex;align-items:center;justify-content:space-between;gap:40px}
.kurs-catalogue-contact h2{font-size:clamp(26px,3.5vw,46px);color:#eff9ff;margin:10px 0 16px;letter-spacing:-.05em}
.kurs-catalogue-contact p{font-size:15px}
.kurs-catalogue-contact .kurs-btn{flex:0 0 auto}
@media(max-width:940px){.kurs-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kurs-range-lead{padding:30px;flex-wrap:wrap}.kurs-catalogue-contact{flex-wrap:wrap}}
@media(max-width:650px){.kurs-catalogue-hero{padding-top:55px;padding-bottom:50px}.kurs-catalogue-hero h1{font-size:clamp(39px,10vw,58px)}.kurs-catalogue-hero p{font-size:14px}.kurs-catalogue-content{padding:39px 0 70px}.kurs-catalogue-grid{grid-template-columns:1fr}.kurs-catalogue-media{height:210px}.kurs-range-lead{padding:24px}.kurs-range-lead .kurs-btn{white-space:normal}.kurs-filter-btn{padding:10px 13px;font-size:10px}}

/* ===== Rechtliche Hinweise ===== */
/* LotseLogik v2.5 – legal and privacy pages share the portfolio visual identity.
   Legal wording is maintained in bruecke/languages.php. */
body.kurs-legal-mode{background:#09111f;color:#f2f6ff}
.kurs-legal-mode .kurs-legal-main{width:100%;max-width:none;min-width:0;margin:0;padding:0;background:#09111f;color:#f2f6ff}
.kurs-legal *{box-sizing:border-box}
.kurs-legal .kurs-legal-hero{position:relative;overflow:hidden;border-bottom:1px solid rgba(160,190,230,.17);background:radial-gradient(ellipse at 84% 12%,rgba(53,103,149,.16),transparent 48%),#09111f}
.kurs-legal-hero-inner{padding-top:52px;padding-bottom:85px}
.kurs-legal .kurs-legal-back{display:inline-flex;margin-bottom:60px;color:#9ab3cc;text-decoration:none}
.kurs-legal-hero-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}
.kurs-legal-hero-top .kurs-kicker{margin:0}
.kurs-legal-code{font:11px ui-monospace,monospace;color:#7893ac;letter-spacing:.07em}
.kurs-legal-heading h1{font-size:clamp(49px,7.4vw,93px);line-height:1.08;letter-spacing:-.065em;font-weight:800;color:#f6f9ff;margin:0;max-width:1000px}
.kurs-legal-heading h1 span{display:block;max-width:1000px;margin-top:24px;color:#b6f2d4;font:500 clamp(15px,2vw,22px)/1.55 system-ui,sans-serif;letter-spacing:-.015em;text-wrap:balance}
.kurs-legal-heading .intro{max-width:760px;margin-top:22px}
.kurs-legal-heading .intro p{color:#a6bad0;font-size:15px;line-height:1.8}
.kurs-legal-reading{background:#edf3f9;color:#182b43;padding:66px 0 82px}
.kurs-legal-grid{display:grid;grid-template-columns:minmax(210px,275px) minmax(0,1fr);align-items:start;gap:clamp(28px,4vw,70px)}
.kurs-legal-sidebar{min-width:0}
.kurs-legal-sticky{position:static}
.kurs-legal-side-label{display:block;color:#54718a;font:700 10px/1.6 ui-monospace,monospace;letter-spacing:.10em;margin-bottom:13px}
.kurs-legal-document-nav{display:flex;flex-direction:column;gap:7px}
.kurs-legal-document-nav a{display:grid;grid-template-columns:25px 1fr 14px;align-items:center;gap:11px;padding:14px 14px;border:1px solid #d5e1eb;border-radius:9px;color:#435f76;background:rgba(255,255,255,.55);font-size:12px;font-weight:700;line-height:1.45;text-decoration:none;transition:background .2s,border-color .2s}
.kurs-legal-document-nav a>span:first-child{font:10px ui-monospace,monospace;color:#7190aa}
.kurs-legal-document-nav a>span:last-child{color:#7190aa;font-size:15px;text-align:right}
.kurs-legal-document-nav a.is-current,.kurs-legal-document-nav a:hover{background:#fff;border-color:#b9cad9;color:#163a50}
.kurs-legal-document-nav a.is-current{border-left:3px solid #33957f;padding-left:12px}
.kurs-legal-index-title{margin-top:37px}
.kurs-legal-index{display:flex;flex-direction:column;gap:1px;max-height:none;overflow:visible;padding-right:0}
.kurs-legal-index a{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;padding:9px 6px;border-radius:6px;color:#526b80;font-size:12px;line-height:1.45;text-decoration:none}
.kurs-legal-index a>span{color:#8ba0b1;font:10px/1.8 ui-monospace,monospace}
.kurs-legal-index a:hover,.kurs-legal-index a:focus-visible{background:#dfeaf2;color:#163a50}
.kurs-legal-article{min-width:0;background:#fff;border:1px solid #dbe5ed;border-radius:16px;box-shadow:0 20px 65px rgba(34,65,92,.07);overflow:hidden}
.kurs-legal-article .legal-panel{max-width:none;margin:0;padding:clamp(24px,4vw,58px) clamp(22px,4.4vw,66px) 26px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#354d62}
.kurs-legal-article .legal-panel h2{font-size:clamp(17px,2vw,21px);letter-spacing:-.025em;line-height:1.35;color:#1c3850;font-weight:750;margin:38px 0 14px;scroll-margin-top:112px}
.kurs-legal-article .legal-panel h2:first-child{margin-top:0}
.kurs-legal-article .legal-panel h2:not(:first-child){padding-top:34px;border-top:1px solid #e4ebf2}
.kurs-legal-article .legal-panel p,.kurs-legal-article .legal-panel li{font-size:14px;line-height:1.95;color:#51667a;overflow-wrap:anywhere}
.kurs-legal-article .legal-panel p{margin:0 0 16px}
.kurs-legal-article .legal-panel ul{margin:0 0 19px;padding-left:22px}
.kurs-legal-article .legal-panel li{padding-left:2px;margin:3px 0}
.kurs-legal-article .legal-panel strong{font-weight:750;color:#283e55}
.kurs-legal-article .legal-panel a{color:#146c83;text-decoration:underline;text-decoration-color:#a6cdd8;text-underline-offset:3px}
.kurs-legal-article .legal-panel a:hover{color:#0c5166}
.kurs-legal-article .legal-panel code{color:#235f67;background:#eaf4f4;padding:2px 5px;border-radius:4px;font-size:12px}
.kurs-legal-article-end{border-top:1px solid #e4ebf2;margin:0 clamp(22px,4.4vw,66px) 0;padding:23px 0 30px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#7590a6;font:10px ui-monospace,monospace;letter-spacing:.03em}
.kurs-legal-article-end>span:first-child{color:#368c70}
.kurs-legal-article-end>span:last-child{margin-left:auto;color:#678099}
.kurs-legal-next{padding:80px 0 90px;display:flex;gap:25px;align-items:center;justify-content:space-between}
.kurs-legal-next .kurs-kicker{margin:0 0 14px}
.kurs-legal-next p{font-size:15px;line-height:1.75;color:#a0b5cb;max-width:680px}
.kurs-legal-next .kurs-btn{flex-shrink:0}
.kurs-legal-mode .footer-menu{margin:0}
.kurs-legal-mode a:focus-visible{outline:3px solid #34ae92;outline-offset:3px}
@media(max-width:870px){
 .kurs-legal-hero-inner{padding-top:36px;padding-bottom:57px}
 .kurs-legal .kurs-legal-back{margin-bottom:45px}
 .kurs-legal-reading{padding:35px 0 60px}
 .kurs-legal-grid{grid-template-columns:1fr;gap:23px}
 .kurs-legal-sticky{position:static}
 .kurs-legal-document-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .kurs-legal-index-title,.kurs-legal-index{display:none}
 .kurs-legal-next{padding:58px 0 70px}
}
@media(max-width:600px){
 .kurs-legal-hero-inner{padding-top:25px;padding-bottom:45px}
 .kurs-legal .kurs-legal-back{margin-bottom:37px}
 .kurs-legal-heading h1{font-size:clamp(40px,10.5vw,58px)}
 .kurs-legal-heading h1 span{font-size:15px;margin-top:15px}
 .kurs-legal-heading .intro p{font-size:13px}
 .kurs-legal-reading{padding:24px 0 45px}
 .kurs-legal-document-nav a{gap:6px;grid-template-columns:18px 1fr 8px;font-size:11px;padding:11px 9px}
 .kurs-legal-article{border-radius:11px}
 .kurs-legal-article .legal-panel{padding:28px 20px 15px}
 .kurs-legal-article .legal-panel h2{font-size:18px}
 .kurs-legal-article .legal-panel p,.kurs-legal-article .legal-panel li{font-size:13px;line-height:1.85}
 .kurs-legal-article-end{margin:0 20px;padding:18px 0 22px}
 .kurs-legal-article-end>span:last-child{margin-left:0}
 .kurs-legal-next{flex-direction:column;align-items:flex-start}
}

/* ===== lotselogik-preview.css (preserved rule order) ===== */
/* LotseLogik preview identity – applied after the original styles. */
:root{--rn-bg:#0a1421;--rn-bg2:#0e2031;--rn-mint:#a4ead4;--rn-border:rgba(158,202,216,.17)}
body.kurs-mode{background:#091522}
body.kurs-mode .site-header{background:rgba(8,21,34,.95);border-bottom-color:rgba(157,203,211,.19)}
body.kurs-mode .site-wordmark{min-width:205px}
body.kurs-mode .site-wordmark-main{display:flex;align-items:baseline;gap:0!important;flex-wrap:nowrap!important;white-space:nowrap}
body.kurs-mode .site-wordmark-name,body.kurs-mode .site-wordmark-domain,body.kurs-mode .ll-domain-suffix{font:800 18px/1.1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.035em}
body.kurs-mode .site-wordmark-name{color:#f3faf9}
body.kurs-mode .site-wordmark-domain{color:#f3faf9}
body.kurs-mode .ll-domain-suffix{font-size:12px;color:#839eb2;letter-spacing:-.03em;margin-left:3px}
body.kurs-mode .site-wordmark-text{gap:7px}
body.kurs-mode .site-wordmark-tagline{color:#8ca4b7;font-size:8.5px;letter-spacing:.055em}
.kurs-hero{min-height:720px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.kurs-hero:before{left:-18%;top:-20%;width:125%;height:125%;background:radial-gradient(ellipse at 60% 42%,rgba(30,85,96,.26),transparent 60%)}
.kurs-hero h1{font-size:clamp(42px,4.55vw,67px);letter-spacing:-.06em;max-width:680px}
.kurs-hero h1 em{color:#a4ead4}
.kurs-hero .kurs-lead{font-size:16px;max-width:570px}
.kurs-eyebrow{letter-spacing:.105em}
.kurs-hero-visual{isolation:isolate}
.ll-route-orbit{position:absolute;inset:-80px -65px;pointer-events:none;z-index:-1;border:1px solid rgba(136,198,196,.13);border-radius:50%;transform:rotate(-17deg) scale(.91)}
.ll-route-orbit:before{content:'';position:absolute;inset:36px;border:1px dashed rgba(144,204,213,.23);border-radius:50%}
.ll-route-orbit:after{content:'';position:absolute;left:14%;top:22%;height:8px;width:8px;background:#9fe5d0;border-radius:50%;box-shadow:0 0 0 7px rgba(159,229,208,.10)}
.ll-route-orbit>span{position:absolute;right:12%;bottom:14%;font-size:31px;color:rgba(161,223,214,.44)}
.kurs-console{border-color:rgba(148,202,213,.26);background:linear-gradient(148deg,#152e3f 0%,#0b192c 80%);transform:rotate(.55deg)}
.kurs-console-icon.ll-compass-glyph{border-radius:50%;font-size:24px;border-color:rgba(164,234,212,.45)}
.kurs-console-icon.ll-compass-glyph:before{content:'';width:45px;height:45px;border:1px dotted rgba(164,234,212,.26);border-radius:50%;position:absolute}
.kurs-console-icon.ll-compass-glyph{position:relative}
.kurs-console-foot{letter-spacing:.045em}
.ll-meaning-strip{background:#0c1e2d;border-top:1px solid rgba(148,200,218,.14);border-bottom:1px solid rgba(148,200,218,.14)}
.ll-meaning-inner{display:flex;gap:24px;align-items:center;padding:23px 0;color:#d2e8e4}
.ll-route-icon{white-space:nowrap;color:#a4ead4;display:inline-flex;align-items:center;gap:7px;font-size:23px}
.ll-route-icon i{width:44px;height:1px;background:linear-gradient(90deg,#a4ead4,rgba(164,234,212,.2));transform:rotate(-12deg)}
.ll-meaning-inner strong{font-size:14px;letter-spacing:-.02em;color:#f0fbf7}
.ll-meaning-inner p{font-size:12px;color:#9fb4c4;margin-top:3px}
.ll-meaning-sign{margin-left:auto;white-space:nowrap;color:#809aac;font:9px ui-monospace,ui-monospace,monospace;letter-spacing:.07em}
.kurs-proof{border-top:0}
.kurs-about-quote{background:radial-gradient(circle at 90% 20%,rgba(61,123,118,.15),transparent 48%),#102234}
.kurs-mode .footer-signature{color:#8ea6b5}
.ll-footer-brand{display:flex;justify-content:center;align-items:center;gap:16px;padding:4px 20px 6px;color:#effbf6;font:800 13px/1.3 system-ui,sans-serif;letter-spacing:.02em}
.ll-footer-brand>span>span{color:inherit}
.ll-footer-brand small{font:10px/1.5 ui-monospace,ui-monospace,monospace;color:#829eab}
.ll-legal-preview-note{border:1px solid #d5b885;background:#fff5dd;padding:16px 20px;color:#5c4921;font-size:13px;line-height:1.7;border-radius:9px;margin:25px 0 0}
.ll-error-content{min-height:65vh;display:flex;flex-direction:column;align-items:start;justify-content:center;padding-top:90px;padding-bottom:100px;gap:20px}
/* Improve contrast on the dark 404 page without changing other headings. */
.ll-error-number{font-size:clamp(90px,18vw,230px);line-height:.85;font-weight:800;color:#345b73;letter-spacing:-.09em}
body.kurs-error-page .ll-error-content h1{font-size:clamp(31px,4.5vw,56px);letter-spacing:-.06em;max-width:760px;color:#f2f7ff}
.ll-error-content p{max-width:510px;line-height:1.8}
.kurs-legal .kurs-legal-hero{background:radial-gradient(circle at 76% 40%,rgba(41,114,116,.13),transparent 54%),#0a1626}
@media(max-width:1160px){body.kurs-mode .site-wordmark{min-width:175px}body.kurs-mode .site-wordmark-name,body.kurs-mode .site-wordmark-domain{font-size:16px}.ll-meaning-sign{display:none}}
@media(max-width:920px){.kurs-hero{grid-template-columns:1fr}.kurs-hero h1{font-size:clamp(45px,6.8vw,71px)}.ll-route-orbit{inset:-20px -20px}}
@media(max-width:650px){body.kurs-mode .site-wordmark{min-width:0}body.kurs-mode .site-wordmark-name,body.kurs-mode .site-wordmark-domain{font-size:16px}body.kurs-mode .ll-domain-suffix{font-size:11px}body.kurs-mode .site-wordmark-tagline{font-size:7px;white-space:normal;max-width:245px}.kurs-hero h1{font-size:clamp(39px,9vw,58px)}.ll-meaning-inner{gap:14px}.ll-route-icon{font-size:17px}.ll-route-icon i{width:18px}.ll-meaning-inner p{font-size:11px}.ll-route-orbit{inset:-6px -8px}.ll-footer-brand{flex-direction:column;gap:6px}}
@media(max-width:395px){body.kurs-mode .site-wordmark-name,body.kurs-mode .site-wordmark-domain{font-size:14px}body.kurs-mode .site-wordmark-tagline{max-width:178px;line-height:1.4}.kurs-hero h1{font-size:clamp(35px,9vw,42px)}}
@media(prefers-reduced-motion:reduce){.kurs-console{transform:none}}

/* LotseLogik 1.1 — compact compass icon from the original logo.
   Keep wordmark as HTML text for readability/accessibility at every size. */
body.kurs-mode .site-wordmark{display:inline-flex;align-items:center;gap:11px;min-width:0;max-width:100%;text-decoration:none}
body.kurs-mode .ll-header-compass{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;line-height:0}
body.kurs-mode .ll-header-compass img{display:block;width:38px;height:38px;object-fit:contain;max-width:100%;max-height:100%;filter:drop-shadow(0 0 8px rgba(102,211,186,.12))}
body.kurs-mode .site-wordmark-text{flex:0 1 auto;min-width:0}
@media(max-width:1160px){body.kurs-mode .site-wordmark{gap:9px}body.kurs-mode .ll-header-compass{flex-basis:33px;width:33px;height:33px}body.kurs-mode .ll-header-compass img{width:33px;height:33px}}
@media(max-width:650px){body.kurs-mode .site-wordmark{gap:8px}body.kurs-mode .ll-header-compass{flex-basis:29px;width:29px;height:29px}body.kurs-mode .ll-header-compass img{width:29px;height:29px}}
@media(max-width:395px){body.kurs-mode .site-wordmark{gap:6px}body.kurs-mode .ll-header-compass{flex-basis:26px;width:26px;height:26px}body.kurs-mode .ll-header-compass img{width:26px;height:26px}}

/* LotseLogik 1.7 — double-L alliteration and document navigation.
   The two initials are the only accented letters in the wordmark.
   Legal navigation uses the normal page scroll, not a nested scrollbar. */
body.kurs-mode .site-wordmark-main .ll-initial,
.ll-footer-brand .ll-initial,
.kurs-kicker .ll-initial{color:#a4ead4}
.ll-footer-brand .ll-footer-wordmark{color:#effbf6}
.ll-footer-brand .ll-footer-suffix{color:#839eb2}
.kurs-legal .kurs-legal-sticky{position:static}
.kurs-legal .kurs-legal-index{max-height:none;overflow:visible;overscroll-behavior:auto;padding-right:0;scrollbar-width:auto}


/* LotseLogik 1.8 | Kleine Typografie behutsam besser lesbar.
   Ausschliesslich visuelle Feinanpassungen; keine Aenderung der Struktur. */

/* Markenzeile und Hauptnavigation */
body.kurs-mode .site-wordmark-tagline {
    font-size: 11px;
    letter-spacing: .045em;
    color: #adbdca;
}
body.kurs-mode .section-nav a {
    font-size: 12px;
    letter-spacing: .035em;
    color: #b8c8d7;
}
body.kurs-mode .language-switch a { font-size: 12px; }

/* Detailinformationen im Einstieg und im Prozessfenster */
.kurs-eyebrow { font-size: 12px; color: #bacfdb; }
.kurs-hero-attribution { font-size: 12px; color: #a6bac9; }
.kurs-console-bar { font-size: 11px; color: #b4c6d8; }
.kurs-mono-mini { font-size: 11px; color: #a4bdd2; }
.kurs-console-heading p { font-size: 13px; color: #abc0d2; }
.kurs-workflow-step small { font-size: 11px; color: #adc5d5; }
.kurs-console-foot { font-size: 11px; color: #9fb5ca; }
.kurs-console-note { font-size: 11px; color: #9baebf; }
.kurs-proof-inner > strong { font-size: 11px; }
.kurs-proof-inner > span { font-size: 11px; color: #9db2c6; }
.ll-meaning-sign { font-size: 11px; color: #9bb4c6; }

/* Responsive: Navigation soll sich nicht in die Wortmarke draengen. */
@media (max-width: 1170px) {
    body.kurs-mode .section-nav a { font-size: 11px; }
}
@media (max-width: 920px) {
    body.kurs-mode .section-nav a { font-size: 11.5px; }
}
@media (max-width: 650px) {
    body.kurs-mode .site-wordmark-tagline { font-size: 9.5px; letter-spacing: .015em; }
    body.kurs-mode .section-nav a { font-size: 11px; }
    .kurs-eyebrow { font-size: 10.5px; }
    .kurs-hero-attribution { font-size: 11px; }
    .kurs-console-bar { font-size: 9px; letter-spacing: 0; }
    .kurs-mono-mini { font-size: 10px; }
    .kurs-console-heading p { font-size: 12px; }
    .kurs-workflow-step small { font-size: 10px; }
    .kurs-console-foot { font-size: 9.5px; }
    .kurs-console-note { font-size: 10px; }
}
@media (max-width: 395px) {
    body.kurs-mode .site-wordmark-tagline { font-size: 9px; }
}


/* LotseLogik Brand Update | Nov 2026: illustrations instead of portrait photography. */
.kurs-about-photo,
.kurs-about-profile {
    background: #081927;
    border: 1px solid rgba(164,234,212,.18);
    isolation: isolate;
}
.kurs-about-photo::after,
.kurs-about-profile::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    box-shadow: inset 0 0 0 1px rgba(135,212,206,.08);
}
.kurs-about-photo img,
.kurs-about-profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kurs-about-photo>span,
.kurs-about-profile>span { z-index: 1; letter-spacing: .06em; }
@media (max-width: 650px) {
    .kurs-about-photo { width: min(100%, 350px); margin-inline: auto; }
    .kurs-about-profile { width: min(100%, 360px); margin-inline: auto; }
}

/* LotseLogik v2.1: accessible spreadsheet demonstration */
.kurs-excel-lab{scroll-margin-top:105px;margin-bottom:80px}
.kurs-excel-intro{max-width:840px;margin-bottom:27px}
.kurs-excel-intro h2,.kurs-lab-next h2{font-size:clamp(28px,3.5vw,46px);color:#f2f8ff;line-height:1.18;letter-spacing:-.046em;margin:14px 0 15px}
.kurs-excel-intro p,.kurs-lab-next p{color:#b3c6d8;font-size:15px;line-height:1.9;max-width:800px}
.kurs-excel-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.kurs-excel-card{background:#112337;border:1px solid rgba(166,204,238,.17);border-radius:13px;padding:24px;min-width:0;box-shadow:0 18px 40px rgba(0,0,0,.12)}
.kurs-excel-card-result{background:linear-gradient(150deg,#183149,#112637)}
.kurs-excel-card>p{color:#a9bed0;font-size:13px;line-height:1.75;margin:0 0 18px}
.kurs-excel-table-wrap{border:1px solid rgba(151,192,219,.18);border-radius:8px;overflow:visible;max-height:none;background:#0c1b2a}
.kurs-excel-table-wrap table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;white-space:nowrap;color:#dce9f4}
.kurs-excel-table-wrap thead{background:#1d384d}
.kurs-excel-table-wrap th,.kurs-excel-table-wrap td{padding:10px 13px;border-bottom:1px solid rgba(154,190,215,.12)}
.kurs-excel-table-wrap th{color:#b4eadb;font-size:10px;font-weight:650;letter-spacing:.015em}
.kurs-excel-table-wrap tbody tr:last-child td{border-bottom:0}
.kurs-excel-table-wrap td:last-child,.kurs-excel-table-wrap th:last-child{text-align:right}
.kurs-excel-row-review{background:rgba(233,180,87,.13)}
.kurs-excel-row-duplicate{background:rgba(122,159,191,.14);color:#96afc5}
.kurs-excel-actions{margin-top:21px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.kurs-excel-actions button,.kurs-excel-download{font-size:12px;min-height:45px}
.kurs-excel-wait{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:340px;border:1px dashed rgba(160,201,221,.22);border-radius:9px;text-align:center;padding:30px;color:#b8ccdf}
.kurs-excel-wait>span{font-size:50px;color:#b4e8d5;line-height:1}
.kurs-excel-wait p{max-width:270px;font-size:14px;line-height:1.8}
.kurs-excel-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0 20px}
.kurs-excel-stats>div{background:#0d2633;border:1px solid rgba(141,218,188,.16);border-radius:8px;padding:13px 10px;display:flex;flex-direction:column;gap:5px;min-width:0}
.kurs-excel-stats strong{font-size:29px;line-height:1.1;color:#beefdc;font-variant-numeric:tabular-nums}
.kurs-excel-stats>div:nth-child(2) strong{color:#f6ca83}
.kurs-excel-stats>div:nth-child(3) strong{color:#adcbe0}
.kurs-excel-stats span{font-size:10px;line-height:1.5;color:#b9cbd9}
.kurs-excel-check-title{margin:21px 0 10px;color:#b7dfd2;font-size:10px;font-weight:650;letter-spacing:.06em}
.kurs-excel-findings{list-style:none;display:grid;gap:9px;padding:0;margin:0 0 22px}
.kurs-excel-findings li{border-left:2px solid #dfa961;padding:7px 10px;background:rgba(247,184,96,.07);font-size:12px;line-height:1.7;color:#dbe6ef}
.kurs-excel-findings li.kurs-excel-finding-duplicate{border-color:#7199af;background:rgba(139,187,215,.06)}
.kurs-excel-findings strong{font-weight:650}
.kurs-excel-download{width:100%;white-space:normal;line-height:1.4}
.kurs-excel-lab [hidden]{display:none !important}
.kurs-lab-next{margin-top:5px;margin-bottom:24px;padding-top:40px;border-top:1px solid rgba(166,204,238,.16)}
.kurs-lab-next h2{margin-top:13px}
.kurs-lab-next p{margin-bottom:0}
.kurs-lab-page-inner>.kurs-lab-workspace{margin-bottom:15px}
.kurs-excel-lab .kurs-lab-disclaimer{padding:16px 0 0}
@media (max-width:920px){.kurs-excel-layout{grid-template-columns:1fr}.kurs-excel-wait{min-height:155px}}
@media (max-width:650px){.kurs-excel-table-wrap{overflow-x:auto}.kurs-excel-lab{margin-bottom:60px}.kurs-excel-card{padding:15px}.kurs-excel-intro h2,.kurs-lab-next h2{font-size:32px}.kurs-excel-intro p,.kurs-lab-next p{font-size:14px}.kurs-excel-table-wrap th,.kurs-excel-table-wrap td{padding:9px 10px}.kurs-excel-stats{gap:6px}.kurs-excel-stats>div{padding:11px 7px}.kurs-excel-stats span{font-size:9px}}

/* Link from the Excel case study into the interactive example. */
.kurs-excel-project-try{background:#132d3d;border:1px solid rgba(182,242,212,.28);border-radius:14px;padding:28px;margin-bottom:70px;display:flex;align-items:center;justify-content:space-between;gap:35px}
.kurs-excel-project-try h2{color:#f3faff;font-size:clamp(25px,2.4vw,34px);line-height:1.25;letter-spacing:-.035em;margin:12px 0}
.kurs-excel-project-try p{color:#b1c9d6;font-size:14px;line-height:1.8;max-width:620px}
.kurs-excel-project-try .kurs-btn{flex-shrink:0}
@media(max-width:760px){.kurs-excel-project-try{flex-direction:column;align-items:flex-start;padding:20px}.kurs-excel-project-try .kurs-btn{flex-shrink:1}}
