/* HONEYPOT Bewerbung — layout & screen styles */

/* ---------- shared layout ---------- */
.hp-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hp-main--flow {
    min-height: 100vh;
    justify-content: center;
    padding: 96px 20px 132px;
}
.hp-stack { display: flex; flex-direction: column; gap: 12px; }
.hp-chiprow { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-note { font-size: 13px; color: var(--ink-muted); line-height: 1.55; margin: 4px 0 0; }
.hp-error { color: var(--danger); font-size: 14px; font-weight: 600; margin: 0; }

/* ---------- progress ---------- */
.hp-progress { position: fixed; top: 0; left: 0; width: 100%; z-index: 40; }
.hp-progress--bar { height: 3px; background: rgba(166,122,47,0.15); }
.hp-progress__fill { height: 100%; background: var(--gold-gradient); transition: width var(--dur-slow) var(--ease); }
.hp-progress--dots { display: flex; gap: 6px; padding: 14px 18px; justify-content: center; flex-wrap: wrap; background: transparent; }
.hp-pdot { width: 7px; height: 7px; border-radius: 999px; background: rgba(166,122,47,0.28); transition: all var(--dur) var(--ease); }
.hp-pdot.done { background: var(--gold-600); }
.hp-pdot.cur { background: var(--gold-600); transform: scale(1.6); box-shadow: 0 0 0 3px rgba(194,151,71,0.18); }

/* ---------- topbar ---------- */
.hp-topbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 28px;
    pointer-events: none;
}
.hp-topbar img { opacity: 0.92; }
.hp-topbar__step { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--gold-text); font-weight: 600; }
.hp-topbar__sep { color: var(--ink-subtle); }

/* ---------- question ---------- */
.hp-q { width: 100%; max-width: 600px; }
.hp-q__section { display: block; margin-bottom: 14px; }
.hp-q__title {
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.08;
    margin: 0 0 14px;
    text-wrap: pretty;
    hyphens: auto;
}
.hp-q__help { font-size: 16px; color: var(--ink-muted); line-height: 1.55; margin: 0 0 34px; }
.hp-q__help strong { color: var(--ink-body); font-weight: 700; }
.hp-q__input { width: 100%; }

.hp-sublabel { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-bottom: 8px; }
.hp-count { position: absolute; bottom: 10px; right: 14px; font-size: 12px; color: var(--ink-subtle); font-family: var(--font-mono); }
.hp-tasknum { font-family: var(--font-mono); font-size: 13px; color: var(--gold-text); font-weight: 700; flex: none; }
.hp-tasklabel { font-family: var(--font-display); font-size: 19px; line-height: 1.25; color: var(--ink); }

/* rating */
.hp-rate {
    width: 56px; height: 56px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--card);
    color: var(--ink); font-family: var(--font-display); font-size: 22px; cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
}
.hp-rate:hover { border-color: var(--gold-700); background: var(--card-2); }
.hp-rate.is-sel { border-color: transparent; color: #2a1f08; background: var(--gold-gradient); box-shadow: var(--glow-gold); }

/* file drop */
.hp-filedrop {
    display: flex; align-items: center; gap: 16px;
    border: 1.5px dashed var(--border-strong); border-radius: var(--radius);
    background: var(--card); padding: 20px 22px; cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
}
.hp-filedrop:hover { border-color: var(--gold-700); background: var(--card-2); }
.hp-filedrop.has-file { border-style: solid; border-color: var(--gold-600); background: var(--card-2); }
.hp-filedrop__icon { flex: none; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: rgba(194,151,71,0.12); color: var(--gold-text); }
.hp-filedrop__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hp-filedrop__name { font-size: 16px; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-filedrop__sub { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.04em; }

/* ---------- footer nav ---------- */
.hp-footer {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 30;
    background: linear-gradient(to top, var(--paper) 62%, transparent);
    padding: 22px 20px 22px;
}
.hp-footer__inner {
    max-width: 600px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: relative;
}
.hp-footer__back {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 0; cursor: pointer;
    font-family: var(--font-sans); font-size: 13px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted);
    padding: 8px 4px; transition: color var(--dur-fast) var(--ease);
}
.hp-footer__back:hover { color: var(--gold-text); }
.hp-footer__err {
    position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
    white-space: nowrap; background: var(--card); border: 1px solid rgba(161,58,46,0.3);
    padding: 7px 14px; border-radius: var(--radius); box-shadow: var(--shadow-card);
}

/* ---------- start screen ---------- */
.hp-start { width: 100%; max-width: 600px; text-align: center; padding: 36px 24px 72px; }
.hp-start__hero { position: relative; margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lift); aspect-ratio: 16 / 9; }
.hp-start__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; transform: scale(1.12); display: block; }
/* edge blur — sharp center, blurred toward the corners to hide neighbour signage */
.hp-start__hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
    -webkit-mask: radial-gradient(ellipse 62% 66% at 46% 44%, rgba(0,0,0,0) 56%, #000 100%);
            mask: radial-gradient(ellipse 62% 66% at 46% 44%, rgba(0,0,0,0) 56%, #000 100%);
}
/* vignette + bottom scrim */
.hp-start__hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 68% 72% at 46% 44%, transparent 50%, rgba(14,14,16,0.55) 100%),
        linear-gradient(to top, rgba(14,14,16,0.62) 0%, rgba(14,14,16,0.12) 38%, transparent 60%);
}
.hp-start__herocap { position: absolute; left: 18px; bottom: 13px; z-index: 1; margin: 0; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.hp-start__eyebrow { display: block; margin-bottom: 16px; }
.hp-start__title { font-size: clamp(42px, 7vw, 72px); line-height: 1.0; margin: 0 auto 22px; max-width: 13ch; text-wrap: balance; }
.hp-start__titleem { font-style: normal; letter-spacing: 0.04em; }
.hp-start__sub { font-size: 17px; color: var(--ink-muted); line-height: 1.6; max-width: 44ch; margin: 0 auto 40px; }
.hp-start__sub strong { color: var(--ink-body); font-weight: 700; }

/* fact sheet — hairline rows, brand "facts list" pattern */
.hp-facts { max-width: 440px; margin: 0 auto 40px; border-top: 1px solid var(--border); text-align: left; }
.hp-fact { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: baseline; padding: 14px 2px; border-bottom: 1px solid var(--border); }
.hp-fact__label { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.hp-fact__val { font-size: 14.5px; color: var(--ink-body); line-height: 1.5; }
.hp-fact__tag { display: inline-block; vertical-align: middle; margin-left: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--gold-text); background: rgba(194,151,71,0.12); border: 1px solid var(--border); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }

.hp-start__cta { margin: 0 auto; min-width: 280px; }
.hp-start__resume { margin: 16px auto 0; font-size: 13px; color: var(--ink-muted); }
.hp-start__resumebtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.hp-start__resumebtn:hover { color: var(--gold-700); }
.hp-start__legal { font-size: 12px; color: var(--ink-subtle); line-height: 1.6; max-width: 44ch; margin: 22px auto 0; }
.hp-start__legal a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.hp-start__more { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; }
.hp-start__more:hover { color: var(--gold-text); }

/* ---------- review ---------- */
.hp-review { width: 100%; max-width: 640px; }
.hp-review__head { text-align: center; margin-bottom: 36px; }
.hp-review__head .eyebrow { display: block; margin-bottom: 12px; }
.hp-review__title { font-size: clamp(34px, 5vw, 54px); margin: 0 0 12px; }
.hp-review__lede { font-size: 16px; color: var(--ink-muted); margin: 0; }
.hp-review__subhead { font-family: var(--font-display); font-size: 24px; color: var(--ink); font-weight: 400; margin: 32px 0 14px; }
.hp-review__card { padding: 6px 4px; margin-bottom: 4px; overflow: hidden; }
.hp-rev-row {
    display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 16px;
    width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
    padding: 15px 18px; border-bottom: 1px solid var(--hairline);
    transition: background var(--dur-fast) var(--ease);
}
.hp-review__card .hp-rev-row:last-child { border-bottom: 0; }
.hp-rev-row:hover { background: var(--card-2); }
.hp-rev-row__q { font-size: 13px; color: var(--ink-muted); letter-spacing: 0.02em; }
.hp-rev-row__a { font-size: 16px; color: var(--ink); font-weight: 600; text-align: right; }
.hp-rev-row__edit { color: var(--ink-subtle); display: grid; place-items: center; }
.hp-rev-row:hover .hp-rev-row__edit { color: var(--gold-text); }
.hp-rev-row--block { grid-template-columns: 1fr 28px; align-items: start; }
.hp-rev-row--block .hp-rev-row__q { grid-column: 1; }
.hp-rev-row--block .hp-rev-row__edit { grid-column: 2; grid-row: 1; }
.hp-rev-row__atext { grid-column: 1 / -1; font-size: 15px; color: var(--ink-body); line-height: 1.5; white-space: pre-wrap; }
.hp-review__submit { width: 100%; margin-top: 28px; }

/* ---------- result (confirmation / rejection) ---------- */
.hp-result { width: 100%; max-width: 540px; text-align: center; padding: 80px 24px; margin: auto; }
.hp-result__mark {
    width: 92px; height: 92px; border-radius: 999px; margin: 0 auto 28px;
    display: grid; place-items: center; color: #2a1f08;
    background: var(--gold-gradient); box-shadow: var(--glow-gold);
}
.hp-result__mark--err { background: none; border: 1.5px solid var(--border-strong); color: var(--gold-text); box-shadow: none; }
.hp-result .eyebrow { display: block; margin-bottom: 14px; }
.hp-result__title { font-size: clamp(36px, 5.4vw, 56px); margin: 0 0 16px; }
.hp-result__sub { font-size: 17px; color: var(--ink-muted); line-height: 1.62; max-width: 42ch; margin: 0 auto 28px; }
.hp-result__meta { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-subtle); }

/* ---------- select-style: tint variant ---------- */
:root[data-select="tint"] .hp-opt.is-sel,
:root[data-select="tint"] .hp-chip.is-sel,
:root[data-select="tint"] .hp-rate.is-sel {
    background: rgba(194,151,71,0.14);
    color: var(--gold-text);
    border: 1px solid var(--gold-600);
    box-shadow: none;
    font-weight: 700;
}
:root[data-select="tint"] .hp-opt.is-sel .hp-opt__key {
    background: rgba(194,151,71,0.18); color: var(--gold-text); border-color: var(--gold-600);
}

/* ---------- heading font: modern (Avenir) vs classic (Bodoni) ---------- */
:root[data-headings="modern"] .t-display,
:root[data-headings="modern"] .hp-review__subhead,
:root[data-headings="modern"] .hp-tasklabel,
:root[data-headings="modern"] .hp-rate {
    font-family: var(--font-head-sans);
    font-weight: 600;
    letter-spacing: -0.01em;
}
:root[data-headings="modern"] .hp-start__titleem,
:root[data-headings="modern"] .t-display em { font-style: normal; }

/* ---------- responsive ---------- */
@media (max-width: 620px) {
    .hp-start { padding: 44px 20px 60px; }
    .hp-fact { grid-template-columns: 96px 1fr; gap: 12px; }
    .hp-rev-row__a { font-size: 15px; }
}
