/* ============================================================
   GELEM Karriere – style.css
   Mobile-first · CSS-Variablen · Dark Mode · A11y · Print
   Brand-Farben aus AmiVio (#1c8b85) und Transivo (#0f3a6e)
============================================================ */

/* ============================================================
   1. CSS VARIABLES (Light Mode = Default)
============================================================ */
:root {
  /* AmiVio Brand */
  --c-amivio: #1c8b85;
  --c-amivio-dark: #14706b;
  --c-amivio-soft: #e8f4f3;
  --c-amivio-warm: #f4e9d0;

  /* Transivo Brand */
  --c-transivo: #0f3a6e;
  --c-transivo-dark: #0a2a52;
  --c-transivo-accent: #2bb673;
  --c-transivo-soft: #e8eef5;

  /* GELEM Bridge */
  --c-petrol: #1c5e6e;
  --c-petrol-dark: #134450;
  --c-warm: #e8a64a;
  --c-warm-soft: #fdf3e1;

  /* Functional */
  --c-green: #2bb673;
  --c-green-dark: #239059;
  --c-red: #b23a3a;
  --c-red-soft: #fef3f3;

  /* Text & Surfaces */
  --c-bg: #f7f9fb;
  --c-surface: #ffffff;
  --c-surface-alt: #f1f5f7;
  --c-text: #1c2429;
  --c-text-muted: #5a6b75;
  --c-border: #dde4ea;
  --c-border-strong: #c5d0d8;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 94, 110, .08);
  --shadow-md: 0 4px 16px rgba(15, 94, 110, .10);
  --shadow-lg: 0 12px 32px rgba(15, 94, 110, .14);

  /* Layout */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --maxw: 1200px;
  --header-h: 72px;

  /* Animation */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Typography */
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ============================================================
   2. DARK MODE
============================================================ */
[data-theme="dark"] {
  --c-amivio: #2eada7;
  --c-amivio-soft: #1a2e2c;
  --c-amivio-warm: #2a2418;

  --c-transivo: #4a7fb5;
  --c-transivo-soft: #1a2238;

  --c-petrol: #4a8a9a;
  --c-warm: #f0b56a;
  --c-warm-soft: #2a2418;

  --c-green: #45c889;
  --c-green-dark: #2bb673;
  --c-red: #e06868;
  --c-red-soft: #2a1a1a;

  --c-bg: #0e1418;
  --c-surface: #161e23;
  --c-surface-alt: #1c262d;
  --c-text: #e8eef2;
  --c-text-muted: #9aacb6;
  --c-border: #2a3640;
  --c-border-strong: #3a4a55;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);
}

/* ============================================================
   3. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.25;
  color: var(--c-text);
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
a { color: var(--c-amivio); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-amivio-dark); text-decoration: underline; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
ul li { margin-bottom: .3em; }

img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Layout helpers */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
.small { font-size: .85rem; color: var(--c-text-muted); }
.lead { font-size: 1.05rem; color: var(--c-text-muted); max-width: 720px; margin: 0 0 1.5em; }
.hidden { display: none !important; }

/* Skip to content (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c-amivio); color: #fff;
  padding: .8em 1.2em; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Section header */
.section-header { margin-bottom: 2rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-amivio);
  font-weight: 700;
  margin-bottom: .5rem;
}

section { padding: 3rem 0; }
section.alt { background: var(--c-surface); }

/* ============================================================
   4. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.4em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-warm); outline-offset: 2px; }

.btn-primary { background: var(--c-green); color: #fff; }
.btn-primary:hover { background: var(--c-green-dark); color: #fff; }

.btn-secondary { background: var(--c-petrol); color: #fff; }
.btn-secondary:hover { background: var(--c-petrol-dark); color: #fff; }

.btn-ghost {
  background: var(--c-surface);
  color: var(--c-petrol);
  border-color: var(--c-border);
}
.btn-ghost:hover { background: var(--c-surface-alt); color: var(--c-petrol); }

.btn-large { font-size: 1.05rem; padding: 1em 2em; }

/* ============================================================
   5. HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: saturate(180%) blur(10px);
  transition: background-color var(--t-base) var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
  flex-wrap: wrap;
  min-height: var(--header-h);
}

/* Brand logo (CSS-only) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--c-text);
}
.brand-logo:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--c-amivio) 0%, var(--c-transivo) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark-g {
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.02em;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--c-text);
}
.brand-text em {
  font-style: normal;
  font-size: .85rem;
  color: var(--c-amivio);
  font-weight: 600;
  margin-top: 1px;
}
.brand-text small {
  font-size: .7rem;
  color: var(--c-text-muted);
  letter-spacing: .03em;
  margin-top: 1px;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 22px;
  background: none; border: none; padding: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 3px;
  background: var(--c-petrol);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Main nav */
.main-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: .25rem;
  padding: .5rem 0 1rem;
  order: 4;
  border-top: 1px solid var(--c-border);
  margin-top: .5rem;
}
.main-nav.open { display: flex; }
.main-nav a {
  padding: .8rem .8rem;
  color: var(--c-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.main-nav a:hover { background: var(--c-surface-alt); text-decoration: none; }
.main-nav .nav-cta {
  background: var(--c-green);
  color: #fff;
  text-align: center;
  margin-top: .5rem;
  font-weight: 600;
}
.main-nav .nav-cta:hover { background: var(--c-green-dark); color: #fff; }

/* Header tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
  order: 3;
}
.theme-toggle {
  width: 40px; height: 40px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--c-text);
  transition: background-color var(--t-fast) var(--ease);
}
.theme-toggle:hover { background: var(--c-surface-alt); }
.theme-toggle .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-light { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-dark { display: inline; }

.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.lang-btn {
  padding: 6px 10px;
  font-size: .8rem;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}
.lang-btn:hover { border-color: var(--c-amivio); }
.lang-btn.active {
  background: var(--c-amivio);
  color: #fff;
  border-color: var(--c-amivio);
}

@media (min-width: 1000px) {
  .burger { display: none; }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    width: auto;
    padding: 0;
    border: none;
    margin: 0;
    order: 2;
    flex: 1;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;
  }
  .main-nav a { padding: .5rem .7rem; }
  .header-tools { order: 3; padding-left: 1rem; border-left: 1px solid var(--c-border); }
}

/* ============================================================
   6. HERO
============================================================ */
.hero {
  background: linear-gradient(135deg, var(--c-amivio) 0%, var(--c-transivo) 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 255, 255, .12), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(255, 255, 255, .15);
  padding: .35em .8em;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: .8rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .92);
  margin-bottom: 1.2rem;
}
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-note {
  background: rgba(255, 255, 255, .12);
  padding: 1em 1.2em;
  border-left: 4px solid var(--c-warm);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.badges {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.badges li {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: .45em 1em;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.hero-cta .btn-ghost {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}
.hero-cta .btn-ghost:hover { background: rgba(255, 255, 255, .25); color: #fff; }

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-warm);
  letter-spacing: -.02em;
}
.stat span { font-size: .85rem; color: rgba(255, 255, 255, .9); }

@media (min-width: 900px) {
  .hero { padding: 5rem 0 4rem; }
  .hero-inner { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
}

/* ============================================================
   7. ABOUT (zwei Marken-Karten)
============================================================ */
.about-section { padding: 3.5rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.about-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}
.about-card.brand-amivio::before { background: var(--c-amivio); }
.about-card.brand-transivo::before { background: linear-gradient(90deg, var(--c-transivo) 0%, var(--c-transivo-accent) 100%); }
.about-card.brand-amivio { color: var(--c-text); }
.about-card.brand-amivio .about-card-mark { color: var(--c-amivio); }
.about-card.brand-amivio h3 { color: var(--c-amivio); }
.about-card.brand-transivo .about-card-mark { color: var(--c-transivo); }
.about-card.brand-transivo h3 { color: var(--c-transivo); }

.about-card-mark { margin-bottom: 1rem; }
.brand-tagline {
  font-style: italic;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
  font-size: .95rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  margin-top: .5rem;
}
.about-card.brand-amivio .brand-link { color: var(--c-amivio); }
.about-card.brand-transivo .brand-link { color: var(--c-transivo); }

.about-bridge {
  background: var(--c-warm-soft);
  border: 1px solid var(--c-warm);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: center;
}
.about-bridge p { margin: 0; color: var(--c-text); }

/* ============================================================
   8. MATCH QUIZ
============================================================ */
.match-section {
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-surface-alt) 100%);
}
.match-quiz {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.quiz-progress-bar {
  height: 6px;
  background: var(--c-amivio);
  border-radius: 99px;
  flex: 1;
  position: relative;
  transition: width var(--t-base) var(--ease);
  background-color: var(--c-border);
  background-image: linear-gradient(90deg, var(--c-amivio), var(--c-transivo-accent));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.quiz-progress-label {
  font-size: .85rem;
  color: var(--c-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeInUp var(--t-slow) var(--ease); }
.quiz-step h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
}
@media (min-width: 600px) {
  .quiz-options { grid-template-columns: 1fr 1fr; }
}
.quiz-opt {
  padding: 1em 1.2em;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  transition: all var(--t-fast) var(--ease);
}
.quiz-opt:hover {
  border-color: var(--c-amivio);
  background: var(--c-amivio-soft);
  transform: translateY(-1px);
}
.quiz-opt.selected {
  background: var(--c-amivio);
  color: #fff;
  border-color: var(--c-amivio);
}

.quiz-result h3 { color: var(--c-green-dark); }
.quiz-result-jobs {
  display: grid;
  gap: .8rem;
  margin: 1rem 0 1.5rem;
}
.quiz-result-job {
  background: var(--c-amivio-soft);
  border: 1px solid var(--c-amivio);
  border-radius: var(--radius-sm);
  padding: 1em 1.2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.quiz-result-job strong { color: var(--c-amivio-dark); }
.quiz-result-job .btn { flex-shrink: 0; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   9. FILTER
============================================================ */
.filter-section {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-bottom: 1rem;
}
@media (min-width: 600px) { .filter-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .filter-grid { grid-template-columns: repeat(3, 1fr); } }

.filter-grid label,
.form-grid label {
  display: flex;
  flex-direction: column;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  gap: .35em;
}

.filter-grid input,
.filter-grid select,
.form-grid input,
.form-grid select,
.form-grid textarea,
.talent-form input {
  padding: .7em .9em;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  background: var(--c-surface);
  color: var(--c-text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.filter-grid input:focus,
.filter-grid select:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.talent-form input:focus {
  outline: none;
  border-color: var(--c-amivio);
  box-shadow: 0 0 0 3px rgba(28, 139, 133, .15);
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}
.filter-counter {
  font-size: .85rem;
  color: var(--c-text-muted);
  font-weight: 600;
  margin-left: auto;
}

/* ============================================================
   10. CONTRACT BANNER
============================================================ */
.contract-banner {
  background: linear-gradient(90deg, var(--c-warm-soft) 0%, #fffbf2 100%);
  border: 1px solid var(--c-warm);
  border-left: 5px solid var(--c-warm);
  border-radius: var(--radius-sm);
  padding: 1.1em 1.3em;
  margin-bottom: 2rem;
  font-size: .95rem;
}
.contract-banner strong {
  display: block;
  color: var(--c-petrol-dark);
  margin-bottom: .3em;
  font-size: 1rem;
}

/* ============================================================
   11. JOB CARDS
============================================================ */
.jobs-section { padding: 2rem 0 4rem; }
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 700px) { .jobs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .jobs-grid { grid-template-columns: repeat(3, 1fr); } }

.job-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  position: relative;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  overflow: hidden;
}
.job-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c-border);
}
.job-card.brand-amivio::before { background: var(--c-amivio); }
.job-card.brand-transivo::before { background: linear-gradient(90deg, var(--c-transivo) 0%, var(--c-transivo-accent) 100%); }
.job-card.brand-gelem::before { background: var(--c-petrol); }

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  flex-wrap: wrap;
}
.job-brand {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3em .8em;
  border-radius: 99px;
}
.job-card.brand-amivio .job-brand { background: var(--c-amivio-soft); color: var(--c-amivio-dark); }
.job-card.brand-transivo .job-brand { background: var(--c-transivo-soft); color: var(--c-transivo); }
.job-card.brand-gelem .job-brand { background: var(--c-surface-alt); color: var(--c-petrol-dark); }

.job-actions-top { display: flex; gap: .25rem; }
.job-star,
.job-share {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--c-text-muted);
  padding: .25em;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.job-star:hover, .job-share:hover {
  background: var(--c-surface-alt);
  color: var(--c-warm);
}
.job-star.active { color: var(--c-warm); }

.job-card h3 {
  font-size: 1.1rem;
  margin: .3rem 0 .5rem;
  color: var(--c-text);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  font-size: .78rem;
}
.job-meta span {
  background: var(--c-surface-alt);
  color: var(--c-text-muted);
  padding: .25em .6em;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.job-section-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-text-muted);
  letter-spacing: .06em;
  margin: .4rem 0 .2rem;
}
.job-list {
  margin: 0 0 .3em;
  padding-left: 1.2em;
  font-size: .88rem;
  color: var(--c-text);
}
.job-list li { margin-bottom: .15em; }

.job-pay {
  font-size: .82rem;
  color: var(--c-text-muted);
  font-style: italic;
  margin-top: .3rem;
}
.job-note {
  font-size: .85rem;
  background: var(--c-red-soft);
  border: 1px solid #f0c5c5;
  color: var(--c-red);
  padding: .7em .9em;
  border-radius: var(--radius-sm);
  margin-top: .3rem;
}

.job-actions {
  display: flex;
  gap: .4rem;
  margin-top: auto;
  padding-top: .8rem;
  flex-wrap: wrap;
}
.job-actions .btn {
  flex: 1;
  min-width: 110px;
  font-size: .85rem;
  padding: .65em 1em;
}

.no-results {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--c-surface-alt);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}
.no-results h3 { color: var(--c-text); margin-bottom: .6em; }
.talent-form {
  max-width: 480px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* Quiz-Match-Highlight */
.job-card.match-highlight {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(43, 182, 115, .25);
}

/* ============================================================
   12. AMIVIO ≠ KRANKENPFLEGE (Compare)
============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 700px) { .compare { grid-template-columns: 1fr 1fr; } }

.compare-box {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1.5px solid var(--c-border);
}
.compare-box.no {
  background: var(--c-red-soft);
  border-color: #f0c5c5;
}
.compare-box.yes {
  background: #eaf6ee;
  border-color: #c5e1cf;
}
[data-theme="dark"] .compare-box.yes { background: #1a2820; border-color: #2a4030; }
.compare-box.no h3 { color: var(--c-red); }
.compare-box.yes h3 { color: var(--c-green-dark); }
.compare-box ul { padding-left: 1.3em; }
.compare-box li { margin-bottom: .4em; }

.ami-below {
  background: var(--c-surface);
  border-left: 4px solid var(--c-amivio);
  padding: 1.2em 1.5em;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* ============================================================
   13. PERSONAS
============================================================ */
.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 800px) { .personas-grid { grid-template-columns: repeat(3, 1fr); } }

.persona-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  text-align: left;
  transition: transform var(--t-base) var(--ease);
}
.persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.persona-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  width: 56px; height: 56px;
  background: var(--c-amivio-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.persona-card h3 { color: var(--c-amivio-dark); margin-bottom: .8rem; }
.persona-card p { color: var(--c-text); font-size: .95rem; margin: 0; }

/* ============================================================
   14. MONEY / VERGÜTUNG
============================================================ */
.money-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 800px) { .money-grid { grid-template-columns: 1fr 1fr; } }

.money-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
}
.money-card h3 { color: var(--c-petrol); margin-bottom: .8rem; }
.money-example {
  background: var(--c-surface-alt);
  padding: .8em 1em;
  border-radius: var(--radius-sm);
  font-size: .9rem;
}

.disclaimer {
  background: var(--c-warm-soft);
  border: 1px solid var(--c-warm);
  padding: 1em 1.2em;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-top: 1rem;
}
.disclaimer strong { color: var(--c-petrol-dark); display: inline-block; margin-right: .3em; }
.disclaimer-strong {
  border-left: 5px solid var(--c-warm);
  font-weight: 500;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.disclaimer-strong > strong { font-size: 1.4rem; line-height: 1; }

.links-heading { margin-top: 1.5rem; }
.links-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.links-list a {
  display: inline-block;
  padding: .55em .9em;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--c-petrol);
}
.links-list a:hover {
  background: var(--c-surface-alt);
  border-color: var(--c-amivio);
  text-decoration: none;
}

/* ============================================================
   15. WEITERBILDUNG
============================================================ */
.training-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) { .training-grid { grid-template-columns: repeat(3, 1fr); } }

.training-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-top: 4px solid var(--c-amivio);
  transition: transform var(--t-base) var(--ease);
}
.training-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.training-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: var(--c-amivio-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .5rem;
}
.training-card h3 { color: var(--c-amivio-dark); }
.training-highlight {
  background: var(--c-warm-soft);
  border-left: 4px solid var(--c-warm);
  padding: .8em 1em;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-top: auto;
}

/* ============================================================
   16. BÜRGERGELD INFO CARDS
============================================================ */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 900px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }

.info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.info-card h4 { color: var(--c-petrol); margin-bottom: .6rem; font-size: 1rem; }
.calc-line {
  font-family: var(--ff-mono);
  font-size: .82rem;
  background: var(--c-surface-alt);
  padding: .7em .9em;
  border-radius: var(--radius-sm);
  color: var(--c-petrol-dark);
  margin: .8rem 0;
}

/* ============================================================
   17. REGIONS
============================================================ */
.regions-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}
@media (min-width: 800px) { .regions-cols { grid-template-columns: 1fr 1fr; } }

.region-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
}
.region-box.region-active h3 { color: var(--c-amivio-dark); }
.region-box.region-development h3 { color: var(--c-warm); }

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .8rem;
}
.region-tag {
  background: var(--c-amivio-soft);
  color: var(--c-amivio-dark);
  padding: .35em .8em;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 500;
}
.region-tag.aufbau {
  background: var(--c-warm-soft);
  color: #9a6a14;
  border: 1px dashed var(--c-warm);
}
.region-note { margin-top: 1.5rem; color: var(--c-text-muted); }

/* ============================================================
   18. FORMS GENERIC + APPLY
============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--c-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid textarea { min-height: 80px; resize: vertical; }

.checkbox-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 400;
  color: var(--c-text);
  margin-top: .5rem;
}
.checkbox-row input { margin-top: 4px; flex-shrink: 0; width: auto; }
.checkbox-row a { color: var(--c-amivio); }

.apply-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: .5rem;
}
.form-status {
  margin: 0;
  font-size: .9rem;
  flex: 1;
}
.form-status.error { color: var(--c-red); font-weight: 600; }
.form-status.success { color: var(--c-green-dark); font-weight: 600; }

/* Apply success timeline */
.apply-success {
  background: var(--c-surface);
  border: 2px solid var(--c-green);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  animation: fadeInUp var(--t-slow) var(--ease);
}
.apply-success h3 { color: var(--c-green-dark); }
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.timeline li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding-left: 0;
  position: relative;
}
.timeline li::before {
  content: "○";
  width: 28px;
  height: 28px;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
}
.timeline li.done::before {
  content: "✓";
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff;
  font-size: 1rem;
}
.timeline li strong {
  display: block;
  font-size: 1rem;
  color: var(--c-text);
}
.timeline li span {
  display: block;
  font-size: .85rem;
  color: var(--c-text-muted);
  margin-top: 2px;
}

/* ============================================================
   19. CALLBACK PREFILTER
============================================================ */
.callback-prefilter {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  margin-bottom: 1.5rem;
  max-width: 720px;
}
@media (min-width: 700px) { .callback-prefilter { grid-template-columns: repeat(3, 1fr); } }
.prefilter-btn {
  padding: 1.1em 1.2em;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  transition: all var(--t-fast) var(--ease);
  font-family: inherit;
}
.prefilter-btn:hover {
  border-color: var(--c-petrol);
  background: var(--c-surface-alt);
}
.prefilter-btn.active {
  background: var(--c-petrol);
  color: #fff;
  border-color: var(--c-petrol);
}

/* ============================================================
   20. FAQ ACCORDION
============================================================ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
  overflow: hidden;
  transition: box-shadow var(--t-fast) var(--ease);
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1em 1.3em;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}
.faq-q:hover { background: var(--c-surface-alt); }
.faq-q .icon {
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease);
  color: var(--c-amivio);
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.3em;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease), padding var(--t-base) var(--ease);
  color: var(--c-text);
  line-height: 1.65;
}
.faq-item.open .faq-a {
  padding: 0 1.3em 1.2em;
  max-height: 800px;
}

/* ============================================================
   21. LEGAL (Impressum, Datenschutz)
============================================================ */
.legal-section { background: var(--c-surface); }
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}
.legal-content h3 {
  color: var(--c-petrol);
  margin-top: 1.8rem;
  font-size: 1.05rem;
}
.legal-content p { font-size: .95rem; }

/* ============================================================
   22. FOOTER
============================================================ */
.site-footer {
  background: var(--c-petrol-dark);
  color: rgba(255, 255, 255, .85);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, .82);
  padding: .25rem 0;
  font-size: .9rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
}
.footer-logo strong { color: #fff; font-size: 1rem; }
.footer-col .small { color: rgba(255, 255, 255, .65); }

.footer-disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .85rem;
  font-style: italic;
  color: rgba(255, 255, 255, .65);
  text-align: center;
}
.footer-bottom {
  margin-top: 1rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  text-align: center;
}

/* ============================================================
   23. FLOATING ELEMENTS
============================================================ */
.sticky-cta-mobile {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  background: var(--c-green);
  color: #fff;
  padding: .8em 1.4em;
  border-radius: 99px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  z-index: 40;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease);
}
.sticky-cta-mobile:hover { transform: scale(1.05); color: #fff; text-decoration: none; }
@media (min-width: 1000px) { .sticky-cta-mobile { display: none; } }

.float-stack {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast) var(--ease);
  border: none;
}
.float-btn:hover { transform: scale(1.08); color: #fff; text-decoration: none; }
.float-wa { background: #25D366; }
.float-call { background: var(--c-petrol); }

/* ============================================================
   24. CHATBOT
============================================================ */
.chatbot-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-amivio);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  z-index: 41;
  display: none; /* mobile zeigt Float-Stack stattdessen */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
}
.chatbot-toggle:hover { transform: scale(1.05); }
@media (min-width: 1000px) {
  .chatbot-toggle { display: flex; bottom: 1.5rem; right: 1.5rem; }
  .float-stack { bottom: 1.5rem; right: 6rem; }
}

.chatbot-pulse {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: var(--c-amivio);
  opacity: .6;
  animation: chatPulse 2s infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.chatbot-window {
  position: fixed;
  bottom: 5rem;
  right: 1rem;
  width: calc(100vw - 2rem);
  max-width: 380px;
  height: 540px;
  max-height: calc(100vh - 7rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 42;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp var(--t-base) var(--ease);
}
@media (min-width: 1000px) {
  .chatbot-window { right: 1.5rem; bottom: 6rem; }
}
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--c-amivio);
  color: #fff;
}
.chatbot-header strong { display: block; font-size: 1rem; }
.chatbot-header small { font-size: .8rem; opacity: .9; }
.chatbot-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-close:hover { background: rgba(255, 255, 255, .3); }

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.chat-msg {
  max-width: 85%;
  padding: .7em 1em;
  border-radius: var(--radius);
  font-size: .9rem;
  line-height: 1.5;
  animation: fadeInUp var(--t-base) var(--ease);
}
.chat-msg.bot {
  background: var(--c-amivio-soft);
  color: var(--c-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--c-petrol);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-quick {
  border-top: 1px solid var(--c-border);
  padding: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  background: var(--c-surface-alt);
  max-height: 180px;
  overflow-y: auto;
}
.chat-quick-btn {
  padding: .5em .9em;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 99px;
  font-size: .82rem;
  color: var(--c-text);
  font-family: inherit;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.chat-quick-btn:hover { border-color: var(--c-amivio); background: var(--c-amivio-soft); }

/* ============================================================
   25. LANG GREETING BANNER
============================================================ */
.lang-greeting {
  position: fixed;
  top: calc(var(--header-h) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-amivio);
  color: #fff;
  padding: .7em 1.4em;
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  animation: greetIn var(--t-base) var(--ease);
}
@keyframes greetIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   26. MOTION & ACCESSIBILITY
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reveal animation (intersection observer aktiviert .visible) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus visible (a11y) */
:focus-visible {
  outline: 3px solid var(--c-warm);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   27. PRINT STYLESHEET
============================================================ */
@media print {
  .site-header, .float-stack, .sticky-cta-mobile, .chatbot-toggle,
  .chatbot-window, .lang-greeting, .filter-section, .match-section,
  .hero-cta, .quiz-progress, .form-grid, .callback-prefilter, .talent-form {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  .container { max-width: 100%; padding: 0 .5cm; }
  .hero { background: #fff; color: #000; padding: 0; }
  .hero h1, .hero-sub, .hero-note { color: #000; }
  .badges li { background: #f0f0f0; color: #000; border-color: #ccc; }
  .job-card { page-break-inside: avoid; box-shadow: none; border: 1px solid #999; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}