/* CSS für Fotobox Gewinnspiel - Schwarz/Orange Design */
:root {
    --primary-color: #ff6600;      /* Orange */
    --primary-dark: #e55a00;       /* Dunkleres Orange */
    --secondary-color: #000000;     /* Schwarz */
    --secondary-light: #333333;     /* Dunkelgrau */
    --background-light: #f8f9fa;    /* Heller Hintergrund */
    --text-light: #666666;          /* Grauer Text */
    --white: #ffffff;
    --success-color: #28a745;
    --error-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--white);
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 3px solid var(--primary-color);
}

.logo-container {
    margin-bottom: 20px;
}

.company-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
}

.image-section {
    margin-bottom: 30px;
    text-align: center;
}

.image-placeholder {
    background: var(--background-light);
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contest-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
}

.info-section {
    margin-bottom: 30px;
}

.prize-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.prize-info h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.prize-text {
    font-size: 1.1rem;
    font-weight: 400;
}

.participation-rules {
    background: var(--background-light);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.participation-rules h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.participation-rules ol {
    padding-left: 20px;
}

.participation-rules li {
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--secondary-color);
}

.participation-rules ul {
    margin-top: 8px;
    padding-left: 20px;
}

.participation-rules ul li {
    margin-bottom: 5px;
    list-style-type: disc;
}

.participation-rules a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.participation-rules a:hover {
    text-decoration: underline;
}

.important-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: #856404;
}

.important-notice strong {
    color: #664d03;
}

.form-section {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    margin-bottom: 20px;
}

.form-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.registration-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--secondary-color);
}

.social-platform-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.platform-option {
    position: relative;
}

.platform-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.platform-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    text-align: center;
}

.platform-label:hover {
    border-color: var(--primary-color);
    background: rgba(255, 102, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.platform-label:hover .facebook-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.platform-label:hover .instagram-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.platform-option input[type="radio"]:checked + .platform-label {
    border-color: var(--primary-color);
    background: rgba(255, 102, 0, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
}

.facebook-icon {
    color: #1877F2; /* Facebook Blau */
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-option input[type="radio"]:checked + .platform-label .facebook-icon {
    color: #1877F2;
    text-shadow: 0 0 10px rgba(24, 119, 242, 0.3);
}

.platform-option input[type="radio"]:checked + .platform-label .instagram-icon {
    filter: brightness(1.2);
    text-shadow: 0 0 10px rgba(225, 48, 108, 0.3);
}

.platform-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.platform-label small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.checkbox-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--secondary-color);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid var(--success-color);
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid var(--error-color);
}

.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid var(--primary-color);
    margin-top: 30px;
    color: var(--text-light);
    background: var(--background-light);
    border-radius: 0 0 15px 15px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer p {
    margin-bottom: 5px;
}

.contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .prize-info {
        padding: 20px;
    }
    
    .participation-rules {
        padding: 20px;
    }
    
    .form-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .social-platform-selection {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .platform-label {
        padding: 15px 10px;
    }
    
    .platform-icon {
        font-size: 2rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-top: 0;
    }
}