.certificate-button {
    background: transparent;
    border: 1px solid #ff6600;
    color: #ff6600;
    padding: 6px 16px;
    font-size:calc(4px + 0.5vw);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.certificate-button:hover {
    background: #ff6600;
    color: #1e1e1e;
}


.certificate-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: min(90vw, 560px);
    max-width: 560px;

    background: #1e1e1e;
    color: #eaeaea;
    padding: 32px 36px;
    border-radius: 18px;
    border: 1px solid rgba(255,102,0,0.45);
    box-shadow: 0 25px 70px rgba(0,0,0,0.7);
    z-index: 999999;

    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    .certificate-box-title {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 14px;
        color: #ff6600;
    }

    .certificate-box-text {
        font-size: 22px;
        line-height: 1.65;
    }

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;

    /* wichtig: Text bleibt IMMER drin */
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: normal;
    overflow: hidden;
}

.certificate-box.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.certificate-qrcode {
    width:25%;
}

@media (max-width: 1100px) {
    .certificate-button {
        display: none;
    }
}
