/* ==========================================================================
   FOKUS JOBS – Design Tokens
   Abgeleitet aus dem Look & Feel von fokus-lokal.de, angewendet auf
   Jobseite, Kunden-Dashboard und Plattform-Startseite.
   Direkt einbindbar im Laravel-Projekt (public/css/design-tokens.css).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&family=Inter:wght@400;500;600&display=swap');

:root {

  /* -- Farben: Marke -------------------------------------------------- */
  --color-teal:        #14B8A6;  /* Primärfarbe: Buttons, Links, Akzente */
  --color-teal-dark:    #0F766E;  /* Hover-Zustand, Text auf hellem Teal-Tint */
  --color-teal-tint:    #E1F5EE;  /* Hintergrund für Badges/Status "Live" */

  /* -- Farben: Neutral / Text ------------------------------------------ */
  --color-navy:         #1E293B;  /* Überschriften, dunkle Flächen, Footer */
  --color-navy-2:       #334155;  /* Karten auf dunklem Hintergrund */
  --color-slate:        #475569;  /* Fließtext */
  --color-slate-muted:  #94A3B8;  /* Meta-Text auf dunklem Hintergrund */
  --color-border:       #E2E8F0;  /* Standard-Rahmen, Trennlinien */
  --color-bg-soft:      #F1F5F9;  /* Alternierende Sektions-Hintergründe */
  --color-bg-page:      #F8FAFC;  /* App-/Dashboard-Hintergrund */
  --color-white:        #FFFFFF;

  /* -- Farben: Status-Badges -------------------------------------------- */
  --color-status-live-bg:     #E1F5EE;  --color-status-live-text:     #0F766E;
  --color-status-booked-bg:   #E6F1FB;  --color-status-booked-text:   #0C447C;
  --color-status-draft-bg:    #F1F5F9;  --color-status-draft-text:    #475569;
  --color-status-expiring-bg: #FEF3C7;  --color-status-expiring-text: #92400E;
  --color-status-expired-bg:  #FEE2E2;  --color-status-expired-text:  #991B1B;

  /* -- Typografie -------------------------------------------------------
     Hinweis: Die exakte Schrift von fokus-lokal.de konnte nicht ausgelesen
     werden (kein CSS-Zugriff möglich). Plus Jakarta Sans + Inter sind die
     nächstliegende freie Google-Fonts-Kombination zum beobachteten Stil
     (geometrisch, bold Headlines, humanistischer Fließtext). Bei Bedarf
     hier austauschen, sobald die Originalschrift bekannt ist. */
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-eyebrow:  12px;  /* Kicker-Label über Headlines, uppercase */
  --text-h1:       30px;  /* Seiten-/Hero-Headline */
  --text-h2:       20px;  /* Abschnitts-Headline */
  --text-h3:       15px;  /* Karten-/Block-Headline */
  --text-body:      14px;  /* Standard-Fließtext */
  --text-meta:      12px;  /* Meta-Info, Badges, Fußzeilen */

  --leading-heading: 1.25;
  --leading-body:    1.7;

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;

  /* -- Abstände (4px-Raster) --------------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* -- Radien -------------------------------------------------------------- */
  --radius-sm: 6px;   /* Icon-Kacheln, kleine Elemente */
  --radius-md: 8px;   /* Buttons, Formularfelder */
  --radius-lg: 10px;  /* Karten */
  --radius-xl: 12px;  /* große Container/Sektionen */
  --radius-pill: 20px; /* Status-Badges */

  /* -- Rahmen ---------------------------------------------------------------- */
  --border-hairline: 0.5px solid var(--color-border);
  --border-emphasis: 1.5px solid var(--color-navy);

  /* -- Schatten (sparsam einsetzen, Design ist bewusst flach) ---------------- */
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-popover: 0 8px 24px rgba(15, 23, 42, 0.12);

  /* -- Übergänge --------------------------------------------------------------- */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
}

/* ==========================================================================
   Basis-Elemente
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-slate);
  line-height: var(--leading-body);
  background: var(--color-white);
}

h1, h2, h3, .eyebrow {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin: 0;
}

h1 { font-size: var(--text-h1); font-weight: var(--weight-bold); line-height: var(--leading-heading); }
h2 { font-size: var(--text-h2); font-weight: var(--weight-bold); line-height: var(--leading-heading); }
h3 { font-size: var(--text-h3); font-weight: var(--weight-bold); line-height: var(--leading-heading); }

.eyebrow {
  display: inline-block;
  font-size: var(--text-eyebrow);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-teal-dark);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  padding: 11px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-teal-dark); }

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border: var(--border-emphasis);
}
.btn-secondary:hover { background: var(--color-bg-soft); }

.btn-ghost {
  background: transparent;
  color: var(--color-teal-dark);
  padding: 11px 4px;
}
.btn-ghost:hover { text-decoration: underline; }

/* ==========================================================================
   Karten
   ========================================================================== */

.card {
  background: var(--color-white);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card--interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card--dark {
  background: var(--color-navy-2);
  border: none;
  color: var(--color-white);
}

.metric-card p:first-child {
  font-size: var(--text-meta);
  color: var(--color-slate);
  margin-bottom: var(--space-2);
}
.metric-card p:last-child {
  font-size: 22px;
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  font-family: var(--font-heading);
}

/* ==========================================================================
   Status-Badges
   ========================================================================== */

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--weight-bold);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}
.badge--live     { background: var(--color-status-live-bg);     color: var(--color-status-live-text); }
.badge--booked   { background: var(--color-status-booked-bg);   color: var(--color-status-booked-text); }
.badge--draft    { background: var(--color-status-draft-bg);    color: var(--color-status-draft-text); }
.badge--expiring { background: var(--color-status-expiring-bg); color: var(--color-status-expiring-text); }
.badge--expired  { background: var(--color-status-expired-bg);  color: var(--color-status-expired-text); }

/* ==========================================================================
   Formularelemente
   ========================================================================== */

.input, .textarea, .select {
  height: 40px;
  width: 100%;
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border: 1px solid var(--color-teal);
  box-shadow: 0 0 0 3px var(--color-teal-tint);
}

/* ==========================================================================
   Sektionen / Layout-Rhythmus
   ========================================================================== */

.section          { padding: var(--space-10) var(--space-6); }
.section--soft    { background: var(--color-bg-soft); }
.section--dark    { background: var(--color-navy); color: var(--color-white); }
.section--dark h2 { color: var(--color-white); }

/* Icon-Akzente: Tabler-Icons in Teal für positive/Marken-Bezüge,
   Slate für neutrale Meta-Infos, nie mehrfarbig mischen. */
.icon-accent { color: var(--color-teal); }
.icon-muted  { color: var(--color-slate); }
