/* Grundlayout */
body {
    font-family: Arial, sans-serif;
    padding: 15px;
    line-height: 1.5;
    background: #f9f9f9;
}

body {
    font-size: 14px; /* Desktop */
}

@media (max-width: 600px) {
    body {
        font-size: 16px; /* Mobile */
    }
}

/* Inputs & Selects */
input, select {
    display: block;
 /*   width: 100%; */ /* volle Breite auf Mobile */
    margin-bottom: 15px;
    padding: 12px 10px; /* größere Touch-Fläche */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Buttons */
button {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    transition: background 0.2s;
}
button:hover {
    background-color: #0056b3;
}

/* Menu */
.menu {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
}

/* Links */
a {
    text-decoration: none;
    color: #007bff;
    margin-right: 10px;
    word-break: break-word;
}

/* Messages */
.message {
    color: green;
    font-size: 16px;
}
.error {
    color: red;
    font-size: 16px;
}

/* Modal Hintergrund */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 10px;
}

/* Modal Inhalt */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 100%-10px;
    max-width: 500px;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Modal Aktionen (Buttons) */
.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-actions button {
    flex: 1 1 40%;
    min-width: 120px;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.modal-actions .danger {
    background: #d9534f;
    color: white;
    border: none;
}
.modal-actions .danger:hover {
    background: #c9302c;
}

/* Responsive Anpassungen */
@media (max-width: 480px) {
    body { padding: 10px; }
    .modal-content { font-size: 16px; padding: 10px; }
    .modal-actions button { flex: 1 1 100%; min-width: auto; }
}