/* =====================================================================
   1a ZUKUNFT PERSONALBERATUNG GMBH – Gemeinsames Stylesheet
   ---------------------------------------------------------------------
   Dieses eine Stylesheet steuert das Aussehen ALLER Seiten.
   Wenn Sie hier etwas ändern, ändert es sich automatisch überall.

   Es werden ausschliesslich System-Schriften verwendet (keine Google
   Fonts, keine fremden Schriftdateien) und keine externen Ressourcen.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1) FARBEN UND GRUNDWERTE  –  hier können Sie zentral nachjustieren
   --------------------------------------------------------------------- */
:root {
  --orange:        #EB6B08;   /* Akzentfarbe (Firmenorange) */
  --orange-text: #B75306;   /* dunkleres Orange NUR für kleine Texte (Lesbarkeit/WCAG) */
  --orange-dark:   #cf5e07;   /* etwas dunkler, z. B. beim Überfahren mit der Maus */
  --anthracite:    #192229;   /* dunkle Schrift / dunkle Flächen */
  --ink:           #1c262e;   /* Standard-Textfarbe (sehr dunkles Anthrazit) */
  --muted:         #54616b;   /* gedämpfte Texte (Untertitel, Hinweise) */
  --bg:            #ffffff;   /* Seitenhintergrund weiss */
  --bg-soft:       #f5f6f7;   /* sehr helles Grau für abgesetzte Bereiche */
  --line:          #e6e8ea;   /* feine Trennlinien / Rahmen */
  --footer-text:   #c7ced3;   /* Textfarbe im dunklen Fussbereich */

  --maxwidth: 1080px;         /* maximale Inhaltsbreite */
  --radius: 10px;             /* Eckenrundung von Karten/Buttons */

  /* System-Schrift-Stack – wird vom jeweiligen Gerät bereitgestellt */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


/* ---------------------------------------------------------------------
   2) GRUNDLAGEN / RESET
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--orange); }

/* Sichtbarer Fokusrahmen für Tastatur-Bedienung (Barrierefreiheit) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hilfslink "Zum Inhalt springen" – nur sichtbar bei Tastaturnutzung */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--anthracite); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Zentrierter Inhaltsbereich */
.container {
  width: 100%;
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 0 24px;
}


/* ---------------------------------------------------------------------
   3) TYPOGRAFIE
   --------------------------------------------------------------------- */
h1, h2, h3 { color: var(--anthracite); line-height: 1.15; margin: 0 0 .5em; }

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  font-weight: 750;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 62ch; }

/* "Kicker" = kleine Bereichsüberschrift mit kurzem orangenem Strich */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-text);
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 28px; height: 3px; background: var(--orange);
}


/* ---------------------------------------------------------------------
   4) BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-size: 1rem; font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}
/* Hauptbutton: Orange mit dunkler Schrift (sehr guter Kontrast) */
.btn-primary { background: var(--orange); color: var(--anthracite); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }

/* Zweitbutton: heller Rahmen, dunkle Schrift */
.btn-secondary { background: transparent; color: var(--anthracite); border-color: var(--anthracite); }
.btn-secondary:hover { background: var(--anthracite); color: #fff; }

/* Variante für dunklen Hintergrund (z. B. Akzentband) */
.btn-on-dark { background: #fff; color: var(--anthracite); }
.btn-on-dark:hover { background: var(--orange); color: var(--anthracite); }


/* ---------------------------------------------------------------------
   5) KOPFBEREICH (Logo + Navigation) – auf jeder Seite gleich
   --------------------------------------------------------------------- */
/* Dünnes orangenes Band ganz oben als Marken-Akzent */
.topbar { height: 4px; background: var(--orange); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px;
  padding: 14px 24px;
  max-width: var(--maxwidth); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.main-nav { display: flex; gap: 8px; }
.main-nav a {
  text-decoration: none; color: var(--anthracite);
  font-weight: 650; padding: 8px 12px; border-radius: 0; /* keine Rundung -> gerade Unterstreichung */
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--orange); }
/* aktuelle Seite wird hervorgehoben */
.main-nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); }


/* ---------------------------------------------------------------------
   6) BEREICHE / ABSTÄNDE
   --------------------------------------------------------------------- */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 56px 0; }

/* Startseiten-Aufmacher (Hero) */
.hero { padding: 86px 0 64px; }
.hero .lead { margin-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }


/* ---------------------------------------------------------------------
   7) KARTEN-RASTER (z. B. zwei Zielgruppen, Stärken)
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-top: 4px; }
.card .card-link {
  display: inline-block; margin-top: 8px;
  font-weight: 700; color: var(--orange-text); text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; }

/* Personen-Karten (Ansprechpartner / Gesellschafter-Geschäftsführer) */
.person .person-head { display: flex; align-items: center; gap: 16px; }
.monogram {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: var(--anthracite); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; letter-spacing: .03em;
}
.person h3 { margin: 0; }
.person .role { margin: 3px 0 0; color: var(--orange-text); font-weight: 700; font-size: .92rem; }
.person .person-contact { margin: 0; }
.person .person-contact a { color: var(--anthracite); font-weight: 650; text-decoration: none; }
.person .person-contact a:hover { color: var(--orange); }


/* Stärken: schlichte Liste mit orangenem Häkchen-Strich */
.feature { border-left: 3px solid var(--orange); padding: 4px 0 4px 18px; }
.feature h3 { margin: 0 0 4px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }


/* ---------------------------------------------------------------------
   8) AKZENTBAND (dunkel, z. B. BDU-Hinweis)
   --------------------------------------------------------------------- */
.band {
  background: var(--anthracite); color: #fff;
  padding: 40px 0;
}
.band p { color: #e8ebee; margin: 0; }
.band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }


/* ---------------------------------------------------------------------
   9) KONTAKT-BLOCK
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; max-width: 720px; }
.contact-item { padding: 4px 0; }
.contact-item .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-item a, .contact-item span { font-size: 1.12rem; font-weight: 650; color: var(--anthracite); text-decoration: none; }
.contact-item a:hover { color: var(--orange); }


/* ---------------------------------------------------------------------
   10) STELLENANGEBOTE – Liste
   --------------------------------------------------------------------- */
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background-color .12s ease;
}
.job:hover { background: var(--bg-soft); }
.job .job-ref {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums; font-weight: 700;
  color: var(--orange-text); min-width: 110px;
}
.job .job-title { flex: 1 1 320px; font-size: 1.18rem; font-weight: 700; color: var(--anthracite); }
.job .job-meta { flex: 0 0 auto; color: var(--muted); }
.job .job-cue { flex: 0 0 auto; color: var(--orange-text); font-weight: 700; }

.empty-note {
  background: var(--bg-soft); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 28px; color: var(--muted);
}


/* ---------------------------------------------------------------------
   11) TEXTSEITEN (Impressum / Datenschutz)
   --------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose a { color: var(--orange-text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }

/* deutlich erkennbarer Platzhalter, den Sie ausfüllen müssen */
.placeholder {
  background: #fff7ef; border: 1px solid var(--orange);
  border-radius: 6px; padding: 2px 8px; font-weight: 700; color: var(--orange-dark);
}
.note {
  margin-top: 2.5em; padding: 18px 20px;
  background: var(--bg-soft); border-left: 3px solid var(--orange);
  border-radius: 6px; color: var(--muted); font-size: .96rem;
}


/* ---------------------------------------------------------------------
   12) FUSSBEREICH (dunkel) – auf jeder Seite gleich
   --------------------------------------------------------------------- */
.site-footer { background: var(--anthracite); color: var(--footer-text); padding: 48px 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 10px; }
.footer-col p, .footer-col a { color: var(--footer-text); font-size: .96rem; text-decoration: none; margin: 2px 0; }
.footer-col a:hover { color: var(--orange); }
.footer-links a { display: block; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid #2c3942;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: .88rem; color: #94a0a8;
}
.footer-bottom a { color: #94a0a8; }
.footer-bottom a:hover { color: var(--orange); }


/* ---------------------------------------------------------------------
   13) RESPONSIVE  –  passt sich automatisch an Tablet/Smartphone an
   --------------------------------------------------------------------- */
@media (max-width: 820px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 44px; }

  /* Navigation rutscht unter das Logo und zentriert sich */
  .header-inner { justify-content: center; }
  .brand { width: 100%; justify-content: center; }
  .main-nav { width: 100%; justify-content: center; }

  /* Karten und Kontakt untereinander */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Buttons über volle Breite, gut mit dem Daumen bedienbar */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  /* Stellen-Eintrag wird übersichtlich gestapelt */
  .job .job-ref { min-width: 0; }
  .job .job-cue { display: none; }
}

/* Wer im System "weniger Bewegung" eingestellt hat, bekommt kein sanftes Scrollen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
