* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    padding: 20px;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

h1 {
    color: #c41e3a;
    margin-bottom: 10px;
    font-size: 1.8em;
    text-align: center;
    font-weight: bold;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

h2 {
    color: #c41e3a;
    font-size: 1.3em;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c41e3a;
    font-weight: bold;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;
    transition: all 0.2s ease;
    font-family: inherit;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #d32f2f;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
}

.error-message {
    color: #d32f2f;
    font-weight: 500;
    display: block;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.4;
    min-height: 20px;
    padding: 5px 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group span {
    line-height: 1.5;
    color: #333;
}

.checkbox-group a {
    color: #c41e3a;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.price-section {
    background: #fafafa;
    padding: 18px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
}

.price-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1.05em;
}

.price-row.total {
    border-top: 2px solid #c41e3a;
    padding-top: 12px;
    margin-top: 5px;
    font-size: 1.3em;
    font-weight: bold;
    color: #c41e3a;
}

.info-section {
    background: #fff3cd;
    padding: 18px;
    border-radius: 3px;
    border: 1px solid #ffc107;
}

.info-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

.info-box li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.form-actions {
    text-align: center;
    margin-top: 25px;
}

.submit-btn {
    background: #c41e3a;
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(196, 30, 58, 0.3);
}

.submit-btn:hover {
    background: #a01a2e;
    box-shadow: 0 3px 6px rgba(196, 30, 58, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 3px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.15em;
    }
}

/* Iframe-spezifische Anpassungen */
html, body {
    overflow-x: hidden;
}
