/* ============================================================
   Newsite GmbH - Modern Landing Page
   Palette: Newsite-Logo-Blau auf Slate (Logo: Petrol/Blau/Gold)
   ============================================================ */

:root {
  --accent: #1b7eab;
  --accent-2: #308dbf;
  --accent-soft: rgba(27, 126, 171, 0.12);
  --gold: #ffc000;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark (default) */
[data-theme="dark"] {
  --bg: #0b1220;
  --bg-2: #0f1830;
  --bg-3: #131f3d;
  --surface: #111a30;
  --surface-2: #16223f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2f9;
  --text-dim: #9fb0cb;
  --text-mute: #6f81a0;
}

/* Light */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f5f8fb;
  --bg-3: #eef3f8;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --border: rgba(15, 30, 60, 0.10);
  --border-strong: rgba(15, 30, 60, 0.18);
  --text: #0f1c33;
  --text-dim: #45587a;
  --text-mute: #6f81a0;
  --shadow: 0 20px 50px -24px rgba(15, 30, 60, 0.30);
  --shadow-sm: 0 8px 24px -14px rgba(15, 30, 60, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: 0; overflow-wrap: anywhere; }

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff; box-shadow: 0 10px 30px -10px var(--accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.header-inner {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  height: 72px;
  gap: 20px;
  min-width: 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; flex: 0 0 auto; min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-dot { color: var(--accent); }
.brand-logo { height: 46px; width: auto; max-width: 210px; aspect-ratio: 802 / 256; object-fit: contain; display: block; flex: 0 0 auto; }
.brand .logo-onlight { display: none; }
[data-theme="light"] .brand .logo-ondark { display: none; }
[data-theme="light"] .brand .logo-onlight { display: block; }
.footer-brand .brand-logo { height: 42px; max-width: 190px; }

.nav { display: flex; justify-content: center; gap: clamp(10px, 1.05vw, 17px); min-width: 0; justify-self: center; margin-right: 42px; }
.nav a { color: var(--text-dim); font-weight: 500; font-size: clamp(0.82rem, 0.92vw, 0.95rem); position: relative; transition: color var(--transition); white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; justify-self: end; min-width: 0; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .icon-sun { display: block; } [data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; } [data-theme="light"] .icon-moon { display: block; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
.mobile-nav a { padding: 12px 0; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.mobile-nav a.btn { margin-top: 12px; border-bottom: none; color: #ffffff; }

/* ---------- Compliance notice ---------- */
.compliance-banner {
  margin-top: 78px;
  background: linear-gradient(90deg, #1b7eab, #308dbf);
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.compliance-banner a { color: #ffffff; text-decoration: underline; margin-left: 8px; white-space: nowrap; }
.compliance-banner + .hero { padding-top: 88px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 60px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; pointer-events: none;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  filter: blur(20px);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
  padding: 7px 14px; border: 1px solid var(--border-strong); border-radius: 999px; margin-bottom: 22px;
  background: var(--accent-soft);
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 22px; }
.grad { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.18rem; color: var(--text-dim); max-width: 560px; margin-bottom: 32px; }
.lead strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-mute); font-size: 0.92rem; }
.hero-trust li { white-space: nowrap; }

/* Chat mockup */
.hero-visual { display: flex; justify-content: center; }
.chat-card {
  width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); min-width: 0; }
.chat-avatar { width: 52px; height: 52px; flex: none; border-radius: 14px; background: transparent; padding: 0; object-fit: contain; display: block; }
.chat-brand { width: 124px; height: 40px; flex: none; display: flex; align-items: center; }
.chat-brand img { width: 124px; height: auto; display: block; }
.chat-brand .logo-onlight { display: none; }
[data-theme="light"] .chat-brand .logo-ondark { display: none; }
[data-theme="light"] .chat-brand .logo-onlight { display: block; }
.chat-head strong { display: block; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: var(--text-mute); font-size: 0.8rem; }
.dot-online { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble { padding: 11px 15px; border-radius: 16px; font-size: 0.92rem; max-width: 88%; line-height: 1.5; }
.bubble.bot { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.user { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #ffffff; border-bottom-right-radius: 5px; align-self: flex-end; font-weight: 500; }
.bubble.check { display: flex; flex-direction: column; gap: 7px; }
.check-line { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; }
.check-line .ok { color: var(--accent-2); font-weight: 700; }
.check-line .warn { color: #f5a524; font-weight: 700; }
.check-line.note { color: var(--text-mute); font-size: 0.8rem; font-style: italic; }
.chat-card-demo {
  position: relative;
  border-color: var(--border-strong);
  box-shadow:
    0 28px 70px -34px rgba(0, 0, 0, 0.55),
    0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}
.chat-card-demo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 40%, rgba(255, 192, 0, 0.08) 100%);
}
.chat-card-demo::after {
  content: "";
  position: absolute;
  inset: auto 24px -26px 24px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}
.chat-card-demo:hover {
  transform: translateY(-4px);
}
.chat-card-demo .chat-head {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 86%, transparent) 0%, var(--surface-2) 100%);
  border-bottom-color: var(--border-strong);
}
.chat-demo-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  white-space: nowrap;
}
.chat-card-demo .chat-body {
  position: relative;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent-soft) 55%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 58%, transparent) 0%, transparent 100%);
}
.chat-card-demo .bubble {
  box-shadow: 0 16px 28px -24px rgba(0, 0, 0, 0.42);
}
.chat-card-demo .bubble.user {
  box-shadow: 0 24px 34px -26px color-mix(in srgb, var(--accent) 80%, #000);
}
.chat-compose {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, var(--surface-2) 100%);
  color: var(--text-dim);
  font-size: 0.84rem;
}
.compose-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: composePulse 1.9s infinite ease-out;
}
.compose-pill {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
@keyframes composePulse {
  0% { box-shadow: 0 0 0 0 var(--accent-soft); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Logo row */
.logo-row { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.logo-row > span { color: var(--text-mute); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.logo-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.logo-tags span { color: var(--text-dim); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; opacity: 0.7; padding: 6px 16px; border: 1px solid var(--border); border-radius: 999px; }

/* ---------- Sections ---------- */
/* Vorgabe 36: mehr Weissraum zwischen den Abschnitten. */
.section { padding: 116px 0; }
.section-alt, .alt-section { background: var(--bg-2); }
.section-head { max-width: 760px; margin: 0 auto 68px; text-align: center; }
.problem-copy h2,
.problem-copy .section-sub { max-width: 820px; text-align: left; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
/* Groessere Ueberschriften: der Abstand zum Fliesstext (14-16px) war zu
   gering, um Hierarchie zu tragen. */
.section-head h2 { font-size: clamp(2.05rem, 4.2vw, 3.1rem); margin-bottom: 18px; }
/* Unterkapitel innerhalb eines gebuendelten Abschnitts. Die Recruit-Seite
   hatte sechzehn gleichrangige Abschnitte; gebuendelt braucht der zweite
   und dritte Kopf eine Stufe weniger Gewicht, sonst liest sich das Bundle
   wie drei neue Kapitel. Die Regel greift unabhaengig davon, ob der Block
   einen .section-head hat oder ein eigenes Layout mitbringt. */
/* Aufklappbereiche. Details gehoeren nicht in die erste Ebene, aber sie
   duerfen auch nicht verschwinden - weder fuer Interessenten noch fuer
   Suchmaschinen. Deshalb <details> statt Loeschen. */
.ausklapp {
  margin: 26px auto 0;
  max-width: 900px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.ausklapp > summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ausklapp > summary::-webkit-details-marker { display: none; }
.ausklapp > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.95rem;
  line-height: 1;
}
.ausklapp[open] > summary::before { content: "\2212"; }
.ausklapp > summary:hover { color: var(--text); }
.ausklapp-inhalt { padding: 4px 20px 22px; }
.ausklapp-inhalt > *:first-child { margin-top: 0; }
/* Innenliegende Gitter brauchen im Aufklappbereich keinen eigenen Rahmen mehr. */
.ausklapp-inhalt .feature { padding: 20px; }
@media (max-width: 560px) {
  .ausklapp > summary { padding: 14px 16px; font-size: 0.88rem; }
  .ausklapp-inhalt { padding: 4px 16px 18px; }
}

.teil-sub { margin-top: 64px; }
.teil-sub h2,
.teil-sub .split-text h2,
.teil-sub .section-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.teil-sub .section-head { margin-bottom: 34px; }
.teil-sub .kicker { margin-bottom: 8px; }
.section-sub { color: var(--text-dim); font-size: 1.08rem; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-grid { display: grid; gap: 22px; }
.cards-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Stat cards */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: var(--transition); }
.stat-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--accent); display: block; margin-bottom: 10px; }
.stat-card p { color: var(--text-dim); font-size: 0.98rem; }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; min-width: 0; }
.split > * { min-width: 0; }
.split-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.split-text > p { color: var(--text-dim); margin-bottom: 16px; }

.value-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.value-list li { display: flex; gap: 16px; min-width: 0; }
.value-list li > div { min-width: 0; }
.vl-ico { font-size: 1.5rem; flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 12px; }
.value-list strong { font-family: var(--font-head); display: block; margin-bottom: 3px; }
.value-list p { color: var(--text-dim); font-size: 0.96rem; }
/* Kompakte Variante fuer die Produktkarten: drei knappe Punkte, die der Karte
   Substanz geben, ohne dass sie zur Featureliste wird. Ohne eigenes Symbol -
   in einer Karte konkurriert es mit der Ueberschrift. */
.value-list-kompakt { gap: 9px; margin: 14px 0 20px; }
.value-list-kompakt li { gap: 10px; align-items: flex-start;
  color: var(--text-dim); font-size: 0.94rem; line-height: 1.5; }
.value-list-kompakt li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.callout-card { background: linear-gradient(155deg, var(--surface), var(--surface-2)); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.callout-tag { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.callout-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.callout-card p { color: var(--text-dim); margin-bottom: 18px; }
.link-arrow { color: var(--accent); font-weight: 600; font-family: var(--font-head); transition: var(--transition); }
.link-arrow:hover { letter-spacing: 0.01em; opacity: 0.85; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; position: relative; transition: var(--transition); }
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.94rem; }

/* Features */
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: var(--transition); }
.feature:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feat-ico { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.feature h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 0.95rem; }

/* Trust items */
.trust-item { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 26px 28px; }
.trust-item h3 { font-size: 1.18rem; margin-bottom: 8px; }
.trust-item p { color: var(--text-dim); font-size: 0.96rem; }

/* Pricing */
.pricing { align-items: stretch; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px 36px; max-width: 100%; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; transition: var(--transition); position: relative; overflow: visible; text-align: left; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.price-card.featured, .price-card-featured { border-color: var(--accent); box-shadow: 0 20px 50px -24px var(--accent); }
/* Badge im Textfluss statt absolut positioniert.
   Zuvor sass es fest bei top:12px, waehrend der Innenabstand der Karte auf
   schmalen Displays reduziert wurde und bei vergroesserter Schrift nicht
   mitwuchs - beides fuehrte zu Ueberlappungen mit dem Paketnamen. Im Fluss
   kann das konstruktionsbedingt nicht mehr passieren, unabhaengig von
   Bildschirmbreite, Zoomstufe und Laenge des Badge-Textes. */
/* Das Kaestchen "Beliebtes Paket" steht im Textfluss - absolut positioniert
   ueberlappte es auf schmalen Bildschirmen den Kartenkopf. Im Fluss schob es
   aber alles darunter um seine Hoehe nach unten, sodass "Professional" tiefer
   begann als "Starter" und "Enterprise".
   Loesung: die uebrigen Karten reservieren denselben Platz mit einem
   unsichtbaren Zwilling. Gleiche Schrift, gleiche Innenabstaende, gleicher
   Aussenabstand - damit stimmt die Hoehe auch dann, wenn jemand spaeter die
   Schriftgroesse aendert. */
.price-card:not(.featured):not(.price-card-featured)::before {
  content: "\00a0";
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 0.32em 1em;
  margin: 0 0 14px;
  visibility: hidden;
}

.badge {
  display: inline-block;
  align-self: center;
  margin: 0 0 14px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 0.32em 1em;
  border-radius: 6px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  overflow-wrap: anywhere;
}
/* Lange Paketnamen duerfen umbrechen statt aus der Karte zu laufen. */
.price-card h3 { overflow-wrap: anywhere; hyphens: auto; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; column-gap: 6px; row-gap: 0; width: 100%; margin-bottom: 4px; text-align: left; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 2.15vw, 2.3rem); line-height: 1.15; color: var(--text); }
.price .amount { font: inherit; color: inherit; white-space: nowrap; }
.price > span, .price .per { color: var(--text-mute); font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; }
.price-sub { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; text-align: left; }
.price-setup { font-size: 0.82rem; color: var(--text-mute); margin: 0 0 18px; text-align: left; }
.price-setup strong { color: var(--text-dim); }
.setup-detail { margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.setup-detail summary { cursor: pointer; padding: 14px 20px; font-size: 0.9rem; font-weight: 600; color: var(--text-dim); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.setup-detail summary::after { content: "v"; font-size: 0.85rem; transition: transform 0.2s; }
.setup-detail[open] summary::after { transform: rotate(-180deg); }
.setup-detail table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.setup-detail th { background: var(--surface); padding: 10px 16px; text-align: left; color: var(--text-dim); font-weight: 600; border-top: 1px solid var(--border); }
.setup-detail td { padding: 9px 16px; color: var(--text-dim); border-top: 1px solid var(--border); vertical-align: top; }
.setup-detail tr:nth-child(even) td { background: var(--surface); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.price-card ul li { color: var(--text-dim); font-size: 0.95rem; padding-left: 0; position: relative; text-align: left; }
.price-card ul li::before { content: ""; display: none; }
.price-note { text-align: center; color: var(--text-mute); font-size: 0.9rem; margin-top: 28px; }
.package-note { margin: 28px auto 0; max-width: 900px; padding: 22px 26px; background: linear-gradient(135deg, var(--accent-soft), transparent); border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); color: var(--text-dim); font-size: 0.96rem; }
.package-note strong { color: var(--text); font-family: var(--font-head); }

/* Facts */
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 26px 22px; text-align: center; transition: var(--transition); }
.fact:hover { border-color: var(--accent); }
.fact-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.fact-label { color: var(--text-dim); font-size: 0.88rem; }
.heritage-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.heritage-tags span { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--text-dim); padding: 7px 15px; border: 1px solid var(--border-strong); border-radius: 999px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 24px; transition: var(--transition); }
.faq details[open] { border-color: var(--accent); }
.faq summary { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: var(--transition); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-dim); padding-bottom: 20px; font-size: 0.98rem; }

/* CTA section */
.cta-section { background: var(--bg-2); }
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; background: linear-gradient(155deg, var(--surface), var(--surface-2)); border: 1px solid var(--border-strong); border-radius: 24px; padding: 52px; box-shadow: var(--shadow); }
.cta-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 16px; }
.cta-copy > p { color: var(--text-dim); margin-bottom: 26px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; font-size: 0.96rem; color: var(--text-dim); }
.contact-list strong { font-family: var(--font-head); color: var(--text-mute); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-list a { color: var(--accent); }

.cta-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--text-dim); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 0.96rem; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); transition: var(--transition); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-hint { font-size: 0.8rem; color: var(--text-mute); }
.form-hint.success { color: var(--accent); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 42px 0 24px; }
.footer-inner { display: grid; grid-template-columns: minmax(150px, 220px) repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 28px; align-items: start; }
.footer-brand { min-width: 0; max-width: 220px; }
.footer-brand .brand { display: inline-flex; align-items: center; min-height: 100%; transform: translateY(-8px); }
.footer-brand p { margin-top: 8px; color: var(--text-dim); font-size: 0.88rem; line-height: 1.55; }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--text-dim); font-size: 0.94rem; padding: 5px 0; transition: color var(--transition); line-height: 1.6; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */
.reveal,
.reveal.in { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chat-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Add-on (Kandidaten-Qualifizierung) ---------- */
.addon-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; background: linear-gradient(155deg, var(--surface), var(--surface-2)); border: 1px solid var(--accent); border-radius: 24px; padding: 48px; box-shadow: var(--shadow); }
.addon-main h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 12px 0 16px; }
.addon-main > p { color: var(--text-dim); margin-bottom: 24px; }
.addon-steps { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.addon-steps li { display: flex; gap: 14px; align-items: flex-start; }
.addon-step-n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.addon-steps strong { font-family: var(--font-head); display: block; }
.addon-steps p { color: var(--text-dim); font-size: 0.92rem; }
.addon-note { color: var(--text-mute); font-size: 0.9rem; font-style: italic; border-left: 3px solid var(--accent); padding-left: 14px; }
.addon-aside { align-self: stretch; display: flex; }
.addon-price { width: 100%; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 18px; padding: 32px 28px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.addon-price-label { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.addon-amount { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--text); margin: 4px 0; }
.addon-price-sub { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 14px; }
.addon-price .addon-price-sub { align-self: stretch; text-align: left; margin: 8px 0 10px; max-width: none; }
.addon-price .addon-benefits { align-self: stretch; width: 100%; margin-top: 0; }
.addon-benefits { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; padding: 0; }
.addon-benefits li { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 12px; align-items: start; color: var(--text-dim); font-size: 0.93rem; line-height: 1.5; }
.addon-benefits li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); margin-top: 0.62em; box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- Add-on teaser (home) ---------- */
.addon-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; padding: 26px 32px; background: linear-gradient(135deg, var(--accent-soft), transparent); border: 1px solid var(--accent); border-radius: 18px; }
.addon-teaser-text { flex: 1 1 360px; }
.addon-teaser-text .tag-new { margin-bottom: 8px; }
.addon-teaser-text strong { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 6px; }
.addon-teaser-text p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }
.addon-teaser .btn { flex: none; }

/* ---------- "Immer im Dienst" closing note ---------- */
.immer-note { max-width: 760px; margin: 36px auto 0; text-align: center; font-size: 1.08rem; color: var(--text-dim); padding: 20px 26px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); }
.immer-note strong { color: var(--accent); }

/* ---------- Trust stats + testimonials ---------- */
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.trust-stat { text-align: center; padding: 26px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.trust-stat:hover { border-color: var(--accent); transform: translateY(-3px); }
.trust-stat .n { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.trust-stat .l { color: var(--text-dim); font-size: 0.9rem; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testi.placeholder { border-style: dashed; border-color: var(--border-strong); }
.testi-tag { position: absolute; top: 14px; right: 14px; font-family: var(--font-head); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--border-strong); padding: 2px 8px; border-radius: 999px; }
.testi .quote { font-size: 1.02rem; line-height: 1.6; color: var(--text-dim); font-style: italic; margin: 0; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--gold); display: grid; place-items: center; font-size: 1.1rem; }
.testi .who strong { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--text); }
.testi .who span { color: var(--text-mute); font-size: 0.82rem; }
.testi-note { text-align: center; color: var(--text-mute); font-size: 0.86rem; margin-top: 26px; }

/* ---------- Enterprise band ---------- */
.enterprise-band { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 44px; padding: 44px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: var(--shadow-sm); }
.ent-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 12px 0 14px; }
.ent-text > p { color: var(--text-dim); margin-bottom: 22px; }
.ent-points { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ent-points li { position: relative; padding-left: 30px; color: var(--text-dim); font-size: 0.96rem; }
.ent-points li::before { content: ""; display: none; }
.ent-points strong { color: var(--text); font-family: var(--font-head); }

/* ---------- Home-page extras ---------- */
.feature.is-new { border-color: var(--accent); box-shadow: 0 16px 40px -22px var(--accent); }
.feature.is-link { display: block; }
.product-feature { grid-column: 1 / -1; }

/* expandable service cards */
.feature.is-expandable { cursor: pointer; }
.feature.is-expandable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.feat-toggle { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.feat-toggle .chev { transition: transform var(--transition); font-size: 0.9em; }
.feature.open .feat-toggle .chev { transform: rotate(180deg); }
.feat-more { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease, margin-top 0.3s ease; margin-top: 0; }
.feature:not(.is-expandable) .feat-more { max-height: none; overflow: visible; opacity: 1; margin-top: 14px; }
.feature.open .feat-more { max-height: 360px; opacity: 1; margin-top: 14px; }
.feat-more p { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 8px; }
.tag-new { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: #ffffff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 3px 11px; border-radius: 999px; margin-bottom: 12px; }
.feature .link-arrow { margin-top: 12px; display: inline-block; }

.pillars { display: flex; flex-direction: column; gap: 12px; }
.pillar { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; transition: var(--transition); cursor: pointer; min-width: 0; }
.pillar > div { flex: 1; min-width: 0; }
.pillar-arrow { flex: none; color: var(--accent); font-family: var(--font-head); font-weight: 800; opacity: 0.5; transition: var(--transition); }
@media (hover: hover) {
  .pillar:hover { border-color: var(--accent); transform: translateY(-2px); }
  .pillar:hover .pillar-arrow { opacity: 1; transform: translateX(3px); }
}
.pillar:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pillar .p-ico { font-size: 1.5rem; flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 12px; }
.pillar strong { font-family: var(--font-head); display: block; margin-bottom: 2px; overflow-wrap: anywhere; }
.pillar .p-sub { color: var(--text-dim); font-size: 0.9rem; }
.pillar.is-new { border-color: var(--accent); }
.pillar-plus { text-align: center; color: var(--accent); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1; }

.announce-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: center; text-align: center; background: linear-gradient(135deg, var(--accent-soft), transparent); border: 1px solid var(--accent); border-radius: 999px; padding: 12px 26px; max-width: 760px; margin: 0 auto 40px; }
.announce-banner .tag-new { margin-bottom: 0; }
.announce-banner p { color: var(--text); font-weight: 500; margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: 130px 0 80px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 28px; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 12px; overflow-wrap: anywhere; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; overflow-wrap: anywhere; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; font-size: 0.97rem; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent); overflow-wrap: anywhere; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-actions .btn-sm { display: none; }
}
@media (max-width: 980px) {
  .nav a { font-size: 0.8rem; }
  .header-inner { gap: 10px; }
}
@media (max-width: 860px) {
  .header-inner { display: flex; justify-content: space-between; gap: 14px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-2, .cards-grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .cta-wrap { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
  .addon-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .enterprise-band { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 560px) {
  .compliance-banner { margin-top: 74px; padding: 10px 16px; }
  .hero { padding-top: 120px; }
  .compliance-banner + .hero { padding-top: 72px; }
  .hero-visual { order: 0; }
  .grid-2, .grid-3, .grid-4, .steps, .pricing, .pricing-grid, .cards-grid-2, .cards-grid-3, .fact-grid { grid-template-columns: 1fr; }
  .product-feature { grid-column: auto; }
  .section { padding: 72px 0; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .hero-trust li { white-space: normal; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-wrap { padding: 26px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .brand-logo { height: 38px; max-width: 176px; }
  .hero-visual { width: 100%; }
  .chat-card { max-width: 100%; border-radius: 18px; }
  .hero-visual .chat-card { padding: 18px !important; }
  .pillars { gap: 10px; }
  .pillar { align-items: flex-start; gap: 12px; padding: 15px; }
  .pillar .p-ico { width: 40px; height: 40px; font-size: 1.2rem; }
  .pillar-arrow { display: none; }
  .tag-new { font-size: 0.62rem; padding: 3px 8px; }
  .feature.is-new { box-shadow: none; }
  .section-alt, .alt-section { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-2) calc(100% - 1px), var(--bg) 100%); }
  .grid-3.features { gap: 16px; }
  .price-card { padding: 28px 22px; }
  /* Badge steht global im Textfluss - hier keine Sonderregel noetig. */
  .package-note { padding: 18px 20px; }
  .value-list li { gap: 12px; }
  .vl-ico { width: 42px; height: 42px; font-size: 1.15rem; }
  .split-text h2, .section-head h2, .hero h1 { overflow-wrap: anywhere; }
  .chat-head { flex-wrap: wrap; }
  .chat-demo-badge { margin-left: 0; }
  .chat-head > div:not(.chat-brand) { min-width: 0; }
}

/* ===== Vergleichstabelle (Recruit + PraxisAssist) ===== */
.vgl-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.vgl {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.45;
}

.vgl th,
.vgl td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.vgl thead th {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  background: var(--accent-soft);
  border-bottom: 2px solid var(--border-strong);
  position: sticky;
  top: 0;
}

/* Zeilenkopf = Kriterium */
.vgl tbody th {
  font-weight: 600;
  color: var(--text);
  width: 22%;
  min-width: 180px;
}

.vgl td {
  color: var(--text-dim);
}

/* Eigene Spalte hervorheben */
.vgl .vgl-uns {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--accent), inset -3px 0 0 var(--accent);
}

.vgl thead .vgl-uns {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.vgl thead .vgl-krit {
  background: transparent;
  border-bottom-color: var(--border);
}

.vgl tbody tr:last-child th,
.vgl tbody tr:last-child td {
  border-bottom: none;
}

/* Häkchen vor den eigenen Werten */
.vgl-ja {
  display: inline-block;
  padding-left: 22px;
  position: relative;
}

.vgl-ja::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.vgl-fuss {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-mute);
  max-width: 760px;
}

@media (max-width: 720px) {
  .vgl th,
  .vgl td { padding: 12px 13px; }
  .vgl { font-size: 0.86rem; }
}

/* ============================================================
   Banner-Hero (07.08.2026)
   Nachbau des Newsite-Banners: tiefes Navy mit Verlauf, Mesh-Wellen,
   Punktraster, gelbe Trennlinie unter der Headline, drei Feature-Spalten
   und rechts ein Bildplatz mit leuchtenden Icon-Badges.
   Im Hellmodus wechselt auch der Hero auf eine helle, bildstarke Variante.
   ============================================================ */

.hero-banner {
  position: relative;
  isolation: isolate;
  padding-top: 96px;
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 620px at 78% 22%, rgba(48, 141, 191, 0.30), transparent 62%),
    linear-gradient(105deg, #060d1a 0%, #0a1526 34%, #0d2140 68%, #123058 100%);
  color: #eef4fc;
}

/* Der Hero folgt dem gewaehlten Farbschema. Das Bild bleibt sichtbar, waehrend
   der helle Verlauf links ausreichend Kontrast fuer Text und Buttons schafft. */
[data-theme="light"] .hero-banner {
  background:
    radial-gradient(1200px 620px at 78% 22%, rgba(48, 141, 191, 0.18), transparent 62%),
    linear-gradient(105deg, #f9fcfe 0%, #eef7fc 38%, #dceef8 72%, #c9e3f2 100%);
  color: #0f1c33;
}

[data-theme="light"] .hero-banner h1 { color: #0f1c33; }
[data-theme="light"] .hero-banner .hero-claim { color: #203854; }
[data-theme="light"] .hero-banner .lead { color: #3f5570; }
[data-theme="light"] .hero-banner .hero-trust { color: #455d79; }
[data-theme="light"] .hero-banner .eyebrow {
  color: #155f86;
  border-color: rgba(21, 95, 134, 0.28);
  background: rgba(255, 255, 255, 0.76);
}
[data-theme="light"] .hero-banner .btn-ghost {
  color: #0f1c33;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 28, 51, 0.34);
}
[data-theme="light"] .hero-banner .btn-ghost:hover {
  background: #ffffff;
  border-color: var(--accent);
}

.hero-banner .hero-glow { display: none; }

/* --- Hintergrundgrafik ------------------------------------------------ */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  right: -6%;
  bottom: -2%;
  width: 122%;
  height: 76%;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to left, #000 46%, rgba(0, 0, 0, 0.25) 76%, transparent 95%);
  mask-image: linear-gradient(to left, #000 46%, rgba(0, 0, 0, 0.25) 76%, transparent 95%);
}

.hero-dots {
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: 340px;
  height: 190px;
  background-image: radial-gradient(rgba(120, 175, 220, 0.42) 1.15px, transparent 1.15px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(to top right, #000 5%, transparent 72%);
  mask-image: linear-gradient(to top right, #000 5%, transparent 72%);
}

/* --- Textspalte ------------------------------------------------------- */
.hero-banner .hero-inner {
  grid-template-columns: minmax(0, 620px);
  gap: 0;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 14px;
}

.hero-banner .eyebrow {
  color: #7fc4e8;
  border-color: rgba(127, 196, 232, 0.34);
  background: rgba(27, 126, 171, 0.16);
}

.hero-banner h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 0;
}

.hero-banner h1 .grad {
  background: linear-gradient(110deg, #4aa8d8, #7fc4e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-rule {
  display: block;
  width: 132px;
  height: 5px;
  border-radius: 3px;
  background: var(--gold);
  margin: 20px 0 18px;
}

.hero-claim {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  color: #d6e6f6;
  margin-bottom: 14px;
}

.hero-banner .lead {
  color: #a9c1da;
  max-width: 40em;
}

.hero-banner .hero-trust {
  color: #8ba7c6;
  margin-top: 22px;
}

.hero-banner .hero-trust li { position: relative; padding-left: 16px; }

.hero-banner .hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- Foto im Hintergrund ---------------------------------------------- */
.hero-shot {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 26%;
  filter: brightness(1.16) contrast(1.04) saturate(1.08);
}

[data-theme="light"] .hero-shot {
  filter: brightness(1.08) contrast(1.05) saturate(1.18);
}

/* Die Motive sind sehr hell. Erst auf Navy ziehen, dann von links verschleiern. */
.hero-tint {
  position: absolute;
  inset: 0;
  background: #17406f;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    #060d1a 0%,
    rgba(6, 13, 26, 0.97) 26%,
    rgba(9, 20, 38, 0.88) 38%,
    rgba(11, 26, 50, 0.52) 55%,
    rgba(14, 38, 72, 0.14) 72%,
    rgba(16, 44, 82, 0.02) 100%
  );
}

[data-theme="light"] .hero-tint {
  background: #d5e9f6;
  mix-blend-mode: soft-light;
  opacity: 0.16;
}

[data-theme="light"] .hero-veil {
  background: linear-gradient(
    100deg,
    rgba(250, 253, 255, 0.99) 0%,
    rgba(246, 251, 254, 0.97) 28%,
    rgba(232, 245, 252, 0.86) 44%,
    rgba(218, 238, 248, 0.42) 63%,
    rgba(207, 232, 245, 0.08) 100%
  );
}

/* --- Produktseiten: Text links, Chatkarte rechts ---------------------- */
.hero-banner.hero-zwei .hero-inner {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
}

.hero-banner.hero-zwei h1 {
  font-size: clamp(1.95rem, 3.1vw, 2.6rem);
  line-height: 1.14;
}

.hero-banner.hero-zwei .hero-rule { width: 108px; height: 4px; margin: 16px 0 14px; }

.hero-banner.hero-zwei .hero-shot { object-position: 78% 32%; }

.hero-banner.hero-zwei .hero-veil {
  background: linear-gradient(
    100deg,
    #060d1a 0%,
    rgba(6, 13, 26, 0.96) 30%,
    rgba(9, 20, 38, 0.88) 46%,
    rgba(11, 26, 50, 0.72) 62%,
    rgba(14, 38, 72, 0.52) 82%,
    rgba(16, 44, 82, 0.38) 100%
  );
}

[data-theme="light"] .hero-banner.hero-zwei .hero-veil {
  background: linear-gradient(
    100deg,
    rgba(250, 253, 255, 0.99) 0%,
    rgba(246, 251, 254, 0.97) 30%,
    rgba(232, 245, 252, 0.88) 48%,
    rgba(218, 238, 248, 0.58) 68%,
    rgba(207, 232, 245, 0.22) 100%
  );
}

.hero-banner.hero-zwei .hero-visual { position: relative; z-index: 1; }

@media (max-width: 980px) {
  .hero-banner.hero-zwei .hero-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* --- Die drei Spalten unter dem Hero ---------------------------------- */
.hero-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(127, 196, 232, 0.20);
  margin-top: 6px;
}

.hero-pill {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 26px 30px 30px;
  color: inherit;
  text-decoration: none;
  border-left: 1px solid rgba(127, 196, 232, 0.20);
  transition: background var(--transition);
}

.hero-pill:first-child { border-left: 0; padding-left: 0; }
.hero-pill:hover { background: rgba(48, 141, 191, 0.10); }

.hero-pill-ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.hero-pill-ico svg { width: 34px; height: 34px; fill: none; stroke: #4aa8d8; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-pill strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-pill span {
  display: block;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #a9c1da;
}

.hero-pill-arrow {
  margin-left: auto;
  align-self: center;
  color: #4aa8d8;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}

.hero-pill:hover .hero-pill-arrow { opacity: 1; transform: translateX(0); }

[data-theme="light"] .hero-pill {
  border-color: rgba(21, 95, 134, 0.18);
}
[data-theme="light"] .hero-pill:hover { background: rgba(255, 255, 255, 0.46); }
[data-theme="light"] .hero-pill strong { color: #0f1c33; }
[data-theme="light"] .hero-pill span { color: #3f5570; }

.hero-banner .logo-row { margin-top: 34px; padding-bottom: 46px; }
.hero-banner .logo-row span { color: #8ba7c6; }

/* --- Schmalere Fenster ------------------------------------------------ */
@media (max-width: 980px) {
  .hero-banner { padding-top: 92px; }
  .hero-banner .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-banner .hero-copy,
  .hero-banner .hero-visual { min-width: 0; max-width: 100%; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-pill { border-left: 0; border-top: 1px solid rgba(127, 196, 232, 0.18); padding: 20px 0; }
  .hero-pill:first-child { border-top: 0; }
  .hero-mesh { width: 190%; right: -45%; opacity: 0.55; }
  .hero-dots { width: 210px; height: 130px; }
}

@media (max-width: 620px) {
  /* Zwei kurze Saetze sollen auf Mobil zwei bis drei Zeilen bleiben, nicht
     vier. Bei 8vw brach schon "Weniger Administration." auf 375px um.
     Die Zweispalten-Variante braucht dieselbe Absenkung, sonst greift ihre
     eigene, spezifischere Regel weiter. */
  .hero-banner h1,
  .hero-banner.hero-zwei h1 { font-size: clamp(1.7rem, 7vw, 2.5rem); }
  .hero-rule { width: 96px; height: 4px; margin: 16px 0 14px; }
  .hero-photo { max-width: 260px; }
  .hero-badge.b2 { left: -6%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pill, .hero-pill-arrow { transition: none; }
}

/* ============================================================
   Abschnittsbaender (07.08.2026)
   Motiv als Textur hinter Text und Formular. Der Schleier folgt dem
   Farbschema - sonst braeche der Hellmodus.
   ============================================================ */

.section-bild { position: relative; isolation: isolate; overflow: hidden; }

.sb-shot {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 34%;
  filter: saturate(1.22) contrast(1.06) brightness(1.03);
}

.sb-tint {
  position: absolute; inset: 0; z-index: -2;
  background: #17406f; mix-blend-mode: multiply; opacity: 0.28;
}

.sb-veil { position: absolute; inset: 0; z-index: -1; }

/* Die Sektionsbilder waren mit 0.80 bis 0.97 so stark verschleiert, dass sie
   auf Desktop gar nicht mehr wahrnehmbar waren - die Abschnitte lasen sich als
   flache dunkle Flaechen. Die rechte Seite darf sich oeffnen: dort sitzt kein
   freier Text, sondern nur Karten mit eigener Flaeche. */
[data-theme="dark"] .sb-veil {
  background: linear-gradient(100deg,
    rgba(11, 18, 32, 0.91) 0%,
    rgba(11, 18, 32, 0.82) 38%,
    rgba(13, 33, 64, 0.64) 70%,
    rgba(16, 44, 82, 0.48) 100%);
}

[data-theme="light"] .sb-tint { background: #d5e9f6; mix-blend-mode: soft-light; opacity: 0.12; }

[data-theme="light"] .sb-veil {
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.91) 0%,
    rgba(255, 255, 255, 0.82) 38%,
    rgba(240, 246, 252, 0.66) 70%,
    rgba(233, 242, 250, 0.48) 100%);
}

/* Eine schmale goldene Kante oben setzt das Band ab, ohne zu laermen. */
.section-bild::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 192, 0, 0.55) 22%,
                              rgba(255, 192, 0, 0.55) 78%, transparent);
  z-index: 0;
}

@media (max-width: 760px) {
  .sb-shot { object-position: 68% 30%; }
}

/* Recruit Execution & Intelligence (11.08.2026) */
.execution-preview strong { color: var(--text); }
.action-compare { display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);align-items:stretch;gap:22px;max-width:980px;margin:0 auto; }
.action-compare article { border:1px solid var(--border);border-radius:8px;padding:28px;background:var(--surface); }
.action-compare article.is-action { border-color:rgba(27,126,171,.65);box-shadow:inset 4px 0 0 var(--accent); }
.action-compare h3 { margin:8px 0 18px; }.action-compare ul { margin:0;padding-left:20px;color:var(--text-dim); }.action-compare li+li { margin-top:9px; }
.compare-label { color:var(--accent);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em; }.action-plus { display:grid;place-items:center;font:700 2rem/1 var(--font-head);color:var(--gold); }
.execution-loop { list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0;padding:0; }
.execution-loop li { position:relative;min-height:154px;padding:20px 16px;border-top:3px solid var(--accent);background:var(--surface);border-radius:0 0 8px 8px; }
.execution-loop li::after { content:"";position:absolute;right:-12px;top:48%;width:12px;height:1px;background:var(--accent); }.execution-loop li:last-child::after { display:none; }
.execution-loop li>span { display:block;color:var(--accent);font:700 .8rem/1 var(--font-head);margin-bottom:18px; }.execution-loop strong,.execution-loop small { display:block; }.execution-loop strong { font-family:var(--font-head);margin-bottom:9px; }.execution-loop small { color:var(--text-dim);line-height:1.45; }
.ops-flow { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px; }.ops-flow>div { padding:22px 18px;border-left:3px solid var(--gold);background:var(--surface);min-height:138px; }.ops-flow strong,.ops-flow span { display:block; }.ops-flow strong { font-family:var(--font-head);margin-bottom:12px; }.ops-flow span { color:var(--text-dim);font-size:.92rem;line-height:1.5; }
.section-note,.roadmap-note { max-width:980px;margin:22px auto 0;color:var(--text-dim);font-size:.9rem;line-height:1.6; }.roadmap-note { padding:16px 18px;border-left:3px solid var(--gold);background:rgba(255,192,0,.07); }.mini-benefits { display:grid;gap:10px;margin-top:18px; }.mini-benefits span { padding:10px 0;border-top:1px solid var(--border);color:var(--text-dim); }
.risk-panel { border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--surface); }.risk-head { padding:24px;background:rgba(27,126,171,.12);border-bottom:1px solid var(--border); }.risk-head span,.risk-head strong,.risk-action small,.risk-action strong { display:block; }.risk-head span { color:var(--text-mute);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em; }.risk-head strong { margin-top:8px;font:700 1.25rem/1.3 var(--font-head); }.risk-head b { color:#dc6b57; }.risk-panel ul { margin:0;padding:22px 42px;color:var(--text-dim); }.risk-panel li+li { margin-top:8px; }.risk-action { padding:18px 24px;border-top:1px solid var(--border); }.risk-action small { color:var(--text-mute);margin-bottom:4px; }.risk-action strong { color:var(--accent); }
.escalation-ladder { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px; }.escalation-ladder article { position:relative;padding:28px;border:1px solid var(--border);border-top-width:4px;border-radius:0 0 8px 8px;background:var(--surface); }.escalation-ladder article.green { border-top-color:#43a06b; }.escalation-ladder article.yellow { border-top-color:var(--gold); }.escalation-ladder article.red { border-top-color:#dc6b57; }.escalation-ladder article>span { font-size:.78rem;font-weight:700;text-transform:uppercase;color:var(--text-mute); }.escalation-ladder h3 { margin:10px 0; }
.cost-blocks { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }.cost-blocks div { padding:24px 20px;border-top:3px solid var(--accent);background:var(--surface); }.cost-blocks strong,.cost-blocks span { display:block; }.cost-blocks strong { font-family:var(--font-head);margin-bottom:8px; }.cost-blocks span { color:var(--text-dim);font-size:.9rem; }
@media (max-width:1100px){.execution-loop{grid-template-columns:repeat(3,minmax(0,1fr));}.execution-loop li::after{display:none;}.ops-flow{grid-template-columns:repeat(2,minmax(0,1fr));}.cost-blocks{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:720px){.action-compare{grid-template-columns:1fr;}.action-plus{min-height:24px;}.execution-loop,.ops-flow,.escalation-ladder,.cost-blocks{grid-template-columns:1fr;}.execution-loop li,.ops-flow>div{min-height:0;}.action-compare article,.escalation-ladder article{padding:22px 18px;}}

.scenario-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.scenario-paths article{min-width:0;padding:1.65rem 1.5rem 1.7rem 0;}
.scenario-paths article+article{border-left:1px solid var(--border);padding-left:1.5rem;}
.scenario-number{display:block;color:var(--accent);font:700 .76rem/1 var(--font-head);}
.scenario-paths h3{margin:.75rem 0 .6rem;font-size:1.12rem;}
.scenario-paths p{margin:0 0 1rem;color:var(--text-dim);font-size:.92rem;line-height:1.65;}
.scenario-paths a{color:var(--accent);font-size:.86rem;font-weight:700;text-decoration:none;}
.scenario-paths a:hover{text-decoration:underline;}
.scenario-cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;}
@media (max-width:820px){.scenario-paths{grid-template-columns:1fr;}.scenario-paths article{padding:1.25rem 0;}.scenario-paths article+article{border-left:0;border-top:1px solid var(--border);padding-left:0;}}

/* Die beiden mittleren Baender liegen zwischen zwei Bildabschnitten -
   dichter verschleiert, damit die Seitenmitte ruhig bleibt. */
#leistungen .sb-veil, #ki .sb-veil { opacity: 1; }
[data-theme="dark"] #leistungen .sb-veil,
[data-theme="dark"] #ki .sb-veil {
  background: linear-gradient(100deg,
    rgba(11, 18, 32, 0.94) 0%,
    rgba(11, 18, 32, 0.89) 42%,
    rgba(13, 33, 64, 0.76) 74%,
    rgba(16, 44, 82, 0.62) 100%);
}

/* PraxisAssist nutzt bewusst Motive aus kleinen ambulanten Praxen. Die
   handelnden Personen bleiben rechts, damit Text und Karten links ruhig stehen. */
.pa-section-bild .sb-shot { object-position: 68% 44%; }
.pa-section-bild.pa-telefon .sb-shot { object-position: 72% top; }
.pa-section-bild.pa-functions .sb-shot,
.pa-section-bild.pa-practice-team .sb-shot,
.pa-section-bild.pa-widget .sb-shot { object-position: right top; }
.pa-section-bild.pa-room .sb-shot,
.pa-section-bild.pa-reception .sb-shot { object-position: 74% center; }
.home-section-bild .sb-shot,
.recruit-section-bild .sb-shot { object-position: 74% center; }

@media (min-width: 761px) {
  .pa-section-bild.pa-functions .section-head,
  .pa-section-bild.pa-practice-team .section-head,
  .pa-section-bild.pa-widget .section-head {
    max-width: 670px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .pa-section-bild.pa-functions .section-head,
  .pa-section-bild.pa-practice-team .section-head {
    max-width: 430px;
  }
  .pa-section-bild.pa-widget .section-head {
    max-width: 390px;
  }
}

/* Die Praxis-Motive sind heller als die Klinikbaender. Ein etwas dichterer
   Schleier sorgt auf beiden Farbschemata fuer belastbare Lesbarkeit. */
[data-theme="dark"] .pa-section-bild .sb-veil {
  background: linear-gradient(100deg,
    rgba(11, 18, 32, 0.94) 0%,
    rgba(11, 18, 32, 0.84) 42%,
    rgba(13, 33, 64, 0.66) 72%,
    rgba(16, 44, 82, 0.50) 100%);
}
[data-theme="light"] .pa-section-bild .sb-veil {
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.85) 42%,
    rgba(240, 246, 252, 0.68) 72%,
    rgba(233, 242, 250, 0.50) 100%);
}
[data-theme="light"] #leistungen .sb-veil,
[data-theme="light"] #ki .sb-veil {
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.88) 42%,
    rgba(240, 246, 252, 0.76) 74%,
    rgba(233, 242, 250, 0.62) 100%);
}
#ki .sb-shot { object-position: 66% 30%; }

/* Halbes Desktop: die drei Spalten bleiben nebeneinander, werden aber
   schmaler gesetzt. Gestapelt waere der Hero hier unnoetig lang. */
@media (min-width: 981px) and (max-width: 1160px) {
  .hero-pill { padding: 22px 15px 24px; gap: 11px; }
  .hero-pill-ico { width: 32px; height: 32px; }
  .hero-pill-ico svg { width: 27px; height: 27px; }
  .hero-pill strong { font-size: 0.97rem; }
  .hero-pill span { font-size: 0.86rem; line-height: 1.45; }
  .hero-pill-arrow { display: none; }
}

/* Altregel aus dem frueheren Hero: sie zog die Chatkarte unter 900 Pixeln ueber die Ueberschrift.
   Im Bannerdesign fuehrt die Ueberschrift. */
.hero-banner.hero-zwei .hero-visual { order: 0; }

/* --- Schmale Schirme: Bildband statt Vollflaeche ---------------------- */
/* Bei 390 Pixeln Breite und 2000 Pixeln Hoehe zeigt "cover" nur einen
   schmalen, stark vergroesserten Ausschnitt - unter dem dichten Schleier
   blieb davon nichts uebrig. Deshalb hier ein Band am Kopf des Abschnitts. */
@media (max-width: 760px) {
  .section-bild { padding-top: 236px; }

  .sb-shot, .sb-tint, .sb-veil {
    height: 208px;
    bottom: auto;
  }

  .sb-shot { object-position: 62% 26%; }

  .pa-section-bild .sb-shot { object-position: 68% 42%; }
  .pa-section-bild.pa-telefon .sb-shot { object-position: 72% top; }
  .pa-section-bild.pa-functions .sb-shot,
  .pa-section-bild.pa-practice-team .sb-shot,
  .pa-section-bild.pa-widget .sb-shot { object-position: right top; }

  .recruit-section-bild { padding-top: 180px; }
  .recruit-section-bild .sb-shot,
  .recruit-section-bild .sb-tint,
  .recruit-section-bild .sb-veil { height: 154px; }

  .sb-tint { opacity: 0.32; }

  [data-theme="dark"] .sb-veil,
  [data-theme="dark"] #leistungen .sb-veil,
  [data-theme="dark"] #ki .sb-veil {
    background: linear-gradient(180deg,
      rgba(11, 18, 32, 0.30) 0%,
      rgba(11, 18, 32, 0.62) 58%,
      var(--bg) 100%);
  }

  [data-theme="light"] .sb-veil,
  [data-theme="light"] #leistungen .sb-veil,
  [data-theme="light"] #ki .sb-veil {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.66) 58%,
      var(--bg) 100%);
  }

  /* Im mobilen PraxisAssist-Band liegt kein Text auf dem Foto. Die Motive
     duerfen deshalb klarer sichtbar sein und die Fachrichtungsvielfalt zeigen. */
  [data-theme="light"] .pa-section-bild .sb-tint { opacity: 0.08; }
  [data-theme="light"] .pa-section-bild .sb-veil {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.28) 62%,
      var(--bg) 100%);
  }
  [data-theme="dark"] .pa-section-bild .sb-tint { opacity: 0.18; }
  [data-theme="dark"] .pa-section-bild .sb-veil {
    background: linear-gradient(180deg,
      rgba(11, 18, 32, 0.12) 0%,
      rgba(11, 18, 32, 0.40) 62%,
      var(--bg) 100%);
  }

  /* Der Kontaktbereich traegt eine eigene Flaechenfarbe - sonst schnitte
     sie das Band oben ab. */
  .cta-section.section-bild { background: transparent; }
  .section-alt.section-bild { background: transparent; }
}

/* Ohne JavaScript gibt es keine Einblendung - dann darf der Inhalt auch
   nicht auf sie warten. */
.no-js .reveal { opacity: 1; transform: none; }

/* Ueberschriften auf den Bildbaendern brauchen eigenen Halt: sie sind
   zentriert und stehen damit genau dort, wo das Motiv am hellsten ist. */
.section-bild .section-head h2,
.section-bild .split-text h2 {
  text-shadow: 0 2px 22px rgba(6, 13, 26, 0.9), 0 1px 4px rgba(6, 13, 26, 0.7);
}
.pa-section-bild .problem-copy > h2,
.pa-section-bild .two-col > div:first-child > h2,
.pa-section-bild > .container > h2 {
  text-shadow: 0 2px 22px rgba(6, 13, 26, 0.9), 0 1px 4px rgba(6, 13, 26, 0.7);
}
.section-bild .section-head .section-sub,
.section-bild .section-head .kicker {
  text-shadow: 0 1px 12px rgba(6, 13, 26, 0.85);
}
[data-theme="light"] .section-bild .section-head h2,
[data-theme="light"] .section-bild .split-text h2,
[data-theme="light"] .section-bild .section-head .section-sub,
[data-theme="light"] .section-bild .section-head .kicker {
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.95);
}
[data-theme="light"] .pa-section-bild .problem-copy > h2,
[data-theme="light"] .pa-section-bild .two-col > div:first-child > h2,
[data-theme="light"] .pa-section-bild > .container > h2 {
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.95);
}


/* ── Betriebsarten: Reifegrad, Kartenlisten, Vergleich ────────────────────
   Erzeugt aus funktionsstatus.py. Die Marke ist eine Sachangabe, keine
   Wertung - deshalb weder Ampelrot noch Ampelgruen. */

.reife {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
  color: var(--text-dim);
  background: var(--surface-2);
}
.reife-beta { border-color: var(--accent); color: var(--accent); }
.reife-arbeit,
.reife-geplant { opacity: 0.85; }

.feat-liste {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.feat-liste li {
  position: relative;
  padding-left: 18px;
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}
.feat-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Breite Tabellen scrollen in ihrem eigenen Kasten - die Seite selbst
   darf nie seitwaerts laufen. */
.vergleich { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.vergleichstabelle {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.vergleichstabelle th,
.vergleichstabelle td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.vergleichstabelle thead th {
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.vergleichstabelle tbody th {
  width: 34%;
  font-weight: 600;
  color: var(--text);
}
.vergleichstabelle tbody td { color: var(--text-dim); }
.vergleichstabelle tbody tr:last-child th,
.vergleichstabelle tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 640px) {
  .vergleichstabelle { font-size: 0.9rem; }
  .vergleichstabelle th,
  .vergleichstabelle td { padding: 10px 11px; }
  .reife { display: inline-block; margin: 4px 0 0 6px; }
}


/* Neutrales Kennzeichen neben der werbenden Marke. Bewusst ohne Akzentfarbe:
   es beantwortet eine Rueckfrage, es wirbt nicht. */
.tag-new.tag-neutral {
  margin-left: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
}

/* Der Name der Betriebsart ueber der Aufzaehlung. */
.betriebsart-name {
  margin-top: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
}
.betriebsart-name .reife { vertical-align: middle; }
