/* ==========================================================================
   LEITBERG.DE - GLOBAL DESIGN SYSTEM & BASE CSS
   ========================================================================== 
   [KI-INFO: HAUPTREGELN FÜR DIE KI]
   1. Erfinde KEINE eigenen Farben (kein HEX/RGB im HTML), nutze IMMER die CSS-Variablen.
   2. Erfinde KEINE eigenen Schriftarten, nutze IMMER die Variablen.
   3. Vermeide Inline-Styles für Layout und Design. Nutze die definierten Klassen.
   4. Nutze für Abstände (Margin/Padding) keine harten Pixel-Werte für Container, 
      sondern halte dich an das hier definierte Grid/Layout-System.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (VARIABLEN)
   -------------------------------------------------------------------------- */
:root {
    /* -- FARBEN (COLORS) -- */
    /* [KI-INFO] Nutze diese für alle generellen Seitenhintergründe. */
    --bg-main: #ffffff;
    --bg-surface: #f8f9fa;
    --bg-surface-hover: #f1f3f5;
    
    /* [KI-INFO] Nutze diese für alle Texte. Niemals reines #000 oder #fff ohne Grund. */
    --text-main: #1a1a1a;
    --text-muted: #636e72;
    --text-inverse: #ffffff;
    
    /* [KI-INFO] Nutze diese für Trennlinien, Rahmen (Borders) und subtile Begrenzungen. */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);
    
    /* [KI-INFO] Nutze diese für primäre Interaktionen (Buttons, Links, aktive States). */
    --accent-primary: #1a73e8;
    --accent-primary-bg: #e8f0fe;
    --accent-danger: #e74c3c;
    --accent-danger-bg: #fee2e2;
    --accent-success: #27ae60;
    --accent-success-bg: #dcfce7;
    --accent-warning: #f1c40f;

    /* -- TYPOGRAFIE (FONTS) -- */
    /* [KI-INFO] Heading: Nur für große H1/H2 im Marketing. UI: Für Buttons, Labels, Tags. Body: Für Fließtext, Chat, Inputs. */
    --font-heading: 'Outfit', sans-serif;
    --font-ui: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* -- RADIEN (BORDER-RADIUS) -- */
    /* [KI-INFO] Nutze diese für abgerundete Ecken. Vermeide harte Pixelwerte im HTML. */
    --radius-sm: 4px;      /* Checkboxen, kleine Badges */
    --radius-md: 8px;      /* Standard-Kacheln, Inputs */
    --radius-lg: 12px;     /* Normale Buttons, kleinere Cards */
    --radius-xl: 24px;     /* Große Container (z.B. Auth-Cards, Chat-Input-Area) */
    --radius-full: 50%;    /* Avatare, Icon-Buttons */

    /* -- ANIMATIONEN -- */
    --ease-fluid: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASIS
   -------------------------------------------------------------------------- */
/* [KI-INFO] Globale Resets für ein sauberes Box-Modell und Typografie-Basis. */
* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100vw;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

body::-webkit-scrollbar {
    display: none;             /* Chrome, Safari and Opera */
}

/* [KI-INFO] Standard für Google Material Symbols */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAFIE-KLASSEN
   -------------------------------------------------------------------------- */
/* [KI-INFO] Nutze diese Klassen zur Textformatierung, anstatt h1, h2, p direkt global zu stylen. */

.h1-marketing {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 25px;
}

.h2-marketing {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 25px;
}

.h3-tool {
    font-family: var(--font-ui);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 15px;
}

.text-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 25px;
}

.text-muted {
    color: var(--text-muted);
}

/* [KI-INFO] Nutze .section-tag IMMER als kleinen Label-Indikator über Überschriften. */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 25px;
    padding: 6px 14px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-main);
    width: fit-content;
    border-radius: var(--radius-sm);
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--text-main);
    border-radius: var(--radius-full);
    display: block;
}

/* --------------------------------------------------------------------------
   4. GLOBALE KOMPONENTEN (UI-ELEMENTE)
   -------------------------------------------------------------------------- */

/* --- BUTTONS --- */
/* [KI-INFO] Nutze .btn-primary für Haupt-Aktionen. Er ist schwarz mit weißer Schrift. */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: var(--text-main);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-primary:hover:not(:disabled) {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* [KI-INFO] Nutze .btn-secondary für Neben-Aktionen. Er ist weiß mit feinem Rahmen. */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 24px;
    background: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-surface-hover);
}

/* [KI-INFO] Spezifischer Runder-Icon-Button für Chat-Senden oder Tools. */
.btn-icon-round {
    background: var(--text-main);
    color: var(--text-inverse);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    flex-shrink: 0;
}

.btn-icon-round:hover:not(:disabled) {
    transform: scale(1.05);
    background: #333333;
}

/* --- CARDS & PANELS --- */
/* [KI-INFO] Nutze .leitberg-card für Inhaltsblöcke, Formulare oder Modals. */
.leitberg-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

/* --- INPUTS & FORMULARE --- */
/* [KI-INFO] Einheitliches Styling für alle Textfelder und Textareas. */
.leitberg-input {
    width: 100%;
    padding: 15px;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.2s;
}

.leitberg-input:focus {
    border-color: var(--text-main);
}

.leitberg-input::placeholder {
    color: var(--text-muted);
}

/* --- CHAT & TOOL KOMPONENTEN --- */
/* [KI-INFO] Nutze diese Boxen für Avatare in Chat- oder Projektlisten. */
.avatar-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-inverse);
    background: var(--text-main);
    font-size: 20px;
}

.avatar-box.avatar-ai {
    background: var(--bg-surface-hover);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

/* [KI-INFO] Kleine Tool-Chips für Vorschläge oder schnelle Filter. */
.leitberg-chip {
    background: var(--bg-main);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 7px 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.18s ease;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.leitberg-chip:hover {
    background: var(--text-main);
    color: var(--text-inverse);
    border-color: var(--text-main);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   5. GLOBALE ANIMATIONEN
   -------------------------------------------------------------------------- */

/* [KI-INFO] Füge .spinning-icon zu Material Symbols hinzu, um einen Lade-Spinner zu erzeugen. */
@keyframes spin { 
    100% { transform: rotate(360deg); } 
}
.spinning-icon { 
    animation: spin 1s linear infinite; 
    display: inline-block; 
}

/* [KI-INFO] Nutze .anim-slide-in für neue Chat-Nachrichten oder Tool-Elemente. */
@keyframes messageSlideIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}
.anim-slide-in {
    animation: messageSlideIn 0.3s var(--ease-fluid) forwards;
}

/* [KI-INFO] Nutze .reveal (in Kombination mit JS IntersectionObserver) für Marketing-Scroll-Animationen. */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s var(--ease-fluid);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   [KI-INFO] KOMPONENTEN: SERVICES / PREIS- & VERGLEICHS-TABELLEN
   ========================================================================== */

/* --- LAYOUT & TYPOGRAFIE --- */
.svc-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 5vw;
}

.svc-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 800px;
    color: var(--text-muted);
}

/* --- COMPARISON GRID (NAVIGATION) --- */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 60px;
    align-items: stretch;
}

.compare-card {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    padding: 50px;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    transition: transform 0.2s var(--ease-fluid), border-color 0.2s, box-shadow 0.2s;
    cursor: default;
}

.compare-card:hover {
    border-color: var(--text-main);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.compare-card.highlight {
    background: var(--bg-surface);
    position: relative;
}

.card-badge {
    background: var(--text-main);
    color: var(--text-inverse);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    display: inline-block;
    margin-bottom: 25px;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

/* --- PRICING BLOCK --- */
.price-wrap {
    margin: 35px 0;
    padding: 35px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.price-main {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--text-main);
    line-height: 1;
}

.price-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-family: var(--font-ui);
}

/* --- LISTEN --- */
.check-list {
    list-style: none;
    margin-bottom: 40px;
    padding-left: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.4;
}

.check-list li .material-symbols-outlined {
    font-size: 20px;
    color: var(--text-main);
    margin-top: 2px;
    font-weight: 600;
}

/* --- DEEP DIVE SECTIONS --- */
.deep-dive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-block {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item h4 {
    font-family: var(--font-ui);
    font-weight: 700; 
    font-size: 0.95rem; 
    margin-bottom: 8px; 
    color: var(--text-main);
}

.feature-item p {
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin: 0;
    line-height: 1.6;
}

/* --- SPEZIFISCHE BUTTONS --- */
.btn-anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid var(--text-main);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: padding 0.3s;
    width: fit-content;
}

.btn-anchor:hover { 
    padding-left: 10px; 
    opacity: 0.7; 
}

/* --- CONSULTING GRID --- */
.consult-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    margin-top: 50px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.consult-item {
    padding: 50px 40px;
    background: var(--bg-main);
    transition: background 0.3s;
}

.consult-item:hover { 
    background: var(--bg-surface-hover); 
}

.consult-icon { 
    font-size: 32px; 
    margin-bottom: 25px; 
    color: var(--text-main); 
}

/* --- RESPONSIVE --- */
@media (max-width: 1000px) {
    .compare-grid { grid-template-columns: 1fr; gap: 40px; }
    .deep-dive-grid { grid-template-columns: 1fr; gap: 40px; }
    .consult-grid { grid-template-columns: 1fr; }
    .feature-block { grid-template-columns: 1fr; }
    .svc-section { padding: 80px 0; }
}

/* ==========================================================================
   [KI-INFO] ERWEITERUNG: LAYOUT-UTILITIES & SPECS-CARDS
   ========================================================================== */

/* --- HINTERGRÜNDE & SEKTIONEN --- */
.bg-main { background-color: var(--bg-main); }
.bg-surface { background-color: var(--bg-surface); }
.bg-surface-hover { background-color: var(--bg-surface-hover); }

.svc-hero-section {
    border-bottom: none;
    padding-bottom: 20px;
    padding-top: 100px;
}

.svc-cta-section {
    text-align: center;
    padding: 120px 0;
    background-color: var(--bg-main);
}

/* --- ABSTÄNDE & POSITIONIERUNG (UTILITIES) --- */
.mt-50 { margin-top: 50px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-30 { margin-bottom: 30px; }
.ml-5 { margin-left: 5px; }
.flex-center { display: flex; justify-content: center; }
.text-center-block { margin: 0 auto 40px auto; max-width: 600px; }
.max-w-800 { max-width: 800px; } /* NEU HINZUGEFÜGT */
.order-1 { order: 1; }
.order-2 { order: 2; }
.delay-200 { transition-delay: 0.2s; }

/* --- MODIFIKATOREN --- */
.price-wrap-transparent { border-color: transparent; }
.price-main-custom { font-size: 2rem; }
.icon-sm { font-size: 18px; }
.btn-auto { display: inline-flex; width: auto; }

/* --- SPECS & PAKET-CARDS --- */
.specs-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-main);
    padding: 40px;
    border: 1px solid var(--border-subtle);
    box-shadow: 20px 20px 0 rgba(0,0,0,0.05);
    border-radius: var(--radius-xl);
}

.specs-card.dark {
    background: var(--text-main);
    color: var(--text-inverse);
    box-shadow: 20px 20px 0 rgba(0,0,0,0.1);
    border: none;
}

.specs-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
}

.specs-card.dark .specs-header {
    border-color: rgba(255,255,255,0.2);
}

.specs-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.specs-list li:last-child {
    margin-bottom: 0;
}

.specs-block { margin-bottom: 25px; }
.specs-block:last-child { margin-bottom: 0; }

.specs-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.specs-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================================================
   [KI-INFO] KOMPONENTEN: KONTAKT-SEITE & FORMULARE
   ========================================================================== */

/* --- LAYOUT & HEADER --- */
.pt-120 { padding-top: 120px; }

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 5vw 100px 5vw; /* FIX: 160px Abstand nach oben */
    display: block; 
}

.page-header {
    margin-bottom: 80px;
    max-width: 800px;
}

.page-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.05;
    color: var(--text-main);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.page-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 650px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 60px;
}

/* --- KONTAKTDETAILS --- */
.details-col {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.detail-group h3 {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    transition: opacity 0.2s;
}

.detail-link:hover { opacity: 0.6; }

.address-block {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* --- FORMULAR BEREICH --- */
.form-col {
    background: var(--bg-surface);
    padding: 50px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    position: relative;
    min-height: 500px;
}

.input-row { margin-bottom: 30px; }

.minimal-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.minimal-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-subtle);
    padding: 15px 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 0;
    outline: none;
}

.minimal-input:focus {
    border-bottom-color: var(--text-main);
    padding-left: 10px;
    background: var(--bg-main);
}

.minimal-input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
    opacity: 1;
}

.textarea-message {
    min-height: 120px;
    resize: vertical;
}

/* --- CHECKBOX --- */
.check-wrap {
    display: flex;
    gap: 15px;
    margin: 40px 0;
    align-items: flex-start;
}

.check-box {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-strong);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
    background-color: transparent;
    border-radius: var(--radius-sm);
}

.check-box:checked {
    background-color: var(--text-main);
    border-color: var(--text-main);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

.check-label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
    padding-top: 2px;
}

.check-label a {
    color: var(--text-main);
    text-decoration: underline;
}

/* --- SEND BUTTON --- */
.send-btn {
    width: 100%;
    background: var(--text-main);
    color: var(--text-inverse);
    border: none;
    padding: 20px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-lg);
}

.send-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.send-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.btn-loading {
    opacity: 0.7;
}

/* --- SUCCESS VIEW --- */
.success-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-surface);
    z-index: 10;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: var(--radius-lg);
}

.success-view.active {
    display: flex;
    opacity: 1;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--text-main);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    animation: scaleIn 0.5s var(--ease-fluid);
}

.success-icon {
    color: var(--text-inverse);
    font-size: 40px;
}

.success-headline {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.success-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 350px;
}

.success-btn {
    width: auto;
    margin-top: 30px;
    padding: 15px 40px;
    text-decoration: none;
    display: inline-flex;
}

/* --- FORM & ANIMATION UTILITIES --- */
.security-phantom {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.form-transition {
    transition: opacity 0.5s ease;
}

.form-hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.form-display-none {
    display: none !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 1000px) {
    .split-layout { grid-template-columns: 1fr; gap: 60px; }
    .form-col { padding: 30px 20px; }
    .page-headline { font-size: 3rem; }
}

/* ==========================================================================
   [KI-INFO] KOMPONENTEN: STARTSEITE & HERO
   ========================================================================== */

/* --- PRELOADER --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-main); display: flex; justify-content: center; align-items: center; z-index: 99999; transition: opacity 0.8s var(--ease-fluid), visibility 0.8s; }
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-icon { width: 60px; height: auto; animation: preloaderRotate 1s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
@keyframes preloaderRotate { 0% { transform: rotate(0deg) scale(0.8); opacity: 0; } 50% { opacity: 1; } 100% { transform: rotate(360deg) scale(1); opacity: 1; } }

/* --- HERO SECTION --- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 95vh; text-align: center; padding: 40px 0; overflow: hidden; perspective: 1000px; }
.premium-title-wrapper { position: relative; z-index: 10; margin-bottom: 40px; padding: 0 20px; margin-top: 60px; }
.premium-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1.1; letter-spacing: -0.04em; color: var(--text-main); opacity: 0; transform: translateY(30px); animation: textRise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards; }
.premium-lead { font-family: var(--font-body); font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 680px; margin: 0 auto 50px auto; line-height: 1.6; position: relative; z-index: 5; opacity: 0; animation: fadeIn 1.5s ease 0.6s forwards; padding: 20px; background: rgba(255,255,255,0.4); backdrop-filter: blur(5px); border-radius: var(--radius-lg); }
.magnetic-wrap { display: inline-block; position: relative; z-index: 10; opacity: 0; animation: fadeIn 1.5s ease 0.8s forwards; }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--text-muted); opacity: 0; animation: scrollReveal 1.5s ease 1.5s forwards, scrollPulse 3s infinite 3s; z-index: 10; }

/* --- GRIDS & CARDS --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.card { background: var(--bg-main); padding: 45px; border: 1px solid var(--border-subtle); transition: transform 0.4s var(--ease-fluid), border-color 0.4s, box-shadow 0.4s; height: 100%; display: flex; flex-direction: column; text-align: left; border-radius: var(--radius-xl); }
.card:hover { border-color: var(--text-main); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.05); }
.card .icon { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-main); }

/* --- MARKETING FOUNDATION --- */
.marketing-foundation { background: #050505; color: var(--text-inverse); padding: 160px 0; overflow: hidden; }
.foundation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; margin-top: 60px; align-items: flex-start; }
.bridge-visual { position: relative; padding: 40px; border-left: 1px solid rgba(255,255,255,0.1); }
.flow-line { height: 2px; width: 0%; background: linear-gradient(90deg, transparent, #ffffff, transparent); position: absolute; top: 0; left: 0; transition: width 2s var(--ease-fluid); }
.reveal.active .flow-line { width: 100%; }
.stat-item { margin-bottom: 40px; }
.stat-label { font-family: var(--font-ui); font-size: 0.8rem; color: rgba(255,255,255,0.5); display: block; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.stat-value { font-size: 1.5rem; font-weight: 600; color: var(--text-inverse); font-family: var(--font-heading); }

/* --- ACCORDION (FAQ) --- */
.acc-header { padding: 25px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid var(--border-subtle); transition: border-color 0.3s; }
.acc-title { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; color: var(--text-main); flex: 1; }
.acc-content { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-fluid); color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; font-family: var(--font-body); }
.acc-inner { padding: 20px 0 30px 0; }
.acc-item.active .acc-content { max-height: 1000px; }
.acc-icon { transition: transform 0.4s var(--ease-fluid); }
.acc-item.active .acc-icon { transform: rotate(180deg); }

/* --- LAYOUT UTILITIES --- */
.container { max-width: 1300px; margin: 0 auto; padding: 0 5vw; width: 100%; position: relative; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 5vw; width: 100%; position: relative; }
.section-padding { padding: 120px 0; position: relative; }
.bg-black { background-color: #000000; }

/* Text & Tags */
.h3-marketing { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 15px; margin-top: 0; color: var(--text-main); }
.text-lead-border { color: var(--text-main); font-weight: 600; border-left: 2px solid var(--text-main); padding-left: 20px; }
.text-light-muted { color: rgba(255,255,255,0.7); }
.text-light-subtle { color: rgba(255,255,255,0.6); }
.text-lg { font-size: 1.2rem; }
.text-white { color: #ffffff !important; }
.text-center { text-align: center; }

.tag-transparent { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.2); }
.tag-transparent::before { background: #ffffff; }

/* Spacing */
.mt-15 { margin-top: 15px; }
.mt-40 { margin-top: 40px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }

/* Flex & Lists */
.list-none { list-style: none; padding: 0; margin: 0; }
.flex-center-gap-15 { display: flex; align-items: center; gap: 15px; }
.icon-white { color: #ffffff; }

/* Spezifische Buttons */
.btn-inverse { background: #ffffff; color: #000000; border: 1px solid #ffffff; }
.btn-inverse:hover { background: #e5e5e5; color: #000000; box-shadow: 0 10px 30px rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Animations */
@keyframes scrollReveal { to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes scrollPulse { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; } 50% { transform: translateX(-50%) translateY(5px); opacity: 0.8; } }
@keyframes textRise { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.delay-100 { transition-delay: 0.1s; }
.delay-300 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-3, .foundation-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; gap: 20px; }
    .section-padding { padding: 80px 0; }
}

/* --- HERO GRID & AMBIENT GLOW --- */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    z-index: 1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Der Spotlight-Effekt. Nutzt CSS Variablen, die von JS gefüttert werden */
    background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 0, 0, 0.06), transparent 60%);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ==========================================================================
   [KI-INFO] ERWEITERUNG: HERO GITTER, MAUS-GLOW & BERGE
   ========================================================================== */

/* 1. Die Leitberg-Berge (Silhouette) */
.hero-mountains {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 45vh;
    z-index: 0; pointer-events: none;
}
.hero-mountains svg {
    width: 100%; height: 100%; display: block;
}

/* 2. Das Architektur-Gitter (liegt über den Bergen) */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    z-index: 1;
    pointer-events: none;
}

/* 3. Der Maus-Spotlight-Glow (liegt über Gitter & Bergen) */
.hero-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* CSS Variablen werden durch JavaScript butterweich gefüttert */
    background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 0, 0, 0.05), transparent 60%);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ==========================================================================
   [KI-INFO] KOMPONENTEN: STARTSEITE (STRICT MATCH)
   ========================================================================== */

/* --- PRELOADER --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-main); display: flex; justify-content: center; align-items: center; z-index: 99999; transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s; }
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-icon { width: 60px; height: auto; animation: preloaderRotate 1s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
@keyframes preloaderRotate { 0% { transform: rotate(0deg) scale(0.8); opacity: 0; } 50% { opacity: 1; } 100% { transform: rotate(360deg) scale(1); opacity: 1; } }

/* --- PREMIUM HERO --- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 95vh; text-align: center; padding: 40px 0; overflow: hidden; perspective: 1000px; }
.premium-title-wrapper { position: relative; z-index: 10; margin-bottom: 40px; padding: 0 20px; margin-top: 60px; }
.premium-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1.1; letter-spacing: -0.04em; color: var(--text-main); opacity: 0; transform: translateY(30px); animation: textRise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards; }
.premium-lead { font-family: var(--font-body); font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 680px; margin: 0 auto 50px auto; line-height: 1.6; position: relative; z-index: 5; opacity: 0; animation: fadeIn 1.5s ease 0.6s forwards; padding: 20px; background: rgba(255,255,255,0.4); backdrop-filter: blur(5px); border-radius: var(--radius-lg); }
.magnetic-wrap { display: inline-block; position: relative; z-index: 10; opacity: 0; animation: fadeIn 1.5s ease 0.8s forwards; }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(0,0,0,0.4); opacity: 0; animation: scrollReveal 1.5s ease 1.5s forwards, scrollPulse 3s infinite 3s; z-index: 10; }

/* --- HERO GRID & AMBIENT GLOW --- */
.hero-bg-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: 50px 50px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px); z-index: 1; pointer-events: none; }
.hero-glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 0, 0, 0.05), transparent 60%); z-index: 2; pointer-events: none; transition: opacity 0.3s ease; }

/* --- TYPOGRAPHY & LAYOUT --- */
.start-h2 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 30px; font-weight: 700; line-height: 1.2; color: var(--text-main); letter-spacing: -0.02em; }
.start-h3 { font-family: var(--font-heading); letter-spacing: -0.02em; font-size: 1.5rem; margin-top: 0; margin-bottom: 0; color: var(--text-main); }
.start-p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 25px; line-height: 1.7; font-family: var(--font-body); }
    
.container { max-width: 1300px; margin: 0 auto; padding: 0 5vw; width: 100%; position: relative; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 5vw; width: 100%; position: relative; }
.start-section { padding: 120px 0; position: relative; }

.btn-start { display: inline-flex; align-items: center; justify-content: center; padding: 22px 45px; background: var(--text-main); color: var(--text-inverse); text-decoration: none; font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; transition: all 0.3s ease-out; cursor: pointer; border: 1px solid var(--text-main); width: fit-content; border-radius: var(--radius-lg); }
.btn-start:hover { background: #333; box-shadow: 0 10px 30px rgba(0,0,0,0.15); transform: translateY(-2px); }
.btn-start span { margin-left: 10px; font-size: 1.1rem; }

/* --- GRIDS & CARDS --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.start-card { background: var(--bg-main); padding: 45px; border: 1px solid var(--border-subtle); transition: all 0.4s var(--ease-fluid); height: 100%; display: flex; flex-direction: column; text-align: left; border-radius: var(--radius-xl); }
.start-card:hover { border-color: var(--text-main); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.05); }
.start-card .icon { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-main); }

/* --- MARKETING SECTION --- */
.marketing-foundation { background: #050505; color: #fff; padding: 160px 0; overflow: hidden; }
.marketing-foundation .start-h2 { color: #fff; }
.foundation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; margin-top: 60px; align-items: flex-start; }
.bridge-visual { position: relative; padding: 40px; border-left: 1px solid rgba(255,255,255,0.1); }
.flow-line { height: 2px; width: 0%; background: linear-gradient(90deg, transparent, #fff, transparent); position: absolute; top: 0; left: 0; transition: width 2s var(--ease-fluid); }
.reveal.active .flow-line { width: 100%; }
.stat-item { margin-bottom: 40px; }
.stat-label { font-family: var(--font-ui); font-size: 0.8rem; color: rgba(255,255,255,0.5); display: block; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.stat-value { font-size: 1.5rem; font-weight: 600; color: #fff; font-family: var(--font-heading); }

/* --- ACCORDION (FAQ) --- */
.acc-header { padding: 25px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid var(--border-subtle); }
.acc-title { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; color: var(--text-main); flex: 1; }
.acc-content { max-height: 0; overflow: hidden; transition: 0.5s var(--ease-fluid); color: var(--text-muted); font-size: 1rem; }
.acc-inner { padding: 20px 0 30px 0; }
.acc-item.active .acc-content { max-height: 1000px; }
.acc-icon { transition: transform 0.3s; color: var(--text-main); }
.acc-item.active .acc-icon { transform: rotate(180deg); }

/* --- UTILITIES & INLINE-REPLACEMENTS --- */
.bg-black { background: #000; }
.bg-surface { background: var(--bg-surface); }
.text-white { color: #fff !important; }
.text-center { text-align: center; }
.text-lead-border { color: var(--text-main); font-weight: 600; border-left: 2px solid var(--text-main); padding-left: 20px; }
.text-light-muted { color: rgba(255,255,255,0.7); }
.text-light-subtle { color: rgba(255,255,255,0.6); }
.text-lg { font-size: 1.2rem; }

.tag-transparent { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.2) !important; }
.tag-transparent::before { background: #fff !important; }

.btn-inverse { background: #fff; color: #000; border-color: #fff; }
.btn-inverse:hover { background: #f0f0f0; color: #000; }

.mt-15 { margin-top: 15px; }
.mt-40 { margin-top: 40px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }

.list-none { list-style: none; padding: 0; margin: 0; }
.flex-center-gap-15 { display: flex; align-items: center; gap: 15px; }
.icon-white { color: #fff; font-size: 18px; }

/* Animations */
@keyframes scrollReveal { to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes scrollPulse { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; } 50% { transform: translateX(-50%) translateY(5px); opacity: 0.8; } }
@keyframes textRise { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-3, .foundation-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; gap: 20px; }
    .start-section { padding: 80px 0; }
}

/* ==========================================================================
   [KI-INFO] ERWEITERUNG: HERO GITTER, MAUS-GLOW & BERGE
   ========================================================================== */

/* 1. Globales Header-Gitter für diese Sektion deaktivieren */
.tech-bg { display: none !important; }

/* 2. Die Leitberg-Berge (Scharfe Architektur-Optik) */
.hero-mountains {
    position: absolute;
    bottom: -2px; left: 0; width: 100%; height: 50vh;
    z-index: 1; pointer-events: none;
}
.hero-mountains svg {
    width: 100%; height: 100%; display: block;
}

/* 3. Schwaches Basis-Gitter (Kein Schatten!) */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    z-index: 2;
    pointer-events: none;
}

/* 4. Dynamischer Grid-Glow (Maus verstärkt nur das Gitter) */
.hero-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    z-index: 3;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 80%);
    mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 80%);
    transition: opacity 0.3s ease;
}

/* --- HERO GITTER & MAUS-GLOW (TRANSPARENT) --- */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    z-index: 1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    z-index: 2;
    pointer-events: none;
    /* Maske für den Glow - standardmäßig außerhalb des Bildschirms (-1000px) */
    -webkit-mask-image: radial-gradient(circle 350px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), black 0%, transparent 80%);
    mask-image: radial-gradient(circle 350px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), black 0%, transparent 80%);
    transition: opacity 0.3s ease;
}