/* Grundlegende Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a4b8c, #0d2d56);
    min-height: 100vh;
    color: white;
}

/* Container für den Gutschein */
.gutschein-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header mit Logo und Titel */
header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

h1 {
    font-size: 2rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: #ffcc00;
}

/* Hauptinhalt */
.gutschein-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
    font-size: 1.5rem;
    margin-top: 0;
    text-align: center;
    color: #ffcc00;
}

.einloesbar {
    font-size: 1.1rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 25px;
    color: #aad4ff;
}

.leistungen {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #ff9800;
}

.leistungen h3 {
    margin-top: 0;
    text-align: center;
    font-size: 1.3rem;
    color: #ffcc00;
}

.leistungen ul {
    padding-left: 0;
    list-style-type: none;
}

.leistungen li {
    margin-bottom: 12px;
    line-height: 1.5;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.leistung-icon {
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: bold;
}

/* Button */
#einloesen-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #ff9800, #ff5722);
    color: #0d2d56;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#einloesen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Modal/Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: linear-gradient(135deg, #0d2d56, #1a4b8c);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal h2 {
    color: #ffcc00;
    margin-bottom: 20px;
}

.modal p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.modal-logo {
    max-width: 100px;
    margin-top: 15px;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.5rem;
    color: #ff9800;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ffcc00;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .gutschein-content {
        padding: 15px;
    }
    
    .leistungen {
        padding: 15px;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 90%;
    }
}