/* ==============================================
   Zahnarztpraxis Memisi – Stylesheet
   ============================================== */

/* ── Local font ── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ── Legacy (kept for compatibility) ── */
  --c-white: #FFFFFF;
  --c-text: #0C2921;

  /* ── Dark surface palette ── */
  --c-bg: #0d0d0d;
  /* all section backgrounds     */
  --c-surface-1: #1a1a1e;
  /* level-1 cards (review)      */
  --c-surface-2: #1e1e22;
  /* level-2 cards (service)     */
  --c-surface-3: #2a2a2e;
  /* level-3 anthracite surfaces */
  --c-surface-4: #363640;
  /* level-4 (avatars, img fill) */

  /* ── Borders ── */
  --c-border: rgba(255, 255, 255, .07);
  --c-border-hi: rgba(255, 255, 255, .18);

  /* ── Text on dark ── */
  --c-txt-1: #ffffff;
  /* headings / primary          */
  --c-txt-2: rgba(255, 255, 255, .70);
  /* body / secondary            */
  --c-txt-3: rgba(255, 255, 255, .45);
  /* muted                       */
  --c-txt-4: rgba(255, 255, 255, .30);
  /* labels / very muted         */

  /* ── Typography & layout ── */
  --f-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  --navbar-h: 100px;
  --max-w: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);

  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --dur: 220ms;

  /* ── Shape ── */
  --radius-card: 5px;

  /* ── Typography scale ── */
  --fs-label: 0.88rem;
  --fs-title: clamp(1.9rem, 4vw, 2.8rem);
  --fs-sub: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

/* Scrollbar auf Desktop/Tablet verstecken */
@media (min-width: 769px) {
  html {
    scrollbar-width: none; /* Firefox */
  }

  html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }
}

body {
  font-family: var(--f-family);
  background: var(--c-white);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
}


/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(70, 70, 70, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12) inset,
    0 4px 24px rgba(0, 0, 0, .20);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  overflow: visible;
  animation: navbar-slide-down .7s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes navbar-slide-down {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--navbar-h);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  column-gap: 1.5rem;
}

/* ── Logo ──────────────────────────────────── */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 78px;
  width: auto;
  object-fit: contain;
  display: block;
  /* subtle drop shadow so logo reads on any background */
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.logo-tagline {
  font-size: .72rem;
  font-weight: 500;
  color: var(--c-txt-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* ── Nav links ─────────────────────────────── */
.navbar__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-white);
  padding: .55rem 1.1rem;
  border-radius: 6px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color var(--dur) ease, background var(--dur) ease;
}

/* white underline — grows from center on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 70%;
  height: 2px;
  background: rgba(255, 255, 255, .75);
  border-radius: 2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform var(--dur) var(--ease-bounce);
}

.nav-link:hover {
  color: #fff;
  background: transparent;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ── Right: CTA + hamburger ────────────────── */
.navbar__right {
  display: flex;
  align-items: center;
  gap: .75rem;
  justify-content: flex-end;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--f-family);
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-surface-1);
  padding: .65rem 1.5rem;
  border-radius: 100px;
  letter-spacing: .015em;
  white-space: nowrap;
  border: 1px solid var(--c-border-hi);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .35),
    0 1px 0 rgba(255, 255, 255, .08) inset;
  transition:
    background var(--dur) ease,
    transform var(--dur) var(--ease-bounce),
    box-shadow var(--dur) ease;
}

.btn-book::before {
  display: none;
}

.btn-book:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}

.btn-book:active {
  transform: translateY(0);
}

/* ── Hamburger (mobile only) ───────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: .6rem;
  transition: opacity var(--dur) ease;
}

.hamburger:hover {
  opacity: .65;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--dur) ease, opacity var(--dur) ease;
}

/* ── Verstecke Booking-Button auf kleinen Phones damit Hamburger sichtbar bleibt */
/* ── Mobile ≤ 1200px ───────────────────────── */
@media (max-width: 1200px) {
  .navbar__inner {
    display: flex;
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
  }

  .navbar__links {
    display: none;
    position: absolute;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(90, 90, 90, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1.25rem var(--pad-x) 2rem;
    gap: 1.1rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  .navbar__links.is-open {
    display: flex;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: .85rem 2rem;
    border-radius: 10px;
    width: 100%;
    text-align: center;
  }

  .nav-link::after {
    display: none;
  }

  .logo-text {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

.hero__overlay,
.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.0);
  }

  to {
    transform: scale(1.14);
  }
}

/* Text content — vertically centered with slight downward nudge */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--navbar-h) + 2rem) 1.5rem 0;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero__tagline {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-txt-2);
  margin-bottom: .75rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
  animation: hero-fade-up .7s .5s cubic-bezier(.22, .61, .36, 1) both;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-txt-1);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  animation: hero-fade-up .7s .75s cubic-bezier(.22, .61, .36, 1) both;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--c-txt-2);
  letter-spacing: .02em;
  animation: hero-fade-up .7s 1s cubic-bezier(.22, .61, .36, 1) both;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}

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

/* stagger siblings */
.services__grid .reveal:nth-child(2) {
  transition-delay: .08s;
}

.services__grid .reveal:nth-child(3) {
  transition-delay: .16s;
}

.services__grid .reveal:nth-child(4) {
  transition-delay: .24s;
}

.services__grid .reveal:nth-child(5) {
  transition-delay: .32s;
}

.services__grid .reveal:nth-child(6) {
  transition-delay: .40s;
}

.services__grid .reveal:nth-child(7) {
  transition-delay: .48s;
}

.services__grid .reveal:nth-child(8) {
  transition-delay: .56s;
}

.services__grid .reveal:nth-child(9) {
  transition-delay: .64s;
}


/* ═══════════════════════════════════════════
   INTRO STRIP
═══════════════════════════════════════════ */

.intro-strip {
  background: var(--c-bg);
  padding: 3rem var(--pad-x) 2.5rem;
}

.intro-strip__inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.intro-strip__text {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--c-txt-2);
  line-height: 1.85;
}

.intro-highlight {
  font-weight: 800;
  color: var(--c-txt-1);
  font-style: normal;
}

@media (max-width: 600px) {
  .intro-strip {
    padding: 2.5rem var(--pad-x);
  }

  .intro-strip__text {
    font-size: var(--fs-sub);
  }
}


/* ═══════════════════════════════════════════
   PROPHYLAXE PROMO
═══════════════════════════════════════════ */

.promo {
  background: var(--c-bg);
  padding: 5rem var(--pad-x);
}

.promo__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.promo__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.promo__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.promo__media:hover .promo__video {
  transform: scale(1.02);
}

.promo__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.promo__text .section-label {
  color: var(--c-txt-4);
}

.promo__title {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--c-txt-4);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.promo__title-accent {
  color: var(--c-txt-1);
  display: block;
}

.promo__body {
  font-size: var(--fs-sub);
  color: var(--c-txt-3);
  line-height: 1.85;
  max-width: 46ch;
}

.promo__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--c-txt-1);
  color: var(--c-bg);
  font-size: .95rem;
  font-weight: 700;
  padding: .85rem 2.25rem;
  border-radius: 100px;
  letter-spacing: .015em;
  align-self: flex-start;
  font-family: var(--f-family);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.promo__btn:hover {
  background: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, .08);
}

@media (max-width: 900px) {
  .promo__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .promo {
    padding: 3.5rem var(--pad-x);
  }
}


/* ═══════════════════════════════════════════
   LEISTUNGEN / SERVICES
═══════════════════════════════════════════ */

.services {
  background: var(--c-bg);
  padding: 5rem var(--pad-x);
}

/* Section header on dark background */
.services .section-label,
.team .section-label {
  color: var(--c-txt-4);
}

.services .section-title,
.team .section-title {
  color: #fff;
}

.services .section-sub,
.team .section-sub {
  color: var(--c-txt-3);
}

/* Arrows on dark background */
.services .carousel__arrow {
  color: var(--c-txt-3);
}

.services .carousel__arrow:hover {
  color: #fff;
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.services .carousel__dot {
  background: rgba(255, 255, 255, .2);
}

.services .carousel__dot.is-active {
  background: #fff;
}

.services__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-location {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: #888;
  background: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: .9rem;
  letter-spacing: .03em;
}

.section-label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-txt-3);
  margin-bottom: .85rem;
}

.section-title {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.section-sub {
  font-size: var(--fs-sub);
  color: #888;
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── Carousel wrapper ── */
.carousel-wrap {
  position: relative;
  padding-inline: 3rem;
}

.carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  padding: 12px 0 3.5rem;
  margin-top: -12px;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* ── Dots ── */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, transform .3s ease;
}

.carousel__dot.is-active {
  background: var(--c-txt-1);
  transform: scale(1.35);
}

/* ── Arrows ── */
.carousel__arrow {
  position: absolute;
  top: calc(50% - 1.75rem);
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(0, 0, 0, .35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color .2s ease, transform .2s ease;
  z-index: 2;
}

.carousel__arrow svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.carousel__arrow--prev {
  left: 0;
}

.carousel__arrow--next {
  right: 0;
}

.carousel__arrow:hover {
  color: var(--c-txt-1);
  transform: translateY(-50%) scale(1.15);
  background: transparent;
  box-shadow: none;
}

/* ── Card ── */
.service-card {
  position: relative;
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  overflow: hidden;
  cursor: default;
  transition:
    transform .35s cubic-bezier(.22, .61, .36, 1),
    box-shadow .35s ease,
    border-color .35s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 40%,
      rgba(255, 255, 255, .07) 50%,
      transparent 60%);
  background-size: 200% 100%;
  background-position: 200% center;
  border-radius: inherit;
  pointer-events: none;
  transition: background-position .65s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .5);
  border-color: var(--c-border-hi);
}

.service-card__line {
  display: none;
}

/* Icon */
.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--c-txt-4);
  transition: color .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.service-card:hover .service-card__icon {
  color: #fff;
  transform: scale(1.1);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

/* Text */
.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.service-card__text {
  font-size: var(--fs-sub);
  color: var(--c-txt-3);
  line-height: 1.75;
  flex: 1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .service-card {
    flex: 0 0 calc(50% - .75rem);
  }
}

@media (max-width: 560px) {
  .services {
    padding: 3.5rem var(--pad-x);
  }

  .service-card {
    flex: 0 0 calc(100% - 0rem);
  }
}


/* ═══════════════════════════════════════════
   PARTNER
═══════════════════════════════════════════ */

.partner {
  background: var(--c-bg);
  padding: 5rem var(--pad-x);
}

.partner__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Image (left column) ── */
.partner__img-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.partner__img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center;
}

.partner__img-wrap.is-visible .partner__img {
  animation: partner-zoom 14s ease-in-out infinite alternate;
}

@keyframes partner-zoom {
  from {
    transform: scale(1.0);
  }

  to {
    transform: scale(1.08);
  }
}

.partner__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.partner__text .section-label {
  color: var(--c-txt-4);
}

.partner__title {
  font-size: var(--fs-title);
  font-weight: 800;
  color: var(--c-txt-4);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.partner__title-accent {
  color: var(--c-txt-1);
  display: block;
}

.partner__body {
  font-size: var(--fs-sub);
  color: var(--c-txt-3);
  line-height: 1.85;
  max-width: 46ch;
}

.partner__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--c-txt-1);
  color: var(--c-bg);
  font-size: .95rem;
  font-weight: 700;
  padding: .85rem 2.25rem;
  border-radius: 100px;
  letter-spacing: .015em;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  align-self: flex-start;
  font-family: var(--f-family);
}

.partner__btn:hover {
  background: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, .08);
}

/* ── Stats grid ── */
.partner__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.partner__stat {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: border-color .3s ease;
}

.partner__stat:hover {
  border-color: var(--c-border-hi);
}

.partner__stat:last-child {
  grid-column: 1 / -1;
}

.partner__stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c-txt-1);
  letter-spacing: -.04em;
  line-height: 1;
}

.partner__stat-label {
  font-size: .88rem;
  color: var(--c-txt-3);
  font-weight: 500;
}

@media (max-width: 768px) {
  .partner__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .partner__img-wrap {
    aspect-ratio: 16 / 9;
    max-height: 380px;
  }
}

@media (max-width: 560px) {
  .partner {
    padding: 3.5rem var(--pad-x);
  }

  .partner__img-wrap {
    aspect-ratio: 4 / 3;
    max-height: 280px;
  }
}


/* ═══════════════════════════════════════════
   UNSERE PRAXIS
═══════════════════════════════════════════ */

.praxis {
  background: var(--c-bg);
  padding: 5rem var(--pad-x);
}

.praxis .section-label {
  color: var(--c-txt-4);
}

.praxis .section-title {
  color: #fff;
}

.praxis .section-sub {
  color: var(--c-txt-3);
}

.praxis__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.praxis-gallery-wrap {
  position: relative;
  padding-inline: 3rem;
}

.praxis-gallery {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  padding: 12px 0 1rem;
  margin-top: -12px;
}

.praxis-gallery__track {
  display: flex;
  gap: 1rem;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.praxis-gallery__slide {
  position: relative;
  flex: 0 0 calc(33.333% - 0.667rem);
  height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.praxis-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.praxis-gallery__slide:hover .praxis-gallery__img {
  transform: scale(1.05);
}

.praxis-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

/* Arrows */
.praxis-gallery__arrow {
  position: absolute;
  top: calc(50% - .5rem);
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, .4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color .2s ease, transform .2s ease;
  z-index: 2;
}

.praxis-gallery__arrow svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.praxis-gallery__arrow--prev {
  left: 0;
}

.praxis-gallery__arrow--next {
  right: 0;
}

.praxis-gallery__arrow:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.15);
}

/* Dots */
.praxis-gallery__dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.5rem;
}

.praxis-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, transform .3s ease;
}

.praxis-gallery__dot.is-active {
  background: #fff;
  transform: scale(1.35);
}

@media (max-width: 900px) {
  .praxis-gallery__slide {
    flex: 0 0 calc(50% - .5rem);
    height: 240px;
  }
}

@media (max-width: 560px) {
  .praxis {
    padding: 3.5rem var(--pad-x);
  }

  .praxis-gallery__slide {
    flex: 0 0 100%;
    height: 220px;
  }
}


/* ═══════════════════════════════════════════
   UNSER TEAM
═══════════════════════════════════════════ */

.team {
  background: var(--c-bg);
  padding: calc(5rem + 3rem) var(--pad-x) 5rem;
  clip-path: polygon(0 3rem, 100% 0, 100% 100%, 0 100%);
  margin-top: -3rem;
  position: relative;
  z-index: 1;
}

.team__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ── Chief — larger card, full image ── */
.team-chief {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 2.5rem;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .14);
}

.team-chief__img-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--c-surface-1);
  position: relative;
}

.team-chief__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.team-chief:hover .team-chief__img {
  transform: scale(1.06);
}

.team-chief__body {
  background: var(--c-surface-3);
  padding: .65rem .85rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.team-chief__badge {
  display: inline-block;
  width: fit-content;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--c-txt-2);
  margin-bottom: .05rem;
}

.team-chief__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.team-chief__role {
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--c-txt-2);
}

/* ── Team grid ── */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 1rem;
  column-gap: 1rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
  cursor: default;
}

.team-card:hover {
  transform: translateY(-5px);
}

/* ── Portrait image */
.team-card__img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: var(--c-surface-4);
  position: relative;
}

.team-card__img-wrap--fallback {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__img-wrap--fallback svg {
  width: 100%;
  height: 100%;
  display: block;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.team-card:hover .team-card__img {
  transform: scale(1.06);
}

.team-card__body {
  width: 100%;
  background: var(--c-surface-3);
  padding: .65rem .85rem .75rem;
  border-radius: 0 0 5px 5px;
}

.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: .15rem;
}

.team-card__role {
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-txt-2);
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .team {
    padding: calc(3.5rem + 3rem) var(--pad-x) 3.5rem;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ═══════════════════════════════════════════
   BEWERTUNGEN
═══════════════════════════════════════════ */

.reviews {
  background: var(--c-bg);
  padding: 5rem var(--pad-x);
  position: relative;
  z-index: 1;
}


/* Section header on dark reviews background */
.reviews .section-label {
  color: var(--c-txt-4);
}

.reviews .section-title {
  color: #fff;
}

.reviews .section-sub {
  color: var(--c-txt-3);
}

.reviews__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.reviews-carousel-wrap {
  position: relative;
  padding-inline: 2.5rem;
}

.reviews-carousel {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 1.5rem;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

/* Card */
.review-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--c-surface-1);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), border-color .35s ease, box-shadow .35s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-border-hi);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}

/* Stars */
.review-card__stars {
  font-size: 1.1rem;
  color: var(--c-txt-2);
  letter-spacing: .1em;
  display: flex;
  gap: .1em;
}

.review-card__stars .star {
  display: inline-block;
  opacity: 0;
  transform: scale(0.3) translateY(4px);
}

.review-card.is-visible .star {
  animation: star-pop .45s var(--ease-bounce) forwards;
}

.review-card.is-visible .star:nth-child(1) {
  animation-delay: .05s;
}

.review-card.is-visible .star:nth-child(2) {
  animation-delay: .15s;
}

.review-card.is-visible .star:nth-child(3) {
  animation-delay: .25s;
}

.review-card.is-visible .star:nth-child(4) {
  animation-delay: .35s;
}

.review-card.is-visible .star:nth-child(5) {
  animation-delay: .45s;
}

@keyframes star-pop {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(4px);
  }

  70% {
    transform: scale(1.25) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Quote */
.review-card__text {
  font-size: 1.05rem;
  color: var(--c-txt-2);
  line-height: 1.8;
  font-style: normal;
  max-width: 72ch;
}

/* Author */
.review-card__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: auto;
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-surface-4);
  color: var(--c-txt-2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__name {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

.review-card__meta {
  display: block;
  font-size: .78rem;
  color: var(--c-txt-4);
  margin-top: .1rem;
}

/* Arrows */
.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--c-txt-4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color .2s ease;
  z-index: 2;
}

.reviews__arrow svg {
  width: 26px;
  height: 26px;
}

.reviews__arrow--prev {
  left: 0;
}

.reviews__arrow--next {
  right: 0;
}

.reviews__arrow:hover {
  color: #fff;
}

/* Dots */
.reviews__dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.75rem;
}

.reviews__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, transform .3s ease;
}

.reviews__dot.is-active {
  background: #fff;
  transform: scale(1.4);
}

@media (max-width: 560px) {
  .reviews {
    padding: calc(3.5rem + 3rem) var(--pad-x) 3.5rem;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .reviews {
    padding: calc(3.5rem + 3rem) var(--pad-x) 3.5rem;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 2rem 1.5rem;
  }
}



/* ═══════════════════════════════════════════
   CTA — TERMIN BUCHEN
═══════════════════════════════════════════ */

.cta-book {
  background: var(--c-bg);
  padding: 5rem var(--pad-x);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-book__inner {
  max-width: 640px;
  margin-inline: auto;
}

.cta-book__label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-txt-4);
  margin-bottom: 1rem;
}

.cta-book__title {
  font-size: var(--fs-title);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.cta-book__sub {
  font-size: var(--fs-sub);
  color: var(--c-txt-3);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-book__btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-family);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  background: #fff;
  padding: 1.1rem 3rem;
  border-radius: 100px;
  letter-spacing: .02em;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
  transition: background .2s ease, transform .2s var(--ease-bounce), box-shadow .2s ease;
  animation: btn-glow 3.5s ease-in-out infinite;
}

@keyframes btn-glow {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
  }

  50% {
    box-shadow: 0 4px 40px rgba(255, 255, 255, .22), 0 4px 24px rgba(0, 0, 0, .3);
  }
}

.cta-book__btn:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

@media (max-width: 560px) {
  .cta-book {
    padding: 3.5rem var(--pad-x);
  }
}


/* ═══════════════════════════════════════════
   STANDORT
═══════════════════════════════════════════ */

.location {
  background: var(--c-bg);
}

.location__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 480px;
}

.location__info {
  padding: 5rem var(--pad-x) 5rem clamp(1.25rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  background: var(--c-bg);
}

/* Section label/title overrides on dark location */
.location .section-label {
  color: var(--c-txt-4);
}

.location__title {
  font-size: var(--fs-title);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.location__address {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-style: normal;
  font-size: var(--fs-sub);
  color: var(--c-txt-2);
  line-height: 1.7;
}

.location__address svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, .4);
  flex-shrink: 0;
}

.location__desc {
  font-size: var(--fs-sub);
  color: var(--c-txt-3);
  line-height: 1.75;
  max-width: 34ch;
}

.location__address--link {
  text-decoration: none;
  transition: color .2s ease;
}

.location__address--link:hover {
  color: var(--c-txt-1);
}

.location__contact-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.location__link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: var(--fs-sub);
  font-weight: 500;
  color: var(--c-txt-2);
  transition: color .2s ease;
  text-decoration: none;
}

.location__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .4);
}

.location__link:hover {
  color: var(--c-txt-1);
}

/* ── Öffnungszeiten ── */
.location__hours {
  border-top: 1px solid var(--c-border);
  padding-top: 1.25rem;
  width: 100%;
}

.location__hours-title {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-txt-4);
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.location__hours-title svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .4);
}

.location__hours-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.location__hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sub);
}

.location__hours-list li span:first-child {
  color: var(--c-txt-3);
}

.location__hours-list li span:last-child {
  color: var(--c-txt-2);
}

.location__hours-appointment span:last-child {
  font-style: italic;
}

/* ── Termin buchen Button ── */
.location__book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-txt-1);
  color: var(--c-bg);
  font-family: var(--f-family);
  font-size: .95rem;
  font-weight: 700;
  padding: .85rem 2.25rem;
  border-radius: 100px;
  letter-spacing: .015em;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  align-self: center;
}

.location__book-btn:hover {
  background: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, .08);
}

.location__map {
  position: relative;
  min-height: 480px;
}

.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(1);
  pointer-events: none; /* kein Scrollen / Swipen */
}

/* Transparentes Overlay über der Karte – klickbar, verhindert iframe-Interaktion */
.map-click-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}

@media (max-width: 768px) {
  .location__inner {
    grid-template-columns: 1fr;
  }

  .location__info {
    padding: 3.5rem var(--pad-x);
    text-align: center;
    align-items: center;
  }

  .location__address {
    justify-content: center;
  }

  .location__map {
    min-height: 320px;
  }

  /* Öffnungszeiten: Block zentriert, Inhalt linksbündig */
  .location__hours {
    max-width: 280px;
    margin-inline: auto;
  }

  .location__hours-title {
    justify-content: center;
    text-align: center;
  }

  .location__link {
    justify-content: center;
  }

  .location__hours-list li {
    justify-content: space-between;
    gap: 1rem;
  }

  .location__hours-list li span:last-child {
    text-align: right;
  }
}


/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */

.site-footer {
  background: var(--c-bg);
  color: var(--c-txt-2);
  border-top: 1px solid var(--c-border);
}

.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 5rem var(--pad-x) 3.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand__logo {
  display: block;
  margin-bottom: 1.25rem;
}

.footer-brand__img {
  height: 78px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-brand__tagline {
  font-size: var(--fs-label);
  line-height: 1.75;
  color: var(--c-txt-2);
  text-align: center;
  align-self: center;
}

/* Columns */
.footer-col__heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-txt-3);
  margin-bottom: 1.25rem;
}

.footer-col__heading--icon {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.footer-col__heading--icon svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .3);
}

.footer-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-col__list a,
.footer-col__list span {
  font-size: .88rem;
  color: var(--c-txt-2);
  transition: color .2s ease;
}

.footer-col__list a:hover {
  color: #fff;
}

/* Contact list */
.footer-col__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.footer-col__list--contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .3);
  margin-top: .15rem;
}

/* Hours list */
.footer-col__list--hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .88rem;
}

.footer-col__list--hours li span:first-child {
  color: var(--c-txt-3);
}

.footer-col__list--hours li span:last-child {
  color: var(--c-txt-2);
  text-align: right;
}

.footer-hours-closed span:last-child {
  color: var(--c-txt-2);
}

/* Bottom bar */
.site-footer__bar {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1.5rem var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: .78rem;
  color: var(--c-txt-3);
}

.site-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.site-footer__legal a {
  font-size: .78rem;
  color: var(--c-txt-3);
  transition: color .2s ease;
}

.site-footer__legal a:hover {
  color: var(--c-txt-2);
}

/* Responsive */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    padding-bottom: 2.5rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Spalten-Überschriften zentrieren */
  .footer-col__heading {
    text-align: center;
  }

  .footer-col__heading--icon {
    justify-content: center;
  }

  /* Listen-Elemente zentrieren */
  .footer-col__list {
    align-items: center;
  }

  .footer-col__list--contact li {
    justify-content: center;
  }

  .footer-col__list--contact svg {
    display: none;
  }

  /* Öffnungszeiten: Block zentriert, Tage links, Zeiten rechts */
  .footer-col__list--hours {
    max-width: 280px;
    margin-inline: auto;
  }

  .footer-col__list--hours li {
    justify-content: space-between;
  }

  .footer-col__list--hours li span:last-child {
    text-align: right;
  }

  .footer-col__list a,
  .footer-col__list span,
  .footer-col__list--hours li span {
    font-size: .95rem;
  }

  .site-footer__bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* ── Focus rings (accessibility) ──────────── */
.nav-link:focus-visible,
.btn-book:focus-visible,
.hamburger:focus-visible {
  outline: 2.5px solid rgba(255, 255, 255, .9);
  outline-offset: 3px;
  border-radius: 6px;
}


/* ═══════════════════════════════════════════
   COOKIE CONSENT
═══════════════════════════════════════════ */

/* Scroll-Sperre bis Entscheidung getroffen */
body.cookie-pending {
  overflow: hidden;
}

/* Backdrop — dunkelt Seite ab und sperrt Interaktion */
.cookie-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
}

.cookie-backdrop.is-visible {
  display: block;
}

/* ── Map Placeholder ── */
.map-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--c-surface-1);
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.map-placeholder.is-visible {
  display: flex;
  z-index: 4; /* über dem Klick-Overlay */
}

.map-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  max-width: 320px;
}

.map-placeholder__inner svg {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, .25);
}

.map-placeholder__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-txt-2);
}

.map-placeholder__desc {
  font-size: .88rem;
  color: var(--c-txt-3);
  line-height: 1.6;
}

.map-placeholder__actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: 100%;
  margin-top: .5rem;
}

.map-placeholder__btn {
  font-family: var(--f-family);
  font-size: .88rem;
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 100px;
  border: none;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background .2s ease;
}

.map-placeholder__btn:hover {
  background: #e8e8e8;
}

.map-placeholder__link {
  font-size: .82rem;
  color: var(--c-txt-3);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s ease;
}

.map-placeholder__link:hover {
  color: var(--c-txt-1);
}

/* ── Cookie Banner ── */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 999;
  width: min(680px, calc(100vw - 2rem));
  background: rgba(28, 28, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .08) inset;
  opacity: 0;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1), opacity .4s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.cookie-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.cookie-banner__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-txt-1);
  letter-spacing: .01em;
}

.cookie-banner__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .6);
}

.cookie-banner__desc {
  font-size: .8rem;
  color: var(--c-txt-3);
  line-height: 1.65;
}

.cookie-banner__link {
  color: var(--c-txt-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s ease;
}

.cookie-banner__link:hover {
  color: var(--c-txt-1);
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--f-family);
  font-size: .8rem;
  font-weight: 700;
  padding: .6rem 1.25rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
  letter-spacing: .02em;
}

.cookie-banner__btn--accept {
  background: #fff;
  color: #111;
}

.cookie-banner__btn--accept:hover {
  background: #e8e8e8;
  transform: translateY(-1px);
}

.cookie-banner__btn--reject {
  background: rgba(255, 255, 255, .08);
  color: var(--c-txt-2);
  border: 1px solid rgba(255, 255, 255, .12);
}

.cookie-banner__btn--reject:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px);
}


@media (max-width: 560px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .cookie-banner__actions {
    flex-direction: row;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}


/* ==============================================
   Legal Page (Datenschutzerklärung)
   ============================================== */

.legal-page {
  background: var(--c-bg);
  min-height: 100vh;
  padding-top: calc(var(--navbar-h) + 3rem);
  padding-bottom: 6rem;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.legal-page__inner {
  max-width: 820px;
  margin: 0 auto;
}

.legal-page__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--c-txt-1);
  margin-bottom: .5rem;
  line-height: 1.15;
}

.legal-page__meta {
  font-size: .85rem;
  color: var(--c-txt-3);
  margin-bottom: 3.5rem;
  display: block;
}

/* ── Individual section ── */
.legal-section {
  border-top: 1px solid var(--c-border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.legal-section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-txt-1);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}

.legal-section__sub {
  font-size: var(--fs-sub);
  font-weight: 600;
  color: var(--c-txt-2);
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}

.legal-section p {
  font-size: var(--fs-sub);
  color: var(--c-txt-2);
  line-height: 1.75;
  margin-bottom: .75rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* ── Address block ── */
.legal-address {
  margin: 1rem 0;
  font-size: var(--fs-sub);
  color: var(--c-txt-2);
  line-height: 1.8;
  font-style: normal;
}

/* ── Lists ── */
.legal-list {
  list-style: none;
  padding: 0;
  margin: .75rem 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.legal-list li {
  font-size: var(--fs-sub);
  color: var(--c-txt-2);
  line-height: 1.7;
  padding-left: 1.2em;
  position: relative;
}

.legal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--c-txt-3);
}

/* ── Table ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--c-border);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  color: var(--c-txt-2);
}

.legal-table th {
  background: var(--c-surface-3);
  color: var(--c-txt-1);
  font-weight: 600;
  text-align: left;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--c-border-hi);
  white-space: nowrap;
}

.legal-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  line-height: 1.55;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, .025);
}

/* ── Links inside legal text ── */
.legal-section a {
  color: var(--c-txt-2);
  text-decoration: none;
  transition: color var(--dur);
}

.legal-section a:hover {
  color: var(--c-txt-1);
}

@media (max-width: 600px) {
  .legal-page {
    padding-top: calc(var(--navbar-h) + 1.5rem);
    padding-bottom: 4rem;
  }

  .legal-section__title {
    font-size: 1.05rem;
  }

  .legal-table th,
  .legal-table td {
    padding: .5rem .75rem;
  }
}


/* ═══════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
═══════════════════════════════════════════ */

.scroll-top {
  display: none; /* nur auf Smartphones */
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 200;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 28, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-txt-1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4),
              0 1px 0 rgba(255, 255, 255, .08) inset;
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  pointer-events: none;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(50, 50, 55, 0.95);
}

.scroll-top:active {
  transform: translateY(2px);
}

/* Nur auf Smartphones anzeigen */
@media (max-width: 768px) {
  .scroll-top {
    display: flex;
  }
}