/* Startseite (aus index.html ausgelagert, auch von den Fachrichtungs-Seiten genutzt) */
/* ============================================================
   Landing-spezifische Bausteine (Tab-Shell, 3-Säulen-Raster,
   Gewinnungs-Grafiken, Task-Board). Designsystem: site.css.
   ============================================================ */

/* ---------- Säulen-Akzente ---------- */
.acc-win { --acc: var(--accent); --acc-deep: var(--accent-deep); --acc-soft: var(--accent-soft); }
.acc-bind { --acc: var(--green); --acc-deep: #186b41; --acc-soft: var(--green-soft); }
.acc-mgmt { --acc: var(--amber); --acc-deep: #8a3f07; --acc-soft: #FBF1E3; }
.acc-analytics { --acc: var(--analytics); --acc-deep: var(--analytics-deep); --acc-soft: var(--analytics-soft); }

/* ---------- Targeting-Pills (Flow-Szene) ---------- */
.tg-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.tg-pill { font-size: 11px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); border: 1px solid #D4DCFA; border-radius: 99px; padding: 4px 10px; }

/* ---------- Module (asymmetrische Komposition) ---------- */
.mods { margin-top: 56px; display: flex; flex-direction: column; gap: 26px; }
.mod { display: grid; grid-template-columns: .94fr 1.06fr; border: 1px solid var(--hair); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 34px 80px -52px rgba(20,22,27,.4); }
.mod:nth-child(even) .mod-media { order: 2; border-right: none; border-left: 1px solid var(--hair); }
.mod:nth-child(even) .mod-copy { order: 1; }
.mod-media { position: relative; padding: 48px 44px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--hair); overflow: hidden; background:
  radial-gradient(120% 120% at 15% 0%, color-mix(in srgb, var(--acc) 9%, #fff) 0%, transparent 60%),
  radial-gradient(110% 110% at 100% 100%, color-mix(in srgb, var(--acc) 7%, #fff) 0%, transparent 55%),
  var(--acc-soft); }
.mod-media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 30px 30px; opacity: .35; -webkit-mask-image: radial-gradient(75% 75% at 50% 45%, #000 0%, transparent 78%); mask-image: radial-gradient(75% 75% at 50% 45%, #000 0%, transparent 78%); pointer-events: none; }
.mod-art { position: relative; z-index: 1; width: 100%; max-width: 412px; }
.mod-float { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--hair); border-radius: 13px; box-shadow: 0 20px 42px -22px rgba(20,22,27,.32); padding: 11px 14px; display: flex; align-items: center; gap: 11px; }
.mod-float .mf-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--acc); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mod-float .mf-ic svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mod-float b { font-family: var(--serif); font-weight: 550; font-size: 21px; letter-spacing: -.02em; line-height: 1; display: block; }
.mod-float span { font-size: 11px; color: var(--ink-3); display: block; margin-top: 3px; }
.mod-copy { padding: 50px 54px; display: flex; flex-direction: column; justify-content: center; }
.mod-copy .pl-k { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-deep); }
.mod-copy .pl-k::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--acc); }
.mod-copy h3 { font-family: var(--serif); font-weight: 550; font-size: clamp(24px, 2.5vw, 31px); letter-spacing: -.018em; line-height: 1.13; margin: 16px 0 13px; }
.mod-copy > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.mod-copy ul { margin: 24px 0 26px; display: grid; gap: 1px; border-top: 1px solid var(--hair); }
.mod-copy ul li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--hair); font-size: 14px; position: relative; color: var(--ink-2); }
.mod-copy ul li svg { position: absolute; left: 0; top: 14px; width: 15px; height: 15px; stroke: var(--acc); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mod-copy ul li b { font-weight: 600; color: var(--ink); }
.mod-copy .pl-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .005em;
  padding: 11px 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--acc);
  border: 1px solid var(--acc);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.mod-copy .pl-link:hover { background: #fff; color: var(--acc); }
.mod-copy .pl-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.incl { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; border: 1px solid var(--hair); border-left: 3px solid var(--analytics); border-radius: 12px; background: #fff; padding: 16px 22px; }
.incl .incl-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0c5e57; }
.incl b { font-family: var(--serif); font-weight: 550; font-size: 19px; }
.incl .incl-d { color: var(--ink-2); font-size: 14.5px; }
.incl .incl-items { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.incl .incl-items span { font-size: 12.5px; font-weight: 600; color: #0c5e57; background: #E2F0EE; border-radius: 99px; padding: 5px 12px; }
#plattform { padding-bottom: 96px; }
@media (max-width: 760px) { .incl .incl-items { margin-left: 0; } }
@media (max-width: 720px) { #plattform { padding-bottom: 64px; } }
/* Module-Grafiken */
.mart-card { background: #fff; border: 1px solid var(--hair); border-radius: 14px; box-shadow: 0 22px 54px -28px rgba(20,22,27,.3); overflow: hidden; }
.mart-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid #F0EEE6; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.mart-bar .md { width: 8px; height: 8px; border-radius: 50%; background: #E3E0D6; }
.mart-bar .src { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--acc-deep); }
.mart-body { padding: 16px 18px; }
.mart-wa { display: flex; flex-direction: column; gap: 9px; }
.mwa { border-radius: 13px 13px 13px 4px; padding: 11px 14px; font-size: 13px; line-height: 1.5; max-width: 92%; }
.mwa.in { background: var(--green-soft); }
.mwa.out { background: #fff; border: 1px solid #ECEAE2; border-radius: 13px 13px 4px 13px; align-self: flex-end; max-width: 86%; }
.mwa .mwa-m { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .04em; margin-bottom: 4px; color: var(--acc-deep); }
.mwa.out .mwa-m { color: var(--ink-3); }
.mart-conf { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding: 10px 13px; background: var(--green-soft); border: 1px solid #CFE8D8; border-radius: 10px; font-size: 12px; font-weight: 600; color: #14512f; }
.mart-conf svg { width: 15px; height: 15px; stroke: var(--green); fill: none; stroke-width: 2.4; flex-shrink: 0; }

/* ---------- Ergebnis-Karten (schlicht, nur Farbakzent) ---------- */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 54px 0 58px; }
.rcard { --c: var(--accent); border: 1px solid var(--hair); border-radius: 14px; background: #fff; padding: 26px 24px; display: flex; flex-direction: column; }
.rcard b { font-family: var(--serif); font-weight: 550; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.02em; line-height: 1; color: var(--c); }
.rcard span { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-top: 12px; }

@media (max-width: 880px) {
  .results { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .results { gap: 12px; }
  .rcard { padding: 22px 18px; }
  .rcard span { overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
  .results { grid-template-columns: 1fr; }
}

/* ---------- SEO-Snippet (Flow-Szene) ---------- */
.serp { background: #fff; border: 1px solid var(--hair); border-radius: 12px; padding: 16px 18px; box-shadow: 0 8px 24px -16px rgba(20,22,27,.12); }
.serp-q { display: flex; align-items: center; gap: 9px; border: 1px solid #E7E4DB; border-radius: 99px; padding: 8px 14px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 14px; }
.serp-q svg { width: 14px; height: 14px; stroke: var(--ink-3); fill: none; stroke-width: 2; }
.serp-res { padding: 9px 0; border-bottom: 1px dashed #ECEAE2; }
.serp-res:last-child { border-bottom: none; }
.serp-res.top { background: var(--accent-soft); margin: 0 -10px; padding: 10px; border-radius: 8px; border-bottom: none; }
.serp-res .sr-rank { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-deep); }
.serp-res .sr-name { font-weight: 600; font-size: 13px; color: var(--ink); margin-top: 2px; }
.serp-res .sr-url { font-size: 11px; color: var(--ink-3); }
.serp-res.ghost .sr-name { color: var(--ink-3); font-weight: 500; }

/* ---------- Analytics-Kacheln (Flow-Szene) ---------- */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--hair); border-radius: 11px; padding: 14px 16px; box-shadow: 0 8px 24px -16px rgba(20,22,27,.1); }
.kpi b { font-family: var(--serif); font-weight: 550; font-size: 26px; letter-spacing: -.02em; display: block; line-height: 1; }
.kpi span { font-size: 11px; color: var(--ink-3); display: block; margin-top: 6px; line-height: 1.35; }
.kpi .kpi-d { font-size: 11px; font-weight: 700; color: var(--green); margin-top: 5px; }
.kpi .kpi-d.down { color: var(--green); }
.hub-phase-grow .kpi .kpi-d,
.hub-phase-grow .kpi .kpi-d.down { color: var(--pcd); }

/* ---------- Cross-Feature-Kapitel: Detail-Link ---------- */
.ch-more { margin-top: 26px; }
.ch-more a { font-weight: 600; font-size: 14.5px; color: var(--acc-deep, var(--accent-deep)); display: inline-flex; align-items: center; gap: 8px; }
.ch-more a:hover { gap: 12px; }
.ch-more a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }

@media (max-width: 1020px) {
  .mod { grid-template-columns: 1fr; }
  .mod-media, .mod:nth-child(even) .mod-media { order: 0; border-right: none; border-left: none; border-bottom: 1px solid var(--hair); padding: 44px 32px; }
  .mod-copy, .mod:nth-child(even) .mod-copy { order: 1; padding: 38px 32px; }
}
@media (max-width: 560px) {
  .mod-copy { padding: 30px 24px; }
  .mod-media { padding: 36px 22px; }
  .mod-float { display: none; }
}
@media (max-width: 720px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero: Marken-Akzent in der Headline ---------- */
.hero h1 .ai { color: var(--accent); }
.hero p.lede .lede-ai { font-family: 'Fraunces', var(--serif); font-weight: 600; font-size: 1.02em; letter-spacing: -.005em; color: var(--ink); }
.hero p.lede .lede-ai span { color: var(--accent); }
/* Wiederverwendbares Marken-Lettering: Praxishub.AI in Fraunces, .AI in Primärfarbe */
.brand-ai { font-family: 'Fraunces', var(--serif); font-weight: 700; color: var(--ink); }
.brand-ai > span { color: var(--accent); font-weight: 600; }
.hero p.lede .brand-ai { font-size: 1.02em; letter-spacing: -.005em; }

/* Hero: Hub-Pops sichtbar lassen; nur horizontalen Seitenüberlauf begrenzen */
html { overflow-x: clip; }
#top.hero, #top.hero .wrap, #top.hero .hero-grid { overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: center; overflow: visible; }
.hero-grid .hero-inner { max-width: 600px; }
.hero-grid .hero-inner h1 { font-size: clamp(38px, 4.5vw, 60px); }
.hero-grid .hero-inner p.lede {
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.52;
  max-width: 580px;
}
.hero-grid .hero-cta { margin-top: 22px; }
.hero-grid .hero-note { margin-top: 0; }
.hero-stats { display: inline-grid; grid-template-columns: repeat(3, auto); margin-top: 22px; border: 1px solid var(--hair); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 14px 40px -32px rgba(20,22,27,.3); }
.hero-stats .hs { padding: 13px 22px; border-left: 1px solid var(--hair); }
.hero-stats .hs:first-child { border-left: none; }
.hero-stats .hs b { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: -.02em; line-height: 1; display: block; }
.hero-stats .hs span { font-size: 11.5px; color: var(--ink-3); display: block; margin-top: 6px; }
.hero-stats .hs.star b { color: #E8A33D; }
@media (max-width: 420px) { .hero-stats { display: grid; } .hero-stats .hs { padding: 12px 14px; } }
.hero-hub { position: relative; overflow: visible; padding: 4px 24px 48px; z-index: 2; min-width: 0; }
.hero-hub .hub-stage { width: min(500px, 100%); margin: 0 auto; overflow: visible; }
.hero-hub .hub-core { width: 172px; padding: 16px 14px 14px; }
.hero-hub .hub-core .hub-word { height: 22px; }
.hero-hub .hub-core .hub-core-sub { font-size: 11px; max-width: 136px; }
.hero-hub .hub-orbit,
.hero-hub .hub-sweep { width: 89%; }
.hero-hub .hub-node {
  width: 158px; gap: 8px; padding: 9px 11px 9px 9px; border-radius: 12px;
  align-items: flex-start; cursor: pointer;
}
.hero-hub .hub-node .hn-ic { width: 30px; height: 30px; border-radius: 8px; margin-top: 1px; }
.hero-hub .hub-node .hn-ic svg { width: 15px; height: 15px; display: block; }
.hero-hub .hub-node b { font-size: 11.5px; }
.hero-hub .hub-node .hn-sub { font-size: 10px; }
.hero-hub .hub-pop { width: min(178px, 38vw); }
.hero-hub .hub-node.n1 { top: 5.5%; }
.hero-hub .hub-node.n2 { left: 81.3%; top: 18.7%; }
.hero-hub .hub-node.n3 { left: 94.3%; }
.hero-hub .hub-node.n4 { left: 81.3%; top: 81.3%; }
.hero-hub .hub-node.n5 { top: 94.3%; }
.hero-hub .hub-node.n6 { left: 18.7%; top: 81.3%; }
.hero-hub .hub-node.n7 { left: 5.7%; }
.hero-hub .hub-node.n8 { left: 18.7%; top: 18.7%; }

/* Frage & Erinnerung: Pop-up unter dem Step, wenn rechts kein Platz */
.hero-hub .hub-node.n2.pop-below .hub-pop,
.hero-hub .hub-node.n4.pop-below .hub-pop {
  left: 50%;
  right: auto;
  top: calc(100% + 4px);
  bottom: auto;
  transform: translateX(-50%) scale(.86);
  transform-origin: center top;
}
.hero-hub .hub-stage.is-pop-open .hub-node.n2.pop-below.is-active .hub-pop,
.hero-hub .hub-stage.is-pop-open .hub-node.n4.pop-below.is-active .hub-pop {
  transform: translateX(-50%) translateY(2px) scale(1);
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-grid .hero-inner { max-width: 760px; }
  .hero-grid .hero-inner h1 { font-size: clamp(42px, 6.2vw, 72px); }
  .hero h1 .h1-prm { white-space: nowrap; }
  .hero-hub { display: none; }
}

/* ---------- Produkt-Demo + Ergebnisse ---------- */
.proofsec { background: var(--paper); border-bottom: 1px solid var(--hair); padding: 60px 0 0; }
.proofsec .stage { margin-top: 0; }

/* ---------- Patientenjourney: modulare Phasen-Blöcke (Text + Grafik) ---------- */
.jflow { margin-top: 52px; display: flex; flex-direction: column; gap: 22px; }
.jmod { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; border: 1px solid var(--hair); border-radius: 22px; overflow: hidden; box-shadow: 0 28px 66px -46px rgba(20,22,27,.42); }
.jmod::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pc); z-index: 3; }
.jmod:nth-child(even) .jmod-media { order: 0; border-right: 1px solid var(--hair); border-left: none; }
.jmod:nth-child(even) .jmod-copy { order: 1; }
.jmod:nth-child(even)::before { left: auto; right: 0; }
.jmod-copy { padding: 42px 46px; display: flex; flex-direction: column; justify-content: center; }
.jmod-k { display: inline-flex; align-items: center; gap: 13px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--pcd); }
.jmod-k .jnum { width: 30px; height: 30px; border-radius: 50%; background: var(--pc); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.jmod-copy h3 { font-family: var(--serif); font-weight: 550; font-size: clamp(22px, 2.3vw, 29px); letter-spacing: -.018em; line-height: 1.12; margin: 18px 0 12px; }
.jmod-copy > p { color: var(--ink-2); font-size: 15px; line-height: 1.62; }
.jbul { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.jbul div { font-size: 13.5px; color: var(--ink-2); padding-left: 26px; position: relative; line-height: 1.4; }
.jbul div b { color: var(--ink); font-weight: 600; }
.jbul div svg { position: absolute; left: 0; top: 1px; width: 16px; height: 16px; stroke: var(--pc); fill: none; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.jmod-media { position: relative; padding: 40px 40px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--hair); overflow: hidden;
  background: radial-gradient(120% 120% at 20% 0%, color-mix(in srgb, var(--pc) 9%, #fff) 0%, transparent 60%), var(--pcs); }
.jmod-media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 28px 28px; opacity: .3; -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 0%, transparent 78%); mask-image: radial-gradient(70% 70% at 50% 45%, #000 0%, transparent 78%); pointer-events: none; }
.jmod-media .scard { position: relative; z-index: 1; width: 100%; max-width: 392px; box-shadow: 0 24px 54px -30px rgba(20,22,27,.34); }
@media (max-width: 900px) {
  .jmod, .jmod:nth-child(even) { grid-template-columns: 1fr; }
  .jmod .jmod-media, .jmod:nth-child(even) .jmod-media { order: 0; border-left: none; border-right: none; border-bottom: 1px solid var(--hair); padding: 32px 24px; }
  .jmod .jmod-copy, .jmod:nth-child(even) .jmod-copy { order: 1; padding: 32px 26px; }
}

/* ============================================================
   Kommunikationshub – Praxishub.AI im Zentrum (Hub & Spokes)
   ============================================================ */
.hubsec { background:
  radial-gradient(70% 55% at 50% 0%, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 72%),
  var(--paper); }
.hub-phase-win   { --pc: var(--accent); --pcs: var(--accent-soft); --pcd: var(--accent-deep); }
.hub-phase-bind  { --pc: var(--green);  --pcs: var(--green-soft);  --pcd: #186b41; }
.hub-phase-treat { --pc: var(--amber);  --pcs: #FBF1E3;            --pcd: #8a3f07; }
.hub-phase-grow  { --pc: var(--analytics); --pcs: var(--analytics-soft); --pcd: var(--analytics-deep); }

.hub-stage { position: relative; width: min(660px, 100%); aspect-ratio: 1; margin: 56px auto 8px; overflow: visible; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hub-lines line { stroke: var(--hair); stroke-width: 1.4; }
.hub-lines .ring { fill: none; stroke: color-mix(in srgb, var(--accent) 26%, var(--hair)); stroke-width: 1.2; stroke-dasharray: 3 7; opacity: .65; }

.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 216px; background: #fff; border: 1px solid var(--hair); border-radius: 22px;
  box-shadow: 0 34px 80px -38px rgba(79, 70, 229, .55); padding: 24px 22px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.hub-core::before { content: ""; position: absolute; inset: -8px; border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); opacity: .55; }
.hub-core .hub-word { height: 27px; width: auto; }
.hub-core .hub-core-sub { font-size: 12px; color: var(--ink-3); line-height: 1.45; max-width: 158px; }

.hub-node { position: absolute; transform: translate(-50%, -50%); z-index: 2;
  display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--hair);
  border-radius: 14px; box-shadow: 0 16px 38px -24px rgba(20, 22, 27, .36); padding: 10px 15px 10px 11px;
  width: 176px; overflow: visible;
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .61, .2, 1),
              box-shadow .5s ease, border-color .5s ease; }
.hub-node:hover:not(.is-active) { transform: translate(-50%, -50%) translateY(-2px); box-shadow: 0 20px 42px -22px rgba(20, 22, 27, .38); }
.hub-node .hn-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--pcs); flex-shrink: 0; display: flex; align-items: center; justify-content: center; line-height: 0; }
.hub-node .hn-ic svg { width: 18px; height: 18px; stroke: var(--pc); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.hub-node .hn-label { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.hub-node b { font-size: 13px; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; display: block; }
.hub-node .hn-sub { font-size: 11px; color: var(--ink-3); line-height: 1.25; display: block; }
.hub-node.n1 { left: 50%;   top: 5.5%; }
.hub-node.n2 { left: 81.3%; top: 18.7%; }
.hub-node.n3 { left: 94.3%; top: 50%; }
.hub-node.n4 { left: 81.3%; top: 81.3%; }
.hub-node.n5 { left: 50%;   top: 94.3%; }
.hub-node.n6 { left: 18.7%; top: 81.3%; }
.hub-node.n7 { left: 5.7%;  top: 50%; }
.hub-node.n8 { left: 18.7%; top: 18.7%; }

/* ============================================================
   Hub-Animation: Patientenjourney – Szenen nacheinander
   ============================================================ */
.hub-stage { --hub-step-ms: 3100ms; --hub-pop-ms: 500ms; --hub-travel-ms: 720ms; }
.hub-stage.is-hub-jump .hub-orbit,
.hub-stage.is-hub-jump .hub-sweep { transition: none !important; }

/* Reisender Punkt auf der Bahn */
.hub-orbit {
  position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--hub-angle, 0deg));
  z-index: 1; pointer-events: none;
  transition: transform var(--hub-travel-ms) cubic-bezier(.4, 0, .2, 1);
}
.hub-traveler {
  position: absolute; left: 50%; top: 0; width: 8px; height: 8px;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent),
              0 0 10px 1px color-mix(in srgb, var(--accent) 32%, transparent);
}
.hub-sweep {
  position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1;
  border-radius: 50%; transform: translate(-50%, -50%) rotate(var(--hub-angle, 0deg));
  z-index: 1; pointer-events: none; opacity: .45;
  background: conic-gradient(from -90deg,
    color-mix(in srgb, var(--accent) 40%, transparent) 0deg,
    transparent 24deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  transition: transform var(--hub-travel-ms) cubic-bezier(.4, 0, .2, 1);
}

/* Knoten: alle lesbar, aktiv hervorgehoben */
.hub-node { opacity: .82; }
.hub-node.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.03);
  border-color: color-mix(in srgb, var(--pc) 45%, var(--hair));
  box-shadow: 0 20px 44px -18px color-mix(in srgb, var(--pc) 38%, rgba(20, 22, 27, .34));
  z-index: 8;
}
.hub-stage.is-pop-open .hub-node.is-active { z-index: 30; }
.hub-node.is-active .hn-ic { background: color-mix(in srgb, var(--pc) 18%, var(--pcs)); }
.hub-lines .sp { transition: stroke .5s ease, stroke-width .5s ease; }
.hub-lines .sp.is-active {
  stroke: color-mix(in srgb, var(--accent) 50%, var(--hair));
  stroke-width: 2;
}

/* Detail-Kachel klappt nach außen – liegt über allem */
.hub-pop {
  position: absolute; z-index: 50; width: min(176px, 38vw);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--hub-pop-ms) ease, transform var(--hub-pop-ms) cubic-bezier(.22, .61, .2, 1), visibility 0s var(--hub-pop-ms);
}
.hub-stage.is-pop-open .hub-node.is-active .hub-pop {
  opacity: 1; visibility: visible;
  transition: opacity var(--hub-pop-ms) ease, transform var(--hub-pop-ms) cubic-bezier(.22, .61, .2, 1), visibility 0s;
}
.hub-node .hub-pop > * {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--pc) 34%, var(--hair));
  border-radius: 13px;
  box-shadow: 0 22px 48px -18px color-mix(in srgb, var(--pc) 22%, rgba(20, 22, 27, .34));
  padding: 10px 12px;
}

/* Pop-Richtung: nach außen vom Zentrum, dicht an der Kachel */
.hub-node.n1 .hub-pop { left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%) scale(.86); transform-origin: center bottom; }
.hub-stage.is-pop-open .hub-node.n1.is-active .hub-pop { transform: translateX(-50%) translateY(-2px) scale(1); }

.hub-node.n2 .hub-pop { left: calc(100% + 4px); top: -2px; transform: scale(.86); transform-origin: left top; }
.hub-stage.is-pop-open .hub-node.n2.is-active .hub-pop { transform: translateX(2px) scale(1); }

.hub-node.n3 .hub-pop { left: 50%; top: calc(100% + 4px); transform: translateX(-50%) scale(.86); transform-origin: center top; }
.hub-stage.is-pop-open .hub-node.n3.is-active .hub-pop { transform: translateX(-50%) translateY(2px) scale(1); }

.hub-node.n4 .hub-pop { left: calc(100% + 4px); top: calc(100% - 6px); transform: scale(.86); transform-origin: left bottom; }
.hub-stage.is-pop-open .hub-node.n4.is-active .hub-pop { transform: translate(2px, 2px) scale(1); }

.hub-node.n5 .hub-pop { left: 50%; top: calc(100% + 4px); transform: translateX(-50%) scale(.86); transform-origin: center top; }
.hub-stage.is-pop-open .hub-node.n5.is-active .hub-pop { transform: translateX(-50%) translateY(2px) scale(1); }

.hub-node.n6 .hub-pop { right: calc(100% + 4px); top: calc(100% - 6px); transform: scale(.86); transform-origin: right bottom; }
.hub-stage.is-pop-open .hub-node.n6.is-active .hub-pop { transform: translate(-2px, 2px) scale(1); }

.hub-node.n7 .hub-pop { right: calc(100% + 4px); top: 50%; transform: translateY(-50%) scale(.86); transform-origin: right center; }
.hub-stage.is-pop-open .hub-node.n7.is-active .hub-pop { transform: translate(-2px, -50%) scale(1); }

.hub-node.n8 .hub-pop { right: calc(100% + 4px); top: 0; bottom: auto; transform: scale(.88); transform-origin: right top; }
.hub-stage.is-pop-open .hub-node.n8.is-active .hub-pop { transform: translateX(-2px) scale(1); }

/* Szene 1 – Patientin */
.hs-patient { display: flex; align-items: center; gap: 11px; }
.hs-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center;
}
.hs-patient b { display: block; font-size: 13px; font-weight: 650; line-height: 1.2; }
.hs-patient > div > span { font-size: 11px; color: var(--ink-3); display: block; margin-top: 2px; }

/* Szene 2/4/5 – WhatsApp */
.hs-wa { display: flex; flex-direction: column; gap: 6px; padding: 10px 11px !important; }
.hs-wa-bubble {
  font-size: 10.5px; line-height: 1.42; padding: 6px 9px; border-radius: 10px;
  max-width: 100%;
}
.hs-wa-bubble.in {
  background: #fff; border: 1px solid #ECEAE2; border-radius: 10px 10px 10px 4px;
  align-self: flex-start; color: var(--ink-2);
}
.hs-wa-bubble.out {
  background: var(--green-soft); border: 1px solid #CFE8D8;
  border-radius: 10px 10px 4px 10px; align-self: flex-end;
}
.hs-wa-bubble.sys {
  align-self: center; font-size: 10px; font-weight: 600; letter-spacing: .03em;
  color: #186b41; background: var(--green-soft); border: 1px solid #CFE8D8;
  border-radius: 8px; padding: 5px 10px;
}
.hs-bot {
  display: block; font-size: 8.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-3); margin-bottom: 2px;
}
.hs-wa-bubble.out .hs-bot { color: #3d6b52; }

/* Hub-Szenen: farbige Pop-up-Details pro Schritt */
.hub-node.n2 .hs-wa-bubble.out {
  background: var(--accent-soft); border-color: #D4DCFA;
}
.hub-node.n2 .hs-wa-bubble.out .hs-bot { color: var(--accent-deep); }

.hub-node.n3 .hs-book { border-left-color: var(--green) !important; }
.hub-node.n3 .hs-book-head { color: var(--green); }
.hub-node.n3 .hs-book-dot { background: var(--green); }

.hub-node.n7 .hs-hkp-badge {
  color: var(--pcd); background: var(--pcs);
  border-color: color-mix(in srgb, var(--amber) 38%, var(--hair));
}

.hub-node.n8 .hs-wa-bubble.out {
  background: var(--pcs); border-color: color-mix(in srgb, var(--amber) 38%, var(--hair));
}
.hub-node.n8 .hs-wa-bubble.out .hs-bot { color: var(--pcd); }
.hub-node.n8 .hs-wa-bubble.sys {
  color: var(--pcd); background: var(--pcs);
  border-color: color-mix(in srgb, var(--amber) 38%, var(--hair));
}

/* Szene 3 – Termin-Bestätigung (Doctolib-Toast) */
.hs-book {
  display: flex; flex-direction: column; gap: 5px; padding: 0 !important;
  overflow: hidden; border-left: 3px solid #1D6FB8 !important;
}
.hs-book-head {
  display: flex; align-items: center; gap: 6px; padding: 8px 11px 0;
  font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #1D6FB8;
}
.hs-book-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #1D6FB8; flex-shrink: 0;
}
.hs-book-body { padding: 4px 11px 10px; }
.hs-book b { display: block; font-size: 12.5px; font-weight: 650; line-height: 1.2; }
.hs-book .hs-book-meta { font-size: 10.5px; color: var(--ink-3); display: block; margin-top: 2px; }

/* Szene 6 – Anamnese */
.hs-anam { padding: 10px 12px !important; }
.hs-pvs-sync {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 650; letter-spacing: .04em;
  color: #186b41; background: var(--green-soft); border: 1px solid #CFE8D8;
  border-radius: 6px; padding: 3px 7px; margin-bottom: 8px;
}
.hs-pvs-sync::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22a06b;
  box-shadow: 0 0 0 2px color-mix(in srgb, #22a06b 25%, transparent);
}
.hs-anam-h {
  font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #8a3f07; margin-bottom: 7px;
}
.hs-anam-row {
  font-size: 11px; color: var(--ink-2); padding: 5px 0;
  border-bottom: 1px solid var(--hair);
}
.hs-anam-row:last-child { border-bottom: none; padding-bottom: 0; }
.hs-anam-row.warn {
  color: var(--pcd, #8a3f07); font-weight: 600;
  padding-left: 8px; border-left: 2px solid var(--amber); border-bottom: none;
  margin-top: 4px; background: color-mix(in srgb, var(--pcs, #FBF1E3) 55%, #fff);
  border-radius: 0 6px 6px 0; padding-top: 5px; padding-bottom: 5px;
}

/* Szene 7 – HKP */
.hs-hkp { display: flex; flex-direction: column; gap: 7px; }
.hs-hkp-badge {
  align-self: flex-start; font-size: 9.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #186b41; background: var(--green-soft);
  border: 1px solid #CFE8D8; border-radius: 6px; padding: 3px 8px;
}
.hs-hkp b { display: block; font-size: 12.5px; font-weight: 650; }
.hs-hkp > div > span { font-size: 10.5px; color: var(--ink-3); display: block; margin-top: 2px; }

/* Szene 8 – Kennzahlen */
.hs-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 11px !important; background: #fff !important; }
.hs-met {
  text-align: center; padding: 6px 4px; border-radius: 9px;
  background: #fff; border: 1px solid color-mix(in srgb, var(--pc) 28%, var(--hair));
}
.hs-met b {
  display: block; font-family: var(--serif); font-size: 22px; font-weight: 550;
  letter-spacing: -.02em; line-height: 1; color: var(--pcd);
}
.hs-met span { font-size: 9.5px; color: var(--ink-3); display: block; margin-top: 4px; line-height: 1.25; }

/* Kern */
.hub-core { transition: box-shadow .6s ease; z-index: 3; }
.hub-stage.is-running .hub-core {
  animation: hubCoreGlow 5s ease-in-out infinite;
}
.hub-core::before { animation: hubCorePulse 5s ease-in-out infinite; }

@keyframes hubCoreGlow {
  0%, 100% { box-shadow: 0 34px 80px -38px rgba(79, 70, 229, .55); }
  50%      { box-shadow: 0 38px 92px -34px rgba(79, 70, 229, .72); }
}
@keyframes hubCorePulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.05); opacity: .85; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-orbit, .hub-sweep { display: none; }
  .hub-node { opacity: 1; }
  .hub-pop { opacity: 0; visibility: hidden; transform: none !important; }
  .hub-node.is-active .hub-pop { opacity: 1; visibility: visible; }
  .hub-stage.is-running .hub-core,
  .hub-core::before { animation: none; }
}

/* Kompakte Hub-Karte für Mobil (statt Radial) */
.hub-mobile { display: none; }
.hub-mobile .hub-core { position: static; transform: none; margin: 44px auto 0; }

/* Phasen-Legende */
.hub-phases { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hub-ph { border: 1px solid var(--hair); border-top: 3px solid var(--pc); border-radius: 14px; background: #fff; padding: 24px 22px; }
.hub-ph .hp-k { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pcd); }
.hub-ph h4 { font-family: var(--serif); font-weight: 550; font-size: 18px; letter-spacing: -.015em; margin: 10px 0 8px; }
.hub-ph p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

@media (max-width: 860px) {
  .hub-stage { display: none; }
  .hub-mobile { display: block; }
  .hub-phases { grid-template-columns: 1fr 1fr; margin-top: 40px; }
}
@media (max-width: 540px) {
  .hub-phases { grid-template-columns: 1fr; }
}

/* ---------- Hero-Reveal ohne JS-Abhängigkeit (LCP) ----------
   Above-the-fold-Elemente blenden sich per CSS-Animation direkt beim
   ersten Paint ein, statt auf den IntersectionObserver in site.js zu
   warten. Das entkoppelt die LCP-Headline vom 48-KB-Bundle. */
@keyframes heroReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .rv { animation: heroReveal .7s var(--ease) both; }
.hero .rv-d1 { animation-delay: .08s; }
.hero .rv-d2 { animation-delay: .16s; }
.hero .rv-d3 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .hero .rv { animation: none; opacity: 1; transform: none; }
}

/* Preis-Reassurance (Einwand-Handling) + kompaktes Testimonial */
.price-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 760px; }
.price-assure .pa-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--hair); border-radius: 99px; padding: 9px 16px; }
.price-assure .pa-chip svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.price-assure .pa-chip b { color: var(--ink); font-weight: 700; }
.price-proof { display: flex; align-items: center; gap: 18px; max-width: 720px; margin: 30px auto 0; padding: 22px 26px; border: 1px solid var(--hair); border-radius: 18px; background: #fff; box-shadow: 0 22px 56px -44px rgba(20,22,27,.4); }
.price-proof .pp-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--hair); }
.price-proof .pp-body { min-width: 0; }
.price-proof .pp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.price-proof .pp-stars { color: #E8A33D; font-size: 13px; letter-spacing: 2px; }
.price-proof .pp-badge { font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--accent-deep); background: var(--accent-soft); border: 1px solid #D4DCFA; border-radius: 99px; padding: 3px 10px; }
.price-proof .pp-quote { font-family: var(--serif); font-size: 15.5px; line-height: 1.5; color: var(--ink); margin: 0; }
.price-proof .pp-cite { font-size: 12.5px; color: var(--ink-3); display: block; margin-top: 8px; }
@media (max-width: 560px) {
  .price-proof { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
}

/* All-in-one vs. Flickenteppich */
.allin { padding: 100px 0; background: var(--paper); }
.allin .sec-head { max-width: 740px; }
.allin-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 22px; margin-top: 56px; align-items: stretch; }
.cmp { border: 1px solid var(--hair); border-radius: 20px; background: #fff; padding: 28px 28px 24px; display: flex; flex-direction: column; }
.cmp-rows { flex: 1; }
.cmp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--hair); }
.cmp-k { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.cmp-h h3 { font-family: var(--serif); font-weight: 550; font-size: 21px; letter-spacing: -.012em; line-height: 1.2; margin: 0; }
.cmp-row { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--hair); min-height: 74px; box-sizing: border-box; }
.cmp-row:last-of-type { border-bottom: none; }
.cmp-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--paper-2); border: 1px solid var(--hair); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmp-ic svg { width: 17px; height: 17px; stroke: var(--ink-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmp-row .cr-t { min-width: 0; line-height: 1.35; }
.cmp-row .cr-t b { display: block; font-size: 14px; font-weight: 650; color: var(--ink); }
.cmp-row .cr-t span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.cmp-row .cr-p { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cmp-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 2px solid var(--ink); }
.cmp-total span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cmp-total b { font-family: var(--serif); font-weight: 600; font-size: 27px; letter-spacing: -.02em; color: var(--ink); }
.cmp-note { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.5; }
/* Praxishub-Karte hervorgehoben */
.cmp.win { border-color: #C9D2F7; box-shadow: 0 30px 70px -50px rgba(55,48,163,.5); position: relative; }
.cmp.win::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.cmp.win .cmp-k { color: var(--accent-deep); }
.cmp.win .cmp-ic { background: var(--accent-soft); border-color: #D4DCFA; }
.cmp.win .cmp-ic svg { stroke: var(--accent-deep); }
.cmp.win .cmp-total { border-top-color: var(--accent); }
.cmp.win .cmp-total b { color: var(--accent-deep); }
.cmp-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--accent-deep); background: var(--accent-soft); border: 1px solid #D4DCFA; border-radius: 99px; padding: 3px 11px; }
.allin-more { text-align: center; margin: 34px 0 0; font-size: 14.5px; color: var(--ink-3); }
.allin-more a { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.allin-more a:hover { text-decoration: underline; }
@media (max-width: 860px) { .allin-grid { grid-template-columns: 1fr; } }

/* ---------- Hero: Posteingang-Grafik ---------- */
.hero-inbox { position: relative; padding: 6px 0 0 8px; min-width: 0; }
.hero-inbox .frame { position: relative; width: 100%; background: none; border: none; padding: 0; }
.hero-inbox .channel-tags { justify-content: flex-start; margin-left: 4px; }
.hero-inbox .scard { max-width: 480px !important; margin: 0 !important; box-shadow: 0 30px 70px -44px rgba(20,22,27,.5); }
.hero-inbox-cap { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin: 0 0 12px 4px; }
.hero-inbox-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.hero-inbox-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0 4px; font-size: 13px; color: var(--ink-2); }
.hero-inbox-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .hero-inbox { display: none; } }

/* ---------- Umschalter „Praxishub für“ (Startseite + Fachrichtungen) ---------- */
#top.hero { padding-bottom: 40px; }
.fach-switch { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--paper-2); }
.fach-switch .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.fs-k { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.fs-list { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.fs-list::-webkit-scrollbar { display: none; }
.fs-list a { flex-shrink: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 7px 13px; border-radius: 99px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.fs-list a:hover { background: #fff; border-color: var(--hair); color: var(--ink); }
.fs-list a.on { background: var(--vt, var(--accent)); color: #fff; }
@media (max-width: 980px) { #top.hero { padding-bottom: 32px; } }
@media (max-width: 640px) {
  #top.hero { padding-bottom: 28px; }
  .fach-switch .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fs-list { width: 100%; }
}
