/* ==========================================================================
   Krieg Karriereportal – Öffentliche Seiten
   ========================================================================== */

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px;
  background: var(--yellow); color: var(--navy-900); font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.78); font-size: .84rem; }
.topbar .container { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--yellow); }
.topbar .icon { width: 15px; height: 15px; color: var(--yellow); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); overflow: hidden; }
.lang-switch a { padding: 2px 9px; font-weight: 600; font-size: .78rem; letter-spacing: .05em; }
.lang-switch a[aria-current="true"] { background: var(--yellow); color: var(--navy-900); }
@media (max-width: 767px) { .topbar .hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(27,26,55,.07); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-sub {
  padding-left: 14px; border-left: 2px solid var(--line); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy); line-height: 1.2;
}
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a.nav-link {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a.nav-link:hover::after, .main-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-saved { position: relative; }
.nav-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--yellow); color: var(--navy-900); font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
.nav-count:empty, .nav-count[data-count="0"] { display: none; }
.nav-toggle { display: none; margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }

@media (max-width: 1080px) {
  .main-nav, .nav-actions .btn-yellow { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .brand-sub { display: none; }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-900); color: #fff;
  display: flex; flex-direction: column; padding: 20px; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-nav-head img { height: 40px; }
.mobile-nav a.m-link {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-size: 1.35rem; font-weight: 600;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a.m-link .icon { color: var(--yellow); }
.mobile-nav .btn { margin-top: 28px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-900);
  padding: clamp(64px, 10vw, 120px) 0 0;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center right; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(27,26,55,.97) 0%, rgba(27,26,55,.9) 38%, rgba(51,49,98,.55) 70%, rgba(51,49,98,.35) 100%),
    linear-gradient(0deg, rgba(27,26,55,.9) 0%, transparent 40%);
}
.hero-stripes {
  position: absolute; z-index: -1; right: -40px; top: 40px; width: 280px; height: 180px; background: var(--stripes); opacity: .9;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 767px) { .hero-stripes { width: 120px; height: 70px; top: 0; right: -20px; opacity: .55; } }
.hero-inner { max-width: 760px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 34px; }

.search-card {
  display: grid; grid-template-columns: 1fr; gap: 10px; padding: 10px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); color: var(--text);
}
.search-card .input, .search-card .select { border-color: transparent; background-color: var(--bg-soft); min-height: 54px; }
.search-card .input:focus, .search-card .select:focus { background-color: #fff; border-color: var(--navy); }
.search-card .btn { min-height: 54px; }
@media (min-width: 768px) { .search-card { grid-template-columns: 1.6fr 1fr auto; } }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.7); }
.popular a {
  padding: 5px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 500; transition: all .2s;
}
.popular a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); }

.hero-stats { position: relative; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.hero-stats .container { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .hero-stats .container { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 24px 0; display: flex; flex-direction: column; gap: 2px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 899px) { .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); } }
.stat-value { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--yellow); line-height: 1.1; letter-spacing: -.02em; }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.section-head h2 { margin: 0; max-width: 680px; }
.section-head .lead { max-width: 520px; margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head .lead { color: rgba(255,255,255,.75); }

/* ---------- Stellenliste ---------- */
.jobs-toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .18s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { font-size: .75rem; font-weight: 600; padding: 0 7px; border-radius: 999px; background: var(--bg-muted); color: var(--muted); }
.chip[aria-pressed="true"] .count { background: var(--yellow); color: var(--navy-900); }
.filter-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 700px) { .filter-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.result-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--muted); min-height: 32px; }
.result-line strong { color: var(--ink); }

.job-list { display: grid; gap: 14px; }
.job-card {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px 22px 20px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.job-card::before {
  content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 4px; border-radius: 0 3px 3px 0; background: var(--yellow);
  transform: scaleY(0); transition: transform .25s var(--ease);
}
.job-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card:hover::before { transform: scaleY(1); }
.job-card.is-featured { border-color: rgba(247,198,0,.6); background: linear-gradient(90deg, #fffcf0 0%, #fff 40%); }
@media (min-width: 820px) { .job-card { grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 24px 24px 24px 30px; } }
.job-card-flags { display: flex; gap: 8px; margin-bottom: 8px; }
.job-card h3 { margin: 0 0 10px; font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.job-card h3 a:hover { color: var(--navy); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; }
.meta span { display: inline-flex; align-items: center; gap: 7px; }
.meta .icon { width: 16px; height: 16px; color: var(--navy); opacity: .8; }
.job-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.job-card-aside { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
@media (min-width: 820px) { .job-card-aside { flex-direction: column; align-items: flex-end; gap: 10px; justify-content: center; } }
.job-salary { font-weight: 700; color: var(--ink); font-size: .98rem; white-space: nowrap; }
.job-date { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.job-card-actions { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.save-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff;
  color: var(--navy); transition: all .2s;
}
.save-btn:hover { border-color: var(--navy); }
.save-btn[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); }
.save-btn[aria-pressed="true"] .icon { fill: currentColor; }
.save-btn.pop { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.18); } }
.go-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; transition: all .2s;
}
.job-card:hover .go-btn { background: var(--yellow); color: var(--navy-900); }

.empty-state {
  text-align: center; padding: 56px 24px; background: #fff; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg);
}
.empty-state .empty-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow-100); color: var(--navy);
}
.empty-state .empty-icon .icon { width: 32px; height: 32px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); max-width: 480px; margin: 0 auto 22px; }

/* ---------- Job-Alarm Band ---------- */
.alert-band { position: relative; overflow: hidden; background: var(--yellow); color: var(--navy-900); padding: clamp(48px, 7vw, 72px) 0; }
.alert-band::after {
  content: ""; position: absolute; right: -60px; top: -20px; bottom: -20px; width: 340px; opacity: .22;
  background: repeating-linear-gradient(-45deg, var(--navy) 0 5px, transparent 5px 14px);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}
.alert-band .container { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .alert-band .container { grid-template-columns: 1fr 1.15fr; gap: 56px; } }
.alert-band h2 { color: var(--navy-900); margin-bottom: 10px; }
.alert-band .kicker { color: var(--navy-900); }
.alert-band .kicker::before { background: var(--navy-900); }
.alert-band p { margin: 0; font-size: 1.05rem; }
.alert-form { display: grid; gap: 10px; }
@media (min-width: 640px) { .alert-form .row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; } }
.alert-form .row > * { margin-bottom: 10px; }
@media (min-width: 640px) { .alert-form .row > * { margin-bottom: 0; } }
.alert-form .input { border-color: transparent; }
.alert-form small { font-size: .82rem; opacity: .8; }
.alert-form small a { color: inherit; font-weight: 600; }
.alert-band-alt { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-weight: 600; }

/* ---------- Vorteile ---------- */
.benefit-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit {
  position: relative; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all .25s var(--ease); overflow: hidden;
}
.benefit::after {
  content: ""; position: absolute; right: 0; top: 0; width: 64px; height: 64px; background: var(--stripes); opacity: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%); transition: opacity .25s;
}
.benefit:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.benefit:hover::after { opacity: 1; }
.benefit-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--radius); background: var(--navy); color: var(--yellow); margin-bottom: 20px;
}
.benefit-icon .icon { width: 26px; height: 26px; }
.benefit h3 { margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--muted); }

/* ---------- Prozess ---------- */
.process { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .process { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.process-step { position: relative; padding: 28px 28px 8px 0; }
@media (min-width: 1040px) {
  .process-step:not(:last-child)::after {
    content: ""; position: absolute; top: 54px; left: 84px; right: 16px; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px);
  }
}
.process-num {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 22px;
  font-size: 1.3rem; font-weight: 700; color: var(--navy-900); background: var(--yellow); border-radius: var(--radius);
}
.process-step h3 { color: #fff; margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,.75); margin: 0; }

/* ---------- Über uns ---------- */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: 72px; } }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); position: relative; z-index: 1; }
.about-media::before {
  content: ""; position: absolute; left: -18px; bottom: -18px; width: 55%; height: 60%; background: var(--stripes); border-radius: var(--radius);
}
.about-badge {
  position: absolute; z-index: 2; right: -12px; bottom: 28px; padding: 18px 22px; background: var(--navy); color: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge strong { display: block; font-size: 2rem; line-height: 1; color: var(--yellow); }
.about-badge span { font-size: .85rem; color: rgba(255,255,255,.8); }
@media (max-width: 600px) { .about-badge { right: 12px; } }
.about .prose { margin-bottom: 26px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s; }
.faq-item[open] { border-color: var(--navy); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; transition: transform .25s var(--ease); color: var(--navy); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA-Karte (Initiativbewerbung) ---------- */
.cta-card {
  position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: clamp(32px, 5vw, 56px);
  background: var(--petrol); color: rgba(255,255,255,.85); border-radius: var(--radius-lg);
}
@media (min-width: 900px) { .cta-card { grid-template-columns: 1fr auto; } }
.cta-card h2 { color: #fff; margin-bottom: 10px; }
.cta-card p { margin: 0; max-width: 620px; }
.cta-card::after {
  content: ""; position: absolute; right: 0; top: 0; width: 160px; height: 100%; background: var(--stripes); opacity: .18;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-card > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-top { display: grid; gap: 40px; padding: 72px 0 48px; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 360px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .icon { width: 16px; height: 16px; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-stripe { height: 6px; background: var(--stripes); opacity: .9; }

/* ---------- Stellen-Detail ---------- */
.job-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 40px 0 48px; }
.job-hero::after {
  content: ""; position: absolute; right: -40px; bottom: 0; width: 300px; height: 120px; background: var(--stripes); opacity: .5;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.job-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: .9rem; }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a:hover { color: var(--yellow); }
.job-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); max-width: 900px; margin-bottom: 20px; }
.job-hero .meta { color: rgba(255,255,255,.85); font-size: 1rem; gap: 10px 24px; }
.job-hero .meta .icon { color: var(--yellow); opacity: 1; }
.job-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.job-layout { display: grid; gap: 40px; padding: 56px 0 24px; }
@media (min-width: 1000px) { .job-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } }
.job-lead { font-size: 1.18rem; line-height: 1.65; color: var(--ink); margin-bottom: 40px; padding-left: 20px; border-left: 4px solid var(--yellow); }
.job-block { margin-bottom: 44px; }
.job-block h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.job-block h2 .num {
  width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--yellow); font-size: .9rem;
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow-100);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border: 2px solid var(--navy); border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.checklist.two-col { gap: 12px 32px; }
@media (min-width: 720px) { .checklist.two-col { grid-template-columns: 1fr 1fr; } }

.job-aside { display: grid; gap: 16px; }
@media (min-width: 1000px) { .job-aside { position: sticky; top: 100px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card-title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.facts .f-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--bg-soft); color: var(--navy); }
.facts .f-label { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.facts .f-value { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.usp { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.usp li { display: flex; align-items: center; gap: 8px; }
.usp .icon { width: 16px; height: 16px; color: var(--success); }
.contact-card { display: flex; gap: 16px; align-items: center; }
.avatar {
  width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--navy); color: var(--yellow); font-weight: 700; font-size: 1.1rem;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact-card .name { font-weight: 700; color: var(--ink); }
.contact-card .role { font-size: .88rem; color: var(--muted); }
.contact-links { display: grid; gap: 6px; margin-top: 16px; font-size: .92rem; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }

/* ---------- Bewerbungsformular ---------- */
.apply-section { background: var(--bg-soft); padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: 80px; }
.apply-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .apply-wrap { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; } }
.apply-intro h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 2.4vw, 2rem); hyphens: auto; overflow-wrap: break-word; }
legend.step-title { padding: 0; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.apply-intro p { color: var(--muted); }
.apply-intro .usp { font-size: .95rem; }
.apply-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.stepper-item {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 18px 20px; font-size: .9rem; font-weight: 600; color: var(--muted);
}
.stepper-item + .stepper-item { border-left: 1px solid var(--line); }
.stepper-item .n {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: .82rem;
}
.stepper-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.stepper-item.is-active { color: var(--ink); }
.stepper-item.is-active .n { border-color: var(--navy); background: var(--navy); color: #fff; }
.stepper-item.is-active::after { background: var(--yellow); }
.stepper-item.is-done .n { border-color: var(--yellow); background: var(--yellow); color: var(--navy-900); }
@media (max-width: 640px) { .stepper-item .t { display: none; } .stepper-item { justify-content: center; } }
.apply-body { padding: clamp(22px, 4vw, 40px); }
.step-title { font-size: 1.3rem; margin-bottom: 4px; }
.step-sub { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.grid-2 { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.js .apply-step:not(.is-current) { display: none; }
.apply-step { animation: step-in .35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } }
.apply-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--line); }
.apply-nav .secure { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.apply-nav .secure .icon { width: 16px; height: 16px; color: var(--success); }
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: block; }
html:not(.js) .js-only { display: none !important; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 34px 20px;
  text-align: center; border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--bg-soft); transition: all .2s; cursor: pointer;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--navy); background: var(--yellow-100); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .dz-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.dropzone .dz-icon .icon { width: 26px; height: 26px; }
.dropzone strong { color: var(--ink); font-weight: 600; }
.dropzone u { color: var(--navy); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.dropzone small { color: var(--muted); max-width: 420px; }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.file-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  animation: step-in .25s var(--ease);
}
.file-item .f-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--navy); color: #fff; font-size: .62rem; font-weight: 700; flex: none; }
.file-item .f-name { font-weight: 600; color: var(--ink); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .f-size { font-size: .8rem; color: var(--muted); }
.file-item .f-main { min-width: 0; flex: 1; }
.file-item button { background: none; border: 0; color: var(--muted); padding: 6px; border-radius: var(--radius-sm); }
.file-item button:hover { color: var(--danger); background: var(--danger-bg); }
.file-item.is-error { border-color: var(--danger); background: var(--danger-bg); }

.options { display: grid; gap: 10px; }
.options.inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.option-card .check { padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.option-card .check:hover { border-color: var(--navy); }
.option-card .check:has(input:checked) { border-color: var(--navy); background: var(--yellow-100); }
.summary-box { padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius); margin-bottom: 22px; font-size: .92rem; }
.summary-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.summary-box dt { color: var(--muted); }
.summary-box dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Mobile Bewerben-Leiste */
.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(27,26,55,.08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.apply-bar.is-visible { transform: none; }
.apply-bar .btn-yellow { flex: 1; }
@media (min-width: 1000px) { .apply-bar { display: none; } }

/* Ähnliche Jobs */
.similar-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .similar-grid { grid-template-columns: repeat(3, 1fr); } }
.mini-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: all .25s var(--ease);
}
.mini-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.mini-card h3 { font-size: 1.08rem; margin: 0; }
.mini-card .link-arrow { margin-top: auto; }

/* ---------- Status-Seite ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 48px 0 56px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -40px; bottom: 0; width: 260px; height: 100px; background: var(--stripes); opacity: .45;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.8); margin: 0; max-width: 680px; font-size: 1.08rem; }
.page-hero .container { position: relative; z-index: 1; }
.success-mark {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy-900); margin-bottom: 22px;
  animation: pop .6s var(--ease);
}
.success-mark .icon { width: 32px; height: 32px; stroke-width: 3; }
.status-layout { display: grid; gap: 24px; padding: 48px 0 80px; }
@media (min-width: 960px) { .status-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.progress-steps { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.progress-steps li { position: relative; text-align: center; font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: 46px; }
.progress-steps li::before {
  content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line);
}
.progress-steps li:first-child::before { display: none; }
.progress-steps .dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--line); z-index: 1; color: transparent;
}
.progress-steps .dot .icon { width: 16px; height: 16px; stroke-width: 3; }
.progress-steps li.is-done { color: var(--ink); }
.progress-steps li.is-done::before, .progress-steps li.is-current::before { background: var(--yellow); }
.progress-steps li.is-done .dot { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); }
.progress-steps li.is-current { color: var(--navy); }
.progress-steps li.is-current .dot { border-color: var(--navy); background: var(--navy); color: var(--yellow); box-shadow: 0 0 0 6px rgba(51,49,98,.12); }
.status-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); }
.status-note .icon { color: var(--navy); margin-top: 3px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.danger-zone { border-color: #f3c6cb; }
.danger-zone h3 { color: var(--danger); font-size: 1.05rem; }
.danger-zone p { font-size: .92rem; color: var(--muted); }

/* ---------- Inhaltsseiten / Fehler ---------- */
.content-page { padding: 56px 0 96px; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: var(--navy); letter-spacing: -.04em; position: relative; display: inline-block; }
.error-code::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 8px; height: 14px; background: var(--stripes); z-index: -1; }

/* ---------- Animationen beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Druck ---------- */
@media print {
  .topbar, .site-header, .site-footer, .apply-section, .apply-bar, .job-hero-actions, .job-aside .btn, .similar, .save-btn, .breadcrumb, .toasts { display: none !important; }
  .job-hero { background: none; color: #000; padding: 0 0 12px; border-bottom: 3px solid #000; }
  .job-hero h1, .job-hero .meta { color: #000; }
  .job-hero::after { display: none; }
  .job-layout { display: block; padding-top: 16px; }
  .job-aside { position: static; margin-top: 24px; }
  body { font-size: 11pt; }
  a { color: #000; text-decoration: none; }
}
