/* Einfaches Design: Schwarz, Grau, Weiß und Gelb. Keine Effekte. */
:root {
  --accent: rgb(255, 249, 0);
  --bg: #0f0f0f;
  --field: #1a1a1a;
  --line: #333;
  --line-2: #555;
  --text: #ececec;
  --muted: #999;
  --font: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent);
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.container {
  width: min(720px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: #000;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: #e6e000;
  border-color: #e6e000;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  background: #222;
  border-color: var(--line-2);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 14px;
}

/* ---------- Kopfzeile ---------- */
.nav {
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
}

/* ---------- Seite ---------- */
.page {
  padding: 32px 0 16px;
}
.page h1 {
  font-size: 1.75rem;
}
.lead {
  margin-top: 6px;
  color: var(--muted);
}
.kicker {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.kicker + h1 {
  margin-top: 2px;
}
.meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}
.back-link {
  color: var(--muted);
  font-size: 14px;
}
.block {
  margin-top: 24px;
}

/* Stellenliste */
.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.job-item:last-child {
  border-bottom: 1px solid var(--line);
}
.job-item h3 {
  font-size: 1.1rem;
}
.job-item:hover h3 {
  text-decoration: underline;
}
.job-item .summary {
  margin-top: 2px;
  color: var(--muted);
}
.job-item-text {
  min-width: 0;
}

/* Stellendetails */
.job-details {
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.job-details h4 {
  margin: 16px 0 4px;
  font-size: 1rem;
}
.list {
  margin: 0;
  padding-left: 20px;
  color: #d4d4d4;
}
.empty-note {
  padding: 16px 0;
  color: var(--muted);
}

/* Formularbereich */
.form-card {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.progress {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.progress li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--line-2);
}
.progress li.done {
  color: var(--muted);
}
.progress li[aria-current] {
  color: var(--text);
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.field.full,
fieldset.full {
  grid-column: 1 / -1;
}
.field > label,
legend {
  font-size: 15px;
  font-weight: 600;
}
.req {
  color: var(--accent);
}
.hint {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  padding: 0;
  margin-bottom: 4px;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='number'],
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
select {
  appearance: auto;
}
.field.invalid input,
.field.invalid textarea {
  border-color: #fff;
}
.error {
  display: none;
  color: var(--accent);
  font-size: 14px;
}
.invalid > .error {
  display: block;
}

/* Auswahl: normale Checkboxen */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.choice,
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.check {
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
}
input[type='checkbox'] {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}
.check input {
  margin-top: 3px;
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.step-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.form-alert {
  display: none;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.form-alert.show {
  display: block;
}
.success {
  display: none;
}
.success.show {
  display: block;
}
.success h3 {
  font-size: 1.25rem;
}
.success p {
  margin: 6px 0 14px;
  color: var(--muted);
}

/* ---------- Fußzeile ---------- */
.footer {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.footer-links a:not(.btn) {
  color: var(--muted);
}

/* ---------- Rechtstexte ---------- */
.legal {
  padding: 32px 0 0;
}
.legal h1 {
  margin-bottom: 8px;
  font-size: 1.75rem;
}
.legal h2 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
}
.legal p,
.legal li {
  color: #d0d0d0;
}
.legal p + p {
  margin-top: 10px;
}
.legal ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.legal address {
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-style: normal;
  line-height: 1.7;
}
.center-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}
.center-page img {
  width: 72px;
  margin: 0 auto 12px;
}
.center-page h1 {
  font-size: 3rem;
}
.center-page p {
  margin: 6px 0 18px;
  color: var(--muted);
}
.card {
  padding: 20px;
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .job-item {
    flex-direction: column;
    align-items: stretch;
  }
  .step-nav .btn {
    flex: 1;
  }
}
