/* Newsletter Styles */
.newsletter-section {
    padding: 4rem 2rem;
    background: linear-gradient(to top, #000, #1a0020);
    position: relative;
    overflow: hidden;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-container:hover {
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.3);
    transform: translateY(-5px);
}

.newsletter-form {
    color: var(--text-light);
}

.newsletter-form h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.newsletter-form p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check-input {
    margin-top: 0.3rem;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
}

.form-check-input:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--text-light);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.form-check-label a:hover {
    color: var(--gold-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.subscribe-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
    text-align: center;
}

.subscribe-btn:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    transform: translateY(-2px);
}

.subscribe-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Newsletter Nachricht Styles */
.newsletter-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.newsletter-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4CAF50;
}

.newsletter-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #F44336;
}

.newsletter-message.fading {
    opacity: 0;
}

.newsletter-message p {
    margin: 0;
    text-align: left;
    color: inherit;
}

/* Newsletter Bestätigung und Abmeldung Styles */
.newsletter-confirmation,
.newsletter-unsubscribe {
    padding: 6rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #000, #1a0020);
}

.confirmation-success,
.confirmation-error,
.unsubscribe-confirm,
.unsubscribe-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-success h1,
.confirmation-error h1,
.newsletter-unsubscribe h1 {
    margin-bottom: 2rem;
}

.confirmation-actions,
.error-actions,
.form-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.button,
.btn-unsubscribe,
.btn-cancel,
.btn-submit {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cancel {
    background: #555;
}

.button:hover,
.btn-unsubscribe:hover,
.btn-submit:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    transform: translateY(-2px);
}

.btn-cancel:hover {
    background: #777;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.alert-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4CAF50;
}

.alert-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #F44336;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .newsletter-container {
        padding: 1.5rem;
    }
    
    .newsletter-form h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form p {
        font-size: 1rem;
    }
    
    .form-control {
        padding: 0.8rem;
    }
    
    .subscribe-btn {
        padding: 0.8rem;
    }
    
    .confirmation-success,
    .confirmation-error,
    .unsubscribe-confirm,
    .unsubscribe-form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .button,
    .btn-unsubscribe,
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}