/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand – Apfelgrün */
  --c-brand: #78c43a;
  --c-brand-hover: #5a9a28;
  --c-brand-light: #ebf7de;
  --c-brand-50: #f5faf0;

  /* Neutral */
  --c-bg: #fafdf7;
  --c-white: #ffffff;
  --c-text: #1c2b1a;
  --c-text-muted: #6b7b68;
  --c-border: #dde9d4;
  --c-light: #f0f7ea;
  --c-dark: #111c10;

  /* Typography */
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* Layout */
  --max-w: 72rem;
  --pad-x: 1.5rem;
  --header-h: 4.5rem;

  /* Border radius */
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --r-xl: 32px;

  /* Shadows */
  --sh-s: 0 1px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --sh-m: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --sh-l: 0 12px 48px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --tr-fast: 150ms ease;
  --tr: 250ms ease;
  --tr-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Legacy variable aliases (Kirby Starterkit compatibility) */
  --color-black: var(--c-text);
  --color-white: var(--c-white);
  --color-grey: var(--c-text-muted);
  --color-light: var(--c-light);
  --color-text: var(--c-text);
  --color-text-grey: var(--c-text-muted);
  --color-background: var(--c-bg);
  --padding: var(--pad-x);
  --font-family-sans: var(--font);
  --font-family-mono: var(--font-mono);
  --color-code-light-grey: #cacbd1;
  --color-code-comment: #a9aaad;
  --color-code-white: #c5c9c6;
  --color-code-red: #d16464;
  --color-code-orange: #de935f;
  --color-code-yellow: #f0c674;
  --color-code-green: #a7bd68;
  --color-code-aqua: #8abeb7;
  --color-code-blue: #7e9abf;
  --color-code-purple: #b294bb;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font);
  font-size: 16px;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  color: currentColor;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

strong,
b {
  font-weight: 600;
}

small {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.3;
}

.h1,
.text h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.h2,
.text h2 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.h3,
.text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.main {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  padding-bottom: 4rem;
}

/* Legacy grid system (kept for Kirby layout blocks) */
.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  min-width: 0;
}
.autogrid {
  --gutter: 2rem;
  --min: 10rem;
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

@media (min-width: 60rem) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
}

/* Spacing utilities */
.margin-s {
  margin-bottom: 0.75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}

.section {
  padding: 3rem 0;
}

/* Color utilities */
.bg-light {
  background: var(--c-light);
}
.bg-brand {
  background: var(--c-brand);
}
.color-grey {
  color: var(--c-text-muted);
}
.align-center {
  text-align: center;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--tr),
    box-shadow var(--tr);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

.site-header.is-scrolled {
  border-color: var(--c-border);
  box-shadow: var(--sh-s);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.25;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.site-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.site-logo-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-brand-hover);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.site-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: var(--r-s);
  transition:
    background var(--tr-fast),
    color var(--tr-fast);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--c-brand-light);
  color: var(--c-brand-hover);
}

.nav-link.is-active {
  color: var(--c-brand-hover);
  font-weight: 600;
}

/* Dropdown arrow */
.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform var(--tr-fast);
}

.nav-arrow svg {
  display: block;
  width: 12px;
  height: 12px;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 13rem;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-m);
  box-shadow: var(--sh-l);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity var(--tr),
    transform var(--tr),
    visibility var(--tr);
  z-index: 10;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--c-text);
  border-radius: var(--r-s);
  transition:
    background var(--tr-fast),
    color var(--tr-fast);
}

.nav-dropdown-link:hover,
.nav-dropdown-link.is-active {
  background: var(--c-brand-light);
  color: var(--c-brand-hover);
}

/* Doctolib-Button im Navigationsmenü */
.nav-item--doctolib {
  margin-left: 0.5rem;
}

.nav-doctolib-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: rgb(16, 122, 202);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--r-s);
  white-space: nowrap;
  transition:
    background var(--tr-fast),
    transform var(--tr-fast),
    box-shadow var(--tr-fast);
  box-shadow: 0 2px 8px rgba(16, 122, 202, 0.3);
}

.nav-doctolib-btn:hover {
  background: rgb(12, 98, 163);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 122, 202, 0.4);
}

.nav-doctolib-btn svg {
  flex-shrink: 0;
}

/* Hamburger button (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  border-radius: var(--r-s);
  flex-shrink: 0;
  transition: background var(--tr-fast);
}

.nav-toggle:hover {
  background: var(--c-brand-light);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition:
    transform var(--tr),
    opacity var(--tr);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   INTRO / PAGE HEADER
   ============================================================ */
.page-intro {
  padding: 2.5rem 0 1.5rem;
}

.intro {
  max-width: 40rem;
}

.intro *:not(:last-child) {
  margin-bottom: 0.75em;
}

/* ============================================================
   TEXT / RICH TEXT
   ============================================================ */
.text {
  line-height: 1.7;
  color: var(--c-text);
}

.text a {
  color: var(--c-brand-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text a:hover {
  color: var(--c-brand);
}

.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
  margin-bottom: 1.25rem;
}

.text ul,
.text ol {
  margin-left: 1.25rem;
}

.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}

.text ul p,
.text ol p {
  margin-bottom: 0;
}

.text code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  padding: 0.1em 0.4em;
  border-radius: var(--r-s);
  color: var(--c-text);
}

.text pre {
  margin: 2rem 0;
  background: var(--c-dark);
  color: var(--c-white);
  padding: 1.5rem;
  border-radius: var(--r-m);
  overflow-x: auto;
  line-height: 1.5;
}

.text pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.text hr {
  margin: 3rem 0;
  border: 0;
  height: 1px;
  background: var(--c-border);
}

.text dt {
  font-weight: 600;
}

.text blockquote {
  font-size: 1.125rem;
  line-height: 1.5;
  border-left: 3px solid var(--c-brand);
  padding-left: 1.25rem;
  margin: 2rem 0;
  color: var(--c-text-muted);
  max-width: 30rem;
}

.text figure {
  margin: 2rem 0;
}

.text figcaption {
  padding-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.text figure ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.text figure ul li {
  list-style: none;
}

.text .codeblock {
  display: grid;
}

/* ============================================================
   PHOTO / IMAGE CONTAINERS
   ============================================================ */
.img,
.video {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--c-light);
  overflow: hidden;
}

.img img,
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.img[data-contain] img {
  object-fit: contain;
}

.img-caption,
.video-caption {
  padding-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--c-text-muted);
}

/* ============================================================
   PHOTO ZOOM EFFECT
   ============================================================ */
.photo-link {
  display: block;
  overflow: hidden;
  border-radius: var(--r-m);
}

.photo-link .img {
  border-radius: 0;
}

.photo-link img {
  transition: transform var(--tr-slow);
  will-change: transform;
}

.photo-link:hover img {
  transform: scale(1.06);
}

.photo-zoom {
  overflow: hidden;
  border-radius: var(--r-m);
}

.photo-zoom img {
  transition: transform var(--tr-slow);
  will-change: transform;
}

.article-card:hover .photo-zoom img {
  transform: scale(1.06);
}

/* ============================================================
   CARDS / BOXES
   ============================================================ */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-s);
  transition:
    box-shadow var(--tr),
    transform var(--tr);
}

.card:hover {
  box-shadow: var(--sh-m);
  transform: translateY(-2px);
}

.box {
  background: var(--c-light);
  border-radius: var(--r-m);
  padding: 1.5rem;
  border: 1px solid var(--c-border);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-brand);
  color: var(--c-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-m);
  font-weight: 600;
  font-size: 0.9375rem;
  transition:
    background var(--tr-fast),
    transform var(--tr-fast),
    box-shadow var(--tr-fast);
  box-shadow: 0 2px 8px rgba(120, 196, 58, 0.28);
}

.cta:hover {
  background: var(--c-brand-hover);
  box-shadow: 0 4px 16px rgba(120, 196, 58, 0.38);
  color: var(--c-white);
}

/* ============================================================
   HR divider
   ============================================================ */
hr {
  border: 0;
  height: 1px;
  background: var(--c-border);
  margin: 3rem auto;
}

/* ============================================================
   MAP
   ============================================================ */
.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--c-light);
  border-radius: var(--r-m);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 3rem;
}

.pagination > span {
  color: var(--c-text-muted);
}

.pagination > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-s);
  font-size: 0.9rem;
  transition:
    background var(--tr-fast),
    color var(--tr-fast),
    border-color var(--tr-fast);
}

.pagination > a:hover {
  background: var(--c-brand);
  color: var(--c-white);
  border-color: var(--c-brand);
}

/* ============================================================
   ARTICLE / NEWS CARD
   ============================================================ */
.article-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-s);
  transition:
    box-shadow var(--tr),
    transform var(--tr);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--sh-m);
  transform: translateY(-3px);
}

.article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--c-text);
}

.article-card-image .img {
  border-radius: 0;
}

.article-card-content {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.article-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.4;
  margin-top: 0.25rem;
}

.article-card-date {
  font-size: 0.8125rem;
  color: var(--c-brand-hover);
  font-weight: 500;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* Legacy article-excerpt (kept for compatibility) */
.article-excerpt {
  line-height: 1.5;
}
.article-excerpt header {
  margin-bottom: 1rem;
}
.article-excerpt figure {
  margin-bottom: 0.75rem;
  border-radius: var(--r-m);
  overflow: hidden;
}
.article-excerpt-title {
  font-weight: 600;
  font-size: 1rem;
}
.article-excerpt-date {
  color: var(--c-text-muted);
  font-size: 0.85rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  margin: 2rem 0 3rem;
}

.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--sh-m);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-brand-hover));
}

.contact h2.h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.contact h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-brand-hover);
  margin-bottom: 0.5rem;
}

.contact .text p {
  margin-bottom: 0.5rem;
}

.contact a {
  color: var(--c-brand-hover);
}

.contact a:hover {
  text-decoration: underline;
}

/* ============================================================
   SPRECHZEITEN
   ============================================================ */
.sprechzeiten-box {
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-light);
  border-radius: var(--r-m);
  padding: 1.25rem 1.5rem;
}

.sprechzeiten-table {
  width: 100%;
  border-collapse: collapse;
}

.sprechzeiten-table th,
.sprechzeiten-table td {
  padding: 0.5rem 0;
  vertical-align: top;
  font-size: 0.9rem;
}

.sprechzeiten-table tr + tr th,
.sprechzeiten-table tr + tr td {
  border-top: 1px solid var(--c-border);
}

.sprechzeiten-table th {
  text-align: left;
  font-weight: 600;
  width: 55%;
}

.sprechzeiten-table td {
  color: var(--c-text-muted);
}

/* ============================================================
   SOCIAL
   ============================================================ */
.social {
  display: flex;
  padding: 0;
  gap: 0.25rem;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--r-s);
  transition: background var(--tr-fast);
}

.social a:hover {
  background: var(--c-brand-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}

.footer:before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--c-brand);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.footer h2 {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-brand-hover);
  margin-bottom: 1rem;
}

.footer ul,
.footer p {
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

.footer p {
  max-width: 20rem;
}

.footer a {
  transition: color var(--tr-fast);
}

.footer a:hover {
  color: var(--c-brand-hover);
}

.footer li {
  margin-bottom: 0.35rem;
}

/* ============================================================
   HERO EINBLEND-ANIMATION (kein JS nötig)
   Für above-the-fold Glasboxen – läuft sofort beim CSS-Render,
   ohne auf den IntersectionObserver warten zu müssen.
   ============================================================ */
@keyframes hero-slide-up {
  from {
    transform: translateY(20px);
  }
  to {
    transform: translateY(0);
  }
}

.page-overlap-wrap--animate,
.page-fallback-header--animate,
.home-overlap-wrap--animate,
.team-overlap-wrap--animate,
.team-page-header--animate {
  animation: hero-slide-up 600ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  .page-overlap-wrap--animate,
  .page-fallback-header--animate,
  .home-overlap-wrap--animate,
  .team-overlap-wrap--animate,
  .team-page-header--animate {
    animation: none;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}
.reveal-children.is-visible > *:nth-child(2) {
  transition-delay: 80ms;
}
.reveal-children.is-visible > *:nth-child(3) {
  transition-delay: 160ms;
}
.reveal-children.is-visible > *:nth-child(4) {
  transition-delay: 240ms;
}
.reveal-children.is-visible > *:nth-child(5) {
  transition-delay: 320ms;
}
.reveal-children.is-visible > *:nth-child(6) {
  transition-delay: 400ms;
}

.delay-1 {
  transition-delay: 100ms !important;
}
.delay-2 {
  transition-delay: 200ms !important;
}
.delay-3 {
  transition-delay: 300ms !important;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-children > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .photo-link img,
  .photo-zoom img {
    transition: none;
  }

  .card:hover,
  .article-card:hover {
    transform: none;
  }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 55rem) {
  /* Logo-Text darf schrumpfen, damit Hamburger sichtbar bleibt */
  .site-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .site-logo-text {
    min-width: 0;
    gap: 0.2rem;
  }

  .site-logo-title {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .site-logo-sub {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-white);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--tr-slow);
    z-index: 99;
    border-top: 1px solid var(--c-border);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--r-m);
  }

  /* Dropdown-Wrapper: Grid-Animation für flüssiges Ein-/Ausklappen */
  .has-dropdown {
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: grid-template-rows 400ms ease;
  }

  .has-dropdown.is-dropdown-open {
    grid-template-rows: min-content 1fr;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    background: transparent;
    margin-top: 0;
    overflow: hidden;
    min-height: 0;
  }

  .nav-dropdown-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    color: var(--c-text-muted);
  }

  /* Pfeil klickbar machen – großer Touch-Bereich */
  .nav-arrow {
    margin-left: auto;
    padding: 0.75rem 1rem;
    margin: -0.5rem -0.75rem -0.5rem auto;
    cursor: pointer;
    transition: transform var(--tr-fast);
  }

  .nav-item.is-dropdown-open > .nav-link > .nav-arrow {
    transform: rotate(180deg);
  }

  .nav-item--doctolib {
    margin-left: 0;
    width: 100%;
  }

  .nav-doctolib-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--r-m);
    box-shadow: none;
  }
}

body.nav-is-open {
  overflow: hidden;
}

/* Sehr kleine Bildschirme: Header-Text weiter komprimieren */
@media (max-width: 24rem) {
  .header-inner {
    gap: 0.75rem;
  }

  .site-logo {
    gap: 0.4rem;
  }

  .site-logo-title {
    font-size: 0.8rem;
  }

  .site-logo-sub {
    font-size: 0.65rem;
  }
}

/* ============================================================
   RESPONSIVE SPACING
   ============================================================ */
@media (min-width: 48rem) {
  :root {
    --pad-x: 2rem;
  }
}

@media (min-width: 72rem) {
  :root {
    --pad-x: 2.5rem;
  }
}

/* ============================================================
   SITE FOOTER – Full-Width Dark Green Design
   ============================================================ */

/* Grundstruktur: volle Breite, dunkles Apfelgrün */
.site-footer {
  width: 100%;
  background: #1a4010;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 5rem;
  padding: 0;
  position: relative;
}

/* Grüner Akzentstreifen oben */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-brand), #3a9010, var(--c-brand));
}

/* Innerer Container mit max-width */
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) 0;
}

/* ── Kopfzeile: Logo + Navigation ────────────────────────── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}

.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: 0.4rem;
  transition: color var(--tr-fast);
}
.footer-logo-text:hover {
  color: var(--c-brand);
}

.footer-tagline-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav-links h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-brand);
  margin-bottom: 0.75rem;
}
.footer-nav-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.footer-nav-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--tr-fast);
}
.footer-nav-links a:hover {
  color: var(--c-brand);
}

/* ── Trennlinie ──────────────────────────────────────────── */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0 2.5rem;
}

/* ── Info-Grid: drei Spalten ─────────────────────────────── */
.footer-main-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

@media (min-width: 48rem) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 68rem) {
  .footer-main-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Info-Box (Adresse / Kontakt / Sprechzeiten) ─────────── */
.footer-col-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-l);
  padding: 1.5rem;
  transition:
    background var(--tr),
    border-color var(--tr);
}
.footer-col-box:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(120, 196, 58, 0.35);
}

/* Box-Kopfzeile mit Icon + Titel */
.footer-col-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.footer-col-header h3 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-brand);
}
.footer-icon {
  color: var(--c-brand);
  flex-shrink: 0;
  opacity: 0.9;
}

/* ── Praxisname (über der Adresse) ──────────────────────── */
.footer-praxis-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.1rem;
}

/* ── Adresse ─────────────────────────────────────────────── */
.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
}

/* Karte (OpenStreetMap iframe) */
.footer-map-wrapper {
  height: 175px;
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: brightness(0.88) saturate(0.85);
  transition: filter var(--tr);
}
.footer-col-box:hover .footer-map-wrapper iframe {
  filter: brightness(1) saturate(1);
}

/* Link "Auf OSM öffnen" */
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--c-brand);
  opacity: 0.75;
  transition: opacity var(--tr-fast);
}
.footer-map-link:hover {
  opacity: 1;
}

/* Navigations-Buttons Google Maps / Apple Maps */
.footer-nav-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.footer-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-s);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background var(--tr-fast),
    color var(--tr-fast),
    transform var(--tr-fast);
  white-space: nowrap;
  align-self: flex-start;
}
.footer-nav-btn--google,
.footer-nav-btn--apple {
  background: var(--c-brand);
  color: #fff;
}
.footer-nav-btn--google:hover,
.footer-nav-btn--apple:hover {
  background: var(--c-brand-hover);
  color: #fff;
}

.footer-intro-text {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Kontakt-Einträge ────────────────────────────────────── */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-contact-item:first-of-type {
  border-top: none;
  padding-top: 0;
}
.footer-contact-icon {
  color: var(--c-brand);
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.85;
}
.footer-contact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.2rem;
}
.footer-contact-value {
  display: block;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.88);
}
.footer-contact-value a {
  color: inherit;
  transition: color var(--tr-fast);
}
.footer-contact-value a:hover {
  color: var(--c-brand);
}

/* "Jetzt anrufen"-Button im Kontakt-Bereich */
.footer-phone-btn {
  margin-top: 0.5rem;
}

/* Doctolib-Button im Footer (Kontakt-Box) */
.footer-doctolib-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgb(16, 122, 202);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--r-s);
  transition:
    background var(--tr-fast),
    transform var(--tr-fast);
  align-self: flex-start;
}

.footer-doctolib-btn:hover {
  background: rgb(12, 98, 163);
  color: #fff;
}

.footer-doctolib-btn svg {
  flex-shrink: 0;
}

/* KI-Hinweis unter Telefon */
.footer-ai-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ── Tooltip (Info-Icon) ─────────────────────────────────── */
.footer-tooltip-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--tr-fast);
  vertical-align: middle;
  flex-shrink: 0;
}
.footer-tooltip-btn:hover,
.footer-tooltip-btn:focus-visible {
  color: var(--c-brand);
  outline: none;
}

/* Tooltip-Bubble */
.footer-tooltip-popup {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-white);
  color: var(--c-text);
  padding: 0.875rem 1rem;
  border-radius: var(--r-m);
  font-size: 0.82rem;
  line-height: 1.6;
  width: 17rem;
  box-shadow: var(--sh-l);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--tr),
    visibility var(--tr);
  z-index: 20;
  text-align: left;
  font-weight: 400;
}
/* Pfeil nach unten */
.footer-tooltip-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--c-white);
}
.footer-tooltip-btn:hover .footer-tooltip-popup,
.footer-tooltip-btn:focus-visible .footer-tooltip-popup {
  opacity: 1;
  visibility: visible;
}

/* Auf Mobile: Tooltip zentriert auf dem Bildschirm */
@media (max-width: 48rem) {
  .footer-tooltip-popup {
    position: fixed;
    bottom: auto;
    left: 10%;
    right: 10%;
    width: 80%;
    transform: none;
    z-index: 200;
  }
  .footer-tooltip-popup::after {
    /* Dreieck wird per JS über --arrow-left positioniert */
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
  }
}

/* ── Status-Anzeige: geöffnet / geschlossen ─────────────── */
.footer-status {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Pulsierender Punkt */
.footer-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-status-dot.is-open {
  background: #78c43a;
  box-shadow: 0 0 0 0 rgba(120, 196, 58, 0.5);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.footer-status-dot.is-closed {
  background: #d95b5b;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(120, 196, 58, 0.5);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(120, 196, 58, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(120, 196, 58, 0);
  }
}

.footer-status-text {
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-status-main {
  display: block;
  color: rgba(255, 255, 255, 0.75);
}

.footer-status-main strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* Nur wenn geschlossen: nächster Termin */
.footer-status-hint {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.15rem;
}

/* ── Sprechzeiten-Tabelle im Footer ──────────────────────── */
.footer-hours-table {
  width: 100%;
  border-collapse: collapse;
}
.footer-hours-table tr {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-hours-table tr:first-child {
  border-top: none;
}
.footer-hours-table th,
.footer-hours-table td {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  vertical-align: top;
  text-align: left;
}
.footer-hours-table th {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding-right: 1rem;
}
.footer-hours-table td {
  color: rgba(255, 255, 255, 0.55);
}

/* Hinweistext unter den Sprechzeiten */
.footer-hours-note {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Notfallmanagement-Bereich ───────────────────────────── */
.footer-notfall-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(120, 196, 58, 0.2);
  border-radius: var(--r-l);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Karten-Grid: 1 Spalte → 2 → 4 */
.footer-notfall-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 36rem) {
  .footer-notfall-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 68rem) {
  .footer-notfall-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Einzelne Notfall-Karte */
.footer-notfall-card {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover: Rahmen aufhellen */
.footer-notfall-card {
  transition: border-color var(--tr);
}
.footer-notfall-card:hover {
  border-color: rgba(120, 196, 58, 0.45);
}

/* Hintergrundbild: unscharf + abgedunkelt */
.footer-notfall-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08) translateZ(0); /* verhindert sichtbare Blur-Ränder */
  filter: blur(4px) brightness(0.35) saturate(0.6);
  will-change: transform;
  transition:
    transform var(--tr-slow),
    filter var(--tr);
}
.footer-notfall-card:hover .footer-notfall-card-bg {
  transform: scale(1.14);
  filter: blur(3px) brightness(0.45) saturate(0.75);
}

/* Inhalt-Schicht über dem Bild */
.footer-notfall-card-content {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

/* Icon-Box */
.footer-notfall-card-icon {
  width: 42px;
  height: 42px;
  background: rgba(120, 196, 58, 0.18);
  border: 1px solid rgba(120, 196, 58, 0.35);
  border-radius: var(--r-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-brand);
  margin-bottom: 0.2rem;
  flex-shrink: 0;
}

.footer-notfall-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.footer-notfall-card-desc {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  flex: 1;
}

/* Telefon-Bereich */
.footer-notfall-card-phone {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-notfall-card-number {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}

.footer-notfall-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-brand);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-s);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background var(--tr-fast);
  align-self: flex-start;
}
.footer-notfall-card-btn:hover {
  background: var(--c-brand-hover);
  color: #fff;
}

/* ── Untere Leiste: Copyright ────────────────────────────── */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Mobile: Touch-Ziele für Footer-Buttons vergrößern ───── */
@media (max-width: 48rem) {
  .footer-nav-btn,
  .footer-doctolib-btn,
  .footer-notfall-card-btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
}

/* ============================================================
   LEGAL PAGE – Impressum & Datenschutz
   ============================================================ */

.legal-page {
  padding: 3rem 1rem 4rem;
}
.legal-page-inner {
  max-width: 780px;
  margin: 0 auto;
}
.legal-page-text h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}
.legal-page-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.4rem;
}
.legal-page-text p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.legal-page-text a {
  color: var(--c-brand);
}
.legal-page-text ul,
.legal-page-text ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ============================================================
   PAGE HERO – Shared Liquid Glass Design
   Genutzt von: leistungen, leistungen-detail, sprechzeiten
   ============================================================ */

.page-hero {
  position: relative;
  width: 100%;
}

.page-hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  max-height: 600px;
  overflow: hidden;
}

.page-hero-img-wrap img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center center;
  display: block;
  will-change: transform;
}

.page-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(17, 28, 16, 0.45) 100%
  );
  pointer-events: none;
}

.page-overlap-wrap {
  max-width: var(--max-w);
  margin: -8rem auto 3rem;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 10;
}

.page-overlap-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(26px) saturate(1.8);
  -webkit-backdrop-filter: blur(26px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.page-overlap-title {
  padding: 2rem 2.25rem 1.75rem;
}

.page-overlap-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-overlap-sub {
  margin-top: 0.4rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.page-overlap-text {
  padding: 1.75rem 2.25rem 2rem;
  font-size: 1.025rem;
  line-height: 1.75;
  color: var(--c-text);
}

.page-fallback-header {
  padding: calc(var(--header-h) + 2.5rem) var(--pad-x) 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (max-width: 48rem) {
  .page-hero-img-wrap {
    aspect-ratio: 16 / 9;
    margin-top: var(--header-h);
  }
  .page-overlap-wrap {
    margin-top: -5rem;
  }
  .page-overlap-title {
    padding: 1.25rem 1.5rem 1.25rem;
  }
  .page-overlap-text {
    padding: 1.25rem 1.5rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-img-wrap img {
    will-change: auto;
  }
}
