/* ===================================================================
   Anteos GmbH  ·  edv-wien.at
   Design system + dark/light theming
   =================================================================== */

/* Lokal ausgelieferte Schriften (OFL-Lizenz): Inter, Space Grotesk, JetBrains Mono – nur Latin/Latin-Ext, variable Gewichte.
   Quelle: Google Fonts (einmalig heruntergeladen, wird NICHT mehr von Google geladen). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(/assets/fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/assets/fonts/space-grotesk-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Theme tokens ---------- */
/* CI: Magenta #690440 · Grau #8D9397 · Mint #C1D72F (nur gezielt) */
:root {
    /* Brand */
    --accent:        #690440;   /* CI Magenta                */
    --accent-2:      #93a819;   /* Mint, abgedunkelt für Lesbarkeit auf hell */
    --accent-strong: #4e0330;
    --mint:          #c1d72f;
    --ci-grey:       #8d9397;
    --gradient: linear-gradient(120deg, #a4256e 0%, #690440 65%, #4e0330 100%);
    --icon-bg:  linear-gradient(135deg, rgba(105,4,64,.10), rgba(141,147,151,.16));

    /* Light theme (default) */
    --bg:            #ffffff;
    --bg-soft:       #f7f6f7;
    --bg-elev:       #ffffff;
    --surface:       #ffffff;
    --surface-2:     #f8f6f8;
    --ink:           #17121a;
    --ink-soft:      #423c46;
    --ink-mute:      #75797d;
    --line:          #e9e6e9;
    --line-soft:     #f0eef0;
    --ring:          rgba(105, 4, 64, .28);
    --header-bg:     rgba(255, 255, 255, .72);
    --card-shadow:   0 1px 2px rgba(30,16,26,.04), 0 12px 32px -12px rgba(30,16,26,.12);
    --hero-glow:     radial-gradient(60% 60% at 75% 10%, rgba(105,4,64,.12), transparent 60%),
                     radial-gradient(50% 50% at 10% 20%, rgba(141,147,151,.16), transparent 60%);
    --grid-line:     rgba(23,18,26,.05);
    --code-bg:       #f8ecf3;
    --code-ink:      #8b1160;
}

html[data-theme="dark"] {
    --accent:        #d0619f;   /* aufgehelltes CI-Magenta für Kontrast auf dunkel */
    --accent-2:      #c1d72f;   /* Mint wirkt auf dunkel */
    --accent-strong: #dd7fb3;
    --gradient: linear-gradient(120deg, #e58abc 0%, #d0619f 60%, #a4256e 100%);
    --icon-bg:  linear-gradient(135deg, rgba(208,97,159,.16), rgba(141,147,151,.14));

    --bg:            #12090f;
    --bg-soft:       #170d14;
    --bg-elev:       #201421;
    --surface:       #1d1220;
    --surface-2:     #241626;
    --ink:           #f0eaf0;
    --ink-soft:      #c6bcc8;
    --ink-mute:      #8d9397;
    --line:          #372a3a;
    --line-soft:     #2a1f2d;
    --ring:          rgba(208, 97, 159, .40);
    --header-bg:     rgba(18, 9, 15, .72);
    --card-shadow:   0 1px 2px rgba(0,0,0,.4), 0 18px 40px -16px rgba(0,0,0,.6);
    --hero-glow:     radial-gradient(60% 60% at 78% 8%, rgba(208,97,159,.22), transparent 60%),
                     radial-gradient(55% 55% at 8% 18%, rgba(193,215,47,.07), transparent 60%);
    --grid-line:     rgba(255,255,255,.045);
    --code-bg:       rgba(208,97,159,.16);
    --code-ink:      #e8a5c9;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    transition: background-color .4s ease, color .4s ease;
}

h1, h2, h3, h4 {
    font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.02em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: transparent;
    transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: var(--header-bg);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 70px;
}
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; }
.logo-img { height: 52px; width: auto; }
.footer-logo-img { height: 72px; width: auto; }
html[data-theme="dark"] .logo-img,
html[data-theme="dark"] .footer-logo-img {
    filter: brightness(0) invert(1);   /* Logo einfarbig weiß auf dunklem Grund */
    opacity: .92;
}
.logo-word {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 1.18rem;
    letter-spacing: -.01em;
}
.logo-word b { color: var(--accent); font-weight: 600; }
.logo-tld {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .68rem;
    color: var(--ink-mute);
    letter-spacing: .02em;
    margin-top: 2px;
}

.site-nav { margin-left: auto; }
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    padding: 0;
}
.site-nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: .95rem;
    white-space: nowrap;
    color: var(--ink-soft);
    transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }

/* Controls cluster */
.controls { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 11px;
    color: var(--ink-soft);
    display: grid; place-items: center;
    transition: color .2s, border-color .2s, background-color .2s, transform .15s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.lang-switch {
    display: flex; align-items: center; gap: 2px;
    font-family: "JetBrains Mono", monospace;
    font-size: .76rem;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 4px;
    background: var(--surface);
}
.lang-switch a {
    padding: 5px 8px; border-radius: 7px;
    color: var(--ink-mute);
    transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { color: #fff; background: var(--accent); }

.remote-btn {
    display: inline-flex; align-items: center; gap: 7px;
    height: 40px; padding: 0 14px;
    border-radius: 11px;
    background: var(--accent); color: #fff;
    font-size: .86rem; font-weight: 500; white-space: nowrap;
    box-shadow: 0 6px 18px -8px var(--ring);
    transition: background-color .2s, box-shadow .25s, transform .15s;
}
.remote-btn:hover { background: var(--accent-strong); box-shadow: 0 10px 24px -8px var(--ring); }
.remote-btn:active { transform: translateY(1px); }
.remote-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 11px;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span {
    width: 17px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .25s, opacity .2s;
}
.site-nav.open ~ .controls .nav-toggle span:nth-child(1),
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: .98rem;
    border: 1px solid transparent;
    transition: transform .15s, box-shadow .25s, background-color .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 8px 24px -8px var(--ring);
}
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 12px 30px -8px var(--ring); }
.btn-ghost {
    color: var(--ink);
    background: transparent;
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 17px; height: 17px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 18px;
}
.eyebrow::before {
    content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6;
}
.section-head.center .eyebrow::before { display: none; }

.section-title {
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}
.section-intro {
    margin-top: 18px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(130px, 18vw, 190px) 0 clamp(70px, 9vw, 110px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--hero-glow);
    pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 70% 20%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 70% 20%, #000, transparent 75%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 14px 7px 11px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    font-size: .82rem;
    color: var(--ink-soft);
    margin-bottom: 26px;
    box-shadow: var(--card-shadow);
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(193,215,47,.25);
}
.hero-title {
    font-size: clamp(2.4rem, 6.2vw, 4.4rem);
    letter-spacing: -.035em;
}
.hero-title .grad {
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead {
    margin-top: 26px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 660px;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
    margin-top: 54px;
    display: flex; flex-wrap: wrap; gap: 28px 44px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.hero-meta .item .k {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.7rem; font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-meta .item .v { font-size: .9rem; color: var(--ink-mute); }

/* ---------- Trust strip ---------- */
.trust-strip {
    border-block: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 22px 0;
}
.trust-strip .container {
    display: flex; flex-wrap: wrap; gap: 14px 42px;
    align-items: center; justify-content: center;
}
.trust-item {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .88rem; color: var(--ink-soft);
}
.trust-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------- Geschäftsführung / Ansprechpartner ---------- */
.gf-block { margin-top: 34px; }
.gf-label {
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 14px; display: block;
}
.gf-cards { display: flex; flex-direction: column; gap: 12px; }
.gf-card {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--line); border-radius: 14px;
    background: var(--surface);
}
.gf-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; flex-shrink: 0;
    background: var(--gradient);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600; font-size: .95rem; letter-spacing: .02em;
}
.gf-card .gf-name { font-weight: 600; font-size: .97rem; }
.gf-card .gf-role { font-size: .84rem; color: var(--ink-mute); }

/* ---------- Competence cards ---------- */
.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 28px;
    box-shadow: var(--card-shadow);
    transition: transform .25s, border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.card::after {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: var(--gradient);
    opacity: 0; transition: opacity .25s;
}
.card:hover { transform: translateY(-4px); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card-icon {
    width: 48px; height: 48px;
    border-radius: 13px;
    display: grid; place-items: center;
    background: var(--icon-bg);
    color: var(--accent);
    margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card > p { color: var(--ink-soft); font-size: .97rem; }
.card-list {
    list-style: none; padding: 0; margin: 18px 0 0;
    display: flex; flex-direction: column; gap: 9px;
}
.card-list li {
    position: relative; padding-left: 24px;
    font-size: .92rem; color: var(--ink-soft);
}
.card-list li::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 14px; height: 9px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
    border-radius: 1px;
    opacity: .8;
}

/* ---------- Agent showcase ---------- */
.agent-section { position: relative; overflow: hidden; }
.agent-hero {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
    margin-bottom: 60px;
}
.agent-copy .section-title { margin-bottom: 18px; }
.agent-copy p { color: var(--ink-soft); font-size: 1.08rem; }

/* terminal mock */
.terminal {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .86rem;
}
.terminal-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.terminal-bar i:nth-child(1) { background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 8px; color: var(--ink-mute); font-size: .76rem; }
.terminal-body { padding: 20px; display: flex; flex-direction: column; gap: 11px; }
.t-line { display: flex; gap: 10px; }
.t-line .p { color: var(--accent-2); }
.t-line .c { color: var(--ink); }
.t-out { color: var(--ink-soft); padding-left: 22px; }
.t-out .tag {
    color: var(--accent); background: var(--code-bg);
    padding: 1px 7px; border-radius: 6px; font-size: .78rem;
}
.t-cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.agent-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));   /* sechs Karten = 3 x 2 */
}
.agent-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    transition: transform .25s, border-color .25s;
}
.agent-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.agent-card .ac-icon {
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent-2); margin-bottom: 12px; display: block;
}
.agent-card h4 { font-size: 1.08rem; margin-bottom: 8px; }
.agent-card p { font-size: .92rem; color: var(--ink-soft); }
.agent-cta {
    margin-top: 36px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.agent-cta p { color: var(--ink-soft); max-width: 540px; font-size: .98rem; }

/* ---------- Process / steps ---------- */
.steps {
    display: grid; gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    counter-reset: step;
}
.step {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    position: relative;
}
.step .num {
    font-family: "JetBrains Mono", monospace;
    font-size: .8rem; color: var(--accent);
    border: 1px solid var(--line); border-radius: 8px;
    padding: 3px 9px; display: inline-block; margin-bottom: 14px;
}
.step h4 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-soft); }
.steps.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps-5 .step { padding: 26px 20px; }

/* ---------- Why / promise ---------- */
.promise-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.promise {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 22px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.promise .ic {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center;
    background: var(--icon-bg);
    color: var(--accent);
}
.promise .ic svg { width: 20px; height: 20px; }
.promise h4 { font-size: 1.02rem; margin-bottom: 4px; }
.promise p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    border-radius: 26px;
    padding: clamp(44px, 6vw, 70px);
    overflow: hidden;
    background: var(--gradient);
    color: #fff;
    text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #fff; }
.cta-band p { margin: 16px auto 30px; max-width: 560px; color: rgba(255,255,255,.9); }
.cta-band .btn-primary { background: #fff; color: var(--accent-strong); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f0f0ff; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-mute);
}
.contact-list a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: .9rem; color: var(--ink-soft); }
.contact-form input, .contact-form textarea {
    font: inherit; font-size: .96rem;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--ring);
}
.contact-form label small { font-weight: 400; color: var(--ink-mute); }
.captcha-status { margin: -4px 0 0; font-size: .8rem; color: var(--ink-mute); }
.captcha-status[data-state="error"] { color: #c0392b; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-banner { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-size: .94rem; }
.form-banner.success { background: rgba(40,200,100,.12); border: 1px solid rgba(40,200,100,.4); }
.form-banner.error   { background: rgba(255,95,87,.1);  border: 1px solid rgba(255,95,87,.4); }

/* ---------- Support ---------- */
.support-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.support-card {
    display: flex; flex-direction: column;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    position: relative;
}
.support-card--primary {
    border-color: var(--accent);
    box-shadow: 0 18px 44px -22px var(--ring);
}
.support-card .ic {
    width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center; margin-bottom: 16px;
    background: var(--icon-bg);
    color: var(--accent);
}
.support-card .ic svg { width: 23px; height: 23px; }
.support-card h4 { font-size: 1.08rem; margin-bottom: 8px; }
.support-card p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 20px; flex: 1; }
.support-card .btn { align-self: flex-start; }
.support-card .os-hint {
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem; color: var(--ink-mute); margin-top: 12px; margin-bottom: 0;
}
.support-note {
    margin-top: 28px; padding: 20px 24px;
    border: 1px solid var(--line); border-radius: 16px;
    background: var(--surface-2);
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
    font-size: .95rem; color: var(--ink-soft);
}
.support-note .hot-label {
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent);
}
.support-note a { color: var(--accent); font-weight: 600; }

/* ---------- Lead magnet band ---------- */
.lead-band {
    position: relative; overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: clamp(32px, 4.5vw, 52px);
    background:
        radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--ci-grey) 14%, transparent), transparent 60%),
        radial-gradient(120% 140% at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
        var(--surface);
    display: grid; grid-template-columns: 1.4fr auto;
    gap: 28px 40px; align-items: center;
}
.lead-band .eyebrow { margin-bottom: 14px; }
.lead-band h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 12px; }
.lead-band p { color: var(--ink-soft); max-width: 560px; }
.lead-band .lead-actions { display: flex; }

/* ---------- IT2Rent ---------- */
.rent-panel {
    position: relative; overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: clamp(32px, 5vw, 60px);
    background:
        radial-gradient(130% 120% at 0% 0%, color-mix(in srgb, var(--ci-grey) 15%, transparent), transparent 55%),
        radial-gradient(130% 120% at 100% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
        var(--surface);
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
}
.rent-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: "JetBrains Mono", monospace; font-size: .74rem; letter-spacing: .04em;
    color: var(--accent); background: var(--code-bg);
    border: 1px solid var(--line); border-radius: 999px;
    padding: 6px 14px; margin-bottom: 20px;
}
.rent-badge b { color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.rent-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.rent-copy .lead { color: var(--ink-soft); margin-bottom: 26px; max-width: 520px; }
.rent-benefits { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 16px; }
.rent-benefits li { display: flex; gap: 13px; align-items: flex-start; }
.rent-benefits .ic {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
    display: grid; place-items: center;
    background: var(--icon-bg);
    color: var(--accent);
}
.rent-benefits .ic svg { width: 19px; height: 19px; }
.rent-benefits h4 { font-size: 1rem; margin-bottom: 2px; }
.rent-benefits p { font-size: .9rem; color: var(--ink-soft); }

.rent-card {
    border: 1px solid var(--line); border-radius: 18px;
    background: var(--bg-elev);
    padding: 26px 24px;
    box-shadow: 0 28px 64px -34px var(--ring);
}
.rent-card .rc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.rent-card .rc-title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem; }
.rent-tag {
    font-family: "JetBrains Mono", monospace; font-size: .68rem;
    color: var(--accent); border: 1px solid var(--accent); border-radius: 999px;
    padding: 4px 11px; white-space: nowrap;
}
.rent-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.rent-list li { display: flex; gap: 11px; align-items: center; font-size: .93rem; color: var(--ink-soft); }
.rent-list li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.rent-card .rc-foot {
    margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
    font-size: .85rem; color: var(--ink-mute);
}

/* ---------- Referenzen & Zahlen ---------- */
.stats-row {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 56px;
}
.stat {
    padding: 26px 20px;
    border: 1px solid var(--line); border-radius: 16px;
    background: var(--surface);
    text-align: center;
}
.stat .k {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    line-height: 1.1;
}
.stat .v { font-size: .88rem; color: var(--ink-mute); margin-top: 6px; }

.ref-rating {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px;
    margin: 0 0 32px; font-size: .96rem; color: var(--ink-soft);
}
.ref-rating .stars { color: #e8a400; letter-spacing: 2px; font-size: 1.05rem; }
.ref-rating a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ref-grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.ref-card {
    grid-column: span 2;
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line); border-radius: 18px;
    padding: 28px 26px;
    box-shadow: var(--card-shadow);
}
.ref-card--short { padding: 22px 24px; }
.ref-card--short:nth-child(4) { grid-column: 2 / span 2; }
.ref-card--short:nth-child(5) { grid-column: 4 / span 2; }
.ref-card .qm {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.8rem; line-height: .6;
    color: var(--accent); opacity: .45;
    margin-bottom: 14px;
}
.ref-card--short .qm { font-size: 2.2rem; margin-bottom: 10px; }
.ref-card blockquote { margin: 0 0 22px; color: var(--ink-soft); font-size: .96rem; flex: 1; }
.ref-card--short blockquote { font-size: 1.04rem; font-weight: 500; color: var(--ink); margin-bottom: 18px; }
.ref-meta { padding-top: 16px; border-top: 1px solid var(--line); }
.ref-meta .ref-name { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 2px; }
.ref-meta .ri { display: block; font-size: .84rem; color: var(--ink-mute); }

/* ---------- Wechsel ---------- */
.switch-assure {
    list-style: none; padding: 0; margin: 44px 0 0;
    display: grid; gap: 14px 28px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.switch-assure li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.switch-assure svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }
.switch-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 820px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
    border: 1px solid var(--line); border-radius: 14px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color .25s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600; font-size: 1rem;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem; font-weight: 400;
    color: var(--accent);
    transition: transform .25s;
    flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-size: .95rem; }
.faq-item .faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Jobs-Ribbon (fixiert rechts) ---------- */
.jobs-ribbon {
    position: fixed;
    right: 0; top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    writing-mode: vertical-rl;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 16px 11px;
    background: var(--accent);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600; font-size: .86rem;
    letter-spacing: .04em;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 8px 26px -10px var(--ring);
    transition: background-color .2s, padding-right .2s, transform .2s;
}
.jobs-ribbon:hover { background: var(--accent-strong); padding-right: 15px; }
.jobs-ribbon .jr-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 3px rgba(193,215,47,.3);
    flex-shrink: 0;
}
html[data-theme="dark"] .jobs-ribbon { background: #a4256e; }
html[data-theme="dark"] .jobs-ribbon:hover { background: #8b1160; }
@media (max-width: 760px) {
    .jobs-ribbon { font-size: .76rem; padding: 12px 9px; top: 62%; }
}

/* ---------- Karriere ---------- */
.job-list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
.job-item {
    border: 1px solid var(--line); border-radius: 16px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color .25s;
}
.job-item[open] { border-color: var(--accent); }
.job-item summary {
    cursor: pointer; padding: 22px 24px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    list-style: none;
}
.job-item summary::-webkit-details-marker { display: none; }
.job-item summary h3 {
    font-size: 1.15rem; margin: 0; flex: 1 1 auto;
}
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag {
    font-family: "JetBrains Mono", monospace; font-size: .7rem;
    color: var(--accent); background: var(--code-bg);
    border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.job-item summary::after {
    content: "+"; font-size: 1.5rem; font-weight: 400;
    color: var(--accent); line-height: 1; flex-shrink: 0;
    transition: transform .25s;
}
.job-item[open] summary::after { transform: rotate(45deg); }
.job-body { padding: 0 24px 26px; }
.job-body > p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 22px; }
.job-cols {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-bottom: 22px;
}
.job-cols h4 {
    font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    font-family: "JetBrains Mono", monospace; font-weight: 500;
    color: var(--accent); margin-bottom: 10px;
}
.job-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.job-cols li {
    position: relative; padding-left: 18px;
    font-size: .9rem; color: var(--ink-soft);
}
.job-cols li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 7px; height: 7px; border-radius: 2px;
    background: var(--accent); opacity: .55;
}
.job-salary {
    font-size: .82rem; color: var(--ink-mute);
    padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px;
    margin-bottom: 20px;
}
.job-salary .js-main { margin: 0; font-size: .98rem; font-weight: 600; color: var(--ink); }
.job-salary .js-note { margin: 6px 0 0; font-size: .76rem; color: var(--ink-mute); }
.career-note { margin-top: 28px; text-align: center; font-size: .92rem; color: var(--ink-soft); }
.career-note a { color: var(--accent); }

/* ---------- Partner ---------- */
.partner-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}
.partner-item {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 18px 14px;
    border: 1px solid var(--line); border-radius: 14px;
    background: var(--surface);
    color: var(--ci-grey);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600; font-size: .95rem;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: border-color .25s, color .25s, transform .25s;
}
.partner-item img { height: 21px; width: auto; flex-shrink: 0; }
.partner-item:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.partner-note {
    margin-top: 22px;
    font-size: .78rem; color: var(--ink-mute);
}

/* ---------- Preisrechner ---------- */
.calc-panel {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px;
    border: 1px solid var(--line); border-radius: 26px;
    padding: clamp(30px, 4.5vw, 54px);
    background: var(--surface);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}
.calc-panel > * { min-width: 0; }
.calc-field { margin-bottom: 30px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field .cf-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 10px; gap: 12px;
}
.calc-field label { font-weight: 600; font-size: .98rem; }
.calc-field .cf-hint { font-size: .8rem; color: var(--ink-mute); }
.calc-field .cf-num {
    width: 5rem; padding: 4px 10px;
    font: inherit; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.15rem;
    color: var(--accent); text-align: right;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
    -moz-appearance: textfield; appearance: textfield;
    transition: border-color .2s, box-shadow .2s;
}
.calc-field .cf-num::-webkit-outer-spin-button,
.calc-field .cf-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-field .cf-num:hover { border-color: var(--accent); }
.calc-field .cf-num:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.calc-field input[type="range"] {
    width: 100%; accent-color: var(--accent);
    height: 6px; cursor: pointer;
}
.calc-result {
    display: flex; flex-direction: column;
    border: 1px solid var(--line); border-radius: 18px;
    background: var(--bg-soft);
    padding: 30px 28px;
}
.calc-result .cr-label {
    font-family: "JetBrains Mono", monospace;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 12px;
}
.calc-price {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    line-height: 1.15;
}
.calc-price-sub { font-size: .9rem; color: var(--ink-mute); margin-top: 4px; }
.calc-includes {
    list-style: none; padding: 0; margin: 22px 0;
    display: flex; flex-direction: column; gap: 10px;
    font-size: .9rem; color: var(--ink-soft);
}
.calc-includes li { display: flex; gap: 10px; align-items: center; }
.calc-includes svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }
.calc-options {
    display: flex; flex-direction: column; gap: 22px;
    margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
}
.calc-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.calc-check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.calc-check strong { display: block; font-weight: 600; font-size: .98rem; }
.calc-check small { display: block; margin-top: 4px; font-size: .8rem; font-weight: 400; line-height: 1.5; color: var(--ink-mute); }
.calc-result .btn { margin-top: auto; justify-content: center; }
.calc-note { margin-top: 14px; font-size: .78rem; color: var(--ink-mute); }

/* ---------- Blog ---------- */
.blog-hero { padding: clamp(130px, 16vw, 170px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.blog-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.blog-hero .container { position: relative; }
.blog-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.post-card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.post-card .pc-visual {
    height: 150px;
    background:
        radial-gradient(120% 160% at 85% -20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
        var(--bg-soft);
    border-bottom: 1px solid var(--line);
    display: grid; place-items: center;
}
.post-card .pc-visual svg { width: 54px; height: 54px; color: var(--accent); opacity: .85; }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
    font-family: "JetBrains Mono", monospace;
    font-size: .74rem; color: var(--ink-mute);
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.post-meta .cat { color: var(--accent); }
.post-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.post-card p { font-size: .94rem; color: var(--ink-soft); flex: 1; }
.post-card .pc-more {
    margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--accent);
    display: inline-flex; align-items: center; gap: 7px;
}

/* Artikel */
.article { max-width: 760px; margin: 0 auto; padding: clamp(120px, 15vw, 160px) 24px 80px; }
.article .post-meta { margin-bottom: 18px; }
.article h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 20px; letter-spacing: -.02em; }
.article .lead { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 34px; }
.article h2 { font-size: 1.45rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.article p { color: var(--ink-soft); margin-bottom: 16px; }
.article ul, .article ol { color: var(--ink-soft); margin: 0 0 18px; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--ink); }
.article .article-cta {
    margin-top: 44px; padding: 28px;
    border: 1px solid var(--line); border-radius: 18px;
    background: var(--bg-soft);
    text-align: center;
}
.article .article-cta p { margin-bottom: 18px; }
.article .article-cta a.btn { text-decoration: none; }
.article a.btn-primary, .article a.btn-primary:hover { color: #fff; }   /* sonst überschreibt .article a die weiße Button-Schrift */
.breadcrumbs {
    font-size: .84rem; color: var(--ink-mute);
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    margin-bottom: 22px;
}
.breadcrumbs a { color: var(--ink-mute); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: .6; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 48px 0 40px;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .logo-word { font-size: 1.05rem; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--ink-mute); font-size: .9rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { width: 100%; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: .84rem; }

/* Mobil: kompakter Header (Logo, Theme-, Sprach-, Fernwartung-Button und Burger müssen nebeneinander passen) */
@media (max-width: 560px) {
    .header-inner.container { padding-inline: 14px; gap: 8px; }
    .logo-img { height: 40px; }
    .controls { gap: 6px; }
    .theme-toggle, .nav-toggle { width: 34px; height: 34px; border-radius: 10px; }
    .theme-toggle svg { width: 17px; height: 17px; }
    .lang-switch { padding: 3px; border-radius: 10px; font-size: .7rem; }
    .lang-switch a { padding: 5px; }
    .remote-btn { height: 34px; padding: 0 9px; font-size: .75rem; border-radius: 10px; }
    .remote-btn svg { display: none; }
}
/* Sehr schmale Displays: nur Icon (Text bleibt für Screenreader erhalten) */
@media (max-width: 339px) {
    .remote-btn { padding: 0 8px; }
    .remote-btn svg { display: block; width: 18px; height: 18px; }
    .rb-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Platzhalter, die noch befüllt werden müssen */
.todo {
    display: inline-block;
    background: var(--code-bg); color: var(--code-ink);
    font-family: "JetBrains Mono", monospace; font-size: .8rem;
    padding: 2px 8px; border-radius: 6px;
}

/* ---------- Motion (dezent: nur opacity/transform, jede Scroll-Animation einmal) ---------- */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

/* Reveal: --i wird in main.js gesetzt (Staffelung innerhalb eines Grids); nach dem Einblenden
   entfernt main.js die Klasse wieder, damit Hover-Transitions der Karten ohne Verzögerung laufen. */
.reveal {
    opacity: 0; transform: translateY(14px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.visible { opacity: 1; transform: none; }
[data-count] { font-variant-numeric: tabular-nums; }   /* Zähler ohne Zappeln */

/* Hero-Titel im Tipp-Design (nur beim ersten Aufruf pro Sitzung, siehe main.js) */
.hero-title .ch { visibility: hidden; }
.hero-title .ch.on { visibility: visible; }
.type-caret {
    display: inline-block; position: relative;
    width: 0; height: .86em; vertical-align: -.06em;   /* Breite 0: kein Umbruch-Springen */
}
.type-caret::after {
    content: ""; position: absolute; left: .07em; top: 0; bottom: 0; width: .07em;
    background: var(--accent); border-radius: 2px;
}
.type-caret.done { animation: blink 1.1s steps(1) infinite; }

/* Terminal: Zeilen erscheinen nacheinander, sobald es sichtbar wird */
@keyframes t-in { from { opacity: 0; transform: translateY(4px); } }
.terminal.is-in .terminal-body > * { animation: t-in .45s var(--ease-out) backwards; }
.terminal.is-in .terminal-body > :nth-child(1) { animation-delay: .35s; }
.terminal.is-in .terminal-body > :nth-child(2) { animation-delay: .95s; }
.terminal.is-in .terminal-body > :nth-child(3) { animation-delay: 1.35s; }
.terminal.is-in .terminal-body > :nth-child(4) { animation-delay: 2.05s; }
.terminal.is-in .terminal-body > :nth-child(5) { animation-delay: 2.65s; }
.terminal.is-in .terminal-body > :nth-child(6) { animation-delay: 3.2s; }

/* Ablauf: feine Verbindungslinie zwischen den Schritten (nur wenn alle in einer Reihe stehen) */
@media (min-width: 1101px) {
    .steps { position: relative; }
    .steps::before {
        content: ""; position: absolute; left: 24px; right: 24px; top: 41px; height: 2px;
        background: var(--gradient); opacity: .55; border-radius: 2px;
        transform: scaleX(0); transform-origin: left center;
        transition: transform 1.2s var(--ease-out) .2s;
        pointer-events: none;
    }
    .steps-5::before { top: 39px; }
    .steps.is-in::before { transform: none; }
}

/* FAQ / Stellen weich aufklappen (Progressive Enhancement, aktuelle Chromium-Browser) */
@supports (interpolate-size: allow-keywords) {
    .faq-item, .job-item { interpolate-size: allow-keywords; }
    .faq-item::details-content, .job-item::details-content {
        block-size: 0; overflow: hidden;
        transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete;
    }
    .faq-item[open]::details-content, .job-item[open]::details-content { block-size: auto; }
}

/* Mikro-Interaktionen */
.btn > svg:last-child:not(:first-child) { transition: transform .2s var(--ease-out); }
.btn:hover > svg:last-child:not(:first-child) { transform: translateX(3px); }
.hero-badge .dot { position: relative; }
.hero-badge .dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--mint);
    animation: dot-ping 3.2s var(--ease-out) infinite;
}
@keyframes dot-ping {
    0%       { transform: scale(1);   opacity: .5; }
    60%, to  { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .terminal.is-in .terminal-body > * { animation: none; }
    .steps::before { transform: none; transition: none; }
    .faq-item::details-content, .job-item::details-content { transition: none; }
    .btn > svg:last-child:not(:first-child) { transition: none; }
    .hero-badge .dot::after { animation: none; display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .steps.steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ref-card, .ref-card--short:nth-child(4), .ref-card--short:nth-child(5) { grid-column: auto; }
    .ref-card--short:last-child { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
    .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .agent-hero { grid-template-columns: 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .lead-band { grid-template-columns: 1fr; gap: 24px; align-items: start; }
    .rent-panel { grid-template-columns: 1fr; gap: 32px; }
    .calc-panel { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1240px) {
    .header-inner { gap: 12px; }
    .site-nav a { padding: 8px 8px; font-size: .9rem; }
}
@media (max-width: 1100px) {
    .nav-toggle { display: flex; order: 3; }
    .site-nav {
        position: fixed; inset: 70px 0 auto 0;
        background: var(--header-bg);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        margin: 0;
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease;
    }
    .site-nav.open { max-height: 60vh; }
    .site-nav ul { flex-direction: column; padding: 12px 24px 20px; gap: 2px; }
    .site-nav a { padding: 12px 14px; font-size: .95rem; }
    .lang-switch { order: 2; }
    .controls { margin-left: auto; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
}
@media (max-width: 700px) {
    .steps.steps-5 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .ref-grid { grid-template-columns: 1fr; }
    .ref-card--short:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
    .agent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .logo-tld { display: none; }
}
