/* ==========================================================================
   Praxis Dr. Dragos – Clean Medical Stylesheet
   ========================================================================== */

:root {
  /* Color tokens – CI Praxis Dr. Mihai */
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-soft: #eff6ff;
  --surface-mute: #f1f5f9;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-soft: #dbeafe;
  --primary-deep: #1e3a8a;
  --accent: #2563eb;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --danger: #dc2626;
  --success: #16a34a;

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .05), 0 10px 20px -8px rgba(15, 23, 42, .1);
  --shadow-lg: 0 10px 30px -8px rgba(15, 23, 42, .15);
  --shadow-glow: 0 20px 40px -16px rgba(29, 78, 216, .25);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-hover); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Layout helpers ------------------------------------------------------ */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--surface); }
.section--mint { background: var(--surface-soft); }
.section--dark { background: var(--primary-deep); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.btn--white {
  background: #fff;
  color: var(--primary-deep);
}
.btn--white:hover {
  background: var(--surface-soft);
  color: var(--primary-deep);
  transform: translateY(-2px);
}
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* Topbar -------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.topbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.topbar__logo:hover { color: var(--primary); }
.topbar__logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
}
.topbar__logo-mark img,
.topbar__logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.topbar__logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.topbar__nav a:hover { color: var(--primary); }
.topbar__nav a.is-active { color: var(--primary); }
.topbar__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.topbar__cta { margin-left: 4px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px;
  height: 2px; background: var(--text); border-radius: 2px;
  transition: .2s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.topbar__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px var(--gutter) 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.topbar__mobile a {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text);
}
.topbar__mobile a:hover { background: var(--surface); color: var(--primary); }
.topbar__mobile.is-open { display: flex; }

@media (max-width: 920px) {
  .topbar__nav, .topbar__cta { display: none; }
  .burger { display: block; }
}

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(60px, 8vw, 110px) clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 400px at 90% -10%, var(--primary-soft) 0%, transparent 55%),
    radial-gradient(ellipse 600px 400px at 5% 90%, #e0f2fe 0%, transparent 55%),
    #fff;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__content > * + * { margin-top: 22px; }
.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero__trust svg { color: var(--primary); flex-shrink: 0; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.hero-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.hero-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.hero-card__title { font-size: 18px; margin-bottom: 4px; }
.hero-card__meta { font-size: 13px; color: var(--text-muted); }
.hero-card__hours { padding: 20px 0; display: grid; gap: 10px; }
.hero-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.hero-card__row span:first-child { color: var(--text-muted); }
.hero-card__row span:last-child { color: var(--text); font-weight: 500; }
.hero-card__row.is-today {
  background: var(--primary-soft);
  margin: 0 -16px;
  padding: 10px 16px;
  border-radius: var(--radius);
  color: var(--primary-deep);
}
.hero-card__row.is-today span:first-child { color: var(--primary-deep); font-weight: 600; }
.hero-card__cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.hero-card__cta .btn { width: 100%; }

.hero-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.hero-badge--tl { top: -16px; left: -20px; color: var(--primary); }
.hero-badge--br { bottom: -16px; right: -20px; color: var(--accent); }
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  position: relative;
}
.hero-badge .pulse::before {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid var(--success);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* Trust strip --------------------------------------------------------- */
.trust-strip {
  border-block: 1px solid var(--border);
  padding-block: 28px;
  background: #fff;
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  text-align: center;
}
.trust-stat__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}
.trust-stat__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Services grid ------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s ease;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
}

/* About split --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-soft), #e0f2fe);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.split__media-inner {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(29, 78, 216, .25);
  letter-spacing: -0.05em;
}
.split__content > * + * { margin-top: 20px; }
.split__content h2 {
  font-size: clamp(30px, 3.6vw, 42px);
}
.split__content p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.split__sign {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}
.split__sign-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
}
.split__sign-name { font-weight: 600; }
.split__sign-role { font-size: 13px; color: var(--text-muted); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split__media { max-width: 460px; aspect-ratio: 1; margin: 0 auto; }
}

/* Team grid ----------------------------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.team-card__avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-soft), #dbeafe);
  color: var(--primary-deep);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card__role { font-size: 13px; color: var(--primary); font-weight: 600; }
.team-card__bio { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.55; }
@media (max-width: 940px) {
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team { grid-template-columns: 1fr; }
}

/* Process / Treatment steps ------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* Testimonials -------------------------------------------------------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
}
.testimonial__stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  margin-bottom: 16px;
}
.testimonial__quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 600;
}
.testimonial__name { font-weight: 600; font-size: 14px; }
.testimonial__source { font-size: 12px; color: var(--text-muted); }
@media (max-width: 880px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* FAQ ----------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  transition: transform .2s;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body {
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Contact / Final CTA ------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .12), transparent 50%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.cta-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-banner__contacts {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.cta-banner__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.cta-banner__contact-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.cta-banner__contact-label { font-size: 12px; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .08em; }
.cta-banner__contact-value { font-size: 16px; font-weight: 600; color: #fff; }
.cta-banner__contact a { color: #fff; }
@media (max-width: 880px) {
  .cta-banner { grid-template-columns: 1fr; }
}

/* Contact full section ----------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info {
  display: grid;
  gap: 24px;
}
.info-block {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.info-block h3 svg { color: var(--primary); }
.info-block p, .info-block li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.info-block .hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.info-block .hours-row:last-child { border: 0; }
.info-block .hours-row span:last-child { color: var(--text); font-weight: 500; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  position: relative;
}
.map-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(45deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 40px),
    linear-gradient(-45deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 40px);
  opacity: .4;
}
.map-pin {
  position: relative;
  z-index: 1;
  color: var(--primary);
  text-align: center;
}
.map-pin svg { margin: 0 auto 8px; }
.map-pin strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--text); }
.map-pin span { font-size: 14px; color: var(--text-muted); }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4 / 3; }
}

/* Karriere – Jobs ----------------------------------------------------- */
.jobs {
  display: grid;
  gap: 16px;
}
.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .2s ease;
}
.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.job-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.job-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.job-card__tag svg { color: var(--primary); }
.job-card h3 { font-size: 22px; margin-bottom: 4px; }
.job-card__desc { color: var(--text-muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 640px) {
  .job-card { grid-template-columns: 1fr; }
  .job-card .btn { width: 100%; }
}

/* Benefits cards ------------------------------------------------------ */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.benefit__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 880px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .benefits { grid-template-columns: 1fr; }
}

/* Job detail card (Karriere) ----------------------------------------- */
.job-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.job-detail:hover { box-shadow: var(--shadow-md); }
.job-detail__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.job-detail__type {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.job-detail__head h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.job-detail__lead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 680px;
}
.job-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.job-detail__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.job-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.job-detail__col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.job-detail__list {
  display: grid;
  gap: 10px;
}
.job-detail__list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.job-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.job-detail__cta {
  margin-top: 8px;
}
@media (max-width: 820px) {
  .job-detail__head { grid-template-columns: 1fr; }
  .job-detail__meta { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .job-detail__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Application process ------------------------------------------------- */
.application {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.application__steps { display: grid; gap: 16px; }
.application__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 16px 0;
}
.application__step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 14px;
}
.application__step h4 { font-family: var(--font-body); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.application__step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 860px) {
  .application { grid-template-columns: 1fr; }
}

/* Legal / Rechtsdokument ---------------------------------------------- */
.legal-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.legal-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
}
.legal-nav h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  margin: 0;
}
.legal-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}
.legal-nav a:hover { background: #fff; color: var(--primary); }

.legal-doc h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 12px;
}
.legal-doc h2 {
  font-size: 26px;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-doc h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text);
}
.legal-doc p, .legal-doc li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-doc ul { margin-bottom: 16px; }
.legal-doc ul li {
  position: relative;
  padding-left: 22px;
  list-style: none;
}
.legal-doc ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.legal-doc strong { color: var(--text); }
.legal-doc a { color: var(--primary); text-decoration: underline; }
.legal-doc__intro {
  background: var(--surface-soft);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0 8px;
}
.legal-doc__intro p { color: var(--text); font-size: 15px; margin: 0; }

@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

/* Generic page hero (Karriere / Recht) ------------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--surface-soft), #fff);
  padding-block: clamp(60px, 8vw, 96px);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  margin: 16px 0 18px;
  letter-spacing: -0.03em;
}
.page-hero p { color: var(--text-muted); font-size: 18px; }

/* Footer -------------------------------------------------------------- */
.footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, .8);
  padding-block: 64px 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .topbar__logo { color: #fff; }
.footer__brand .topbar__logo small { color: rgba(255, 255, 255, .6); }
.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  max-width: 320px;
}
.footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 10px; }
.footer ul a {
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
}
.footer ul a:hover { color: #fff; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.footer__bottom a { color: rgba(255, 255, 255, .75); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Utility ------------------------------------------------------------- */
.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;
}
.text-muted { color: var(--text-muted); }
.center { text-align: center; }

/* ============================================================
   CHAT WIDGET – Floating Assistant Panel
============================================================ */

/* Toggle Button (floating bubble bottom-right) ----------------------- */
.dm-chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9000;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 14px 32px rgba(29, 78, 216, 0.32),
    0 4px 12px rgba(29, 78, 216, 0.18);
  transition: transform 220ms cubic-bezier(.34,1.56,.64,1), box-shadow 220ms ease, opacity 220ms ease;
}
.dm-chat-toggle:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 20px 44px rgba(29, 78, 216, 0.38),
    0 6px 16px rgba(29, 78, 216, 0.22);
}
.dm-chat-toggle:active {
  transform: translateY(-1px) scale(0.98);
}
.dm-chat-toggle svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dm-chat-toggle__icon-close { display: none; }
.dm-chat-toggle.is-open .dm-chat-toggle__icon-chat { display: none; }
.dm-chat-toggle.is-open .dm-chat-toggle__icon-close { display: block; }

/* Notification pulse */
.dm-chat-toggle__dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fbbf24;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, .55);
  animation: dmPulseDot 1.8s ease-out infinite;
}
.dm-chat-toggle.is-open .dm-chat-toggle__dot,
.dm-chat-toggle.was-opened .dm-chat-toggle__dot {
  display: none;
}
@keyframes dmPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .55); }
  70% { box-shadow: 0 0 0 14px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

/* Chat panel --------------------------------------------------------- */
.dm-chat-panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 8999;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: min(680px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
  transform: translateY(20px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms cubic-bezier(.34,1.56,.64,1), opacity 220ms ease;
}
.dm-chat-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.dm-chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 56px 18px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  position: relative;
}
.dm-chat-head__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .26);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}
.dm-chat-head__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}
.dm-chat-head__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  margin-top: 2px;
}
.dm-chat-head__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: dmPulseDot 1.8s ease-out infinite;
}
.dm-chat-head__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.dm-chat-head__close:hover { background: rgba(255, 255, 255, .28); }
.dm-chat-head__close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* Messages area */
.dm-chat-messages {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px 16px;
  background:
    linear-gradient(180deg, var(--surface-soft), #fff 40%);
  scroll-behavior: smooth;
}
.dm-chat-messages::after {
  content: "";
  display: block;
  flex: 0 0 8px;
}
.dm-chat-messages::-webkit-scrollbar { width: 6px; }
.dm-chat-messages::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }

.dm-message {
  max-width: 86%;
  width: fit-content;
  margin-bottom: 10px;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  animation: dmFadeIn 220ms ease-out both;
}
.dm-message-assistant {
  align-self: flex-start;
  margin-right: auto;
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}
.dm-message-user {
  align-self: flex-end;
  margin-left: auto;
  border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, .22);
}
.dm-message a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dm-message-user a { color: #fff; }

/* Typing indicator */
.dm-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}
.dm-typing i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-block;
  animation: dmBounce 900ms infinite ease-in-out;
}
.dm-typing i:nth-child(2) { animation-delay: 120ms; }
.dm-typing i:nth-child(3) { animation-delay: 240ms; }
@keyframes dmBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-4px); opacity: 1; }
}
@keyframes dmFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Error banner */
.dm-chat-error {
  margin: 10px 14px 0;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  line-height: 1.5;
}

/* Composer (chat form) */
.dm-chat-form,
.dm-contact-form {
  border-top: 1px solid var(--border);
  padding: 14px;
  background: #fff;
}
.dm-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 6px;
  background: var(--surface);
  transition: border-color .15s, background .15s;
}
.dm-input-wrap:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.dm-chat-input {
  width: 100%;
  min-height: 40px;
  max-height: 120px;
  flex: 1;
  resize: none;
  border: 0;
  outline: 0;
  padding: 10px 8px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
.dm-chat-input::placeholder { color: var(--text-soft); }
.dm-chat-input:disabled,
.dm-contact-input:disabled { cursor: not-allowed; opacity: .55; }

.dm-send {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .26);
}
.dm-send:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 10px 24px rgba(29, 78, 216, .34);
}
.dm-send:disabled,
.dm-contact-button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
  box-shadow: none;
}
.dm-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dm-note {
  margin: 8px 4px 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

/* Contact form */
.dm-contact-fields { display: grid; gap: 8px; }
.dm-contact-input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  outline: 0;
  padding: 11px 13px;
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.dm-contact-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.dm-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.dm-contact-button {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 11px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 18px rgba(29, 78, 216, .2);
}
.dm-contact-button:not(:disabled):hover { transform: translateY(-1px); }
.dm-contact-button--secondary {
  border-color: var(--border-strong);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

/* Mobile responsive ------------------------------------------------- */
@media (max-width: 600px) {
  .dm-chat-toggle {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
  .dm-chat-panel {
    right: 12px;
    left: 12px;
    bottom: 88px;
    width: auto;
    max-width: none;
    height: min(620px, calc(100vh - 110px));
    border-radius: 20px;
  }
}

@media (max-width: 400px) {
  .dm-chat-panel {
    right: 8px;
    left: 8px;
    bottom: 80px;
    height: calc(100vh - 100px);
  }
}

/* Body lock when panel open on mobile */
@media (max-width: 600px) {
  body.dm-chat-locked { overflow: hidden; }
}


/* ==========================================================================
   ONLINE-BOOKING-MODUL
   ========================================================================== */
.dm-bk-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(8px, 3vw, 32px);
  z-index: 9999;
  animation: dmBkFade .18s ease-out;
}
.dm-bk-overlay[hidden] { display: none !important; }
@keyframes dmBkFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes dmBkSlide { from { transform: translateY(16px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

body.dm-bk-locked { overflow: hidden; }

.dm-bk-modal {
  background: #fff;
  width: min(960px, 100%);
  max-height: calc(100vh - 32px);
  display: flex; flex-direction: column;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .35);
  overflow: hidden;
  animation: dmBkSlide .22s ease-out;
}
.dm-bk-modal--narrow { width: min(640px, 100%); }

.dm-bk-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.dm-bk-head__title h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  color: var(--text);
}
.dm-bk-pill {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.dm-bk-close {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.dm-bk-close:hover { background: var(--surface-mute); color: var(--text); transform: rotate(90deg); }

.dm-bk-steps {
  list-style: none; margin: 0; padding: 14px 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  counter-reset: bkstep;
}
.dm-bk-steps li {
  flex: 1 1 0; min-width: 110px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--text-soft);
  padding: 8px 10px;
  border-radius: var(--radius);
  background: transparent;
  transition: background .15s, color .15s;
}
.dm-bk-steps li span {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12px;
}
.dm-bk-steps li.is-active { background: #fff; color: var(--primary); box-shadow: var(--shadow-xs); }
.dm-bk-steps li.is-active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.dm-bk-steps li.is-done { color: var(--success); }
.dm-bk-steps li.is-done span { background: var(--success); color: #fff; border-color: var(--success); }
.dm-bk-steps li.is-done span::before { content: "✓"; }
.dm-bk-steps li.is-done span > * { display: none; }

.dm-bk-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.dm-bk-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.dm-bk-foot__hint { font-size: 13px; color: var(--text-soft); }
.dm-bk-foot__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.dm-bk-btn {
  appearance: none; border: 1px solid var(--border);
  background: #fff; color: var(--text);
  font-family: inherit; font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s, color .15s, transform .12s, box-shadow .15s, border-color .15s;
}
.dm-bk-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.dm-bk-btn:disabled { opacity: .5; cursor: not-allowed; }
.dm-bk-btn--primary {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.dm-bk-btn--primary:hover:not(:disabled) { background: var(--primary-hover); box-shadow: var(--shadow-glow); }
.dm-bk-btn--ghost { background: transparent; }
.dm-bk-btn--danger { color: var(--danger); border-color: rgba(220, 38, 38, .25); }
.dm-bk-btn--danger:hover:not(:disabled) { background: rgba(220, 38, 38, .08); }

.dm-bk-lead { color: var(--text-muted); margin: 0 0 18px; font-size: 15px; }

/* Services-Grid */
.dm-bk-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.dm-bk-service {
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  display: grid; gap: 6px;
  transition: border-color .15s, transform .12s, box-shadow .15s;
  font-family: inherit;
}
.dm-bk-service:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dm-bk-service.is-active { border-color: var(--primary); background: var(--primary-soft); }
.dm-bk-service__name { font-weight: 700; color: var(--text); font-size: 15px; }
.dm-bk-service__meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, .08);
  padding: 3px 8px; border-radius: var(--radius-pill);
  width: max-content;
}
.dm-bk-service__desc { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

/* Zusammenfassung */
.dm-bk-summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.dm-bk-summary strong { color: var(--text); font-size: 15px; }
.dm-bk-summary__meta { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.dm-bk-link {
  background: none; border: none; padding: 0;
  color: var(--primary); font-weight: 600; font-size: 14px;
  cursor: pointer; font-family: inherit;
}
.dm-bk-link:hover { text-decoration: underline; }

/* Kalender */
.dm-bk-cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.dm-bk-cal__title {
  font-weight: 700; font-size: 16px; color: var(--text);
  text-transform: capitalize;
}
.dm-bk-iconbtn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 50%; cursor: pointer;
  transition: background .15s, color .15s;
}
.dm-bk-iconbtn:hover { background: var(--primary-soft); color: var(--primary); }
.dm-bk-cal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .dm-bk-cal__grid { grid-template-columns: 1fr; } }
.dm-bk-cal__days {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.dm-bk-cal__dow {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--text-soft);
  padding-bottom: 4px; text-transform: uppercase; letter-spacing: .05em;
}
.dm-bk-cal__pad { height: 38px; }
.dm-bk-cal__day {
  height: 38px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit; font-weight: 500; font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: background .15s, color .15s, border-color .15s;
}
.dm-bk-cal__day:disabled {
  color: var(--border-strong);
  cursor: not-allowed; background: transparent;
}
.dm-bk-cal__day.is-avail:not(:disabled) { color: var(--text); }
.dm-bk-cal__day.is-avail:not(:disabled)::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--primary);
}
.dm-bk-cal__day.is-today { border-color: var(--primary); }
.dm-bk-cal__day:hover:not(:disabled) { background: var(--primary-soft); color: var(--primary); }
.dm-bk-cal__day.is-selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.dm-bk-cal__day.is-selected::after { background: #fff; }

.dm-bk-cal__slots {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px;
  min-height: 200px;
}
.dm-bk-cal__placeholder {
  color: var(--text-soft); font-size: 14px; text-align: center;
  margin: 60px 0 0;
}
.dm-bk-cal__slotshead {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.dm-bk-cal__slotshead strong { font-size: 14px; color: var(--text); }
.dm-bk-cal__slotshead span { font-size: 12px; color: var(--text-soft); }
.dm-bk-cal__slotgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.dm-bk-slot {
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 4px;
  font-family: inherit; font-weight: 600; font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .12s;
}
.dm-bk-slot:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.dm-bk-slot.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Form */
.dm-bk-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .dm-bk-form { grid-template-columns: 1fr; } }
.dm-bk-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.dm-bk-field--full { grid-column: 1 / -1; }
.dm-bk-field input, .dm-bk-field textarea {
  font-family: inherit; font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.dm-bk-field input:focus, .dm-bk-field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.dm-bk-field .is-invalid { border-color: var(--danger); }
.dm-bk-consent { grid-column: 1 / -1; font-size: 12px; color: var(--text-soft); margin: 4px 0 0; }

/* Bestätigung */
.dm-bk-done { text-align: center; max-width: 520px; margin: 0 auto; padding: 8px 0 4px; }
.dm-bk-done__ico {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: rgba(22, 163, 74, .12);
  color: var(--success);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: dmBkPop .35s cubic-bezier(.2,.9,.4,1.4);
}
@keyframes dmBkPop { from { transform: scale(.4); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.dm-bk-done h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; color: var(--text); }
.dm-bk-done__lead { color: var(--text-muted); margin: 0 0 18px; }
.dm-bk-done__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 16px;
  text-align: left;
}
.dm-bk-done__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.dm-bk-done__row:last-child { border-bottom: 0; }
.dm-bk-done__row span { color: var(--text-soft); }
.dm-bk-done__row strong { color: var(--text); text-align: right; }
.dm-bk-done__row--code code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 2px 8px; border-radius: 6px;
  font-weight: 700; font-size: 13px;
}
.dm-bk-done__hint { font-size: 13px; color: var(--text-soft); margin: 14px 0 0; }
.dm-bk-done__hint a { color: var(--primary); font-weight: 600; }

/* Management */
.dm-mn-lookup { margin-bottom: 16px; }
.dm-mn-lookup__row { display: flex; gap: 8px; }
.dm-mn-lookup__row input {
  flex: 1; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff; color: var(--text); font-size: 14px;
}
.dm-mn-lookup__row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.dm-mn-list__h { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); margin: 10px 0 8px; font-weight: 700; }
.dm-mn-empty { color: var(--text-soft); font-size: 14px; padding: 12px 0; }
.dm-mn-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px; margin-bottom: 10px;
}
.dm-mn-item__title { font-weight: 700; color: var(--text); }
.dm-mn-item__meta { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.dm-mn-item__sub { font-size: 12px; color: var(--text-soft); margin-top: 4px; }
.dm-mn-item__sub code { background: var(--primary-soft); color: var(--primary); padding: 1px 6px; border-radius: 4px; }
.dm-mn-item__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Chat-Chip "Direkt online buchen" */
.dm-chat-quickrow {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 8px 16px 0;
}
.dm-chat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid transparent;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s, transform .12s;
}
.dm-chat-chip:hover { background: rgba(37, 99, 235, .18); transform: translateY(-1px); }
.dm-chat-chip svg { width: 14px; height: 14px; }

/* Topbar-Management-Link */
.topbar__mgmt {
  font-size: 13px; font-weight: 600;
  color: var(--text-soft); text-decoration: none;
  padding: 6px 10px; border-radius: var(--radius-pill);
  transition: color .15s, background .15s;
}
.topbar__mgmt:hover { color: var(--primary); background: var(--primary-soft); }

@media (max-width: 480px) {
  .dm-bk-modal { border-radius: var(--radius-lg); max-height: calc(100vh - 16px); }
  .dm-bk-head, .dm-bk-body, .dm-bk-foot, .dm-bk-steps { padding-left: 16px; padding-right: 16px; }
  .dm-bk-services { grid-template-columns: 1fr; }
  .dm-bk-foot { flex-direction: column; align-items: stretch; }
  .dm-bk-foot__actions { justify-content: stretch; }
  .dm-bk-foot__actions .dm-bk-btn { flex: 1; }
}

/* Buchen-Link unten in Leistungs-Karte */
.service-card { position: relative; }
.service-card__book {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--primary);
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
  transition: gap .15s;
}
.service-card__book:hover { gap: 10px; text-decoration: underline; }

/* ==========================================================================
   RECHTLICHES (Impressum / Datenschutz / Cookies)
   ========================================================================== */
.legal {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
  background: var(--surface);
}
.legal__shell { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.legal__nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.legal__nav a {
  font-size: 13px; font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}
.legal__nav a:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
.legal__section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 28px;
  scroll-margin-top: 100px;
}
.legal__section > h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--text);
}
.legal__section > p.lead {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 24px;
}
.legal__section h2 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--text);
  font-weight: 700;
}
.legal__section h3 {
  font-size: 16px;
  margin: 18px 0 6px;
  color: var(--text);
  font-weight: 700;
}
.legal__section p, .legal__section ul, .legal__section address {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  font-style: normal;
  margin: 0 0 12px;
}
.legal__section ul { padding-left: 20px; }
.legal__section ul li { margin-bottom: 4px; }
.legal__section a { color: var(--primary); }
.legal__section address { white-space: pre-line; }
.legal__updated { font-size: 13px; color: var(--text-soft); margin-top: 32px; }

/* =========================================================
   ONLINE-ANAMNESE / FORM STYLES
   ========================================================= */

.apply-form {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.anam-section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.anam-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.anam-section__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.anam-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.anam-hint {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 4px 0 18px;
}

/* Grid für Inputs */
.apply-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  margin-top: 14px;
}
.apply-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apply-form__field--full { grid-column: 1 / -1; }

.apply-form__field > label,
.apply-form__field > span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.apply-form__field > label .req,
.apply-form__field abbr[title="erforderlich"] {
  color: var(--danger);
  margin-left: 2px;
  text-decoration: none;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="date"],
.apply-form input[type="number"],
.apply-form select,
.apply-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.apply-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5l5 5 5-5' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.apply-form textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.5;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: var(--text-soft);
}

/* Checkbox-Cluster (HIV, Hepatitis, Allergien etc.) */
.anam-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.anam-checks label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14.5px;
  color: var(--text);
  cursor: pointer;
  transition: background .12s, border-color .12s;
}
.anam-checks label:hover {
  background: var(--surface-soft);
  border-color: var(--primary-soft);
}
.anam-checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex: none;
  cursor: pointer;
}
.anam-checks input[type="checkbox"]:checked + span,
.anam-checks label:has(input:checked) {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-deep);
  font-weight: 600;
}

/* Einwilligungsblock */
.apply-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.apply-form__consent input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex: none;
}
.apply-form__consent a { color: var(--primary); }

/* Actions / Submit */
.apply-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Success-State */
.apply-form__done {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.apply-form.is-done .apply-form__done { display: block; }
.apply-form.is-done > *:not(.apply-form__done) { display: none; }
.apply-form__done-ico {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--success);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
}

/* Sonstige Erkrankungen: Inline-Text-Input neben Label */
.anam-section > label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--text);
}
.anam-section > label input[type="text"] {
  flex: 1 1 240px;
  min-width: 220px;
}

@media (max-width: 640px) {
  .apply-form { padding: 22px 18px; }
  .apply-form__grid { grid-template-columns: 1fr; }
  .anam-section__title { font-size: 19px; gap: 10px; }
  .anam-section__num { width: 28px; height: 28px; font-size: 13px; }
}
