/* ========== Grundlayout ========== */
body, html {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fff9c4, #ffeaa7); /* Gelber Gradient */
    font-family: 'Arial', sans-serif;
    color: #2d3436;
    min-height: 100vh;
}

/* ========== Zentrierter Container ========== */
.page-background {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    max-width: 1000px;
    width: 100%;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 2px solid #fdcb6e;
}

/* ========== Schöne Buttons ========== */
button, .action-button, .download-btn {
    background: linear-gradient(145deg, #fdcb6e, #e17055);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.4);
    margin: 5px;
}

button:hover, .action-button:hover, .download-btn:hover {
    background: linear-gradient(145deg, #e17055, #d63031);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 203, 110, 0.6);
}

button:active, .action-button:active {
    transform: translateY(0);
}

/* ========== Spezielle Button-Styles ========== */
button[name="paket"] {
    background: linear-gradient(145deg, #00b894, #00cec9);
    font-size: 16px;
    padding: 15px 30px;
}

button[name="paket"]:hover {
    background: linear-gradient(145deg, #00a085, #00b894);
}

/* ========== Eingabefelder ========== */
input[type="text"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: #ffffff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
    border-color: #fdcb6e;
    outline: none;
    box-shadow: 0 0 10px rgba(253, 203, 110, 0.3);
}

/* ========== Überschriften ========== */
h2, h3 {
    color: #2d3436;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h2 {
    border-bottom: 3px solid #fdcb6e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* ========== Listen ========== */
ul {
    list-style: none;
    padding: 0;
}

li {
    background: #fff;
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #fdcb6e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========== Tabellen ========== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

td {
    padding: 10px;
    vertical-align: top;
}

label {
    font-weight: bold;
    color: #2d3436;
}

/* ========== Team-Bereich ========== */
.rahmen {
    max-width: 1050px;
    width: 100%;
    margin: 20px auto;
    background: linear-gradient(145deg, #fdcb6e, #e17055);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 15px;
    text-align: left;
    padding: 25px;
    color: white;
}

.team-liste {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    margin: 20px auto;
    padding: 25px;
    max-width: 1050px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 15px;
    border: 2px solid #fdcb6e;
}

/* ========== Action Buttons Container ========== */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

/* ========== Modal ========== */
#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

#confirmModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    z-index: 1000;
    border: 2px solid #fdcb6e;
}

#confirmModal p {
    margin-bottom: 20px;
    color: #2d3436;
    font-weight: bold;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    button, .action-button {
        width: 100%;
        margin: 5px 0;
    }
}

/* ========== Team-Liste Grid Layout (spezifisch) ========== */
.team-liste .team-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    margin-top: 20px;
    width: 100%;
}

.team-liste .team-header {
    display: contents !important;
    font-weight: bold;
}

.team-liste .team-member {
    display: contents !important;
}

.team-liste .header-item {
    background: linear-gradient(145deg, #fdcb6e, #e17055);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 2px;
}

.team-liste .member-item {
    background: #ffffff;
    color: #2d3436 !important; /* Dunkle Schrift */
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #ddd;
    margin: 2px;
    transition: transform 0.2s ease;
}

.team-liste .member-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

/* Responsive für Team-Liste */
@media (max-width: 768px) {
    .team-liste .team-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .team-liste .team-container {
        grid-template-columns: 1fr !important;
    }
}

