/* ==========================================================================
   nbit.center — Landing Page (Modern Dark + Neon)
   CSP-safe: all styles external, no inline. Animations live in animations.css.
   ========================================================================== */

.landing {
    /* Dark neon design tokens (scoped to the landing page) */
    --nb-bg: #07080f;
    --nb-bg-alt: #0c0e1a;
    --nb-surface: #121524;
    --nb-surface-2: #1a1e33;
    --nb-border: rgba(255, 255, 255, 0.08);
    --nb-border-strong: rgba(255, 255, 255, 0.16);

    --nb-text: #e9ebf5;
    --nb-text-muted: #9aa1bd;
    --nb-text-dim: #6b7194;

    --nb-cyan: #22d3ee;
    --nb-indigo: #2f5bff;
    --nb-violet: #1f46e6;
    --nb-pink: #ec4899;

    /* Brand blue (logo) — clean, solid button colour (no gradient) */
    --nb-blue: #004efe;
    --nb-blue-hover: #003ad1;
    --nb-glow-blue: rgba(0, 78, 254, 0.45);

    --nb-glow-cyan: rgba(34, 211, 238, 0.45);
    --nb-glow-violet: rgba(47, 91, 255, 0.45);

    --nb-radius: 16px;
    --nb-radius-lg: 24px;
    --nb-maxw: 1180px;
    --nb-gap: clamp(1rem, 3vw, 2rem);

    background:
        radial-gradient(60% 50% at 15% -5%, rgba(47, 91, 255, 0.16), transparent 70%),
        radial-gradient(55% 45% at 95% 0%, rgba(34, 211, 238, 0.12), transparent 70%),
        var(--nb-bg);
    color: var(--nb-text);
    font-family: var(--font-family, "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif);
    line-height: 1.6;
    /* clip (not hidden) so it still prevents horizontal scroll but does NOT
       create a scroll container that would break position:sticky descendants. */
    overflow-x: hidden;
    overflow-x: clip;
}

.landing *,
.landing *::before,
.landing *::after {
    box-sizing: border-box;
}

/* Make the global header transparent / sticky over the dark hero */
body.landing-page {
    background: var(--nb-bg);
}

body.landing-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 8, 15, 0);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

body.landing-page .site-header.is-scrolled {
    background: rgba(7, 8, 15, 0.72);
    border-bottom-color: var(--nb-border);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
}

body.landing-page .site-main {
    padding: 0;
}

body.landing-page .logo-text {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--nb-cyan), var(--nb-violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Header nav ---------- */
/* 3-column grid so the nav is centred to the PAGE, not to the gap between the
   logo and the action buttons (which have unequal widths). */
body.landing-page .main-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

body.landing-page .nav-spacer {
    display: flex;
    justify-content: center;
}

body.landing-page .nav-actions {
    justify-self: end;
}

.nb-nav {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1.75rem);
    align-items: center;
}

.nb-nav a {
    color: var(--nb-text-muted, #9aa1bd);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nb-nav a:hover {
    color: var(--nb-text, #e9ebf5);
}

@media (max-width: 820px) {
    .nb-nav {
        display: none;
    }
}

/* Language switcher on the dark header — explicit white (outside .landing scope) */
body.landing-page .language-btn,
body.landing-page .language-btn .language-code,
body.landing-page .language-btn .language-caret {
    color: #ffffff;
}

body.landing-page .language-btn {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

body.landing-page .language-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* Brand logo on the dark header: light "it" (matches the dark logo variant) */
body.landing-page .nb-logo-svg .lg-grey {
    fill: #f5f5f5;
}

/* ---------- Layout primitives ---------- */
.nb-container {
    width: min(100% - 2.5rem, var(--nb-maxw));
    margin-inline: auto;
}

.nb-section {
    position: relative;
    padding: clamp(4rem, 9vw, 8rem) 0;
}

/* Give the first section after the hero extra top room so "Was wir leisten"
   sits clearly down in the black area, well clear of the hero glow. */
#leistungen {
    padding-top: clamp(6rem, 13vw, 12rem);
}

.nb-section-head {
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.nb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nb-cyan);
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--nb-border-strong);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.06);
}

.nb-h2 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 1rem 0 0.75rem;
}

.nb-lead {
    color: var(--nb-text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.nb-gradient-text {
    background: linear-gradient(110deg, var(--nb-cyan) 0%, var(--nb-indigo) 45%, var(--nb-violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.nb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.nb-btn-primary {
    color: #fff;
    background: var(--nb-blue);
    box-shadow: 0 8px 26px -10px var(--nb-glow-blue);
}

.nb-btn-primary:hover {
    transform: translateY(-2px);
    background: var(--nb-blue-hover);
    box-shadow: 0 14px 36px -10px var(--nb-glow-blue);
}

.nb-btn-ghost {
    color: var(--nb-text);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--nb-border-strong);
}

/* Header "Kontakt" button (shared .btn-primary) on the dark landing pages:
   clean solid logo blue, no gradient. */
body.landing-page .btn-primary {
    background: var(--nb-blue, #1f8ded);
    color: #fff;
    border: none;
}

body.landing-page .btn-primary:hover {
    background: var(--nb-blue-hover, #1877cf);
    color: #fff;
}

.nb-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--nb-cyan);
    box-shadow: 0 0 0 1px var(--nb-cyan), 0 10px 30px -12px var(--nb-glow-cyan);
}

/* ---------- HERO ---------- */
.nb-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8rem 0 5rem;
    isolation: isolate;
    /* contain the glow/mesh so it can't bleed into the next section */
    overflow: hidden;
}

.nb-hero__mesh {
    position: absolute;
    inset: -20%;
    z-index: -3;
    /* Darker glows, concentrated in the lower half so the top stays dark */
    background:
        radial-gradient(38% 38% at 22% 74%, rgba(34, 211, 238, 0.16), transparent 62%),
        radial-gradient(34% 34% at 80% 82%, rgba(47, 91, 255, 0.17), transparent 62%),
        radial-gradient(44% 44% at 52% 98%, rgba(47, 91, 255, 0.15), transparent 62%);
    filter: blur(22px);
    background-size: 200% 200%;
}

.nb-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    /* fade the grid in toward the lower-middle, keep top corners clean/dark */
    mask-image: radial-gradient(circle at 50% 62%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 62%, #000 0%, transparent 70%);
}

/* Keeps the whole top area (and corners) very dark so the logo never gets lost */
.nb-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* dark top (logo stays legible) + fade back to solid black at the bottom
       so the hero merges seamlessly into the dark "Was wir leisten" section */
    background: linear-gradient(to bottom,
        var(--nb-bg) 0%,
        rgba(7, 8, 15, 0.82) 12%,
        rgba(7, 8, 15, 0.30) 30%,
        transparent 48%,
        transparent 72%,
        rgba(7, 8, 15, 0.80) 90%,
        var(--nb-bg) 100%);
}

.nb-hero__inner {
    max-width: 880px;
    margin-inline: auto;
}

.nb-hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 1.25rem 0;
}

/* Hero headline: three stacked lines, middle one is the typewriter */
.nb-hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08em;
}

.nb-hero__line {
    display: block;
}

.nb-type {
    display: block;
    min-height: 1.12em;   /* keep height while text is empty between phrases */
}

.nb-type__caret {
    display: inline-block;
    width: 0.06em;
    height: 0.92em;
    margin-left: 0.04em;
    border-radius: 2px;
    vertical-align: -0.08em;
    background: linear-gradient(180deg, var(--nb-cyan), var(--nb-indigo));
    animation: nb-caret 1.05s steps(1) infinite;
}

@keyframes nb-caret {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

.nb-hero__sub {
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    color: var(--nb-text-muted);
    max-width: 620px;
    margin: 0 auto 2.25rem;
}

.nb-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.nb-hero__scroll {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--nb-text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ---------- Service pillar cards ---------- */
.nb-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--nb-gap);
}

/* 5-up service overview: all pillars in one row on desktop */
.nb-cards--5 {
    grid-template-columns: repeat(5, 1fr);
}

.nb-cards--5 .nb-card {
    padding: 1.6rem;
}

@media (max-width: 1100px) {
    .nb-cards--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .nb-cards--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .nb-cards--5 { grid-template-columns: 1fr; }
}

.nb-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--nb-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--nb-border);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nb-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg, var(--nb-cyan), transparent 40%, transparent 60%, var(--nb-violet));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nb-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px -24px var(--nb-glow-violet);
}

.nb-card:hover::before {
    opacity: 1;
}

.nb-card__icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 1.1rem;
    font-size: 1.5rem;
    color: var(--nb-cyan);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--nb-border-strong);
}

.nb-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.nb-card p {
    color: var(--nb-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1rem;
}

.nb-card__link {
    color: var(--nb-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.nb-card__link:hover {
    text-decoration: underline;
}

/* Make the WHOLE card clickable (stretched link), not just the small text link.
   Applies only to anchor links so non-link badges (<span class="nb-card__link">)
   don't create a dead overlay. */
.nb-card {
    cursor: pointer;
}

a.nb-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Sub-area card (combined Web & App page) with a list of dedicated pages */
.nb-card--area {
    grid-column: span 1;
}

.nb-card__sublist {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    /* keep these links clickable above the stretched card link */
    position: relative;
    z-index: 2;
}

.nb-card__sublist a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--nb-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nb-card__sublist a:hover {
    color: var(--nb-text, #e9ebf5);
}

.nb-card__sublist a i {
    color: var(--nb-cyan);
}

/* ---------- AI highlight ---------- */
.nb-ai {
    background:
        radial-gradient(60% 80% at 0% 0%, rgba(47, 91, 255, 0.14), transparent 60%),
        radial-gradient(60% 80% at 100% 100%, rgba(34, 211, 238, 0.12), transparent 60%),
        var(--nb-bg-alt);
    border-block: 1px solid var(--nb-border);
}

/* ---------- About / process / stats ---------- */
.nb-about {
    background:
        radial-gradient(50% 60% at 100% 0%, rgba(47, 91, 255, 0.1), transparent 60%),
        var(--nb-bg-alt);
}

.nb-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--nb-gap);
    margin-top: 3rem;
    counter-reset: step;
}

.nb-step {
    position: relative;
    padding: 1.75rem;
    border-radius: var(--nb-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nb-border);
}

.nb-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--nb-cyan);
    margin-bottom: 0.6rem;
    letter-spacing: 0.1em;
}

.nb-step h3 {
    font-size: 1.1rem;
    margin: 0 0 0.4rem;
}

.nb-step p {
    color: var(--nb-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.nb-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--nb-gap);
    margin-top: 3.5rem;
}

.nb-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--nb-radius);
    border: 1px solid var(--nb-border);
    background: rgba(255, 255, 255, 0.02);
}

.nb-stat__num {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
}

.nb-stat__label {
    margin-top: 0.5rem;
    color: var(--nb-text-muted);
    font-size: 0.9rem;
}

/* ---------- Partners marquee ---------- */
.nb-partners {
    margin-top: 4rem;
    border-top: 1px solid var(--nb-border);
    padding-top: 2.5rem;
}

.nb-partners__title {
    text-align: center;
    color: var(--nb-text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.nb-partners__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nb-partners__list li {
    color: var(--nb-text-muted);
    font-weight: 700;
    font-size: 1.05rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nb-partners__list li:hover {
    opacity: 1;
    color: var(--nb-text);
}

/* ---------- Tech stack (languages & platforms) ---------- */
.nb-tech {
    margin-top: clamp(3.5rem, 7vw, 6rem);
}

.nb-tech__title {
    text-align: center;
}

.nb-tech__lead {
    text-align: center;
    max-width: 640px;
    margin: 0.5rem auto 2rem;
}

/* Languages — auto-scrolling ticker (two rows, opposite directions) */
.nb-marquee {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.nb-marquee__track {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nb-marquee__track.is-animating {
    animation: nb-marquee-scroll 38s linear infinite;
}

.nb-marquee__row--reverse .nb-marquee__track.is-animating {
    animation-direction: reverse;
}

.nb-marquee:hover .nb-marquee__track.is-animating {
    animation-play-state: paused;
}

/* no-JS / reduced motion: static, wrapped, centred */
.nb-marquee__track:not(.is-animating) {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    row-gap: 0.85rem;
}

@keyframes nb-marquee-scroll {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .nb-marquee__track.is-animating { animation: none; }
}

.nb-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.62rem 1.1rem;
    border: 1px solid var(--nb-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--nb-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nb-chip:hover {
    color: var(--nb-text);
    border-color: var(--nb-cyan);
    background: rgba(34, 211, 238, 0.08);
}

.nb-chip__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--nb-text);
    opacity: 0.85;
}

/* Platforms — glowing logo card grid */
.nb-techgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
    gap: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nb-techcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 1.4rem 0.75rem;
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    color: var(--nb-text-muted);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.nb-techcard:hover {
    transform: translateY(-4px);
    border-color: var(--nb-blue);
    box-shadow: 0 18px 40px -22px var(--nb-glow-blue);
    color: var(--nb-text);
}

.nb-techcard__icon {
    width: 38px;
    height: 38px;
    color: var(--nb-text-muted);
    transition: color 0.25s ease, transform 0.25s ease;
}

.nb-techcard:hover .nb-techcard__icon {
    color: var(--nb-cyan);
    transform: scale(1.08);
}

.nb-techcard__label {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* ---------- Founder (Pierre) ---------- */
.nb-founder {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.nb-founder__portrait {
    display: flex;
    justify-content: center;
}

.nb-founder__portrait img {
    width: 100%;
    height: auto;
    max-width: 340px;
}

/* Desktop: pin the portrait on the detailed (agency) profile while scrolling. */
@media (min-width: 761px) {
    .nb-founder:not(.nb-founder--compact) {
        align-items: start;
    }
    .nb-founder:not(.nb-founder--compact) .nb-founder__portrait {
        position: sticky;
        top: 100px;
    }
}

.nb-founder__name {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
}

.nb-founder__role {
    color: var(--nb-cyan);
    font-weight: 600;
    margin: 0.2rem 0 1rem;
}

.nb-founder__bio {
    color: var(--nb-text-muted);
    margin: 0 0 1.25rem;
    max-width: 60ch;
}

.nb-founder__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.nb-founder__group {
    margin: 0 0 1rem;
}

.nb-founder__group-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nb-text-dim);
    margin: 0 0 0.5rem;
}

.nb-founder__langs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
    color: var(--nb-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
}

.nb-founder__langs strong {
    color: var(--nb-text);
}

.nb-founder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nb-btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a66c2;
    color: #fff;
    border: none;
}

.nb-btn-linkedin:hover {
    background: #094f96;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .nb-founder {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .nb-founder__chips,
    .nb-founder__langs,
    .nb-founder__actions {
        justify-content: center;
    }
    .nb-founder__portrait img { max-width: 240px; }
}

/* ---------- Locations + contact ---------- */
.nb-contact {
    background:
        radial-gradient(50% 60% at 0% 100%, rgba(34, 211, 238, 0.1), transparent 60%),
        var(--nb-bg-alt);
}

.nb-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.nb-locations {
    display: grid;
    gap: 1.25rem;
}

.nb-location {
    padding: 1.5rem;
    border-radius: var(--nb-radius);
    border: 1px solid var(--nb-border);
    background: rgba(255, 255, 255, 0.02);
}

.nb-location h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nb-location p {
    margin: 0;
    color: var(--nb-text-muted);
    font-size: 0.92rem;
}

.nb-contact__card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--nb-radius-lg);
    border: 1px solid var(--nb-border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

/* ---------- Form fields ---------- */
.nb-field {
    margin-bottom: 1.1rem;
}

.nb-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--nb-text);
}

.nb-input,
.nb-textarea,
.nb-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: rgba(7, 8, 15, 0.6);
    border: 1px solid var(--nb-border-strong);
    color: var(--nb-text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nb-input::placeholder,
.nb-textarea::placeholder {
    color: var(--nb-text-dim);
}

.nb-input:focus,
.nb-textarea:focus,
.nb-select:focus {
    outline: none;
    border-color: var(--nb-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.nb-textarea {
    min-height: 130px;
    resize: vertical;
}

.nb-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nb-form__submit {
    width: 100%;
    margin-top: 0.5rem;
}

.nb-form__hint {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: var(--nb-text-dim);
}

.nb-form__success {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.4);
    background: rgba(34, 211, 238, 0.08);
    color: var(--nb-text);
    margin-bottom: 1.25rem;
}

.nb-errorlist {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    color: var(--nb-pink);
    font-size: 0.82rem;
}

/* ---------- CTA band ---------- */
.nb-cta-band {
    text-align: center;
    padding: clamp(3rem, 7vw, 6rem) 0;
    background:
        radial-gradient(60% 120% at 50% 0%, rgba(47, 91, 255, 0.18), transparent 60%),
        radial-gradient(60% 120% at 50% 100%, rgba(34, 211, 238, 0.16), transparent 60%);
}

.nb-cta-band h2 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 auto 1.5rem;
    max-width: 720px;
}

/* ---------- Footer tweak on landing ----------
   NB: the --nb-* tokens are scoped to .landing; the footer sits OUTSIDE that
   element, so we use explicit values here (otherwise it falls back to white). */
/* Footer follows the theme: light by default, dark under [data-theme="dark"]
   (the footer sits outside .landing, so we set explicit values per theme). */
body.landing-page .site-footer {
    background: #f4f6fb;
    border-top: 1px solid #e4e8f1;
    color: #4a5168;
}
body.landing-page .site-footer a { color: #4a5168; }
body.landing-page .site-footer a:hover { color: var(--nb-blue, #1f8ded); }
body.landing-page .footer-trust,
body.landing-page .footer-bottom,
body.landing-page .footer-topics { border-color: #e4e8f1; }
body.landing-page .footer-col__title,
body.landing-page .footer-topics__label { color: #1a1d29; }
body.landing-page .footer-brand { color: #1a1d29; }

/* Dark variant */
[data-theme="dark"] body.landing-page .site-footer {
    background: #0a0b14;
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #9aa1bd;
}
[data-theme="dark"] body.landing-page .site-footer a { color: #9aa1bd; }
[data-theme="dark"] body.landing-page .site-footer a:hover { color: #e9ebf5; }
[data-theme="dark"] body.landing-page .footer-trust,
[data-theme="dark"] body.landing-page .footer-bottom,
[data-theme="dark"] body.landing-page .footer-topics { border-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] body.landing-page .footer-col__title,
[data-theme="dark"] body.landing-page .footer-topics__label { color: #e9ebf5; }
[data-theme="dark"] body.landing-page .footer-brand { color: #ffffff; }

/* ---------- Footer social buttons ---------- */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e4e8f1;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d8deea;
    color: #4a5168;
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

/* Dark variant for the footer social buttons */
[data-theme="dark"] body.landing-page .footer-social { border-bottom-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] body.landing-page .footer-social__link { border-color: rgba(255, 255, 255, 0.12); color: #9aa1bd; }

.footer-social__link:hover {
    color: #fff;
    background: var(--nb-blue, #004efe);
    border-color: var(--nb-blue, #004efe);
    transform: translateY(-2px);
}

/* ---------- Inner content pages ---------- */
.nb-section--page {
    padding-top: clamp(7rem, 13vh, 10rem);
}

.nb-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--nb-text-dim);
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}

.nb-breadcrumb a {
    color: var(--nb-text-muted);
    text-decoration: none;
}

.nb-breadcrumb a:hover {
    color: var(--nb-cyan);
}

.nb-page-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0 0 1rem;
}

.nb-prose {
    color: var(--nb-text-muted);
    max-width: 72ch;
    font-size: 1.05rem;
}

.nb-prose p {
    margin: 0 0 1.1rem;
}

/* Legal pages (Impressum, Datenschutz, AGB) */
.nb-legal__content {
    max-width: 80ch;
}

.nb-legal__content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--nb-text);
    margin: 2.4rem 0 0.8rem;
}

.nb-legal__content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nb-text);
    margin: 1.6rem 0 0.5rem;
}

.nb-legal__content p {
    margin: 0 0 1.1rem;
    line-height: 1.7;
}

.nb-legal__content strong {
    color: var(--nb-text);
}

.nb-legal__content a {
    color: var(--nb-cyan);
    text-decoration: none;
    word-break: break-word;
}

.nb-legal__content a:hover {
    text-decoration: underline;
}

.nb-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0;
}

.nb-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--nb-text);
    border: 1px solid var(--nb-border-strong);
    background: rgba(255, 255, 255, 0.03);
}

.nb-mt {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.nb-empty {
    text-align: center;
    color: var(--nb-text-dim);
    padding: 3rem 1rem;
    border: 1px dashed var(--nb-border-strong);
    border-radius: var(--nb-radius);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nb-contact__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .nb-form__row {
        grid-template-columns: 1fr;
    }
}

/* ---------- Contact form: conditional security challenge ---------- */
.nb-captcha {
    border: 1px solid var(--nb-border-strong);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    background: rgba(0, 78, 254, 0.06);
}

.nb-captcha label {
    display: block;
    margin-bottom: 0.55rem;
    font-weight: 600;
    color: var(--nb-text);
}

.nb-captcha input {
    max-width: 160px;
}


/* ==========================================================================
   WP-BIT THEME — own light-first identity (rebuilt from wp-bit.de)
   Brand: blue #1f8ded (logo) + orange #f06334 accent. Clean WordPress-agency
   look. Re-skins the shared .nb-* components; structure above is untouched.
   Light is the default; [data-theme="dark"] provides the dark variant.
   ========================================================================== */
.landing {
    /* WP-Bit light tokens (override the dark defaults at the top of this file) */
    --nb-bg: #ffffff;
    --nb-bg-alt: #f5f7fb;
    --nb-surface: #ffffff;
    --nb-surface-2: #f5f7fb;
    --nb-border: #e6e8ee;
    --nb-border-strong: #d4d8e2;

    --nb-text: #2b2f38;
    --nb-text-muted: #5b6472;
    --nb-text-dim: #8a93a3;

    /* brand */
    --nb-blue: #1f8ded;
    --nb-blue-hover: #1877cf;
    --nb-accent: #f06334;
    --nb-accent-hover: #dc4f22;
    --nb-glow-blue: rgba(31, 141, 237, 0.35);
    --nb-glow-cyan: rgba(31, 141, 237, 0.30);
    --nb-glow-violet: rgba(31, 141, 237, 0.30);

    /* retire the neon accents -> brand blue (used by gradient text, hovers) */
    --nb-cyan: #1f8ded;
    --nb-indigo: #1f8ded;
    --nb-violet: #1877cf;

    background:
        radial-gradient(50% 38% at 12% -6%, rgba(31, 141, 237, 0.10), transparent 70%),
        radial-gradient(45% 35% at 96% -2%, rgba(240, 99, 52, 0.07), transparent 70%),
        var(--nb-bg);
    color: var(--nb-text);
}

/* gradient headline -> brand blue (kept subtle) */
.landing .nb-gradient-text {
    background: linear-gradient(100deg, #1f8ded 0%, #1877cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Header: light, solid ---------- */
body.landing-page { background: var(--nb-bg); }

body.landing-page .site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--nb-border);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
}
body.landing-page .site-header.is-scrolled {
    background: #ffffff;
    border-bottom-color: var(--nb-border);
    box-shadow: 0 6px 24px -14px rgba(20, 30, 60, 0.25);
}
.landing .nb-nav a,
body.landing-page .nb-nav a { color: var(--nb-text-muted); }
.landing .nb-nav a:hover,
body.landing-page .nb-nav a:hover { color: var(--nb-blue); }

/* logo: white "WP·BIT" stays on the blue badge; language + theme controls dark */
body.landing-page .nb-logo-svg .lg-grey { fill: #2b2f38; }
body.landing-page .language-btn,
body.landing-page .language-btn .language-code,
body.landing-page .language-btn .language-caret,
body.landing-page .theme-toggle { color: #2b2f38; }
body.landing-page .language-btn,
body.landing-page .theme-toggle {
    border-color: var(--nb-border-strong);
    background: #ffffff;
}
body.landing-page .language-btn:hover,
body.landing-page .theme-toggle:hover {
    border-color: var(--nb-blue);
    background: #f1f7fe;
}

/* ---------- Buttons ---------- */
.landing .nb-btn-primary {
    background: var(--nb-blue);
    color: #fff;
    box-shadow: 0 10px 26px -12px var(--nb-glow-blue);
}
.landing .nb-btn-primary:hover { background: var(--nb-blue-hover); }
.landing .nb-btn-accent {
    background: var(--nb-accent);
    color: #fff;
    box-shadow: 0 10px 26px -12px rgba(240, 99, 52, 0.4);
}
.landing .nb-btn-accent:hover { transform: translateY(-2px); background: var(--nb-accent-hover); }
.landing .nb-btn-ghost {
    background: var(--nb-surface);   /* white in light, dark slate in dark mode */
    color: var(--nb-text);
    border-color: var(--nb-border-strong);
}
.landing .nb-btn-ghost:hover {
    border-color: var(--nb-blue);
    color: var(--nb-blue);
    box-shadow: 0 0 0 1px var(--nb-blue), 0 12px 30px -14px var(--nb-glow-blue);
}
/* NOTE: --nb-blue is scoped to .landing; the header button lives OUTSIDE it, so
   the brand blue must be passed as a literal fallback or it resolves to empty. */
body.landing-page .btn-primary { background: var(--nb-blue, #1f8ded); color: #fff; border: none; }
body.landing-page .btn-primary:hover { background: var(--nb-blue-hover, #1877cf); color: #fff; }

/* ---------- Hero: clean light ---------- */
.landing .nb-hero__mesh {
    background:
        radial-gradient(40% 40% at 16% 28%, rgba(31, 141, 237, 0.12), transparent 62%),
        radial-gradient(34% 34% at 84% 22%, rgba(240, 99, 52, 0.10), transparent 62%),
        radial-gradient(40% 40% at 60% 96%, rgba(31, 141, 237, 0.08), transparent 62%);
    filter: blur(8px);
}
.landing .nb-hero__grid {
    background-image:
        linear-gradient(rgba(31, 141, 237, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 141, 237, 0.06) 1px, transparent 1px);
}
.landing .nb-hero__veil { background: none; }
.landing .nb-hero__scroll { color: var(--nb-text-dim); }

/* trust badges under the hero CTA */
.landing .nb-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.4rem;
    margin-top: 1.8rem;
    color: var(--nb-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}
.landing .nb-hero__trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.landing .nb-hero__trust i { color: var(--nb-blue); }

/* ---------- Cards & surfaces ---------- */
.landing .nb-card,
.landing .nb-techcard {
    background: #ffffff;
    border: 1px solid var(--nb-border);
    box-shadow: 0 8px 26px -16px rgba(20, 30, 60, 0.22);
}
.landing .nb-card:hover {
    box-shadow: 0 18px 40px -18px rgba(20, 30, 60, 0.28);
    border-color: #d2def0;
}
.landing .nb-card::before {
    background: linear-gradient(130deg, var(--nb-blue), transparent 45%, transparent 60%, var(--nb-accent));
}
.landing .nb-card__icon {
    background: rgba(31, 141, 237, 0.12);
    color: var(--nb-blue);
}
.landing .nb-card__link { color: var(--nb-blue); }
.landing .nb-step,
.landing .nb-stat,
.landing .nb-location {
    background: #ffffff;
    border: 1px solid var(--nb-border);
}
.landing .nb-stat__num { color: var(--nb-blue); }
.landing .nb-chip { background: #eef4fb; color: var(--nb-text-muted); }
.landing .nb-chip:hover { background: rgba(31, 141, 237, 0.12); color: var(--nb-blue); }
.landing .nb-contact__card {
    background: #ffffff;
    border: 1px solid var(--nb-border);
    box-shadow: 0 10px 34px -18px rgba(20, 30, 60, 0.25);
}
.landing .nb-input,
.landing .nb-textarea,
.landing .nb-select {
    background: #ffffff;
    border: 1px solid var(--nb-border-strong);
    color: var(--nb-text);
}
.landing .nb-input:focus,
.landing .nb-textarea:focus,
.landing .nb-select:focus {
    border-color: var(--nb-blue);
    box-shadow: 0 0 0 3px rgba(31, 141, 237, 0.15);
    outline: none;
}
.landing .nb-cta-band { background: linear-gradient(120deg, #1f8ded, #1877cf); }
.landing .nb-cta-band h2 { color: #ffffff; }

/* ==========================================================================
   WP-BIT — DARK VARIANT (toggle). Same blue/orange brand on a deep slate base.
   ========================================================================== */
[data-theme="dark"] .landing {
    --nb-bg: #0d1117;
    --nb-bg-alt: #111722;
    --nb-surface: #161c28;
    --nb-surface-2: #1a2230;
    --nb-border: rgba(255, 255, 255, 0.10);
    --nb-border-strong: rgba(255, 255, 255, 0.18);
    --nb-text: #e8eaf0;
    --nb-text-muted: #a3acbd;
    --nb-text-dim: #788396;
    background:
        radial-gradient(50% 40% at 12% -6%, rgba(31, 141, 237, 0.18), transparent 70%),
        radial-gradient(45% 35% at 96% -2%, rgba(240, 99, 52, 0.12), transparent 70%),
        var(--nb-bg);
}
[data-theme="dark"] body.landing-page { background: #0d1117; }
[data-theme="dark"] body.landing-page .site-header { background: rgba(13, 17, 23, 0.0); border-bottom-color: transparent; }
[data-theme="dark"] body.landing-page .site-header.is-scrolled {
    background: rgba(13, 17, 23, 0.82);
    border-bottom-color: var(--nb-border);
    box-shadow: none;
}
[data-theme="dark"] body.landing-page .nb-logo-svg .lg-grey { fill: #f5f5f5; }
[data-theme="dark"] body.landing-page .language-btn,
[data-theme="dark"] body.landing-page .language-btn .language-code,
[data-theme="dark"] body.landing-page .language-btn .language-caret,
[data-theme="dark"] body.landing-page .theme-toggle { color: #ffffff; }
[data-theme="dark"] body.landing-page .language-btn,
[data-theme="dark"] body.landing-page .theme-toggle {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .landing .nb-card,
[data-theme="dark"] .landing .nb-techcard,
[data-theme="dark"] .landing .nb-contact__card { background: var(--nb-surface); box-shadow: none; }
[data-theme="dark"] .landing .nb-step,
[data-theme="dark"] .landing .nb-stat,
[data-theme="dark"] .landing .nb-location { background: rgba(255, 255, 255, 0.03); }
[data-theme="dark"] .landing .nb-chip { background: rgba(255, 255, 255, 0.05); color: var(--nb-text-muted); }
[data-theme="dark"] .landing .nb-input,
[data-theme="dark"] .landing .nb-textarea,
[data-theme="dark"] .landing .nb-select { background: rgba(255, 255, 255, 0.04); }
[data-theme="dark"] .landing .nb-hero__grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
[data-theme="dark"] .landing .nb-card__icon { background: rgba(31, 141, 237, 0.18); }

/* ==========================================================================
   WP-BIT REDESIGN COMPONENTS — split hero, timeline, stat band, WhatsApp,
   founder card, flat decor. Replaces the nbit canvas-fx aesthetic.
   ========================================================================== */
.landing .nb-section--alt { background: var(--nb-bg-alt); }

/* Static flat decor (replaces canvas section-fx) */
.landing .nb-decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.landing .nb-decor--hero::before,
.landing .nb-decor--hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(64px); }
.landing .nb-decor--hero::before { width: 480px; height: 480px; left: -130px; top: -90px;
    background: radial-gradient(circle, rgba(31,141,237,.22), transparent 70%); }
.landing .nb-decor--hero::after { width: 420px; height: 420px; right: -110px; top: 30px;
    background: radial-gradient(circle, rgba(240,99,52,.16), transparent 70%); }

/* Hero: two-column split */
.landing .nb-hero--split { min-height: auto; place-items: stretch; text-align: left;
    padding: clamp(6.5rem,12vh,9rem) 0 clamp(3rem,7vh,5rem); }
.landing .nb-hero__grid2 { display: grid; grid-template-columns: 1.05fr .95fr;
    gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.landing .nb-hero__col { max-width: 640px; }
.landing .nb-hero--split .nb-hero__title { font-size: clamp(2.1rem,5vw,3.4rem); line-height: 1.08; align-items: flex-start; }
@media (max-width: 900px) { .landing .nb-hero--split .nb-hero__title { align-items: center; } }
.landing .nb-hero--split .nb-hero__sub { margin-top: 1.1rem; max-width: 560px; }
.landing .nb-hero--split .nb-hero__cta,
.landing .nb-hero--split .nb-hero__trust { justify-content: flex-start; }
.landing .nb-hero--split .nb-hero__trust { margin-top: 1.4rem; }
.landing .nb-hero__media { display: flex; justify-content: center; }
.landing .nb-hero__media img { width: 100%; max-width: 560px; height: auto;
    filter: drop-shadow(0 24px 40px rgba(20,30,60,.16)); }
@media (max-width: 900px) {
    .landing .nb-hero__grid2 { grid-template-columns: 1fr; text-align: center; }
    .landing .nb-hero__col { max-width: none; margin-inline: auto; }
    .landing .nb-hero--split .nb-hero__cta,
    .landing .nb-hero--split .nb-hero__trust { justify-content: center; }
    .landing .nb-hero--split .nb-hero__sub { margin-inline: auto; }
    .landing .nb-hero__media { order: -1; }
    .landing .nb-hero__media img { max-width: 340px; }
}

/* Buttons: WhatsApp / light / small */
.landing .nb-btn-whatsapp { background: #15803d; color: #fff; box-shadow: 0 10px 26px -12px rgba(37,211,102,.55); }
.landing .nb-btn-whatsapp:hover { transform: translateY(-2px); background: #11652f; color: #fff; }
.landing .nb-btn-light { background: #fff; color: var(--nb-blue); }
.landing .nb-btn-light:hover { transform: translateY(-2px); color: var(--nb-blue-hover); }
.landing .nb-btn--sm { padding: .55rem 1.05rem; font-size: .9rem; }

/* Feature card: accent top border */
.landing .nb-card--feature { border-top: 3px solid var(--nb-blue); }

/* Founder card */
.landing .nb-foundercard { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem,3vw,2.4rem);
    align-items: center; background: var(--nb-surface); border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-lg); padding: clamp(1.4rem,3vw,2.4rem);
    box-shadow: 0 12px 36px -20px rgba(20,30,60,.25); margin-top: 1rem; }
.landing .nb-foundercard__media img { width: 168px; height: 168px; border-radius: 20px; object-fit: cover; }
.landing .nb-foundercard__name { font-size: 1.4rem; font-weight: 800; margin: 0; }
.landing .nb-foundercard__role { color: var(--nb-blue); font-weight: 600; margin: .2rem 0 .8rem; }
.landing .nb-foundercard__bio { color: var(--nb-text-muted); margin: 0; }
.landing .nb-foundercard__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
@media (max-width: 680px) { .landing .nb-foundercard { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

.landing .nb-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.landing .nb-subhead { text-align: center; font-size: clamp(1.4rem,3vw,1.9rem); font-weight: 800;
    margin: clamp(2.4rem,5vw,3.5rem) 0 1.4rem; }

/* Timeline "How it works" */
.landing .nb-timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.landing .nb-tl { background: var(--nb-surface); border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius); padding: 1.6rem 1.2rem 1.3rem; }
.landing .nb-tl__num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border-radius: 50%; background: var(--nb-blue); color: #fff; font-weight: 800; margin-bottom: .7rem; }
.landing .nb-tl h4 { font-size: 1.05rem; margin: 0 0 .35rem; }
.landing .nb-tl p { color: var(--nb-text-muted); font-size: .95rem; margin: 0; }
@media (max-width: 820px) { .landing .nb-timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .landing .nb-timeline { grid-template-columns: 1fr; } }

/* Stat band — flat tiles */
.landing .nb-statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: clamp(2rem,4vw,3rem); }
.landing .nb-stat2 { text-align: center; background: var(--nb-surface); border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius); padding: 1.7rem 1rem; }
.landing .nb-stat2--accent { background: linear-gradient(135deg, var(--nb-blue), #1877cf); border: none; }
.landing .nb-stat2--accent .nb-stat2__num, .landing .nb-stat2--accent .nb-stat2__label { color: #fff; }
.landing .nb-stat2__num { font-size: clamp(1.8rem,4vw,2.4rem); font-weight: 800; color: var(--nb-blue); line-height: 1; }
.landing .nb-stat2__label { color: var(--nb-text-muted); font-size: .9rem; margin-top: .4rem; }
@media (max-width: 680px) { .landing .nb-statband { grid-template-columns: 1fr 1fr; } }

/* WhatsApp contact box (in contact section) */
.landing .nb-whatsapp-box { display: flex; align-items: center; gap: .9rem; text-decoration: none;
    background: #15803d; color: #fff; border-radius: var(--nb-radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.landing .nb-whatsapp-box i { font-size: 1.8rem; }
.landing .nb-whatsapp-box:hover { background: #11652f; color: #fff; }

/* CTA band actions */
.landing .nb-cta-band__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.3rem; }

/* Sticky WhatsApp launcher (bottom-left, opposite the chat) */
.nb-wa-fab { position: fixed; left: 22px; bottom: 22px; z-index: 999; display: inline-flex; align-items: center; gap: .55rem;
    background: #15803d; color: #fff; text-decoration: none; font-weight: 700; padding: .8rem 1.1rem; border-radius: 999px;
    box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .2s ease, background .2s ease; }
.nb-wa-fab:hover { transform: translateY(-2px); background: #11652f; color: #fff; }
.nb-wa-fab i { font-size: 1.35rem; }
@media (max-width: 600px) { .nb-wa-fab__label { display: none; } .nb-wa-fab { padding: .85rem; border-radius: 50%; } }

/* Soforthilfe panel (WP-Notfall service page) */
.landing .nb-soforthilfe { display: grid; grid-template-columns: minmax(0,420px) 1fr; gap: clamp(1.2rem,3vw,2.4rem);
    align-items: center; background: var(--nb-surface); border: 1px solid var(--nb-border);
    border-left: 4px solid var(--nb-accent); border-radius: var(--nb-radius-lg);
    padding: clamp(1.2rem,3vw,2rem); box-shadow: 0 12px 36px -22px rgba(20,30,60,.25); }
.landing .nb-soforthilfe__media img { width: 100%; height: auto; border-radius: var(--nb-radius); }
.landing .nb-soforthilfe__body h2 { margin: 0 0 .6rem; font-size: clamp(1.3rem,3vw,1.7rem); }
.landing .nb-soforthilfe__body p { color: var(--nb-text-muted); margin: 0 0 1rem; }
.landing .nb-soforthilfe__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 760px) { .landing .nb-soforthilfe { grid-template-columns: 1fr; } }

/* ==========================================================================
   WP-BIT REDESIGN v2 — typewriter hero, graphical timeline, blog image cards
   ========================================================================== */
/* Hero typewriter (stacked layout) */
.landing .nb-hero__type { display: block; font-size: clamp(2.1rem,5vw,3.4rem); line-height: 1.05; }
.landing .nb-eyebrow--accent { color: var(--nb-accent); border-color: rgba(240,99,52,.35); background: rgba(240,99,52,.08); }

/* Graphical timeline */
.landing .nb-timeline { align-items: start; }
.landing .nb-tl { background: transparent; border: none; padding: 0 .6rem; text-align: center; position: relative; }
.landing .nb-tl__icon { position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 50%; background: rgba(31,141,237,.12); color: var(--nb-blue);
    font-size: 1.7rem; margin-bottom: .9rem; }
.landing .nb-tl__num { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
    background: var(--nb-accent); color: #fff; font-size: .82rem; font-weight: 800; display: inline-flex;
    align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--nb-bg-alt); }
.landing .nb-tl h4 { font-size: 1.05rem; margin: 0 0 .35rem; }
.landing .nb-tl p { color: var(--nb-text-muted); font-size: .95rem; margin: 0; }
/* connector line between steps */
.landing .nb-tl:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 44px);
    right: calc(-50% + 44px); height: 2px; background: var(--nb-border); z-index: -1; }
.landing .nb-timeline--5 { grid-template-columns: repeat(5,1fr); }
@media (max-width: 1000px) { .landing .nb-timeline--5 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 820px) { .landing .nb-tl::after { display: none !important; } }
@media (max-width: 680px) { .landing .nb-timeline--5 { grid-template-columns: 1fr 1fr; } }

/* Phone box (blue variant of the WhatsApp box) */
.landing .nb-phone-box { background: var(--nb-blue); }
.landing .nb-phone-box:hover { background: var(--nb-blue-hover); }

/* Compact soforthilfe box (service page, no image) */
.landing .nb-soforthilfe--compact { grid-template-columns: 1fr; border-left-width: 4px; }

/* Blog image cards */
.landing .nb-bloggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: clamp(1rem,2.5vw,1.6rem); }
.landing .nb-blogcard { display: flex; flex-direction: column; background: var(--nb-surface); border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius); overflow: hidden; box-shadow: 0 8px 26px -16px rgba(20,30,60,.2);
    transition: transform .2s ease, box-shadow .3s ease; }
.landing .nb-blogcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(20,30,60,.28); }
.landing .nb-blogcard__media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--nb-bg-alt); }
.landing .nb-blogcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.landing .nb-blogcard:hover .nb-blogcard__media img { transform: scale(1.05); }
.landing .nb-blogcard__fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--nb-blue), #1877cf); color: #fff; font-size: 3rem; }
.landing .nb-blogcard__cat { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.92); color: var(--nb-blue);
    font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.landing .nb-blogcard__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.landing .nb-blogcard__body h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.landing .nb-blogcard__body h3 a { color: var(--nb-text); text-decoration: none; }
.landing .nb-blogcard__body h3 a:hover { color: var(--nb-blue); }
.landing .nb-blogcard__body p { color: var(--nb-text-muted); font-size: .95rem; margin: 0; flex: 1; }
.landing .nb-blogcard__body .nb-card__link { margin-top: .3rem; }

/* Blog cover on detail page */
.landing .nb-blogcover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--nb-radius-lg);
    margin: 1.4rem 0 .4rem; }
.landing .nb-prose--lead { font-size: 1.1rem; color: var(--nb-text); font-weight: 500; }

/* ==========================================================================
   Mobile hamburger menu (light-first, adapted from nbit; + dark variant)
   ========================================================================== */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid var(--border-color, #d4d8e2);
    border-radius: var(--radius, 8px);
    cursor: pointer;
}
.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #2b2f38;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nb-mobilemenu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid var(--nb-border, #e6e8ee);
    box-shadow: 0 16px 30px -18px rgba(20, 30, 60, 0.25);
}
.nb-mobilemenu[hidden] { display: none; }
.nb-mobilemenu a {
    color: #2b2f38;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid rgba(20, 30, 60, 0.08);
}
.nb-mobilemenu a:last-child { border-bottom: none; }
.nb-mobilemenu__cta {
    margin-top: 0.6rem;
    text-align: center;
    background: #1f8ded;
    color: #fff !important;
    border-radius: var(--radius, 8px);
    border-bottom: none !important;
}

/* Show burger / hide header auth+contact buttons on small screens */
@media (max-width: 820px) {
    .nav-burger { display: flex; }
    body.landing-page .nav-actions .btn-primary,
    body.landing-page .nav-actions .btn-outline { display: none; }
    /* The centered-nav grid (1fr auto 1fr) forces equal logo/actions columns and
       clips the burger; on mobile use a simple flex row (drop the spacer) so the
       actions fit without horizontal overflow. */
    body.landing-page .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    body.landing-page .nav-spacer { display: none; }
    body.landing-page .nav-actions { gap: 0.5rem; flex-shrink: 0; }
}

/* Dark header variant */
[data-theme="dark"] .nav-burger { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
[data-theme="dark"] .nav-burger span { background: #fff; }
[data-theme="dark"] .nb-mobilemenu { background: rgba(13, 17, 23, 0.97); border-bottom-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
[data-theme="dark"] .nb-mobilemenu a { color: #e8eaf0; border-bottom-color: rgba(255, 255, 255, 0.08); }

/* Prevent any horizontal overflow on the public site (kept the mobile header
   burger off-screen and clipped hero text on narrow phones). */
body.landing-page { overflow-x: clip; }
.landing .nb-hero__title { overflow-wrap: break-word; }
@media (max-width: 400px) {
    .landing .nb-hero--split .nb-hero__title,
    .landing .nb-hero__type { font-size: clamp(1.7rem, 8vw, 2.1rem); }
}

/* Allow the hero column + headline to shrink below their content width so the
   long word "WordPress-Profis" wraps instead of overflowing (grid/flex items
   default to min-width:auto, which forced horizontal overflow on phones). */
.landing .nb-hero__col { min-width: 0; }
.landing .nb-hero__title,
.landing .nb-hero__line,
.landing .nb-hero__type { min-width: 0; max-width: 100%; }



/* ==========================================================================
   Mobile overflow guard — make hero/headline text wrap so the page never
   exceeds the viewport (which pushed the header burger off-screen on phones).
   ========================================================================== */
html { overflow-x: clip; }
@media (max-width: 820px) {
    body.landing-page .nb-container { max-width: 100%; }
    .landing .nb-eyebrow { white-space: normal; max-width: 100%; }
    .landing .nb-hero__title,
    .landing .nb-hero__line,
    .landing .nb-hero__type,
    .landing .nb-hero__sub,
    .landing .nb-h2,
    .landing .nb-page-title { overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
    .landing .nb-hero__media,
    .landing .nb-hero__media img { max-width: 100%; }
}

/* The hero media (grid item) must be allowed to shrink: its min-width defaults
   to the image's intrinsic width (560px), which overflowed the viewport on
   phones and pushed the whole page (and the header burger) off-screen. */
.landing .nb-hero__media { min-width: 0; }
.landing .nb-hero__media img { max-width: 100%; height: auto; }


/* Mobile hero: force a single column and hide the decorative graphic — its
   intrinsic width was forcing horizontal overflow on phones. Text-only hero is
   clean on small screens and keeps the header (burger) within the viewport. */
@media (max-width: 820px) {
    body.landing-page .nb-hero__grid2 { grid-template-columns: 1fr !important; }
    body.landing-page .nb-hero__media { display: none !important; }
}


/* Narrow phones: shrink the big hero headline, let the eyebrow wrap and stack
   the CTA buttons so the intrinsic text width can't exceed the viewport. */
@media (max-width: 560px) {
    .landing .nb-eyebrow { white-space: normal; }
    .landing .nb-hero--split .nb-hero__title,
    .landing .nb-hero__type { font-size: clamp(1.55rem, 7.5vw, 2.1rem); line-height: 1.15; }
    .landing .nb-hero--split .nb-hero__cta { flex-direction: column; align-items: stretch; }
    .landing .nb-hero--split .nb-hero__cta .nb-btn { width: 100%; }
}

/* The eyebrow is an inline-FLEX pill, so its text never wrapped — its full
   one-line width (~470px) forced the whole page wider than the phone viewport.
   Switch to inline-block on small screens so the text wraps. */
@media (max-width: 560px) {
    .landing .nb-eyebrow { display: inline-block; white-space: normal; line-height: 1.5; }
}

/* The hero headline is a flex COLUMN with align-items:flex-start, so each line
   sized to its own content width (~430px) and never wrapped — forcing page
   overflow on phones. Make it a plain block on mobile so the text wraps at the
   container width. */
@media (max-width: 820px) {
    .landing .nb-hero--split .nb-hero__title { display: block; }
    .landing .nb-hero__line { display: block; }
    .landing .nb-hero__type { display: block; }
}


/* Hard viewport clamp on phones — guarantees no element exceeds the screen. */
@media (max-width: 820px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    body.landing-page .nb-hero--split,
    body.landing-page .nb-hero--split .nb-container,
    body.landing-page .nb-hero__col { max-width: 100vw; }
}

/* ==========================================================================
   Sub-page CTA bands ("Need reliable WordPress help?" etc.): break out of the
   page container to full viewport width and sit flush against the footer.
   The home-page band is a top-level <section> (already full-width, no .nb-mt),
   so this only targets the nested .nb-mt bands inside .nb-section--page.
   overflow-x: clip is set on html/body, so 100vw adds no horizontal scrollbar.
   ========================================================================== */
.landing .nb-cta-band.nb-mt {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 0;
}
/* Remove the page section's bottom padding so the band meets the footer edge. */
.landing .nb-section--page:has(.nb-cta-band.nb-mt) { padding-bottom: 0; }

/* ==========================================================================
   Service detail enrichment: CTA row, "what's included" checklist, FAQ
   accordion. Uses the inherited --nb-* tokens, so it themes light/dark
   automatically (no separate dark rules needed).
   ========================================================================== */
.nb-detail-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* "What's included" benefit checklist */
.nb-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1.8rem;
}
.nb-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--nb-text);
    font-weight: 500;
}
.nb-checklist li i {
    color: var(--nb-accent, #f06334);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
@media (max-width: 640px) { .nb-checklist { grid-template-columns: 1fr; } }

/* FAQ accordion — native <details>, CSP-safe (no JS) */
.nb-faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.nb-faq {
    border: 1px solid var(--nb-border);
    border-radius: 12px;
    background: var(--nb-surface);
}
.nb-faq > summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.2rem;
    font-weight: 700;
    color: var(--nb-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.nb-faq > summary::-webkit-details-marker { display: none; }
.nb-faq > summary::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-weight: normal;
    color: var(--nb-blue);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.nb-faq[open] > summary::after { transform: rotate(180deg); }
.nb-faq__answer {
    padding: 0 1.2rem 1.1rem;
    color: var(--nb-text-muted);
    line-height: 1.65;
}
.nb-faq:focus-within { border-color: var(--nb-blue); }

/* ==========================================================================
   Plugin catalogue — searchable grid on the Plugin-Support pillar page.
   Folded into landing.css (no extra request) — themed with the nb-* tokens.
   ========================================================================== */
.nb-plugincat { display: flex; flex-direction: column; gap: 1.75rem; }
.nb-plugincat__search { position: relative; max-width: 480px; }
.nb-plugincat__search > i {
    position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
    color: var(--nb-text-muted); pointer-events: none;
}
.nb-plugincat__input {
    width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--nb-border-strong, var(--nb-border));
    border-radius: var(--nb-radius, 12px);
    background: var(--nb-surface, #fff); color: var(--nb-text);
    font: inherit; font-size: 0.95rem;
}
.nb-plugincat__input::placeholder { color: var(--nb-text-muted); }
.nb-plugincat__input:focus {
    outline: none; border-color: var(--nb-accent);
    box-shadow: 0 0 0 3px var(--nb-glow-cyan, rgba(34, 211, 238, 0.18));
}
.nb-plugincat__empty { color: var(--nb-text-muted); font-style: italic; margin: 0; }
.nb-plugincat__grouptitle {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 1.05rem; margin: 0 0 0.85rem;
}
.nb-plugincat__grouptitle a { color: var(--nb-text); text-decoration: none; }
.nb-plugincat__grouptitle a:hover { color: var(--nb-accent); }
.nb-plugincat__grouptitle > i { color: var(--nb-accent); }
.nb-plugincat__count {
    margin-left: auto; font-size: 0.8rem; color: var(--nb-text-muted);
    background: var(--nb-surface-2, var(--nb-bg-alt)); border-radius: 999px;
    padding: 0.1rem 0.6rem; font-weight: 600;
}
.nb-plugincat__grid {
    list-style: none; margin: 0; padding: 0; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0.6rem;
}
.nb-plugincat__item a {
    display: flex; align-items: center; gap: 0.6rem; height: 100%;
    padding: 0.7rem 0.85rem; border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius, 12px); background: var(--nb-surface, #fff);
    color: var(--nb-text); text-decoration: none;
    font-size: 0.88rem; font-weight: 600; line-height: 1.25;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.nb-plugincat__item a:hover {
    border-color: var(--nb-accent); transform: translateY(-2px);
    box-shadow: var(--shadow, 0 8px 20px -12px rgba(0, 0, 0, 0.35));
}
.nb-plugincat__item > a > i { color: var(--nb-accent); font-size: 1.1rem; flex-shrink: 0; }
.nb-plugincat__item span {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.nb-plugincat__item[hidden], .nb-plugincat__group[hidden] { display: none; }
@media (max-width: 520px) {
    .nb-plugincat__grid { grid-template-columns: 1fr 1fr; }
    .nb-plugincat__item a { font-size: 0.82rem; padding: 0.6rem 0.7rem; }
}
