/* Varyos Praxis — medical vertical of the public site. Loaded with the onboarding styles. */

body.vertical-host { background: #f8fafc; }

.praxis {
  --praxis-purple: #6b3fa0;
  --praxis-purple-deep: #7b2cbf;
  --praxis-teal: #0d9488;
  --praxis-teal-bright: #14b8a6;
  --praxis-heading: #1e3a5f;
  --praxis-ink: #1e293b;
  --praxis-muted: #64748b;
  --praxis-bg: #f8fafc;
  --praxis-card: #ffffff;
  --praxis-line: rgba(30, 58, 95, 0.08);
  --praxis-shadow: 0 8px 24px rgba(30, 58, 95, 0.06);
  --praxis-radius: 12px;
  color: var(--praxis-ink);
  background: var(--praxis-bg);
  font-family: Inter, Raleway, system-ui, sans-serif;
  line-height: 1.6;
  font-size: 1.0625rem;
}

.praxis h1,
.praxis h2,
.praxis h3 {
  color: var(--praxis-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.praxis h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.praxis h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 0.75rem; }
.praxis h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }

/* Linkfarbe gilt nur für Textlinks. Schaltflächen setzen ihre eigene Schrift,
   sonst gewinnt diese Regel (Klasse + Element) gegen .praxis-btn--primary. */
.praxis a:not(.praxis-btn) { color: var(--praxis-teal); }

.praxis-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.praxis-section { padding: 4.5rem 0; }
.praxis-kicker {
  margin: 0 0 0.5rem;
  color: var(--praxis-teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.praxis-lead {
  max-width: 40rem;
  color: var(--praxis-muted);
  font-size: 1.125rem;
}

.praxis-hero {
  position: relative;
  padding: calc(var(--header-height, 108px) + 3rem) 0 4rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(13, 148, 136, 0.18), transparent 58%),
    radial-gradient(ellipse 55% 60% at 0% 100%, rgba(107, 63, 160, 0.14), transparent 52%),
    linear-gradient(180deg, #f4fbfa 0%, #f8fafc 100%);
  overflow: hidden;
}

.praxis-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' fill='none'%3E%3Cpath d='M0 42H300l40-28 48 48 36-20h280l36-22 44 40 32-18H1200' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center bottom / 100% 4.5rem no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.praxis-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.praxis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.praxis-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

/* .layout-root a (und :hover) ist spezifischer als eine einzelne Klasse und hat
   den Text türkis auf Lila gefärbt. */
.layout-root .praxis a.praxis-btn--primary,
.layout-root .praxis a.praxis-btn--primary:hover,
.layout-root .praxis a.praxis-btn--primary:focus,
.layout-root .praxis a.praxis-btn--primary:focus-visible {
  background: #6b3fa0;
  color: #fff;
  box-shadow: 0 8px 20px rgba(107, 63, 160, 0.28);
}

.layout-root .praxis a.praxis-btn--primary:hover,
.layout-root .praxis a.praxis-btn--primary:focus-visible {
  background: #542f86;
  color: #fff;
}

.layout-root .praxis a.praxis-btn--quiet,
.layout-root .praxis a.praxis-btn--quiet:hover,
.layout-root .praxis a.praxis-btn--quiet:focus,
.layout-root .praxis a.praxis-btn--quiet:focus-visible {
  background: #fff;
  color: #1e3a5f;
  box-shadow: inset 0 0 0 1.5px #1e3a5f;
}

.praxis--legal {
  --praxis-teal: #1e3a5f;
  --praxis-teal-bright: #2c5282;
}

.praxis--legal .praxis-hero {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(30, 58, 95, 0.16), transparent 58%),
    radial-gradient(ellipse 55% 60% at 0% 100%, rgba(232, 213, 163, 0.35), transparent 52%),
    linear-gradient(180deg, #f7f5f0 0%, #f8fafc 100%);
}

.layout-root .praxis--legal a.praxis-btn--primary,
.layout-root .praxis--legal a.praxis-btn--primary:hover,
.layout-root .praxis--legal a.praxis-btn--primary:focus,
.layout-root .praxis--legal a.praxis-btn--primary:focus-visible {
  background: #1e3a5f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.28);
}

.layout-root .praxis--legal a.praxis-btn--primary:hover,
.layout-root .praxis--legal a.praxis-btn--primary:focus-visible {
  background: #152a45;
  color: #fff;
}

.layout-root .praxis a.praxis-btn--quiet:hover,
.layout-root .praxis a.praxis-btn--quiet:focus-visible {
  background: #1e3a5f;
  color: #fff;
}

.praxis-hero__grid { position: relative; z-index: 1; }

.praxis-panel {
  background: var(--praxis-card);
  border-radius: 16px;
  border: 1px solid rgba(30, 58, 95, 0.08);
  box-shadow: 0 18px 40px rgba(30, 58, 95, 0.1);
  overflow: hidden;
}

.praxis-panel__bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: #1e3a5f;
}

.praxis-panel__bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.praxis-panel__bar span:first-child { background: #5eead4; }

.praxis-panel__body { padding: 1.1rem 1.15rem 1.3rem; }
.praxis-panel__body p { margin: 0 0 0.85rem; font-weight: 600; color: var(--praxis-heading); }

.praxis-slot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--praxis-line);
  color: var(--praxis-ink);
}

.praxis-slot i { color: var(--praxis-teal); font-size: 1.25rem; }

.praxis-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.praxis-card {
  background: var(--praxis-card);
  border-radius: 16px;
  border: 1px solid rgba(30, 58, 95, 0.06);
  box-shadow: var(--praxis-shadow);
  padding: 1.35rem 1.35rem 1.5rem;
}

.praxis-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
  font-size: 1.35rem;
}

.praxis-card p { margin: 0; color: var(--praxis-muted); }

.praxis-trust {
  background: #1e3a5f;
  border: 0;
  color: #e2e8f0;
}

.praxis .praxis-trust h2 { color: #fff; }

.praxis-trust ul {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.praxis-trust li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.praxis-trust i { color: #5eead4; margin-top: 0.15rem; }

.praxis-price {
  margin: 0.4rem 0;
  color: var(--praxis-heading);
  font-size: 2rem;
  font-weight: 600;
}

.praxis-price small {
  color: var(--praxis-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.praxis-note { color: var(--praxis-muted); text-align: center; }

.praxis-final {
  margin-top: 1rem;
  padding: 4.5rem 0;
  text-align: center;
  background: linear-gradient(120deg, #1e3a5f 0%, #4a2d78 58%, #0f766e 130%);
}

.praxis .praxis-final h2 { color: #fff; }
.praxis-final .praxis-lead { margin-inline: auto; color: rgba(255, 255, 255, 0.88); }

.layout-root .praxis-final a.praxis-btn--primary,
.layout-root .praxis-final a.praxis-btn--primary:hover,
.layout-root .praxis-final a.praxis-btn--primary:focus,
.layout-root .praxis-final a.praxis-btn--primary:focus-visible {
  background: #fff;
  color: #1e3a5f;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.layout-root .praxis-final a.praxis-btn--primary:hover,
.layout-root .praxis-final a.praxis-btn--primary:focus-visible {
  background: #f8fafc;
  color: #6b3fa0;
}

header#header.header--vertical {
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 41, 59, 0.06);
}

header#header.header--vertical .headerLogo { width: auto; max-width: none; }
header#header.header--vertical .header-vertical-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-decoration: none;
}
header#header.header--vertical .header-vertical-brand img { width: auto; height: 40px; }
header#header.header--vertical .header-vertical-by {
  color: var(--praxis-muted, #64748b);
  font-size: 0.75rem;
  line-height: 1;
}
header#header.header--vertical a.header-vertical-cta,
header#header.header--vertical a.header-vertical-cta:hover,
header#header.header--vertical a.header-vertical-cta:focus,
header#header.header--vertical a.header-vertical-cta:focus-visible {
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  background: #6b3fa0;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(107, 63, 160, 0.28);
}
header#header.header--vertical a.header-vertical-cta:hover,
header#header.header--vertical a.header-vertical-cta:focus-visible {
  background: #542f86;
  color: #fff;
}

/* The wordmarks are drawn for light ground (navy name); on the dark footer they sit on a white plate. */
header#header.header--vertical a.header-vertical-login,
header#header.header--vertical a.header-vertical-login:focus {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #1e3a5f;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
header#header.header--vertical a.header-vertical-login:hover,
header#header.header--vertical a.header-vertical-login:focus-visible {
  border-color: #6b3fa0;
  color: #6b3fa0;
}

.vertical-footer-mark { width: auto; height: 60px; padding: 0.4rem 0.75rem; border-radius: 12px; background: #fff; }
.vertical-footer-mark[src*="/praxis/"] { width: 195px; object-fit: cover; object-position: left center; } /* the Praxis wordmark carries empty space on the right */

/* Industry switch of the main site (IndustrySwitch.razor): a slim strip of chips under the hero, an
   eye catcher rather than a section. A vertical chip takes its colour from --vertical-accent
   (MarketingVertical.ThemeColor); its arrow nudges now and then to draw the eye. */
.home-industries { padding: 1.25rem 0 0.25rem; }
.home-industries__strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.home-industries__kicker { margin-right: 0.25rem; color: #7551bd; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.layout-root a.home-industry,
.layout-root a.home-industry:hover,
.layout-root a.home-industry:focus-visible {
  color: #2a0c5a;
  text-decoration: none;
}
a.home-industry {
  --vertical-accent: #7551bd;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.9rem 0.35rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--vertical-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--vertical-accent) 6%, #fff);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
a.home-industry:hover {
  border-color: var(--vertical-accent);
  background: color-mix(in srgb, var(--vertical-accent) 11%, #fff);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--vertical-accent) 18%, transparent);
}
a.home-industry:focus-visible { outline: 3px solid var(--vertical-accent); outline-offset: 2px; }
.home-industry__icon { color: var(--vertical-accent); font-size: 1.15rem; }
/* The wordmarks carry empty space on the right (see .vertical-footer-mark): crop it. */
.home-industry__wordmark { width: 4.4rem; height: 22px; object-fit: cover; object-position: left center; }
.home-industry__arrow { color: var(--vertical-accent); font-size: 1rem; transition: transform 0.2s ease; }
a.home-industry--vertical .home-industry__arrow { animation: home-industry-nudge 4s ease-in-out 1.5s infinite; }
a.home-industry:hover .home-industry__arrow { animation: none; transform: translateX(3px); }
@keyframes home-industry-nudge {
  0%, 80%, 100% { transform: translateX(0); }
  88% { transform: translateX(4px); }
  94% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  a.home-industry--vertical .home-industry__arrow { animation: none; }
}

@media (min-width: 800px) {
  .praxis-hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .praxis-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .praxis-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .praxis-trust ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  header#header.header--vertical a.header-vertical-cta,
  header#header.header--vertical a.header-vertical-login { margin: 0.75rem 0.25rem 0; justify-content: center; }
}
