/**
 * Datei: style.css
 * Ort: Projektwurzel /rotary_event_anmeldung_mysql/style.css
 * Start: Wird automatisch von index.php geladen.
 *
 * Zweck:
 * Schlichtes Rotary-nahes Design in Blau/Gold passend zur Vorlage.
 */

:root {
    --blue: #17458f;
    --gold: #f7a81b;
    --text: #1f2933;
    --muted: #5b6773;
    --bg: #f4f7fb;
    --white: #ffffff;
    --line: #d9e2ec;
    --danger: #9b1c1c;
    --success: #116329;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #eef4ff, #fff8ea);
}

.page {
    min-height: 100vh;
    padding: 28px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 760px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(23, 69, 143, .18);
    overflow: hidden;
    border-top: 10px solid var(--blue);
}

.hero {
    padding: 34px 34px 20px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.rotary-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 92px;
    padding: 8px;
    border: 6px solid var(--gold);
    color: var(--blue);
    border-radius: 50%;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 18px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    font-size: 13px;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
    color: var(--blue);
}

.lead {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.info-box {
    margin: 24px 34px 0;
    padding: 18px 20px;
    border-left: 6px solid var(--gold);
    background: #fff7e6;
    border-radius: 14px;
    line-height: 1.55;
}

form {
    padding: 24px 34px 32px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 16px;
}

input {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid #bcccdc;
    border-radius: 12px;
    font-size: 16px;
}

input:focus {
    outline: 3px solid rgba(247, 168, 27, .35);
    border-color: var(--blue);
}

.grid {
    display: grid;
    gap: 14px;
}

.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.address {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    margin-top: 14px;
}

details {
    margin: 4px 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
}

summary {
    cursor: pointer;
    color: var(--blue);
    font-weight: 700;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.check input {
    width: auto;
    margin-top: 4px;
    transform: scale(1.2);
}

button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: white;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
}

button:hover {
    background: #0f3470;
}

.success, .errors {
    margin: 20px 34px 0;
    padding: 14px 16px;
    border-radius: 12px;
    line-height: 1.45;
}

.success {
    background: #e7f7ec;
    color: var(--success);
}

.errors {
    background: #fdecec;
    color: var(--danger);
}

.errors p {
    margin: 0 0 6px;
}

footer {
    padding: 18px 34px 28px;
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--line);
}

footer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 680px) {
    .hero, form, footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .info-box, .success, .errors {
        margin-left: 20px;
        margin-right: 20px;
    }

    .two, .address {
        grid-template-columns: 1fr;
    }
}
