/* Job-Portal Schulbegleitung Westküste – nach wk-server/DESIGN.md (Tokens 1:1 übernommen). */
@font-face { font-family: Rubik; src: url(/static/rubik-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --primary: #3627be; --primary-hover: #251a8a; --primary-tint: #eeedfa; --on-primary: #fff;
  --accent: #ef7900; --ink: #000; --muted: #5f5d6e; --nacht: #19133f;
  /* Orange Papierfläche wie auf der Webseite (Keas Layout): Papier-Struktur, leicht abgedunkelt */
  --flaeche-orange: linear-gradient(rgba(190, 70, 0, .22), rgba(190, 70, 0, .22)), url(/static/papier-orange.webp) center / cover, #e46c1e;
  --canvas: #faf9f8; --surface: #fff; --hairline: #e5e2dc; --field-border: #b9b6c6;
  --schrift: Rubik, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 18px/1.55 var(--schrift); }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
main { max-width: 860px; margin: 0 auto; padding: 0 16px 48px; }

/* Kopf: 6-px-Balken, weiße Leiste, Logo im Original */
.kopf { background: var(--surface); border-top: 6px solid var(--primary); border-bottom: 1px solid var(--hairline); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 860px; margin: 0 auto; padding: 14px 16px; }
.marke img { display: block; height: 38px; width: auto; }
.kopf-hinweis { font-size: 13px; color: var(--muted); border: 1px solid var(--hairline); padding: 2px 8px; }

/* Einstieg: Akzentlinie (einmal je Seite), zweite Zeile in Blau */
.einstieg { padding: 40px 0 8px; }
.akzent { display: block; width: 48px; height: 4px; background: var(--accent); margin-bottom: 20px; }
.einstieg h1 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -1.1px; margin: 0 0 14px; }
.einstieg h1 .zeile2 { display: block; color: var(--primary); }
.einstieg p { margin: 0 0 12px; max-width: 46ch; }
@media (min-width: 768px) { .einstieg { padding-top: 56px; } .einstieg h1 { font-size: 35px; letter-spacing: -1.6px; } }

/* Filter */
.filter { display: grid; gap: 16px; margin: 24px 0 8px; padding: 16px; background: var(--surface); border: 1px solid var(--hairline); color: var(--ink); }
.feld { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.feld input, .feld select { font: 400 16px var(--schrift); color: var(--ink); padding: 11px 12px; min-height: 46px; width: 100%;
  border: 1px solid var(--field-border); border-radius: 0; background: var(--surface); appearance: none; }
.feld select { background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.feld input:focus, .feld select:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
@media (min-width: 640px) { .filter { grid-template-columns: 1.4fr 1fr auto; align-items: end; } }

/* Knöpfe: eckig, blau; sekundär mit Rahmen */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 0;
  background: var(--primary); color: var(--on-primary); font: 500 16px/1 var(--schrift); text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--primary-hover); color: var(--on-primary); }
.knopf.zweit { background: var(--surface); color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.knopf.zweit:hover { background: var(--primary-tint); color: var(--primary-hover); }

.trefferzeile { color: var(--muted); font-size: 15px; margin: 16px 0 0; }

/* Stellen als Zeilen mit Trennlinie */
.stellen { list-style: none; margin: 16px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--hairline); }
.stellen li + li { border-top: 1px solid var(--hairline); }
.stelle { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px; padding: 16px; text-decoration: none; color: inherit; }
.stelle:hover { background: var(--primary-tint); }
.stelle:hover .stelle-titel { color: var(--primary); }
.stelle-titel { font-weight: 500; font-size: 18px; letter-spacing: -0.2px; }
.stelle-titel, .stelle-ort { grid-column: 1; }
.stelle-ort { color: var(--muted); font-size: 15px; }
.stelle-pfeil { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--primary); font-size: 20px; }
.leer { padding: 18px 16px; color: var(--muted); }

.initiativ { margin: 48px 0 0; padding: 24px; background: var(--primary-tint); }
.initiativ h2 { margin: 0 0 8px; font-size: 24px; font-weight: 500; letter-spacing: -0.6px; }
.initiativ p { margin: 0 0 16px; }
.stand { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* Stellenanzeige */
.zurueck { margin: 24px 0 0; font-size: 16px; }
.zurueck a { text-decoration: none; font-weight: 500; }
.anzeige-kopf { padding: 16px 0 24px; border-bottom: 1px solid var(--hairline); }
.anzeige-kopf h1 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -1.1px; margin: 8px 0 8px; }
@media (min-width: 768px) { .anzeige-kopf h1 { font-size: 35px; letter-spacing: -1.6px; } }
.anzeige-meta { margin: 0; color: var(--muted); }
.anzeige-lohn { margin: 8px 0 0; font-weight: 500; color: var(--primary); font-variant-numeric: tabular-nums; }
.anzeige-slogan { margin: 16px 0 20px; font-size: 19px; font-weight: 500; letter-spacing: -0.2px; }
.anzeige-bild { display: block; width: 100%; height: auto; margin: 24px 0 0; border-radius: 0; }
.anzeige-text { max-width: 70ch; }
.anzeige-text h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.6px; line-height: 1.25; margin: 32px 0 8px; color: var(--primary); }
.anzeige-text ul { padding-left: 1.1em; }
.anzeige-text li { margin: 6px 0; }
.anzeige-text li::marker { color: var(--accent); }
.anzeige-schluss { margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--hairline); }
.hinweis { color: var(--muted); font-size: 15px; }

/* Bühne: Film „Hände hoch“ bzw. Standbild, randlos, ohne Schleier (Kea 17.11.2026) */
.buehne { position: relative; background: var(--nacht); }
.buehne-film { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 62vh; object-fit: cover; object-position: center 20%; }
@media (min-width: 768px) { .buehne-film { aspect-ratio: auto; height: clamp(320px, 40vw, 520px); max-height: none; } }
.film-knopf { position: absolute; right: 16px; bottom: 16px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 0;
  background: var(--surface); color: var(--primary); font: 500 15px/1 var(--schrift); cursor: pointer; }
.film-knopf:hover { background: var(--primary-tint); color: var(--primary-hover); }
.film-knopf:focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 3px var(--primary); }

/* Orange Papierfläche mit weißen Icons: großer Titel weiß, Fließtext und zweite Zeile in Nachtblau (Kontrast) */
.band-orange { position: relative; background: var(--flaeche-orange); color: var(--nacht); }
.band-innen { max-width: 860px; margin: 0 auto; padding: 32px 16px 24px; }
.band-orange h1 { margin: 0 0 14px; color: #fff; font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -1px; }
.band-orange h1 .zeile2 { display: block; color: var(--nacht); }
.band-orange p { margin: 0; max-width: 46ch; font-weight: 500; }
.band-orange .filter { border: 0; margin-bottom: 0; }
.band-orange :focus-visible { outline-color: var(--nacht); }
.icons { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.icons img { display: block; width: 40px; height: 40px; object-fit: contain; }
@media (min-width: 768px) {
  .band-innen { padding: 56px 16px 40px; }
  .band-orange h1 { font-size: 35px; letter-spacing: -1.6px; }
  .icons img { width: 56px; height: 56px; }
}
/* breite Bildschirme: Icons wandern in die Ränder links und rechts, leicht gedreht wie hingelegt */
@media (min-width: 1240px) {
  .band-orange { overflow: hidden; }
  .icons { position: absolute; inset: 0; margin: 0; pointer-events: none; }
  .icons li { position: absolute; }
  .icons img { width: 84px; height: 84px; }
  .icons li:nth-child(1) { left: calc((100% - 860px) / 4 - 42px); top: 14%; transform: rotate(-8deg); }
  .icons li:nth-child(2) { left: calc((100% - 860px) / 4 - 72px); top: 46%; transform: rotate(6deg); }
  .icons li:nth-child(3) { left: calc((100% - 860px) / 4 + 10px); top: 72%; transform: rotate(-4deg); }
  .icons li:nth-child(4) { right: calc((100% - 860px) / 4 - 42px); top: 12%; transform: rotate(7deg); }
  .icons li:nth-child(5) { right: calc((100% - 860px) / 4 - 70px); top: 44%; transform: rotate(-6deg); }
  .icons li:nth-child(6) { right: calc((100% - 860px) / 4 + 6px); top: 70%; transform: rotate(5deg); }
}

.fuss { background: var(--canvas); border-top: 1px solid var(--hairline); }
.fuss-innen { max-width: 860px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; }
.fuss p { margin: 4px 0; }
.fuss a { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .stelle, .knopf { transition: background-color .15s, color .15s; } }
