/* Reset und Basis-Styles */
* {
    box-sizing: border-box;
}

@font-face {
	font-family: 'Frutiger';
	font-style: normal;
	font-weight: normal;
	src: local('Frutiger'), url('../fonts/Frutiger.woff') format('woff');
} 

@font-face {
	font-family: 'Frutiger Bold';
	font-style: normal;
	font-weight: normal;
	src: local('Frutiger Bold'), url('../fonts/Frutiger_bold.woff') format('woff');
}


a {
	color: #e3000f
}

body {
    font-family: 'Frutiger',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header */
.branding {
	max-width:800px;
	margin:0 auto;
	padding:30px;
	display:flex;
	justify-content:space-between;
}

.branding .logo img {
	max-width:150px;
}

.branding .contact p {text-align:right}

.alert-info {
    padding: 12px 30px;
	margin: 0 auto;
	margin-bottom: 16px;
	border: 1px solid #e3000f;
	border-radius: 2px;
	background-color: #e3000f;
	color: #fff;
	font-size: 16px;
	line-height: 1.4;
	max-width: 800px;
	
}

.alert-info p a {color:#fff}

.alert-info strong {
  font-weight: 600;
}

.alert-info a {

  text-decoration: underline;
}



.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e3000f;
}

.form-header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.2em;
}

.subtitle {
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Sections */
.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fafafa;
}

.form-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #e3000f;
    font-size: 1.4em;
    border-bottom: 2px solid #e3000f;
    padding-bottom: 8px;
}

.product-details {
    background-color: #f0f8ff;
    border-left: 4px solid #007cba;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.required {
    color: #e3000f;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio und Checkbox Groups */
.radio-group,
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.radio-label:hover,
.checkbox-label:hover {
    background-color: #f0f0f0;
}

.radio-label input,
.checkbox-label input {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

/* Button */
.submit-container {
display:flex
}
button {
    background: #e3000f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    max-width: 50%;
    margin: 20px auto;
    width: 100%;
}
}

button:hover {
    background: #c0392b;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Info Box */
.info-box {
    background: #e8f4f8;
    border: 1px solid #b3d9e8;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
}

.info-box h3 {
    margin-top: 0;
    color: #007cba;
}

.info-box ul {
    margin: 10px 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 5px;
}

/* Process Info */
.process-info {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.process-info h3 {
    color: #e3000f;
    margin-bottom: 15px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.step {
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 0.9em;
}

.step strong {
    color: #007cba;
    display: block;
    margin-bottom: 5px;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading button::after {
    content: " ⏳";
}

/* Error States */
.error-field {
    border-color: #e3000f !important;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3) !important;
}

/* Hidden Elements */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group,
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    input, textarea, select {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
    
    .form-header h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    button {
        padding: 12px 20px;
    }
}

/* Print Styles */
@media print {
    .container {
        box-shadow: none;
        padding: 0;
    }
    
    .process-info {
        page-break-before: always;
    }
    
    button {
        display: none;
    }
}