/*
 * PreQ Nav + Fonts + Reset + Body
 * Extrahiert aus _preq-head.php am 2026-04-21 (Phase 4 Homepage-Hotfix).
 * Pfade relativ zur CSS-Datei (/uploads/css/) damit APP_PREFIX-unabhaengig.
 */
        /* ===== Inter — Headlines (lokale statische Dateien pro Gewicht) ===== */
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter/inter-400.woff2') format('woff2'); }
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter/inter-500.woff2') format('woff2'); }
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter/inter-600.woff2') format('woff2'); }
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter/inter-700.woff2') format('woff2'); }
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter/inter-800.woff2') format('woff2'); }

        /* ===== Open Sans — Body-Font (lokale Dateien) ===== */
        @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/open-sans/open-sans-300.woff2') format('woff2'); }
        @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans/open-sans-400.woff2') format('woff2'); }
        @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/open-sans/open-sans-500.woff2') format('woff2'); }
        @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/open-sans/open-sans-600.woff2') format('woff2'); }
        @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/open-sans/open-sans-700.woff2') format('woff2'); }

        /* ===== CSS-Variablen ===== */
        :root {
            --preq-bg: #151518;
            --preq-dark: #111114;
            --preq-card: #1D1D21;
            --preq-raised: #252529;
            --preq-text: #e8e6e3;
            --preq-muted: #e8e8ee;
            --preq-accent: #22D3EE;
            --preq-hero-accent: #22D3EE;
            --preq-border: rgba(255,255,255,0.1);
        }

        /* ===== Reset + Body ===== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scrollbar-gutter: stable; scroll-behavior: smooth; overflow-x: hidden; }
        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--preq-text);
            background: var(--preq-dark);
            line-height: 1.6;
        }

        /* ===== Font-Zuweisungen ===== */
        html, body, p, p span, a, li, div, td, th, label, input, textarea, button, select {
            font-family: 'Open Sans', sans-serif !important;
        }
        h1, h2, h3, h4,
        .preq-nav-logo-text, .preq-nav-cta, .preq-submit-btn {
            font-family: 'Inter', sans-serif !important;
        }
        /* Q-Gewicht wird zentral in preq-theme.css geregelt */

        /* ===== Nav (shared) ===== */
        .preq-nav-wrap {
            position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
            background: transparent;
            transition: background 0.4s ease, border-color 0.4s ease;
            border-bottom: 1px solid transparent;
        }
        .preq-nav-wrap.preq-nav-scrolled,
        .preq-nav-wrap.preq-nav-always-scrolled {
            /* Kein backdrop-filter: macht den Wrap zu einem containing-block
               und beschneidet position:fixed children (Burger-Backdrop+Drawer)
               auf die Hoehe der Nav-Bar. Dichteres Background als Ersatz. */
            background: rgba(15,15,20,0.92);
            border-bottom-color: rgba(34,211,238,0.12);
        }
        .preq-nav {
            display: flex; align-items: center; justify-content: space-between;
            width: 100%; max-width: 1248px; margin: 0 auto; padding: 24px 40px;
            position: relative; z-index: 10;
        }
        .preq-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
        .preq-nav-logo-icon {
            width: 36px; height: 36px; background: var(--preq-accent); border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; color: #fff;
        }
        .preq-nav-logo-text {
            font-family: 'Inter', sans-serif; font-weight: 700; font-size: 28px;
            color: #fff; letter-spacing: -0.03em;
        }
        .preq-nav-links { display: flex; align-items: center; gap: 36px; }
        .preq-nav-links a { font-weight: 400; font-size: 15px; color: rgba(255,255,255,0.95); text-decoration: none; transition: color 0.2s; }
        .preq-nav-links a:hover { color: #fff; }
        .preq-nav-cta {
            padding: 10px 24px; border: 1px solid rgba(34,211,238,0.4); border-radius: 100px;
            color: #22D3EE !important; font-weight: 500;
            box-shadow: 0 0 15px rgba(34,211,238,0.15), inset 0 0 15px rgba(34,211,238,0.05);
            transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
        }
        .preq-nav-cta:hover { border-color: rgba(34,211,238,0.7); color: #fff !important; box-shadow: 0 0 25px rgba(34,211,238,0.3), inset 0 0 20px rgba(34,211,238,0.08); }

        /* Burger-Button — Default versteckt, ab Mobile sichtbar */
        .preq-nav-burger {
            display: none;
            background: none;
            border: 0;
            cursor: pointer;
            padding: 10px;
            margin: -10px;
            position: relative;
            z-index: 12;
        }
        .preq-nav-burger span {
            display: block;
            width: 26px; height: 2px;
            background: #fff;
            margin: 5px 0;
            transition: transform 0.3s ease, opacity 0.2s ease;
            transform-origin: center;
        }
        .preq-nav-burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .preq-nav-burger--open span:nth-child(2) { opacity: 0; }
        .preq-nav-burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        .preq-nav-backdrop {
            display: none;
            position: fixed; inset: 0;
            background: #0a0a0e;
            z-index: 9;
        }

        /* ===== Responsive Nav ===== */
        @media (max-width: 768px) {
            .preq-nav { padding: 20px 24px; }
            .preq-nav-burger { display: block; }
            .preq-nav-backdrop { display: block; }
            .preq-nav-links {
                position: fixed;
                top: 0; right: 0; bottom: 0;
                width: 280px;
                max-width: 82vw;
                background: #0f0f14;
                border-left: 1px solid rgba(34,211,238,0.12);
                flex-direction: column;
                align-items: stretch;
                padding: 88px 28px 32px;
                gap: 28px;
                transform: translateX(100%);
                transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
                z-index: 10;
            }
            .preq-nav-links--open { transform: translateX(0); }
            .preq-nav-links a:not(.preq-nav-cta) {
                display: block;
                font-size: 18px;
                padding: 6px 0;
            }
            .preq-nav-cta {
                align-self: flex-start;
                margin-top: 4px;
            }
            .preq-nav-lang {
                margin-top: auto;
                padding-top: 24px;
                border-top: 1px solid rgba(255,255,255,0.08);
            }
        }

/*
 * PreQ Dachmarken-Homepage — Dark Hero Styles
 * Extrahiert aus Views/homepage/preq.php am 2026-04-21 (Phase 4 Entschrottung).
 * Geladen vom PREQ-Layout-DB-Template.
 */

        /* ===== Inter für Homepage-spezifische Elemente ===== */
        .preq-hero-text h1,
        .preq-shops-header h2, .preq-shops-header-label,
        .preq-cred-number, .preq-timeline-year, .preq-founder-name,
        .iso-card-label, .iso-hub-asterisk, .iso-pill-text,
        .preq-stat-number, .preq-company h2,
        .preq-section h2, .preq-section h3, .preq-section-label,
        .preq-shop-card-name,
        .preq-btn-primary, .preq-btn-ghost { font-family: 'Inter', sans-serif !important; }

        /* ===== DARK HERO ===== */
        .preq-hero-wrap {
            background: var(--preq-dark);
            position: relative;
            overflow: visible;
        }

        /* Hero content */
        .preq-hero {
            position: relative;
            width: 100%;
            max-width: 1248px;
            margin: 0 auto;
            padding: 80px 40px 200px;
            min-height: 500px;
            z-index: 5;
        }
        .preq-hero-text {
            position: relative;
            z-index: 2;
        }
        .preq-hero-eyebrow {
            display: inline-block;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            color: #22D3EE;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            margin-bottom: 20px;
        }
        .preq-hero-text h1 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 56px;
            color: #fff;
            letter-spacing: -0.04em;
            line-height: 1.08;
            margin-bottom: 28px;
        }
        .preq-hero-text p {
            font-size: 17px;
            color: rgba(255,255,255,0.95);
            line-height: 1.7;
            margin-bottom: 40px;
            max-width: 500px;
        }
        .preq-hero-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .preq-btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: clamp(10px, 1vw, 15px) clamp(20px, 2.2vw, 32px);
            background: var(--preq-hero-accent);
            border-radius: 100px;
            font-weight: 500;
            font-size: clamp(13px, 1.1vw, 15px);
            color: #151518;
            text-decoration: none;
            transition: background 0.2s, transform 0.15s;
        }
        .preq-btn-primary:hover { background: #1ab8cc; transform: translateY(-1px); }
        .preq-btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: clamp(10px, 1vw, 15px) clamp(20px, 2.2vw, 32px);
            border: 1px solid rgba(34,211,238,0.4);
            border-radius: 100px;
            font-weight: 500;
            font-size: clamp(13px, 1.1vw, 15px);
            color: #22D3EE;
            text-decoration: none;
            box-shadow: 0 0 15px rgba(34,211,238,0.15), inset 0 0 15px rgba(34,211,238,0.05);
            transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
        }
        .preq-btn-ghost:hover {
            border-color: rgba(34,211,238,0.7);
            color: #fff;
            box-shadow: 0 0 25px rgba(34,211,238,0.3), inset 0 0 20px rgba(34,211,238,0.08);
        }

        /* Hero 3D scene — absolute inside .preq-hero */
        .preq-hero-visual {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(calc(-50% + 25px));
            perspective: 1200px;
            z-index: 1;
            pointer-events: none;
        }
        .preq-scene {
            width: 580px;
            height: 500px;
            position: relative;
            transform-style: preserve-3d;
            transform: rotateX(55deg) rotateZ(-45deg) scale(1.15) translateX(-80px);
        }

        /* Isometric 3D card */
        .iso-card {
            position: absolute;
            background: var(--preq-card);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 10px;
            padding: 14px 16px;
            transform-style: preserve-3d;
            transform: translateZ(12px);
            transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.5s;
            box-shadow: 0 0 0 rgba(0,0,0,0), 0 30px 40px -20px rgba(0,0,0,0.5);
        }
        /* Top highlight */
        .iso-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
            pointer-events: none;
        }
        /* Shadow layer floating below the card */
        .iso-card-shadow {
            position: absolute;
            inset: 4px;
            background: #2E2E33;
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 10px;
            transform: translateZ(-30px);
            pointer-events: none;
        }
        .iso-card-shadow.shadow-close {
            transform: translateZ(-18px);
        }
        .iso-card:hover {
            transform: translateZ(30px);
            box-shadow: 0 0 30px rgba(34,211,238,0.08), 0 40px 50px -20px rgba(0,0,0,0.6);
        }
        .iso-card-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        .iso-card-icon {
            width: 28px; height: 28px;
            border-radius: 6px;
            background: var(--preq-raised);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .iso-card-icon svg { width: 14px; height: 14px; }
        .iso-card-label {
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            font-size: 13px;
            color: rgba(255,255,255,0.95);
            letter-spacing: 0.02em;
        }
        .iso-card-lines {
            margin-top: 6px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        /* Safari/WebKit: der .iso-card::after Gradient-Overlay zeichnet auf
           WebKit ueber den Card-Inhalt und verdeckt Text-Labels. Card-Inhalt
           explizit ueber das Pseudo-Element heben. */
        .iso-card-header,
        .iso-card-lines {
            position: relative;
            z-index: 1;
        }
        .iso-card-lines span {
            display: block;
            height: 2px;
            background: rgba(255,255,255,0.06);
            border-radius: 1px;
        }

        /* Central hub chip */
        .iso-hub {
            position: absolute;
            width: 110px; height: 110px;
            left: 50%; top: 50%;
            margin-left: -55px; margin-top: -55px;
            background: var(--preq-card);
            border: 1.5px solid rgba(34,211,238,0.35);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            transform-style: preserve-3d;
            transform: translateZ(40px);
            box-shadow:
                0 0 60px rgba(34,211,238,0.12),
                0 30px 50px -15px rgba(0,0,0,0.6);
        }
        .iso-hub::before {
            content: '';
            position: absolute;
            inset: -20px;
            border: 1px solid rgba(34,211,238,0.08);
            border-radius: 20px;
            pointer-events: none;
        }
        .iso-hub::after {
            content: '';
            position: absolute;
            inset: -40px;
            border: 1px dashed rgba(34,211,238,0.06);
            border-radius: 28px;
            pointer-events: none;
        }
        .iso-hub-depth {
            position: absolute;
            inset: 0;
            background: #111114;
            border: 1px solid rgba(34,211,238,0.15);
            border-radius: 14px;
            transform: translateZ(-20px);
            pointer-events: none;
        }
        .iso-hub-asterisk {
            color: #22D3EE;
            font-size: 36px;
            font-weight: 700;
            font-family: 'Inter', sans-serif;
            text-shadow: 0 0 30px rgba(34,211,238,0.4);
        }

        /* Hub image layers */
        .iso-hub-img {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            opacity: 0;
            transition: opacity 0.6s ease;
            overflow: hidden;
        }
        .iso-hub-img--active {
            opacity: 1;
        }

        /* Card glow when active */
        .iso-card--active {
            animation: none !important;
            border-color: rgba(34,211,238,0.5) !important;
            box-shadow: 0 0 30px rgba(34,211,238,0.2), 0 0 60px rgba(34,211,238,0.08), 0 30px 40px -20px rgba(0,0,0,0.5) !important;
            transform: translateZ(25px) !important;
        }
        .iso-card--active .iso-card-label {
            color: rgba(34,211,238,0.7) !important;
        }
        .iso-card--active .iso-card-icon {
            border-color: rgba(34,211,238,0.3) !important;
            background: rgba(34,211,238,0.1) !important;
        }
        .iso-card--active .iso-card-icon svg {
            stroke: rgba(34,211,238,0.6) !important;
        }

        /* Connector pins along hub edges */
        .iso-pin {
            position: absolute;
            width: 12px; height: 2px;
            background: rgba(255,255,255,0.1);
            border-radius: 1px;
        }

        /* Pill badges */
        .iso-pill {
            position: absolute;
            background: #1A1A1E;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 20px;
            padding: 8px 20px 8px 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            transform-style: preserve-3d;
            transition: transform 0.4s;
        }
        .iso-pill:hover { transform: translateZ(15px); }
        /* Pill glow when active — paralleler Cycle zu .iso-card--active */
        .iso-pill--active {
            border-color: rgba(34,211,238,0.5) !important;
            box-shadow: 0 0 20px rgba(34,211,238,0.2), 0 0 40px rgba(34,211,238,0.08) !important;
            transform: translateZ(25px) !important;
        }
        .iso-pill--active .iso-pill-text {
            color: rgba(34,211,238,0.85) !important;
        }
        .iso-pill--active .iso-pill-dot {
            background: rgba(34,211,238,0.4) !important;
            border-color: rgba(34,211,238,0.9) !important;
        }
        .iso-pill-dot {
            width: 10px; height: 10px;
            border-radius: 50%;
            background: rgba(34,211,238,0.15);
            border: 1px solid rgba(34,211,238,0.5);
            position: relative;
            flex-shrink: 0;
        }
        .iso-pill-dot::after {
            content: '';
            position: absolute;
            inset: 2px;
            border-radius: 50%;
            background: #22D3EE;
            opacity: 0.6;
            animation: pulse-glow 3s ease-in-out infinite;
        }
        .iso-pill-text {
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 400;
            color: rgba(255,255,255,0.95);
            letter-spacing: 0.05em;
            font-style: italic;
            white-space: nowrap;
        }

        /* Connection lines (CSS) */
        .iso-line {
            position: absolute;
            height: 1px;
            background: repeating-linear-gradient(90deg, rgba(34,211,238,0.2) 0px, rgba(34,211,238,0.2) 6px, transparent 6px, transparent 20px);
            transform-origin: 0 0;
            transform-style: preserve-3d;
            transform: translateZ(20px);
            animation: dash-flow-css 4s linear infinite;
        }
        @keyframes dash-flow-css {
            to { background-position: -20px 0; }
        }

        /* Isometric grid floor — fades in radially from center */
        .iso-grid-floor {
            position: absolute;
            inset: -120px;
            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);
            background-size: 50px 50px;
            transform: translateZ(-8px);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
        }

        /* No flat grid on hero — grid lives on the isometric scene only */
        /* Radial glow behind illustration */
        /* Glow lives inside the scene */
        .iso-glow-bg {
            position: absolute;
            width: 800px;
            height: 800px;
            left: 50%;
            top: 50%;
            margin-left: -400px;
            margin-top: -400px;
            background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, rgba(34,211,238,0.03) 35%, transparent 60%);
            pointer-events: none;
            transform: translateZ(1px);
        }

        /* ===== SHOPS SECTION ===== */
        .preq-shops-wrap {
            background: var(--preq-bg);
        }
        .preq-shops {
            max-width: 1440px;
            margin: 0 auto;
            padding: 96px 80px;
        }
        .preq-shops-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 48px;
        }
        .preq-shops-header-label {
            font-weight: 500;
            font-size: 13px;
            color: var(--preq-accent);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
        .preq-shops-header h2 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 36px;
            color: #fff;
            letter-spacing: -0.03em;
            line-height: 1.1;
        }
        .preq-shops-header-count {
            font-size: 15px;
            color: var(--preq-muted);
        }
        .preq-shop-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .preq-shop-card {
            background: var(--preq-card);
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.08);
            padding: 28px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            text-decoration: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .preq-shop-card:hover {
            border-color: rgba(34,211,238,0.25);
            box-shadow: 0 4px 20px rgba(34,211,238,0.08);
        }
        .preq-shop-card-header {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .preq-shop-card-icon {
            width: 44px; height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 16px;
            color: #fff;
            flex-shrink: 0;
        }
        .preq-shop-card-name {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 18px;
            color: #fff;
            letter-spacing: -0.02em;
        }
        .preq-shop-card-domain { font-size: 13px; color: var(--preq-muted); }
        .preq-shop-card-desc { font-size: 15px; color: var(--preq-body-muted); line-height: 1.6; }
        .preq-shop-card-link {
            font-weight: 500;
            font-size: 14px;
            color: #22D3EE;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* ===== COMPANY SECTION ===== */
        .preq-company {
            display: flex;
            gap: 80px;
            max-width: 1440px;
            margin: 0 auto;
            padding: 96px 80px;
            background: var(--preq-card);
        }
        .preq-company-left, .preq-company-right { flex: 1; }
        .preq-company-label {
            font-weight: 500;
            font-size: 13px;
            color: rgba(255,255,255,0.95);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 24px;
        }
        .preq-company h2 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 40px;
            color: #fff;
            letter-spacing: -0.03em;
            line-height: 1.15;
            margin-bottom: 24px;
        }
        .preq-company p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.6; }
        .preq-stats { display: flex; gap: 40px; margin-bottom: 32px; }
        .preq-stat-number {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 36px;
            color: var(--preq-accent);
            letter-spacing: -0.02em;
        }
        .preq-stat-label { font-size: 14px; color: rgba(255,255,255,0.95); }
        .preq-company-cta {
            display: inline-flex;
            padding: 14px 28px;
            background: var(--preq-accent);
            border-radius: 8px;
            font-weight: 500;
            font-size: 15px;
            color: #fff;
            text-decoration: none;
            transition: background 0.2s;
        }
        .preq-company-cta:hover { background: #b04e32; }

        /* Footer styles handled by preq-theme.css */

        /* ===== RESPONSIVE ===== */

        /* Large tablets / small desktops — scale everything down */
        @media (max-width: 1280px) {
            .preq-hero { padding: 0 40px 80px; }
            .preq-scene { transform: rotateX(55deg) rotateZ(-45deg) scale(1.0); }
            .preq-scene { transform: rotateX(55deg) rotateZ(-45deg) scale(1.0); }
        }

        /* Tablets — side by side but smaller */
        @media (max-width: 1024px) {
            .preq-nav { padding: 24px 36px; }
            .preq-scene { transform: rotateX(55deg) rotateZ(-45deg) scale(0.85); }
            .preq-shop-grid { grid-template-columns: repeat(2, 1fr); }
            .preq-company { flex-direction: column; gap: 48px; }
        }

        /* Small tablets — stack, simplified graphic */
        @media (max-width: 768px) {
            .preq-hero { flex-direction: column; padding: 0 24px 48px; align-items: flex-start; }
            .preq-hero-text { min-width: auto; }
            .preq-hero-text { flex: none; max-width: 100%; }
            .preq-hero-text p { max-width: 100%; }
            .preq-hero-actions { flex-direction: column; align-items: stretch; }
            .preq-hero-actions a { text-align: center; justify-content: center; }

            .preq-hero-visual { display: none; }
            .preq-scene { transform: rotateX(55deg) rotateZ(-45deg) scale(0.55); }
            /* Hide pills and back-row cards on mobile */
            .iso-pill { display: none; }
            .iso-card-shadow { display: none; }
            .iso-line { display: none; }

            .preq-shops { padding: 64px 24px; }
            .preq-shop-grid { grid-template-columns: 1fr; }
            .preq-shops-header { flex-direction: column; align-items: flex-start; gap: 8px; }
            .preq-company { padding: 64px 24px; }
            .preq-company h2 { font-size: 30px; }
        }

        /* Phones — minimal graphic */
        @media (max-width: 480px) {
            .preq-hero-visual { display: none; }
            .preq-scene { transform: rotateX(55deg) rotateZ(-45deg) scale(0.42); }
            .preq-hero-wrap { min-height: auto; }
        }

        /* Animations */
        @keyframes pulse-glow {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }
        @keyframes card-glow {
            0%, 100% {
                border-color: rgba(34,211,238,0.15);
                box-shadow: 0 0 15px rgba(34,211,238,0.05), 0 30px 40px -20px rgba(0,0,0,0.5);
            }
            50% {
                border-color: rgba(34,211,238,0.4);
                box-shadow: 0 0 30px rgba(34,211,238,0.15), 0 0 60px rgba(34,211,238,0.05), 0 30px 40px -20px rgba(0,0,0,0.5);
            }
        }
        .iso-card-glow {
            animation: card-glow 3s ease-in-out infinite;
        }

        /* ===== GRADIENT TEXT ===== */
        .preq-gradient-text {
            background: linear-gradient(135deg, #ffffff 30%, #22D3EE 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Glassmorphism jetzt über .preq-nav-wrap oben */

        /* ===== SCROLL REVEALS ===== */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }

        /* ===== GRÜNDER-CREDIBILITY ===== */
        .preq-credibility {
            max-width: 1440px;
            margin: 0 auto;
            padding: 80px 80px;
            text-align: center;
        }
        .preq-credibility-intro {
            margin-bottom: 48px;
        }
        .preq-credibility-intro h2 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 36px;
            color: #fff;
            letter-spacing: -0.03em;
            line-height: 1.15;
            margin-bottom: 20px;
        }
        .preq-credibility-stats {
            display: flex;
            justify-content: center;
            gap: 64px;
            margin-top: 56px;
            flex-wrap: wrap;
        }
        .preq-cred-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .preq-cred-number {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 48px;
            color: #22D3EE;
            letter-spacing: -0.03em;
            line-height: 1;
        }
        .preq-cred-label {
            font-size: 14px;
            color: var(--preq-muted);
        }
        .preq-credibility-text {
            font-size: 17px;
            color: rgba(255,255,255,0.95);
            line-height: 1.7;
            max-width: 700px;
            margin: 0 auto;
        }
        .preq-credibility-names {
            display: flex;
            justify-content: center;
            gap: 32px;
            margin-top: 24px;
            flex-wrap: wrap;
        }
        .preq-cred-name {
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-weight: 500;
            color: rgba(255,255,255,0.95);
            letter-spacing: 0.03em;
        }
        @media (max-width: 768px) {
            .preq-credibility { padding: 64px 24px; }
            .preq-credibility-stats { gap: 40px; }
            .preq-cred-number { font-size: 36px; }
        }

        /* Founders — photo + info card layout */
        .preq-founders {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            margin-top: 48px;
            max-width: 960px;
            margin-left: auto;
            margin-right: auto;
        }
        .preq-founder {
            position: relative;
            display: flex;
            align-items: stretch;
        }
        .preq-founder-photo {
            width: 200px;
            min-height: 260px;
            border-radius: 14px;
            overflow: hidden;
            background: #222226;
            flex-shrink: 0;
            position: relative;
            z-index: 1;
        }
        .preq-founder-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .preq-founder-photo-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #222226 0%, #2A2A2E 100%);
        }
        .preq-founder-photo-placeholder span {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 48px;
            color: rgba(34,211,238,0.3);
        }
        .preq-founder-info {
            background: rgba(29,29,33,0.95);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px;
            padding: 28px 24px;
            margin-left: -40px;
            margin-top: 32px;
            margin-bottom: 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 2;
            backdrop-filter: blur(12px);
        }
        .preq-founder-name {
            font-family: 'Inter', sans-serif;
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.02em;
            margin-bottom: 4px;
        }
        .preq-founder-role {
            font-size: 14px;
            color: var(--preq-accent);
            font-weight: 500;
            margin-bottom: 14px;
        }
        .preq-founder-desc {
            font-size: 14px;
            color: rgba(255,255,255,0.95);
            line-height: 1.6;
        }
        @media (max-width: 900px) {
            .preq-founders { grid-template-columns: 1fr; max-width: 460px; }
        }
        @media (max-width: 480px) {
            .preq-founder-photo { width: 160px; min-height: 220px; }
            .preq-founder-info { padding: 20px 18px; margin-left: -30px; }
            .preq-founder-name { font-size: 18px; }
        }

        /* Timeline */
        .preq-timeline {
            display: flex;
            align-items: stretch;
            justify-content: center;
            gap: 0;
            margin-top: 56px;
            position: relative;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }
        /* Durchgehende Linie */
        .preq-timeline::before {
            content: '';
            position: absolute;
            top: 24px;
            left: 10%;
            right: 10%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(34,211,238,0.3) 15%, rgba(34,211,238,0.3) 85%, transparent);
        }
        .preq-timeline-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            padding: 0 12px;
        }
        /* Dot auf der Linie */
        .preq-timeline-item::before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--preq-dark);
            border: 2px solid #22D3EE;
            margin-bottom: 16px;
            position: relative;
            z-index: 1;
            box-shadow: 0 0 12px rgba(34,211,238,0.25);
        }
        /* Letzter Dot gefüllt (aktuell) */
        .preq-timeline-item:last-child::before {
            background: #22D3EE;
            box-shadow: 0 0 16px rgba(34,211,238,0.4);
        }
        .preq-timeline-year {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 22px;
            color: #22D3EE;
            margin-bottom: 8px;
        }
        .preq-timeline-text {
            font-size: 14px;
            color: rgba(255,255,255,0.95);
            max-width: 220px;
            text-align: center;
            line-height: 1.5;
        }
        @media (max-width: 768px) {
            .preq-timeline { flex-direction: column; gap: 32px; align-items: flex-start; padding-left: 40px; }
            .preq-timeline::before { top: 0; bottom: 0; left: 16px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(34,211,238,0.3) 15%, rgba(34,211,238,0.3) 85%, transparent); }
            .preq-timeline-item { flex-direction: row; gap: 16px; padding: 0; }
            .preq-timeline-item::before { position: absolute; left: -29px; top: 4px; margin-bottom: 0; }
            .preq-timeline-text { text-align: left; }
        }

        /* "Ihr Vorteil: Fokus" Karten */
        .preq-nicht-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        .preq-nicht-card {
            background: var(--preq-card);
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.08);
            border-top: 3px solid rgba(255,255,255,0.08);
            padding: 28px;
        }
        .preq-nicht-card.nicht-active {
            border-top-color: var(--card-color);
            transition: border-top-color 0.5s ease;
        }
        .preq-nicht-card.nicht-icons-only {
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .preq-nicht-card.nicht-icons-only .preq-nicht-icon {
            color: var(--card-color);
            background: color-mix(in srgb, var(--card-color) 10%, transparent);
            border-color: color-mix(in srgb, var(--card-color) 30%, transparent);
        }
        .preq-nicht-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: rgba(255,255,255,0.3);
            transition: color 0.5s ease, background 0.5s ease, border-color 0.5s ease;
        }
        .preq-nicht-card.nicht-active .preq-nicht-icon {
            color: var(--card-color);
            background: color-mix(in srgb, var(--card-color) 10%, transparent);
            border-color: color-mix(in srgb, var(--card-color) 30%, transparent);
        }
        .preq-nicht-card h3 {
            font-family: 'Inter', sans-serif;
            font-size: 17px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 8px;
        }
        .preq-nicht-card p {
            font-size: 15px;
            color: rgba(255,255,255,0.95);
            line-height: 1.6;
        }
        @media (max-width: 768px) {
            .preq-nicht-grid { grid-template-columns: 1fr; }
        }


        /* Kartenschatten an neuen Hintergrund anpassen */
        .iso-card-shadow {
            background: var(--preq-dark) !important;
        }

        /* ===== MEGA-MENU FACHBEREICHE ===== */
        .preq-mega-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        .preq-mega-item {
            padding: 28px;
            text-decoration: none;
            background: var(--preq-card);
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.08);
            transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
            min-width: 0;
            overflow-wrap: anywhere;
        }
        .preq-mega-item:hover {
            border-color: rgba(34,211,238,0.3);
            box-shadow: 0 0 30px rgba(34,211,238,0.15);
            transform: translateY(-2px);
        }
        .preq-mega-item h3 {
            font-family: 'Inter', sans-serif;
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 4px;
            letter-spacing: -0.02em;
        }
        .preq-mega-domain {
            font-size: 12px;
            color: #22D3EE;
            letter-spacing: 0.02em;
            display: block;
            margin-bottom: 16px;
        }
        .preq-mega-item ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .preq-mega-item ul li {
            font-size: 14px;
            color: rgba(255,255,255,0.95);
            line-height: 1.4;
            padding-left: 14px;
            position: relative;
        }
        .preq-mega-item ul li::before {
            content: '›';
            position: absolute;
            left: 0;
            color: rgba(34,211,238,0.4);
            font-weight: 600;
        }
        .preq-mega-item p {
            font-size: 14px;
            color: rgba(255,255,255,0.95);
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .preq-mega-link {
            display: inline-block;
            margin-top: 12px;
            font-size: 14px;
            font-weight: 500;
            color: #22D3EE;
            transition: color 0.2s;
        }
        .preq-mega-item:hover .preq-mega-link { color: #7EDCE8; }
        .preq-mega-item:hover ul li { color: rgba(255,255,255,0.65); }
        @media (max-width: 768px) {
            .preq-mega-grid { grid-template-columns: 1fr; }
        }

        /* ===== PRATFALL / FIT-CHECK ===== */
        .preq-fitcheck {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            margin-top: 2rem;
        }
        .preq-fitcheck-col {
            background: var(--preq-card);
            border-radius: 12px;
            padding: 32px;
            border: 1px solid rgba(255,255,255,0.08);
        }
        .preq-fitcheck-col h3 {
            font-family: 'Inter', sans-serif;
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .preq-fitcheck-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .preq-fitcheck-col ul li {
            font-size: 15px;
            line-height: 1.6;
            padding-left: 20px;
            position: relative;
        }
        .preq-fitcheck-yes {
            border-color: rgba(34,211,238,0.2);
        }
        .preq-fitcheck-yes ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #22D3EE;
            font-weight: 600;
        }
        .preq-fitcheck-yes ul li {
            color: rgba(255,255,255,0.95);
        }
        .preq-fitcheck-no ul li::before {
            content: '—';
            position: absolute;
            left: 0;
            color: rgba(255,255,255,0.25);
        }
        .preq-fitcheck-no ul li {
            color: rgba(255,255,255,0.95);
        }
        @media (max-width: 768px) {
            .preq-fitcheck { grid-template-columns: 1fr; }
            #abgrenzung-wer .container > div { grid-template-columns: 1fr !important; }
            #wer-wir-sind .container > div[style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
            #unterscheidung .container > div[style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
        }
        /* ===== FAQ ===== */
        .preq-faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .preq-faq-item {
            background: var(--preq-card);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 10px;
            overflow: hidden;
        }
        .preq-faq-q {
            width: 100%;
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: none;
            border: none;
            cursor: pointer;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            font-weight: 500;
            text-align: left;
            transition: color 0.2s;
        }
        .preq-faq-q:hover { color: #22D3EE; }
        .preq-faq-q svg {
            flex-shrink: 0;
            transition: transform 0.3s;
            color: var(--preq-muted);
        }
        .preq-faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
        .preq-faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0 24px;
        }
        .preq-faq-a.preq-faq-a--open {
            max-height: 300px;
            padding: 0 24px 20px;
        }
        .preq-faq-a p {
            font-size: 15px;
            color: rgba(255,255,255,0.95);
            line-height: 1.7;
        }

/* CTA-Button Hover Override */
#preq-cta-main:hover,

/* ===== Widget-Toolbar + A11y-Panel: Dark-Theme Override fuer PreQ ===== */
/* Extrahiert aus _preq-tail.php am 2026-04-21 (Phase 4 Homepage-Hotfix #4). */
.widget-toolbar { background: rgba(29,29,33,0.9) !important; backdrop-filter: blur(16px); box-shadow: 0 4px 20px rgba(0,0,0,.4), 0 0 0 1px rgba(34,211,238,0.12) !important; }
.wt-btn-top { background: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.7) !important; }
.wt-btn-top:hover { background: rgba(255,255,255,0.15) !important; }
.wt-btn-cookie { background: #22D3EE !important; color: #151518 !important; }
.wt-btn-cookie:hover { background: #1ab8cc !important; }
.wt-btn-a11y { background: transparent !important; color: #22D3EE !important; border-color: rgba(34,211,238,0.5) !important; }
.wt-btn-a11y:hover { background: rgba(34,211,238,0.1) !important; }
.wt-btn-callback { background: #22D3EE !important; color: #151518 !important; }
.wt-btn-callback:hover { background: #1ab8cc !important; filter: none; }
.a11y-panel { background: #1a1a2e !important; border-color: rgba(255,255,255,0.1) !important; color: #e8e6e3 !important; }
.a11y-panel-header { border-color: rgba(255,255,255,0.1) !important; }
.a11y-panel-header button { color: rgba(255,255,255,0.95) !important; }
.a11y-panel-header button:hover { color: #fff !important; }

/* =============================================================================
   Kontaktseite — Phase 4 Follow-up 2026-04-21
   Extrahiert aus Views/homepage/preq-kontakt.php
   ========================================================================== */

/* Hero compact */
.preq-kontakt-hero {
    padding: 160px 40px 80px;
    text-align: center;
    background: var(--preq-dark);
}
.preq-kontakt-hero h1 {
    font-size: 48px; font-weight: 700; color: #fff; letter-spacing: -0.04em; margin-bottom: 16px;
}
.preq-kontakt-hero p {
    font-size: 17px; color: rgba(255,255,255,0.95); max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* Contact Grid */
.preq-kontakt-section {
    max-width: 1100px; margin: 0 auto; padding: 0 40px 96px;
}
.preq-kontakt-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start;
}

/* Form */
.preq-kontakt-form {
    background: #1D1D21; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 40px;
}
.preq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.preq-form-group { margin-bottom: 20px; }
.preq-form-group label {
    display: block; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 8px;
}
.preq-form-group .preq-required { color: #22D3EE; }
.preq-form-group input,
.preq-form-group textarea {
    width: 100%; padding: 12px 16px; background: #111114; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; color: #fff; font-size: 15px; font-family: 'Open Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.preq-form-group input::placeholder,
.preq-form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.preq-form-group input:focus,
.preq-form-group textarea:focus {
    border-color: rgba(34,211,238,0.5); box-shadow: 0 0 0 3px rgba(34,211,238,0.1);
}
.preq-form-group textarea { resize: vertical; min-height: 140px; }

/* Checkbox */
.preq-checkbox-wrap { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 28px; }
.preq-checkbox-wrap input[type="checkbox"] {
    width: 20px; height: 20px; margin-top: 2px; accent-color: #22D3EE; flex-shrink: 0;
}
.preq-checkbox-wrap span { font-size: 13px; color: rgba(255,255,255,0.95); line-height: 1.5; }
.preq-checkbox-wrap a { color: #22D3EE; text-decoration: none; }
.preq-checkbox-wrap a:hover { text-decoration: underline; }

/* Submit */
.preq-submit-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; background: #22D3EE; color: #151518;
    font-weight: 600; font-size: 15px; border: none; border-radius: 100px;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
    font-family: 'Inter', sans-serif;
}
.preq-submit-btn:hover { background: #1ab8cc; transform: translateY(-1px); color: #fff; }
.preq-submit-btn:active { background: #19a3b5; color: #fff; }
.preq-form-hint { font-size: 13px; color: rgba(255,255,255,0.95); margin-top: 16px; }

/* Alerts */
.preq-alert {
    display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px;
    border-radius: 12px; margin-bottom: 28px;
}
.preq-alert--success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); }
.preq-alert--success svg { color: #22c55e; flex-shrink: 0; }
.preq-alert--success strong { color: #22c55e; }
.preq-alert--success p { color: rgba(255,255,255,0.95); font-size: 14px; margin-top: 4px; }
.preq-alert--error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); }
.preq-alert--error svg { color: #ef4444; flex-shrink: 0; }
.preq-alert--error p { color: rgba(255,255,255,0.95); font-size: 14px; }

/* Sidebar */
.preq-kontakt-sidebar { display: flex; flex-direction: column; gap: 24px; }
.preq-info-card {
    background: #1D1D21; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px;
}
.preq-info-card h3 {
    font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 16px;
}
.preq-info-card p { font-size: 14px; color: rgba(255,255,255,0.95); line-height: 1.6; }
.preq-info-item {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.preq-info-item svg { color: #22D3EE; flex-shrink: 0; }
.preq-info-item a { color: #22D3EE; text-decoration: none; font-size: 15px; }
.preq-info-item a:hover { color: #fff; }

@media (max-width: 768px) {
    .preq-kontakt-grid { grid-template-columns: 1fr; }
    .preq-form-grid { grid-template-columns: 1fr; }
    .preq-kontakt-hero { padding: 140px 24px 60px; }
    .preq-kontakt-hero h1 { font-size: 36px; }
    .preq-kontakt-section { padding: 0 24px 64px; }
    .preq-kontakt-form { padding: 24px; }
}

/* =============================================================================
   Legal-Seiten — Phase 4 Follow-up 2026-04-21
   Extrahiert aus Views/homepage/preq-legal.php
   ========================================================================== */

.preq-legal-hero {
    padding: 140px 40px 60px;
    background: var(--preq-dark);
    max-width: 1248px; margin: 0 auto;
}
.preq-legal-hero h1 {
    font-size: 48px; font-weight: 700; color: #fff; letter-spacing: -0.04em;
}

.preq-legal-content {
    max-width: 1248px; margin: 0 auto; padding: 0 40px 96px;
}
.preq-legal-content h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--preq-border); }
.preq-legal-content h3 { font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.9); margin: 32px 0 12px; }
.preq-legal-content p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 16px; }
.preq-legal-content ul, .preq-legal-content ol { margin: 0 0 16px 24px; color: rgba(255,255,255,0.75); }
.preq-legal-content li { margin-bottom: 8px; font-size: 15px; line-height: 1.6; }
.preq-legal-content a { color: var(--preq-accent); text-decoration: none; }
.preq-legal-content a:hover { text-decoration: underline; }
.preq-legal-content strong { color: rgba(255,255,255,0.9); }

@media (max-width: 768px) {
    .preq-legal-hero { padding: 120px 24px 40px; }
    .preq-legal-hero h1 { font-size: 32px; }
    .preq-legal-content { padding: 0 24px 64px; }
}

/* =============================================================================
   404-Seite — Modern Redesign 2026-04-21
   Layered Gradient-Bignum, Floating Background-Orbs, Glassmorphism-Search,
   Quick-Link-Chips. Chrome (Nav/Footer) kommt aus PREQ-DB-Layout.
   ========================================================================== */

.preq-404 {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 140px;
    overflow: hidden;
    isolation: isolate;
}

/* Hintergrund-Orbs — drei gradient-Blobs in PreQ-Farbpalette, langsamer Drift */
.preq-404-orbs {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: -1;
}
.preq-404-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.32;
    will-change: transform;
    animation: preq404OrbDrift 24s ease-in-out infinite;
}
.preq-404-orb--cyan {
    background: #22D3EE;
    width: 420px; height: 420px;
    top: 6%; left: 12%;
}
.preq-404-orb--purple {
    background: #6366F1;
    width: 520px; height: 520px;
    bottom: 2%; right: 8%;
    animation-delay: -8s;
}
.preq-404-orb--teal {
    background: #14B8A6;
    width: 360px; height: 360px;
    top: 55%; left: 58%;
    animation-delay: -16s;
}
@keyframes preq404OrbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -50px) scale(1.06); }
    66%      { transform: translate(-50px, 40px) scale(0.96); }
}

/* Haupt-Content */
.preq-404-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    width: 100%;
}

/* 404-Bignum: Gradient-Clipped Text mit animiertem Shift + Cyan-Glow */
.preq-404-bignum {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    user-select: none;
    margin-bottom: 32px;
    display: inline-flex;
    gap: 0.02em;
}
.preq-404-bignum > span {
    background: linear-gradient(135deg, #22D3EE 0%, #6366F1 50%, #22D3EE 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 48px rgba(34, 211, 238, 0.35));
    animation: preq404GradientShift 7s ease-in-out infinite;
}
.preq-404-bignum .preq-404-zero {
    animation-delay: -1.5s;
    background: linear-gradient(135deg, #6366F1 0%, #22D3EE 50%, #6366F1 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
            background-clip: text;
}
@keyframes preq404GradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Headline + Lead */
.preq-404-headline {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1.5rem, 3.6vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    line-height: 1.1;
    white-space: nowrap;
}
.preq-404-lead {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 44px;
}
.preq-404-lead strong {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
}

/* Glassmorphism-Suche */
.preq-404-search {
    display: flex; gap: 6px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 6px;
    max-width: 540px;
    margin: 0 auto 40px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.preq-404-search:focus-within {
    border-color: rgba(34,211,238,0.5);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 4px rgba(34,211,238,0.12);
}
.preq-404-search input {
    flex: 1;
    border: 0; outline: 0; background: transparent;
    padding: 14px 18px;
    font-size: 1rem;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
}
.preq-404-search input::placeholder { color: rgba(255,255,255,0.35); }
.preq-404-search button {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border: 0; border-radius: 9px;
    background: #22D3EE; color: #151518;
    font-family: 'Inter', sans-serif;
    font-weight: 600; font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
}
.preq-404-search button:hover {
    background: #1ab8cc;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34,211,238,0.25);
}
.preq-404-search button svg { flex-shrink: 0; }

/* Quicklink-Chips */
.preq-404-quicks {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    align-items: center;
}
.preq-404-quicks-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-right: 6px;
}
.preq-404-chip {
    display: inline-flex; align-items: center;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.78);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}
.preq-404-chip:hover {
    border-color: rgba(34,211,238,0.55);
    background: rgba(34,211,238,0.08);
    color: #22D3EE;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 640px) {
    .preq-404 { padding: 80px 20px 100px; min-height: 60vh; }
    .preq-404-bignum { gap: 0; }
    .preq-404-search { flex-direction: column; padding: 8px; }
    .preq-404-search button { width: 100%; justify-content: center; padding: 14px 22px; }
    .preq-404-orb { opacity: 0.22; filter: blur(80px); }
    .preq-404-orb--cyan   { width: 280px; height: 280px; }
    .preq-404-orb--purple { width: 340px; height: 340px; }
    .preq-404-orb--teal   { width: 240px; height: 240px; }
    .preq-404-quicks-label { display: block; width: 100%; text-align: center; margin: 0 0 6px; }
    .preq-404-headline { white-space: normal; }
}

/* Motion-Reduktion respektieren */
@media (prefers-reduced-motion: reduce) {
    .preq-404-orb,
    .preq-404-bignum > span {
        animation: none;
    }
}

/* =====================================================
   PROBLEM-BLOCK
   ===================================================== */
.preq-problem-lead {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}
.preq-problem-lead p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.25rem;
}
.preq-problem-lead p:last-child {
    margin-bottom: 0;
}

.preq-problem-quote {
    max-width: 920px;
    margin: 0 auto 4rem;
    padding: 2rem 2.25rem;
    border-left: 3px solid #22D3EE;
    background: rgba(34,211,238,0.05);
    border-radius: 4px;
}
.preq-problem-quote p {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    margin: 0;
}

/* Wiederverwendbarer Sub-Section-Trenner (cyan-Linie, wie über „Symptome") */
.preq-subsection-divider {
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(34,211,238,0.7) 50%, transparent 100%);
    margin: 4rem auto 2rem;
    border: none;
}

/* Mid-Page CTA Strip (zwischen Über uns und Unterscheidung) */
.preq-mid-cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(34,211,238,0.06) 0%, rgba(34,211,238,0.02) 100%);
    border-top: 1px solid rgba(34,211,238,0.18);
    border-bottom: 1px solid rgba(34,211,238,0.18);
}
.preq-mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.preq-mid-cta-text {
    flex: 1;
    min-width: 280px;
}
.preq-mid-cta-text h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}
.preq-mid-cta-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.5;
}
.preq-mid-cta-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #22D3EE;
    color: #0f172a !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .preq-mid-cta-inner { flex-direction: column; text-align: center; }
}

.preq-problem-pain-header {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 3rem;
    padding-top: 3.5rem;
    position: relative;
}
.preq-problem-pain-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(34,211,238,0.7) 50%, transparent 100%);
}
.preq-problem-pain-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #22D3EE;
    margin-bottom: 1rem;
}
h3.preq-problem-pain-title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}
.preq-problem-pain-sub {
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    margin: 0 auto;
    line-height: 1.55;
    max-width: 560px;
}

.preq-problem-grid {
    grid-template-columns: repeat(3, 1fr);
}
.preq-problem-grid .preq-feature-card h3 {
    color: #22D3EE;
}

@media (max-width: 1024px) {
    .preq-problem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .preq-problem-grid { grid-template-columns: 1fr; }
    .preq-problem-quote p { font-size: 1.125rem; }
    .preq-problem-quote { padding: 1.5rem; }
}
