:root {
    /* Brand accents */
    --coral: #f3978a;
    --coral-strong: #ff7f7f;
    --blue: #2e9ef5;
    --blue-deep: #2b5cfd;

    /* dark accents */
    --charcoal: #1e2a2e;
    --deep: #161f22;
    --deeper: #101619;

    /* ----- Semantic tokens ----- */
    --bg: #161f22;
    --bg-deep: #101619;
    --bg-elev: #1e2a2e;
    --hero-fade: 16, 22, 25;

    --text: #eef2f3;
    --text-strong: #ffffff;
    --muted: #69727d;
    --muted-light: #9aa3ac;

    --line: rgba(255, 255, 255, 0.10);
    --line-soft: rgba(255, 255, 255, 0.06);

    --surface-1: rgba(255, 255, 255, 0.05);
    --surface-2: rgba(255, 255, 255, 0.015);
    --surface-3: rgba(255, 255, 255, 0.03);
    --hover-tint: rgba(255, 255, 255, 0.06);

    --input-bg: rgba(0, 0, 0, 0.25);
    --input-bg-focus: rgba(0, 0, 0, 0.4);

    --shadow-strong: rgba(0, 0, 0, 0.8);
    --shadow-soft: rgba(0, 0, 0, 0.7);

    --header-bg: rgba(22, 31, 34, 0.55);
    --header-bg-scrolled: rgba(16, 22, 25, 0.82);
    --overlay-bg: rgba(16, 22, 25, 0.92);

    --link: var(--coral);
    --accent-text: var(--coral-strong);

    --logo-filter: brightness(0) invert(1);
    --status-ok-text: #bfe0ff;
    --status-err-text: #ffc9c9;

    --dot-idle: rgba(255, 255, 255, 0.3);
    --ghost-num: rgba(255, 255, 255, 0.14);
    --title-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --particle-alpha: 1;

    --shell: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Light theme ----- */
:root[data-theme="light"] {
    --bg: #f6f8fa;
    --bg-deep: #eceff4;
    --bg-elev: #ffffff;
    --hero-fade: 246, 248, 250;

    --text: #1a2226;
    --text-strong: #0d1417;
    --muted: #6b7480;
    --muted-light: #55606b;

    --line: rgba(18, 28, 40, 0.12);
    --line-soft: rgba(18, 28, 40, 0.07);

    --surface-1: rgba(18, 28, 45, 0.045);
    --surface-2: rgba(18, 28, 45, 0.015);
    --surface-3: rgba(18, 28, 45, 0.04);
    --hover-tint: rgba(18, 28, 45, 0.05);

    --input-bg: rgba(255, 255, 255, 0.9);
    --input-bg-focus: #ffffff;

    --shadow-strong: rgba(28, 42, 66, 0.18);
    --shadow-soft: rgba(28, 42, 66, 0.12);

    --header-bg: rgba(255, 255, 255, 0.72);
    --header-bg-scrolled: rgba(255, 255, 255, 0.9);
    --overlay-bg: rgba(255, 255, 255, 0.94);

    --link: #cf5c4b;
    --accent-text: #c0503f;

    --logo-filter: brightness(0) opacity(0.55);
    --status-ok-text: #1f6bb0;
    --status-err-text: #c0392b;

    --dot-idle: rgba(18, 28, 45, 0.22);
    --ghost-num: rgba(18, 28, 45, 0.10);
    --title-shadow: none;
    --particle-alpha: 1.35;
}

/* No-JS fallback: honor the OS scheme when no explicit choice is stored. */
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
        --bg: #f6f8fa;
        --bg-deep: #eceff4;
        --bg-elev: #ffffff;
        --hero-fade: 246, 248, 250;
        --text: #1a2226;
        --text-strong: #0d1417;
        --muted: #6b7480;
        --muted-light: #55606b;
        --line: rgba(18, 28, 40, 0.12);
        --line-soft: rgba(18, 28, 40, 0.07);
        --surface-1: rgba(18, 28, 45, 0.045);
        --surface-2: rgba(18, 28, 45, 0.015);
        --surface-3: rgba(18, 28, 45, 0.04);
        --hover-tint: rgba(18, 28, 45, 0.05);
        --input-bg: rgba(255, 255, 255, 0.9);
        --input-bg-focus: #ffffff;
        --shadow-strong: rgba(28, 42, 66, 0.18);
        --shadow-soft: rgba(28, 42, 66, 0.12);
        --header-bg: rgba(255, 255, 255, 0.72);
        --header-bg-scrolled: rgba(255, 255, 255, 0.9);
        --overlay-bg: rgba(255, 255, 255, 0.94);
        --link: #cf5c4b;
        --accent-text: #c0503f;
        --logo-filter: brightness(0) opacity(0.55);
        --status-ok-text: #1f6bb0;
        --status-err-text: #c0392b;
        --dot-idle: rgba(18, 28, 45, 0.22);
        --ghost-num: rgba(18, 28, 45, 0.10);
        --title-shadow: none;
        --particle-alpha: 1.35;
    }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Overpass', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.custom-cursor,
body.custom-cursor * { cursor: none !important; }

.shell { width: min(100% - 48px, var(--shell)); margin-inline: auto; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Custom cursor ---------- */
.cursor-glow, .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform;
}
.cursor-glow {
    width: 340px; height: 340px;
    margin: -170px 0 0 -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243,151,138,0.16) 0%, rgba(243,151,138,0) 62%);
}
.cursor-dot {
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--coral-strong);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.92), 0 0 6px 1px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease, width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
body.custom-cursor.cursor-on .cursor-glow,
body.custom-cursor.cursor-on .cursor-dot { opacity: 1; }
body.cursor-hover .cursor-dot {
    width: 42px; height: 42px; margin: -21px 0 0 -21px;
    background: rgba(255,127,127,0.25);
    border: 1.5px solid var(--coral-strong);
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.9), 0 0 12px 2px rgba(0,0,0,0.35);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--deep); }
.btn-coral:hover { background: var(--coral-strong); box-shadow: 0 14px 34px -14px rgba(255,127,127,0.7); }
.btn-dark { background: var(--deep); color: #ffffff; border-color: rgba(0,0,0,0.2); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--coral); color: var(--text-strong); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.monomark { display: block; height: 30px; width: auto; overflow: visible; }
.monomark .mm-letter { fill: var(--text); }
.monomark .mm-dash { fill: var(--coral); }
.monomark.light .mm-letter { fill: var(--text-strong); }
.footer-brand .monomark { height: 34px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: padding 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    transition: padding 0.35s var(--ease);
}
.site-header.scrolled { background: var(--header-bg-scrolled); border-bottom-color: var(--line); }
.site-header.scrolled .header-inner { padding: 12px 24px; }

.nav-desktop { display: flex; align-items: center; gap: 34px; }
.nav-desktop a {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    position: relative;
    color: var(--text);
}
.nav-desktop a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--coral);
    transition: width 0.3s var(--ease);
}
.nav-desktop a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; }

/* ---------- Burger ---------- */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}
.burger span {
    width: 26px; height: 2.5px;
    background: var(--text-strong);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: var(--bg-deep);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -30px 0 60px var(--shadow-soft);
    padding: 110px 32px 32px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav nav a {
    font-weight: 700;
    font-size: 1.15rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}
.mobile-nav nav a.btn { border: 0; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 160px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(1200px 700px at 50% -10%, rgba(46,158,245,0.10), transparent 60%),
        radial-gradient(900px 600px at 80% 110%, rgba(255,127,127,0.12), transparent 55%),
        var(--bg-deep);
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(var(--hero-fade),0) 55%, rgba(var(--hero-fade),0.85) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}
.hero-inner a, .hero-inner .hero-logo { pointer-events: auto; }
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--link);
    margin-bottom: 26px;
    padding: 7px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-3);
}
.hero-title {
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 16ch;
    text-shadow: var(--title-shadow);
}
.hero-title .accent {
    background: linear-gradient(100deg, var(--coral) 0%, var(--coral-strong) 45%, var(--blue) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Animated monogram */
.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 34px;
}
.foldmark { display: block; width: 100%; height: auto; overflow: visible; }
.foldmark .fm-part,
.foldmark .fm-wrap {
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.20, 1);
    transform: translate(0, 0);
}
.foldmark .fm-part { fill: var(--text); }
.foldmark .fm-dash1 { fill: var(--coral); }
.foldmark .fm-dash2 { fill: var(--coral-strong); }
.foldmark.open .fm-wrap  { transform: translateX(-195px); }
.foldmark.open .fm-i     { transform: translateX(-205px); transition-delay: 0.05s; }
.foldmark.open .fm-w     { transform: translateX(0); }
.foldmark.open .fm-v     { transform: translateX(380px); transition-delay: 0.05s; }
.foldmark.open .fm-dash1 { transform: translateX(510px); transition-delay: 0.12s; }
.foldmark.open .fm-dash2 { transform: translateX(620px); transition-delay: 0.18s; }
.hero-logo .foldmark { width: clamp(320px, 60vw, 660px); pointer-events: auto; }
.brand .foldmark.brand-fold { width: clamp(108px, 11vw, 132px); }
.brand .brand-fold.open .fm-i { transform: translateX(-90px); }

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--muted-light);
    max-width: 46ch;
    font-weight: 400;
    margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-scroll {
    position: absolute;
    bottom: 26px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px; height: 42px;
    border: 2px solid var(--line);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}
.hero-scroll span {
    width: 4px; height: 8px;
    border-radius: 4px;
    background: var(--coral);
    animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Platforms ---------- */
.platforms {
    text-align: center;
    padding: 70px 0 70px;
    border-bottom: 1px solid var(--line-soft);
}
.platforms-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted-light);
    margin-bottom: 28px;
}
.platforms-logos img {
    margin-inline: auto;
    max-width: min(760px, 100%);
    opacity: 0.85;
    filter: var(--logo-filter);
}

/* ---------- Section head ---------- */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-text);
    margin-bottom: 16px;
}
.kicker.light { color: var(--link); }
.section-head h2 {
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--text-strong);
}
.section-head p { color: var(--muted-light); font-size: 1.1rem; }

/* ---------- Services / cards ---------- */
.services { padding: 110px 0; }
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    perspective: 1000px;
}
.card {
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 38px 32px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.25s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(243,151,138,0.14), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.card:hover {
    box-shadow: 0 28px 60px -30px var(--shadow-soft);
    border-color: rgba(243,151,138,0.4);
}
.card:hover::before { opacity: 1; }
.card-index {
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(120deg, var(--coral), var(--coral-strong));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 20px;
}
.card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; color: var(--text-strong); }
.card p { color: var(--muted-light); }

.services-cta {
    margin-top: 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.services-cta p { max-width: 60ch; color: var(--muted-light); font-size: 1.1rem; }

/* ---------- Plugins showcase ---------- */
.plugins { padding: 110px 0; overflow: hidden; }
.showcase {
    width: min(100% - 48px, var(--shell));
    margin: 8px auto 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 20px 0 24px;
    -webkit-overflow-scrolling: touch;
}
.showcase::-webkit-scrollbar { display: none; }
.showcase.dragging { cursor: grabbing; }
.showcase.dragging .plugin-card { pointer-events: none; }
.showcase-track {
    display: flex;
    gap: 20px;
    padding-inline: 0;
    width: max-content;
}
.plugin-card {
    flex: 0 0 max(210px, calc((min(var(--shell), 100vw - 48px) - 80px) / 5));
    background: linear-gradient(165deg, var(--surface-1), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    user-select: none;
}
.plugin-card::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(46,158,245,0.14), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s var(--ease);
}
.plugin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -30px var(--shadow-strong);
    border-color: rgba(46,158,245,0.4);
}
.plugin-card:hover::after { left: 130%; }
.plugin-card .p-icon {
    width: 70px; height: 70px;
    border-radius: 16px;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}
.plugin-card .p-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: grayscale(0.85) opacity(0.92);
    transition: filter 0.4s var(--ease);
}
.plugin-card:hover .p-icon img { filter: none; }
.plugin-card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; color: var(--text-strong); }
.plugin-card .p-link { margin-top: auto; font-weight: 700; font-size: 0.85rem; color: var(--accent-text); }
.plugin-card .p-link::after { content: " →"; transition: margin 0.3s var(--ease); display: inline-block; }
.plugin-card:hover .p-link::after { margin-left: 5px; }

.showcase-hint {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}
.showcase-progress {
    flex: 1;
    height: 3px;
    background: var(--line);
    border-radius: 999px;
    overflow: hidden;
}
.showcase-progress i {
    display: block;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--coral), var(--coral-strong));
    border-radius: 999px;
    transition: width 0.1s linear;
}

/* ---------- Reviews ---------- */
.reviews {
    background:
        radial-gradient(700px 400px at 15% 20%, rgba(46,158,245,0.10), transparent 60%),
        radial-gradient(700px 400px at 85% 90%, rgba(255,127,127,0.10), transparent 60%),
        var(--bg-elev);
    color: var(--text-strong);
    padding: 110px 0;
    text-align: center;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.review-viewport { max-width: 820px; margin-inline: auto; overflow: hidden; }
.review-track { display: flex; transition: transform 0.6s var(--ease); }
.review { min-width: 100%; padding: 0 10px; }
.review blockquote {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}
.review figcaption strong { display: block; font-size: 1.1rem; }
.review figcaption span { color: var(--link); font-size: 0.95rem; }
.review-dots { display: flex; gap: 12px; justify-content: center; margin-top: 44px; padding-bottom: 5px; }
.review-dots button {
    width: 10px; height: 10px; border-radius: 50%;
    border: 0; background: var(--dot-idle); cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.review-dots button.active { background: var(--coral); transform: scale(1.3); }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; }
.cta-inner {
    position: relative;
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-strong) 100%);
    border-radius: 32px;
    padding: clamp(50px, 8vw, 90px);
    text-align: center;
    color: var(--deep);
    overflow: hidden;
}
.cta-slash {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 26px;
}
.cta-slash i {
    display: block;
    width: 16px; height: 46px;
    background: var(--deep);
    transform: skewX(-20deg);
    border-radius: 4px;
    animation: slashScan 3.4s var(--ease) infinite;
}
.cta-slash i:nth-child(2) { animation-delay: 0.18s; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-inner p { font-size: 1.15rem; margin-bottom: 32px; opacity: 0.82; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: var(--text-strong); padding: 70px 0 34px; }
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-brand .brand-word { color: var(--text-strong); font-size: 1.8rem; }
.footer-brand p { width: 100%; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.footer-contact p { color: var(--muted-light); margin-bottom: 14px; font-size: 0.95rem; }
.footer-contact a { color: var(--link); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--muted-light); font-size: 0.95rem; width: fit-content; }
.footer-links a:hover { color: var(--link); }
.footer-bottom { padding-top: 26px; }
.footer-bottom p { color: var(--muted); font-size: 0.85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .cards { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .nav-desktop { display: none; }
    .burger { display: flex; }
}
@media (max-width: 560px) {
    .hero { padding-top: 130px; min-height: 92vh; }
    .cta-inner { border-radius: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .cta-slash i { animation: none; height: 82%; }
    .foldmark .fm-part, .foldmark .fm-wrap { transition: none; }
    .hero-scroll span { animation: none; }
    .plugin-card::after, .card::before { transition: none; }
    .cursor-glow, .cursor-dot { display: none; }
    .hero-canvas { display: none; }
    .hero { background:
        radial-gradient(1000px 600px at 50% 0%, rgba(46,158,245,0.12), transparent 60%),
        radial-gradient(800px 500px at 80% 100%, rgba(255,127,127,0.14), transparent 55%),
        var(--bg-deep); }
}

@media (hover: none) {
    .cursor-glow, .cursor-dot { display: none; }
    body.custom-cursor { cursor: auto; }
}

/* ---------- Appended sections ---------- */

/* ---------- Stats band ---------- */
.stats {
    padding: 84px 0;
    text-align: center;
    border-bottom: 1px solid var(--line-soft);
    background:
        radial-gradient(700px 300px at 50% -20%, rgba(46,158,245,0.08), transparent 65%),
        var(--bg);
}
.stats .kicker { margin-bottom: 34px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.stat {
    padding: 28px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.stat:hover {
    border-color: rgba(243,151,138,0.4);
    box-shadow: 0 24px 50px -30px var(--shadow-soft);
    transform: translateY(-4px);
}
.stat-num {
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, var(--coral), var(--coral-strong) 55%, var(--blue) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    color: var(--muted-light);
    font-size: 0.98rem;
    font-weight: 600;
}

/* ---------- Prozess ---------- */
.process { padding: 110px 0; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.process-step {
    position: relative;
    padding: 34px 28px 32px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
    overflow: hidden;
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.process-step::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--coral-strong));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.process-step:hover {
    border-color: rgba(243,151,138,0.4);
    box-shadow: 0 28px 60px -30px var(--shadow-soft);
    transform: translateY(-6px);
}
.process-step:hover::before { transform: scaleX(1); }
.process-num {
    display: block;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    color: var(--ghost-num);
    transition: color 0.4s var(--ease);
}
.process-step:hover .process-num { color: rgba(243,151,138,0.55); }
.process-step h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; line-height: 1.25; color: var(--text-strong); }
.process-step p { color: var(--muted-light); font-size: 0.98rem; }

/* ---------- KI-Lösungen ---------- */
.ki {
    padding: 110px 0;
    background:
        radial-gradient(700px 400px at 85% 10%, rgba(46,158,245,0.10), transparent 60%),
        radial-gradient(700px 400px at 10% 90%, rgba(255,127,127,0.08), transparent 60%),
        var(--bg-elev);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.ki-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}
.ki-grid > * { flex: 0 1 calc((100% - 2 * 22px) / 3); }
.ki-feature {
    padding: 38px 32px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.ki-feature:hover {
    border-color: rgba(46,158,245,0.4);
    box-shadow: 0 28px 60px -30px var(--shadow-soft);
    transform: translateY(-6px);
}
.ki-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 14px;
    margin-bottom: 22px;
    color: var(--accent-text);
    background: rgba(243,151,138,0.10);
    border: 1px solid rgba(243,151,138,0.25);
}
.ki-icon svg { width: 28px; height: 28px; }
.ki-feature h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; line-height: 1.25; color: var(--text-strong); }
.ki-feature p { color: var(--muted-light); }
.ki-cta { margin-top: 46px; text-align: center; }

/* ---------- Warum IWV ---------- */
.why { padding: 110px 0; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    perspective: 1000px;
}
.why-card {
    position: relative;
    padding: 34px 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.25s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(243,151,138,0.14), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.why-card:hover {
    box-shadow: 0 28px 60px -30px var(--shadow-soft);
    border-color: rgba(243,151,138,0.4);
}
.why-card:hover::before { opacity: 1; }
.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--accent-text);
    background: rgba(243,151,138,0.10);
    border: 1px solid rgba(243,151,138,0.25);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.16rem; font-weight: 800; margin-bottom: 10px; line-height: 1.25; color: var(--text-strong); }
.why-card p { color: var(--muted-light); font-size: 0.98rem; }

/* ---------- FAQ (accordion) ---------- */
.faq { padding: 110px 0; }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.4s var(--ease);
}
.faq-item:hover { border-color: rgba(243,151,138,0.3); }
.faq-item.open { border-color: rgba(243,151,138,0.45); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    background: none;
    border: 0;
    text-align: left;
    color: var(--text-strong);
    font-family: inherit;
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.3;
    cursor: pointer;
}
.faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 18px; height: 18px;
}
.faq-icon i {
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 2.5px;
    border-radius: 2px;
    background: var(--coral-strong);
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-icon i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon i:last-child { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease);
}
.faq-a > p {
    overflow: hidden;
    color: var(--muted-light);
    padding: 0 26px;
    font-size: 1rem;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 24px; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 40px 0 20px; }
.newsletter-inner {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    padding: clamp(40px, 6vw, 64px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 50% -30%, rgba(46,158,245,0.12), transparent 60%),
        linear-gradient(160deg, var(--surface-1), var(--surface-2));
    overflow: hidden;
}
.newsletter-slash {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 22px;
}
.newsletter-slash i {
    display: block;
    width: 12px; height: 38px;
    background: var(--coral);
    transform: skewX(-20deg);
    border-radius: 3px;
    animation: slashScan 3.4s var(--ease) infinite;
    box-shadow: 0 0 24px rgba(243,151,138,0.45);
}
.newsletter-slash i:nth-child(2) { background: var(--coral-strong); animation-delay: 0.18s; }
.newsletter-inner h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--text-strong); }
.newsletter-inner > p { color: var(--muted-light); font-size: 1.08rem; margin-bottom: 28px; }
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin-inline: auto;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input {
    flex: 1 1 240px;
    min-width: 0;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus {
    outline: none;
    border-color: var(--coral);
    background: var(--input-bg-focus);
}
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-msg {
    margin-top: 18px;
    min-height: 1.2em;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--link);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.newsletter-msg.show { opacity: 1; transform: none; }
.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    max-width: 46ch;
    margin-inline: auto;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted-light);
    cursor: pointer;
}
.field-check input,
.newsletter-consent input,
.consent-cat input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: var(--input-bg);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field-check input::before,
.newsletter-consent input::before,
.consent-cat input::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #fff;
    clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 20%, 84% 6%, 40% 68%);
    transform: scale(0);
    transition: transform 0.15s var(--ease);
}
.field-check input:hover,
.newsletter-consent input:hover,
.consent-cat input:not(:disabled):hover { border-color: var(--coral); }
.field-check input:checked,
.newsletter-consent input:checked,
.consent-cat input:checked {
    background: var(--coral);
    border-color: var(--coral);
}
.field-check input:checked::before,
.newsletter-consent input:checked::before,
.consent-cat input:checked::before { transform: scale(1); }
.field-check input:focus-visible,
.newsletter-consent input:focus-visible,
.consent-cat input:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.newsletter-consent a { color: var(--link); text-decoration: underline; }
.newsletter-consent.invalid { color: var(--coral-strong); }
.field-check.invalid input,
.newsletter-consent.invalid input { border-color: var(--coral-strong); box-shadow: 0 0 0 3px rgba(255, 127, 127, 0.18); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .ki-grid > * { flex-basis: 100%; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .process-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .newsletter-inner { border-radius: 20px; }
    .faq-q { padding: 18px 20px; font-size: 1rem; }
    .faq-a > p { padding-inline: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .newsletter-slash i { animation: none; }
    .faq-a { transition: none; }
    .newsletter-msg { transition: none; }
    .stat, .process-step, .ki-feature, .why-card { transition: none; }
}

/* --- Narrow-screen hero overflow --- */
@media (max-width: 640px) {
    html, body { overflow-x: hidden; }
    .hero-title {
        font-size: clamp(1.9rem, 8.5vw, 2.6rem);
        max-width: 100%;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* ---------- Interior pages (page hero, check-list, contact form, legal, consent, nav) ---------- */

/* ---------- Active nav state ---------- */
.nav-desktop a[aria-current="page"]:not(.nav-cta)::after { width: 100%; }
.nav-desktop a[aria-current="page"] { color: var(--text-strong); }
.mobile-nav nav a[aria-current="page"] { color: var(--link); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 170px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(1100px 600px at 50% -20%, rgba(46,158,245,0.12), transparent 60%),
        radial-gradient(800px 500px at 82% 120%, rgba(255,127,127,0.12), transparent 55%),
        var(--bg-deep);
    border-bottom: 1px solid var(--line-soft);
}
.page-hero .hero-noise {
    background: linear-gradient(180deg, rgba(var(--hero-fade),0) 60%, rgba(var(--hero-fade),0.9) 100%);
}
.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5.4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-strong);
    max-width: 20ch;
    text-shadow: var(--title-shadow);
}
.page-hero h1 .accent {
    background: linear-gradient(100deg, var(--coral) 0%, var(--coral-strong) 45%, var(--blue) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero p {
    margin-top: 22px;
    font-size: clamp(1.02rem, 2vw, 1.25rem);
    color: var(--muted-light);
    max-width: 54ch;
}

/* ---------- Generic content section spacing ---------- */
.section { padding: 100px 0; }
.section.tight { padding: 70px 0; }
.section-head.left { margin-inline: 0; text-align: left; max-width: 760px; }

/* ---------- Check-list ---------- */
.check-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    list-style: none;
    max-width: 960px;
    margin-inline: auto;
}
.check-list.single { max-width: 760px; }
.check-list.single li { flex-basis: 100%; }
.check-list li {
    flex: 0 1 calc((100% - 16px) / 2);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.check-list li:hover {
    border-color: rgba(243,151,138,0.4);
    box-shadow: 0 24px 50px -30px var(--shadow-soft);
    transform: translateY(-4px);
}
.check-list .ci {
    flex: 0 0 auto;
    width: 26px; height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-text);
    background: rgba(243,151,138,0.10);
    border: 1px solid rgba(243,151,138,0.25);
    margin-top: 2px;
}
.check-list .ci svg { width: 15px; height: 15px; }
.check-list .ct strong { display: block; color: var(--text-strong); font-weight: 700; margin-bottom: 4px; }
.check-list .ct { color: var(--muted-light); font-size: 0.98rem; }

/* ---------- Chip list ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin-inline: auto; }
.chips span {
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-3);
    color: var(--muted-light);
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chips span:hover { border-color: var(--coral); color: var(--text-strong); }

/* ---------- Prose paragraph ---------- */
.prose-narrow { max-width: 68ch; margin-inline: auto; text-align: center; color: var(--muted-light); font-size: 1.1rem; }
.prose-narrow strong { color: var(--text-strong); }
.prose-narrow a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact page ---------- */
.contact-section { padding: 90px 0 100px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}
.contact-form-wrap {
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(600px 300px at 20% -30%, rgba(46,158,245,0.10), transparent 60%),
        linear-gradient(160deg, var(--surface-1), var(--surface-2));
}
.contact-form-wrap h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--text-strong); margin-bottom: 6px; letter-spacing: -0.02em; }
.contact-form-wrap > p { color: var(--muted-light); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted-light); margin-bottom: 8px; }
.field label .req { color: var(--accent-text); }
.field input,
.field textarea,
.field .select-display {
    width: 100%;
    padding: 13px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.98rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus,
.field .select-display.open { outline: none; border-color: var(--coral); background: var(--input-bg-focus); }
.field textarea { resize: vertical; min-height: 130px; border-radius: 18px; }
.field.invalid input,
.field.invalid textarea,
.field.invalid .select-display { border-color: var(--coral-strong); }
.field-error { display: none; margin-top: 7px; font-size: 0.85rem; color: var(--accent-text); }
.field.invalid .field-error { display: block; }

/* custom select */
.select { position: relative; }
.select-display { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.select-display .arrow { transition: transform 0.3s var(--ease); color: var(--muted-light); display: inline-flex; }
.select-display.open .arrow { transform: rotate(180deg); }
.select-display[data-placeholder="true"] { color: var(--muted); }
.select-options {
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    z-index: 20;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--bg-elev);
    box-shadow: 0 30px 60px -20px var(--shadow-soft);
    max-height: 260px;
    overflow-y: auto;
    display: none;
}
.select-options.open { display: block; }
.select-options div {
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}
.select-options div:hover { background: var(--hover-tint); }

/* privacy + honeypot + submit */
.field-check { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 20px; }
.field-check label { font-size: 0.92rem; color: var(--muted-light); }
.field-check a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.field-check.invalid label { color: var(--accent-text); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(46,158,245,0.12); border: 1px solid rgba(46,158,245,0.35); color: var(--status-ok-text); }
.form-status.err { background: rgba(255,127,127,0.12); border: 1px solid rgba(255,127,127,0.4); color: var(--status-err-text); }

/* contact info + map */
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-2));
}
.info-card h3 { color: var(--text-strong); font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.info-card p { color: var(--muted-light); font-size: 0.98rem; margin-bottom: 10px; line-height: 1.6; }
.info-card a { color: var(--accent-text); }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 260px; }
.map-embed #map { width: 100%; height: 300px; }
.map-static {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 26px;
    min-height: 260px;
    justify-content: center;
    background:
        radial-gradient(500px 300px at 80% 10%, rgba(46,158,245,0.12), transparent 60%),
        linear-gradient(160deg, var(--surface-1), var(--surface-2));
}
.map-static p { color: var(--muted-light); font-size: 0.95rem; }
.map-placeholder { align-items: center; text-align: center; }
.map-placeholder .map-ph-icon { width: 38px; height: 38px; color: var(--link); }
.map-placeholder h3 { margin: 0; color: var(--text-strong); font-size: 1.05rem; font-weight: 800; }
.map-placeholder .map-ph-settings { color: var(--muted-light); font-size: 0.85rem; text-decoration: underline; }

/* ---------- Legal pages (Datenschutz / Impressum) ---------- */
.legal { padding: 60px 0 90px; }
.legal-inner { max-width: 860px; margin-inline: auto; }
.legal h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.legal h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.01em;
    margin: 52px 0 8px;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.15rem; font-weight: 800; color: var(--text-strong); margin: 30px 0 8px; }
.legal h4 { font-size: 0.98rem; font-weight: 700; color: var(--text); margin: 20px 0 6px; }
.legal p { color: var(--muted-light); margin-bottom: 14px; line-height: 1.7; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal ul { list-style: none; margin: 12px 0 18px; }
.legal ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--muted-light); }
.legal ul li::before {
    content: ""; position: absolute; left: 4px; top: 10px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
}
.legal .legal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; }
.legal .legal-cols h3:first-child { margin-top: 0; }

/* ---------- Cookie-consent banner ---------- */
.consent {
    position: fixed;
    left: 50%; bottom: 22px;
    transform: translateX(-50%) translateY(140%);
    width: min(100% - 32px, 720px);
    z-index: 200;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--overlay-bg);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px -20px var(--shadow-strong);
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
    opacity: 0;
}
.consent.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.consent h2 { font-size: 1.15rem; font-weight: 800; color: var(--text-strong); margin-bottom: 8px; }
.consent p { color: var(--muted-light); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.6; }
.consent p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent-actions .btn { flex: 1 1 auto; font-size: 0.9rem; padding: 11px 20px; }
.btn-mini { background: transparent; color: var(--muted-light); border-color: var(--line); }
.btn-mini:hover { border-color: var(--coral); color: var(--text-strong); }
.consent-cats {
    display: none;
    margin: 4px 0 18px;
    border-top: 1px solid var(--line-soft);
    padding-top: 16px;
}
.consent.expanded .consent-cats { display: block; }
.consent-cat { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.consent-cat:last-child { border-bottom: 0; }
.consent-cat input:disabled { opacity: 0.55; cursor: default; }
.consent-cat .cc-text strong { display: block; color: var(--text-strong); font-size: 0.95rem; font-weight: 700; }
.consent-cat .cc-text span { color: var(--muted-light); font-size: 0.86rem; }

/* ---------- Responsive (interior pages) ---------- */
@media (max-width: 900px) {
    .check-list li { flex-basis: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .legal .legal-cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
    .page-hero { padding-top: 140px; }
    .consent { padding: 22px 20px; }
    .consent-actions .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .check-list li, .chips span, .consent { transition: none; }
}

/* ---------- Header actions + language switch ---------- */
.header-actions { display: flex; align-items: center; gap: 26px; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}
.lang-switch a, .lang-switch span { color: var(--muted-light); transition: color 0.3s var(--ease); }
.lang-switch a:hover { color: var(--text-strong); }
.lang-switch .active { color: var(--link); }
.lang-switch .sep { color: var(--line); }
@media (max-width: 900px) {
    .header-actions { gap: 16px; }
}

/* ---------- Theme toggle (sun / moon) ---------- */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-3);
    color: var(--text);
    cursor: pointer;
    padding: 0;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { color: var(--link); border-color: var(--coral); transform: translateY(-1px); }
.theme-toggle svg { width: 19px; height: 19px; display: block; }
.theme-toggle .t-moon { display: none; }
:root[data-theme="light"] .theme-toggle .t-sun { display: none; }
:root[data-theme="light"] .theme-toggle .t-moon { display: block; }
@media (prefers-color-scheme: light) {
    :root:not([data-theme]) .theme-toggle .t-sun { display: none; }
    :root:not([data-theme]) .theme-toggle .t-moon { display: block; }
}
.mobile-nav .theme-toggle { width: auto; height: auto; gap: 10px; padding: 12px 0; border: 0; border-radius: 0; background: none; font: inherit; font-weight: 700; font-size: 1.15rem; justify-content: flex-start; }
.mobile-nav .theme-toggle:hover { transform: none; }
