/* Optimierte frontend.css für das Gaben-O-Mat Plugin */

/* Basis-Container mit verbesserten Standardwerten */
.gaben-o-mat-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.6;
    position: relative;
}

/* Gemeinsame Stile für alle Abschnitte */
.gom-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* ===== WILLKOMMENSSEITE ===== */
.gom-welcome-screen {
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.gom-welcome-content {
    max-width: 650px;
    margin: 0 auto;
}

.gom-welcome-image {
    margin-bottom: 25px;
}

.gom-welcome-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.gom-welcome-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.gom-welcome-text {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.gom-welcome-text p {
    margin-bottom: 15px;
}

/* Datenschutzzustimmung */
.gom-data-consent {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
    border-left: 4px solid #2271b1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gom-data-consent h3 {
    font-size: 20px;
    color: #2271b1;
    margin-top: 0;
    margin-bottom: 15px;
}

.gom-data-consent p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
}

.gom-consent-checkbox {
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(34, 113, 177, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.gom-consent-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
    font-weight: 500;
}

.gom-consent-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 22px;
    height: 22px;
    accent-color: #2271b1;
    cursor: pointer;
}

/* Start-Button */
.gom-start-button {
    background-color: #4CAF50;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
    transform: translateY(0);
    margin-top: 25px;
    min-width: 200px;
}

.gom-start-button:hover {
    background-color: #45a049;
    box-shadow: 0 6px 14px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.gom-start-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.gom-start-button:disabled {
    background-color: #cccccc;
    color: #888888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ===== FORTSCHRITTSANZEIGE ===== */
#gom-form-progress {
    position: sticky;
    top: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.gom-progress-bar {
    height: 12px;
    background-color: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.gom-progress-indicator {
    height: 100%;
    background-color: #2271b1;
    transition: width 0.5s ease;
}

.gom-progress-text {
    font-size: 14px;
    color: #666;
    text-align: right;
    margin-top: 5px;
    font-weight: bold;
}

/* ===== FRAGEBOGEN-WRAPPER ===== */
#gom-form-wrapper {
    padding: 0;
    position: relative;
}

/* ===== FRAGEN ===== */
.gom-question-step {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin-bottom: 30px;
    position: relative;
    animation: fadeIn 0.5s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

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

.gom-category-indicator {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 8px 15px;
    background-color: #2271b1;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 30px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gom-step-indicator {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    background: #f8f9fa;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
}

.gom-question-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.4;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 15px;
}

.gom-answers {
    padding: 8px 0;
    margin-bottom: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 12px;
    padding: 16px;
}

/* ===== NAVIGATION ===== */
.gom-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.gom-prev-btn {
    background-color: #f0f0f0;
    color: #666;
}

.gom-next-btn,
.gom-submit-btn {
    background-color: #2271b1;
    color: #fff;
    margin-left: auto; /* Immer rechts ausrichten */
}

.gom-prev-btn,
.gom-next-btn,
.gom-submit-btn {
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.25s ease;
    border: none;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gom-prev-btn:hover {
    background-color: #e0e0e0;
}

.gom-next-btn:hover,
.gom-submit-btn:hover {
    background-color: #135e96;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Pfeile für die Navigations-Buttons */
.gom-prev-btn::before {
    content: '←';
    margin-right: 5px;
}

.gom-next-btn::after {
    content: '→';
    margin-left: 5px;
}

.gom-submit-btn::after {
    content: '✓';
    margin-left: 5px;
}

/* ===== MULTIPLE CHOICE ANTWORTEN - VERBESSERTES DESIGN ===== */
.gom-answer-option {
    margin-bottom: 8px; /* Reduzierter Abstand zwischen Antworten */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Trennlinie zwischen Antworten */
.gom-answer-option:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 20%, #e0e0e0 80%, transparent 100%);
    opacity: 0.6;
}

.gom-answer-option label {
    display: block;
    padding: 18px 24px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 2px; /* Kleiner Rand für bessere Optik */
}

/* Subtiler Glanz-Effekt */
.gom-answer-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.gom-answer-option label:hover::before {
    left: 100%;
}

.gom-answer-option label:hover {
    border-color: #b8d4f0;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(34, 113, 177, 0.12),
        0 3px 10px rgba(0, 0, 0, 0.08);
}

.gom-answer-option label:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gom-answer-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Verbesserter Text-Style */
.gom-answer-option .gom-answer-text {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    transition: all 0.3s ease;
}

.gom-answer-option label:hover .gom-answer-text {
    color: #2271b1;
    font-weight: 500;
}

/* Ausgewählter Zustand */
.gom-answer-option input[type="radio"]:checked + .gom-answer-text {
    font-weight: 600;
    color: #2271b1;
}

.gom-answer-option.selected label {
    border-color: #2271b1;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    box-shadow: 
        0 8px 25px rgba(34, 113, 177, 0.2),
        0 0 0 3px rgba(34, 113, 177, 0.1);
    transform: translateY(-1px);
}

/* Auswahl-Indikator (Checkmark) */
.gom-answer-option.selected label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #2271b1;
    background: rgba(34, 113, 177, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmark-appear 0.3s ease;
}

@keyframes checkmark-appear {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Ripple-Effekt beim Klicken - verbessert */
.gom-answer-option.selected label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(34, 113, 177, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple-effect 0.6s ease-out;
}

@keyframes ripple-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* ===== CHECKBOX-OPTIONEN FÜR MEHRFACHAUSWAHL - VERBESSERTES DESIGN ===== */
.gom-checkbox-option {
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Trennlinie zwischen Checkbox-Antworten */
.gom-checkbox-option:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 20%, #e0e0e0 80%, transparent 100%);
    opacity: 0.6;
}

.gom-checkbox-option label {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 2px;
    position: relative;
    overflow: hidden;
}

.gom-checkbox-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.gom-checkbox-option label:hover::before {
    left: 100%;
}

.gom-checkbox-option label:hover {
    border-color: #b8d4f0;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(34, 113, 177, 0.12),
        0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Verbesserter Checkbox-Style */
.gom-checkbox-option input[type="checkbox"] {
    margin-right: 16px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2271b1;
    transform: scale(1.2);
    position: relative;
    z-index: 2;
}

/* Verbesserter Text für Checkboxen */
.gom-checkbox-option .gom-answer-text {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
}

.gom-checkbox-option label:hover .gom-answer-text {
    color: #2271b1;
    font-weight: 500;
}

.gom-checkbox-option.selected label {
    border-color: #2271b1;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    box-shadow: 
        0 8px 25px rgba(34, 113, 177, 0.2),
        0 0 0 3px rgba(34, 113, 177, 0.1);
    transform: translateY(-1px);
}

.gom-checkbox-option.selected .gom-answer-text {
    color: #2271b1;
    font-weight: 600;
}

/* ===== SKALA-ANTWORTEN - VERBESSERTES DESIGN ===== */
.gom-scale-answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gom-scale-options {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.gom-scale-option {
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

.gom-scale-option label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #666;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 3px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

/* Glanz-Effekt für Skala-Optionen */
.gom-scale-option label::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(0deg);
    transition: transform 0.6s ease;
    z-index: 1;
}

.gom-scale-option label:hover::before {
    transform: rotate(360deg);
}

.gom-scale-option label:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border-color: #b8d4f0;
    color: #2271b1;
    box-shadow: 
        0 8px 25px rgba(34, 113, 177, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gom-scale-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gom-scale-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #2271b1 0%, #1a5a8a 100%);
    border-color: #1a5a8a;
    color: white;
    font-weight: 700;
    transform: scale(1.2);
    box-shadow: 
        0 12px 30px rgba(34, 113, 177, 0.4),
        0 0 0 4px rgba(34, 113, 177, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 3;
}

/* Auswahl-Animation */
.gom-scale-option input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    animation: scale-selection-pulse 0.6s ease;
}

@keyframes scale-selection-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.gom-scale-labels {
    position: relative;
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    padding: 0 28px; /* Zentrierung unter den Buttons */
}

.gom-scale-labels span {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 13px;
    border: 1px solid #e9ecef;
}

/* Verbindungslinie zwischen den Skalapunkten - verbessert */
.gom-scale-options::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 50%, #e9ecef 100%);
    border-radius: 2px;
    z-index: 1;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== JA/NEIN-ANTWORTEN - VERBESSERTES DESIGN ===== */
.gom-yes-no-answer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gom-yes-no-answer .gom-answer-option {
    margin: 0;
    flex: 1;
    max-width: 200px;
}

.gom-yes-no-answer .gom-answer-option label {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 24px 20px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Ja-Option Styling */
.gom-yes-no-answer .gom-answer-option:first-child label {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8f1 100%);
    border: 2px solid #c8e6c9;
    color: #2e7d32;
}

.gom-yes-no-answer .gom-answer-option:first-child label:hover {
    background: linear-gradient(135deg, #dcedc8 0%, #e8f5e8 100%);
    border-color: #81c784;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.gom-yes-no-answer .gom-answer-option:first-child.selected label {
    background: linear-gradient(135deg, #4CAF50 0%, #388e3c 100%);
    border-color: #2e7d32;
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(76, 175, 80, 0.3),
        0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Nein-Option Styling */
.gom-yes-no-answer .gom-answer-option:last-child label {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    border: 2px solid #f8bbd9;
    color: #c62828;
}

.gom-yes-no-answer .gom-answer-option:last-child label:hover {
    background: linear-gradient(135deg, #ffcdd2 0%, #ffebee 100%);
    border-color: #f48fb1;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.2);
}

.gom-yes-no-answer .gom-answer-option:last-child.selected label {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    border-color: #c62828;
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(244, 67, 54, 0.3),
        0 0 0 3px rgba(244, 67, 54, 0.2);
}

/* Icons für Ja/Nein */
.gom-yes-no-answer .gom-answer-option:first-child label::before {
    content: '✓';
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.7;
}

.gom-yes-no-answer .gom-answer-option:last-child label::before {
    content: '✗';
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.7;
}

.gom-yes-no-answer .gom-answer-option.selected label::before {
    opacity: 1;
    animation: yes-no-icon-bounce 0.5s ease;
}

@keyframes yes-no-icon-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* ===== KONTAKTFORMULAR ===== */
.gom-contact-step {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin-bottom: 30px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.gom-contact-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    flex-grow: 1;
}

.gom-form-field {
    margin-bottom: 20px;
}

.gom-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.gom-form-field input,
.gom-form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.gom-form-field input:focus,
.gom-form-field textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
    outline: none;
}

.gom-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* E-Mail-Kopie Checkbox */
.gom-form-field input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    accent-color: #2271b1;
}

.gom-form-field input[type="checkbox"] + span {
    font-weight: normal;
}

/* Contact-Form Navigation */
.gom-contact-step .gom-navigation {
    margin-top: auto;
}

/* ===== ERGEBNISSE ===== */
.gom-results-step {
    margin-top: 30px;
    padding-bottom: 40px;
}

.gom-results-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #2271b1;
    font-weight: 600;
}

.gom-results-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Chart und Legende */
.gom-results-chart-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
}

.gom-results-chart-container {
    flex: 1 1 65%;
    min-width: 280px;
    height: 400px;
    position: relative;
}

.gom-chart-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

.gom-chart-legend {
    flex: 0 1 30%;
    min-width: 200px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 43px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gom-chart-legend h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.gom-chart-legend ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gom-chart-legend li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.gom-chart-legend li:hover {
    background-color: #f0f0f0;
}

.gom-legend-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gom-legend-text {
    font-size: 14px;
    font-weight: 500;
}

/* Ergebnistext und Karten */
.gom-results-text {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* VERBESSERTES FARBSCHEMA - MEHR LESBARE FARBEN */
:root {
    --result-color-1: #4CAF50;  /* Grün */
    --result-color-2: #2196F3;  /* Blau */
    --result-color-3: #FF9800;  /* Orange */
    --result-color-4: #E91E63;  /* Pink */
    --result-color-5: #9C27B0;  /* Lila */
    --result-color-6: #00BCD4;  /* Cyan */
    --result-color-7: #607D8B;  /* Blaugrau */
    --result-color-8: #795548;  /* Braun */
    --result-color-9: #F44336;  /* Rot */
    --result-color-10: #3F51B5; /* Indigo */
}

.gom-result-item {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Verschiedene Farben für die Ergebniskästen - ERWEITERT */
.gom-result-item:nth-child(1) { border-top: 5px solid var(--result-color-1); }
.gom-result-item:nth-child(2) { border-top: 5px solid var(--result-color-2); }
.gom-result-item:nth-child(3) { border-top: 5px solid var(--result-color-3); }
.gom-result-item:nth-child(4) { border-top: 5px solid var(--result-color-4); }
.gom-result-item:nth-child(5) { border-top: 5px solid var(--result-color-5); }
.gom-result-item:nth-child(6) { border-top: 5px solid var(--result-color-6); }
.gom-result-item:nth-child(7) { border-top: 5px solid var(--result-color-7); }
.gom-result-item:nth-child(8) { border-top: 5px solid var(--result-color-8); }
.gom-result-item:nth-child(9) { border-top: 5px solid var(--result-color-9); }
.gom-result-item:nth-child(10) { border-top: 5px solid var(--result-color-10); }

/* Fallback für weitere Ergebnisse - immer lesbare Farben */
.gom-result-item:nth-child(n+11) { border-top: 5px solid #2271b1; }

.gom-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gom-result-media {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    overflow: hidden;
}

.gom-result-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 120px;
    object-fit: contain;
}

.gom-result-icon img {
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.gom-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gom-result-item h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

/* Überschriften-Farben - ERWEITERT */
.gom-result-item:nth-child(1) h4 { color: var(--result-color-1); }
.gom-result-item:nth-child(2) h4 { color: var(--result-color-2); }
.gom-result-item:nth-child(3) h4 { color: var(--result-color-3); }
.gom-result-item:nth-child(4) h4 { color: var(--result-color-4); }
.gom-result-item:nth-child(5) h4 { color: var(--result-color-5); }
.gom-result-item:nth-child(6) h4 { color: var(--result-color-6); }
.gom-result-item:nth-child(7) h4 { color: var(--result-color-7); }
.gom-result-item:nth-child(8) h4 { color: var(--result-color-8); }
.gom-result-item:nth-child(9) h4 { color: var(--result-color-9); }
.gom-result-item:nth-child(10) h4 { color: var(--result-color-10); }
.gom-result-item:nth-child(n+11) h4 { color: #2271b1; }

.gom-result-percentage {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 15px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Prozentanzeige-Hintergründe - ERWEITERT MIT BESSERER LESBARKEIT */
.gom-result-item:nth-child(1) .gom-result-percentage { background-color: var(--result-color-1); }
.gom-result-item:nth-child(2) .gom-result-percentage { background-color: var(--result-color-2); }
.gom-result-item:nth-child(3) .gom-result-percentage { background-color: var(--result-color-3); }
.gom-result-item:nth-child(4) .gom-result-percentage { background-color: var(--result-color-4); }
.gom-result-item:nth-child(5) .gom-result-percentage { background-color: var(--result-color-5); }
.gom-result-item:nth-child(6) .gom-result-percentage { background-color: var(--result-color-6); }
.gom-result-item:nth-child(7) .gom-result-percentage { background-color: var(--result-color-7); }
.gom-result-item:nth-child(8) .gom-result-percentage { background-color: var(--result-color-8); }
.gom-result-item:nth-child(9) .gom-result-percentage { background-color: var(--result-color-9); }
.gom-result-item:nth-child(10) .gom-result-percentage { background-color: var(--result-color-10); }
.gom-result-item:nth-child(n+11) .gom-result-percentage { background-color: #2271b1; }

.gom-result-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

/* Kontakt-Button - ERWEITERT */
.gom-contact-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.2s ease;
    font-weight: 500;
    margin-top: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gom-result-item:nth-child(1) .gom-contact-link { background-color: var(--result-color-1); }
.gom-result-item:nth-child(2) .gom-contact-link { background-color: var(--result-color-2); }
.gom-result-item:nth-child(3) .gom-contact-link { background-color: var(--result-color-3); }
.gom-result-item:nth-child(4) .gom-contact-link { background-color: var(--result-color-4); }
.gom-result-item:nth-child(5) .gom-contact-link { background-color: var(--result-color-5); }
.gom-result-item:nth-child(6) .gom-contact-link { background-color: var(--result-color-6); }
.gom-result-item:nth-child(7) .gom-contact-link { background-color: var(--result-color-7); }
.gom-result-item:nth-child(8) .gom-contact-link { background-color: var(--result-color-8); }
.gom-result-item:nth-child(9) .gom-contact-link { background-color: var(--result-color-9); }
.gom-result-item:nth-child(10) .gom-contact-link { background-color: var(--result-color-10); }
.gom-result-item:nth-child(n+11) .gom-contact-link { background-color: #2271b1; }

.gom-contact-link:before {
    content: '✉️';
    margin-right: 8px;
}

.gom-contact-link:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    filter: brightness(1.1);
    color: white;
    text-decoration: none;
}

/* Details-Button - ERWEITERT */
.gom-show-details-button {
    margin-top: 15px;
}

.gom-show-details-btn {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
}

.gom-result-item:nth-child(1) .gom-show-details-btn:hover { background-color: rgba(76, 175, 80, 0.1); color: var(--result-color-1); }
.gom-result-item:nth-child(2) .gom-show-details-btn:hover { background-color: rgba(33, 150, 243, 0.1); color: var(--result-color-2); }
.gom-result-item:nth-child(3) .gom-show-details-btn:hover { background-color: rgba(255, 152, 0, 0.1); color: var(--result-color-3); }
.gom-result-item:nth-child(4) .gom-show-details-btn:hover { background-color: rgba(233, 30, 99, 0.1); color: var(--result-color-4); }
.gom-result-item:nth-child(5) .gom-show-details-btn:hover { background-color: rgba(156, 39, 176, 0.1); color: var(--result-color-5); }
.gom-result-item:nth-child(6) .gom-show-details-btn:hover { background-color: rgba(0, 188, 212, 0.1); color: var(--result-color-6); }
.gom-result-item:nth-child(7) .gom-show-details-btn:hover { background-color: rgba(96, 125, 139, 0.1); color: var(--result-color-7); }
.gom-result-item:nth-child(8) .gom-show-details-btn:hover { background-color: rgba(121, 85, 72, 0.1); color: var(--result-color-8); }
.gom-result-item:nth-child(9) .gom-show-details-btn:hover { background-color: rgba(244, 67, 54, 0.1); color: var(--result-color-9); }
.gom-result-item:nth-child(10) .gom-show-details-btn:hover { background-color: rgba(63, 81, 181, 0.1); color: var(--result-color-10); }
.gom-result-item:nth-child(n+11) .gom-show-details-btn:hover { background-color: rgba(34, 113, 177, 0.1); color: #2271b1; }

/* Unterbereiche */
.gom-subtasks-container {
    margin: 10px 0 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.5s ease;
}

.gom-subtasks-list h3 {
    color: #2271b1;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.gom-subtask-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.gom-subtask-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.gom-subtask-item:hover {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gom-subtask-media {
    flex: 0 0 100px;
    margin-right: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gom-subtask-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gom-subtask-icon {
    width: 50px;
    height: auto;
    margin-top: 10px;
}

.gom-subtask-content {
    flex: 1;
    min-width: 200px;
}

.gom-subtask-content h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.gom-subtask-description {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.gom-subtask-contact {
    color: #555;
    font-size: 14px;
    background-color: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}

.gom-subtask-contact .gom-contact-link {
    display: inline-block;
    font-size: 14px;
    padding: 5px 10px;
    margin-left: 5px;
}

/* Loading und Fehler */
.gom-loading {
    text-align: center;
    padding: 30px;
    color: #666;
}

.gom-loading .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 113, 177, 0.1);
    border-radius: 50%;
    border-top-color: #2271b1;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

.gom-error {
    padding: 15px;
    background-color: #f9e9e9;
    color: #c00;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    border-left: 4px solid #c00;
}

/* Responsive Anpassungen für Desktop */
@media (min-width: 992px) {
    .gom-chart-legend {
        flex: 1 1 100%;
        margin-top: 0;
    }
    
    .gom-chart-legend ul {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
}

/* Media Queries für Responsivität */
@media (max-width: 1200px) {
    .gom-results-text {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .gom-welcome-screen {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .gom-welcome-title {
        font-size: 28px;
    }
    
    .gom-results-chart-container {
        height: 350px;
    }
    
    .gom-chart-legend {
        flex: 1 1 100%;
        margin-top: 0;
    }
    
    .gom-chart-legend ul {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .gaben-o-mat-container {
        padding: 15px;
    }
    
    .gom-welcome-screen,
    .gom-question-step,
    .gom-contact-step {
        padding: 25px;
    }
    
    .gom-welcome-title {
        font-size: 24px;
    }
    
    .gom-welcome-text {
        font-size: 16px;
    }
    
    .gom-results-text {
        grid-template-columns: 1fr;
    }
    
    .gom-scale-answer {
        max-width: 100%;
        padding: 20px 15px;
    }
    
    .gom-scale-option label {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .gom-scale-labels {
        font-size: 12px;
        padding: 0 24px;
    }
    
    .gom-subtask-item {
        flex-direction: column;
    }
    
    .gom-subtask-media {
        margin-right: 0;
        text-align: center;
    }
    
    .gom-yes-no-answer {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .gom-yes-no-answer .gom-answer-option {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
    }
    
    .gom-contact-form {
        grid-template-columns: 1fr;
    }
    
    /* Verbesserte Navigation für mobile Geräte */
    .gom-navigation {
        gap: 10px;
    }
    
    .gom-prev-btn, 
    .gom-next-btn,
    .gom-submit-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    /* Antworten-Optionen für Mobile */
    .gom-answer-option label,
    .gom-checkbox-option label {
        padding: 16px 20px;
        border-radius: 10px;
    }
    
    .gom-answer-option .gom-answer-text,
    .gom-checkbox-option .gom-answer-text {
        font-size: 15px;
    }
    
    .gom-checkbox-option input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 14px;
    }
}

@media (max-width: 576px) {
    .gom-question-step,
    .gom-contact-step,
    .gom-results-chart-wrapper {
        padding: 20px;
    }
    
    .gom-welcome-title {
        font-size: 22px;
    }
    
    .gom-welcome-text {
        font-size: 15px;
    }
    
    .gom-question-title {
        font-size: 18px;
    }
    
    .gom-results-title {
        font-size: 22px;
    }
    
    .gom-scale-option label {
        width: 44px;
        height: 44px;
        line-height: 44px;
    }
    
    .gom-scale-options::before {
        top: 22px;
    }
    
    .gom-navigation {
        flex-direction: column;
    }
    
    .gom-next-btn, 
    .gom-submit-btn {
        margin-left: 0;
        align-self: stretch;
    }
    
    .gom-prev-btn {
        align-self: stretch;
        order: 2;
    }
    
    .gom-answer-option label,
    .gom-checkbox-option label {
        padding: 14px 16px;
    }
    
    .gom-answer-option:not(:last-child)::after,
    .gom-checkbox-option:not(:last-child)::after {
        left: 16px;
        right: 16px;
    }
}

/* Anpassungen für Touch-Geräte */
@media (pointer: coarse) {
    .gom-answer-option label,
    .gom-checkbox-option label {
        min-height: 44px;
    }
    
    .gom-prev-btn, 
    .gom-next-btn,
    .gom-submit-btn,
    .gom-show-details-btn {
        min-height: 44px;
    }
    
    .gom-scale-option label {
        width: 44px;
        height: 44px;
    }
}

/* Print-Styles */
@media print {
    .gaben-o-mat-container {
        padding: 0;
        max-width: 100%;
    }
    
    .gom-welcome-screen,
    .gom-form-progress,
    .gom-navigation,
    .gom-question-step,
    .gom-contact-step {
        display: none !important;
    }
    
    .gom-results-step {
        display: block !important;
        padding: 0;
    }
    
    .gom-results-chart-container {
        height: 350px;
        box-shadow: none;
    }
    
    .gom-result-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .gom-show-details-btn {
        display: none;
    }
    
    .gom-subtasks-container {
        display: block !important;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===== MODAL FÜR UNTERBEREICHE ===== */

/* Modal Overlay */
.gom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.gom-modal-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gom-modal-overlay.active .gom-modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.gom-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.gom-modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #2271b1;
}

.gom-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
}

.gom-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

/* Modal Content */
.gom-modal-content {
    padding: 30px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

/* Card Grid für Unterbereiche */
.gom-subtasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gom-subtask-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
}

.gom-subtask-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

/* Card Header mit Bild/Icon */
.gom-subtask-card-header {
    height: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gom-subtask-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(34, 113, 177, 0.1), transparent);
    animation: subtle-rotate 10s linear infinite;
}

@keyframes subtle-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gom-subtask-card-image img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.gom-subtask-card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

/* Card Body */
.gom-subtask-card-body {
    padding: 20px;
}

.gom-subtask-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.gom-subtask-card-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Card Footer mit Kontakt */
.gom-subtask-card-footer {
    padding: 0 20px 20px;
    margin-top: auto;
}

.gom-subtask-contact-info {
    background: rgba(34, 113, 177, 0.05);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    color: #555;
}

.gom-subtask-contact-info strong {
    color: #2271b1;
    display: block;
    margin-bottom: 5px;
}

.gom-subtask-contact-link {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.gom-subtask-contact-link:hover {
    color: #135e96;
    text-decoration: none;
}

.gom-subtask-contact-link::before {
    content: '📧';
    font-size: 12px;
}

/* Empty State */
.gom-subtasks-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.gom-subtasks-empty-icon {
    font-size: 4em;
    color: #ddd;
    margin-bottom: 20px;
}

.gom-subtasks-empty h3 {
    color: #999;
    margin-bottom: 10px;
}

/* Loading State */
.gom-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
}

.gom-modal-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 113, 177, 0.1);
    border-radius: 50%;
    border-top-color: #2271b1;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .gom-modal-overlay {
        padding: 10px;
    }
    
    .gom-modal-container {
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .gom-modal-header {
        padding: 20px;
    }
    
    .gom-modal-title {
        font-size: 20px;
    }
    
    .gom-modal-content {
        padding: 20px;
    }
    
    .gom-subtasks-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gom-subtask-card-header {
        height: 100px;
    }
    
    .gom-subtask-card-body {
        padding: 15px;
    }
    
    .gom-subtask-card-footer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 576px) {
    .gom-modal-header {
        padding: 15px;
    }
    
    .gom-modal-content {
        padding: 15px;
    }
    
    .gom-subtask-card-header {
        height: 80px;
    }
    
    .gom-subtask-card-icon img {
        width: 50px;
        height: 50px;
    }
}