/* ========================================================================
   NEO SECTION — Hero-2 (Neo + 12 Module + Custom-CTA)
   ======================================================================== */

.neo-section {
    background: #0f1f36;     /* Navy — passend zum Header */
    color: rgba(255,255,255,.75);
    padding: 160px 24px;
    position: relative;
    overflow: hidden;
}
.neo-section .neo-headline {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    text-align: center;
    margin: 0 auto 16px;
    max-width: 1100px;
    color: #fff;
    letter-spacing: -0.01em;
}
.neo-section .neo-headline em {
    font-style: italic;
    color: #9aaba6;
}
.neo-section .neo-sub {
    text-align: center;
    color: rgba(154, 171, 166, 0.75);
    font: 14px 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    margin: 0 auto 48px;
    max-width: 700px;
}

.neo-grid {
    display: grid;
    grid-template-columns: minmax(320px, 460px) 1fr;
    gap: 48px;
    max-width: 1500px;
    margin: 0 auto;
    align-items: start;
}

/* ---- LEFT: Neo entity + subtitles + controls ---- */
.neo-stage {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.neo-canvas-wrap {
    position: relative;
    background: radial-gradient(circle at 50% 40%, #0f1f36 0%, #0f1f36 70%);
    border: 1px solid rgba(154, 171, 166, 0.25);
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.neo-canvas-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}
.neo-status {
    position: absolute;
    top: 14px;
    left: 14px;
    color: rgba(154, 171, 166, 0.55);
    font: 11px monospace;
    letter-spacing: 1px;
    pointer-events: none;
}

.neo-subtitles {
    min-height: 78px;
    background: rgba(154, 171, 166, 0.06);
    border: 1px solid rgba(154, 171, 166, 0.18);
    border-radius: 6px;
    padding: 18px 22px;
    font: 16px 'Poppins', sans-serif;
    line-height: 1.5;
    color: rgba(255,255,255,.75);
    transition: background 0.3s;
}
.neo-subtitles.speaking {
    background: rgba(154, 171, 166, 0.12);
    border-color: rgba(154, 171, 166, 0.45);
}
/* Kein Text aktiv → Box unsichtbar (Platz bleibt reserviert, kein Layout-Sprung) */
.neo-subtitles.idle {
    opacity: 0;
}
.neo-subtitles .placeholder {
    color: rgba(154, 171, 166, 0.55);
    font-style: italic;
}

.neo-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.neo-controls button {
    background: rgba(154, 171, 166, 0.10);
    color: #9aaba6;
    border: 1px solid rgba(154, 171, 166, 0.40);
    padding: 9px 18px;
    font: 11px 'Poppins', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.neo-controls button:hover {
    background: rgba(154, 171, 166, 0.20);
    color: #fff;
}
.neo-controls button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ---- RIGHT: 12 module tiles (11 + custom) ---- */
.neo-modules-wrap {
    position: relative;   /* zoom overlay positions itself within this */
}
.neo-modules {
    display: grid;
    /* minmax(0,1fr): lange Wörter (z.B. "Qualitätsmanagement") dürfen die
       Spalten nicht über min-content aufsprengen — sonst Overflow rechts */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.neo-module {
    min-width: 0;
    aspect-ratio: 1.4 / 1;
    background: #fff;            /* weisse Kacheln */
    border: 1px solid rgba(15, 31, 54, 0.10);
    border-radius: 6px;
    padding: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}
.neo-module > * { position: relative; z-index: 2; cursor: pointer; }
.neo-module:hover {
    transform: translateY(-3px);
    border-color: #a0341a;
    box-shadow: 0 8px 24px rgba(160, 52, 26, 0.22);
}

/* Hover-Effekt: nur Border + Shadow — der frühere rotierende Glow mit mask-composite
   hat den Maus-Cursor im GPU-Composite-Layer verschluckt (Chrome-Bug). */
.neo-module.active {
    border-color: #9aaba6;
    box-shadow: 0 0 0 2px #9aaba6;
}
/* Modul-Kacheln umgedreht: Branche prominent (Playfair Navy) oben,
   Produktname sekundär (Poppins Sage) unten — Kunden-first vor Marken-first */
.neo-module-name {
    font: 13px 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    color: rgba(154,171,166,.85);
    margin: 0;
    line-height: 1.15;
    font-weight: 500;
}
.neo-module-tag {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: #0f1f36;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.005em;
    display: block;
}
.neo-module-caps {
    display: flex;
    flex-direction: column;
    gap: 0;
    font: 9px 'Poppins', sans-serif;
    color: #a0341a;             /* Rostrot — Akzent in der Mitte */
    letter-spacing: 1.3px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: left;
    line-height: 1.18;
    margin: 0;
}
.neo-module-caps span { display: block; }

/* Play-Icon ▶ — kleines Rostrot-Icon ganz rechts oben im Tile, klickbar (öffnet Video) */
.neo-module-play {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #a0341a;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 0;
    opacity: 0.9;          /* Dauerhaft sichtbar — BFSG WCAG 2.5.5 + EU AI Act Art. 50 */
    transform: scale(0.92);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.18s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 0;             /* button-Reset */
    font-family: inherit;
    display: inline-flex;  /* Symbol optisch mittig im roten Kreis, egal ob ▶ oder SVG */
    align-items: center;
    justify-content: center;
    overflow: visible;     /* KI/AI-Chip darf unten rausragen */
}
/* KI-Kennzeichnung erfolgt zentral über .neo-ai-notice (EU AI Act Art. 50 —
   Sammelhinweis vor dem ersten Kontakt statt 11 Einzel-Chips) */

.neo-ai-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    background: #9aaba6;                 /* Sage-Grün Corporate */
    border: 2px solid #0f1f36;           /* Navy-Rahmen */
    border-radius: 4px;
    font: 500 12.5px 'Poppins', sans-serif;
    color: #0f1f36;                      /* Navy — Kontrast auf Sage: 6.7:1 */
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(15, 31, 54, 0.12);
}
.neo-ai-notice strong { color: #0f1f36; font-weight: 700; }
.neo-ai-notice-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #0f1f36;                 /* Navy-Badge auf Sage — starker Kontrast */
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}
/* Fokussierbare Module-Kachel (BFSG) — sichtbarer Focus-Ring */
.neo-module[role="button"]:focus-visible {
    outline: 3px solid #a0341a;
    outline-offset: 3px;
}
.neo-module:hover .neo-module-play,
.neo-module:focus-within .neo-module-play,
.neo-module-play:focus-visible {
    opacity: 1;
    transform: scale(1);
}
/* Während Neo erzählt: Stopp-Icon (■) dauerhaft sichtbar, nicht nur bei Hover */
.neo-module-play.playing {
    opacity: 1;
    transform: scale(1);
}
/* Focus-Ring für Tastatur-User (BFSG) */
.neo-module-play:focus-visible {
    outline: 2px solid #f7fafc;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #0f1f36;
}
/* Lautsprecher-SVG mittig im roten Kreis */
.neo-module-play svg {
    width: 12px;
    height: 12px;
    display: block;
    margin: 0;
}
.neo-module-play:hover {
    background: #a0341a;
    transform: scale(1.15);
}

/* "Mehr →" als 6. Caps-Eintrag (statt Counter-Zahl) — Rostrot, dezent unterhalb der 5 Capabilities */
.neo-module-caps span.more {
    color: #a0341a;
    font-weight: 600;
    margin-top: 3px;
    letter-spacing: 1.5px;
    cursor: pointer;
}
.neo-module:hover .neo-module-caps span.more {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.neo-module.custom {
    background: rgba(154, 171, 166, 0.08);
    border-style: dashed;
    border-color: rgba(154, 171, 166, 0.6);
    /* Layout identisch zu den anderen Tiles: oben Plus, Mitte Caps, unten Name links */
}
.neo-module.custom .neo-module-name { color: #9aaba6; }
/* Auf der dunklen Custom-Kachel ist Rostrot unlesbar (mobil quasi unsichtbar)
   → Plus und Capabilities in Weiß, Rot bleibt den weißen Kacheln vorbehalten */
.neo-module.custom .neo-module-caps { color: rgba(255, 255, 255, 0.92); }
.neo-module.custom .neo-module-caps span.more { color: rgba(255, 255, 255, 0.92); }
.neo-module.custom .neo-module-plus {
    font-size: 24px;
    line-height: 1;
    color: #ffffff;
    animation: neopulse 2.5s ease-in-out infinite;
}
@keyframes neopulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.08); }
}

/* ---- Zoom-Modal (zoomt über die Module-Kacheln, NICHT fullscreen — Neo links bleibt sichtbar) ---- */
/* DEFAULT (Play-Modus, alt-Verhalten): Modal sitzt INLINE über dem Modul-Grid.
   Neo links bleibt sichtbar mit Lipsync. */
.neo-zoom-overlay {
    position: absolute;
    inset: 0;
    display: none;
    z-index: 50;
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
    transform-origin: center center;
    animation: neozoomin 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.05) both;
}
.neo-zoom-overlay.open { display: block; }
@keyframes neozoomin {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
.neo-zoom-card {
    background: #ffffff;    /* Weiß statt Beige — Beige ist kein ZiaNeo-Ton */
    color: #0f1f36;
    border-radius: 6px;
    padding: 22px 24px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* DETAIL-MODUS (Tile/Mehr-Klick, USPs): Fullscreen-Overlay mit größerer Card,
   damit alle ~30 USPs sichtbar werden. */
.neo-zoom-overlay.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 31, 54, 0.96);    /* solider Navy-Backdrop — KEIN backdrop-filter (frisst den Cursor in Chrome) */
    padding: 50px;
    overflow-y: auto;
    border-radius: 0;
}

/* Sage-Ring-Follower (.custom-cursor) auch im Modal sichtbar — z-index ist im inline-CSS auf 10001.
   Kein SVG-Custom-Cursor mehr: User möchte OS-Cursor wie auf der Hauptseite. */
.neo-zoom-overlay.is-fullscreen .neo-zoom-card {
    max-width: 960px;
    height: auto;
    margin: 0 auto;
    padding: 28px 32px;
    overflow: visible;
}
.neo-zoom-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    padding-bottom: 14px;
    padding-right: 56px;    /* Sicherheitsabstand fürs X oben rechts */
    border-bottom: 1px solid rgba(15, 31, 54, 0.12);
}
.neo-zoom-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #0f1f36;
    margin: 0;
}
.neo-zoom-modul {
    font: 11px 'Poppins', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(154,171,166,.85);
}
.neo-zoom-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(15, 31, 54, 0.06);
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #0f1f36;
    transition: background 0.2s;
}
.neo-zoom-close:hover { background: rgba(15, 31, 54, 0.14); }
.neo-zoom-content { display: block; }
.neo-zoom-content > .mock { margin-bottom: 16px; }
.neo-zoom-content > .mock:last-child { margin-bottom: 0; }

/* ---- Video-only Layout (wenn ein Modul-Mockup ein <video> einbettet) ---- */
/* Video füllt die komplette Module-Grid-Fläche aus — kein 16:9-Letterbox.
   Über-/unter-große Bereiche werden vom Video selbst (object-fit: cover)
   am Rand minimal beschnitten — Inhalt ist mittig komponiert, das Cropping
   ist deshalb unauffällig. Untertitel wandern ins bestehende
   Entitäts-Subtitle-Feld links neben Neo, NICHT mehr unter das Video. */
.neo-zoom-overlay.video-mode {
    background: #000;
    padding: 0;
    display: block !important;
}
.neo-zoom-overlay.video-mode .mobile-subtitle {
    display: none !important;
}
.neo-zoom-card.is-video-only {
    background: #000;
    padding: 0;
    overflow: hidden;
    aspect-ratio: auto;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
}

/* Wenn Video offen ist: aktive Tile-Glow + Overlay-Border-Radius weg, damit
   absolut nichts vom darunterliegenden Grid am Rand durchscheint. */
body.zoom-video-open .neo-module.active {
    box-shadow: none !important;
    border-color: transparent !important;
}
body.zoom-video-open .neo-zoom-overlay {
    border-radius: 0 !important;
    /* Sub-Pixel-Reservering bei breitem Viewport — Overlay zieht rechts/links
       je 4px nach außen, damit kein heller Rand vom Grid durchblitzt. */
    inset: 0 -4px 0 -4px !important;
}
body.zoom-video-open .neo-zoom-card.is-video-only video {
    /* Video minimal überskaliert — fängt Subpixel-Lücken zuverlässig ab. */
    transform: scale(1.01);
    transform-origin: center center;
}
.neo-zoom-card.is-video-only .neo-zoom-header { display: none; }
.neo-zoom-card.is-video-only .neo-zoom-content {
    padding: 0;
    gap: 0;
    height: 100%;
    width: 100%;
    display: block;
}
.neo-zoom-card.is-video-only .bauneo-video-fullscreen,
.neo-zoom-card.is-video-only .bauneo-video-fullscreen video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}
/* Auto-Hide-Verhalten für die Native-Controls — JS toggelt die .controls-off Klasse */
.neo-zoom-card.is-video-only video.controls-off::-webkit-media-controls {
    opacity: 0;
    pointer-events: none;
}
.neo-zoom-card.is-video-only .neo-zoom-close {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 44px;
    height: 44px;
    font-size: 26px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 10;
}
.neo-zoom-card.is-video-only .neo-zoom-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ---- Custom-modul prompt (inside zoom) ---- */
.neo-zoom-custom {
    text-align: center;
    padding: 24px 0 8px;
}
.neo-zoom-custom p {
    color: #0f1f36;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 24px;
}
.neo-zoom-custom .neo-jump-btn {
    background: #0f1f36;
    color: #fff;
    border: 0;
    padding: 14px 32px;
    font: 13px 'Poppins', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
.neo-zoom-custom .neo-jump-btn:hover { background: #0a1729; }

/* ---- Mock-CSS (from lp-api/mockups.py palette, embedded) ---- */
.mock { background: #f7fafc; border: 1px solid rgba(15,31,54,.12); border-radius: 6px; padding: 18px; font-family: 'Poppins', sans-serif; color: #0f1f36; }
.mock h4 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 16px; margin: 0 0 14px; letter-spacing: -0.01em; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(15,31,54,.08); font-size: 13px; flex-wrap: wrap; gap: 8px; }
.mock-row:last-child { border-bottom: none; }
.mock-row > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-pill { display: inline-block; padding: 3px 9px; border-radius: 3px; background: rgba(58,88,83,.10); color: #0f1f36; font-size: 11px; font-weight: 600; }
.mock-pill.warn { background: rgba(181,105,86,.12); color: #a0341a; }
.mock-pill.muted { background: rgba(15,31,54,.05); color: rgba(15,31,54,.55); }
.mock-num { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.mock-stat { display: flex; flex-direction: column; gap: 4px; padding: 11px; background: #f7fafc; border-radius: 4px; }
.mock-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(15,31,54,.45); overflow-wrap: break-word; word-break: break-word; }
.mock-grid { display: grid; gap: 10px; }
.mock-grid.c2 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.mock-grid.c3 { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.mock-grid.c4 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

/* ========================================================================
   MANIFEST — drei Sätze
   ======================================================================== */
.manifest-section {
    background: #f7fafc;
    color: #0f1f36;
    padding: 160px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
}
.manifest-section p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.45;
    margin: 0 0 28px;
    font-weight: 400;
}
@media (max-width: 768px) {
    .manifest-section { padding: 100px 20px; min-height: 60vh; }
    .manifest-section p { font-size: clamp(22px, 5.5vw, 30px); margin-bottom: 20px; }
}
/* Manifest colors: rot 1990 (past), grün 2026 (now), Navy für die Zukunft */
.manifest-section p:nth-child(1) { color: #a0341a; }
.manifest-section p:nth-child(2) { color: #3d9970; }
.manifest-section p:nth-child(3) { color: #0f1f36; margin-bottom: 0; }

/* ========================================================================
   WEBSEITEN — Sektion für Web-Projekte mit integrierten KI-Tools
   ======================================================================== */
.web-section {
    background: #f7fafc;   /* Cream — hebt sich von der weißen FAQ darunter ab */
    color: #0f1f36;
    padding: 140px 24px;
}
.web-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.web-label {
    font: 11px 'Poppins', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9aaba6;
    margin: 0 0 12px;
}
.web-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    color: #0f1f36;
    margin: 0 0 14px;
}
.web-sub {
    font: 17px 'Poppins', sans-serif;
    color: rgba(15, 31, 54, 0.65);
    margin: 0 0 48px;
}
.web-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    margin-bottom: 44px;
}
.web-card {
    border: 2px solid #9aaba6;
    border-radius: 6px;
    padding: 26px 24px;
    background: #fff;
}
.web-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #0f1f36;
}
.web-card p {
    font: 14.5px 'Poppins', sans-serif;
    line-height: 1.6;
    color: rgba(15, 31, 54, 0.75);
    margin: 0;
}
.web-cta {
    font: 600 15px 'Poppins', sans-serif;
    color: #fff;
    background: #a0341a;
    border: none;
    border-radius: 6px;
    padding: 15px 34px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.web-cta:hover {
    background: #a0341a;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .web-section { padding: 90px 20px; }
    .web-cards { grid-template-columns: 1fr; }
}

/* ========================================================================
   FAQ — Was Sie gerade denken
   ======================================================================== */
.neo-faq-section {
    background: #fff;
    color: #0f1f36;
    padding: 160px 24px;
}
.neo-faq-inner {
    max-width: 820px;
    margin: 0 auto;
}
.neo-faq-label {
    font: 11px 'Poppins', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9aaba6;             /* Sage — Eyebrow-Label im ruhigen Markenton */
    margin-bottom: 12px;
}
.neo-faq-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 42px);
    margin: 0 0 40px;
    color: #a0341a;             /* Rostrot — Hauptaufmerksamkeit auf die Headline */
    font-weight: 400;
}
.neo-faq-item {
    border-bottom: 1px solid rgba(15, 31, 54, 0.08);
    padding: 18px 0;
}
.neo-faq-item summary {
    cursor: pointer;
    font: 18px 'Poppins', sans-serif;
    color: #0f1f36;
    list-style: none;
    padding-right: 36px;
    position: relative;
    line-height: 1.4;
}
.neo-faq-item summary::-webkit-details-marker { display: none; }
.neo-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    color: #9aaba6;
    transition: transform 0.2s;
}
.neo-faq-item[open] summary::after { transform: rotate(45deg); }
.neo-faq-item p {
    margin: 14px 0 6px;
    font: 15px 'Poppins', sans-serif;
    line-height: 1.65;
    color: #276749;             /* WCAG-AA-tauglich (5.9:1 auf Weiß), Corporate-Success dunkel */
    font-weight: 500;
}
.neo-faq-item p strong { color: #1f5638; font-weight: 700; }

/* ========================================================================
   FORM — Beschreiben Sie Ihr Unternehmen
   ======================================================================== */
.neo-form-section {
    background: #0f1f36;
    color: #fff;
    padding: 160px 24px;
}
.neo-form-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.neo-form-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 16px;
    font-weight: 400;
}
.neo-form-lead {
    font: 15px 'Poppins', sans-serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.neo-form-audience {
    text-align: center;
    color: rgba(154,171,166,.85);
    font: 12px 'Poppins', sans-serif;
    letter-spacing: 0.4px;
    margin: -12px auto 24px;
    max-width: 640px;
}
.neo-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.neo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.neo-form input, .neo-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 14px 18px;
    font: 14px 'Poppins', sans-serif;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.neo-form input:focus, .neo-form textarea:focus { border-color: #9aaba6; }
.neo-form input::placeholder, .neo-form textarea::placeholder { color: rgba(255, 255, 255, 0.66); }
.neo-form textarea { min-height: 140px; resize: vertical; font-family: 'Poppins', sans-serif; }
.neo-form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,.85); margin-top: 4px; cursor: pointer; }
.neo-form-consent input[type=checkbox] { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; accent-color: #9aaba6; cursor: pointer; }
.neo-form-consent a { color: #9aaba6; text-decoration: underline; }
.neo-form-consent a:hover { color: #ffffff; }
.neo-form .hp { position: absolute; left: -9999px; }
/* Ernsthaftigkeits-Gate: bei privater E-Mail wird Website/Telefon Pflicht */
.neo-form input.needs-contact { border-color: #a0341a; }
.neo-form .freemail-hint {
    margin: -4px 0 0;
    font: 12.5px 'Poppins', sans-serif;
    color: #a0341a;
    line-height: 1.5;
    text-align: left;
}
.neo-form button {
    background: #a0341a;        /* Rostrot — Hauptakzent */
    color: #fff;
    border: 0;
    padding: 16px 32px;
    font: 13px 'Poppins', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    margin-top: 8px;
}
.neo-form button:hover { background: #a0341a; color: #fff; }
.neo-form button:disabled { opacity: 0.5; cursor: wait; }
.neo-form .hint {
    font: 12px 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 14px 0 0;
}
.neo-form-trust {
    margin-top: 32px;
    text-align: center;
    color: #9aaba6;             /* Sage — Trust-Akzent in Markenfarbe */
    font: 11px 'Poppins', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.neo-form-trust span + span::before { content: ' · '; margin: 0 8px; color: rgba(154, 171, 166, 0.5); }
.neo-form-status {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 4px;
    font: 14px 'Poppins', sans-serif;
    display: none;
}
.neo-form-status.success {
    /* Amber — Akzent auf Navy (Corporate Design), deutlich sichtbar:
       der wichtigste Moment im Formular ("jetzt E-Mail bestätigen!") */
    display: block;
    background: rgba(245, 158, 11, 0.14);
    border: 2px solid #f59e0b;
    color: #f59e0b;
    font-weight: 500;
    font-size: 15px;
}
.neo-form-status.success::before {
    content: '✉  ';
}
.neo-form-status.error {
    display: block;
    background: rgba(160, 52, 26, 0.16);
    border: 1px solid #a0341a;
    color: #a0341a;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 980px) {
    .neo-section { padding: 100px 20px; }
    .neo-faq-section { padding: 100px 20px; }
    .neo-form-section { padding: 100px 20px; }
    .neo-headline { font-size: clamp(22px, 5vw, 34px); padding: 0 4px; }
    .neo-sub { font-size: 13px; margin-bottom: 28px; }
    .neo-grid { grid-template-columns: 1fr; gap: 22px; }
    .neo-stage { position: static; }
    .neo-canvas-wrap { aspect-ratio: 1 / 1; max-height: 320px; max-width: 320px; margin: 0 auto; }
    .neo-subtitles { min-height: 60px; padding: 14px 16px; font-size: 14px; }
    /* Idle-Untertitel-Box reserviert auf Mobile nur Leerraum zwischen Gesicht
       und Kacheln — weg damit; beim Abspielen zeigt das Modal eigene Untertitel */
    .neo-subtitles.idle { display: none; }
    .neo-module-play { top: 6px; right: 6px; width: 20px; height: 20px; line-height: 1; font-size: 9px; }
    .neo-module-play svg { width: 11px; height: 11px; margin: 0; }
    .neo-ai-notice { font-size: 11.5px; padding: 7px 10px; }
    .neo-ai-notice-badge { width: 22px; height: 22px; font-size: 9px; }
    .neo-form-row { grid-template-columns: 1fr; }

    /* Modal: zurück zu fixed full-screen overlay (Inline-Zoom funktioniert nur auf Desktop) */
    .neo-modules-wrap { position: static; }
    .neo-zoom-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 31, 54, 0.96);     /* solider Navy — kein backdrop-filter (frisst Cursor) */
        z-index: 9999;
        padding: 70px 14px 14px;
        overflow-y: auto;
    }
    .neo-zoom-card {
        max-width: none;
        height: auto;
        max-height: none;
        padding: 18px;
    }
    /* is-fullscreen (Detail-Modus) hat höhere Spezifität und behielt sein
       Desktop-Padding von 50px → Card war nur 290px breit mit fetten Rändern */
    .neo-zoom-overlay.is-fullscreen { padding: 60px 8px 12px; }
    .neo-zoom-overlay.is-fullscreen .neo-zoom-card { padding: 20px 14px; max-width: none; margin: 0; }
    /* Titel + Produkt-Label untereinander statt gequetscht nebeneinander */
    .neo-zoom-header { flex-direction: column; align-items: flex-start; gap: 4px; padding-right: 48px; }
    /* Summary + Gruppen: Mobile 1 Spalte, Zahlen kompakter */
    .neo-zoom-summary { gap: 6px; }
    .neo-zoom-summary-num { font-size: 24px; }
    .neo-zoom-summary-label { font-size: 9px; letter-spacing: 1.5px; margin-right: 6px; }
    .neo-zoom-summary-sep { font-size: 13px; margin: 0 2px; }
    .neo-zoom-usp-groups { grid-template-columns: 1fr; gap: 22px; }
    .neo-zoom-usp-group h5 { font-size: 15.5px; }
    .neo-zoom-title { font-size: 24px; }
    .neo-zoom-modul { font-size: 10px; letter-spacing: 1.5px; }
    /* Leere Untertitel-Leiste (ohne laufendes Audio) nicht anzeigen */
    .neo-zoom-overlay .mobile-subtitle:empty { display: none !important; }
    .neo-zoom-close {
        position: fixed;
        top: 16px; right: 16px;
        width: 44px; height: 44px;
        background: #fff;
        z-index: 10000;
        font-size: 22px;
    }
    /* Mobile-Untertitel oben im Modal — User kann mitlesen während Modal offen ist */
    .neo-zoom-overlay .mobile-subtitle {
        display: block !important;
        position: fixed;
        top: 70px; left: 14px; right: 14px;
        background: rgba(255, 255, 255, 0.95);
        color: #0f1f36;
        padding: 12px 16px;
        border-radius: 6px;
        font: 13px 'Poppins', sans-serif;
        line-height: 1.45;
        z-index: 10000;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    .neo-zoom-overlay.open .neo-zoom-card {
        margin-top: 60px;   /* push past mobile subtitle */
    }
}
@media (max-width: 480px) {
    .neo-section { padding: 90px 14px; }
    .neo-faq-section { padding: 90px 14px; }
    .neo-form-section { padding: 90px 14px; }
    .neo-canvas-wrap { max-width: 280px; }
    .neo-controls { justify-content: center; }
}

/* Kacheln Mobile (Neos Vorgabe): Hochformat 2 pro Zeile MIT allen Inhalten
   (Branche, rote Capabilities, Name) — Querformat 4 nebeneinander, ebenfalls
   mit Capabilities. Kacheln müssen lesbar sein wie am Desktop. */
@media (max-width: 980px) and (orientation: portrait) {
    .neo-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .neo-module { aspect-ratio: auto; min-height: 165px; padding: 12px; justify-content: space-between; }
    .neo-module-name { font-size: 16.5px; margin-top: 8px; }
    .neo-module-tag { font-size: 10.5px; letter-spacing: 0.4px; padding-right: 24px; hyphens: auto; overflow-wrap: break-word; }
    .neo-module-caps { display: flex; font-size: 8.5px; letter-spacing: 1.1px; line-height: 1.35; margin-top: 6px; }
}
@media (max-width: 980px) and (orientation: landscape) {
    .neo-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .neo-module { aspect-ratio: auto; min-height: 148px; padding: 10px; justify-content: space-between; }
    .neo-module-name { font-size: 14px; margin-top: 6px; }
    .neo-module-tag { font-size: 9px; letter-spacing: 0.3px; padding-right: 20px; hyphens: auto; overflow-wrap: break-word; }
    .neo-module-caps { display: flex; font-size: 7.5px; letter-spacing: 0.9px; line-height: 1.35; margin-top: 5px; }
}

/* ========================================================================
   PiP-Entität (Mobile): beim Scrollen durch die Produkt-Kacheln wandert
   Neo klein nach unten rechts — Lippen-Sync bleibt sichtbar, auch über
   dem Zoom-Modal (z-index über Overlay 9999 + Close 10000).
   ======================================================================== */
@media (max-width: 980px) {
    .neo-canvas-wrap.neo-pip {
        position: fixed;
        right: 14px;
        bottom: 14px;
        width: 104px;
        height: 104px;
        max-width: none;
        max-height: none;
        margin: 0;
        z-index: 10001;
        border: 2px solid #9aaba6;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
        animation: neoPipIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .neo-canvas-wrap.neo-pip.neo-pip-leaving {
        animation: neoPipOut 0.32s cubic-bezier(0.55, 0, 0.85, 0.4) forwards;
    }
}
/* Entität kommt mit Overshoot-Pop + Sage-Glow-Puls rein, taucht beim
   Verlassen der Sektion nach unten weg — Tech-Feel statt hart an/aus */
@keyframes neoPipIn {
    0%   { opacity: 0; transform: translateY(56px) scale(0.25); box-shadow: 0 0 0 rgba(154, 171, 166, 0); }
    55%  { opacity: 1; box-shadow: 0 0 32px rgba(154, 171, 166, 0.65); }
    100% { opacity: 1; transform: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }
}
@keyframes neoPipOut {
    0%   { opacity: 1; transform: none; }
    100% { opacity: 0; transform: translateY(48px) scale(0.3); }
}
@media (prefers-reduced-motion: reduce) {
    .neo-canvas-wrap.neo-pip,
    .neo-canvas-wrap.neo-pip.neo-pip-leaving { animation: none; }
}
.mobile-subtitle { display: none; }    /* hidden by default — shown only inside mobile modal */

/* ========================================================================
   ZOOM-MODAL — USP-Detail-Block + Differenzierer + CTA-Button
   ======================================================================== */
/* ============================================================
   USP-Block, überarbeitet 2026-07-05: die Zahlen sind der Held.
   „Was wir anders machen"-Block + Konkurrenz-Zeile komplett raus.
   ============================================================ */
.neo-zoom-usps {
    margin: 22px 0 0;
}
/* Die alte „Alle N Funktionen — gruppiert"-Überschrift ist überflüssig,
   die Summary-Zeile darunter sagt es lauter. */
.neo-zoom-usps-heading { display: none; }

/* Summary-Zeile: zwei große Zahlen mit Poppins-Labels dahinter */
.neo-zoom-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(154, 171, 166, 0.35);
    flex-wrap: nowrap;              /* alles in EINER Zeile */
    overflow-x: auto;               /* Notausgang für zu schmale Fenster */
    scrollbar-width: none;
}
.neo-zoom-summary::-webkit-scrollbar { display: none; }
.neo-zoom-summary-num {
    font-family: 'Playfair Display', serif;
    font-size: 30px;                /* 40 → 30 */
    line-height: 1;
    color: #a0341a;
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.neo-zoom-summary-label {
    font: 500 10px 'Poppins', sans-serif;  /* 11 → 10 */
    letter-spacing: 1.8px;                  /* 2.5 → 1.8 */
    text-transform: uppercase;
    color: rgba(154,171,166,.85);
    margin-right: 8px;                      /* 18 → 8 */
    white-space: nowrap;
}
.neo-zoom-summary-sep {
    color: rgba(154, 171, 166, 0.5);
    font-size: 16px;
    line-height: 1;
    margin: 0 3px;
}

/* Gruppen als visuelle Einheiten: Kopfzeile mit Titel und Zahl,
   darunter die Punkte als saubere Liste */
.neo-zoom-usp-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
    /* Masonry: Karten füllen den vertikalen Raum bündig statt Reihe-für-Reihe,
       ausgleichende Höhen ohne Versatz-Löcher (moderne Browser, sonst
       fällt es auf normales Grid zurück — kein Bruch). */
    grid-template-rows: masonry;
    grid-auto-flow: dense;
}
.neo-zoom-usp-group {
    min-width: 0;
}
.neo-zoom-usp-group h5 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    color: #0f1f36;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(154, 171, 166, 0.28);
    letter-spacing: -0.005em;
    line-height: 1.2;
}
.neo-zoom-usp-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font: 13px 'Poppins', sans-serif;
    color: #0f1f36;
    line-height: 1.65;
}
.neo-zoom-usp-group li {
    padding-left: 16px;
    position: relative;
}
.neo-zoom-usp-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9aaba6;
}

/* Altlasten sicher ausblenden — der Renderer entfernt sie zwar,
   aber falls je gecachtes HTML kommt, keine Rechtfertigungs-Blöcke mehr */
.neo-zoom-diff,
.neo-zoom-vs { display: none !important; }
.neo-zoom-cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(154, 171, 166, 0.3);
    text-align: center;
}
.neo-zoom-cta-button {
    background: #a0341a;
    color: #fff;
    border: 0;
    padding: 14px 30px;
    font: 12px 'Poppins', sans-serif;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
    font-weight: 500;
}
.neo-zoom-cta-button:hover { background: #a0341a; }

/* Video-Mode: USPs/Diff blenden, CTA wird Floating-Overlay rechts unten am Video */
.neo-zoom-card.is-video-only .neo-zoom-usps,
.neo-zoom-card.is-video-only .neo-zoom-diff { display: none; }
.neo-zoom-card.is-video-only .neo-zoom-cta {
    position: absolute;
    bottom: 24px;
    right: 24px;
    margin: 0;
    padding: 0;
    border-top: 0;
    z-index: 11;
    text-align: right;
}
.neo-zoom-card.is-video-only .neo-zoom-cta-button {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
@media (max-width: 768px) {
    .neo-zoom-card.is-video-only .neo-zoom-cta {
        bottom: 14px;
        right: 14px;
        left: 14px;
    }
    .neo-zoom-card.is-video-only .neo-zoom-cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 11px;
    }
}
@media (max-width: 768px) {
    .neo-zoom-usp-groups { grid-template-columns: 1fr; gap: 10px; }
    .neo-zoom-usp-group h5 { margin-bottom: 4px; }
    .neo-zoom-usps { padding-top: 16px; margin-top: 18px; }
    .neo-zoom-diff { padding: 12px 14px; }
}

/* Mobile: kein Hover — Hover-Chip permanent leicht sichtbar */
@media (hover: none) {
    .neo-module-play {
        opacity: 0.9;
        transform: translateX(0);
    }
}

/* Consent-Modal: erscheint nach Submit-Klick, Häkchen setzen sendet automatisch */
.consent-modal { display: none; position: fixed; inset: 0; z-index: 10000; }
.consent-modal.is-open { display: block; }
.consent-modal-backdrop { position: absolute; inset: 0; background: rgba(15,31,54,.78); backdrop-filter: blur(4px); }
.consent-modal-box {
    position: relative; max-width: 500px; margin: 12vh auto 0; padding: 34px 30px 30px;
    background: #f7fafc; border: 2px solid #9aaba6; border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    animation: consent-modal-in .28s cubic-bezier(.2,.7,.2,1);
}
@keyframes consent-modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.consent-modal-close {
    position: absolute; top: 10px; right: 14px; background: none; border: none;
    font-size: 28px; color: #9aaba6; cursor: pointer; line-height: 1; padding: 4px 8px;
    transition: color .18s;
}
.consent-modal-close:hover { color: #0f1f36; }
.consent-modal-box h3 {
    font-family: 'Playfair Display', serif; font-size: 1.55rem; color: #0f1f36;
    margin: 0 0 14px; font-weight: 600;
}
.consent-modal-box > p { font-size: .95rem; line-height: 1.6; color: #0f1f36; margin: 0 0 20px; }
.consent-modal-box a { color: #0f1f36; text-decoration: underline; }
.consent-modal-check {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
    background: #ffffff; border: 2px solid #9aaba6; border-radius: 6px; cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.consent-modal-check:hover { border-color: #0f1f36; }
.consent-modal-check.is-checked { border-color: #3d9970; background: rgba(61,153,112,.06); }
.consent-modal-check input[type=checkbox] {
    flex-shrink: 0; margin: 2px 0 0; width: 18px; height: 18px; accent-color: #9aaba6; cursor: pointer;
}
.consent-modal-check span { font-size: .95rem; color: #0f1f36; line-height: 1.4; }
