/* Bewerbungsschneider — Design nach Tapcore (Creme, Anton, Plus Jakarta Sans, dunkle Navigation),
   eigener Akzent „Garnblau“ + „Fadenrot“. Mobil zuerst. */
:root {
  --brand: #2346B8; --brand-hover: #1C3A9C; --brand-tint: #E6ECFA; --brand-ink: #101E52;
  --faden: #E0442E; --faden-tint: #FDE7E2;
  --paper: #FFFFFF; --bg: #FAF7F3; --surface: #FFFFFF; --ink: #1E1814; --ink-2: #4A3F37; --muted: #7A6D62;
  --line: #E7DCCE; --line-strong: #D6C7B4;
  --nav-bg: #17120F; --nav-fg: #EDE4DA; --nav-muted: #A2968B;
  --ok: #1B7D56; --ok-bg: #E6F4EC; --warn: #9C6200; --warn-bg: #FDF2DD; --fail: #C0362C; --fail-bg: #FBEAE8;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --schatten: 0 1px 2px rgba(30,24,20,.06), 0 8px 30px rgba(30,24,20,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--faden); margin: 0 0 12px; }
h1, h2, .display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -.012em; line-height: .95; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 88px); }
h2 { font-size: clamp(32px, 5vw, 54px); }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 30; background: var(--nav-bg); color: var(--nav-fg); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.logo { font-family: var(--display); font-size: 22px; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-decoration: none; margin-right: auto; display: flex; gap: 10px; align-items: center; }
.logo svg { width: 26px; height: 26px; color: var(--faden); }
.nav a.l { color: var(--nav-muted); text-decoration: none; font-size: 14px; } .nav a.l:hover { color: #fff; }
@media (max-width: 760px) { .nav a.l { display: none; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  font: 700 15px var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn-primary { background: var(--faden); color: #fff; } .btn-primary:hover { background: #C93723; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); } .btn-ghost:hover { background: #fff; }
.btn-nav { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Hero */
.hero { padding: clamp(48px, 9vw, 110px) 0 60px; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.hero h1 span { color: var(--brand); display: block; }
.hero .lead { margin: 22px 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hinweis { font-size: 13px; color: var(--muted); margin-top: 14px; }
.foto { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--schatten); }
.foto figcaption, .credit { font-size: 11px; color: var(--muted); padding: 6px 2px 0; }
.foto img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; } .reveal.is-visible { opacity: 1; transform: none; }

/* Abschnitte */
section.block { padding: clamp(56px, 8vw, 104px) 0; }
.dunkel { background: var(--nav-bg); color: var(--nav-fg); } .dunkel .lead { color: #CFC4B8; } .dunkel h2 { color: #fff; }
.zwei { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: center; }
.karten { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 34px; }
.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.karte p { margin: 0; color: var(--ink-2); }
.dunkel .karte { background: #221B16; border-color: #2F2620; } .dunkel .karte p { color: #CFC4B8; } .dunkel .karte h3 { color: #fff; }

/* Scrollytelling: Schritte links, Ansicht klebt rechts */
.scrolly { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 900px) { .scrolly { grid-template-columns: 1fr 1fr; } .sticky { position: sticky; top: 90px; align-self: start; } }
.schritt { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .3s; }
.schritt.is-active { opacity: 1; }
.schritt .nr { font-family: var(--display); font-size: 64px; color: var(--brand); line-height: 1; }
@media (max-width: 899px) { .schritt { min-height: auto; opacity: 1; padding: 16px 0; } .sticky { display: none; } }
.blatt { background: #fff; border-radius: var(--r-lg); box-shadow: var(--schatten); padding: 26px; min-height: 380px; position: relative; overflow: hidden; }
.blatt .zeile { height: 10px; border-radius: 5px; background: var(--line); margin: 12px 0; transition: background .4s, width .4s; }
.blatt .zeile.kurz { width: 55%; } .blatt .zeile.mittel { width: 78%; }
.blatt[data-zustand="2"] .zeile.treffer { background: var(--brand); }
.blatt[data-zustand="3"] .zeile.treffer { background: var(--ok); }
.blatt[data-zustand="3"] .zeile.alt { background: var(--faden-tint); width: 40%; }
.blatt .kopf { font: 700 13px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.blatt .stempel { position: absolute; right: 20px; bottom: 20px; font-family: var(--display); font-size: 46px; color: var(--ok); opacity: 0; transform: rotate(-8deg) scale(.8); transition: all .4s; }
.blatt[data-zustand="3"] .stempel { opacity: 1; transform: rotate(-8deg) scale(1); }
.blatt .faden { position: absolute; left: -10%; top: 50%; width: 120%; height: 3px; background: repeating-linear-gradient(90deg, var(--faden) 0 14px, transparent 14px 24px); transform: rotate(-12deg); opacity: 0; transition: opacity .4s; }
.blatt[data-zustand="2"] .faden { opacity: .8; }

/* Werkzeug */
.werkzeug { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 4vw, 34px); box-shadow: var(--schatten); }
.feld { margin: 0 0 20px; } .feld > label, .feld > .titel { display: block; font-weight: 700; margin-bottom: 6px; }
.feld small { color: var(--muted); font-size: 13px; }
input[type=url], input[type=text], textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
.reihe { display: flex; gap: 10px; flex-wrap: wrap; } .reihe input { flex: 1 1 260px; }
.drop { border: 2px dashed var(--line-strong); border-radius: var(--r-md); padding: 18px; text-align: center; background: var(--bg); cursor: pointer; }
.drop.voll { border-style: solid; border-color: var(--ok); background: var(--ok-bg); }
.drop input { display: none; }
.meldung { min-height: 22px; font-size: 14px; margin: 6px 0 0; } .meldung.fehler { color: var(--fail); } .meldung.ok { color: var(--ok); }
.oder { font-size: 13px; color: var(--muted); margin: 8px 0; }
details.mehr summary { cursor: pointer; color: var(--brand); font-weight: 600; margin-bottom: 8px; }

/* Ergebnis */
.ergebnis[hidden] { display: none; }
.ergebnis { margin-top: 30px; display: grid; gap: 22px; }
.passung { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ring { width: 120px; height: 120px; position: relative; flex: none; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chip { background: var(--brand-tint); color: var(--brand-ink); border-radius: var(--r-pill); padding: 4px 12px; font-size: 13px; font-weight: 600; }
.liste { margin: 0; padding-left: 20px; } .liste li { margin: 4px 0; }
.luecke { background: var(--warn-bg); border-radius: var(--r-sm); padding: 12px 14px; margin: 8px 0; }
.aenderung { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; margin: 10px 0; }
.aenderung .vorher { color: var(--muted); text-decoration: line-through; } .aenderung .nachher { color: var(--ok); font-weight: 600; }
.aenderung small { display: block; color: var(--muted); margin-top: 4px; }
.vorfuehrung { background: var(--warn-bg); color: var(--warn); border-radius: var(--r-sm); padding: 12px 14px; font-weight: 600; }
.box-titel { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin: 0 0 10px; }
.aktionen { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* FAQ, Footer */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; } .faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq p { color: var(--ink-2); margin: 10px 0 0; max-width: 70ch; }
.fuss { background: var(--nav-bg); color: var(--nav-muted); font-size: 14px; padding: 46px 0 30px; }
.fuss a { color: var(--nav-fg); } .fuss .spalten { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fuss .klein { font-size: 12px; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
@media print { .nav, .hero, section.block:not(#zuschneiden), .fuss, form, .aktionen { display: none !important; } .werkzeug { box-shadow: none; border: 0; } }
@media (max-width: 440px) { .logo { font-size: 17px; gap: 6px; } .logo svg { width: 20px; height: 20px; } .nav .wrap { gap: 8px; } .btn-nav { padding: 0 12px; font-size: 13px; white-space: nowrap; } }
