/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-6);
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-6);
    padding-block: var(--space-7);
  }
}

/* Opt-in modifier (e.g. /ipl-hautverjungerung/) — image above copy when stacked on mobile, image
   left / copy right on desktop. Default .hero (no modifier) is unaffected, so every other page
   keeps its current layout. */
.hero--media-left .hero__copy {
  order: 2;
}

.hero--media-left .hero__media {
  order: 1;
}

/* Any media-left hero (e.g. /ipl-hautverjungerung/, /dauerhafte-haarentfernung/) — smaller
   responsive heading so long headings fit the text column cleanly at every width. */
.hero--media-left .hero__heading {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.05;
}

.hero--legal {
  grid-template-columns: 1fr;
  padding-block: var(--space-6);
  max-width: var(--max-width-narrow);
}

.hero__heading {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-3);
}

.hero__lead p {
  max-width: 56ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero__actions {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero__media {
  min-height: 220px;
}

.hero__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 1024px) {
  .hero__media img {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- Hero: nav-rows + copy panel (e.g. /permanent-make-up/) ---------- */
.hero--copy-beige .hero__copy {
  background: var(--color-beige);
  color: var(--text-primary);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}

/* /permanent-make-up/'s hero wants its whole section (not just the copy panel) in the beige shade,
   a smaller image shifted left, and more width given to the text column — per explicit user
   request. Scoped to the route so no other hero (including other copy-beige heroes) is affected. */
body[data-route="permanent-make-up"] .hero,
body[data-route="dauerhafte-haarentfernung"] .hero,
body[data-route="ipl-hautverjungerung"] .hero {
  background: var(--color-beige);
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(16px, 4vw, 80px);
}

body[data-route="permanent-make-up"] .hero__heading,
body[data-route="dauerhafte-haarentfernung"] .hero__heading,
body[data-route="ipl-hautverjungerung"] .hero__heading {
  font-size: clamp(30px, 3.2vw, 46px);
}

@media (min-width: 1024px) {
  body[data-route="permanent-make-up"] .hero,
  body[data-route="dauerhafte-haarentfernung"] .hero,
  body[data-route="ipl-hautverjungerung"] .hero {
    grid-template-columns: 0.85fr 1.15fr;
  }

  body[data-route="permanent-make-up"] .hero__media,
  body[data-route="dauerhafte-haarentfernung"] .hero__media,
  body[data-route="ipl-hautverjungerung"] .hero__media {
    max-width: 480px;
    justify-self: start;
  }
}

.hero__nav-rows {
  margin-top: var(--space-3);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.hero__nav-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: inherit;
  transition: gap var(--transition-base), color var(--transition-fast);
}

.hero__nav-row:hover,
.hero__nav-row:focus-visible {
  gap: var(--space-3);
  color: var(--color-olive);
}

.hero__nav-row-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.hero__nav-row-label {
  flex: 1 1 auto;
}

.hero__nav-row-arrow {
  flex: 0 0 auto;
  font-size: 1.1rem;
}

/* ---------- PMU detail section (centered heading + alternating media/copy) ---------- */
.pmu-detail {
  scroll-margin-top: 96px;
  /* Overrides the site-wide .section padding-block (var(--space-5)/var(--space-6)) so consecutive
     Augenbrauen/Lippen/Sommersprossen sections don't stack two large paddings into one huge gap
     above each heading, and so that gap now matches the heading's own margin-bottom (var(--space-5)
     = 4rem) below it — per explicit user request for equal spacing above/below. */
  padding-block: 2rem;
}

/* Large centered "display" heading repeated once per treatment section (Augenbrauen/Lippen/
   Sommersprossen), with a subtle load-in. Fully visible with no animation by default; only
   animates when the visitor hasn't asked for reduced motion. No underline/decorative line. */
.pmu-detail__display-heading {
  text-align: center;
  margin-bottom: var(--space-5);
}

.pmu-detail__display-heading span {
  position: relative;
  display: inline-block;
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: no-preference) {
  .pmu-detail__display-heading span {
    opacity: 0;
    transform: translateY(14px);
    animation: pmu-heading-in 650ms var(--ease-premium) forwards;
  }
}

@keyframes pmu-heading-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smaller, plain, non-animated repeat of the same treatment name directly above its description. */
.pmu-detail__inner-heading {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-2);
}

/* Toggle rows are large by default (.accordion__trigger); this page's Augenbrauen toggles want a
   visibly smaller label, scoped to just this section so no other accordion (e.g. the homepage's) is
   affected. */
.pmu-detail__copy .accordion__trigger {
  font-size: clamp(16px, 1.25vw, 20px);
}

/* /aurea-nails/'s FAQ wants visibly smaller toggle labels than the site default, scoped to just
   this section's id so no other accordion is affected. */
#aurea-faq .accordion__trigger {
  font-size: clamp(15px, 1.1vw, 18px);
}

.pmu-detail__grid {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 1024px) {
  .pmu-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
  }

  .pmu-detail__grid--media-left .pmu-detail__media {
    order: 1;
  }

  .pmu-detail__grid--media-left .pmu-detail__copy {
    order: 2;
  }

  .pmu-detail__grid--media-right .pmu-detail__media {
    order: 2;
  }

  .pmu-detail__grid--media-right .pmu-detail__copy {
    order: 1;
  }
}

.pmu-detail__media img,
.pmu-detail__media video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.pmu-detail__missing-media {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-section-alt);
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: var(--space-3);
}

.pmu-detail__copy .accordion {
  margin-top: var(--space-3);
}

.pmu-detail__actions {
  margin-top: var(--space-3);
}

/* ---------- Text sections ---------- */
.text-block {
  max-width: 68ch;
}

.text-block + .text-block {
  margin-top: var(--space-3);
}

.text-block__actions {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.section__copy .text-block,
.section__copy .list-block,
.section__copy .price-list-block {
  max-width: none;
}

.list-block__list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.list-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
}

/* ---------- Numbered features (e.g. /metamorph/'s "Warum METAMORPH?") ---------- */
.numbered-features {
  /* #C59D96 explicitly given by the user for /metamorph/'s "Warum Metamorph?" band — this
     component is exclusive to that page, so no route-scoping needed. */
  background: #c59d96;
  text-align: center;
}

.numbered-features__heading {
  margin: 0 0 var(--space-5);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--color-black);
}

.numbered-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
  text-align: left;
}

@media (min-width: 1024px) {
  .numbered-features__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.numbered-features__num {
  display: block;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(56px, 7vw, 104px);
  color: var(--color-beige);
  margin-bottom: var(--space-1);
}

.numbered-features__text {
  margin: 0;
  font-weight: 700;
  color: var(--color-black);
  font-size: 1.05rem;
  line-height: 1.35;
}

/* ---------- Price list ---------- */
/* .price-list-block is exclusive to /preise/, so centering it (and its heading) here is safe. */
.price-list-block {
  max-width: var(--max-width-narrow);
  margin-inline: auto;
}

.price-list-block .section__heading {
  text-align: center;
  margin-inline: auto;
}

.price-list-block .text-block__actions {
  margin-top: var(--space-3);
  display: flex;
  justify-content: center;
}

.price-list-block__footnote {
  margin-top: var(--space-3);
  text-align: center;
}

.price-list-block__footnote p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-list {
  border-top: 1px solid var(--border-subtle);
}

.price-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-1);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.price-list__row:hover {
  background: rgba(158, 142, 134, 0.08);
}

.price-list__name {
  font-weight: 700;
}

.price-list__note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-list__price {
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-primary);
}

/* ---------- Service card grid (e.g. homepage "Weitere Leistungen") ---------- */
.card-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Fewer than 4 cards (e.g. only Aurea Nails after Metamorph/Bride Beauty were discontinued):
   cap and center the grid instead of leaving empty column-width gaps next to the last card. */
.card-grid--cols-1 {
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
}

@media (min-width: 640px) {
  .card-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .card-grid--cols-1 {
    grid-template-columns: minmax(0, 320px);
  }
  .card-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 320px));
  }
  .card-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: block;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.service-card:hover,
.service-card:focus-visible {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.service-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-section-alt);
}

.service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-card:hover .service-card__photo img {
  transform: scale(1.04);
}

.service-card__body {
  padding: var(--space-3);
}

.service-card__label {
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.service-card__brand {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

/* ---------- Carousel (generic: used standalone for Schulungen, and as the base for the hero) ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.carousel__track {
  display: flex;
  transition: transform 650ms var(--ease-premium);
}

.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 3;
}

.carousel__control:hover,
.carousel__control:focus-visible {
  background: rgba(0, 0, 0, 0.6);
}

.carousel__control--prev {
  left: var(--space-2);
}

.carousel__control--next {
  right: var(--space-2);
}

.carousel__dots {
  position: absolute;
  bottom: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
}

.carousel__dot[aria-selected="true"] {
  background: var(--color-white);
}

.carousel__pause {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-white);
  font-size: 0.7rem;
}

/* ---------- Homepage hero carousel ---------- */
.hero-carousel {
  position: relative;
  min-height: min(78vh, 620px);
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.hero-carousel .carousel__track {
  position: absolute;
  inset: 0;
}

.hero-carousel .carousel__slide {
  position: relative;
  height: 100%;
}

.hero-carousel .carousel__slide img {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

/* The homepage hero photo ("hero-home-new") is a wide landscape shot with the face sitting well
   right-of-center (~70% across). Default center object-position crops that on narrow phone
   viewports, cutting the face off. Scoped to the homepage only (data-route="home") and to mobile
   widths only — other hero-carousel pages/breakpoints are unaffected. */
@media (max-width: 767px) {
  body[data-route="home"] .hero-carousel .carousel__slide img {
    object-position: 72% 35%;
  }
}

.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(94, 85, 68, 0.72) 100%);
  z-index: 1;
}

/* Optional light beige veil layered on top of the base contrast gradient above (e.g. the homepage
   hero, per explicit user request) — additive only, so text contrast from the base overlay is
   unaffected on pages that don't opt in via hero.overlayTint. */
.hero-carousel__overlay--beige {
  background: rgba(211, 198, 192, 0.3);
}

.hero-carousel__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-6) var(--space-5);
}

/* --fullscreen is currently used only by /aurea-nails/, whose hero shows nothing but the centered
   logo (no heading/copy/buttons) over the cover-fit background photo — a shorter, contained hero
   rather than the old near-fullscreen treatment. */
.hero-carousel--fullscreen {
  height: 65svh;
  min-height: 480px;
  align-items: center;
}

.hero-carousel--fullscreen .hero-carousel__content {
  padding-block: 0;
}

.hero-carousel--fullscreen .hero-carousel__logo {
  margin: 0 auto;
}

.hero-carousel--fullscreen .hero-carousel__actions {
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-carousel--fullscreen {
    height: 72svh;
    min-height: 560px;
    max-height: 720px;
  }
}

/* /bride-beauty/ and /metamorph/ heroes want their own slightly shorter height tiers
   (mobile/tablet/desktop) than the Aurea Nails default above — scoped to these routes only via the
   body[data-route] hook so .hero-carousel--fullscreen's shared rule (and Aurea Nails' rendered
   height) is untouched. /metamorph/ added per explicit user request ("hero has to be like bride
   beauty"). */
body[data-route="bride-beauty"] .hero-carousel--fullscreen,
body[data-route="metamorph"] .hero-carousel--fullscreen {
  height: 56svh;
  min-height: 420px;
  max-height: none;
}

@media (min-width: 768px) {
  body[data-route="bride-beauty"] .hero-carousel--fullscreen,
  body[data-route="metamorph"] .hero-carousel--fullscreen {
    height: 62svh;
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  body[data-route="bride-beauty"] .hero-carousel--fullscreen,
  body[data-route="metamorph"] .hero-carousel--fullscreen {
    height: 70svh;
    min-height: 560px;
    max-height: 760px;
  }
}

.hero-carousel__logo {
  display: block;
  height: auto;
  width: clamp(170px, 24vw, 320px);
  margin-bottom: var(--space-3);
}

/* Longer sub-brand intro lines (e.g. Aurea Nails' "Lass uns gemeinsam starten!") read as a
   sentence, not a short tag — drop the pill/border chrome and use plain readable text instead. */
.hero-carousel__eyebrow--under-logo {
  display: block;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.hero-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5em 1.2em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.hero-carousel__heading {
  font-size: clamp(2.1rem, 6vw, 4rem);
  text-transform: uppercase;
  max-width: 18ch;
  margin-bottom: var(--space-3);
}

.hero-carousel__lead p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero-carousel__actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero-carousel .carousel__control,
.hero-carousel .carousel__dots,
.hero-carousel .carousel__pause {
  z-index: 3;
}

@media (min-width: 1024px) {
  .hero-carousel__content {
    padding-block: var(--space-7) var(--space-6);
  }
}

/* ---------- Marquee (e.g. /aurea-nails/'s "behandlungen" scrolling text band) ---------- */
/* width/max-width: 100% + overflow-x: clip are belt-and-braces: .marquee__track is intentionally
   wider than the viewport (two back-to-back copies of the text, see below), and without these the
   track could otherwise inflate this section's own box — and so the whole page's scrollable width —
   instead of just being clipped within it. */
.marquee {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  background: var(--color-beige);
  padding-block: clamp(28px, 5vw, 56px);
}

/* /aurea-nails/'s and /bride-beauty/'s "Behandlungen" marquees want the exact #E1D8CA shade
   explicitly given by the user, rather than the shared .marquee beige — scoped by route (not just
   anchorId, since #behandlungen is reused on /metamorph/ too, which needs a different color). */
body[data-route="aurea-nails"] #behandlungen,
body[data-route="bride-beauty"] #behandlungen {
  background: #e1d8ca;
}

/* /metamorph/'s "Behandlungen" marquee uses its own dominant #C59D96 shade instead. */
body[data-route="metamorph"] #behandlungen {
  background: #c59d96;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  flex-shrink: 0;
  padding-inline-end: 0.4em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 4.8vw, 82px);
  line-height: 1;
  color: var(--color-black);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .marquee__group[aria-hidden='true'] {
    display: none;
  }

  .marquee__group {
    white-space: normal;
    text-align: center;
  }
}

/* ---------- Section title badge (e.g. /aurea-nails/'s "Perfekte Nägel" intro heading, directly
   under the marquee) ---------- */
.section-title {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding-block: clamp(28px, 5vw, 56px);
  padding-inline: clamp(20px, 4vw, 64px);
}

.section-title__badge {
  max-width: 100%;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2.5vw, 26px) clamp(28px, 6vw, 72px);
}

/* Title bands want the border stretched to the full section width instead of hugging just the
   text, per explicit user request — rolled out to every page using this component (confirmed on
   /aurea-nails/, then extended to /bride-beauty/ and /metamorph/). */
body[data-route="bride-beauty"] .section-title__badge,
body[data-route="aurea-nails"] .section-title__badge,
body[data-route="metamorph"] .section-title__badge {
  width: 100%;
}

.section-title__heading {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--color-black);
}

/* ---------- Treatment split: carousel + eyebrow/heading/paragraphs/accordion/button (e.g.
   /aurea-nails/'s "Perfekte Nägel" treatment section) ---------- */
.treatment-split {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.treatment-split__grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .treatment-split__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
  }

  .treatment-split__grid--media-left .treatment-split__media {
    order: 1;
  }

  .treatment-split__grid--media-left .treatment-split__copy {
    order: 2;
  }

  .treatment-split__grid--media-right .treatment-split__media {
    order: 2;
  }

  .treatment-split__grid--media-right .treatment-split__copy {
    order: 1;
  }
}

.treatment-split__copy .accordion {
  margin-top: var(--space-3);
}

/* The toggle icon otherwise sits flush against the trigger's own right edge, so the visible gap
   before it is really the page's standard .container right margin showing through this full-width
   column. Pull the trigger row in so the icon reads closer to the edge, scoped to just this
   section per explicit user request. */
.treatment-split__copy .accordion__trigger {
  margin-right: calc(var(--space-3) * -0.5);
}

@media (min-width: 768px) {
  .treatment-split__copy .accordion__trigger {
    margin-right: calc(var(--space-4) * -0.5);
  }
}

/* ---------- Accordion (e.g. Permanent Make-Up treatments) ---------- */
.accordion {
  border-top: 1px solid var(--border-subtle);
}

.accordion__item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.accordion__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--accent-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.accordion__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.accordion__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.accordion__item.is-open .accordion__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* Closed panels are removed from layout entirely (display:none) — no image, text or Haltbarkeit
   from a collapsed treatment can leak into the page, regardless of its own intrinsic size. */
.accordion__panel {
  display: none;
}

.accordion__panel.is-open {
  display: block;
}

.accordion__panel-inner {
  padding-bottom: var(--space-4);
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 1024px) {
  .accordion__panel-inner {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: var(--space-4);
  }

  /* Toggles with no image have no .accordion__media to fill the first (0.9fr) column, so the
     copy auto-places into that narrow column alone instead of the full row — reads as a big
     empty gap on the right for every text-only toggle at desktop widths. Site-wide fix. */
  .accordion__panel-inner:not(:has(.accordion__media)) {
    grid-template-columns: 1fr;
  }
}

.accordion__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.accordion__meta {
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* ---------- Split intro + carousel (e.g. Schulungen) ---------- */
/* This section wants a wider, more spacious container than the site's default 1200px — scoped
   precisely to the .container that wraps a .split-intro, so no other section is affected. */
.container:has(> .split-intro) {
  max-width: 1400px;
  padding-inline: clamp(20px, 5vw, 80px);
}

.split-intro {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .split-intro {
    grid-template-columns: 55fr 45fr;
    gap: clamp(48px, 4vw, 72px);
    align-items: center;
  }
}

.split-intro__list {
  margin-top: var(--space-3);
  max-width: 62ch;
}

/* Home page's "Schulungen" split-intro wants images before text on mobile only, per explicit user
   request — scoped via anchorId so /schulungen/'s own layout and any other split-intro instance are
   unaffected. Desktop grid order is untouched (reset back to source order at the 1024px breakpoint). */
@media (max-width: 1023.98px) {
  #home-schulungen .split-intro__carousel {
    order: -1;
  }
}

.split-intro__list li {
  max-width: none;
}

.split-intro__closing {
  margin-top: var(--space-3);
  max-width: 62ch;
}

.split-intro__carousel .carousel__slide img {
  aspect-ratio: 3 / 4;
}

@media (min-width: 1024px) {
  .split-intro__carousel .carousel__slide img {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- Centered welcome section (homepage, directly under the hero, solid background) ---------- */
.centered-welcome {
  background: var(--bg-page);
  text-align: center;
  padding-block: var(--space-5);
}

.centered-welcome__inner {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 72px);
}

.centered-welcome__heading {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  .centered-welcome__heading {
    white-space: nowrap;
  }
}

.centered-welcome__subheading {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-primary);
  margin-bottom: var(--space-3);
}

.centered-welcome__lead {
  max-width: 78ch;
  margin-inline: auto;
}

.centered-welcome__lead p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.centered-welcome__button {
  margin-top: var(--space-4);
}

/* ---------- Welcome photo band (homepage, directly under the hero) ---------- */
.photo-text-band {
  position: relative;
  color: var(--text-on-dark);
  overflow: hidden;
  min-height: min(60vh, 480px);
  display: flex;
  align-items: center;
}

.photo-text-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-text-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(94, 85, 68, 0.35) 100%);
}

.photo-text-band .container {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6);
}

.photo-text-band__copy {
  max-width: 56ch;
}

.photo-text-band__copy p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- CTA band with photo background ---------- */
.cta-band--photo {
  position: relative;
  color: var(--text-on-dark);
  overflow: hidden;
  text-align: center;
}

.cta-band--photo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta-band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(94, 85, 68, 0.68));
  z-index: 1;
}

.cta-band--photo .container {
  position: relative;
  z-index: 2;
}

.cta-band__logo {
  height: 72px;
  width: auto;
  margin: 0 auto var(--space-3);
}

/* ---------- Map + Kontakt & Media split (e.g. home page location/contact band) ---------- */
.map-contact {
  display: grid;
}

@media (min-width: 1024px) {
  .map-contact {
    grid-template-columns: 3fr 2fr;
  }
}

.map-contact__map {
  position: relative;
  min-height: 360px;
}

.map-contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.map-contact__panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: var(--color-white);
  background: var(--color-black);
}

.map-contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.map-contact__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5) clamp(24px, 4vw, 64px);
}

.map-contact__heading {
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.map-contact__row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-white);
  text-decoration: none;
}

.map-contact__row:hover {
  text-decoration: underline;
}

.map-contact__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.map-contact__whatsapp {
  display: inline-block;
  align-self: flex-start;
  margin: var(--space-1) 0 var(--space-2);
  padding: 0.75em 1.8em;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-black);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.map-contact__whatsapp:hover {
  background: var(--color-white);
}

/* ---------- Photo CTA (e.g. /aurea-nails/'s closing "Sag Bye Bye..." section) ---------- */
.photo-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding-block: var(--space-5);
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
}

@media (min-width: 768px) {
  .photo-cta {
    min-height: 700px;
  }
}

.photo-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.photo-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.photo-cta__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: clamp(24px, 8vw, 72px);
}

.photo-cta__logo {
  display: block;
  height: auto;
  width: clamp(130px, 17vw, 210px);
  margin: 0 auto var(--space-3);
}

.photo-cta__eyebrow {
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
  max-width: 40ch;
}

.photo-cta__heading {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 3.4vw, 2.05rem);
  line-height: 1.3;
  max-width: 24ch;
  margin: 0 0 var(--space-4);
}

.photo-cta__button {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

.photo-cta__button:hover,
.photo-cta__button:focus-visible {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.gallery__item:hover {
  box-shadow: var(--shadow-card-hover);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform var(--transition-base);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* ---------- Team ---------- */
.team-block .section__heading {
  margin-bottom: var(--space-5);
}

.team-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Fewer than 4 members: cap and center the grid instead of leaving empty column-width gaps. */
.team-grid--cols-1 {
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
}

@media (min-width: 640px) {
  .team-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .team-grid--cols-1 {
    grid-template-columns: minmax(0, 320px);
  }
  .team-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 320px));
  }
  .team-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-section-alt);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.03);
}

.team-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-3);
}

.team-card__name {
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.team-card__button {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.65em;
  padding-bottom: 0.65em;
  padding-inline: 1.3em;
  font-size: 0.78rem;
  white-space: nowrap;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

/* ---------- Testimonials ---------- */
.testimonials__summary {
  margin-bottom: var(--space-4);
  font-size: 1.05rem;
}

.testimonials__grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: var(--space-3);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.testimonial-card__body {
  margin-bottom: var(--space-2);
  white-space: pre-line;
}

.testimonial-card__author {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Testimonials marquee (home page prototype: 3 cards visible, continuously scrolling) —
   same two-duplicated-groups technique as .image-marquee. ---------- */
.testimonials-marquee {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  padding-block: var(--space-3) var(--space-2);
}

.testimonials-marquee__track {
  display: flex;
  width: max-content;
  animation: testimonials-marquee-scroll 70s linear infinite;
}

.testimonials-marquee:hover .testimonials-marquee__track {
  animation-play-state: paused;
}

.testimonials-marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-3);
  padding-inline-end: var(--space-3);
}

.testimonials-marquee__card {
  flex-shrink: 0;
  width: min(360px, 85vw);
}

/* Long reviews get clamped with a "Weiterlesen" toggle (src/scripts/testimonial-clamp.js) so cards
   stay a consistent, readable height instead of towering over shorter ones. */
.testimonials-marquee__card .testimonial-card__body {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonials-marquee__card.is-expanded .testimonial-card__body {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.testimonial-card__toggle {
  display: inline-block;
  margin: 0 0 var(--space-2);
  padding: 0;
  border: none;
  background: none;
  color: var(--color-taupe);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .testimonials-marquee__card {
    width: calc((min(1200px, 100vw) - 2 * var(--space-3)) / 3);
  }
}

@keyframes testimonials-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee__track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonials-marquee__group[aria-hidden='true'] {
    display: none;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}

.cta-band__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  max-width: 24ch;
  margin-inline: auto;
}

/* Photo CTA band wants a smaller heading than the site-wide default, approved 2026-08-04 for every
   page except /schulungen/ (which keeps its own separate contact-form closing section instead). */
body:not([data-route="schulungen"]) .cta-band__heading {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
}

/* ---------- Instagram band ---------- */
.instagram-band {
  text-align: center;
}

.instagram-band .section__heading {
  margin-inline: auto;
}

.instagram-band__handle {
  display: inline-block;
  margin-top: var(--space-2);
  color: var(--accent-primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}

.instagram-band__handle:hover,
.instagram-band__handle:focus-visible {
  color: var(--text-muted);
}

/* ---------- Contact form (e.g. /preise/'s "KONTAKTFORMULAR") ---------- */
.contact-form-band {
  position: relative;
  display: grid;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
  padding-block: var(--space-5);
}

@media (min-width: 768px) {
  .contact-form-band {
    padding-inline: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .contact-form-band {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding-block: var(--space-6);
  }
}

.contact-form-band__media {
  min-height: 280px;
}

.contact-form-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-form-band__card {
  position: relative;
  z-index: 1;
  background: var(--color-cream);
  padding: var(--space-4) clamp(20px, 4vw, 48px);
  margin-inline: var(--space-3);
  margin-top: calc(-1 * var(--space-4));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 1024px) {
  .contact-form-band__card {
    margin-inline: clamp(-56px, -5vw, -24px) 0;
    margin-top: 0;
    align-self: center;
    padding: var(--space-5) clamp(32px, 5vw, 64px);
  }
}

.contact-form-band__heading {
  margin: 0 0 var(--space-4);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--text-primary);
}

.contact-form__grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-form__label {
  display: block;
  margin-bottom: var(--space-1);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--color-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 1px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 128px;
  font-family: var(--font-body);
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5em;
}

.contact-form__submit {
  margin-top: var(--space-3);
  width: 100%;
  border: 0;
  cursor: pointer;
}

@media (min-width: 480px) {
  .contact-form__submit {
    width: auto;
  }
}

/* ---------- Icon card grid (e.g. /schulungen/'s 6-item feature grid) ---------- */
.icon-card-grid {
  background: var(--color-pale);
}

.icon-card-grid__grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .icon-card-grid__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.icon-card {
  background: var(--color-beige);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
  text-align: center;
}

.icon-card__icon {
  width: 40px;
  height: 40px;
  fill: var(--color-black);
  margin: 0 auto var(--space-2);
  display: block;
}

.icon-card__heading {
  margin: 0 0 var(--space-1);
  font-size: 1.15rem;
  font-weight: 700;
}

.icon-card__text {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ---------- Image marquee (e.g. /schulungen/'s training-moments gallery) — continuously-scrolling
   multi-image strip, same technique as .marquee's text loop (two back-to-back copies animated via
   translateX, second copy aria-hidden, paused on hover). ---------- */
.image-marquee {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  background: var(--color-pale);
  padding-block: var(--space-4);
}

.image-marquee__track {
  display: flex;
  width: max-content;
  animation: image-marquee-scroll 34s linear infinite;
}

.image-marquee:hover .image-marquee__track {
  animation-play-state: paused;
}

.image-marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-3);
  padding-inline-end: var(--space-3);
}

.image-marquee__item {
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.image-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes image-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-marquee__track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .image-marquee__group[aria-hidden='true'] {
    display: none;
  }
}

/* ---------- Quote carousel (e.g. /schulungen/'s 4 review quotes) ---------- */
.quote-carousel-band {
  text-align: center;
}

.quote-carousel {
  max-width: var(--max-width-narrow);
  margin-inline: auto;
}

.quote-carousel__slide {
  padding: var(--space-4) var(--space-5);
}

.quote-carousel__text {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
}

/* ---------- Instructor split (e.g. /schulungen/'s "DEINE DOZENTIN") ---------- */
.instructor-split {
  background: var(--color-pale);
}

.instructor-split__inner {
  position: relative;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
  padding-block: var(--space-5);
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .instructor-split__inner {
    padding-inline: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .instructor-split__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    padding-block: var(--space-6);
  }
}

.instructor-split__card {
  position: relative;
  z-index: 1;
  background: var(--color-beige);
  padding: var(--space-5) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .instructor-split__card {
    margin-right: clamp(-64px, -6vw, -24px);
  }
}

.instructor-split__eyebrow {
  margin: 0 0 var(--space-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.instructor-split__heading {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.instructor-split__media {
  min-height: 280px;
}

/* Mobile shows the photo before the text card, per explicit user request — desktop keeps its
   existing card-left/media-right order (no override needed above 1024px). */
@media (max-width: 1023.98px) {
  .instructor-split__media {
    order: -1;
  }
}

.instructor-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ---------- Photo tag-cards (e.g. /schulungen/'s "3 Tage..." Tag 1/2/3 section) ---------- */
.photo-tag-cards {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
}

.photo-tag-cards__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.photo-tag-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.photo-tag-cards__container {
  position: relative;
  z-index: 2;
  padding-block: var(--space-6);
}

.photo-tag-cards__heading {
  margin: 0 0 var(--space-2);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.photo-tag-cards__lead {
  margin: 0 0 var(--space-5);
  font-weight: 700;
  font-size: 0.95rem;
}

.photo-tag-cards__grid {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .photo-tag-cards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-tag-card {
  padding: var(--space-5) var(--space-3);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.photo-tag-card--highlight {
  background: var(--color-beige);
  color: var(--text-primary);
}

.photo-tag-card__title,
.photo-tag-card__subtitle {
  margin: 0 0 var(--space-1);
  font-size: 1.25rem;
  font-weight: 700;
}

.photo-tag-card__text {
  margin: var(--space-2) 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

/* /schulungen/'s "Du willst Veränderung?" text + list pair wants to be centered with a matching
   background, per explicit user request — scoped via anchorId so other pages' plain text/list
   sections are unaffected. */
#veraenderung-cta,
#veraenderung-cta-list {
  background: var(--bg-section-alt);
}

#veraenderung-cta {
  text-align: center;
  padding-bottom: var(--space-2);
}

#veraenderung-cta-list {
  padding-top: var(--space-2);
}

#veraenderung-cta .text-block {
  max-width: none;
  margin-inline: auto;
}

#veraenderung-cta .section__heading,
#veraenderung-cta p {
  margin-inline: auto;
}

#veraenderung-cta-list .container {
  display: flex;
  justify-content: center;
}

#veraenderung-cta-list .list-block {
  width: fit-content;
  max-width: none;
}

#veraenderung-cta-list .list-block__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
}

#veraenderung-cta-list .list-block__list li {
  margin-bottom: 0;
}

/* Home page's "Permanent Make-Up" / "Dauerhafte Haarentfernung" / "IPL / Hautverjüngung" section
   headings want a smaller size than the site-wide .section__heading default, per explicit user
   request — scoped via anchorId so other pages' section headings are unaffected. */
#unsere-leistungen .section__heading,
#home-dauerhafte-haarentfernung .section__heading,
#home-ipl .section__heading {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

/* ---------- Simple contact form (e.g. /schulungen/'s "Du hast Fragen?" form) ---------- */
.simple-contact-form {
  display: grid;
  background: var(--color-pale);
}

@media (min-width: 1024px) {
  .simple-contact-form {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.simple-contact-form__media {
  min-height: 320px;
}

.simple-contact-form__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.simple-contact-form__copy {
  padding: var(--space-5) clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.simple-contact-form__heading {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
}

.simple-contact-form__heading span {
  display: block;
}

.simple-contact-form__lead {
  margin: 0 0 var(--space-3);
  color: var(--text-muted);
}

/* /aurea-nails/'s intro section wants a two-tone full-bleed background (pale main + a beige band
   behind the portrait) and the portrait breaking slightly outside its grid column, per explicit
   user reference. Scoped via anchorId since introSplit is shared with /bride-beauty/ and
   /metamorph/. */
#aurea-intro {
  position: relative;
  background: var(--bg-page);
  overflow: hidden;
}

#aurea-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  left: auto;
  width: 32%;
  background: #e1d8ca;
}

#aurea-intro .container {
  position: relative;
}

@media (min-width: 1024px) {
  #aurea-intro .intro-split__grid {
    grid-template-columns: 70fr 30fr;
  }

  #aurea-intro .intro-split__media {
    margin-left: -7vw;
    margin-block: -3rem;
  }

  #aurea-intro .intro-split__copy {
    padding-right: var(--space-5);
  }
}

/* /bride-beauty/'s post-hero intro wants the same two-tone background + image-breakout treatment as
   /aurea-nails/'s #aurea-intro, with the same dominant #E1D8CA band color, per explicit user
   request. */
#bride-intro {
  position: relative;
  background: var(--bg-page);
  overflow: hidden;
}

#bride-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  left: auto;
  width: 32%;
  background: #e1d8ca;
}

#bride-intro .container {
  position: relative;
}

@media (min-width: 1024px) {
  #bride-intro .intro-split__grid {
    grid-template-columns: 70fr 30fr;
  }

  #bride-intro .intro-split__media {
    margin-left: -7vw;
    margin-block: -3rem;
  }

  #bride-intro .intro-split__copy {
    padding-right: var(--space-5);
  }
}

/* /bride-beauty/'s FAQ section wants the exact #D6CBBD shade explicitly given by the user. */
#bride-beauty-faq {
  background: #d6cbbd;
}

/* /metamorph/'s post-hero intro wants the same two-tone background + image-breakout treatment as
   /aurea-nails/'s #aurea-intro, but with its own dominant #C59D96 shade, per explicit user
   request. */
#metamorph-intro {
  position: relative;
  background: var(--bg-page);
  overflow: hidden;
}

#metamorph-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  left: auto;
  width: 32%;
  background: #c59d96;
}

#metamorph-intro .container {
  position: relative;
}

@media (min-width: 1024px) {
  #metamorph-intro .intro-split__grid {
    grid-template-columns: 70fr 30fr;
  }

  #metamorph-intro .intro-split__media {
    margin-left: -7vw;
    margin-block: -3rem;
  }

  #metamorph-intro .intro-split__copy {
    padding-right: var(--space-5);
  }
}

/* /metamorph/'s FAQ section wants the same dominant #C59D96 shade as its intro/marquee. */
#metamorph-faq {
  background: #c59d96;
}
