/* ==========================================================================
   mitarbeiterfinden24.com
   Getauscht wurden die Farb-Tokens: Schwarz als Hauptfarbe, Signalgelb #FFD400
   als Akzent. Gelb ist auf Weiss als Textfarbe zu schwach (1,4 : 1), deshalb
   traegt es nur Flaechen, Kicker auf Dunkel, Schrittkreise und Tints.
   Nicht benoetigte Bauteile (Video, Insights, Fallbeispiel, Portraet, Social,
   Haeufige Fragen, Preise) sind entfernt.

   Schriften: nur Systemschriften, keine externen Dateien.
   Bei jeder Aenderung hier: ?v= in allen Seiten und in kontakt.php hochzaehlen.
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;

  /* Hauptfarbe: Schwarz. Kontraste siehe README. */
  --primary:        #262626;   /* Links, Kicker, Serif-Akzent, Hover der Buttons */
  --primary-dark:   #111111;   /* Buttons, Kennzahlen */
  --primary-tint:   #fff3b8;   /* helles Gelb: Icon-Flaechen, Haekchen */
  --primary-muted:  #5a5a5a;
  --primary-muted-light: #e6bf00; /* Rahmen im Hover */

  /* Akzent: Signalgelb */
  --accent:         #ffd400;
  --accent-dark:    #e6bf00;
  --accent-text:    #7a5a00;   /* Gelb als Text auf Hell, 6,4 : 1 auf Weiss */
  --accent-tint:    #fff8d6;

  --ink:            #1a1a1a;
  --ink-soft:       #4a4a4a;
  --ink-deep:       #111111;
  --white:          #ffffff;
  --border:         #e4e4e0;
  --panel:          #f5f5f3;
  --surface:        #f7f7f5;
  --tint:           #fffbea;

  --container: 1180px;
  --radius:    20px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(24, 28, 36, .06);
  --shadow-md: 0 12px 32px rgba(24, 28, 36, .10);
  --shadow-lg: 0 20px 60px rgba(24, 28, 36, .16);

  --ease: cubic-bezier(.2, .7, .2, 1);

  --space-sm: 52px;
  --space-md: 72px;
  --space-lg: 104px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; line-height: 1.35; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a  { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }

/* Serif-Hervorhebung in Ueberschriften, wie das ".highlight" der Vorlage */
h1 .accent, h2 .accent {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  color: var(--primary);
  letter-spacing: 0;
}

:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 3px; border-radius: 4px; }
/* Gelb erreicht auf Weiss nur 1,4 : 1. Auf Hell daher schwarzer Rahmen, auf Dunkel gelber. */
.section--cta :focus-visible { outline-color: var(--accent); }
.section--cta .form :focus-visible { outline-color: var(--primary-dark); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--ink); color: #fff; padding: .75rem 1rem; text-decoration: none; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: var(--space-md) 0; }
.section--alt   { background: var(--panel); }
.section--tint  { background: var(--tint); }
.section--cta {
  /* Deckfarbe zuerst: ohne sie stuende bei abgeschaltetem Hintergrundbild
     und im Ausdruck weisse Schrift auf weissem Grund. */
  background-color: var(--ink-deep);
  background-image: linear-gradient(160deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--white);
}
.section--cta .section-lead, .section--cta .muted { color: rgba(255,255,255,.72); }

.grid { display: grid; gap: 20px; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
.muted { color: var(--ink-soft); }
.accent { color: var(--primary); }

/* Kicker ueber Ueberschriften */
.eyebrow {
  font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.section--cta .eyebrow { color: var(--accent); }
.section-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 36px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-mark {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--primary-dark); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; letter-spacing: -.01em; }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink-soft); padding: 6px 0;
  min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary-dark); }

/* ---------- Buttons: Pillen wie in der Vorlage ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; min-height: 48px;
  border: 1.5px solid var(--primary-dark); border-radius: 100px;
  background: var(--primary-dark); color: var(--white);
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--primary); border-color: var(--primary);
  box-shadow: 0 10px 26px rgba(17,17,17,.28), var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--border); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--primary-muted-light);
  box-shadow: var(--shadow-sm); }
.btn--sm { padding: 10px 18px; min-height: 44px; font-size: .92rem; }
.btn--full { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Auf dunklen Flaechen: heller Hauptbutton, Geisterbutton mit Glas */
.section--cta .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.section--cta .btn:hover { background: var(--surface); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.section--cta .btn--ghost {
  background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ---------- Hero: zentriert, luftig ---------- */
.hero { padding: var(--space-lg) 0 var(--space-md); background: var(--white); text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 880px; margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 620px; margin-bottom: 36px; }
.hero .cta-row { justify-content: center; }

/* ---------- Kennzahlen als Vertrauensleiste unter dem Hero ---------- */
.stats { background: var(--white); padding: 0 0 var(--space-md); text-align: center; }
.stats .wrap { border-top: 1px solid var(--border); padding-top: 40px; }
.stats h2 { font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px; }
.stats-foot { color: var(--ink-soft); max-width: 56ch; margin: 12px auto 0; font-size: .95rem; }

.stat-grid { display: grid; gap: 20px; max-width: 760px; margin: 0 auto 8px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.stat-value { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1; color: var(--primary-dark); margin-bottom: 8px; }
.stat-label { display: block; font-weight: 700; margin-bottom: 4px; }
.stat-note { display: block; color: var(--ink-soft); font-size: .95rem; }


/* Auf schmalen Handys wird der Kopf sonst zu voll: Wortmarke, Name, Menue-Knopf
   und Anfragen-Knopf passen zusammen nicht in 375 px, der Knopf wurde ueber den
   Rand gedrueckt. Dort entfaellt deshalb das Markenzeichen, der Name bleibt. */
@media (max-width: 26rem) {
  .brand-mark { display: none; }
  .brand-text strong { font-size: .95rem; }
  .header-inner { gap: 10px; }
  .btn--sm { padding: 11px 18px; }
}

/* ---------- Karten ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(24,28,36,.08);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--primary-muted-light); box-shadow: 0 18px 44px rgba(24,28,36,.14); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card--plain { /* auch die "einfachen" Karten sind in diesem Stil echte Karten */ }
.card--pkg { display: flex; flex-direction: column; }
.card--pkg .btn { margin-top: auto; }
.badge {
  display: inline-block; align-self: flex-start;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); background: var(--accent-tint);
  border-radius: 100px; padding: 6px 12px; margin: 0 0 14px;
}
.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23111111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.sub { margin-top: 44px; }
.sub h3 { margin-bottom: .4em; }
.sub p { max-width: 62ch; }

/* Zentrierter Abschnittskopf, z. B. ueber den Paketkarten */
.mitte { text-align: center; }
.mitte .section-lead { margin-left: auto; margin-right: auto; font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 700; color: var(--ink); margin-bottom: 44px; }

/* Karte ueber die volle Rasterbreite: einzelne Leistung, Hinweis unter den Paketen */
.card--breit { grid-column: 1 / -1; }
.card--hinweis { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  background: var(--tint); border-color: var(--primary-muted-light); }
.card--hinweis h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); }
@media (min-width: 46rem) {
  .card--breit .ticks { columns: 2; column-gap: 40px; }
  .card--breit .ticks li { break-inside: avoid; }
  .card--breit.card--pkg .btn { align-self: flex-start; width: auto; }
}

/* ---------- Ablauf: Schritte als Karten ---------- */
.ablauf { margin: 8px 0 0; padding: 0; display: grid; gap: 16px; }
.ablauf-schritt {
  min-width: 0;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.ablauf-text h3 { margin: 0 0 .3em; font-size: 1.08rem; min-height: 1.4em; }
.ablauf-text p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Ueber uns ---------- */
.about { display: grid; gap: 36px; align-items: center; }
.about-text { max-width: 60ch; }
/* ---------- Schritte nach dem Absenden ---------- */
.steps { counter-reset: schritt; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: schritt; position: relative; padding-left: 46px; margin-bottom: 14px; }
.steps li::before {
  content: counter(schritt); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Kontakt: dunkler Abschluss, Formular als helle Karte ---------- */
.section--cta { padding: var(--space-lg) 0; }
.contact { display: grid; gap: 24px; }
.contact-direct { display: grid; gap: 12px; align-content: start; }
.contact-tile {
  display: block; text-decoration: none;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 20px 22px;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.contact-tile:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.contact-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px; }
.contact-value { display: block; font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 700; word-break: break-word; margin-bottom: 4px; }
.contact-tile .muted { font-size: .92rem; color: rgba(255,255,255,.7); }

.form {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
}
.form-row { display: block; margin: 0 0 16px; }
.form-row label { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.form input:not([type="checkbox"]):not([type="hidden"]), .form textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 13px 16px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,212,0,.45); }
.form textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.form-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.form-check input { margin-top: 2px; flex: none; width: 28px; height: 28px; accent-color: var(--primary-dark); cursor: pointer; }
.form-check label { font-size: .92rem; font-weight: 400; color: var(--ink-soft); margin: 0; line-height: 1.5; cursor: pointer; padding: 3px 0; }
.form-check a { color: var(--primary-dark); }
.form .btn { width: 100%; }
.section--cta .form .btn { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.section--cta .form .btn:hover { background: var(--primary); border-color: var(--primary);
  box-shadow: 0 10px 26px rgba(17,17,17,.28), var(--shadow-sm); }
/* Die helle Formularkarte liegt im dunklen Abschnitt: dort darf die
   Abschnittsregel fuer hellen Text nicht in die Karte durchgreifen. */
.section--cta .form, .section--cta .form .muted,
.section--cta .form-check label { color: var(--ink-soft); }
.section--cta .form label, .section--cta .form input, .section--cta .form textarea { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-left: 4px solid var(--accent-dark); background: var(--accent-tint); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 20px; }

/* Ablauf-Kasten innerhalb des dunklen Kontaktbereichs */
.section--cta .sub { margin-top: 44px; }
.section--cta .sub h3 { color: var(--white); }
.section--cta .steps li { color: rgba(255,255,255,.85); }

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding: 40px 0; font-size: .95rem; color: var(--ink-soft); }
.footer-inner { display: grid; gap: 20px; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: var(--ink); }
.footer-claim { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--primary-dark); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: var(--space-md) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.3rem; margin-top: 40px; }
.legal .cta-row { margin-top: 12px; }

/* ---------- Ab Tablet ---------- */
@media (min-width: 46rem) {
  .header-inner { height: 84px; }
  .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
  .form { padding: 36px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Ab Desktop ---------- */

/* ---------- Klappmenue fuer schmale Bildschirme ----------
   Auf dem Handy war die Navigation bisher ausgeblendet. Das <details>-Element
   klappt sie auf, ganz ohne JavaScript. Ab 60rem uebernimmt wieder die
   normale Leiste und das Klappmenue verschwindet. */
/* Bezugspunkt ist die Kopfzeile, nicht der Knopf selbst. Sonst richtet sich
   das Klappfeld am Knopf aus und ragt auf schmalen Schirmen links heraus. */
.header-inner { position: relative; }
.menue { position: static; }
.menue > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--border); color: var(--ink);
  background: var(--white); transition: border-color .18s var(--ease);
}
.menue > summary::-webkit-details-marker { display: none; }
.menue > summary:hover { border-color: var(--primary); }
.menue > summary .menue-zu { display: none; }
.menue[open] > summary .menue-auf { display: none; }
.menue[open] > summary .menue-zu { display: inline-flex; }
.menue[open] > summary { border-color: var(--primary); color: var(--primary-dark); }

.menue-panel {
  position: absolute; right: 20px; top: calc(100% + 14px); z-index: 60;
  display: flex; flex-direction: column; gap: 2px;
  min-width: min(78vw, 300px); padding: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow-md);
}
.menue-panel a {
  text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border-radius: 12px; min-height: 44px;
  display: flex; align-items: center;
}
.menue-panel a:hover, .menue-panel a[aria-current="page"] {
  background: var(--tint); color: var(--primary-dark);
}
.menue-cta {
  margin-top: 6px; justify-content: center !important;
  background: var(--primary-dark); color: var(--white) !important;
}
.menue-cta:hover { background: var(--primary); color: var(--white) !important; }

@media (min-width: 60rem) {
  body { font-size: 1.1rem; }
  /* Ab hier passt die normale Leiste in den Kopf, das Klappmenue entfaellt. */
  .menue { display: none; }
  .nav { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
  .section { padding: var(--space-lg) 0; }
  .hero { padding: 120px 0 var(--space-md); }
}

@media (min-width: 75rem) {
  .ablauf { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
}
.legal ul { padding-left: 1.2em; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }

/* ---------------------------------------------------------------- Druck ---
   Wer die Seite ausdruckt, will Kontaktdaten und Text, keine Videos und keine
   dunklen Flaechen, die im Ausdruck als leeres Grau erscheinen. */
@media print {
  .site-header, .skip, .form, .btn, .footer-nav { display: none !important; }
  body { background: #fff; }
  .section--cta, .section--tint, .section--alt {
    background: #fff !important; background-image: none !important; color: #000 !important;
  }
  .section--cta * { color: #000 !important; }
  section { padding: 14px 0 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
}
