/* ══════════════════════════════════════════════════════════
   GeMeRi Designsprache: „Raum"
   Shared CSS — Dark/Light, Accent Gold, full component set
   ══════════════════════════════════════════════════════════ */

/* ══ FONTS ══ */
@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/PlayfairDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/PlayfairDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hanken Grotesk';
    src: url('/fonts/HankenGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fragment Mono';
    src: url('/fonts/FragmentMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ══ DARK (default) ══ */
:root {
    --bg: #0b0b0e;
    --s1: #111115;
    --s2: #18181e;
    --brd: #222230;
    --t0: #ededf0;
    --t1: #a8a8ba;
    --t2: #74748a;
    --hover: #111115;
    --sun: block;
    --moon: none;
    color-scheme: dark;
}

/* ══ LIGHT ══ */
[data-theme="light"] {
    --bg: #f8f7f3;
    --s1: #f0efe9;
    --s2: #e8e6de;
    --brd: #d8d5cc;
    --t0: #111114;
    --t1: #444450;
    --t2: #70707e;
    --hover: #f0efe9;
    --sun: none;
    --moon: block;
    color-scheme: light;
}

/* ══ ACCENT: ORANGE ══ */
[data-accent="gold"] {
    --w: #dd7730;
    --wo: #dd7730;
    --wb: #fff;
    --wg: rgba(221, 119, 48, .25);
    --wbg: rgba(221, 119, 48, .1);
}

[data-accent="gold"][data-theme="light"] {
    --w: #c45a10;
    --wo: #b04d08;
    --wb: #fff;
    --wg: rgba(196, 90, 16, .2);
    --wbg: rgba(196, 90, 16, .08);
}

/* ══ RESET ══ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Hanken Grotesk', sans-serif;
    background: var(--bg);
    color: var(--t0);
    line-height: 1.65;
    transition: background .4s, color .4s;
    overflow-x: hidden;
}

.wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: inherit
}

/* ══ SCROLL REVEAL ══ */
.rv {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1)
}

.rv-l {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1)
}

.rv-r {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1)
}

.rv-s {
    opacity: 0;
    transform: scale(.95);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1)
}

.vis {
    opacity: 1 !important;
    transform: none !important
}

.d1 {
    transition-delay: .08s
}

.d2 {
    transition-delay: .16s
}

.d3 {
    transition-delay: .24s
}

.d4 {
    transition-delay: .32s
}

.d5 {
    transition-delay: .4s
}

.d6 {
    transition-delay: .48s
}

/* ══ NAV ══ */
#nav {
    position: relative;
    z-index: 9999;
    padding: .9rem 0;
    background: transparent;
}

.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none
}

.logo-g {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    letter-spacing: .06em;
    color: var(--t0);
}

.logo-g span {
    color: var(--wo);
    transition: color .4s
}

.logo-sub {
    font-family: 'Fragment Mono', monospace;
    font-size: .5rem;
    letter-spacing: .12em;
    color: var(--t2);
    text-transform: uppercase;
    margin-left: .4rem;
}

.logo-by {
    font-family: 'Fragment Mono', monospace;
    font-size: .6rem;
    color: var(--t2);
    margin: 0 .3rem;
}

.logo-icon {
    height: 5.5rem;
    width: auto;
    filter: invert(1);
    transition: filter .4s;
}

[data-theme="light"] .logo-icon {
    filter: invert(0);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none
}

.nav-links a {
    color: var(--t1);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--t0)
}

.nav-r {
    display: flex;
    align-items: center;
    gap: .7rem
}

.theme-btn {
    width: 34px;
    height: 34px;
    background: var(--s2);
    border: 1px solid var(--brd);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    color: var(--t1);
}

.theme-btn:hover {
    border-color: var(--wo);
    color: var(--wo)
}

.theme-btn .sun {
    display: var(--sun)
}

.theme-btn .moon {
    display: var(--moon)
}

.theme-btn svg {
    width: 16px;
    height: 16px
}

.nav-cta {
    background: var(--w);
    color: var(--wb);
    border: none;
    padding: .45rem 1.1rem;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}

.nav-cta:hover {
    box-shadow: 0 0 24px var(--wg)
}

.lang-switch {
    font-family: 'Fragment Mono', monospace;
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    gap: .3rem;
}

.lang-switch a {
    color: var(--t2);
    text-decoration: none;
    transition: color .2s
}

.lang-switch a:hover {
    color: var(--wo)
}

.lang-switch a.active {
    color: var(--wo)
}

.lang-switch span {
    color: var(--t2)
}

/* ══ MOBILE NAV ══ */
.mobile-nav {
    display: none;
}

/* ══ BURGER BUTTON ══ */
.burger {
    display: none;
}

/* ══ HERO ══ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.5rem;
    font-family: 'Fragment Mono', monospace;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wo);
    transition: color .4s;
}

.hero-chip .dot {
    width: 5px;
    height: 5px;
    background: var(--w);
    animation: pulse 2.5s infinite;
    transition: background .4s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .2
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 400;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--wo);
    transition: color .4s
}

.hero-p {
    font-size: .96rem;
    color: var(--t1);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 440px;
}

.hero-btns {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

/* ══ BUTTONS ══ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .7rem 1.6rem;
    font-size: .84rem;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.btn-w {
    background: var(--w);
    color: var(--wb);
    border: none;
    transition: background .4s, color .4s, box-shadow .3s;
}

.btn-w:hover {
    box-shadow: 0 0 30px var(--wg)
}

.btn-g {
    background: transparent;
    color: var(--t1);
    border: 1px solid var(--brd)
}

.btn-g:hover {
    border-color: var(--t1);
    color: var(--t0)
}

/* ══ DEMO WINDOW ══ */
.demo {
    border: 1px solid var(--brd);
    overflow: hidden;
    transition: border-color .4s
}

.demo-bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem .9rem;
    background: var(--s2);
    border-bottom: 1px solid var(--brd);
    transition: all .4s;
}

.demo-dot {
    width: 8px;
    height: 8px
}

.demo-dot.r {
    background: #ff5f57
}

.demo-dot.y {
    background: #febc2e
}

.demo-dot.g {
    background: #28c840
}

.demo-bar-t {
    flex: 1;
    text-align: center;
    font-family: 'Fragment Mono', monospace;
    font-size: .6rem;
    color: var(--t2);
}

.demo-body {
    display: grid;
    grid-template-columns: 175px 1fr;
    height: 320px;
    min-height: 320px;
    max-height: 320px
}

.demo-side {
    border-right: 1px solid var(--brd);
    padding: .6rem 0;
    transition: border-color .4s
}

.demo-side-h {
    font-family: 'Fragment Mono', monospace;
    font-size: .55rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t2);
    padding: .3rem .75rem;
}

.demo-si {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    font-size: .78rem;
    color: var(--t1);
    cursor: default;
    transition: all .2s;
}

.demo-si:hover,
.demo-si.on {
    background: var(--wbg);
    color: var(--t0)
}

.demo-si.on {
    border-right: 1px solid var(--wo)
}

.demo-main {
    padding: .9rem;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.demo-sb {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--s2);
    border: 1px solid var(--brd);
    padding: .5rem .75rem;
    margin-bottom: .7rem;
    transition: border-color .3s;
}

.demo-sb.on {
    border-color: var(--wo)
}

.demo-sb svg {
    width: 14px;
    height: 14px;
    color: var(--t2);
    flex-shrink: 0
}

.demo-sb input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--t0);
    font-size: .82rem;
    font-family: 'Hanken Grotesk', sans-serif;
}

.demo-sb input::placeholder {
    color: var(--t2)
}

.dc {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    overflow-y: auto;
    overflow-x: hidden;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    scroll-behavior: smooth
}

.dm {
    max-width: 85%;
    padding: .5rem .8rem;
    font-size: .76rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(8px);
    animation: dmin .35s forwards;
}

.dm-u {
    align-self: flex-end;
    background: var(--w);
    color: var(--wb)
}

.dm-a {
    align-self: flex-start;
    background: var(--s2);
    color: var(--t0);
    border: 1px solid var(--brd)
}

.dm .src {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    color: var(--wo);
    font-family: 'Fragment Mono', monospace;
    font-size: .6rem;
    margin-top: .3rem;
}

@keyframes dmin {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.tp-dots {
    display: flex;
    gap: 4px;
    padding: .5rem .8rem;
    align-self: flex-start
}

.tp-dots span {
    width: 4px;
    height: 4px;
    background: var(--t2);
    animation: bounce 1.4s infinite
}

.tp-dots span:nth-child(2) {
    animation-delay: .2s
}

.tp-dots span:nth-child(3) {
    animation-delay: .4s
}

@keyframes bounce {

    0%,
    60%,
    100% {
        transform: translateY(0)
    }

    30% {
        transform: translateY(-4px)
    }
}

/* ══ PAIN POINTS ══ */
.pain {
    padding: 5rem 0;
    border-top: 1px solid var(--brd);
    position: relative;
    z-index: 1
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--brd)
}

.pain-card {
    background: var(--bg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: background .3s
}

.pain-card:hover {
    background: var(--hover)
}

.pain-q {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: .02em;
    line-height: 1.4;
    margin-bottom: .7rem;
}

.pain-q em {
    color: var(--wo);
    font-style: normal
}

.pain-a {
    font-size: .84rem;
    color: var(--t1);
    line-height: 1.65
}

/* ══ STATS ══ */
.stats {
    padding: 4rem 0;
    border-top: 1px solid var(--brd);
    position: relative;
    z-index: 1
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--brd);
    text-align: center;
}

.stat {
    background: var(--bg);
    padding: 2rem 1rem
}

.stat-n {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: .04em;
    color: var(--wo);
    transition: color .4s;
}

.stat-l {
    font-size: .82rem;
    color: var(--t1);
    margin-top: .3rem
}

/* ══ SECTION HELPERS ══ */
.sec {
    padding: 6rem 0;
    border-top: 1px solid var(--brd);
    position: relative;
    z-index: 1
}

.sec-label {
    font-family: 'Fragment Mono', monospace;
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--t2);
    margin-bottom: 2rem;
}

.sec-label-c {
    text-align: center
}

.sec-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.sec-title span {
    color: var(--wo);
    transition: color .4s
}

.sec-sub {
    font-size: .96rem;
    color: var(--t1);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 3rem;
}

.sec-sub-c {
    text-align: center;
    margin-left: auto;
    margin-right: auto
}

/* ══ KNOWLEDGE HUB ══ */
.khub-cv {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden
}

.khub-c {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    z-index: 10;
    border: 1px solid var(--wo);
    transition: border-color .4s;
    background: var(--bg);
}

.khub-c::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--wbg);
    z-index: 0;
    transition: background .4s;
}

.khub-c-tx {
    font-family: 'Fragment Mono', monospace;
    font-size: .55rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wo);
    text-align: center;
}

.khub-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--wo);
    opacity: 0;
    animation: rp 3s ease-out infinite;
    pointer-events: none;
}

.khub-ring:nth-child(2) {
    animation-delay: 1s
}

.khub-ring:nth-child(3) {
    animation-delay: 2s
}

@keyframes rp {
    0% {
        width: 120px;
        height: 120px;
        opacity: .3
    }

    100% {
        width: 480px;
        height: 480px;
        opacity: 0
    }
}

@media (max-width: 550px) {
    @keyframes rp {
        0% {
            width: 80px;
            height: 80px;
            opacity: .3
        }

        100% {
            width: 280px;
            height: 280px;
            opacity: 0
        }
    }
}

.knode {
    position: absolute;
    padding: .5rem .8rem .5rem .5rem;
    background: var(--bg);
    border: 1px solid var(--brd);
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .76rem;
    font-weight: 500;
    color: var(--t0);
    cursor: default;
    white-space: nowrap;
    opacity: 0;
    transition: border-color .3s;
    z-index: 2;
}

.knode.fly {
    animation: flyIn .8s cubic-bezier(.16, 1, .3, 1) forwards
}

.knode:hover {
    border-color: var(--wo)
}

.knode-ic {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
    background: var(--wbg);
    transition: background .4s;
}

@keyframes flyIn {
    0% {
        opacity: 0;
        transform: var(--ff)
    }

    100% {
        opacity: 1;
        transform: translate(0, 0)
    }
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -20
    }
}

/* ══ BENEFITS ══ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--brd)
}

.b-card {
    background: var(--bg);
    padding: 2rem;
    text-align: center;
    transition: background .3s
}

.b-card:hover {
    background: var(--hover)
}

.b-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .5rem;
    font-weight: 700;
}

.b-card p {
    font-size: .82rem;
    color: var(--t1);
    line-height: 1.65
}

/* ══ HOW IT WORKS ══ */
.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.pflow {
    display: flex;
    flex-direction: column
}

.pstep {
    display: flex;
    align-items: stretch
}

.pstep-d {
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0
}

.pstep-c {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid var(--brd);
    background: var(--bg);
    transition: all .5s;
    position: relative;
    z-index: 2;
}

.pstep-c.glow {
    border-color: var(--wo);
    background: var(--wbg)
}

.pstep-l {
    flex: 1;
    width: 1px;
    background: var(--brd);
    margin: 0 auto;
    position: relative;
    overflow: hidden
}

.pstep-l .fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--w);
    transition: height 1s cubic-bezier(.16, 1, .3, 1);
}

.pstep-ct {
    flex: 1;
    padding: .7rem 0 1.8rem .9rem
}

.pstep-tt {
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: .15rem
}

.pstep-ds {
    font-size: .82rem;
    color: var(--t1);
    line-height: 1.6
}

/* ══ AGENTS ══ */
.agents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start
}

.agent-tabs {
    display: flex;
    gap: 1px;
    background: var(--brd);
    margin-bottom: 1.5rem
}

.agent-tab {
    flex: 1;
    padding: .6rem;
    text-align: center;
    font-size: .76rem;
    font-weight: 500;
    cursor: pointer;
    background: var(--bg);
    color: var(--t1);
    transition: all .25s;
    letter-spacing: .02em;
}

.agent-tab:hover {
    color: var(--t0)
}

.agent-tab.on {
    background: var(--s2);
    color: var(--wo)
}

.agent-scene {
    display: none;
    animation: scIn .4s cubic-bezier(.16, 1, .3, 1)
}

.agent-scene.on {
    display: block
}

@keyframes scIn {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.as-card {
    border: 1px solid var(--brd);
    padding: 1.5rem;
    transition: border-color .4s
}

.as-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--brd);
}

.as-head-ic {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--wbg);
    flex-shrink: 0;
}

.as-head-title {
    font-size: .88rem;
    font-weight: 600
}

.as-head-sub {
    font-family: 'Fragment Mono', monospace;
    font-size: .6rem;
    color: var(--t2);
    letter-spacing: .06em
}

.as-body {
    font-size: .84rem;
    color: var(--t1);
    line-height: 1.7
}

.as-example {
    margin-top: 1rem;
    background: var(--s2);
    border: 1px solid var(--brd);
    padding: .9rem;
    transition: all .4s;
}

.as-example-label {
    font-family: 'Fragment Mono', monospace;
    font-size: .58rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--wo);
    margin-bottom: .5rem;
}

.as-flow-step {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .82rem;
    color: var(--t1);
    padding: .4rem .6rem;
    background: var(--s1);
    border-radius: 6px;
    line-height: 1.5;
}

.as-flow-step .dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    background: var(--wo)
}

.flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: var(--wo);
    color: var(--wb);
    font-size: .7rem;
    font-weight: 600;
    border-radius: 50%;
}

.as-flow-arrow {
    display: flex;
    justify-content: center;
    padding: .3rem 0;
}

.as-flow-arrow::before {
    content: '';
    width: 2px;
    height: 16px;
    background: linear-gradient(to bottom, var(--wo), var(--wg));
    border-radius: 1px;
}

.as-flow-step .arrow {
    color: var(--t2);
    font-size: .65rem;
    margin-left: 1.1rem
}

/* ══ TESTIMONIALS ══ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--brd)
}

.t-card {
    background: var(--bg);
    padding: 2rem;
    transition: background .3s
}

.t-card:hover {
    background: var(--hover)
}

.t-card-stars {
    color: var(--wo);
    font-size: .8rem;
    letter-spacing: 2px;
    margin-bottom: .8rem
}

.t-card-quote {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    line-height: 1.55;
    letter-spacing: .02em;
    margin-bottom: 1rem;
}

.t-card-quote em {
    color: var(--wo);
    font-style: normal
}

.t-card-author {
    font-family: 'Fragment Mono', monospace;
    font-size: .6rem;
    color: var(--t2);
    letter-spacing: .06em;
}

/* ══ TRUST ══ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--brd)
}

.trust-item {
    background: var(--bg);
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: background .3s
}

.trust-item:hover {
    background: var(--hover)
}

.trust-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .3rem;
    font-weight: 700;
}

.trust-item p {
    font-size: .78rem;
    color: var(--t1);
    line-height: 1.5
}

/* ══ CTA ══ */
.cta {
    padding: 7rem 0;
    border-top: 1px solid var(--brd);
    text-align: center;
    position: relative;
    z-index: 1
}

.cta::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--w);
    margin: 0 auto 3rem;
    transition: background .4s;
}

.cta-perks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0 2.5rem
}

.cta-perk {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .84rem;
    color: var(--t1)
}

.cta-perk .d {
    width: 6px;
    height: 6px;
    background: var(--wo);
    transition: background .4s
}

/* ══ FOOTER ══ */
footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--brd);
    position: relative;
    z-index: 1
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.foot-l {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .78rem;
    color: var(--t2)
}

.foot-logo {
    height: 2.5rem;
    width: auto;
    color: var(--t2);
}

.foot-r {
    display: flex;
    gap: 1.6rem
}

.foot-r a {
    color: var(--t1);
    text-decoration: none;
    font-size: .78rem;
    transition: color .2s
}

.foot-r a:hover {
    color: var(--wo)
}

/* ══ LEGAL PAGES ══ */
.legal {
    max-width: 720px;
    margin: 0 auto;
    padding: 7rem 2rem 4rem
}

.legal h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.legal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: .8rem;
}

.legal h3 {
    font-size: .92rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

.legal h4 {
    font-size: .88rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: .4rem
}

.legal p {
    font-size: .88rem;
    color: var(--t1);
    line-height: 1.75;
    margin-bottom: 1rem
}

.legal ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1rem
}

.legal ul li {
    font-size: .88rem;
    color: var(--t1);
    line-height: 1.75;
    margin-bottom: .5rem;
    position: relative;
    padding-left: .8rem
}

.legal ul li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--wo);
    position: absolute;
    left: 0;
    top: .65rem
}

.legal a {
    color: var(--wo);
    text-decoration: none;
    transition: color .2s
}

.legal a:hover {
    color: var(--t0)
}

/* ══ BREADCRUMBS ══ */
.breadcrumb {
    font-size: .82rem;
    font-weight: 500;
    color: var(--t2);
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--t1);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--wo);
}

.breadcrumb .bc-sep {
    color: var(--t2);
    font-size: .7rem;
    user-select: none;
}

.breadcrumb .bc-current {
    color: var(--t0);
}

/* ══ RESPONSIVE ══ */

/* Breakpoint 1: Logo "by Achmann IT" ausblenden */
@media (max-width: 1100px) {

    .logo-by,
    .logo-icon {
        display: none;
    }
}

/* Breakpoint 2: Nav-Links kompakter */
@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: .78rem;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    .hero {
        text-align: center;
        min-height: auto;
        padding: 6rem 0 3rem
    }

    .hero-p {
        margin: 0 auto 2rem
    }

    .hero-btns {
        justify-content: center
    }

    .benefits-grid,
    .testi-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .how-grid,
    .agents-grid {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .demo-body {
        grid-template-columns: 155px 1fr
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .khub-cv {
        height: 400px;
        max-width: 580px
    }

    .khub-c {
        width: 100px;
        height: 100px
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none
    }

    .benefits-grid,
    .testi-grid,
    .pain-grid {
        grid-template-columns: 1fr
    }

    .demo-body {
        grid-template-columns: 1fr
    }

    .demo-side {
        display: none
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .khub-cv {
        height: 340px
    }

    .knode {
        font-size: .68rem;
        padding: .35rem .55rem .35rem .35rem
    }

    .knode-ic {
        width: 22px;
        height: 22px;
        font-size: .7rem
    }

    .cta-perks {
        flex-direction: column;
        align-items: center
    }

    .foot {
        flex-direction: column;
        gap: .8rem;
        text-align: center
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .article-header {
        padding: 2rem 0
    }

    .article-section h2 {
        font-size: 1rem
    }

    .tech-grid {
        grid-template-columns: 1fr
    }

    .results-box {
        flex-direction: column;
        gap: 2rem
    }
}

/* Breakpoint 4: Kleinste Bildschirme */
@media (max-width: 550px) {
    .theme-btn {
        display: none;
    }

    .hero {
        padding: 5rem 0 2rem;
    }

    .sec-title {
        font-size: 1.4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .agent-tabs {
        flex-wrap: wrap;
        gap: .3rem;
    }

    .agent-tab {
        font-size: .7rem;
        padding: .4rem .6rem;
    }
}

/* ══ ARTICLE / INSIGHT PAGE ══ */
.article {
    max-width: 960px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.article-header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.15;
    margin: .5rem 0;
}

.article-header h1 span {
    color: var(--wo)
}

.article-subtitle {
    font-family: 'Fragment Mono', monospace;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t2);
    margin-top: .8rem;
}

.article-intro {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--t1);
    border-left: 2px solid var(--wo);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--t0);
}

.article-section h3 {
    font-size: .95rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: .6rem;
    color: var(--t0);
}

.article-section p {
    font-size: .92rem;
    line-height: 1.85;
    color: var(--t1);
    margin-bottom: 1rem;
}

.article-img {
    margin: 2rem 0;
    border: 1px solid var(--brd);
}

.article-img img {
    width: 100%;
    display: block;
}

.article-img figcaption {
    font-family: 'Fragment Mono', monospace;
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--t2);
    padding: .8rem 1rem;
    background: var(--s1);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-card {
    border: 1px solid var(--brd);
    padding: 1.2rem;
}

.tech-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: .9rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.tech-card h4 a {
    color: var(--wo);
    text-decoration: none
}

.tech-card h4 a:hover {
    color: var(--t0)
}

.tech-card p {
    font-size: .82rem;
    color: var(--t2);
    line-height: 1.7;
}

.results-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--wbg);
    border: 1px solid var(--brd);
    padding: 2rem;
    margin: 1.5rem 0;
}

.results-list {
    flex: 1
}

.result-item {
    font-size: .88rem;
    color: var(--t1);
    margin-bottom: .8rem;
    display: flex;
    gap: .6rem;
}

.result-check {
    color: var(--wo);
    font-weight: 600
}

.results-highlight {
    text-align: center;
    padding: 1rem 2rem;
}

.results-big {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--wo);
}

.results-label {
    font-family: 'Fragment Mono', monospace;
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t2);
    margin-top: .3rem;
}

.results-benefit {
    font-size: .92rem;
    color: var(--t1);
    font-style: italic;
    border-top: 1px solid var(--brd);
    padding-top: 1rem;
    margin-top: 1rem;
}

.article-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.6;
    letter-spacing: .02em;
    color: var(--t0);
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, var(--wbg), transparent);
    border: 1px solid var(--brd);
}

.article-cta {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--brd);
    margin-top: 3rem;
}

.article-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.article-cta p {
    font-size: .88rem;
    color: var(--t2);
    margin-bottom: 1.5rem;
}

/* ══ COOKIE BANNER ══ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--s1);
    border-top: 1px solid var(--brd);
    padding: 1rem 2rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner p {
    font-size: .84rem;
    color: var(--t1);
    flex: 1;
    min-width: 280px;
}

.cookie-banner a {
    color: var(--wo);
    text-decoration: underline;
}

.cookie-btn {
    font-family: 'Fragment Mono', monospace;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .6rem 1.2rem;
    border: 1px solid var(--brd);
    background: transparent;
    color: var(--t0);
    cursor: pointer;
    transition: all .2s;
}

.cookie-btn:hover {
    background: var(--hover);
}

.cookie-btn.accept {
    background: var(--wo);
    border-color: var(--wo);
    color: var(--wb);
}

.cookie-btn.accept:hover {
    background: var(--w);
    border-color: var(--w);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1rem;
    }
}