/* ===========================================================
   ki·spezial — AI Theme  (Enterprise-Edition: ruhig, präzise)
   Zentrales Designsystem für das "KI-Schema".
   Einbinden NACH parent-components/styles.css und assets/pages.css.
   Überschreibt Legacy-Klassen + liefert neue .ai-* Komponenten.
   =========================================================== */

:root {
    --ink: #080b0f;
    --ink-2: #0c1116;
    --ink-3: #0d131a;
    --surface: #11181f;
    --cyan: #00B1EB;
    --cyan-soft: #58b9d8;        /* gedämpfter Akzent statt Neon */
    --cyan-deep: #0089b8;
    --violet: #6f6f86;           /* zu neutralem Slate entschärft */
    --violet-soft: #8a8aa0;
    --green: #3aa564;
    --line: rgba(255,255,255,0.07);
    --line-strong: rgba(255,255,255,0.13);
    --txt: rgba(255,255,255,0.90);
    --txt-dim: rgba(255,255,255,0.58);
    --txt-faint: rgba(255,255,255,0.40);
    /* near-solid: behält Tiefe, wirkt aber nicht mehr "bunt" */
    --grad: linear-gradient(180deg, #06a6dc, #0089b8);
    --grad-soft: linear-gradient(180deg, #6fbdd6, #4f9cb8);
    /* Radien — eng & präzise statt rund/verspielt */
    --r-sm: 5px;
    --r: 8px;
    --r-lg: 12px;
    /* Schatten — neutral, kein farbiges Glühen */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
    --shadow: 0 18px 44px -20px rgba(0,0,0,0.6);
}

/* ---- Base / full-width layout ---- */
body { background: var(--ink); color: var(--txt); }
.page { max-width: none; margin: 0; padding: 0; }
.main-card { border-radius: 0; box-shadow: none; background: var(--ink); overflow-x: hidden; }
::selection { background: rgba(0,177,235,0.28); color: #fff; }

/* ===========================================================
   NAVIGATION — ruhiger Glass-Header
   =========================================================== */
.header {
    position: sticky; top: 0; z-index: 900;
    padding: 16px 56px; gap: 28px;
    background: rgba(9,13,17,0.88);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    backdrop-filter: blur(14px) saturate(120%);
    border-bottom: 1px solid var(--line);
}
.header::after {
    background: var(--line-strong);
    height: 1px;
}
.logo svg { filter: none; }
.nav a {
    font-size: 13px; font-weight: 500; color: var(--txt-dim);
    padding: 9px 13px; border-radius: var(--r-sm); border: 1px solid transparent;
    transition: color .18s ease, background .18s ease;
}
.nav a:hover,
.nav-dropdown:hover > .nav-dropdown-trigger {
    color: #fff; background: rgba(255,255,255,0.05);
}
.nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-color: var(--line-strong);
    box-shadow: inset 0 -2px 0 var(--cyan);
}
.dropdown-arrow { color: inherit; }
.nav-dropdown-menu {
    left: 0; right: auto; transform: none;
    background: rgba(12,17,22,0.98);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--line-strong); border-radius: var(--r);
    box-shadow: var(--shadow);
}
.nav-dropdown-menu-small { left: 50%; transform: translateX(-50%); }
.dropdown-title { color: var(--txt-faint); border-bottom-color: var(--line); }
.nav-dropdown-menu a { color: var(--txt-dim); }
.nav-dropdown-menu a:hover { color: #fff; }
.dropdown-footer { border-top-color: var(--line); }
.nav-dropdown-menu-small .dropdown-footer { border-left-color: var(--line); }
.header-btn {
    display: inline-flex; align-items: center; border: 1px solid transparent;
    border-radius: var(--r-sm); padding: 10px 18px; background: var(--cyan); color: #fff;
    font-weight: 600;
    transition: background .18s ease;
}
.header-btn:hover { background: var(--cyan-deep); color: #fff; }
.mobile-menu-btn { color: #fff; }
.top-bar { background: rgba(9,13,17,0.95); border-bottom: 1px solid var(--line); }

/* ===========================================================
   SHARED SCAFFOLDING
   =========================================================== */
.ai-section { padding: 96px 56px; position: relative; }
.ai-section.tight { padding: 64px 56px; }
.ai-eyebrow,
.section-label {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
    text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 18px;
}
.ai-eyebrow::before,
.section-label::before { content: ''; width: 22px; height: 1px; background: var(--cyan-soft); }
.ai-eyebrow.violet { color: var(--txt-faint); }
.ai-eyebrow.violet::before { background: var(--txt-faint); }
.ai-h2 {
    font-size: 34px; font-weight: 700; letter-spacing: -0.8px;
    line-height: 1.2; color: #fff; margin-bottom: 16px;
}
.ai-h2 .grad,
.grad-text {
    /* enterprise: ruhiger Solid-Akzent statt Verlaufstext */
    color: var(--cyan-soft);
    -webkit-text-fill-color: currentColor;
}
.ai-lead { font-size: 16px; color: var(--txt-dim); line-height: 1.7; max-width: 620px; }
.ai-section-head { max-width: 680px; margin-bottom: 52px; }
.ai-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.ai-section-head.center .ai-eyebrow,
.ai-section-head.center .section-label { justify-content: center; }
.ai-section-head.center .ai-lead { margin-left: auto; margin-right: auto; }
.ai-prose { color: var(--txt-dim); line-height: 1.8; font-size: 16px; }
.ai-prose p { margin-bottom: 16px; }
.ai-prose strong { color: #fff; }
.ai-prose a { color: var(--cyan-soft); }
.ai-prose h2 { color: #fff; font-size: 26px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -.3px; }
.ai-prose h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 28px 0 12px; }
.ai-prose ul, .ai-prose ol { margin: 0 0 16px 22px; }
.ai-prose li { margin-bottom: 8px; }

/* ---- reveal on scroll (dezent) ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   BUTTONS — flach, solide, präzise
   =========================================================== */
.ai-btn,
.btn-primary, .btn-secondary,
.hero-cta, .hero-cta-outline,
.cta-btn-white, .cta-btn-outline {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 22px; font-size: 14px; font-weight: 600;
    border-radius: var(--r-sm); text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease;
    border: 1px solid transparent; cursor: pointer;
}
.ai-btn svg, .btn-primary svg, .btn-secondary svg,
.hero-cta svg, .hero-cta-outline svg { width: 17px; height: 17px; }
.ai-btn-primary,
.btn-primary, .hero-cta, .cta-btn-white {
    background: var(--cyan); color: #fff;
}
.ai-btn-primary:hover,
.btn-primary:hover, .hero-cta:hover, .cta-btn-white:hover {
    background: var(--cyan-deep); color: #fff;
}
.ai-btn-ghost,
.btn-secondary, .hero-cta-outline, .cta-btn-outline {
    background: transparent; color: #fff; border-color: var(--line-strong);
}
.ai-btn-ghost:hover,
.btn-secondary:hover, .hero-cta-outline:hover, .cta-btn-outline:hover {
    background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.28); color: #fff;
}
.ai-btn-sm { padding: 10px 16px; font-size: 13px; }

/* ===========================================================
   HERO  (Legacy .hero-section + neue .ai-hero)
   =========================================================== */
.hero-section, .ai-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 520px at 85% -20%, rgba(0,177,235,0.07), transparent 60%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
    border-bottom: 1px solid var(--line);
}
.hero-section { padding: 80px 56px; }
.hero-section::before { display: none; }
.ai-hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
    align-items: center; padding: 80px 56px 88px;
}
.hero-badge, .ai-hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    background: rgba(255,255,255,0.03);
    font-size: 12px; font-weight: 600; color: var(--txt-dim);
    letter-spacing: .2px; text-transform: none; margin-bottom: 24px;
}
.hero-badge::before { display: none; }
.ai-hero-badge .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 8px; border-radius: var(--r-sm); background: var(--cyan);
    color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.ai-hero-badge .dot {
    width: 5px; height: 5px; border-radius: 50%; background: #fff;
    animation: aiLivePulse 2.6s infinite;
}
@keyframes aiLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
    70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.hero-section h1, .ai-hero h1 {
    font-size: 46px; font-weight: 700; letter-spacing: -1.3px;
    line-height: 1.12; color: #fff; margin-bottom: 20px;
}
.hero-text, .ai-hero-sub {
    font-size: 17px; color: var(--txt-dim); line-height: 1.7;
    max-width: 540px; margin-bottom: 30px;
}
.hero-buttons, .ai-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ai-hero-actions { margin-bottom: 36px; }
.ai-hero-meta { display: flex; gap: 40px; flex-wrap: wrap; }
.ai-hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.ai-hero-meta strong {
    font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums;
    letter-spacing: -.5px;
}
.ai-hero-meta span { font-size: 12px; color: var(--txt-faint); letter-spacing: .2px; }
.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 420px; }

/* ---- Hero canvas (neuronales Netz) — stark zurückgenommen ---- */
.ai-neural-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0.16; pointer-events: none;
}

/* ===========================================================
   TRUST BAR
   =========================================================== */
.trust-bar {
    padding: 22px 56px; background: var(--ink-2);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--txt-dim); }
.trust-item svg { width: 17px; height: 17px; color: var(--cyan-soft); }

/* ===========================================================
   SECTIONS — Legacy backgrounds vereinheitlichen
   =========================================================== */
.section { padding: 96px 56px; }
.section-light, .section-gray, .section-dark { background: var(--ink); }
.section-gray { background: var(--ink-2); }
.section-header { text-align: center; margin-bottom: 52px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-header h2,
.section-light .section-header h2,
.section-dark .section-header h2 {
    font-size: 34px; font-weight: 700; color: #fff; letter-spacing: -0.8px; margin-bottom: 14px;
}
.section-header p,
.section-light .section-header p,
.section-dark .section-header p { font-size: 16px; color: var(--txt-dim); line-height: 1.7; }

/* ===========================================================
   CARDS & GRIDS
   =========================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card, .funktion-card, .scenario-card {
    background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
    transition: border-color .2s ease, background .2s ease;
}
.feature-card:hover, .funktion-card:hover, .scenario-card:hover {
    border-color: var(--line-strong); background: #131b23;
    box-shadow: none; transform: none;
}
.feature-card h3, .funktion-card h3, .scenario-card h3 {
    font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 9px;
}
.feature-card p, .funktion-card p, .scenario-card p {
    font-size: 14px; color: var(--txt-dim); line-height: 1.65;
}
.feature-card-icon, .ai-ico {
    width: 40px; height: 40px; border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,177,235,0.08);
    border: 1px solid var(--line-strong); margin-bottom: 16px;
}
.feature-card-icon svg, .ai-ico svg { width: 20px; height: 20px; color: var(--cyan-soft); }
.scenario-label {
    display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--cyan-soft); margin-bottom: 10px;
}

/* ---- Bento ---- */
.ai-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.ai-bento-card {
    position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 26px;
    transition: border-color .2s ease, background .2s ease;
    text-decoration: none; display: flex; flex-direction: column;
}
.ai-bento-card:hover {
    border-color: var(--line-strong); background: #131b23;
}
.ai-bento-card.wide { grid-column: span 2; }
.ai-bento-card.feature {
    grid-column: span 2; grid-row: span 2;
    background: var(--surface);
}
.ai-bento-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 9px; }
.ai-bento-card.feature h3 { font-size: 22px; letter-spacing: -.3px; }
.ai-bento-card p { font-size: 14px; color: var(--txt-dim); line-height: 1.65; }
.ai-bento-card .spacer { flex: 1; }
.ai-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--cyan-soft);
}
.ai-link svg { width: 14px; height: 14px; transition: transform .18s; }
.ai-bento-card:hover .ai-link svg,
a:hover > .ai-link svg { transform: translateX(2px); }

/* ---- Split / Konzept ---- */
.konzept-grid, .ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.konzept-content h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.25; letter-spacing: -.6px; }
.konzept-content > p { font-size: 16px; color: var(--txt-dim); line-height: 1.8; margin-bottom: 16px; }
.konzept-features { list-style: none; padding: 0; margin: 24px 0 0; }
.konzept-features li,
.ai-check-list li {
    display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;
    font-size: 15px; color: var(--txt-dim);
}
.konzept-features li svg,
.ai-check-list li svg { width: 18px; height: 18px; color: var(--cyan-soft); flex-shrink: 0; margin-top: 3px; }
.ai-check-list { list-style: none; padding: 0; margin: 0; }

/* ---- Panel (dark box) ---- */
.ai-panel {
    border: 1px solid var(--line-strong); border-radius: var(--r);
    background: var(--surface);
    padding: 30px;
}
.betrieb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.betrieb-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 30px;
}
.betrieb-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.betrieb-card > p { font-size: 15px; color: var(--txt-dim); line-height: 1.7; margin-bottom: 18px; }
.betrieb-features { list-style: none; padding: 0; margin: 0; }
.betrieb-features li {
    display: flex; align-items: center; gap: 10px; padding: 9px 0;
    font-size: 14px; color: var(--txt-dim);
}
.betrieb-features li svg { width: 16px; height: 16px; color: var(--green); }

/* ---- Service link list ---- */
.service-link-item, .ai-row {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--surface); text-decoration: none;
    color: #fff; font-size: 14px; font-weight: 500; transition: border-color .2s ease, background .2s ease;
}
.service-link-item:hover, .ai-row:hover {
    border-color: var(--line-strong); background: #131b23;
    transform: none; box-shadow: none;
}
.service-link-item svg, .ai-row svg { width: 19px; height: 19px; color: var(--cyan-soft); }

/* ---- Pipeline / steps ---- */
.ai-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-step {
    position: relative; padding: 26px 22px;
    border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
    transition: border-color .2s ease;
}
.ai-step:hover { border-color: var(--line-strong); }
.ai-step-num { font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--cyan-soft); margin-bottom: 14px; display: block; }
.ai-step h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ai-step p { font-size: 13px; color: var(--txt-dim); line-height: 1.6; }

/* ---- Tag cloud ---- */
.ai-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-tag {
    font-size: 13px; font-weight: 500; color: var(--txt-dim);
    padding: 8px 13px; border-radius: var(--r-sm); border: 1px solid var(--line);
    background: var(--surface); text-decoration: none; transition: border-color .18s ease, color .18s ease;
}
.ai-tag:hover { border-color: var(--line-strong); color: #fff; background: #131b23; }

/* ---- Stats ---- */
.ai-stats {
    border: 1px solid var(--line-strong); border-radius: var(--r);
    background: var(--surface);
    padding: 44px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.ai-stat strong {
    display: block; font-size: 38px; font-weight: 700; letter-spacing: -1px;
    font-variant-numeric: tabular-nums; color: #fff;
}
.ai-stat span { font-size: 13px; color: var(--txt-dim); line-height: 1.5; display: block; margin-top: 6px; }

/* ---- FAQ / Accordion ---- */
.ai-faq { display: flex; flex-direction: column; gap: 10px; }
.ai-faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.ai-faq-q {
    width: 100%; text-align: left; cursor: pointer;
    padding: 20px 24px; font-size: 16px; font-weight: 600; color: #fff;
    background: none; border: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.ai-faq-q::after { content: '+'; color: var(--cyan-soft); font-size: 20px; font-weight: 400; transition: transform .2s; }
.ai-faq-item.open .ai-faq-q::after { transform: rotate(45deg); }
.ai-faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.ai-faq-item.open .ai-faq-a { padding: 0 24px 22px; max-height: 600px; }
.ai-faq-a p { font-size: 14.5px; color: var(--txt-dim); line-height: 1.7; }

/* ===========================================================
   CTA SECTION — ruhig, ohne Verlaufs-Spektakel
   =========================================================== */
.cta-section { padding: 0 56px 96px; background: var(--ink); }
.cta-content,
.ai-cta {
    position: relative; overflow: hidden; max-width: none;
    border-radius: var(--r-lg); padding: 64px 56px; text-align: center;
    background: var(--surface);
    border: 1px solid var(--line-strong);
}
.cta-section h2, .ai-cta h2 {
    font-size: 34px; font-weight: 700; letter-spacing: -0.8px; color: #fff;
    margin-bottom: 14px; line-height: 1.2;
}
.cta-section p, .ai-cta p {
    font-size: 16px; color: var(--txt-dim); max-width: 580px;
    margin: 0 auto 30px; line-height: 1.7;
}
.cta-actions, .ai-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ===========================================================
   FORMS
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.25; letter-spacing: -.6px; }
.contact-info > p { font-size: 16px; color: var(--txt-dim); line-height: 1.7; margin-bottom: 30px; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 42px; height: 42px; min-width: 42px; border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,177,235,0.08);
    border: 1px solid var(--line-strong);
}
.contact-icon svg { width: 19px; height: 19px; color: var(--cyan-soft); }
.contact-item h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--txt-dim); }
.contact-item a { color: var(--cyan-soft); }
.form-card, .ai-form {
    background: var(--surface);
    border: 1px solid var(--line-strong); border-radius: var(--r); padding: 34px;
    box-shadow: var(--shadow);
}
.form-card h3 { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.form-card .form-subtitle { font-size: 14px; color: var(--txt-dim); margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.form-group label .required { color: #e06b6b; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; font-size: 14px; font-family: 'Inter', sans-serif;
    color: #fff; background: rgba(255,255,255,0.03);
    border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    transition: border-color .18s, background .18s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,177,235,0.12);
    background: rgba(255,255,255,0.05);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--txt-faint); }
.form-group select option { background: var(--ink-2); color: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
    width: 100%; padding: 14px 28px; font-size: 15px; font-weight: 600;
    font-family: 'Inter', sans-serif; color: #fff; background: var(--cyan);
    border: none; border-radius: var(--r-sm); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .18s ease;
}
.form-submit:hover { background: var(--cyan-deep); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.form-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--cyan); cursor: pointer;
}
.form-checkbox label { font-size: 12px; color: var(--txt-dim); line-height: 1.5; cursor: pointer; }
.form-checkbox label a { color: var(--cyan-soft); text-decoration: underline; }
.form-message { padding: 14px 18px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 20px; display: none; }
.form-message.success { background: rgba(58,165,100,0.12); color: #7fd6a0; border: 1px solid rgba(58,165,100,0.32); display: block; }
.form-message.error { background: rgba(224,107,107,0.12); color: #e6a3a3; border: 1px solid rgba(224,107,107,0.32); display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ===========================================================
   ERROR / SUCCESS PAGES
   =========================================================== */
.error-section, .success-page, .fehler-page {
    background: linear-gradient(180deg, var(--ink), var(--ink-2));
}
.error-code { color: var(--cyan-soft); -webkit-text-fill-color: currentColor; }
.error-message { color: #fff; }
.error-description { color: var(--txt-dim); }
.error-links a.primary-link { background: var(--cyan); }
.error-links a.secondary-link { border: 1px solid var(--line-strong); color: #fff; background: rgba(255,255,255,0.03); }

/* ===========================================================
   BLOG CARDS (Teaser auf Content-Seiten)
   =========================================================== */
.ai-blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-blog-card {
    display: flex; flex-direction: column; border: 1px solid var(--line);
    border-radius: var(--r); background: var(--surface); padding: 26px;
    text-decoration: none; transition: border-color .2s ease, background .2s ease;
}
.ai-blog-card:hover { border-color: var(--line-strong); background: #131b23; }
.ai-blog-tag {
    align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .7px;
    text-transform: uppercase; color: var(--cyan-soft); background: rgba(0,177,235,0.08);
    border: 1px solid rgba(0,177,235,0.2); padding: 4px 9px; border-radius: var(--r-sm); margin-bottom: 16px;
}
.ai-blog-card h3 { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 10px; }
.ai-blog-card p { font-size: 13.5px; color: var(--txt-dim); line-height: 1.6; flex: 1; }
.ai-blog-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ai-blog-meta .date { font-size: 12px; color: var(--txt-faint); }
.ai-blog-meta .read { font-size: 12px; font-weight: 600; color: var(--cyan-soft); display: inline-flex; align-items: center; gap: 5px; }
.ai-blog-meta .read svg { width: 14px; height: 14px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
    .header { padding: 14px 32px; gap: 16px; }
    .ai-section, .section, .hero-section { padding: 72px 32px; }
    .ai-hero-grid { grid-template-columns: 1fr; padding: 56px 32px 64px; }
    .hero-section { display: block; }
    .hero-section h1, .ai-hero h1 { font-size: 38px; }
    .cta-section { padding: 0 32px 72px; }
    .features-grid, .ai-bento, .ai-blog-cards { grid-template-columns: 1fr 1fr; }
    .ai-bento-card.feature, .ai-bento-card.wide { grid-column: span 2; grid-row: auto; }
    .ai-pipeline { grid-template-columns: 1fr 1fr; }
    .konzept-grid, .ai-split, .contact-grid, .betrieb-grid { grid-template-columns: 1fr; }
    .ai-stats { grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 30px; }
}
@media (max-width: 640px) {
    .header { padding: 12px 20px; }
    .ai-section, .section, .hero-section { padding: 56px 20px; }
    .ai-hero-grid { padding: 44px 20px 52px; }
    .cta-section { padding: 0 20px 56px; }
    .cta-content, .ai-cta { padding: 44px 24px; }
    .hero-section h1, .ai-hero h1 { font-size: 30px; letter-spacing: -.8px; }
    .ai-h2, .section-header h2, .cta-section h2, .ai-cta h2 { font-size: 26px; }
    .hero-text, .ai-hero-sub { font-size: 15px; }
    .features-grid, .ai-bento, .ai-blog-cards, .ai-pipeline { grid-template-columns: 1fr; }
    .ai-bento-card.feature, .ai-bento-card.wide { grid-column: span 1; }
    .ai-stats { grid-template-columns: 1fr 1fr; padding: 30px 22px; }
    .ai-stat strong { font-size: 30px; }
    .trust-items { gap: 22px; }
    .form-row { grid-template-columns: 1fr; }
}
