/* Just Hiring – gemeinsames Stylesheet für alle Seiten */

/* ---------- Schriften (selbst gehostet, keine Anfrage an Google) ---------- */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
}

/* ---------- Farben und Grundwerte ---------- */

:root {
  --plum: #1E1033;
  --plum-line: #3A2C55;
  --plum-border: #4A3A66;
  --lilac: #EDE8F5;
  --lilac-line: #E4DEEE;
  --white: #FFFFFF;

  --accent: #FF5A1F;
  --accent-hover: #FF7A45;
  --accent-text: #E0480F;

  --on-dark: #D9D1E8;
  --on-dark-muted: #B9ADCF;
  --text: #2E2442;
  --text-lead: #4E4266;
  --text-muted: #5B4E72;
  --text-label: #6B5E85;
  --text-card: #3A2F50;

  --font-display: 'Anton', Impact, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;

  --container: 1280px;
  --gutter: 28px;
  --radius-card: 14px;
  --radius-btn: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--plum);
  color: var(--plum);
  font-family: var(--font-body);
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Abschnitte, die main.js nach einem Sprung fokussiert */
[tabindex="-1"]:focus {
  outline: none;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Für Screenreader und Suchmaschinen da, aber unsichtbar */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--accent);
  color: var(--plum);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.skip-link:hover {
  color: var(--plum);
}

/* ---------- Typografie ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
}

.lead {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-lead);
  max-width: 52ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: var(--radius-btn);
  text-decoration: none;
}

.btn--accent {
  background: var(--accent);
  color: var(--plum);
  font-weight: 800;
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: var(--plum);
}

.btn--ghost {
  color: var(--white);
  font-weight: 700;
  border: 2px solid var(--plum-border);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: var(--on-dark-muted);
}

.btn--sm {
  padding: 12px 20px;
}

.btn--lg {
  font-size: 18px;
  padding: 20px 30px;
}

.btn--ghost.btn--lg {
  padding: 20px 24px;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-header__logo img {
  display: block;
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav__link {
  color: var(--white);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--accent-hover);
}

/* Menü-Knopf für schmale Bildschirme. Erscheint nur mit JavaScript
   (Klasse .js am <html>), ohne JS bleibt die umbrechende Navigation. */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 2px solid var(--plum-border);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--white);
  font: 700 15px/1 var(--font-body);
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--on-dark-muted);
}

.menu-toggle svg {
  display: block;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open,
.menu-toggle[aria-expanded="false"] .menu-toggle__close {
  display: none;
}

@media (max-width: 959px) {
  .js .menu-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .site-nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--plum-line);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .js .site-nav__link:first-child {
    border-top: 1px solid var(--plum-line);
  }

  .js .site-nav .btn {
    justify-content: center;
    margin-top: 24px;
    padding: 16px 20px;
    font-size: 17px;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--plum);
  color: var(--white);
  overflow: hidden;
}

.hero__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  padding-top: 40px;
  padding-bottom: 110px;
}

.hero__text {
  flex: 999 1 560px;
  min-width: 0;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 9.4vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--white);
}

.hero__lead {
  margin: 36px 0 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--on-dark);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* Spielerkarte */

.player-card-wrap {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 400px;
  margin: 0 auto;
}

/* Auf dem Handy die ganze Karte gleichmäßig verkleinern, damit Schrift und
   Abstände im Verhältnis bleiben (375 px Bildschirm: rund 270 statt 320 px breit) */
@media (max-width: 559px) {
  .player-card-wrap {
    max-width: 320px;
    zoom: 0.85;
  }
}

.player-card {
  transform: rotate(-3deg);
  background: var(--white);
  color: var(--plum);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.player-card__photo {
  position: relative;
}

.player-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 10px;
}

.player-card__number {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--plum);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
}

.player-card__band {
  background: var(--accent);
  margin: 12px -14px 0;
  padding: 12px 18px;
}

.player-card__name {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.player-card__role {
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

.player-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--lilac-line);
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.player-card__stat {
  background: var(--white);
  padding: 12px 14px;
}

.player-card__value {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.player-card__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Kundenlogos ---------- */

.clients {
  background: var(--lilac);
}

.clients__inner {
  padding-top: 44px;
  padding-bottom: 48px;
}

.clients__title {
  margin: 0;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
}

.logo-marquee {
  margin-top: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: logo-scroll 40s linear infinite;
}

.logo-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 64px;
}

.logo-marquee__item img {
  display: block;
  width: auto;
  max-width: none;
}

@keyframes logo-scroll {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    row-gap: 28px;
  }

  .logo-marquee__item[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Sektionen ---------- */

.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section--lilac {
  background: var(--lilac);
}

.section--white {
  background: var(--white);
}

.section--plum {
  background: var(--plum);
  color: var(--white);
}

/* Fehlwürfe */

.problems .section-title {
  max-width: 12em;
}

.problems__list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 30px 30px 32px;
}

.problem-card__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-label);
}

.problem-card__label--gain {
  color: var(--accent-text);
}

.problem-card__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
}

.problem-card__divider {
  height: 2px;
  background: var(--lilac-line);
  margin: 22px 0;
}

.problem-card__text {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
}

/* Ablauf */

.process .section-title {
  max-width: 11em;
}

.process .lead {
  max-width: 46ch;
}

.steps {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.step {
  background: var(--plum);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 30px 28px 34px;
}

.step__number {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
}

.step__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: normal;
  text-transform: uppercase;
}

.step__phase {
  font-size: 15px;
  font-weight: 600;
  color: var(--on-dark-muted);
  margin-top: 4px;
  margin-bottom: 12px;
}

.step__text {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark);
}

.step--final {
  background: var(--accent);
  color: var(--plum);
}

.step--final .step__number {
  color: var(--plum);
}

.step--final .step__phase {
  color: var(--plum-line);
}

.step--final .step__text {
  color: inherit;
  font-weight: 500;
}

/* Garantie */

.guarantee {
  background: var(--accent);
  color: var(--plum);
}

.guarantee__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 80px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.guarantee__title {
  flex: 1.3 1 520px;
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.88;
  text-transform: uppercase;
}

.guarantee__points {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.guarantee-card {
  background: var(--plum);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 26px 28px;
}

.guarantee-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.guarantee-card__text {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark);
}

/* Positionen */

.positions {
  padding-top: 110px;
  padding-bottom: 110px;
}

.positions .lead {
  margin-top: 20px;
  max-width: 60ch;
}

.positions__body {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.role-picker {
  flex: 1 1 360px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.role-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 82px;
  padding: 16px 14px;
  border: 2px solid var(--plum);
  border-radius: 10px;
  background: var(--white);
  color: var(--plum);
  font-family: var(--font-display);
  font-size: min(21px, 5.6vw);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.role-btn:hover {
  background: var(--lilac);
}

.role-btn[aria-pressed="true"] {
  background: var(--plum);
  color: var(--white);
}

.positions-panel {
  flex: 1.15 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--plum);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 30px 36px;
}

.positions-panel__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.positions-panel__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
  text-transform: uppercase;
}

.positions-panel__list[hidden] {
  display: none;
}

/* Referenzen */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 64px 72px;
}

.testimonial {
  margin: 0;
}

.testimonial blockquote {
  margin: 0;
}

.testimonial__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.testimonial__quote--accent {
  color: var(--accent);
}

.testimonial__text {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark);
}

.testimonial__author {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: var(--on-dark);
}

.testimonial__name {
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}

/* Mini-Spielerkarte neben dem Namen */
.mini-card {
  flex: 0 0 auto;
  width: 86px;
  transform: rotate(-3deg);
  background: var(--white);
  border-radius: 10px;
  padding: 5px 5px 0;
}

.mini-card__photo {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}

.mini-card__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin: 5px -5px 0;
  background: var(--accent);
  border-radius: 0 0 10px 10px;
}

.mini-card__brand img {
  display: block;
  width: auto;
  max-width: 72px;
}

/* Weitere Angebote */

.offers .section-title {
  font-size: clamp(44px, 5.6vw, 84px);
}

.offers .lead {
  max-width: 46ch;
}

.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: 56px;
}

.offer-card {
  border: 2px solid var(--plum);
  border-radius: var(--radius-card);
  padding: 30px;
}

.offer-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: min(34px, 9.5vw);
  line-height: 1;
  text-transform: uppercase;
}

.offer-card__kind {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

.offer-card__text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-card);
}

/* Über mich */

.about__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.about .section-title {
  flex: 1 1 340px;
  min-width: 0;
  font-size: clamp(44px, 5vw, 76px);
}

.about__text {
  flex: 1.3 1 440px;
  min-width: 0;
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
}

.about__text p {
  margin: 0;
}

.about__text p + p {
  margin-top: 20px;
}

/* Abschluss-CTA */

.cta {
  background: var(--plum);
  color: var(--white);
}

.cta__inner {
  padding-top: 130px;
  padding-bottom: 90px;
}

.cta .section-title {
  font-size: min(clamp(60px, 9vw, 128px), 17vw);
  max-width: 10em;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 48px;
}

.cta__actions .btn--lg {
  padding-left: 32px;
  padding-right: 32px;
}

.cta__note {
  font-size: 16px;
  color: var(--on-dark);
}

/* ---------- Fußzeile ---------- */

.site-footer {
  background: var(--plum);
  color: var(--on-dark);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 36px;
  padding-top: 32px;
  padding-bottom: 44px;
  font-size: 15px;
}

/* Auf der Startseite schließt die Fußzeile direkt an den CTA an */
.site-footer--ruled .site-footer__inner {
  padding-top: 28px;
  border-top: 1px solid var(--plum-line);
}

.site-footer__group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

/* Impressum und Datenschutz bleiben auch beim Umbrechen nebeneinander */
.site-footer__legal {
  display: flex;
  gap: 28px;
}

.site-footer__contact {
  color: var(--white);
  text-decoration: none;
}

.site-footer__link {
  color: var(--on-dark);
}

.site-footer__link[aria-current="page"] {
  color: var(--white);
  font-weight: 700;
}

.site-footer__link--accent {
  color: var(--accent);
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */

.page-head {
  background: var(--plum);
  color: var(--white);
}

.page-head__title {
  margin: 0;
  padding-top: 56px;
  padding-bottom: 72px;
  font-family: var(--font-display);
  font-weight: 400;
  /* min(): auf sehr schmalen Handys (320 px) passt „Datenschutz.“ sonst nicht */
  font-size: min(clamp(56px, 8vw, 112px), 15.5vw);
  line-height: 0.9;
  text-transform: uppercase;
}

.legal {
  background: var(--white);
}

.legal__inner {
  padding-top: 80px;
  padding-bottom: 110px;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--plum);
}

.legal a {
  color: var(--plum);
}

.legal-box {
  background: var(--lilac);
  border-radius: var(--radius-card);
}

/* Impressum */

.imprint {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  align-items: start;
  gap: 56px 72px;
}

.imprint__col {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}

.imprint h2 {
  margin: 0 0 10px;
  /* schrumpft auf dem Handy, damit „Urheberrechtshinweis“ in die Box passt */
  font-size: clamp(20px, 7vw, 30px);
}

.imprint p {
  margin: 0;
}

.imprint .legal-box {
  padding: 28px 30px;
}

.imprint a {
  font-weight: 700;
}

/* Datenschutz */

.privacy {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 72px;
}

.toc {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 340px;
  padding: 26px 28px;
  font-size: 16px;
  line-height: 1.5;
}

.toc__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc a {
  font-weight: 600;
}

.prose {
  flex: 3 1 560px;
  min-width: 0;
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.prose > * {
  margin: 0;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  /* schrumpft auf dem Handy, damit „Datenschutzerklärung“ in eine Zeile passt */
  font-size: clamp(28px, 8vw, 36px);
}

.prose > * + h2 {
  margin-top: 56px;
}

.prose h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--plum);
}

.prose > * + h3 {
  margin-top: 36px;
}

.prose > h3 + * {
  margin-top: 10px;
}

.prose ul {
  padding: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose .legal-box {
  padding: 22px 26px;
}

.prose a {
  font-weight: 700;
}
