/* ============================================================
   Corporate-Schriften (lokal auf der Subdomain).
   Ordner "webFonts" nach public/assets/ legen (neben diese Datei).
   Lokales Hosting vermeidet das CORS-Problem beim Laden von www.
   ============================================================ */
@font-face {
    font-family: 'CorporateS-Light';
    src: url('webFonts/CorporateSLight/font.woff2') format('woff2'),
         url('webFonts/CorporateSLight/font.woff')  format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IsonormD';
    src: url('webFonts/IsonormStandardD/font.woff2') format('woff2'),
         url('webFonts/IsonormStandardD/font.woff')  format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Headlines IMMER IsonormD + Versalien, Fliesstext in CorporateS-Light. */
    --font-display: 'IsonormD', "Segoe UI", Arial, sans-serif;
    --font-body:    'CorporateS-Light', "Segoe UI", Arial, sans-serif;

    --gold:       #be9f56;
    --gold-dark:  #a8893f;
    --ink:        #1c1c1c;
    --muted:      #6b6b6b;
    --line:       #e4e1d8;
    --bg:         #ffffff;
    --bg-soft:    #fdfdfd;
    --error:      #b23a3a;
    --ok:         #2f7d4f;
    --radius:     4px;
    --maxw:       620px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg-soft);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 32px 20px 64px;
}

header.brand {
    max-width: var(--maxw);
    margin: 0 auto;
    text-align: left;
    padding: 40px 20px 4px;
}
.hero { margin: 0; line-height: 1; }
.hero-line {
    font-family: var(--font-display);
    display: table;                 /* eigener Block, Gold umschliesst nur den Text */
    background: var(--gold);
    color: #fff;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: .03em;
    line-height: 1;
    padding: .14em .20em .01em;
}
.hero-1 { font-size: 3.2rem; }
.hero-2 { font-size: 2rem; margin-top: .16em; }
.hero-sub {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: .05em;
    font-weight: normal;
    font-size: 1.15rem;
    margin: .95em 0 0;
}
.hero-copy {
    font-family: var(--font-body);
    color: #555;
    font-size: 1rem;
    line-height: 1.55;
    margin: 1.1em 0 0;
}
.hero-copy a, .hero-copy .accent { color: var(--gold-dark); }

.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

/* Stufenanzeige */
.steps {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
    list-style: none;
    padding: 0;
}
.steps li {
    flex: 1;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    padding-top: 10px;
    border-top: 3px solid var(--line);
    transition: color .2s, border-color .2s;
}
.steps li.active { color: var(--ink); border-top-color: var(--gold); font-weight: 700; }
.steps li.done   { color: var(--gold-dark); border-top-color: var(--gold-dark); }

.step { display: none; }
.step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

h2.step-title { font-family: var(--font-display); font-weight: normal; text-transform: uppercase; letter-spacing: .04em; font-size: 1.25rem; margin: 0 0 4px; }
p.step-hint { color: var(--muted); margin: 0 0 20px; font-size: .95rem; }

label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin: 16px 0 6px;
}
label .req { color: var(--gold-dark); }

input[type=email],
input[type=text],
input[type=password] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 1rem;
    background: #fff;
    color: var(--ink);
}
input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
    border-color: var(--gold);
}

/* Datei-Upload */
.filebox {
    border: 1.5px dashed var(--line);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    background: var(--bg-soft);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.filebox:hover, .filebox.drag { border-color: var(--gold); background: #fffdf6; }
.filebox input { display: none; }
.filebox .icon { font-size: 1.6rem; color: var(--gold-dark); }
.filebox .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.filebox .chosen { font-weight: 600; margin-top: 8px; word-break: break-all; }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Einwilligung */
.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 22px 0 6px;
    font-size: .88rem;
    color: var(--muted);
}
.consent input { margin-top: 3px; flex: 0 0 auto; }
.consent a { color: var(--gold-dark); }

/* Buttons */
.actions { display: flex; gap: 12px; margin-top: 26px; }
button {
    font: inherit;
    cursor: pointer;
    border-radius: var(--radius);
    padding: 13px 22px;
    border: 1px solid var(--gold);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .85rem;
}
button.primary { background: var(--gold); color: #fff; }
button.primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
button.ghost { background: transparent; color: var(--gold-dark); }
button:disabled { opacity: .55; cursor: not-allowed; }

/* Meldungen */
.msg { padding: 12px 14px; border-radius: var(--radius); margin: 16px 0 0; font-size: .92rem; display: none; }
.msg.show { display: block; }
.msg.error { background: #fbecec; color: var(--error); border: 1px solid #f0cccc; }
.msg.ok    { background: #ecf6f0; color: var(--ok);   border: 1px solid #c8e6d4; }

.terms {
    margin-top: 18px;
    font-size: .8rem;
    color: var(--muted);
    background: var(--bg-soft);
    border-left: 3px solid var(--gold);
    padding: 12px 14px;
}

footer.legal {
    text-align: center;
    margin-top: 30px;
    font-size: .8rem;
    color: var(--muted);
}
footer.legal a { color: var(--gold-dark); margin: 0 8px; }

@media (max-width: 520px) {
    .hero-1 { font-size: 2.4rem; }
    .hero-2 { font-size: 1.55rem; }
    .steps li { font-size: 0; padding-top: 8px; }   /* nur Balken auf Mobil */
    .actions { flex-direction: column-reverse; }
    button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .step.active { animation: none; }
}
