/* Globale Variablen - Angepasst an die Corporate Identity (Polygraphenzentrum) */
:root {
    --proovio-primary: #0d3b86; /* Sehr dunkles Navy Blau */
    --proovio-accent: #8b184c; /* Dunkles Magenta/Pink */
    --proovio-bg: #ffffff;
    --proovio-surface: #f8fafc;
    --proovio-text: #334155;
    --proovio-heading: #0d3b86;
    --proovio-border: #cbd5e1;
}

#proovio-quiz-container * {
    box-sizing: border-box;
}

#proovio-quiz-container h2 {
   color: white !important;
    margin-bottom: 20px;
    font-size: 40px;
}


.ergebnis {
    color: white !important;
    margin-bottom: 50px !important;
    font-size: 50px;
    font-weight: 500;
    display: block;
}

#proovio-quiz-container h3 {
   color: white !important;
}

#proovio-quiz-container p {
   color: white !important;
    margin-bottom: 20px;
}

#proovio-quiz-container {
    max-width: 100%;
    background: transparent;
    border-radius: 0px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--proovio-text);
}

.text-center { text-align: left; }
.step { display: none; }
.step.active { display: block; animation: fadeIn 0.4s ease-in-out; }
center
/* Sicherheitsregel für die Ergebnisse */
.res-content { display: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-indicator { 
    display: inline-block; 
    font-size: 13px; 
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white; 
    margin-bottom: 15px; 
    font-weight: 500; 
    background: #730062;    
    margin: 0px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;
    padding: 2px 8px 2px 8px;
    border-radius: 7px 7px 7px 7px;
}

.step h3, #email-step h3, .res-content h2 { 
    margin-top: 0; 
    margin-bottom: 30px; 
    color: var(--proovio-heading); 
    font-size: 24px; 
    font-weight: 700;
    line-height: 1.3; 
}

/* Antworten Styling */
.answer {
    display: block;
    width: 100%;
    text-align: left;
    margin: 24px 0;
    padding: 18px 24px;
    background: var(--proovio-bg);
    border: 1px solid var(--proovio-border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--proovio-heading);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.answer:hover {
    border-color: var(--proovio-primary);
    background: var(--proovio-surface);
    box-shadow: 0 4px 12px rgba(30, 30, 56, 0.08);
    transform: translateY(-1px);
}

/* Formular Styling */
#proovio-lead-form {
    margin: 0;
    padding: 0;
}

.subtext { color: var(--proovio-text); margin-bottom: 40px; font-size: 16px; line-height: 1.5; }

.input-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.input-group { flex: 1; }
.input-group.full-width { margin-bottom: 30px; }

.proovio-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #fff;
    transition: border-color 0.3s ease;
}

.proovio-input::placeholder {
    color: #94a3b8;
}

#proovio-quiz-container span{
    color: white;
}

.proovio-input:focus {
    border-bottom-color: white;
}

/* Checkbox DSGVO */
.dsgvo-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 13px;
    color: var(--proovio-primary); 
    cursor: pointer;
    margin-bottom: 40px;
    line-height: 1.6;
}
.dsgvo-label input[type="checkbox"] {
    margin-top: 1px;
    width: 18px;
    height: 18px;
    accent-color: #fff;
    margin-left: 0px;
}

/* Button Styling */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proovio-btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid white;
    margin-top: 40px;
}

.primary-btn:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    transform: translateY(-2px);
    color: #0D3B85;
}

.primary-btn:disabled {
    background: #94a3b8;
    border-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.outline-btn {
    background: transparent;
    color: var(--proovio-primary);
    border: 2px solid var(--proovio-primary);
}

.outline-btn:hover {
    background: var(--proovio-surface);
}

/* Zurück Button */
.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 0;
    margin-top: 20px;
    transition: color 0.2s;
}
.back-btn:hover { color: #fff; }

/* Ergebnis Styling */
.res-content p { color: var(--proovio-text); line-height: 1.7; margin-bottom: 25px; font-size: 16px; }
.cta-group { display: flex; flex-direction: row; gap: 25px; margin-top: 40px; }
.cta-group a { max-width: 100%; text-align: center; margin-top: 40px; background: white;
    color: #0D3B86; font-weight: 500; }
.cta-group a:hover { max-width: 100%; text-align: center; margin-top: 40px; background: white;
    color: #0D3B86; font-weight: 500; }
.notfall-hint { font-size: 13px; color: #64748b; margin-top: 40px; padding-top: 25px; border-top: 1px solid #e2e8f0; line-height: 1.6; }

/* Mobile Anpassungen */
@media (max-width: 600px) {
    #proovio-quiz-container {  margin: 30px auto; border-radius: 0; box-shadow: none; border-top: 0px solid #e2e8f0; border-bottom: 0px solid #e2e8f0;}
    .input-row { flex-direction: column; gap: 0; }
    .input-group { margin-bottom: 30px; }
    .action-row { flex-direction: column-reverse; gap: 20px; align-items: stretch;}
    .proovio-btn { width: 100%; box-sizing: border-box; }
    .step h3, #email-step h3, .res-content h2 { font-size: 22px; }
}