/* ==========================================================================
   CLEAN LOOK – Stripe / Linear Style
   Recruiting-Funnel · Dr. Schauer & Partner-Kanzleien
   ========================================================================== */

:root {
  /* Standard-Brand (für die Index-Page = Schauer-Gruppe) */
  --brand: #AE0F0A;
  --brand-deep: #7A0907;
  --brand-soft: #FBE9E8;
  --ink: #0A0A0A;
  --ink-2: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --line-soft: #F3F4F6;
  --paper: #FFFFFF;
  --paper-soft: #FAFAFA;
  --shadow-xs: 0 1px 2px rgba(15, 17, 21, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 17, 21, 0.06), 0 1px 2px rgba(15, 17, 21, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 17, 21, 0.06), 0 2px 4px rgba(15, 17, 21, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 17, 21, 0.08), 0 4px 12px rgba(15, 17, 21, 0.04);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --t: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Standort-Themes (Brand-Farbe pro Kanzlei) ----------
   Murnau + Garmisch = Schauer-Rot (gleiches Brand)
   Hackerbrücke (ARS Arcus) = helleres Petrol-Blau
   Landshuter (DRS Arcus) = tieferes Royal-/Navy-Blau
*/
[data-standort="murnau"],
[data-standort="garmisch"] {
  --brand: #AE0F0A;
  --brand-deep: #7A0907;
  --brand-soft: #FBE9E8;
}
[data-standort="muenchen-hackerbruecke"] {
  --brand: #2A77BE;
  --brand-deep: #1B5891;
  --brand-soft: #E5EFF8;
}
[data-standort="muenchen-landshuter"] {
  --brand: #0E5BA8;
  --brand-deep: #08407A;
  --brand-soft: #E1ECF7;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }

/* ---------- Topbar – minimal ---------- */
.tb {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.tb__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tb__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.tb__back:hover { color: var(--ink); }
.tb__step {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tb__step .num { color: var(--brand); }
.tb__progress {
  position: relative; height: 2px; background: var(--line-soft);
}
.tb__progress::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--progress, 33%);
  background: var(--brand);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Container ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 760px; }

/* ---------- Hero – Split-Layout ---------- */
.hero {
  padding: 48px 0 32px;
}
@media (min-width: 900px) {
  .hero { padding: 80px 0 64px; }
}
.hero__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.hero__photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-soft);
  order: -1;
}
@media (min-width: 900px) {
  .hero__photo { order: 0; aspect-ratio: 5 / 6; }
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero__eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--ink);
}
/* Auf Stelle-Detail-Pages: Headline kleiner */
[data-stelle] .hero__title {
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero__lead {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 50ch;
}
.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { color: #16a34a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  transition: all var(--t);
  min-height: 50px;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  background: var(--paper-soft);
  border-color: #d1d5db;
}
.btn--lg { padding: 18px 32px; min-height: 60px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .time {
  font-weight: 400;
  opacity: 0.7;
  font-size: 13px;
}

/* ---------- Section ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--soft { background: var(--paper-soft); }
.section--bordered { border-top: 1px solid var(--line); }

.section__head { margin-bottom: 36px; max-width: 720px; }
.section__head--center { margin: 0 auto 48px; text-align: center; }
.section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.section__intro {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Benefits – sauberes Grid ---------- */
.benefits {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .benefits { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 900px) { .benefits { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } }
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 22px 24px;
  transition: all var(--t);
}
.benefit:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.benefit__ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.benefit__ico svg { width: 18px; height: 18px; stroke-width: 2; }
.benefit__title { font-size: 1rem; font-weight: 600; margin: 0 0 6px; line-height: 1.3; }
.benefit__text { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Quote ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 768px) { .quote { padding: 48px 44px; } }
.quote__text {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
}
.quote__author { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-soft) center/cover no-repeat;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.quote__meta { font-size: 13px; }
.quote__name { font-weight: 600; color: var(--ink); }
.quote__role { color: var(--muted); margin-top: 1px; font-size: 12px; }

/* ---------- Jobs – die zwei großen Stellen-Cards ---------- */
.jobs {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .jobs { grid-template-columns: 1fr 1fr; gap: 18px; } }
.job {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.job:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.job__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.job__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}
.job__meta { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.job__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--t);
}
.job:hover .job__cta { background: var(--brand); }
.job__cta-arr { transition: transform var(--t); }
.job:hover .job__cta-arr { transform: translateX(3px); }

/* ---------- Mini Role-Picks (im Hero für direkte Stelle-Wahl) ---------- */
.role-pick-grid {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  grid-template-columns: 1fr;
}
.role-pick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all var(--t);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  min-height: 80px;
}
.role-pick:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.role-pick__body { flex: 1; min-width: 0; }
.role-pick__tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}
.role-pick__title {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 2px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.role-pick__sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.role-pick__arr {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--t);
}
.role-pick:hover .role-pick__arr {
  background: var(--brand);
  color: #fff;
  transform: translateX(2px);
}

/* ---------- Stelle-Detail-Sektion (Aufgaben + Anforderungen) ---------- */
.stelle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  transition: all var(--t);
}
@media (min-width: 768px) { .stelle { padding: 44px 40px; } }
.stelle + .stelle { margin-top: 18px; }
.stelle:hover { border-color: #d1d5db; box-shadow: var(--shadow-md); }

.stelle__head { margin-bottom: 28px; }
.stelle__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.stelle__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
}
.stelle__meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.stelle__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}
@media (min-width: 768px) { .stelle__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }

.stelle__block-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.stelle__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.stelle__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.stelle__list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

.stelle__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 28px;
  text-decoration: none;
  transition: all var(--t);
  width: 100%;
  min-height: 56px;
  box-shadow: var(--shadow-sm);
}
.stelle__cta:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.stelle__cta .time { font-weight: 400; opacity: 0.75; font-size: 13px; }
@media (min-width: 600px) { .stelle__cta { width: auto; min-width: 280px; } }

/* ---------- Qualifikations-Frage (Quiz-Stil auf 03/06) ---------- */
.qual {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 32px;
  text-align: center;
}
.qual--soft { background: transparent; border: 0; }
.qual__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.qual__question {
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.35;
  margin: 0 auto 22px;
  color: var(--ink);
  max-width: 38ch;
}
.qual__buttons {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}
.qual__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t);
  min-height: 56px;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-xs);
  text-decoration: none;
}
.qual__btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.qual__btn::after {
  content: "→";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-left: auto;
  transition: all var(--t);
}
.qual__btn:hover::after {
  background: var(--brand);
  color: #fff;
  transform: translateX(2px);
}
/* "Ja" und "Nein" sind jetzt visuell gleichwertig — Quiz-Stil */
.qual__btn--yes,
.qual__btn--no { /* gleicher Stil */ }

/* ---------- Quiz-Page (4/6) – Verfügbarkeit + Arbeitsmodell ---------- */
.quiz {
  padding: 32px 0 56px;
}
@media (min-width: 768px) { .quiz { padding: 56px 0 80px; } }
.quiz__crumb {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.quiz__head { text-align: center; margin-bottom: 26px; }
.quiz__question {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.016em;
  line-height: 1.3;
  margin: 0 auto 12px;
  max-width: 36ch;
  color: var(--ink);
}
.quiz__hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 44ch;
}
.quiz__options {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t);
  min-height: 56px;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-xs);
}
.quiz-opt:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.quiz-opt__label { flex: 1; line-height: 1.3; }
.quiz-opt__sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.quiz-opt__arr {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--t);
}
.quiz-opt:hover .quiz-opt__arr {
  background: var(--brand);
  color: #fff;
  transform: translateX(2px);
}
.quiz__step { display: none; }
.quiz__step.is-active { display: block; }
.quiz__back {
  margin-top: 24px;
  text-align: center;
}
.quiz__back-btn {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 12px;
}
.quiz__back-btn:hover { color: var(--ink); }

/* ---------- Standort-Cards (für Index-Page) ---------- */
.locs {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .locs { grid-template-columns: 1fr 1fr; gap: 20px; } }
.loc {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.loc::before {
  /* Brand-Color-Streifen oben */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand);
  z-index: 2;
  transform-origin: left center;
  transform: scaleX(0.18);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.loc:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.loc:hover::before { transform: scaleX(1); }

.loc__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--brand-soft) center/cover no-repeat;
  overflow: hidden;
}
@media (min-width: 700px) {
  .loc__photo { aspect-ratio: 4 / 3; }
}
.loc__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.loc:hover .loc__photo img { transform: scale(1.05); }

/* Subtiler Foto-Tint oben links für die Lesbarkeit des Badge */
.loc__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

/* Foto-Overlay: Stadt-Badge links oben + Name links unten */
.loc__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.loc__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.loc__overlay {
  position: absolute;
  bottom: 14px; left: 16px; right: 16px;
  z-index: 2;
  color: #fff;
}
.loc__overlay-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  margin: 0;
}
.loc__overlay-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

/* Photo-Placeholder (kein Bild da) */
.loc__photo--empty {
  background:
    radial-gradient(circle at 30% 30%, var(--brand-soft) 0%, var(--paper-soft) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc__photo--empty .loc__placeholder {
  color: var(--brand);
  opacity: 0.45;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.loc__body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loc__kanzlei {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.loc__atmos {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.loc__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-top: 4px;
}
.loc__cta-arr { transition: transform var(--t); }
.loc:hover .loc__cta-arr { transform: translateX(4px); }

/* ---------- Atmosphärischer Intro-Hero (Standortauswahl) ---------- */
.intro {
  padding: 56px 0 32px;
  text-align: center;
}
@media (min-width: 700px) { .intro { padding: 72px 0 40px; } }
.intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.intro__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}
.intro__title {
  font-size: clamp(1.85rem, 5.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
.intro__title .accent { color: var(--brand); }
.intro__lead {
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ---------- Manifest / Vier Versprechen (Standort-Pages) ---------- */
.manifest {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .manifest { grid-template-columns: 1fr 1fr; gap: 18px; }
}

.promise {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 26px;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
@media (max-width: 540px) { .promise { padding: 22px 22px 20px; } }

/* Großes outlined Nummer-Element bottom-right – editorial feel */
.promise__bignum {
  position: absolute;
  bottom: -22px;
  right: -8px;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  opacity: 0.06;
  letter-spacing: -0.04em;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-feature-settings: "tnum";
}
.promise:hover .promise__bignum {
  opacity: 0.13;
  transform: translate(-4px, -4px);
}

/* Subtiler radialer Brand-Glow top-right */
.promise::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--brand-soft) 0%, transparent 70%);
  opacity: 0.7;
  z-index: -2;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.promise:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.promise:hover::before {
  transform: scale(1.3);
}

.promise__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.promise__ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -6px var(--brand);
  transition: transform var(--t);
}
.promise__ico svg {
  width: 20px; height: 20px;
  stroke-width: 2;
}
.promise:hover .promise__ico { transform: scale(1.06) rotate(-2deg); }

.promise__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.08em;
  font-feature-settings: "tnum";
}

.promise__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.promise__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- "Was uns verbindet" – kleine Wert-Sektion ---------- */
.values {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } }
.value {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.value__ico {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.value__ico svg { width: 16px; height: 16px; stroke-width: 2.2; }
.value__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 3px;
  color: var(--ink);
}
.value__text {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Sticky Mobile CTA – deaktiviert ---------- */
.sticky-cta { display: none !important; }

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 32px 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.foot a { color: var(--ink); margin: 0 8px; }
.foot a:hover { color: var(--brand); }
.foot__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Bewerbungsformular (5/6) ---------- */
.apply {
  padding: 40px 0 80px;
}
.apply__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}
.apply__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.apply__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px;
}
.apply__lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.apply__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  max-width: 600px;
}
.apply__pills-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-right: 4px;
}
.apply__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}

.apply__form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .apply__form { padding: 22px 18px; border-radius: var(--r); }
}

.field { margin-bottom: 18px; }
.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 540px) {
  .field__row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .field__row .field { margin-bottom: 18px; }
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea {
  min-height: 96px;
  resize: vertical;
  font-family: inherit;
}
.field--file label {
  display: block;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 18px 16px;
  text-align: center;
  background: var(--paper-soft);
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.field--file label:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.field--file input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.field--file__hint {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}
.field--file__name {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--brand-deep);
  font-weight: 500;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 4px 0 22px;
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  margin: 2px 0 0;
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: var(--brand);
}
.checkbox a { color: var(--brand); text-decoration: underline; }

.apply__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: var(--r-sm);
  padding: 16px 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  min-height: 56px;
}
.apply__submit:hover { background: var(--brand-deep); }
.apply__submit:active { transform: scale(0.99); }
.apply__submit:disabled { opacity: 0.6; cursor: wait; }

.apply__status {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  min-height: 18px;
}
.apply__status.is-error { color: #b91c1c; }
.apply__status.is-ok { color: #15803d; }

.apply__trust {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.apply__trust span {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.apply__trust svg { color: #16a34a; flex-shrink: 0; margin-top: 2px; }

/* ---------- Danke (6/6) ---------- */
.thanks {
  padding: 60px 0;
  text-align: center;
}
.thanks__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 22px;
}
.thanks__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
}
.thanks__icon svg { width: 32px; height: 32px; stroke-width: 2.5; }
.thanks__title {
  font-size: clamp(1.6rem, 4.2vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.2;
}
.thanks__lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 auto 32px;
  line-height: 1.55;
  max-width: 520px;
}

.steps {
  display: grid;
  gap: 12px;
  text-align: left;
  margin: 0 auto 36px;
  max-width: 540px;
}
.step {
  display: flex;
  gap: 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
}
.step__num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}
.step__title {
  font-weight: 600;
  color: var(--ink);
  margin: 2px 0 4px;
  font-size: 14px;
}
.step__text {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.thanks__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  transition: color var(--t), border-color var(--t);
}
.thanks__back:hover { color: var(--brand); border-color: var(--brand); }

/* ========================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ======================================================================== */
.legal {
  padding: 48px 0 80px;
  max-width: 820px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.legal h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--ink-2);
}
.legal p, .legal li {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 12px;
}
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal a:hover { color: var(--brand-deep); }
.legal__intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.legal__block {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 22px;
  margin: 14px 0;
}
.legal__block p { margin: 0 0 6px; font-size: 14px; }
.legal__block p:last-child { margin: 0; }

/* ========================================================================
   COOKIE-BANNER – separat, slide-up beim Erstbesuch
   ======================================================================== */
.cb {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 460px;
  z-index: 80;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(15,17,21,0.18), 0 8px 16px rgba(15,17,21,0.06);
  padding: 18px 20px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
}
.cb.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 540px) {
  .cb { left: 12px; right: 12px; padding: 16px 16px 14px; }
}
.cb__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cb__ico {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.cb__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.cb__text { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.cb__text a { color: var(--brand); text-decoration: underline; }
.cb__text strong { color: var(--ink-2); }
.cb__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cb__btn {
  flex: 1;
  min-width: 130px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.cb__btn:hover { border-color: var(--ink-2); color: var(--ink); }
.cb__btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.cb__btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

/* ========================================================================
   TALENT ASSISTANT (Chat + FAQs + Cookie-Settings im Widget)
   ======================================================================== */
.aiw {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  right: 16px;
  z-index: 70;
}
/* Wenn Cookie-Banner sichtbar ist, das Widget etwas höher schieben */
body.has-cookie-banner .aiw {
  bottom: calc(220px + env(safe-area-inset-bottom));
  transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 540px) {
  body.has-cookie-banner .aiw {
    bottom: calc(280px + env(safe-area-inset-bottom));
  }
}

/* Floating Trigger - Kreiselement */
.aiw__btn {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px -6px rgba(174, 15, 10, 0.55), 0 4px 8px rgba(15,17,21,0.12);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  isolation: isolate;
  overflow: visible;
}
.aiw__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 40px -6px rgba(174, 15, 10, 0.7), 0 6px 12px rgba(15,17,21,0.15);
}
.aiw__btn:active { transform: scale(0.96); }
.aiw__btn svg { width: 26px; height: 26px; }

/* Pulse-Ring Animation */
.aiw__btn::before,
.aiw__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand);
  z-index: -1;
  animation: aiw-pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.aiw__btn::after { animation-delay: 1.3s; }
@keyframes aiw-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}
.aiw.is-open .aiw__btn::before,
.aiw.is-open .aiw__btn::after { animation: none; opacity: 0; }

/* Online-Indikator (grün = bereit) / Notify (orange = ungelesen) */
.aiw__dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 12px; height: 12px;
  background: #16a34a;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 1;
  transition: background 0.2s;
}
.aiw[data-needs-consent="true"] .aiw__dot {
  background: #f59e0b;
  width: 14px; height: 14px;
  top: 2px; right: 2px;
  animation: aiw-notify 2s ease-in-out infinite;
}
@keyframes aiw-notify {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.aiw.is-open .aiw__dot { display: none; }

/* Close-Icon (im offenen Zustand) */
.aiw__btn .aiw__open { display: block; }
.aiw__btn .aiw__close { display: none; }
.aiw.is-open .aiw__btn .aiw__open { display: none; }
.aiw.is-open .aiw__btn .aiw__close { display: block; }

/* Tooltip wenn nicht offen */
.aiw__hint {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.aiw__hint::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 14px;
  width: 8px; height: 8px;
  background: var(--ink);
  transform: rotate(45deg);
}
.aiw:not(.is-open):hover .aiw__hint { opacity: 1; transform: translateX(0); }
@media (max-width: 600px) { .aiw__hint { display: none; } }

/* Chat-Panel */
.aiw__panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(15,17,21,0.22), 0 8px 16px rgba(15,17,21,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.aiw.is-open .aiw__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Panel Header */
.aiw__hdr {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aiw__hdr-ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aiw__hdr-ava svg { width: 18px; height: 18px; color: #fff; }
.aiw__hdr-meta { flex: 1; min-width: 0; }
.aiw__hdr-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.aiw__hdr-status {
  font-size: 11px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.aiw__hdr-status::before {
  content: "";
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}
.aiw__hdr-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}
.aiw__hdr-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t);
}
.aiw__hdr-btn:hover { background: rgba(255,255,255,0.24); }
.aiw__hdr-btn svg { width: 16px; height: 16px; }

/* Cookie-Consent-View innerhalb des Panels */
.aiw__consent {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  background: var(--paper-soft);
  overflow-y: auto;
}
.aiw__consent-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
}
.aiw__consent-ico svg { width: 22px; height: 22px; }
.aiw__consent-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.aiw__consent-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.aiw__consent-text a { color: var(--brand); text-decoration: underline; }
.aiw__consent-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.aiw__consent-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
.aiw__consent-list svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--brand);
  margin-top: 1px;
}
.aiw__consent-list strong { color: var(--ink); display: block; font-size: 12.5px; margin-bottom: 2px; }
.aiw__consent-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.aiw__consent-btn {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.aiw__consent-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.aiw__consent-btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px -6px var(--brand);
}
.aiw__consent-btn--primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

/* View-Switcher: zeige Chat ODER Consent */
.aiw__view { display: none; flex: 1; flex-direction: column; min-height: 0; }
.aiw__view.is-active { display: flex; }

/* Body */
.aiw__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: var(--paper-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}

/* Message-Bubbles */
.aiw__msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: aiw-msg-in 0.3s ease;
}
@keyframes aiw-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.aiw__msg--bot {
  background: #fff;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.aiw__msg--bot strong { color: var(--ink); }
.aiw__msg--user {
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.aiw__typing {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}
.aiw__typing span {
  width: 7px; height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: aiw-typing 1.2s ease-in-out infinite;
}
.aiw__typing span:nth-child(2) { animation-delay: 0.2s; }
.aiw__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiw-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* FAQ-Chips */
.aiw__faqs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}
.aiw__faq {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font: inherit;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.aiw__faq:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-soft);
}

/* Input-Area */
.aiw__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.aiw__input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  background: var(--paper-soft);
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.aiw__input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.aiw__send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), transform var(--t);
}
.aiw__send:hover { background: var(--brand-deep); }
.aiw__send:active { transform: scale(0.94); }
.aiw__send:disabled { opacity: 0.5; cursor: not-allowed; }
.aiw__send svg { width: 16px; height: 16px; }

/* Disclaimer-Footer */
.aiw__foot {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  padding: 6px 12px 8px;
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
.aiw__foot a { color: var(--muted); text-decoration: underline; }
