
/* Dunklerer Container mit Rand */
    .model-container {
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
    border-radius: 1rem;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    position: relative;
}

    /* Kontrastreiches Modell */
    model-viewer {
        --poster-color: transparent;
        --progress-bar-color: #007bff;
        --progress-bar-height: 3px;
        background: linear-gradient(135deg, #e0e0e0, #f8f9fa); /* heller Grau-Verlauf */
    }

    /* Verbesserte Ladeanimation */
    .loading-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
        background: rgba(255,255,255,0.9);
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        display: none; /* Standardmäßig versteckt */
    }

    /* Schatten für das Modell */
    .model-shadow {
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    }

    /* Sendeanimation */

    /* Korrigierte Animation mit Verzögerung */
.success-animation {
    margin: 0 auto;
    width: 150px;
    opacity: 0;
    animation: fadeIn 0.3s ease-out 0.3s forwards;
}

.checkmark {
    width: 100%;
    height: auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #198754;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #198754;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.9s forwards, 
               scale 0.3s ease-in-out 0.9s both;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}