/* ===========================
   VIP-Formular - Mercedes-AMG PETRONAS F1 Team
   Farben aus dem CI/CD Manual:
   Teal:  #00b1a9
   Black: #000000
   Gray:  #d3d3d3
   Schriften: Rajdhani (Titel), Barlow (Text)
=========================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    background-color: #111111;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    color: #00b1a9;
}

a:hover {
    color: #00d4cb;
}

header {
    background-color: #000000;
    border-bottom: 3px solid #00b1a9;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo {
    height: 52px;
    width: auto;
}

.tagline {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    color: #888888;
    text-transform: uppercase;
}

main {
    padding: 24px 16px 60px 16px;
}

h1 {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Quellenangabe Q15 Start - Claude AI: Fortschrittsbalken, Optionen, Bestätigungsseite, Media Queries */

/* Fortschrittsanzeige */
.fortschritt {
    margin-bottom: 24px;
}

.schritt-text {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    color: #00b1a9;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.balken-aussen {
    width: 100%;
    height: 4px;
    background-color: #333333;
    border-radius: 2px;
}

.balken-innen {
    height: 4px;
    background-color: #00b1a9;
    border-radius: 2px;
}

/* Fehlerbox */
.fehler-box {
    background-color: #1a0000;
    border: 1px solid #cc3333;
    border-radius: 4px;
    padding: 10px 14px;
    color: #ff6666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Fieldset */
fieldset {
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 20px 16px;
    margin-bottom: 20px;
    background-color: #1a1a1a;
}

fieldset legend {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0 8px;
}

.feld {
    margin-bottom: 18px;
}

label {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    color: #aaaaaa;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.gruppen-label {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    color: #aaaaaa;
    text-transform: uppercase;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="file"],
select,
textarea {
    width: 100%;
    background-color: #222222;
    border: 1px solid #444444;
    border-radius: 3px;
    color: #e0e0e0;
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    padding: 10px 12px;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #00b1a9;
}

/* Quellenangabe Q10 Start - MDN: appearance:none und custom select-Pfeil */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300b1a9' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
/* Quellenangabe Q10 Ende */

select option {
    background-color: #222222;
}

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

/* Quellenangabe Q10 Start - MDN: calendar-picker-indicator Styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.5) sepia(1) saturate(3) hue-rotate(148deg);
    cursor: pointer;
}
/* Quellenangabe Q10 Ende */

input[type="file"] {
    color: #aaaaaa;
    padding: 8px 12px;
}

/* Radio und Checkbox Optionen */
label.option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #333333;
    border-radius: 3px;
    background-color: #1e1e1e;
    cursor: pointer;
    font-size: 14px;
    font-weight: 300;
    color: #cccccc;
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: 8px;
}

label.option:hover {
    border-color: #00b1a9;
    color: #ffffff;
}

label.option input {
    width: auto;
    accent-color: #00b1a9;
}

.hinweis {
    font-size: 12px;
    color: #777777;
    margin-top: 4px;
}

.fehler {
    font-size: 12px;
    color: #cc3333;
    margin-top: 4px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
}

.btn {
    background-color: #00b1a9;
    color: #000000;
    border: none;
    border-radius: 3px;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 32px;
    cursor: pointer;
}

.btn:hover {
    background-color: #00d4cb;
}

.btn-zurueck {
    background-color: transparent;
    color: #aaaaaa;
    border: 1px solid #444444;
    border-radius: 3px;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 11px 24px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-zurueck:hover {
    border-color: #00b1a9;
    color: #00b1a9;
}

.pflicht-hinweis {
    font-size: 12px;
    color: #666666;
    margin-top: 10px;
}

/* Bestätigungsseite */
.bestaetigung {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-top: 3px solid #00b1a9;
    border-radius: 4px;
    padding: 32px 20px;
    text-align: center;
    margin-top: 8px;
}

.haken {
    font-size: 40px;
    color: #00b1a9;
    margin-bottom: 12px;
}

.bestaetigung-text {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 24px;
}

.mehr-infos {
    font-size: 13px;
    color: #888888;
    margin-bottom: 24px;
}

/* Tabelle Bestätigung */
.zusammenfassung {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-bottom: 24px;
}

.zusammenfassung th,
.zusammenfassung td {
    padding: 9px 10px;
    font-size: 13px;
    border-bottom: 1px solid #2a2a2a;
}

.zusammenfassung th {
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777777;
    width: 40%;
}

.zusammenfassung td {
    color: #00b1a9;
}

.zusammenfassung tr:last-child th,
.zusammenfassung tr:last-child td {
    border-bottom: none;
}

footer {
    background-color: #000000;
    border-top: 1px solid #222222;
    text-align: center;
    padding: 14px 20px;
    font-size: 12px;
    color: #555555;
}

footer a {
    color: #666666;
}

/* Quellenangabe Q11 Start - MDN Media Queries: Mobile First */
/* Tablet ab 600px */
@media (min-width: 600px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px 40px;
    }

    main {
        padding: 32px 40px 60px 40px;
    }

    fieldset {
        padding: 24px;
    }

    h1 {
        font-size: 32px;
    }
}

/* Desktop ab 900px */
@media (min-width: 900px) {
    main {
        max-width: 760px;
        margin: 40px auto;
        padding: 0 0 80px 0;
    }

    fieldset {
        padding: 28px 32px;
    }

    .bestaetigung {
        max-width: 560px;
        margin: 40px auto 0 auto;
        padding: 48px 40px;
    }
}
/* Quellenangabe Q11 Ende */

/* Quellenangabe Q15 Ende */
