/* style.css */

/* --- LOKALE SCHRIFTARTEN --- */
/* Ersetzen Sie die Dateinamen mit den tatsächlich heruntergeladenen .woff2 Dateien */
@font-face {
    font-family: 'Archivo';
    src: url('../fonts/archivo-v15-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Archivo';
    src: url('../fonts/archivo-v15-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Archivo';
    src: url('../fonts/archivo-v15-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dm-sans-v14-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dm-sans-v14-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dm-sans-v14-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- LOKALE ICONS --- */
/* Pfad zur lokalen all.min.css von Font Awesome */
/* Falls Sie Font Awesome nicht lokal installieren wollen, können Sie diesen Block löschen 
   und die SVG-Icons direkt im HTML verwenden (siehe Alternative unten im HTML-Code) */
@import url('../icons/css/all.min.css');

/* --- BASIS STYLES --- */
:root {
    --primary: #0f2c45; /* Swiss Oak Dunkelblau */
    --accent: #2e8b57;  /* Swiss Oak Grün */
    --light: #f4f7f6;
    --error: #d32f2f;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--light);
    color: var(--text-dark);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 44, 69, 0.15); /* Schatten in Markenfarbe */
}

h1, h2, h3 {
    font-family: 'Archivo', sans-serif;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* --- FORM ELEMENTS --- */
.form-group { margin-bottom: 20px; }

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

/* --- BUTTONS --- */
.btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    margin-top: 10px;
    font-family: 'Archivo', sans-serif;
}

.btn:hover {
    background: #1a4a6e;
}

.btn:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* --- STEPS & ANIMATION --- */
.step { display: none; animation: fadeIn 0.4s ease-out; }
.step.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RADIO CARDS (Verifizierung) --- */
.radio-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.radio-card {
    flex: 1;
    border: 2px solid #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.radio-card:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.radio-card.selected {
    border-color: var(--accent);
    background: #f0fdf4;
    color: var(--accent);
    font-weight: 600;
}

.radio-card i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    color: var(--primary);
}

.radio-card.selected i {
    color: var(--accent);
}

/* --- WARNUNG BOX --- */
.warning-box {
    background: #fffbeb;
    color: #92400e;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    border-left: 4px solid #f59e0b;
    line-height: 1.4;
}

/* --- SLOT GRID --- */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.slot-btn {
    background: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
}

.slot-btn:hover {
    background: #f0f9ff;
    border-color: var(--accent);
}

.slot-btn.selected {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* --- DATENSCHUTZ CHECKBOX --- */
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
}

.privacy-check input {
    width: auto;
    margin-top: 4px;
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
    .container { padding: 20px; margin: 10px auto; }
    .radio-group { flex-direction: column; }
    .slot-grid { grid-template-columns: repeat(2, 1fr); }
}
