/* Persönlichkeitsquiz Plugin Styles */
.pq-container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.25), 
                0 10px 40px rgba(118, 75, 162, 0.15);
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(135deg, #667eea, #764ba2, #ff6b9d);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

.pq-container::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #ff6b9d, #667eea);
    border-radius: 25px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.pq-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pq-header::before {
    content: "💕";
    position: absolute;
    top: 20px;
    left: 10%;
    font-size: 2em;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.pq-header::after {
    content: "💖";
    position: absolute;
    bottom: 20px;
    right: 10%;
    font-size: 2.5em;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.pq-header h1 {
    font-size: 3em;
    margin: 0 0 10px 0;
    font-weight: 700;
    font-family: 'Georgia', 'Palatino', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.pq-header h1::before {
    content: "💕 ";
}

.pq-header h1::after {
    content: " 💕";
}

.pq-header p {
    font-size: 1.2em;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 20px auto;
    line-height: 1.8;
    font-family: 'Georgia', 'Palatino', serif;
    font-style: italic;
}

.pq-header p::before {
    content: "❤️ ";
}

.pq-privacy-notice {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 15px 25px;
    margin: 20px auto 0 auto;
    max-width: 600px;
    font-size: 0.95em;
    line-height: 1.6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pq-privacy-notice::before {
    content: "🔒 ";
    font-size: 1.2em;
}

.pq-privacy-notice strong {
    font-weight: 600;
}

.pq-content {
    padding: 40px 30px;
}

.pq-content h2 {
    font-family: 'Georgia', 'Palatino', serif;
    color: #667eea;
    margin-bottom: 25px;
}

.pq-welcome-text {
    text-align: center;
    font-size: 1.15em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Georgia', 'Palatino', serif;
    font-style: italic;
}

.pq-welcome-text::before {
    content: "💗 ";
}

.pq-welcome-text::after {
    content: " 💗";
}

.pq-step {
    display: none;
}

.pq-step.pq-active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pq-progress-bar {
    background: linear-gradient(90deg, #f0f0f0 0%, #fef9ff 100%);
    height: 10px;
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1),
                0 2px 10px rgba(255, 107, 157, 0.1);
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.pq-progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2, #ff6b9d);
    height: 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.pq-progress-fill::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.pq-question-counter {
    text-align: center;
    color: #ff6b9d;
    margin-bottom: 25px;
    font-size: 1.05em;
    font-weight: 600;
    font-family: 'Georgia', 'Palatino', serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.pq-question-counter::before {
    content: "💕 ";
}

.pq-question-counter::after {
    content: " 💕";
}

.pq-form-group {
    margin-bottom: 25px;
}

.pq-form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.pq-form-group label::before {
    content: "💝 ";
    margin-right: 5px;
}

.pq-form-group input[type="text"],
.pq-form-group input[type="date"],
.pq-form-group input[type="time"] {
    width: 100%;
    padding: 14px 18px;
    border: 3px solid #e6d9ff;
    border-radius: 15px;
    font-size: 1.05em;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff 0%, #fef9ff 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
}

.pq-form-group input:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.15),
                0 8px 25px rgba(255, 107, 157, 0.2);
    transform: translateY(-2px);
    background: #ffffff;
}

.pq-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pq-radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.pq-radio-group input[type="radio"] {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.pq-question-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff0f8 100%);
    padding: 35px;
    border-radius: 20px;
    border-left: 6px solid #ff6b9d;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.pq-question-box::before {
    content: "💕";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2em;
    opacity: 0.15;
    animation: pulse 2s ease-in-out infinite;
}

.pq-question-box::after {
    content: "💖";
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 1.5em;
    opacity: 0.15;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.pq-question-box h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5em;
    font-family: 'Georgia', 'Palatino', serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.pq-option {
    background: linear-gradient(135deg, #ffffff 0%, #fef9ff 100%);
    padding: 18px 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    border: 3px solid #f0e6ff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
    position: relative;
    overflow: hidden;
}

.pq-option::before {
    content: "💗";
    position: absolute;
    right: 20px;
    font-size: 1.5em;
    opacity: 0;
    transform: scale(0) rotate(-15deg);
    transition: all 0.4s ease;
}

.pq-option:hover {
    border-color: #ff6b9d;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.25),
                0 0 20px rgba(255, 107, 157, 0.15);
    background: linear-gradient(135deg, #fff5f8 0%, #fef9ff 100%);
}

.pq-option:hover::before {
    opacity: 0.6;
    transform: scale(1) rotate(0deg);
}

.pq-option input[type="radio"]:checked ~ label {
    font-weight: 600;
    color: #ff6b9d;
}

.pq-option input[type="radio"] {
    margin-right: 15px;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.pq-option label {
    cursor: pointer;
    flex: 1;
    font-size: 1.05em;
    margin: 0;
}

.pq-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b9d 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.15em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35),
                0 0 20px rgba(255, 107, 157, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.pq-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pq-btn:hover::before {
    width: 300px;
    height: 300px;
}

.pq-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.45),
                0 0 30px rgba(255, 107, 157, 0.3),
                0 0 60px rgba(118, 75, 162, 0.2);
}

.pq-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.pq-btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    margin-left: 15px;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.pq-btn-secondary:hover {
    box-shadow: 0 15px 40px rgba(108, 117, 125, 0.4),
                0 0 30px rgba(108, 117, 125, 0.2);
}

/* Magische Partikel-Effekte */
.pq-magic-particle {
    position: fixed;
    pointer-events: none;
    font-size: 20px;
    animation: float-away 3s ease-out forwards;
    z-index: 9999;
}

@keyframes float-away {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Ergebnis-Styles */
.pq-personal-info {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe6f0 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    border: 3px solid #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
}

.pq-personal-info::before {
    content: "💝";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 1.5em;
    animation: float 3s ease-in-out infinite;
}

.pq-personal-info::after {
    content: "💝";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5em;
    animation: float 3.5s ease-in-out infinite;
}

.pq-result-card {
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.pq-result-card::before {
    content: "💕💖💕";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
    opacity: 0.2;
    animation: float 4s ease-in-out infinite;
}

.pq-result-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.pq-element-badge {
    font-size: 5em;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
}

.pq-element-name {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Georgia', 'Palatino', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 2px;
}

.pq-element-name::before {
    content: "💕 ";
}

.pq-element-name::after {
    content: " 💕";
}

.pq-traits {
    font-size: 1.3em;
    color: #555;
    font-style: italic;
    font-family: 'Georgia', 'Palatino', serif;
}

.pq-info-section {
    background: linear-gradient(135deg, #ffffff 0%, #fef9ff 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 25px;
    border-left: 6px solid #ff6b9d;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.pq-info-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pq-info-section h3 {
    color: #ff6b9d;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-family: 'Georgia', 'Palatino', serif;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

.pq-info-section h3::before {
    content: "💕 ";
    font-size: 0.9em;
}

.pq-info-section h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.pq-info-section h4::before {
    content: "💖 ";
}

.pq-info-section p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.pq-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pq-info-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    padding: 25px;
    border-radius: 18px;
    border: 3px solid #e6d9ff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pq-info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pq-info-box:hover {
    transform: translateY(-5px);
    border-color: #ff6b9d;
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.25),
                0 0 30px rgba(255, 107, 157, 0.15);
}

.pq-info-box:hover::before {
    opacity: 1;
}

.pq-info-box h4 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.pq-info-box ul {
    list-style: none;
    padding-left: 0;
    position: relative;
    z-index: 1;
}

.pq-info-box li {
    padding: 8px 0;
    color: #666;
    line-height: 1.6;
}

.pq-info-box li:before {
    content: "💗 ";
    color: #ff6b9d;
    font-weight: bold;
    margin-right: 10px;
}

.pq-highlight {
    padding: 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff0f7 100%);
    border-radius: 15px;
    margin-top: 20px;
    border: 2px solid #ffd1e3;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
}

.pq-highlight::before {
    content: "💝";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    opacity: 0.3;
}

.pq-highlight strong {
    color: #ff6b9d;
}

.pq-button-group {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    border-radius: 20px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.pq-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9em;
}

.pq-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.pq-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .pq-container {
        margin: 20px 10px;
        border-radius: 15px;
    }
    
    .pq-header h1 {
        font-size: 2em;
    }
    
    .pq-content {
        padding: 25px 20px;
    }
    
    .pq-radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .pq-element-name {
        font-size: 2em;
    }
}

/* Print Styles */
@media print {
    .pq-btn,
    .pq-button-group,
    .pq-footer {
        display: none;
    }
    
    .pq-container {
        box-shadow: none;
    }
}