:root {
  --brand: oklch(0.40 0.09 250);
  --brand-foreground: oklch(0.985 0.006 90);
  --brand-soft: oklch(0.40 0.09 250 / 0.08);
  --brand-warm: oklch(0.80 0.06 65);
  --surface: oklch(0.978 0.005 90);
  --surface-elevated: #ffffff;
  --background: oklch(0.978 0.005 90);
  --foreground: #1a1a1a;
  --border: oklch(0.40 0.09 250 / 0.1);

  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: color-mix(in oklab, var(--brand-warm) 40%, transparent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.icon { width: 1rem; height: 1rem; stroke: currentColor; fill: none; flex: none; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 5%, transparent);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.brand { display: flex; align-items: center; gap: .75rem; line-height: 1; }
.brand__logo {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; overflow: hidden;
  background: var(--brand-soft);
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--brand); letter-spacing: -0.01em; }
.brand__sub { margin-top: 2px; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--brand) 60%, transparent); }
.nav__links { display: none; gap: 2rem; }
.nav__links a { font-size: .875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: color-mix(in srgb, var(--brand) 70%, transparent); transition: color .2s; }
.nav__links a:hover { color: var(--brand); }
.nav__cta { display: none; }
.nav__cta-mobile {
  display: inline-flex; width: 2.75rem; height: 2.75rem; border-radius: 999px;
  background: var(--brand); color: var(--brand-foreground);
  align-items: center; justify-content: center;
}
.nav__cta-mobile .icon { width: 1.25rem; height: 1.25rem; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } .nav__cta-mobile { display: none; } }
@media (min-width: 768px) { .nav__links { display: flex; } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  border-radius: 999px; font-weight: 500; cursor: pointer;
  transition: transform .3s ease, background .3s, color .3s, box-shadow .3s;
  border: 0;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.99); }
.btn__tag { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; opacity: .7; }
.btn--primary {
  background: var(--brand); color: var(--brand-foreground);
  padding: .875rem 1.75rem; font-size: .875rem;
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--brand) 25%, transparent);
}
.btn--compact {
  background: var(--brand); color: var(--brand-foreground);
  padding: .625rem 1.25rem; font-size: .875rem;
  box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--brand) 20%, transparent);
}
.btn--light {
  background: var(--surface-elevated); color: var(--brand);
  padding: 1rem 2rem; font-size: 1rem;
  box-shadow: 0 18px 36px -14px color-mix(in srgb, var(--brand) 10%, transparent);
}
.btn--ghost {
  background: transparent; color: var(--foreground);
  padding: .875rem 1.75rem; font-size: .875rem;
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}
.btn--ghost:hover { background: var(--surface-elevated); }

/* HERO */
.hero {
  display: grid; align-items: center; gap: 4rem;
  padding: 9rem 1.5rem 5rem; /* top accounts for fixed nav */
}
@media (min-width: 1024px) { .hero { grid-template-columns: 1fr 1fr; padding-top: 10rem; } }

.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: color-mix(in srgb, var(--brand) 60%, transparent);
}
.eyebrow--outline {
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  border-radius: 999px; padding: .375rem 1rem; color: var(--brand);
  margin-bottom: 1.5rem;
}
.eyebrow--sm { font-size: 10px; }
.eyebrow--onbrand { color: color-mix(in srgb, var(--brand-foreground) 80%, transparent); }

.display {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .95; letter-spacing: -0.02em; margin: 0;
}
.display em, .h2 em { font-style: italic; color: var(--brand); }

.lede { margin-top: 2rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.7; color: color-mix(in srgb, var(--brand) 75%, transparent); }

.cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__meta { margin-top: 3rem; display: flex; align-items: center; gap: 1.5rem; font-size: .875rem; color: color-mix(in srgb, var(--brand) 70%, transparent); }
.hero__phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--foreground); font-weight: 500; }
.hero__phone:hover { color: var(--brand); }
.hero__phone .icon { color: var(--brand); }
.hero__sep { display: none; width: 1px; height: 1rem; background: color-mix(in srgb, var(--brand) 20%, transparent); }
.hero__status { display: none; align-items: center; gap: .5rem; }
.dot { width: .5rem; height: .5rem; border-radius: 999px; background: #10b981; animation: pulse 2s ease-in-out infinite; }
@media (min-width: 640px) { .hero__sep, .hero__status { display: inline-flex; } }

.hero__media { position: relative; }
.hero__logo-mark {
  position: absolute; top: -3rem; right: -2rem; width: 14rem; height: auto;
  opacity: .5; z-index: -1; pointer-events: none; user-select: none;
}
@media (max-width: 1023px) { .hero__logo-mark { display: none; } }
.frame {
  overflow: hidden; border-radius: 2rem;
  outline: 1px solid rgba(0,0,0,.05); outline-offset: -1px;
}
.frame img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
.floating-quote {
  display: none;
  position: absolute; left: -1.5rem; bottom: -2rem;
  max-width: 20rem; background: var(--surface-elevated);
  padding: 1.75rem; border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand) 5%, transparent);
  box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--brand) 15%, transparent);
  margin: 0;
}
.floating-quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--brand); margin: 0; }
.floating-quote cite { display: block; margin-top: .75rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: color-mix(in srgb, var(--brand) 50%, transparent); font-style: normal; font-weight: 500; }
@media (min-width: 768px) { .floating-quote { display: block; } }

.blob { position: absolute; right: -1rem; top: -1rem; width: 10rem; height: 10rem; border-radius: 999px; background: color-mix(in srgb, var(--brand-warm) 20%, transparent); filter: blur(60px); z-index: -1; }
.blob--right { right: -1.5rem; bottom: -1.5rem; top: auto; width: 14rem; height: 14rem; background: color-mix(in srgb, var(--brand) 10%, transparent); }

/* TRUST */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface-elevated) 60%, transparent); padding: 2rem 0; }
.trust__inner { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: center; }
.trust__inner span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: color-mix(in srgb, var(--brand) 60%, transparent); }
@media (min-width: 768px) { .trust__inner { justify-content: space-between; } }

/* SECTIONS */
.section { padding: 7rem 0; }
.section--surface { background: var(--surface-elevated); }

.section__head { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; }
.section__head--stack { max-width: 34rem; }
@media (min-width: 768px) { .section__head { flex-direction: row; justify-content: space-between; align-items: flex-end; } .section__head--stack { flex-direction: column; align-items: flex-start; } }
.section__intro { max-width: 22rem; font-size: 1.125rem; font-style: italic; color: color-mix(in srgb, var(--brand) 70%, transparent); margin: 0; }
.h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -.02em; margin: 1rem 0 0; }
.h2--onbrand { color: var(--brand-foreground); }

/* SERVICES GRID */
.grid { display: grid; gap: 1.5rem; }
.grid--services { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid--services { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; overflow: hidden;
  background: var(--background); padding: 2rem;
  border-radius: 1.75rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 5%, transparent);
  transition: background .5s, box-shadow .5s, color .5s;
}
.card:hover { background: var(--brand); color: var(--brand-foreground); }
.card:hover .card__icon { background: var(--surface-elevated); }
.card:hover .card__body { color: color-mix(in srgb, var(--brand-foreground) 80%, transparent); }
.card__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 1rem; margin-bottom: 1.5rem;
  background: var(--brand-soft); color: var(--brand);
  transition: background .5s;
}
.card__icon .icon { width: 1.25rem; height: 1.25rem; }
.card__title { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; margin: 0; }
.card__body { margin: .75rem 0 0; font-size: .875rem; line-height: 1.6; color: color-mix(in srgb, var(--brand) 70%, transparent); transition: color .5s; }

/* ARZT SPLIT */
.grid--split { grid-template-columns: 1fr; align-items: center; gap: 4rem; }
@media (min-width: 1024px) { .grid--split { grid-template-columns: 1fr 1fr; } }
.split__media { position: relative; order: 2; }
.order-1 { order: 1; }
.order-2 { order: 2; }
@media (min-width: 1024px) { .split__media { order: 1; } .order-2 { order: 2; } .order-1 { order: 1; } }

.quals { margin: 2.5rem 0 0; padding: 0 0 0 1.5rem; border-left: 2px solid color-mix(in srgb, var(--brand) 15%, transparent); display: flex; flex-direction: column; gap: 1.25rem; }
.quals div { margin: 0; }
.quals dt { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: color-mix(in srgb, var(--brand) 60%, transparent); }
.quals dd { margin: .25rem 0 0; font-size: 1rem; color: var(--foreground); }

/* PRAXIS GALLERY */
.gallery { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { border-radius: 1.25rem; overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 5%, transparent); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery__item--wide { grid-column: span 1; }
@media (min-width: 640px) { .gallery__item--wide { grid-column: span 3; } .gallery__item--wide img { aspect-ratio: 21/9; } }

.team-card {
  margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem;
  background: var(--surface-elevated); padding: 1.25rem; border-radius: 1rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 5%, transparent);
}
.team-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.team-card__icon .icon { width: 1.25rem; height: 1.25rem; }
.team-card__photo { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 999px; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card__name { margin: 0; font-weight: 500; }
.team-card__role { margin: .125rem 0 0; font-size: .875rem; color: color-mix(in srgb, var(--brand) 70%, transparent); }

/* CTA BLOCK */
.cta {
  position: relative; overflow: hidden; max-width: 64rem; margin: 0 auto;
  background: var(--brand); color: var(--brand-foreground);
  border-radius: 2.5rem; padding: 3rem 1.5rem; text-align: center;
}
@media (min-width: 768px) { .cta { padding: 5rem; } }
.cta__inner { position: relative; z-index: 1; }
.cta__inner .eyebrow { border: 1px solid color-mix(in srgb, var(--brand-foreground) 20%, transparent); border-radius: 999px; padding: .375rem 1rem; color: color-mix(in srgb, var(--brand-foreground) 80%, transparent); font-size: 11px; }
.cta__body { max-width: 34rem; margin: 1.5rem auto 0; font-size: 1.125rem; color: color-mix(in srgb, var(--brand-foreground) 75%, transparent); }
.cta__actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .cta__actions { flex-direction: row; } }
.cta__phone { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: color-mix(in srgb, var(--brand-foreground) 90%, transparent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand-foreground) 30%, transparent); text-underline-offset: 4px; }
.cta__phone:hover { text-decoration-color: var(--brand-foreground); }
.ring { position: absolute; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); }
.ring--tr { right: -6rem; top: -6rem; width: 18rem; height: 18rem; }
.ring--bl { left: -6rem; bottom: -8rem; width: 28rem; height: 28rem; }

/* KONTAKT PANELS */
.panel {
  background: var(--background); padding: 2.5rem; border-radius: 2rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 5%, transparent);
}
.panel--brand { background: var(--brand); color: var(--brand-foreground); box-shadow: none; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.contact-row:last-of-type { margin-bottom: 0; }
.contact-row__icon { margin-top: .25rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.contact-row__body { margin: .25rem 0 0; font-size: 1.125rem; color: var(--foreground); }
.contact-row__sub { display: block; font-size: .875rem; color: color-mix(in srgb, var(--brand) 70%, transparent); }
.contact-row__sub:hover, .link:hover { color: var(--brand); }
.panel__cta { margin-top: 2.5rem; }
.panel__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.panel__head-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: color-mix(in srgb, var(--brand-foreground) 10%, transparent); color: var(--brand-foreground); }

.hours { margin: 0; padding: 0; }
.hours .row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-top: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); }
.hours .row:first-child { border-top: 0; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-size: .875rem; color: color-mix(in srgb, var(--brand-foreground) 80%, transparent); }
.panel__note { margin: 1.5rem 0 0; font-size: .875rem; color: color-mix(in srgb, var(--brand-foreground) 70%, transparent); }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .footer__inner { flex-direction: row; justify-content: space-between; } }
.footer__links { display: flex; gap: 2rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: color-mix(in srgb, var(--brand) 50%, transparent); }
.footer__links a:hover { color: var(--brand); }
.footer__copy { font-size: .875rem; color: color-mix(in srgb, var(--brand) 60%, transparent); }

/* STICKY MOBILE CTA */
.sticky-cta {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: var(--brand-foreground);
  padding: .875rem 1.25rem; border-radius: 999px;
  font-size: .875rem; font-weight: 500;
  box-shadow: 0 25px 45px -15px color-mix(in srgb, var(--brand) 30%, transparent);
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* Animations */
.reveal { opacity: 0; transform: translateY(24px); animation: fade-up .9s cubic-bezier(.16,1,.3,1) both; }
.reveal:nth-child(2) { animation-delay: .15s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
