/* Naturheilpraxis Marion Lindenmayer – Editorial Minimalismus & Floating Gaussian-Glass Header */

:root {
  --lilac: #938bc2;
  --lilac-deep: #726ca8;
  --lilac-soft: #d7d4eb;
  --lilac-mist: #f3f2fa;
  --rose: #ce9cb5;
  --rose-text: #a86c89;
  --rose-mist: #fbf3f7;
  --ink: #3f3945;
  --body: #56505c;
  --muted: #7b7482;
  --line: #e7e2ef;
  --bg: #fcfbfd;
  --paper: #ffffff;
  --max-w: 1120px;
  --radius-card: 24px;
  --radius-sub: 20px;
  --radius-control: 16px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Quicksand", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--body);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lilac-deep);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2.5px solid var(--lilac-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -100px;
  z-index: 250;
  background: var(--lilac-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin-inline: auto;
}

/* Typography */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-text);
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat Alternates", "Quicksand", sans-serif;
  color: var(--ink);
  line-height: 1.24;
  margin: 0 0 0.55em;
}

h1 {
  font-size: clamp(2.05rem, 4.3vw, 3.2rem);
  font-weight: 700;
  color: var(--lilac-deep);
}

h2 {
  font-size: clamp(1.48rem, 2.8vw, 2.05rem);
  font-weight: 700;
  color: var(--lilac-deep);
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.05em;
  padding-left: 1.35em;
}

ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

li + li {
  margin-top: 0.3em;
}

/* Floating Flat Gaussian Frosted-Glass Header */
.glass-header-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  padding-top: 12px;
  pointer-events: none;
}

.glass-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(74, 68, 80, 0.05);
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.glass-header-wrap.is-scrolled .glass-bar {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(74, 68, 80, 0.08);
}

@media (min-width: 1020px) {
  .glass-bar {
    padding: 9px 16px 9px 22px;
    gap: 16px;
  }
}

.glass-logo-link {
  min-width: 0;
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.glass-logo-img {
  width: clamp(142px, 40vw, 184px);
  max-width: 100%;
  height: auto;
}

@media (min-width: 1020px) {
  .glass-logo-img {
    width: 206px;
  }
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

@media (min-width: 1120px) {
  .nav-desktop ul {
    gap: 4px;
  }
}

.nav-desktop li {
  margin: 0;
}

.nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  transition: background-color 0.18s ease, color 0.18s ease;
}

@media (min-width: 1120px) {
  .nav-pill {
    padding: 8px 14px;
    font-size: 0.92rem;
  }
}

.nav-pill:hover,
.nav-pill[aria-current="page"] {
  background: rgba(147, 139, 194, 0.14);
  color: var(--lilac-deep);
}

.nav-pill[aria-current="page"] {
  font-weight: 700;
}

.nav-pill-cta {
  background: var(--lilac);
  color: #fff;
  font-weight: 700;
}

.nav-pill-cta:hover,
.nav-pill-cta[aria-current="page"] {
  background: var(--lilac-deep);
  color: #fff;
}

.menu-btn {
  appearance: none;
  flex-shrink: 0;
  background: rgba(147, 139, 194, 0.12);
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.menu-btn:hover {
  background: rgba(147, 139, 194, 0.2);
  color: var(--lilac-deep);
}

.menu-btn svg {
  width: 19px;
  height: 19px;
}

.menu-btn .icon-close {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon-close {
  display: block;
}

@media (min-width: 1020px) {
  .nav-desktop {
    display: block;
  }
  .menu-btn {
    display: none;
  }
  .mobile-menu-panel {
    display: none !important;
  }
}

/* Downward Mobile Dropdown Panel directly below Floating Glass Bar */
.mobile-menu-panel {
  pointer-events: auto;
  margin-top: 8px;
  border-radius: 26px;
  background: rgba(252, 251, 253, 0.92);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(147, 139, 194, 0.18);
  box-shadow: 0 10px 28px rgba(74, 68, 80, 0.08);
}

.mobile-menu-panel[hidden] {
  display: none;
}

.mobile-menu-inner {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
}

.mobile-menu-panel.is-open .mobile-menu-inner {
  grid-template-rows: 1fr;
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-menu-inner {
    transition: grid-template-rows 0.22s ease-out, opacity 0.18s ease-out;
  }
}

.mobile-menu-clip {
  overflow: hidden;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 4px;
}

.mobile-menu-list li {
  margin: 0;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-control);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.mobile-menu-list a:hover,
.mobile-menu-list a[aria-current="page"] {
  background: rgba(147, 139, 194, 0.14);
  color: var(--lilac-deep);
}

.mobile-menu-list a.mobile-cta {
  background: var(--lilac);
  color: #fff;
  font-weight: 700;
}

.mobile-menu-list a.mobile-cta:hover,
.mobile-menu-list a.mobile-cta[aria-current="page"] {
  background: var(--lilac-deep);
  color: #fff;
}

/* Flat Pill Buttons */
.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--lilac);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn-primary:hover {
  background: var(--lilac-deep);
  color: #fff;
}

.btn-quiet {
  background: var(--lilac-mist);
  color: var(--lilac-deep);
  border: 0;
}

.btn-quiet:hover {
  background: #e8e5f6;
  color: var(--ink);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
}

.section .btn-quiet,
.page-cta .btn-quiet {
  background: var(--lilac-mist);
  border: 1px solid var(--line);
}

.section .btn-quiet:hover,
.page-cta .btn-quiet:hover {
  background: #e8e5f6;
  border-color: var(--lilac-soft);
}

/* Homepage Hero */
.hero-editorial {
  margin-top: 0;
  padding: clamp(40px, 6.5vw, 80px) 0 clamp(44px, 6.5vw, 72px);
  border-bottom: 0;
  background: transparent;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.hero-intro > :first-child {
  margin-top: 0;
}

.hero-intro > :last-child {
  margin-bottom: 0;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  color: var(--rose-text);
  max-width: 44ch;
  margin: 0 0 26px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.editorial-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 0;
  border-top: 0;
}

.editorial-pillars > div {
  min-width: 0;
}

.pillar-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--lilac-deep);
  margin-bottom: 8px;
}

.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.pillar-list li + li {
  margin-top: 2px;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
  box-shadow:
    0 24px 60px rgba(147, 139, 194, 0.24),
    0 8px 24px rgba(206, 156, 181, 0.16);
}

.hero-frame img {
  border-radius: var(--radius-card);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  filter: brightness(1.04) contrast(0.92) saturate(0.88);
  opacity: 0.96;
}

@media (max-width: 899.98px) {
  .hero-editorial {
    padding: 28px 0 44px;
  }

  .hero-intro {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-frame {
    max-width: 280px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-frame img {
    aspect-ratio: 4 / 4.4;
  }

  .editorial-pillars > div {
    padding: 14px 12px;
    border-radius: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    text-align: left;
  }

  .pillar-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .pillar-list {
    font-size: 0.84rem;
    line-height: 1.48;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .pillar-list li + li {
    margin-top: 4px;
  }
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.2fr 0.8fr;
    column-gap: 56px;
    row-gap: 28px;
    align-items: start;
  }

  .hero-intro {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    text-align: left;
  }

  .editorial-pillars {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .hero-frame {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes heroFadeUp {
    from {
      opacity: 0;
      translate: 0 16px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  [data-hero-stagger] {
    animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  [data-hero-stagger="1"] {
    animation-delay: 0.04s;
  }

  [data-hero-stagger="2"] {
    animation-delay: 0.14s;
  }

  [data-hero-stagger="3"] {
    animation-delay: 0.24s;
  }

  [data-hero-stagger="4"] {
    animation-delay: 0.34s;
  }

  [data-hero-stagger="5"] {
    animation-delay: 0.44s;
  }

  [data-hero-stagger="6"] {
    animation-delay: 0.54s;
  }
}

/* Sections */
.section {
  padding: clamp(50px, 6.5vw, 84px) 0;
  background: transparent;
  border-bottom: 0;
}

.section-muted {
  background: transparent;
}

main > section:last-child {
  border-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-header p {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
}

/* Homepage Schwerpunkte Cards */
.editorial-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .editorial-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.ed-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sub);
  box-shadow: 0 8px 28px -16px rgba(74, 68, 80, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ed-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(1.02) contrast(0.95) saturate(0.92);
  opacity: 1;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ed-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease;
  }

  .ed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -12px rgba(114, 108, 168, 0.18);
  }

  .ed-card img {
    transition: transform 0.35s ease;
  }

  .ed-card:hover img {
    transform: scale(1.02);
  }
}

.ed-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ed-card-num {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--rose-text);
  margin-bottom: 6px;
}

.ed-card-body p {
  margin: 0 0 18px;
  flex: 1 1 auto;
  font-size: 0.96rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--lilac-deep);
  transition: color 0.16s ease;
}

.text-link:hover {
  color: var(--ink);
}

.text-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .text-link svg {
    transition: transform 0.16s ease;
  }

  .text-link:hover svg {
    transform: translateX(3px);
  }

  .btn,
  .btn-primary,
  .btn-quiet,
  .topic-pill {
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  }

  .btn:active,
  .btn-primary:active,
  .btn-quiet:active,
  .topic-pill:active {
    transform: scale(0.98);
  }
}

/* About Split (Homepage & Über mich) */
.about-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

@media (min-width: 860px) {
  .about-editorial {
    grid-template-columns: 320px 1fr;
    gap: 56px;
  }
}

.about-sticky figure {
  margin: 0;
}

.about-sticky img {
  border-radius: var(--radius-sub);
  width: 100%;
  filter: brightness(1.02) contrast(0.95) saturate(0.92);
  opacity: 1;
}

.about-caption {
  margin-top: 12px;
  font-family: "Montserrat Alternates", "Quicksand", sans-serif;
  font-weight: 700;
  color: var(--lilac-deep);
  text-align: center;
}

.prose-col {
  max-width: 64ch;
}

.prose-col p {
  margin: 0 0 1.05em;
}

.prose-col p:last-child {
  margin-bottom: 0;
}

.about-editorial-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 860px) {
  .about-editorial-text {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }

  .about-heading-col {
    position: sticky;
    top: 112px;
  }
}

.about-heading-col h2 {
  margin-bottom: 0;
}

.about-heading-rule {
  width: 44px;
  height: 2px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--rose);
}

/* Minimalist Editorial Quotes */
.editorial-quote {
  padding: clamp(44px, 6vw, 72px) 0;
  text-align: center;
  background: transparent;
  border-bottom: 0;
}

.editorial-quote .container {
  max-width: 740px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.editorial-quote .container::before,
.editorial-quote .container::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  border-radius: 999px;
  background: var(--rose);
}

.editorial-quote .container::before {
  margin: 0 auto 24px;
}

.editorial-quote .container::after {
  margin: 24px auto 0;
}

.editorial-quote blockquote {
  margin: 0 auto;
  max-width: 50ch;
  font-size: clamp(1.16rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 600;
}

.editorial-quote-author {
  margin-top: 14px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--rose-text);
  letter-spacing: 0.04em;
}

.quote-text {
  max-width: 56ch;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.58;
  color: var(--ink);
  font-weight: 600;
}

/* Praxis & Homepage Compact Accordions */
.praxis-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 880px) {
  .praxis-split {
    grid-template-columns: 1fr 1fr;
    gap: 52px;
  }

  .praxis-content-col {
    padding-top: 2px;
  }
}

.praxis-media-col h2 {
  margin-bottom: 18px;
}

.praxis-content-col > p:first-child {
  margin-top: 0;
}

.gallery-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery-2x2 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-control);
  filter: brightness(1.10) contrast(0.87) saturate(0.84);
  opacity: 0.92;
}

.gallery-2x2 img:first-child {
  grid-column: 1 / -1;
  height: 250px;
}

.accordion-group {
  margin-top: 24px;
}

.accordion-group details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 15px 20px;
  margin-bottom: 12px;
}

.accordion-group details:last-child {
  margin-bottom: 0;
}

.accordion-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.accordion-group summary::-webkit-details-marker {
  display: none;
}

.accordion-group summary::before {
  content: "";
  inline-size: 1em;
  block-size: 1em;
  flex-shrink: 0;
  background-color: var(--lilac-deep);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion-group details[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion-group summary::before {
    transition: rotate 0.2s ease;
  }
  .accordion-group details::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
    transition: block-size 0.3s ease-in-out, content-visibility 0.3s ease-in-out;
    transition-behavior: allow-discrete;
  }
  .accordion-group details:not([open])::details-content {
    block-size: 0;
  }
}

.acc-content {
  padding-top: 12px;
  color: var(--body);
  font-size: 0.95rem;
}

/* Flat Contact Band */
section:has(+ #termin) {
  border-bottom: 0;
}

#termin {
  scroll-margin-top: -86px;
  padding-top: clamp(86px, 9vw, 110px);
  padding-bottom: clamp(56px, 6.5vw, 84px);
  background: transparent;
}

.contact-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 28px -16px rgba(74, 68, 80, 0.10);
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 820px) {
  .contact-box {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}

.contact-links {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-links li {
  margin: 0;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.contact-links a:hover {
  color: var(--lilac-deep);
}

.contact-links svg {
  width: 18px;
  height: 18px;
  color: var(--lilac);
  flex-shrink: 0;
}

.contact-notice {
  font-size: 0.96rem;
  color: var(--ink);
}

.contact-actions {
  margin-top: 18px;
}

.contact-photo {
  border-radius: 18px;
  max-height: 360px;
  width: 100%;
  object-fit: cover;
  filter: brightness(1.04) contrast(0.92) saturate(0.88);
  opacity: 0.95;
}

.contact-map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  height: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f6f4fa;
  overflow: hidden;
}

.contact-map-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 356px;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.contact-map-stage:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: -2px;
}

.contact-map-stage.is-grabbing {
  cursor: grabbing;
}

.contact-map-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.contact-map-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px -6px rgba(74, 68, 80, 0.16);
  overflow: hidden;
}

.contact-map-ctrl {
  appearance: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, opacity 0.14s ease;
}

.contact-map-ctrl + .contact-map-ctrl {
  border-top: 1px solid rgba(226, 220, 238, 0.8);
}

.contact-map-ctrl svg {
  width: 17px;
  height: 17px;
}

.contact-map-ctrl:hover:not(:disabled) {
  background: rgba(236, 233, 248, 0.85);
  color: var(--lilac-deep);
}

.contact-map-ctrl:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: -2px;
}

.contact-map-ctrl:disabled {
  opacity: 0.36;
  cursor: default;
}

.contact-map-open {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 6px 20px -6px rgba(74, 68, 80, 0.16);
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.contact-map-open:hover {
  background: #ffffff;
  border-color: var(--lilac-soft);
  color: var(--lilac-deep);
  transform: translateY(-1px);
  text-decoration: none;
}

.contact-map-open:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 2px;
}

.contact-map-attr {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 220, 238, 0.7);
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.35;
  text-decoration: none;
}

.contact-map-attr:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 819.98px) {
  .contact-map-card {
    min-height: 0;
  }

  .contact-map-stage {
    min-height: 290px;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  .contact-map-zoom {
    top: 10px;
    right: 10px;
  }

  .contact-map-ctrl {
    width: 32px;
    height: 32px;
  }

  .contact-map-open {
    left: 10px;
    bottom: 10px;
    padding: 7px 13px;
    font-size: 0.82rem;
  }

  .contact-map-attr {
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
    font-size: 0.62rem;
  }
}

/* Subpages: Page Hero */
.page-hero {
  margin-top: 0;
  padding: clamp(38px, 6vw, 68px) 0 clamp(28px, 4.5vw, 44px);
  border-bottom: 0;
  background: transparent;
}

.page-hero h1 {
  margin-bottom: 0.35em;
}

.page-lead,
.page-hero .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  color: var(--rose-text);
  max-width: 60ch;
  margin: 0;
  font-weight: 500;
  line-height: 1.62;
}

.hero-quote {
  margin: 20px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--rose);
  background: var(--rose-mist);
  border-radius: 0 var(--radius-sub) var(--radius-sub) 0;
  max-width: 60ch;
}

.hero-quote blockquote {
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
}

.hero-quote-author {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rose-text);
}

.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-width: 0;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--lilac-mist);
  border: 1px solid var(--line);
  color: var(--lilac-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  overflow-wrap: break-word;
  hyphens: auto;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

@media (max-width: 519.98px) {
  .topic-nav {
    gap: 8px;
  }

  .topic-nav .topic-pill {
    padding: 9px 14px;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
  }
}

.topic-pill:hover,
.topic-pill:focus-visible {
  background: var(--lilac-deep);
  border-color: var(--lilac-deep);
  color: #ffffff;
}

.qb-back-bar .topic-pill {
  width: auto;
  border-radius: 999px;
  padding: 9px 18px;
}

/* Subpages: Chapters & Collapsible Topic Accordions */
.chapter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 24px;
}

.chapter-head h2 {
  margin-bottom: 0;
}

.chapter-head .eyebrow {
  margin-bottom: 6px;
}

.chapter-intro {
  margin: 0 0 26px;
  color: var(--body);
}

.chapter-head + .chapter-intro {
  margin-top: -8px;
}

.topic-accordion {
  display: grid;
}

.topic-accordion > * {
  min-width: 0;
}

.topic-accordion > * + * {
  margin-top: 14px;
}

.topic-accordion > .anchor-alias + * {
  margin-top: 0;
}

.anchor-alias {
  display: block;
  scroll-margin-top: 100px;
  height: 0;
  overflow: hidden;
}

details.topic-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sub);
  scroll-margin-top: 100px;
  transition: border-color 0.18s ease;
}

details.topic-card[open] {
  border-color: var(--lilac-soft);
}

details.topic-card > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: calc(var(--radius-sub) - 1px);
  font-family: "Montserrat Alternates", "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

@media (min-width: 720px) {
  details.topic-card > summary {
    padding: 18px 24px;
  }
}

details.topic-card[open] > summary {
  border-radius: calc(var(--radius-sub) - 1px) calc(var(--radius-sub) - 1px) 0 0;
}

details.topic-card > summary::-webkit-details-marker {
  display: none;
}

details.topic-card > summary:hover {
  background: #faf9fd;
  color: var(--lilac-deep);
}

details.topic-card > summary:focus-visible {
  outline-offset: -2px;
}

details.topic-card > summary::before {
  content: "";
  inline-size: 1.05em;
  block-size: 1.05em;
  flex-shrink: 0;
  background-color: var(--lilac-deep);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

details.topic-card[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  details.topic-card > summary::before {
    transition: rotate 0.2s ease;
  }
  details.topic-card::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
    transition: block-size 0.3s ease-in-out, content-visibility 0.3s ease-in-out;
    transition-behavior: allow-discrete;
  }
  details.topic-card:not([open])::details-content {
    block-size: 0;
  }
}

.acc-summary-text {
  flex: 1 1 auto;
  min-width: 0;
}

.acc-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--lilac-mist);
  color: var(--lilac-deep);
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.acc-body {
  padding: 18px 18px 20px;
  border-top: 1px solid var(--line);
  color: var(--body);
}

@media (min-width: 720px) {
  .acc-body {
    padding: 22px 24px 24px;
  }
}

.acc-body > * + * {
  margin-top: 18px;
}

.acc-body > p + p,
.acc-body > h2 + *,
.acc-body > h3 + *,
.acc-body > h4 + * {
  margin-top: 0;
}

.acc-body > :first-child {
  margin-top: 0;
}

.acc-body > :last-child {
  margin-bottom: 0;
}

.acc-body h3,
.acc-body h4 {
  margin-top: 1.35em;
  color: var(--lilac-deep);
}

.acc-body h3:first-child,
.acc-body h4:first-child {
  margin-top: 0;
}

/* Subpages: Hybrid Visible Intros, Therapy Cards & Nested Details */
.chapter-showcase {
  margin-bottom: 26px;
}

.chapter-showcase:last-child {
  margin-bottom: 0;
}

.chapter-showcase > :first-child,
.chapter-showcase-text > :first-child {
  margin-top: 0;
}

.chapter-showcase > :last-child,
.chapter-showcase-text > :last-child {
  margin-bottom: 0;
}

.chapter-showcase-text h3,
.chapter-showcase-text h4 {
  color: var(--lilac-deep);
}

.therapy-stack {
  display: grid;
}

.therapy-stack > * {
  min-width: 0;
}

.therapy-stack > * + * {
  margin-top: 20px;
}

.therapy-stack > .anchor-alias + * {
  margin-top: 0;
}

.therapy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 28px);
  scroll-margin-top: 100px;
}

.therapy-lead {
  margin-bottom: 18px;
}

.therapy-lead:last-child {
  margin-bottom: 0;
}

.therapy-lead h3,
.therapy-lead-text h3 {
  color: var(--lilac-deep);
  margin-top: 0;
  margin-bottom: 0.55em;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
}

.therapy-lead-text > :first-child {
  margin-top: 0;
}

.therapy-lead > :last-child,
.therapy-lead-text > :last-child {
  margin-bottom: 0;
}

details.topic-card-nested {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

details.topic-card-nested > summary {
  background: #faf9fd;
  border-radius: 15px;
  padding: 14px 18px;
  font-size: clamp(0.96rem, 1.4vw, 1.05rem);
}

@media (min-width: 720px) {
  details.topic-card-nested > summary {
    padding: 15px 20px;
  }
}

details.topic-card-nested[open] > summary {
  border-radius: 15px 15px 0 0;
}

details.topic-card-nested > summary:hover {
  background: var(--lilac-mist);
  color: var(--lilac-deep);
}

/* Subpages: Content Grids & Components */
.acc-split,
.chapter-showcase.has-media,
.therapy-lead.has-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.acc-split > *,
.chapter-showcase.has-media > *,
.therapy-lead.has-media > * {
  min-width: 0;
}

@media (min-width: 820px) {
  .acc-split,
  .chapter-showcase.has-media,
  .therapy-lead.has-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
  }
}

.acc-split-media,
.chapter-showcase-media,
.therapy-lead-media {
  margin: 0;
  display: grid;
  gap: 14px;
  height: 100%;
}

.acc-split-media > figure,
.chapter-showcase-media > figure,
.therapy-lead-media > figure {
  margin: 0;
  height: 100%;
}

.acc-split-media img,
.chapter-showcase-media img,
.therapy-lead-media img {
  margin-block: 0;
}

.acc-split-media img.subpage-img,
.chapter-showcase-media img.subpage-img,
.therapy-lead-media img.subpage-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
}

.info-cards-2,
.info-cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 720px) {
  .info-cards-2,
  .info-cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .info-cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.info-cards-2 + .info-cards-3,
.info-cards-2 + .info-cards-2,
.info-cards-3 + .info-cards-2 {
  margin-top: 18px;
}

.acc-body .info-cards-2,
.acc-body .info-cards-3 {
  margin-block: 16px;
}

.acc-body .info-cards-2:first-child,
.acc-body .info-cards-3:first-child {
  margin-top: 0;
}

.acc-body .info-cards-2:last-child,
.acc-body .info-cards-3:last-child {
  margin-bottom: 0;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sub);
  padding: 20px 22px;
}

.info-card h2,
.info-card h3,
.info-card h4 {
  font-size: 1.08rem;
  color: var(--lilac-deep);
  margin-bottom: 0.65em;
}

.info-card > :last-child {
  margin-bottom: 0;
}

.icon-box-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 18px;
}

.icon-box-grid > .icon-box {
  flex: 1 1 280px;
  min-width: 0;
}

.icon-box-grid:first-child {
  margin-top: 0;
}

.icon-box-grid:last-child {
  margin-bottom: 0;
}

.icon-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sub);
  padding: 18px 20px;
}

.icon-box > :last-child {
  margin-bottom: 0;
}

.icon-box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--lilac-deep);
}

.icon-box-head svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.styled-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

.styled-list li {
  position: relative;
  padding-left: 22px;
  margin: 0;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose);
}

.subpage-img {
  border-radius: 18px;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  filter: brightness(1.02) contrast(0.95) saturate(0.92);
  opacity: 1;
}

.seals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.seal-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sub);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seals-grid img {
  max-height: 150px;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: none;
  opacity: 1;
}

.notice-box {
  background: var(--lilac-mist);
  border: 1px solid var(--lilac-soft);
  border-left: 4px solid var(--lilac);
  border-radius: var(--radius-control);
  padding: 16px 20px;
  margin-block: 18px;
  color: var(--ink);
}

.notice-box:first-child {
  margin-top: 0;
}

.notice-box:last-child {
  margin-bottom: 0;
}

.quote-callout {
  margin: 18px 0;
  padding: 18px 22px;
  background: var(--rose-mist);
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.6;
}

.quote-callout:first-child {
  margin-top: 0;
}

.quote-callout:last-child {
  margin-bottom: 0;
}

.quote-callout blockquote {
  margin: 0;
}

/* Bottom Subpage CTA Band */
.page-cta {
  padding: clamp(32px, 5vw, 52px) 0;
  background: transparent;
}

.page-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Legacy / Fallback Helpers (redirect pages) */
.page-section {
  padding: clamp(36px, 5vw, 60px) 0;
}

.content-narrow {
  max-width: 78ch;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 820px) {
  .split-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

/* Gentle Scroll Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js-ready [data-reveal] {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 0.55s ease, translate 0.55s ease;
  }
  .js-ready [data-reveal].is-visible {
    opacity: 1;
    translate: 0 0;
  }
}

/* Diagnostik 4-Step Flow Diagram */
.diag-flow {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .diag-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .diag-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.diag-step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sub);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diag-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.diag-step-num {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lilac-mist);
  border: 1px solid var(--line);
  color: var(--lilac-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.diag-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--lilac-mist);
  color: var(--lilac-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diag-step-icon svg {
  width: 18px;
  height: 18px;
}

.diag-step h3 {
  margin: 2px 0 0;
  font-size: 1.04rem;
  color: var(--ink);
}

.diag-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--body);
}

/* Canonical Footer */
.site-footer {
  border-top: 0;
  padding: 48px 0 38px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: transparent;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-inline: auto;
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--lilac-deep);
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Floating Back-to-Top Button with Scroll-Progress Ring */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 75;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 4px 20px rgba(74, 68, 80, 0.06);
  color: var(--lilac-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  translate: 0 12px;
  scale: 0.92;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: var(--lilac-soft);
}

.back-to-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top-track {
  fill: none;
  stroke: rgba(147, 139, 194, 0.2);
  stroke-width: 2.2;
}

.back-to-top-fill {
  fill: none;
  stroke: var(--lilac-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 131.95;
  stroke-dashoffset: 131.95;
}

.back-to-top-arrow {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .back-to-top {
    transition: opacity 0.22s ease, translate 0.22s ease, scale 0.22s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  }

  .back-to-top.is-visible:hover {
    transform: translateY(-2px);
  }

  .back-to-top.is-visible:active {
    transform: scale(0.95);
  }
}

@media print {
  .glass-header-wrap,
  .mobile-menu-panel,
  .skip-link,
  .topic-nav,
  .page-cta,
  .back-to-top {
    display: none !important;
  }
}
