body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background: radial-gradient(1200px 600px at 15% 0%, #f5f8ff 0%, #f9f9fb 40%, #ffffff 100%);
    color: #1e1e1e;
}

h1 {
    margin: 26px 30px 6px 30px;
    font-size: 28px;
}

p {
    margin: 0 30px 16px 30px;
    color: #4a4a4a;
    font-size: 16px;
}

.container {
    display: flex;
    gap: 16px;
    margin: 20px 30px 40px 30px;
    align-items: flex-start;
}

/* Buttons oben */
.buttons {
    margin: 10px 30px 10px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

button {
    font-size: 16px;
    padding: 10px 16px;
    margin-right: 0;
    border: 1px solid #d0d6e0;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f4f8 100%);
    color: #1f2a44;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

button:hover {
    border-color: #b9c4d8;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Passwortanzeige */
#solutionText {
    display: none;
    margin-top: 2px;
    font-size: 16px;
    font-weight: 600;
    color: #1a6a2b;
    background: #e9f8ee;
    border: 1px solid #ccebd6;
    padding: 8px 12px;
    border-radius: 10px;
}

#solutionText span {
    color: black;
}

/* Texte links */
.texts {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1 1 520px;
}

.dropzone {
    display: flex;
    flex-direction: column;
    min-height: 120px;
    width: 560px;
    border: 2px dashed #a9b3c5;
    padding: 16px;
    background: #f7f8fb;
    font-size: 17px;
    line-height: 1.35;
    box-sizing: border-box;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dropzone:hover {
    border-color: #8ea2c7;
    background: #f4f6fb;
}

.dropzone.highlight {
    border-color: #4f7edb;
    background: #eef4ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 4px 12px rgba(79, 126, 219, 0.18);
}

/* Bilder rechts in 2 Spalten, groÃŸe Bilder */
.images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 20px;
    justify-items: start;
    align-content: start;
    flex: 0 0 460px;
    position: sticky;
    top: 20px;
}

.images img {
    width: 250px;
    max-width: 100%;
    cursor: grab;
    border: 1px solid #d3d7df;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.images img.dragging {
    opacity: 0.7;
}

.dropzone img {
    width: 240px;
    max-width: 100%;
    margin-top: 10px;
    align-self: flex-start;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        gap: 30px;
    }

    .dropzone {
        width: 100%;
    }

    .images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        flex: 1 1 auto;
        position: static;
    }
}

@media (max-width: 700px) {
    h1 {
        margin: 18px 18px 6px 18px;
        font-size: 24px;
    }

    p,
    .buttons,
    .container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .images {
        grid-template-columns: 1fr;
    }

    .images img,
    .dropzone img {
        width: 100%;
    }
}
