*{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-font-smoothing:antialiased;height:100%}
body{min-height:100vh;line-height:1.6;overflow-x:hidden;background:linear-gradient(180deg,rgba(255,255,255,0.85) 0%,rgba(248,250,252,0.95) 60%,rgba(248,250,252,1) 100%);color:var(--color-text-primary);font-family:Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-top:120px;position:relative}

/* Hintergrundmuster - scrollt mit Content fÃ¼r nahtlosen Ãœbergang */
body::before{content:'';display:none}
 :root{--space-2:0.5rem;--space-3:0.75rem;--space-4:1rem;--space-6:1.5rem;--brand-primary:#1e3a8a;--brand-primary-hover:#1a4090;--accent-green:#10b981;--error-red:#ef4444;--bg-light:#f8fafc;--color-text-primary:#1e293b;--color-text-light:#64748b;--color-bg-secondary:#f5f5f5;--state-disabled-bg:rgba(0,0,0,0.12);--state-disabled-text:rgba(0,0,0,0.26);--state-disabled-border:rgba(0,0,0,0.12);--progress-bg-offset:160px;--ease-standard:cubic-bezier(0.4,0,0.2,1);--nav-action-spacing:2rem}

.cards-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;width:100%;max-width:1400px;margin:1.5rem auto 3rem auto;gap:2rem;padding:0 2rem;box-sizing:border-box}

/* ANTWORTKARTEN - SAUBERES GLASSMORPHISM DESIGN OHNE BORDER */
.decision-card:not(.text-card),
.answer-card:not(.text-card) {
    /* Glassmorphism Effekt - EXAKT WIE TESTPHASE */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: none; /* KEIN BORDER */
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.07),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    /* GrÃ¶ÃŸe und Layout - EXAKT WIE TESTPHASE */
    width: 220px;
    min-height: 280px;
    height: auto;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* PERFORMANCE FIX: Nur spezifische Properties animieren statt "all" */
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.2s cubic-bezier(0.4,0,0.2,1),
                background 0.15s ease;
    /* GPU-Optimierung: Hint fÃ¼r Browser welche Properties animiert werden */
    will-change: transform;
    /* Hardware-Beschleunigung aktivieren */
    transform: translateZ(0);
    /* PERFORMANCE FIX: Layout Containment - verhindert dass Layout-Ã„nderungen das gesamte DOM beeinflussen */
    contain: layout style paint;
    /* PERFORMANCE FIX: Rendering-Optimierung - Browser kann Offscreen-Content Ã¼berspringen */
    content-visibility: auto;
    padding: 0;
    margin: 0;
}

.decision-card::before,.answer-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--accent-green) 0%,var(--brand-primary) 100%);transform:scaleX(0);transition:transform 0.3s ease}

.decision-card:hover::before,
.answer-card:hover::before,
.decision-card.selected::before,
.answer-card.selected::before {
    transform: scaleX(1);
}

.decision-card:hover,
.answer-card:hover {
    background: rgba(255, 255, 255, 0.8);
    /* PERFORMANCE FIX: backdrop-filter bleibt konstant, nicht animiert */
    border: none; /* KEIN BORDER auch bei Hover */
    transform: translateY(-2px) translateZ(0);
    box-shadow:
        0 12px 40px rgba(31, 38, 135, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.decision-card.selected,
.answer-card.selected {
    /* GrÃ¼ner Hintergrund bei Auswahl - KEIN BORDER */
    background: rgba(16, 185, 129, 0.35) !important;
    /* PERFORMANCE FIX: backdrop-filter bleibt konstant, nicht animiert */
    border: none; /* KEIN BORDER auch bei Selected */
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.07),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: scale(1.01) translateZ(0);
    opacity: 1 !important;
}

/* Bild Container - perfekt mittig mit Skeleton Placeholder */
.decision-card:not(.text-card) .image-container-question,
.answer-card:not(.text-card) .image-container-question {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 58px; /* HÃ¶he des Buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: transparent;
    overflow: hidden;
}

/* Skeleton Placeholder Animation wÃ¤hrend Bild lÃ¤dt */
.image-container-question::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 14px;
    background: #f1f5f9;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
}

/* HIGH-2 FIX: GPU-accelerated shimmer effect using ::after pseudo-element */
.image-container-question::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    will-change: transform;
    z-index: 1;
}

/* CRITICAL-1 FIX: Browser-compatible skeleton hiding using opacity instead of :has() */
.image-container-question.image-loaded::before,
.image-container-question.image-loaded::after {
    opacity: 0;
}

/* HIGH-4 FIX: Text card skeleton size adjustment to match 140x140px images */
.text-card .image-container-question::before {
    width: 140px !important;
    height: 140px !important;
}

.text-card .image-container-question::after {
    width: 140px !important;
    height: 140px !important;
    left: -140px !important;
}

@keyframes skeleton-shimmer {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(300%);
    }
}

/* Bild Styling - BewÃ¤hrte Konfiguration aus he-main */
.decision-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    filter: none;
    image-rendering: auto;
    /* SMOOTH FADE-IN: Bild startet unsichtbar und faded smooth ein */
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    /* PERFORMANCE: GPU acceleration fÃ¼r smooth transitions */
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Bilder nicht markierbar */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

/* Bild ist geladen - Fade-In */
.decision-image.loaded {
    opacity: 1;
}

/* ANTI-FLICKER: Smooth card transitions */
.decision-card {
    /* Prevent layout shift during re-render */
    contain-intrinsic-size: 220px 320px;
}

/* Button am unteren Rand - FEST POSITIONIERT */
.decision-button {
    height: 58px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #153A83;
    color: white;
    border: none;
    border-radius: 0 0 20px 20px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    /* PERFORMANCE FIX: Schnellere Transition fÃ¼r sofortiges Feedback */
    transition: background-color 0.15s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.decision-button:hover{background:#1a4090}

.decision-card.selected .decision-button{background:#10b981}

.decision-card.selected .decision-button:hover{background:#059669}

/* MODERNES TEXT-EINGABE DESIGN - BEST PRACTICES 2024 */
.text-card,
.decision-card.text-card,
.answer-card.text-card,
article.text-card {
    /* Modernes Card Design - BREITER */
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.08),
        0 4px 12px -4px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important; /* FIX: visible - kein Abschneiden */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-height: 280px !important;
    width: 550px !important; /* MEGA-BREITER - 550px fÃ¼r garantiert genug Platz */
    max-width: calc(100vw - 4rem) !important; /* Verhindert Overflow auf kleinen Screens */
    box-sizing: border-box !important;
}

.text-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 
        0 30px 80px -15px rgba(0, 0, 0, 0.12),
        0 15px 30px -8px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.03) !important;
}

/* Icon/Bild Bereich - CLEAN ohne Effekte */
.text-card .image-container-question {
    position: relative !important;
    background: #f9fafb !important; /* Minimal angepasster grauer Hintergrund - Cache-Bust */
    border-radius: 20px 20px 0 0 !important;
    padding: 2.5rem 2rem !important; /* Mehr vertikales Padding */
    height: auto !important; /* Auto height - passt sich dem Bild an */
    min-height: 160px !important; /* MindesthÃ¶he fÃ¼r 140px Bild + Padding */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: none !important; /* Keine Linie */
    overflow: visible !important; /* Kein Abschneiden */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

/* Kein Overlay-Effekt mehr */

/* Icon/Bild OHNE EFFEKTE - aber MIT Fade-In */
.text-card .decision-image {
    max-width: 140px !important;
    max-height: 140px !important;
    /* HIGH-3 FIX: Remove width/height overrides to allow HTML attributes to control size */
    filter: none !important; /* KEINE Filter */
    /* ENTFERNT: transition: none - erlaubt jetzt Fade-In */
    opacity: 0;
    transition: opacity 0.3s ease-in-out !important;
    position: relative !important;
    z-index: 1 !important;
    box-shadow: none !important; /* KEIN Schatten */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    image-rendering: auto !important; /* FIX: auto fÃ¼r optimale Browser-QualitÃ¤t */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    /* NEUE ABRUNDUNG - dezent und elegant */
    border-radius: 16px !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Text-Card Bild geladen */
.text-card .decision-image.loaded {
    opacity: 1 !important;
}

/* Kein Hover-Effekt */
.text-card:hover .decision-image {
    transform: none !important; /* KEIN Effekt bei Hover */
    filter: none !important;
}

/* ENTFERNT die obere Gradient-Linie fÃ¼r Text-Karte */
.text-card::before,
.decision-card.text-card::before,
.answer-card.text-card::before,
article.text-card::before {
    display: none !important; /* Keine obere Linie */
    content: none !important;
    background: none !important;
    height: 0 !important;
}

/* Auch bei Hover keine Linie */
.text-card:hover::before,
.decision-card.text-card:hover::before,
.answer-card.text-card:hover::before {
    display: none !important;
    transform: scaleX(0) !important;
}

/* Text Input Bereich - Nahtlos integriert */
.text-card .text-input-wrapper {
    padding: 1rem !important; /* REDUZIERT: 1rem (16px) statt 1.5rem fÃ¼r mehr Platz */
    background: transparent !important;
    flex: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: visible !important; /* FIX: visible statt hidden - verhindert Abschneiden */
}

/* MudTextField Modern Styling - VERBESSERTE ABRUNDUNG */
.text-card .mud-input-root,
.text-input-wrapper .mud-input-root {
    background: #ffffff !important;
    border-radius: 12px !important; /* SchÃ¶ne Abrundung */
    transition: all 0.2s ease !important;
    border: 1.5px solid #e5e7eb !important; /* Sichtbarer Border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    width: calc(100% - 0px) !important; /* CALC: 100% minus nichts - nur fÃ¼r clarity */
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important; /* FIX: Verhindert Abschneiden des Textfelds */
    margin: 0 !important; /* WICHTIG: Kein Margin das Platz wegnimmt */
}

.text-card .mud-input-root:hover,
.text-input-wrapper .mud-input-root:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06) !important;
}

.text-card .mud-input-root-focused,
.text-input-wrapper .mud-input-root-focused {
    background: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08) !important;
}

/* Override fÃ¼r MudTextField Outlined */
.text-card .mud-input-outlined .mud-input-root,
.text-input-wrapper .mud-input-outlined .mud-input-root {
    border: 1.5px solid #e5e7eb !important;
}

.text-card .mud-input-outlined .mud-input-root:before,
.text-card .mud-input-outlined .mud-input-root:after,
.text-input-wrapper .mud-input-outlined .mud-input-root:before,
.text-input-wrapper .mud-input-outlined .mud-input-root:after {
    border: none !important;
}

/* Label modern */
.text-card .mud-input-label,
.text-input-wrapper .mud-input-label {
    color: #64748b !important;
    font-weight: 500 !important;
}

.text-card .mud-input-label-inputfocused,
.text-input-wrapper .mud-input-label-inputfocused {
    color: #3b82f6 !important;
}

/* Input Text - MIT PADDING */
.text-card input,
.text-card textarea,
.text-input-wrapper input,
.text-input-wrapper textarea {
    font-size: 15px !important;
    color: #1e293b !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    padding: 12px 16px !important; /* PADDING HINZUGEFÃœGT */
    width: 100% !important; /* FIX: Verhindert Overflow */
    max-width: 100% !important; /* FIX: Verhindert Overflow */
    box-sizing: border-box !important; /* FIX: Padding inkludiert in width */
    margin: 0 !important; /* WICHTIG: Kein Margin */
}

/* Speziell fÃ¼r MudTextField Input Area */
.text-card .mud-input-slot,
.text-input-wrapper .mud-input-slot {
    padding: 0 !important; /* Reset default padding */
    width: 100% !important; /* FIX: Verhindert Overflow */
    max-width: 100% !important; /* FIX: Verhindert Overflow */
    box-sizing: border-box !important; /* FIX: Padding inkludiert in width */
}

.text-card .mud-input-root .mud-input-slot,
.text-input-wrapper .mud-input-root .mud-input-slot {
    padding: 12px 16px !important; /* Konsistentes Padding */
    width: 100% !important; /* FIX: Verhindert Overflow */
    max-width: 100% !important; /* FIX: Verhindert Overflow */
    box-sizing: border-box !important; /* FIX: Padding inkludiert in width */
}

/* Alle MudBlazor-Input-Container - Overflow-Fix */
:where(.text-card, .text-input-wrapper) :where(.mud-input, .mud-input-control, .mud-input-text) {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* ULTRA-FIX: Alle Elemente in text-card auf box-sizing border-box setzen */
.text-card *,
.text-card *::before,
.text-card *::after {
    box-sizing: border-box !important;
}

/* ULTRA-FIX: Alle direkten Children von text-input-wrapper auf 100% width beschrÃ¤nken */
.text-card .text-input-wrapper > *,
.text-input-wrapper > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important; /* WICHTIG: Kein Margin */
}

/* MEGA-FIX: Alle MudBlazor-Komponenten in text-input-wrapper */
.text-card .text-input-wrapper .mud-input-outlined,
.text-input-wrapper .mud-input-outlined,
.text-card .text-input-wrapper .mud-input,
.text-input-wrapper .mud-input {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Placeholder */
.text-card input::placeholder,
.text-card textarea::placeholder {
    color: #cbd5e1 !important;
}

/* Button entfernen */
.text-card .decision-button {
    display: none !important;
}

/* Card Content Container */
.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: space-between;
    align-items: stretch;
}

/* PERFORMANCE FIX: Processing State - ENTFERNT per User Request
   User mÃ¶chte keine ausgegraueten Karten wÃ¤hrend Processing
   pointer-events wird weiterhin via inline style gesetzt */

/* PERFORMANCE FIX: Cards-Grid Processing State - ENTFERNT per User Request */

.modern-checkbox-container{position:absolute;top:6px;left:6px;z-index:15;display:flex;align-items:center;justify-content:center;width:32px;height:32px}

.modern-checkbox{width:24px;height:24px;border:1.5px solid rgba(107,114,128,0.4);border-radius:6px;background:rgba(255,255,255,0.95);cursor:pointer;transition:all 0.2s cubic-bezier(0.4,0,0.2,1);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px rgba(0,0,0,0.15)}

.modern-checkbox:hover{border-color:rgba(107,114,128,0.6);background:rgba(16,185,129,0.05);box-shadow:0 2px 6px rgba(16,185,129,0.15);transform:scale(1.05)}

.modern-checkbox.checked {
    background: #10b981;
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.modern-checkbox.checked::after{content:'âœ“';color:white;font-size:14px;font-weight:700;opacity:0;animation:checkmark-appear 0.2s forwards}

@keyframes checkmark-appear{from{opacity:0;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}

/* === PHASE 2: ENTFERNT - Keine Animationen mehr === */

/* ALLE Animationen zwischen Fragen entfernt fÃ¼r instant Ãœbergang */

/* === END PHASE 2 === */

/* === PHASE 5: ENTFERNT - Kein Loading Overlay mehr === */

/* Loading Overlay komplett entfernt fÃ¼r instant Ãœbergang */

/* === END PHASE 5 === */

.container{max-width:1200px;margin:0 auto 0;padding:0 2rem}

.question-section{
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter:blur(8px) saturate(160%);
    -webkit-backdrop-filter:blur(8px) saturate(160%);
    isolation: isolate;
    contain: layout style;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius:20px;
    box-shadow:0 8px 32px rgba(31, 38, 135, 0.07),0 2px 8px rgba(0, 0, 0, 0.04),inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding:2rem;
    margin:0 0 2rem;
    margin-left:calc(-50vw + 50%);
    margin-right:calc(-50vw + 50%);
    width:100vw;
    text-align:center;
    position:relative;
    z-index:500
}
.question-section::before{content:'';position:absolute;top:var(--progress-bg-offset);left:0;right:0;height:calc(100% - var(--progress-bg-offset));background-image:url('../images/Allgemein/Muster.png');background-repeat:no-repeat;background-size:cover;background-position:center top;opacity:0.03;pointer-events:none;z-index:-1}


.question-text-container{display:flex;justify-content:center;align-items:center;gap:0.75rem;min-height:60px;max-width:1200px;margin:0 auto;padding:0 2rem}

.question-section__text{font-size:1.875rem;font-weight:700;text-align:center;color:var(--color-text-primary);line-height:1.3;letter-spacing:-0.5px}

.navigation-container{width:100%;display:flex;justify-content:center;padding:var(--space-2)}

.navigation{display:flex;gap:var(--space-4);align-items:center;justify-content:center;transform:translateY(-15px);max-width:1400px;width:100%;margin:0 auto;padding:0 2rem;position:relative}

.navigation__button:not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]),.mud-button:not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]){display:inline-flex;align-items:center;justify-content:center;min-width:120px;min-height:38px;padding:0.75rem 2rem;font-weight:600;background:#ffffff;color:#000000;border:2px solid #000000;border-radius:10px;cursor:pointer;transition:all 0.2s ease;box-shadow:0 4px 12px rgba(0,0,0,0.15);font-size:1rem}

.navigation__button:hover:not(:disabled),.mud-button:hover:not(:disabled){background:var(--brand-primary-hover);color:#ffffff;transform:translateY(-1px);box-shadow:0 4px 12px rgba(30,58,138,0.3)}

/* Weiter und AbschlieÃŸen Buttons - Blau wenn aktiv */
.navigation__button:not(:disabled):not([disabled]):not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]),.mud-button:not(:disabled):not([disabled]):not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]):not(.export-button):not([aria-label*="Online Shop"]):not([aria-label*="Angebot anfragen"]){background:var(--brand-primary);color:#ffffff;border:2px solid var(--brand-primary)}

.navigation__button:not(:disabled):not([disabled]):not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]):hover,.mud-button:not(:disabled):not([disabled]):not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]):not(.export-button):not([aria-label*="Online Shop"]):not([aria-label*="Angebot anfragen"]):hover{background:var(--brand-primary-hover);color:#ffffff;border:2px solid var(--brand-primary-hover)}

/* Weiter-Button disabled - modern und hell ausgegraut (nach aktiver Regel fÃ¼r korrekte Cascade) */
.navigation__button:disabled:not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]),
.navigation__button[disabled]:not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]),
.mud-button:disabled:not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]):not(.export-button):not([aria-label*="Online Shop"]):not([aria-label*="Angebot anfragen"]),
.mud-button[disabled]:not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]):not(.export-button):not([aria-label*="Online Shop"]):not([aria-label*="Angebot anfragen"]),
.mud-button.mud-disabled:not([aria-label*="ZurÃ¼ck"]):not([title*="ZurÃ¼ck"]):not(.export-button):not([aria-label*="Online Shop"]):not([aria-label*="Angebot anfragen"]) {
    background: #f3f4f6;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    opacity: 1;
}

/* ZurÃ¼ck-Button disabled (falls benÃ¶tigt) */
.navigation__button:disabled[aria-label*="ZurÃ¼ck"],
.navigation__button:disabled[title*="ZurÃ¼ck"],
.mud-button:disabled[aria-label*="ZurÃ¼ck"],
.mud-button:disabled[title*="ZurÃ¼ck"] {
    background: #f3f4f6;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
    cursor: not-allowed;
    opacity: 0.8;
}

/* ZurÃ¼ck Button - Weiss mit schwarzem Text und 50% transparentem Rahmen */
.navigation__button[aria-label*="ZurÃ¼ck"],
.navigation__button[title*="ZurÃ¼ck"],
.mud-button[aria-label*="ZurÃ¼ck"],
.mud-button[title*="ZurÃ¼ck"],
.navigation .navigation__button:first-child,
.navigation .mud-button:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 38px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid rgba(0, 0, 0, 0.5) !important;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 1rem;
}

.navigation__button[aria-label*="ZurÃ¼ck"]:hover,
.navigation__button[title*="ZurÃ¼ck"]:hover,
.mud-button[aria-label*="ZurÃ¼ck"]:hover,
.mud-button[title*="ZurÃ¼ck"]:hover {
    background: #f3f4f6 !important;
    color: #000000 !important;
    border: 2px solid rgba(0, 0, 0, 0.5) !important;
}

/* Ãœberspringen Button - Absolut rechts positioniert, vertikal zentriert */
.navigation__button--skip,
.navigation__button[aria-label*="Ãœberspringen"] {
    position: absolute !important;
    right: 2rem !important;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 58, 138, 0.15) !important;
    color: var(--brand-primary) !important;
    border: 2px solid rgba(30, 58, 138, 0.3) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15) !important;
}

.navigation__button--skip:hover,
.navigation__button[aria-label*="Ãœberspringen"]:hover {
    background: rgba(30, 58, 138, 0.25) !important;
    color: var(--brand-primary) !important;
    border: 2px solid rgba(30, 58, 138, 0.5) !important;
    transform: translateY(calc(-50% - 1px));
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25) !important;
}

.navigation__button--skip:disabled,
.navigation__button[aria-label*="Ãœberspringen"]:disabled {
    background: #d1d5db !important;
    color: #9ca3af !important;
    border: 2px solid #d1d5db !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Konfiguration speichern Button - Zentrale Definition */
/* Export/PDF Button - Konfiguration als PDF speichern */
.export-button,
.mud-button.export-button,
.mud-button-outlined.export-button,
.mud-button.mud-button-outlined.export-button,
button.export-button {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 6px !important;
    font-family: Arial, sans-serif !important;
    text-transform: none !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    letter-spacing: 0.2px !important;
}

/* Icon und Text innerhalb */
.export-button svg,
.export-button .mud-button-label,
.export-button .mud-button-start-icon,
.export-static-content {
    color: #000000 !important;
    fill: #000000 !important;
}

/* Hover State mit hÃ¶herer SpezifitÃ¤t */
.mud-button.export-button:hover,
.mud-button-outlined.export-button:hover,
.mud-button.mud-button-outlined.export-button:hover {
    background: #f3f4f6 !important;
    background-color: #f3f4f6 !important;
    border-color: #000000 !important;
    color: #000000 !important;
}

/* Disabled State */
.export-button:disabled,
.export-button.export-in-progress {
    opacity: 0.8 !important;
}

/* Action Buttons - PrimÃ¤re Aktionen (Termin, Webinar) */
.action-button-primary {
    background-color: #2c5aa0 !important;
    color: white !important;
    border-radius: 6px !important;
    text-transform: none !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    letter-spacing: 0.2px !important;
    font-family: Arial, sans-serif !important;
}

.action-button-primary:hover {
    background-color: #1e3a8a !important;
}

/* Feature Checkmarks - GrÃ¼n fÃ¼r enthaltene Funktionen */
.feature-checkmark,
.mud-icon-root.feature-checkmark {
    color: #10b981 !important;
    font-size: 24px !important;
    margin-top: 2px !important;
}


.navigation__button:focus-visible{outline:3px solid var(--brand-primary);outline-offset:2px}

.app-header{height:120px;background:linear-gradient(90deg,rgba(85,155,51,0.7) 0%,rgba(85,155,51,0.85) 3%,rgba(85,155,51,0.4) 8%,rgba(85,155,51,0.15) 15%,rgba(30,58,138,0) 25%,rgba(30,58,138,0) 75%,rgba(237,28,36,0.15) 85%,rgba(237,28,36,0.4) 92%,rgba(237,28,36,0.85) 97%,rgba(237,28,36,0.7) 100%),#1e3a8a;display:flex;align-items:center;width:100vw;margin:0;padding:0;box-shadow:0 4px 20px rgba(30,58,138,0.2)}

.app-header__content{position:relative;z-index:1;width:100%;max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:100%}

.app-header__brand{margin:0 auto;display:flex;align-items:center;gap:1.5rem}

.app-header__logo-container{
    position:relative;
    width:280px;
    height:80px;
    background:rgba(255, 255, 255, 0.9);
    backdrop-filter:blur(10px) saturate(180%);
    -webkit-backdrop-filter:blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius:20px;
    box-shadow:0 8px 32px rgba(31, 38, 135, 0.07),0 2px 8px rgba(0, 0, 0, 0.04),inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px 20px
}

.app-header__logo{width:100%;height:100%;object-fit:contain}

.app-header__text{display:flex;flex-direction:column;align-items:flex-start;gap:2px}

.app-header__title{font-size:1.625rem;font-weight:700;color:white;margin:0;line-height:1.1;letter-spacing:-0.5px;text-shadow:0 2px 4px rgba(0,0,0,0.1)}

.app-header__subtitle{font-size:0.9375rem;font-weight:400;color:rgba(255,255,255,0.95);margin:0;opacity:0.95;text-shadow:0 1px 2px rgba(0,0,0,0.1)}

/* Start Screen Styles */
.start-screen-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 100px);
    padding: 2rem;
    padding-top: 5vh;
}

.start-content-section {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.welcome-section {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.08);
    border: none;
    outline: none;
}

.welcome-section:focus,
.welcome-section:focus-visible,
.welcome-section:focus-within {
    border: none;
    outline: none;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-bubble 20s ease-in-out infinite;
}

.welcome-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-bubble 15s ease-in-out infinite reverse;
}

@keyframes float-bubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.welcome-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    border: none;
    outline: none;
}

.welcome-title:focus,
.welcome-title:focus-visible {
    border: none;
    outline: none;
}

.welcome-highlight {
    font-weight: 700;
    /* background: linear-gradient(135deg, var(--brand-primary), var(--accent-green)); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
    display: inline-block;
    /* animation: glow-text 3s ease-in-out infinite; */
    color: var(--brand-primary);
}

@keyframes glow-text {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.welcome-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.6;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.start-action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}

.start-button {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--brand-primary) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35);
    position: relative;
    overflow: hidden;
}

.start-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.start-button:hover::before {
    left: 100%;
}

.start-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.45);
}

.start-button:active {
    transform: translateY(-1px) scale(1.01);
}

/* Media Queries - Responsive Card Layout */

/* Extra Large Screens - 6 Karten (â‰¥1600px) */
@media(min-width:1600px){
    .cards-grid{max-width:1600px;gap:2rem}
    .decision-card,.answer-card{flex:1 1 calc(16.666% - 2rem);max-width:240px}
}

/* Large Screens - 5 Karten (1400-1599px) */
@media(min-width:1400px) and (max-width:1599px){
    .cards-grid{max-width:1500px;gap:1.8rem}
    .decision-card,.answer-card{flex:1 1 calc(20% - 1.8rem);max-width:220px}
}

/* Desktop - 4 Karten (1200-1399px) */
@media(min-width:1200px) and (max-width:1399px){
    .cards-grid{max-width:1400px;gap:1.6rem}
    .decision-card,.answer-card{flex:1 1 calc(25% - 1.6rem);max-width:220px}
}

/* Laptop - 3 Karten (1024-1199px) */
@media(max-width:1199px){
    .container{padding:0 1.5rem}
    .question-section__text{font-size:1.75rem}
    .cards-grid{gap:1.5rem;max-width:1200px}
    .decision-card,.answer-card{flex:1 1 calc(33.333% - 1.5rem);max-width:220px;min-width:200px}
    .start-config-card{width:260px}
    .request-card{max-width:500px}
}

/* Tablet - 2 Karten (768-1023px) */
@media(max-width:1023px){
    .cards-grid{max-width:800px}
    .decision-card,.answer-card{flex:1 1 calc(50% - 1.5rem);max-width:280px;min-width:180px}
}

/* Kleine Screens: Ãœberspringen unter ZurÃ¼ck/Weiter */
@media(max-width:850px){
    .navigation{
        flex-wrap:wrap;
        padding-bottom:calc(var(--nav-action-spacing) + 1.25rem);
        position:relative
    }
    .navigation .navigation__button--skip,
    .navigation .navigation__button[aria-label*="Ãœberspringen"]{
        position:absolute;
        top:auto;
        bottom:calc(-1 * var(--nav-action-spacing));
        right:auto;
        left:50%;
        transform:translateX(-50%);
        /* EXAKT Desktop-GrÃ¶ÃŸe beibehalten */
        width:auto;
        max-width:fit-content;
        min-width:120px;
        padding:0.75rem 2rem;
        font-size:1rem
    }
    .navigation .navigation__button--skip:hover,
    .navigation .navigation__button[aria-label*="Ãœberspringen"]:hover{
        transform:translateX(-50%) translateY(-1px)
    }
}

@media(max-width:768px){
    .container{padding:0 1rem}
    .question-section{padding:2rem 1.5rem;margin-bottom:2rem}
    .question-section__text{font-size:1.5rem;line-height:1.3}
    .navigation{padding:0 1rem calc(var(--nav-action-spacing) + 1.5rem);gap:0.75rem}
    .navigation__button{padding:0.5rem 0.75rem;font-size:0.875rem;min-width:100px}
    /* Ãœberspringen behÃ¤lt EXAKT Desktop-GrÃ¶ÃŸe und Position */
    .navigation .navigation__button--skip,
    .navigation .navigation__button[aria-label*="Ãœberspringen"]{
        /* bottom inherited from 850px breakpoint */
        width:auto;
        max-width:fit-content;
        min-width:120px;
        padding:0.75rem 2rem;
        font-size:1rem
    }
    .cards-grid{flex-direction:column;align-items:center;gap:1rem;padding:0 1rem}
    .decision-card,.answer-card{width:100%;max-width:280px}
    .text-card,.decision-card.text-card,.answer-card.text-card,article.text-card{width:100%!important;max-width:calc(100vw - 2rem)!important}
    .text-card .text-input-wrapper{padding:1rem!important}
    .start-config-card{width:100%;max-width:280px}
    .request-card{max-width:100%;padding:1.25rem}
    .request-card-actions{flex-direction:column;gap:0.75rem}
    .request-card-cancel,.request-card-submit{width:100%}
}

@media(max-width:768px){.question-info-container{max-width:100%;padding:1.25rem 1.5rem}.question-info-toggle{margin-left:0.75rem}}

.restart-button {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
}
/* ============================================
   RESTART BUTTON CONTAINER
   Abstand zwischen Überspringen und "Von vorne beginnen"
   ============================================ */
.restart-button-container{
    text-align:center;
    margin-top:var(--nav-action-spacing);
    padding-bottom:1rem;
}

/* Info Button Overlay - Modern minimal black design */
.info-button-overlay{position:absolute;top:12px;right:12px;z-index:15;width:24px;height:24px}

.info-toggle-button{width:24px;height:24px;background-color:rgba(0,0,0,0.7);color:white;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 6px rgba(0,0,0,0.15);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,system-ui,sans-serif;font-size:12px;font-weight:500;font-style:normal}

.info-toggle-button::before{content:'i'}

.info-toggle-button:hover{background-color:rgba(0,0,0,0.85);transform:scale(1.05);box-shadow:0 3px 8px rgba(0,0,0,0.2)}

.info-toggle-button:active{transform:scale(0.95);transition:transform 0.1s ease}

.question-info-toggle{margin-left:1rem}

.question-info-container{display:none;position:relative;margin:1.5rem auto 0;max-width:800px;background:rgba(255,255,255,0.95);border-radius:18px;border:1px solid rgba(15,23,42,0.08);box-shadow:0 18px 40px rgba(15,23,42,0.08);padding:1.75rem 2.25rem;text-align:center}

.question-info-container.show{display:block}

.question-info-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border:none;border-radius:50%;background:rgba(15,23,42,0.08);color:#0f172a;font-size:20px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease}

.question-info-close::before{content:'Ã—';line-height:1}

.question-info-close:hover{background:rgba(15,23,42,0.15);transform:scale(1.05)}

.question-info-close:active{transform:scale(0.95);transition:transform 0.1s ease}

.question-info-content{display:flex;flex-direction:column;align-items:center;gap:0.75rem}

.question-info-title{margin:0;font-size:1.25rem;font-weight:600;color:var(--color-text-primary)}

.question-info-text{margin:0;font-size:1rem;line-height:1.5;color:var(--color-text-secondary,#1f2937);width:100%;text-align:left}

.question-info-help{margin:0;font-size:0.9375rem;line-height:1.5;color:#4b5563;width:100%;text-align:left}

.question-info-text p:last-child,.question-info-help p:last-child{margin-bottom:0}

.question-info-text ul,.question-info-text ol,.question-info-help ul,.question-info-help ol{margin:0.5rem 0;padding-left:1.25rem;text-align:left}

.card-info-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;background:#ffffff;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:20px 24px 24px 24px;opacity:0;visibility:hidden;transform:scale(0.95);transition:all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);z-index:999}

.card-info-overlay.show{opacity:1;visibility:visible;transform:scale(1)}

.decision-card.show-info .info-button-overlay{display:none}

.decision-card.show-info .close-button-container{display:block}

.decision-card.show-info .decision-button{z-index:50}

.decision-card.show-info .card-content {
    visibility: hidden;
}

.decision-card.show-info .modern-checkbox-container {
    visibility: hidden;
}

.close-button-container{position:absolute;top:12px;right:12px;z-index:101;display:none}

.close-button-style{width:32px;height:32px;background:rgba(255,255,255,0.9);color:#ef4444;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,0.15);transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1);border:none;font-size:24px;line-height:1}

.close-button-style::before{content:'Ã—'}

.close-button-style:hover{background:white;transform:scale(1.2) rotate(90deg);box-shadow:0 4px 12px rgba(239,68,68,0.3)}

.close-button-style:active{transform:scale(0.9);transition:transform 0.1s ease}

.info-content{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:100%;opacity:0;transform:translateY(20px);transition:all 0.5s cubic-bezier(0.25,0.46,0.45,0.94) 0.1s}

.card-info-overlay.show .info-content{opacity:1;transform:translateY(0)}

.info-icon .info-circle{width:28px;height:28px;background:rgba(0,0,0,0.7);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;font-style:normal;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,system-ui,sans-serif;margin-bottom:8px;box-shadow:0 1px 4px rgba(0,0,0,0.15)}

/* Pulse animation removed for cleaner design */

.info-description{width:100%;text-align:left;font-size:0.9375rem;line-height:1.5;color:#4b5563}

.info-description p:last-child{margin-bottom:0}

.info-description ul,.info-description ol{margin:0.5rem 0;padding-left:1.25rem;text-align:left}

/* PROGRESS BAR STYLES */
.progress-bar-container {
    margin: 1rem 0;
    max-width: 100%;
    width: 100%;
}

.progress-bar {
    width: 100%;
    margin-bottom: 0.25rem;
}

.progress-bar-background {
    width: 100%;
    height: 8px;
    background-color: rgba(229, 231, 235, 0.6);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c5aa0 0%, #10b981 100%);
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

/* Multiple Choice Hint */
.multiple-choice-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 0.5rem 0;
    padding: 0 2rem;
}

.multiple-choice-hint__content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(21,58,131,0.1);
    padding: 12px 24px;
    width: fit-content;
    max-width: 600px;
    text-align: center;
}

.multiple-choice-hint__text {
    font-size: 14px;
    font-weight: 500;
    color: #153a83;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.multiple-choice-hint--spacer {
    visibility: hidden;
    /* WICHTIG: Exakt gleiche Dimensionen wie .multiple-choice-hint fÃ¼r identische Positionierung */
    margin: 1rem 0 0.5rem 0;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px; /* Feste HÃ¶he garantiert exakte Positionierung bei beiden Typen */
}

.multiple-choice-hint__content {
    min-height: 44px; /* Gleiche MindesthÃ¶he fÃ¼r konsistente Positionierung */
}

/* MudBlazor Snackbar - Position fixed unten rechts, immer sichtbar */
:where(.mud-snackbar) {
    position: fixed !important;
    z-index: 1400;
    bottom: 1.5rem !important;
    top: auto !important;
    right: 1rem;
    left: auto;
}

/* Snackbar auf mobilen GerÃ¤ten */
@media(max-width: 768px) {
    :where(.mud-snackbar) {
        position: fixed !important;
        bottom: 1rem !important;
        left: 1rem;
        right: 1rem;
        width: auto;
    }
}





/* Updated: 1764517189 */


































