/* W&S Karrierepartner – hell, Dunkelblau mit Akzentblau, Playfair Display + Manrope.
   Layout: weißer Hero mit Matching-Animation, abwechselnd weiße, nebelgraue und dunkelblaue Bänder. */
:root {
  --navy: #0b1f3a;
  --navy-2: #13305a;
  --accent: #2f5fd6;
  --accent-soft: #e6edfc;
  --ink: #111827;
  --text: #2a3342;
  --muted: #5f6b7d;
  --line: #e2e7ef;
  --mist: #f4f6fa;
  --white: #fff;
  --line-dark: rgba(255, 255, 255, 0.16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 24px 50px -28px rgba(11, 31, 58, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.1; margin: 0 0 0.55em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-lead { color: var(--muted); margin: 0; max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.6em;
  background: var(--navy);
  color: var(--white);
  font: 700 0.92rem var(--sans);
  text-decoration: none;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, transform 0.2s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease);
}
.btn:hover { border-color: var(--accent); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.98); }
.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { color: var(--white); }
.btn-small { padding: 0.6em 1.25em; font-size: 0.86rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 0.4em; align-items: center; }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 31, 58, 0.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height 0.3s var(--ease); }
.site-header.scrolled .nav { height: 64px; }
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); }
.logo-mark { width: 46px; height: auto; transition: transform 0.4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1; letter-spacing: 0.05em; }
.logo small { display: block; font-family: var(--serif); font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
.nav-menu { display: flex; align-items: center; gap: 1.8rem; }
.nav-menu a:not(.btn) { position: relative; text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--text); padding: 0.3rem 0; }
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-menu a:not(.btn):hover { color: var(--navy); }
.nav-menu a:not(.btn):hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-menu a[aria-current="page"] { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--navy), var(--accent)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.hero-bg span:nth-child(1) { width: 520px; height: 520px; right: -140px; top: -160px; background: #dbe5fb; animation: float 14s ease-in-out infinite; }
.hero-bg span:nth-child(2) { width: 380px; height: 380px; left: -160px; bottom: -180px; background: #e9eef7; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-40px, 30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.rotator { display: block; position: relative; height: 1.15em; overflow: hidden; color: var(--accent); font-style: italic; }
.rot-word { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s; }
.rot-word.is-active { transform: none; opacity: 1; }
.rot-word.is-leaving { transform: translateY(-110%); opacity: 0; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 2.2rem; }
.hero-call { display: inline-flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--navy); }
.hero-call small { display: block; font-size: 0.78rem; color: var(--muted); }
.hero-call strong { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.01em; }
.call-avatar { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.call-avatar img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 6px 16px -8px rgba(11, 31, 58, 0.6); }
.call-avatar .pulse { position: absolute; right: -1px; bottom: 1px; border: 2px solid var(--white); }
.pulse { width: 13px; height: 13px; border-radius: 50%; background: #1fa463; position: relative; flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }

/* Matching-Animation */
.match {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2.5rem, 7vw, 5.5rem);
  row-gap: 1.2rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.match-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.match-path { fill: none; stroke: var(--accent); stroke-width: 3.5; filter: drop-shadow(0 0 6px rgba(47, 95, 214, 0.55)); stroke-linecap: round; stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); }
.match.drawing .match-path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease); }
.match-head { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 0.8rem; padding-bottom: 1rem; margin-bottom: -0.4rem; border-bottom: 1px solid var(--line); }
.match-head b { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.match-head small { display: block; color: var(--muted); font-size: 0.82rem; }
.live-dot { width: 12px; height: 12px; margin-top: 0.35rem; border-radius: 50%; background: #1fa463; position: relative; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; }
.match { border-color: rgba(47, 95, 214, 0.25); box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.45), 0 0 0 6px rgba(47, 95, 214, 0.06); }
.match-col { display: grid; gap: 0.7rem; align-content: start; position: relative; }
.match-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.2rem; }
.match-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: grid;
  gap: 0.1rem;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.match-card b { color: var(--navy); font-size: 0.92rem; }
.match-card span { font-size: 0.78rem; color: var(--muted); }
.match-card.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 12px 28px -14px rgba(47, 95, 214, 0.8); transform: scale(1.04); }
.match-badge {
  position: absolute;
  left: 50%;
  top: var(--by, 50%);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(11, 31, 58, 0.7);
  z-index: 2;
  transition: opacity 0.35s, transform 0.45s var(--ease);
}
.match-badge span { color: #7fe3b0; }
.match.matched .match-badge { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Laufband ---------- */
.band { background: var(--navy); color: var(--white); padding: 1.1rem 0; overflow: hidden; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee .tags { list-style: none; margin: 0; padding: 0 1.5rem 0 0; display: flex; gap: 1.5rem; flex-shrink: 0; animation: marquee 34s linear infinite; }
.marquee:hover .tags { animation-play-state: paused; }
.marquee .tags li { white-space: nowrap; font-family: var(--serif); font-size: 1.25rem; font-style: italic; display: flex; align-items: center; gap: 1.5rem; }
.marquee .tags li::after { content: "✦"; font-style: normal; font-size: 0.7rem; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(3.2rem, 6vw, 5rem) 0; position: relative; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, 0.72); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #8fb0ff; }
.section-head { max-width: 680px; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section-head h2 { margin-bottom: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }

/* Kennzahlen-Leiste im Hero */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.hero-stats .stat { padding: 1.3rem 1.2rem 1.5rem; display: grid; gap: 0.25rem; align-content: start; }
.hero-stats .stat:first-child { padding-left: 0; }
.hero-stats .stat + .stat { border-left: 1px solid var(--line); }
.hero-stats strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.hero-stats .stat > span { font-size: 0.84rem; color: var(--muted); }

/* Leistungen: Umschalter Unternehmen / Bewerber */
.switch { position: relative; display: inline-flex; padding: 5px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; }
.switch button { position: relative; z-index: 1; font: 700 0.9rem var(--sans); color: var(--muted); background: none; border: 0; padding: 0.7em 1.4em; border-radius: 999px; cursor: pointer; transition: color 0.35s; }
.switch button[aria-selected="true"] { color: var(--white); }
.switch-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--navy); transition: transform 0.45s var(--ease), width 0.45s var(--ease); width: var(--pw, 50%); transform: translateX(var(--px, 0)); }
.panels { position: relative; }
.panel { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 1.2rem; align-items: stretch; }
.panel[hidden] { display: none; }
.panel.enter { animation: panel-in 0.55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.anchor { position: absolute; top: -110px; }
.panel-main { background: var(--navy); color: rgba(255, 255, 255, 0.75); border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.panel-main::after { content: ""; position: absolute; width: 300px; height: 300px; right: -110px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 95, 214, 0.55), transparent 70%); }
.panel-main > * { position: relative; z-index: 1; }
.panel-main h3 { color: var(--white); font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.15; max-width: 18em; }
.panel-main .btn { background: var(--white); color: var(--navy); border-color: var(--white); position: relative; z-index: 1; }
.panel-main .btn:hover { color: var(--white); border-color: var(--accent); }
.panel-main .way-list b { color: var(--white); }
.panel .portal { align-content: start; background: var(--mist); }
.panel .portal .portal-foot { margin-top: auto; }
.way-list { list-style: none; padding: 0; margin: 0.4rem 0 1.6rem; display: grid; gap: 0.6rem; }
.way-list li { padding-left: 1.9rem; position: relative; font-size: 0.95rem; }
.way-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
/* Kacheln zu den Unterseiten */
.portals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.portal {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.portal:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.portal-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.portal strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy); line-height: 1.15; }
.portal-text { color: var(--muted); }
.portal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem; font-weight: 700; color: var(--navy); }
.portal-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.portal:hover .portal-go { background: var(--accent); color: var(--white); transform: rotate(-45deg); }

/* Ablauf */
.timeline { position: relative; }
.timeline-line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line-dark); }
.timeline-line span { display: block; height: 100%; background: linear-gradient(90deg, #8fb0ff, var(--white)); transform-origin: left; transform: scaleX(var(--tl, 0)); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.step-no {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  transition: background 0.5s, border-color 0.5s, transform 0.5s var(--ease);
}
.steps li.lit .step-no { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.steps p { font-size: 0.95rem; margin: 0; }

/* Über mich */
.about { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-visual { position: relative; }
.about-photo { position: relative; aspect-ratio: 1 / 1; max-width: 400px; margin-inline: auto; border-radius: 50%; }
.about-photo::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(47, 95, 214, 0.35); animation: spin 40s linear infinite; }
.about-photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: var(--shadow); pointer-events: none; }
.about-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: transform 1s var(--ease); }
.about-visual:hover .about-photo img { transform: scale(1.03); }
@keyframes spin { to { transform: rotate(360deg); } }
.about-badge { position: absolute; left: 50%; bottom: -0.6rem; transform: translateX(-50%); display: flex; align-items: center; gap: 0.7rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1.1rem 0.5rem 0.7rem; box-shadow: var(--shadow); white-space: nowrap; }
.about-badge img { width: 34px; }
.about-badge b { display: block; color: var(--navy); font-size: 0.92rem; line-height: 1.2; }
.about-badge small { display: block; font-size: 0.72rem; color: var(--muted); }
#ueber-mich { overflow: clip; }
.about-quote { margin: 1.4rem 0 0; padding: 1rem 0 0 1.2rem; border-left: 3px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--navy); }
.about-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: -0.4rem; }
.about-text p:not(.eyebrow):not(.about-role) { color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq { display: grid; gap: 0.6rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3.6rem 1rem 1.3rem; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232f5fd6' stroke-width='2.5' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 55% no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-body { overflow: hidden; }
.faq-body p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* Kontakt */
.contact-section { background: linear-gradient(180deg, var(--white) 0%, var(--white) 30%, var(--mist) 30%); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); }
.quick-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.quick {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.25em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.quick:first-child { background: var(--navy); border-color: var(--navy); color: var(--white); }
.quick:hover { border-color: var(--accent); background: var(--accent); color: var(--white); transform: translateY(-2px); }
.quick svg { width: 18px; height: 18px; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.2em; }
.contact-list a { text-decoration: none; color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }

.contact-form { background: var(--white); border-radius: 22px; padding: clamp(1.4rem, 2.6vw, 2rem); box-shadow: var(--shadow); display: grid; gap: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: 0.4rem; font-size: 0.86rem; font-weight: 700; color: var(--navy); }
.contact-form small { color: var(--muted); font-weight: 500; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  font: 500 1rem var(--sans);
  padding: 0.8em 1em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px var(--accent-soft); }
.contact-form .invalid { border-color: #c0392b !important; }
.role { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.role legend { font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; padding: 0; }
.role label { display: flex; align-items: center; gap: 0.4rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.55em 1.2em; cursor: pointer; font-weight: 600; transition: 0.25s; }
.role label:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex !important; align-items: flex-start; gap: 0.6rem !important; font-weight: 500 !important; color: var(--muted) !important; font-size: 0.85rem !important; }
.consent input { margin-top: 0.25em; accent-color: var(--navy); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 0.88rem; min-height: 1.4em; color: var(--muted); }
.form-note.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); padding: 3.5rem 0 2.5rem; align-items: start; }
.footer-brand img { width: 130px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-cols > div { display: grid; gap: 0.45rem; align-content: start; }
.footer-title { color: var(--white); font-weight: 700; margin: 0 0 0.4rem; }
.footer-cols a { text-decoration: none; transition: color 0.2s; }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.3rem 0 1.6rem; font-size: 0.82rem; }
.footer-bottom p { margin: 0; }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.6rem, 6vw, 4rem); isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 95, 214, 0.55), transparent 70%); animation: float 14s ease-in-out infinite; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 0.35em; }
.page-hero .lead { color: rgba(255, 255, 255, 0.75); margin: 0; max-width: 40em; }
.crumbs { display: flex; gap: 0.6rem; font-size: 0.82rem; margin-bottom: 1.4rem; color: rgba(255, 255, 255, 0.55); }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.page-hero + .section { padding-top: clamp(2rem, 4vw, 3rem); }
.page-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.page-cta h2 { margin-bottom: 0.3em; }
.page-cta p { margin: 0; }
.page-cta .quick-links { margin: 0; }
.page-cta .quick { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.page-cta .quick:first-child { background: var(--white); color: var(--navy); border-color: var(--white); }
.page-cta .quick:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Suche */
.search { display: grid; gap: 1rem; margin-bottom: 2rem; }
.search[hidden] { display: none; }
.search-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.search-field { flex: 1 1 320px; display: flex; align-items: center; gap: 0.7rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 1.3rem; transition: border-color 0.25s, box-shadow 0.25s; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-field svg { width: 19px; height: 19px; color: var(--muted); flex-shrink: 0; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 500 1rem var(--sans); color: var(--ink); padding: 0.95em 0; }
.search-select select {
  height: 100%;
  min-height: 3.2rem;
  font: 600 0.92rem var(--sans);
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0 2.6rem 0 1.2rem;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.search-reset { font: 700 0.88rem var(--sans); background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0 0.6rem; }
.search-reset:hover { text-decoration: underline; }
.cats { display: grid; gap: 0.5rem; }
.cat-group { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.chip { font: 600 0.85rem var(--sans); padding: 0.55em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s; }
.chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-head { font-weight: 800; min-width: 12.5rem; text-align: left; }
.chip-n { margin-left: 0.5em; font-size: 0.75em; opacity: 0.6; font-variant-numeric: tabular-nums; }
.search-count { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* Profilkarten */
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.profile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  scroll-margin-top: 100px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.profile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.profile.highlight { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.profile[hidden] { display: none; }
.profile-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.badge { font-size: 0.66rem; letter-spacing: 0.1em; padding: 0.3em 0.75em; border-radius: 999px; border: 1px dashed var(--muted); color: var(--muted); }
.nowrap { white-space: nowrap; }
.profile h3 { margin: 0; font-size: 1.15rem; }
.profile p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.86rem; color: var(--navy); font-weight: 600; }
.meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 0.45em; transform: translateY(-1px); }
.profile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.profile ul li { font-size: 0.8rem; font-weight: 600; padding: 0.3em 0.8em; border-radius: 999px; background: var(--accent-soft); color: var(--navy); }
.profile-actions { margin-top: auto; padding-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; border-top: 1px solid var(--line); }
.profile-actions a, .profile-actions button {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font: 700 0.85rem var(--sans);
  padding: 0.6em 1.05em;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.profile-actions a:first-child { background: var(--navy); border-color: var(--navy); color: var(--white); }
.profile-actions a:hover, .profile-actions button:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.profile-actions svg { width: 16px; height: 16px; }
.profile-actions .link-btn { margin-left: auto; padding: 0.6em 0.75em; }
.profiles-note { margin: 2rem 0 0; color: var(--muted); }
.profiles-note a { color: var(--accent); font-weight: 700; }
.profiles-empty { grid-column: 1 / -1; color: var(--muted); padding: 2.5rem; border: 1.5px dashed var(--line); border-radius: 20px; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.profiles-empty p { margin: 0; }

/* Rechtstexte */
.legal { padding: 4rem 0 6rem; }
.legal .narrow, .narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal p { color: var(--muted); }

/* ---------- Schnellkontakt & Hinweise ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; gap: 0.6rem; transition: opacity 0.35s, transform 0.35s var(--ease); }
.js .fab:not(.show) { opacity: 0; transform: translateY(14px); pointer-events: none; }
.fab-btn { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); border: 2px solid var(--white); box-shadow: 0 12px 26px -10px rgba(11, 31, 58, 0.7); transition: transform 0.25s var(--ease), background 0.25s; }
.fab-btn:hover { transform: scale(1.08); background: var(--accent); }
.fab-btn svg { width: 24px; height: 24px; }
.fab-wa { background: #1f8f55; }
.fab-wa:hover { background: #17a35e; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70; background: var(--navy); color: var(--white); padding: 0.8em 1.4em; border-radius: 999px; font-size: 0.9rem; box-shadow: var(--shadow); }

/* ---------- Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .hero-in { opacity: 0; transform: translateY(22px); animation: fade-up 1s var(--ease) forwards; }
.js .hero-in:nth-child(1) { animation-delay: 0.05s; }
.js .hero-in:nth-child(2) { animation-delay: 0.18s; }
.js .hero-in:nth-child(3) { animation-delay: 0.34s; }
.js .hero-in:nth-child(4) { animation-delay: 0.48s; }
.js .hero-in:nth-child(5) { animation-delay: 0.6s; }
.js .match.hero-in { animation-delay: 0.45s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; }
  .match-path { stroke-dashoffset: 0; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .hero-grid, .about, .contact, .faq-wrap { grid-template-columns: 1fr; }
  .match { max-width: 560px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stats .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .panel { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-visual { max-width: 300px; margin-inline: auto; padding-bottom: 1rem; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(11, 31, 58, 0.5);
    padding: 0.5rem 16px 1.4rem;
    display: none;
  }
  .nav-menu.open { display: flex; animation: fade-up 0.35s var(--ease); }
  .nav-menu a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-menu .btn { margin-top: 1.2rem; justify-content: center; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .timeline-line { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* Hero-Reihenfolge: Überschrift → Matching → Text → Buttons */
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-call { align-self: flex-start; }
  .hero-text { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero .match { order: 3; margin: 0.4rem 0 2.6rem; }
  .hero .lead { order: 4; }
  .hero-actions { order: 5; margin: 1.2rem 0 1.6rem; }
  .hero-call { order: 6; }
  .match { padding: 1.1rem 1rem 1.2rem; column-gap: 1.6rem; row-gap: 1rem; width: 100%; }
  .match-head b { font-size: 1rem; }
  .match-card { padding: 0.8rem 0.75rem; border-width: 2px; }
  .match-card b { font-size: 0.95rem; }
  .match-card span { font-size: 0.8rem; }
  .match-badge { top: auto !important; bottom: -1.15rem; transform: translateX(-50%) scale(0.6); font-size: 0.92rem; }
  .match.matched .match-badge { transform: translateX(-50%) scale(1); }

  /* Größere Symbole und Tippflächen */
  .fab-btn { width: 62px; height: 62px; }
  .fab-btn svg { width: 30px; height: 30px; }
  .quick { padding: 0.95em 1.4em; font-size: 1rem; }
  .quick svg { width: 24px; height: 24px; }
  .way-list li { padding-left: 2.3rem; }
  .way-list li::before { width: 1.55rem; height: 1.55rem; top: 0.05em; }
  .profile-actions a, .profile-actions button { padding: 0.75em 1.2em; font-size: 0.95rem; }
  .profile-actions svg { width: 21px; height: 21px; }
  .portal-go { width: 54px; height: 54px; font-size: 1.4rem; }
  .search-field svg { width: 22px; height: 22px; }
  .step-no { width: 54px; height: 54px; font-size: 0.95rem; }
  .call-avatar, .call-avatar img { width: 58px; height: 58px; }
  .call-avatar .pulse { width: 15px; height: 15px; }
  .hero-call strong { font-size: 1.3rem; }
  .nav-toggle span { width: 28px; height: 2.5px; margin: 6px 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
  .logo-mark { width: 52px; }
  .faq summary::after { width: 34px; height: 34px; margin-top: -17px; }
  .steps, .portals, .profiles { grid-template-columns: 1fr; }
  .steps { row-gap: 1.6rem; }
  .hero-stats .stat { padding: 1rem 0.8rem 1.1rem; }
  .hero-stats .stat:nth-child(odd) { padding-left: 0; }
  .match-card:nth-of-type(n + 3) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .switch { width: 100%; }
  .switch button { flex: 1; padding: 0.7em 0.6em; }
  .footer-cols { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .search-select { flex: 1 1 100%; }
  .search-select select { width: 100%; font-size: 16px; }
  .chip-head { min-width: 0; }
}

/* ---------- Berufs-Assistent (Chat) ---------- */
/* Einstieg im Menü oben rechts */
.nav-menu a.nav-bot { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--accent); }
.nav-menu a.nav-bot::after { background: var(--accent); }
.nav-bot svg, .nav-bot-mobile svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-bot-mobile { display: none; }
.nav-bot svg { animation: bot-nudge 4s ease-in-out 2s infinite; }
@keyframes bot-nudge { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(-12deg) scale(1.1); } 96% { transform: rotate(10deg) scale(1.1); } }

.bot-panel {
  position: fixed; z-index: 65; right: max(16px, env(safe-area-inset-right, 0px)); top: 84px;
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 104px));
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(11, 31, 58, 0.55); border: 1px solid var(--line);
  animation: bot-open 0.45s var(--ease);
}
.bot-panel[hidden] { display: none; }
@keyframes bot-open { from { opacity: 0; transform: translateY(-14px) scale(0.97); transform-origin: top right; } }
.bot-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 0.9rem 0.9rem 1.1rem; background: var(--navy); color: var(--white); }
.bot-head img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); }
.bot-head div { flex: 1; min-width: 0; }
.bot-head b { display: block; font-size: 0.98rem; }
.bot-head small { display: block; font-size: 0.74rem; color: rgba(255, 255, 255, 0.7); }
.bot-head button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background 0.2s; }
.bot-head button:hover { background: rgba(255, 255, 255, 0.22); }
.bot-head svg { width: 20px; height: 20px; }
.bot-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--mist); scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.93rem; line-height: 1.45; animation: msg-in 0.35s var(--ease); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.bot-msg { align-self: flex-start; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.me-msg { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 5px; }
.typing { display: flex; gap: 4px; padding: 0.85rem 1rem; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: 0.4; animation: dots 1s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 50% { opacity: 1; transform: translateY(-3px); } }
.bot-results { display: grid; gap: 0.5rem; }
.bot-msg:has(.bot-results), .bot-msg:has(.bot-cta) { background: transparent; border: 0; padding: 0; max-width: 100%; width: 100%; }
.bot-result { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 0.8rem 0.95rem; display: grid; gap: 0.25rem; }
.bot-result b { color: var(--navy); font-size: 1rem; }
.bot-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.bot-result p { margin: 0.15rem 0 0; font-size: 0.86rem; color: var(--muted); }
.bot-jobs { display: grid; gap: 0.2rem; margin-top: 0.4rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.bot-jobs small { font-size: 0.74rem; color: var(--muted); }
.bot-jobs a { font-size: 0.86rem; font-weight: 700; color: var(--navy); }
.bot-jobs a:hover { color: var(--accent); }
.bot-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bot-cta a { text-decoration: none; font-weight: 700; font-size: 0.88rem; padding: 0.7em 1.1em; border-radius: 999px; }
.bot-cta-wa { background: #1f8f55; color: var(--white); }
.bot-cta-jobs { background: var(--white); color: var(--navy); border: 1.5px solid var(--line); }
.bot-choices { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.7rem 1rem 0.2rem; background: var(--white); border-top: 1px solid var(--line); }
.bot-choices:empty { display: none; }
.bot-chip { font: 600 0.88rem var(--sans); padding: 0.6em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: 0.2s; }
.bot-chip:hover { border-color: var(--accent); }
.bot-chip.on { background: var(--accent-soft); border-color: var(--accent); }
.bot-done { background: var(--navy); color: var(--white); border-color: var(--navy); }
.bot-done:disabled { opacity: 0.4; cursor: default; }
.bot-input { display: flex; gap: 0.5rem; padding: 0.7rem 1rem; background: var(--white); }
.bot-input input { flex: 1; min-width: 0; font: 500 1rem var(--sans); padding: 0.75em 1em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--mist); color: var(--ink); }
.bot-input input:focus { outline: none; border-color: var(--accent); background: var(--white); }
.bot-input button { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--accent); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.bot-input svg { width: 20px; height: 20px; }
.bot-note { margin: 0; padding: 0 1rem 0.7rem; font-size: 0.7rem; color: var(--muted); background: var(--white); text-align: center; }
.bot-start-link { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1rem; font-weight: 700; color: var(--white); text-decoration: none; position: relative; z-index: 1; }
.bot-start-link:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .nav-bot-mobile {
    display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto; margin-right: 0.6rem;
    padding: 0.55rem 0.9rem; border-radius: 999px; background: var(--accent); color: var(--white);
    font-weight: 700; font-size: 0.85rem; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(47, 95, 214, 0.9);
  }
  .nav-menu a.nav-bot { padding: 0.9rem 0; }
}
@media (max-width: 560px) {
  .nav-bot-mobile { white-space: nowrap; padding: 0.5rem 0.75rem; font-size: 0.82rem; margin-right: 0.35rem; gap: 0.35rem; }
  .nav-bot-mobile svg { width: 20px; height: 20px; }
  .logo { gap: 0.5rem; }
  .logo-mark { width: 44px !important; }
  .logo strong { font-size: 1.1rem; }
  .logo small { letter-spacing: 0.2em; font-size: 0.56rem; }
  .bot-panel { inset: 0 auto auto 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 80; }
  .bot-input input { font-size: 16px; }
  .bot-log { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  html.bot-lock, html.bot-lock body { overflow: hidden; height: 100%; }
  .bot-chip { font-size: 0.95rem; padding: 0.7em 1.05em; }
}
@media (prefers-reduced-motion: reduce) {
  .bot-panel, .msg, .nav-bot svg { animation: none; }
}

/* ---------- Personalbedarf melden ---------- */
.bedarf-wrap { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.bedarf, .bedarf-done { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.bedarf { display: grid; gap: 1.2rem; }
.bedarf[hidden], .step[hidden], .bedarf .step-nav [hidden] { display: none; }
.bedarf label { display: grid; gap: 0.4rem; font-size: 0.86rem; font-weight: 700; color: var(--navy); }
.bedarf small { color: var(--muted); font-weight: 500; }
.bedarf input[type="text"], .bedarf input[type="email"], .bedarf input[type="tel"], .bedarf input[type="number"], .bedarf select, .bedarf textarea {
  font: 500 1rem var(--sans); padding: 0.8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mist); color: var(--ink); width: 100%;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.bedarf input:focus, .bedarf select:focus, .bedarf textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px var(--accent-soft); }
.bedarf .invalid { border-color: #c0392b !important; }
.form-row-3 { grid-template-columns: 0.6fr 1fr 1fr; }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; min-width: 0; }
.step > legend { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 0.4rem; padding: 0; }
.step.enter { animation: panel-in 0.5s var(--ease); }
.steps-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; counter-reset: s; }
.steps-bar li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; font-weight: 700; color: var(--muted); padding-bottom: 0.7rem; border-bottom: 3px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.steps-bar li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); border: 1.5px solid var(--line); font-size: 0.8rem; flex-shrink: 0; transition: 0.3s; }
.steps-bar li.active { color: var(--navy); border-color: var(--accent); }
.steps-bar li.active span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.steps-bar li.done { color: var(--navy); border-color: var(--navy); cursor: pointer; }
.steps-bar li.done span { background: var(--navy); border-color: var(--navy); color: transparent; position: relative; }
.steps-bar li.done span::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); }
.positions { display: grid; gap: 1rem; }
.position { border: 1.5px dashed var(--line); border-radius: 16px; padding: 1.1rem; display: grid; gap: 0.9rem; animation: panel-in 0.4s var(--ease); }
.position-head { display: flex; justify-content: space-between; align-items: center; color: var(--navy); }
.position-remove { background: none; border: 0; color: #c0392b; font: 600 0.85rem var(--sans); cursor: pointer; }
.add-position { justify-self: start; background: var(--accent-soft); color: var(--accent); border: 0; border-radius: 999px; padding: 0.7em 1.2em; font: 700 0.9rem var(--sans); cursor: pointer; transition: background 0.2s, color 0.2s; }
.add-position:hover { background: var(--accent); color: var(--white); }
.summary:empty { display: none; }
.summary { background: var(--mist); border-radius: 14px; padding: 1rem 1.2rem; font-size: 0.9rem; }
.summary-title { font-weight: 800; color: var(--navy); margin: 0 0 0.3rem; }
.summary p { margin: 0 0 0.4rem; }
.summary ul { margin: 0; padding-left: 1.1rem; color: var(--text); }
.step-nav { display: flex; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.step-nav .step-next, .step-nav .step-send { margin-left: auto; }
.bedarf-done { text-align: center; display: grid; gap: 0.8rem; justify-items: center; animation: panel-in 0.5s var(--ease); }
.bedarf-done[hidden] { display: none; }
.done-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1fa463; color: var(--white); font-size: 1.8rem; animation: pop 0.5s var(--ease); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.bedarf-done .quick-links { justify-content: center; }
.done-edit { background: none; border: 0; color: var(--navy); cursor: pointer; font: 700 0.9rem var(--sans); }
.bedarf-side { display: grid; gap: 1rem; position: sticky; top: 90px; }
.side-card { background: var(--mist); border-radius: 20px; padding: 1.4rem; }
.side-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; counter-reset: n; }
.side-steps li { padding-left: 2.4rem; position: relative; display: grid; gap: 0.1rem; counter-increment: n; }
.side-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }
.side-steps b { color: var(--navy); }
.side-steps span { font-size: 0.88rem; color: var(--muted); }
.side-dark { background: var(--navy); color: rgba(255, 255, 255, 0.8); display: grid; gap: 0.5rem; }
.side-dark p { margin: 0; color: var(--white); }
.side-phone { font-size: 1.35rem; font-weight: 800; color: var(--white); text-decoration: none; }
.side-dark .link-arrow { color: #9db7ff; font-size: 0.9rem; }
@media (max-width: 960px) {
  .bedarf-wrap { grid-template-columns: 1fr; }
  .bedarf-side { position: static; }
}
@media (max-width: 560px) {
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .form-row-3 label:first-child { grid-column: 1 / -1; }
  .steps-bar li { flex-direction: column; align-items: flex-start; font-size: 0.72rem; }
  .step-nav .btn { flex: 1; justify-content: center; }
  body:has(#bedarf-form) .fab { display: none; }
}

/* Hinweis, solange noch keine Profile eingepflegt sind */
.profiles-soon { grid-column: 1 / -1; background: var(--mist); border: 1.5px dashed var(--line); border-radius: 22px; padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 0.8rem; justify-items: start; max-width: 760px; }
.profiles-soon b { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--navy); line-height: 1.2; }
.profiles-soon p { margin: 0; color: var(--muted); max-width: 40em; }
.soon-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
