#wpp-progress {
    background: #1d1d1d;
    height: 6px;
    margin-bottom: 30px;
    border-radius: 3px;
    overflow: hidden;
}

#wpp-bar {

    background:
    linear-gradient(
        90deg,
        #9f7d43,
        #c8a86b,
        #e0c389
    );

    box-shadow:
        0 0 15px rgba(200,168,107,.5);
}

/* =====================================
   FRAGEN
===================================== */

.wpp-question {
    margin-bottom: 40px;
}

.wpp-question h3 {

    font-size: 42px;

    font-weight: 600;

    line-height: 1.3;

    color: #ffffff;

    margin-bottom: 40px;
}

/* =====================================
   ANTWORT BUTTONS
===================================== */

.wpp-answer {

    display: block;
    width: 100%;
    max-width: 850px;

    margin: 18px auto;

    padding: 28px 32px;

    font-size: 22px;
    line-height: 1.5;

    text-align: left;

    border-radius: 18px;

    cursor: pointer;

    background: #171717;

    color: #ffffff;

    border: 1px solid #2a2a2a;

    transition: all .25s ease;

    box-shadow: none;
}

/* Hover nur Desktop */
@media (min-width: 769px) {
    .wpp-answer:hover {

    border-color: #c8a86b;

    transform: translateY(-4px);

    box-shadow:
        0 0 25px rgba(200,168,107,.15);
}

    .wpp-answer:hover::after {
        left: 0;
    }
}

/* Klick-Feedback */
.wpp-answer:active {
    transform: scale(0.98);
}

/* Micro-Animation */
.wpp-answer::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
}

/* =====================================
   ERGEBNISBEREICH
===================================== */

.wpp-result {
    max-width: 1200px;
    width: 100%;
    margin: 80px auto;
    padding: 60px 60px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border-top: 8px solid #e30613;
}

body,
html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden; /* nur horizontal blockieren */
    overflow-y: auto;   /* vertikales Scrollen erlauben */
}

#wpp-result {
    width: 100%;
    margin: 0 auto;
}

.wpp-card-section {
    background: #f7f7f7;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}


.wpp-mini-head {
    font-weight: 600;
    margin-top: 15px;
    font-size: 15px;
    opacity: 0.7;
}

.wpp-result p {
    line-height: 1.75;
    margin-bottom: 14px;
    opacity: 0.9;
}

.wpp-result li {
    margin-bottom: 8px;
}

.wpp-result h2 {
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 700;
}

.wpp-result h3 {
    font-size: 20px;
    font-weight: 600;
	margin-bottom: 10px;
}

.wpp-box {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #999;
}

.wpp-dynamik {
    background: #f8fafc;
    padding: 22px;
    border-radius: 10px;
    border-left: 5px solid #64748b;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.wpp-playbook {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    padding: 26px;
    border-radius: 12px;
    border-left: 6px solid #22c55e;
    box-shadow: 0 10px 25px rgba(34,197,94,0.15);
}

.wpp-playbook h3 {
    font-size: 22px;
}

.wpp-playbook ul {
    margin-top: 10px;
    padding-left: 20px;
}

.wpp-closing {
    background: linear-gradient(180deg, #fafafa, #f5f5f5);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 5px solid #e30613; /* statt oben */
}

.wpp-closing {
    box-shadow: 0 10px 25px rgba(227,6,19,0.08);
}

.wpp-button {
    display: inline-block;
    padding: 14px 26px;
    background: linear-gradient(135deg, #e30613, #ff4d4d);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(227,6,19,0.25);
    transition: all 0.2s ease;
}
/* Neutral */
.wpp-card-section {
    background: #f4f4f4;
    border-left-color: #64748b;
}

/* Zielgruppen */
.wpp-dynamik {
    background: #f8fafc;
    border-left-color: #64748b;
}

/* Kipppunkt */
.wpp-warning {
    background: #fff3f3;
    border-left-color: #e30613;
}

/* Lösung */
.wpp-playbook {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

/* Reflexion */
.wpp-impuls {
    background: #f5fffa;
    border-left-color: #22c55e;
}

/* Abschluss */
.wpp-closing {
    background: #fafafa;
    border-left-color: #e30613;
}

/* =====================
   EINHEITLICHE BOX-BASIS
===================== */

.wpp-card-section,
.wpp-warning,
.wpp-playbook,
.wpp-dynamik,
.wpp-impuls,
.wpp-closing {

    padding: 28px 30px;
    border-radius: 12px;
    margin-bottom: 30px;

    border-left-width: 5px;
    border-left-style: solid;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

@media (min-width: 769px) {
    .wpp-button:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 15px 30px rgba(227,6,19,0.35);
    }
}

.wpp-result section {
    margin-bottom: 40px;
}

.wpp-highlight {
    font-weight: 600;
    color: #e30613;
}

.wpp-badge {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25 auto 25px auto;
    max-width: 1200px;
}

.wpp-badge div {
    flex: 1;
    max-width: 400px;
    text-align: center;

    font-size: 18px;
    background: #fff;
    padding: 16px 18px;
    border-radius: 10px;
    border-left: 5px solid #e30613;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.wpp-warning p {
    margin-bottom: 12px;
}

.wpp-warning strong {
    display: block;
    margin-bottom: 6px;
}

.wpp-combo {
    margin-top: 8px;
    font-style: italic;
	padding-bottom: 50px;
}

/* =====================================
   NEU: FRAGEN-KARTE
===================================== */

.wpp-card {

    background: #121212;

    padding: 40px;

    border-radius: 20px;

    border-top: 4px solid #C8A86B;

    box-shadow:
        0 25px 60px rgba(0,0,0,.45);

    position: relative;

    z-index: 2;
}

.wpp-card::before {
    content: "";
    position: absolute;
    inset: -180px; /* deutlich weiter raus */
    background: radial-gradient(circle, rgba(255,0,0,0.35) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.wpp-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #121212;
    border-radius: 14px;
    z-index: -1;
}

.wpp-container > * {
    width: 100%;
}

.wpp-progress-inline {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 15px;
    text-align: center;
}

#wpp-quiz {
    position: relative;
    z-index: 1;
}

#wpp-quiz::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 100vw;
    height: 100%;

    z-index: -1;

    background:

    radial-gradient(
        circle at center,
        rgba(200,168,107,.05) 0%,
        rgba(20,20,20,.96) 40%,
        #050505 100%
    );

}

/* =====================================
   MOBILE OPTIMIERUNG
===================================== */

@media (max-width: 768px) {

    .wpp-container {
        padding: 0 10px;
    }

		.wpp-card {
        padding: 20px 15px;
        margin-bottom: 20px;
		background-color: white;
        border-radius: 10px;
    }

    .wpp-question {
        margin-bottom: 25px;
    }

    .wpp-question h3 {
        font-size: 26px;
        line-height: 1.5;
        padding-bottom: 20px;
    }

    .wpp-answer {
        font-size: 15px;
        padding: 16px;
        margin: 8px 0;
        border-radius: 8px;
    }

    .wpp-progress-wrapper {
        margin-bottom: 20px;
    }

    #wpp-progress {
        height: 5px;
        margin-bottom: 20px;
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    }

    #wpp-progress-text {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .wpp-result {
        padding: 20px 15px;
    }

    .wpp-result h2 {
        font-size: 22px;
    }

    .wpp-result h3 {
        font-size: 17px;
    }

    .wpp-badge {
        flex-direction: column;
        align-items: center;
    }
}

#wpp-quiz .elementor-section,
#wpp-quiz .elementor-container,
#wpp-quiz .elementor-widget-wrap {
    background: transparent !important;
}

/* Ergebnis breiter machen */
.wpp-container.result {
    max-width: 1200px;
    
    display: block;        /* Flex ausschalten */
    height: auto;          /* wichtig */
    min-height: auto;      /* wichtig */

    padding: 80px 20px;
}

.wpp-container {

    max-width: 1500px;

    margin: 0 auto;

    padding: 80px 40px;

    text-align: center;
}

.wpp-result {
    max-width: 1200px !important;
    margin: 0 auto;
}

.wpp-title {
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* =====================
   LOADER
===================== */

.wpp-loading {
    text-align: center;
    padding: 40px 20px;
    color: #ffffff;
}

.wpp-loader {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: wpp-spin 1s linear infinite;
}

@keyframes wpp-spin {
    to { transform: rotate(360deg); }
}

/* =====================
   FADE-IN RESULT
===================== */

.wpp-fade-in {
    animation: wppFadeIn 0.6s ease forwards;
    opacity: 0;
}

@keyframes wppFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zurück Button */

.wpp-nav {
    margin-top: 20px;
    text-align: center;
}

.wpp-back {
    background: #D90204;
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.7;
}

.wpp-back:hover {
    opacity: 1;
}

.wpp-answer.active {

    background: #1f1f1f;

    color: #ffffff;

    border: 2px solid #c8a86b;

    box-shadow:
        0 0 30px rgba(200,168,107,.25);
}

/* =====================================
   PREMIUM LAYOUT
===================================== */

.wpp-layout {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 380px;

    gap: 50px;

    align-items: start;

    max-width: 1400px;

    margin: 0 auto;
}

.wpp-main {
    min-width: 0;
}

.wpp-sidebar {
    position: sticky;
    top: 40px;
}

.wpp-side-card {

    background: #111111;

    border: 1px solid #242424;

    border-radius: 20px;

    padding: 30px;

    color: #ffffff;

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}

.wpp-side-card h4 {

    color: #C8A86B;

    font-size: 22px;

    margin-bottom: 20px;
}

.wpp-side-card ul {

    list-style: none;

    padding: 0;

    margin: 20px 0 0 0;
}

.wpp-side-card li {

    margin-bottom: 14px;

    color: #cfcfcf;
}

#wpp-result-screen {
    width: 100%;
}