@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Inter-Bold.woff2") format("woff2"); }

:root {
  --papier: #f7f6f2;
  --weiss: #ffffff;
  --navy: #1e2a3a;
  --schiefer: #263946;
  --gold: #c9a84c;
  --gold-hell: #f3ecd6;
  --gold-dunkel: #75673a;
  --grau: #4a5568;
  --rand: #ece8de;
  --rand-satz: 16px;
  --breite: 1100px;
  --seite: max(var(--rand-satz), calc((100% - var(--breite)) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--navy); background: var(--papier); font-size: 15px; line-height: 1.55; }
img, picture { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
section { padding: 48px var(--seite); }
h1 { font-size: clamp(30px, 8vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; }
h2 { font-size: clamp(22px, 5vw, 28px); font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; line-height: 1.2; }
h3 { font-size: 16px; margin: 12px 0 6px; }
.untertitel { color: var(--grau); margin: 0 0 24px; max-width: 620px; }
.vorzeile { font-size: 11px; color: var(--gold-dunkel); letter-spacing: .16em; font-weight: 600; margin: 0 0 12px; text-transform: uppercase; }

/* Knöpfe */
.knopf { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; }
.knopf--navy { background: var(--navy); color: var(--weiss); }
.knopf--gold { background: var(--gold); color: var(--navy); }
.knopf--umriss { border-color: var(--navy); color: var(--navy); }
.knopf:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.bewerber a:focus-visible { outline-color: var(--gold); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Schwebende Leiste */
.leiste { position: absolute; top: 12px; left: var(--rand-satz); right: var(--rand-satz); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 6px; max-width: 900px; margin: 0 auto; padding: 7px 8px 7px 14px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 6px 24px rgba(30,42,58,.10); }
.wortmarke { font-weight: 700; font-size: 12.5px; text-decoration: none; white-space: nowrap; letter-spacing: normal; }
.wortmarke .ps { font-weight: 400; color: var(--gold); }
.menue { position: relative; margin-left: auto; font-size: 13px; color: var(--grau); }
.aufklapp summary { list-style: none; cursor: pointer; padding: 5px 10px; border-radius: 999px; border: 1px solid #e3ded3; background: var(--weiss); font-weight: 600; font-size: 12px; }
.aufklapp summary::-webkit-details-marker { display: none; }
.aufklapp > .punkte { position: absolute; right: 0; top: calc(100% + 18px); min-width: 210px; display: flex; flex-direction: column; padding: 10px; background: var(--weiss); border: 1px solid var(--rand); border-radius: 18px; box-shadow: 0 12px 32px rgba(30,42,58,.16); }
.aufklapp .punkte a { padding: 10px 12px; text-decoration: none; border-radius: 10px; }
.aufklapp .punkte a:hover { background: var(--gold-hell); }
.zeile { display: none; }
.sprachen { display: flex; gap: 4px; align-items: center; font-size: 11px; font-weight: 600; }
.sprachen a { display: inline-flex; align-items: center; gap: 5px; padding: 4px; border-radius: 999px; border: 1px solid #e3ded3; background: var(--weiss); color: var(--grau); text-decoration: none; }
.sprachen a[aria-current="page"] { border-color: var(--gold); color: var(--navy); }
.sprachen .kurz { display: none; }
.flagge { width: 20px; height: 20px; border-radius: 50%; display: inline-block; flex: none; }
.flagge.de { background: linear-gradient(#000 0 33%, #d00 33% 66%, #ffce00 66%); }
.flagge.en { background: #012169; position: relative; overflow: hidden; }
.flagge.en::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #fff 40% 60%, transparent 60%), linear-gradient(90deg, transparent 40%, #fff 40% 60%, transparent 60%); }
.flagge.en::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 44%, #c8102e 44% 56%, transparent 56%), linear-gradient(90deg, transparent 44%, #c8102e 44% 56%, transparent 56%); }
@media (min-width: 720px) {
  .leiste { padding: 10px 14px 10px 22px; gap: 24px; }
  .wortmarke { font-size: 16px; }
  .aufklapp { display: none; }
  .zeile { display: flex; gap: 4px; }
  .zeile a { padding: 6px 12px; text-decoration: none; border-radius: 999px; }
  .zeile a:hover { background: var(--gold-hell); }
  .menue { margin: 0 auto; font-size: 13px; }
  .sprachen a { padding: 4px 10px 4px 5px; }
  .sprachen .kurz { display: inline; }
}

/* Kopf */
.kopf { padding-top: 104px; padding-bottom: 48px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; background: radial-gradient(900px 400px at 85% 10%, var(--gold-hell) 0%, rgba(243,236,214,0) 60%), radial-gradient(700px 400px at 10% 90%, #e9eef3 0%, rgba(233,238,243,0) 60%), #fbfaf7; }
.kopf .text .lead { font-size: 16px; color: var(--grau); max-width: 480px; margin: 0 0 24px; }
.kopf .foto { order: -1; height: 240px; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(30,42,58,.18); position: relative; }
.kopf .foto picture, .kopf .foto img { width: 100%; height: 100%; }
.kopf .foto img { object-fit: cover; object-position: 50% 30%; }
.kopf .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(30,42,58,.22)); }
.schild { position: absolute; left: 14px; bottom: 14px; z-index: 1; width: 200px; padding: 14px 18px; background: var(--schiefer); border-radius: 12px; box-shadow: 0 10px 28px rgba(30,42,58,.35); }
.kopf .foto .schild img { width: 100%; height: auto; }
/* Foto gespiegelt, damit das Schild unten links nicht das Gesicht verdeckt */
.kopf .foto picture { transform: translate(10%, -10%) scale(-1.2, 1.2); }
@media (min-width: 720px) {
  .kopf { grid-template-columns: 1.1fr .9fr; gap: 36px; padding-top: 128px; padding-bottom: 64px; }
  .kopf .foto { order: 0; height: 360px; }
  .kopf .foto picture { transform: scaleX(-1); }
  .schild { left: 18px; bottom: 18px; }
}
@media (min-width: 1100px) { .schild { width: 260px; } }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .kacheln { grid-template-columns: repeat(4, 1fr); } }
.kachel { background: var(--weiss); border: 1px solid var(--rand); border-radius: 14px; padding: 20px; box-shadow: 0 8px 24px rgba(30,42,58,.06); }
.kachel--schwerpunkt { border-color: var(--gold); }
.kachel h3 { margin: 12px 0 6px; }
.kachel h3 a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kachel p { margin: 0; font-size: 14px; color: var(--grau); }
.symbol { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-hell); display: flex; align-items: center; justify-content: center; color: var(--gold-dunkel); font-weight: 700; font-size: 13px; }
.marke { display: inline-block; font-size: 11px; background: var(--gold-hell); color: var(--gold-dunkel); padding: 2px 8px; border-radius: 999px; font-weight: 600; margin-left: 2px; vertical-align: middle; }
.nachsatz { margin: 18px 0 0; font-size: 14px; color: var(--grau); }

/* Warum */
.warum { background: var(--weiss); border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
.warum .drei { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .warum .drei { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.warum h3 { margin: 0 0 6px; }
.warum .drei p { margin: 0; font-size: 14px; color: var(--grau); }
.warum .nummer { font-size: 28px; color: var(--gold); font-weight: 700; line-height: 1; margin-bottom: 10px; }

/* Bewerber */
.bewerber { background: var(--navy); color: var(--weiss); }
.bewerber .innen { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.bewerber .vorzeile { color: var(--gold); }
.bewerber h2 { color: var(--weiss); }
.bewerber p { color: #c7cdd6; margin: 0 0 18px; }
.bewerber .weitere { font-size: 14px; color: #c7cdd6; border-top: 1px solid rgba(201,168,76,.4); padding-top: 20px; }
.bewerber .weitere div + div { margin-top: 10px; }
.bewerber .weitere b { color: var(--weiss); }
.bewerber .weitere a { text-decoration-color: rgba(201,168,76,.6); }
@media (min-width: 720px) {
  .bewerber .innen { grid-template-columns: 1.3fr 1fr; gap: 36px; }
  .bewerber .weitere { border-top: 0; border-left: 1px solid rgba(201,168,76,.4); padding: 0 0 0 24px; }
}

/* Kontakt */
.kontakt .innen { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 720px) { .kontakt .innen { grid-template-columns: 1.2fr 1fr; gap: 36px; } }
.kontakt .karte { background: var(--weiss); border: 1px solid var(--rand); border-radius: 14px; padding: 22px; box-shadow: 0 8px 24px rgba(30,42,58,.06); font-style: normal; }
.kontakt .karte div + div { margin-top: 8px; }

/* Fuß */
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px var(--seite); font-size: 13px; background: var(--weiss); border-top: 1px solid var(--rand); color: var(--grau); }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }

/* für spätere Seiten */
.zeitstrahl { list-style: none; margin: 0; padding: 0; position: relative; }
.zeitstrahl::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--gold-hell); }
.schritt { position: relative; padding: 0 0 28px 54px; }
.schritt:last-child { padding-bottom: 0; }
.schritt .nr { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--papier); }
.schritt h3 { margin: 6px 0 4px; font-size: 17px; }
.schritt p { margin: 0; color: var(--grau); }
.ablauf { padding-top: 104px; }
.ablauf h1 { margin-bottom: 8px; }
.ablauf .untertitel { margin-bottom: 36px; }
.zeile a[aria-current="page"], .punkte a[aria-current="page"] { background: var(--gold-hell); }
@media (min-width: 1000px) {
  .zeitstrahl { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 20px; }
  .zeitstrahl::before { left: 18px; right: 18px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .schritt { padding: 54px 0 0; }
  .schritt h3 { margin-top: 0; }
}
.rechtstext { max-width: 760px; padding: 112px var(--rand-satz) 48px; margin: 0 auto; }
.rechtstext h1 { font-size: clamp(26px, 6vw, 36px); }
.rechtstext h2 { font-size: 19px; margin: 28px 0 6px; }
.rechtstext p, .rechtstext li { color: var(--grau); }

/* Themenseiten: Fahrer, Fachkräfte, Häufige Fragen */
.thema > * { max-width: 760px; }
.thema .untertitel { max-width: 760px; font-size: 16px; margin-bottom: 8px; }
.abschnitt { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rand); }
.abschnitt h2 { font-size: clamp(20px, 4.5vw, 24px); margin-bottom: 8px; }
.abschnitt p { margin: 0 0 10px; color: var(--grau); }
.abschnitt p:last-child { margin-bottom: 0; }
.liste { list-style: none; margin: 0 0 12px; padding: 0; color: var(--grau); }
.liste:last-child { margin-bottom: 0; }
.liste li { position: relative; padding-left: 18px; }
.liste li + li { margin-top: 6px; }
.liste li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.thema .knoepfe { margin-top: 32px; }

/* Bewegung nur beim ersten Laden und nur wenn erlaubt */
@keyframes hereinschweben { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .kopf .foto { animation: hereinschweben 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .kopf .text { animation: aufsteigen 1s .15s cubic-bezier(.2,.7,.2,1) both; }
  .kachel { animation: aufsteigen .9s both; }
  .kachel:nth-child(2) { animation-delay: .1s; }
  .kachel:nth-child(3) { animation-delay: .2s; }
  .kachel:nth-child(4) { animation-delay: .3s; }
}
