/* ═══════════════════════════ LOKALE SCHRIFTEN (DSGVO-KONFORM) ═══════════════════════════ */

/* Cormorant Garamond (Überschriften) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v16-latin-regular.woff2")
    format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v16-latin-italic.woff2")
    format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-v16-latin-500.woff2")
    format("woff2");
}

/* DM Sans (Fließtext) */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-v14-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-v14-latin-500.woff2") format("woff2");
}

/* ═══════════════════════════ TOKENS ═══════════════════════════ */
:root {
  --plum-950: oklch(20% 0.065 308);
  --plum-800: oklch(32% 0.085 308);
  --plum-600: oklch(48% 0.095 308);
  --plum-400: oklch(65% 0.08 308);
  --plum-200: oklch(82% 0.05 308);
  --plum-50: oklch(95% 0.02 308);
  --rose: oklch(62% 0.14 355);
  --rose-dk: oklch(50% 0.14 355);
  --white: #fdfaff;
  --text: oklch(24% 0.05 308);
  --muted: oklch(50% 0.05 308);
  --font-h: "Cormorant Garamond", Georgia, serif;
  --font-b: "DM Sans", system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ═══════════════════════════ LAYOUT ═══════════════════════════ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ═══════════════════════════ STICKY CTA ═══════════════════════════ */
.sticky-book {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  background: var(--rose);
  color: white;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 2px;
  box-shadow: 0 6px 28px oklch(50% 0.14 355 / 0.45);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  letter-spacing: 0.2px;
}
.sticky-book:hover {
  background: var(--rose-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px oklch(50% 0.14 355 / 0.55);
}

/* ═══════════════════════════ NAV ═══════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  transition:
    background 0.35s,
    backdrop-filter 0.35s,
    padding 0.35s,
    box-shadow 0.35s;
}
.site-nav.scrolled {
  background: oklch(20% 0.065 308 / 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 60px;
  box-shadow: 0 1px 0 oklch(84% 0.05 308 / 0.1);
}
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-brand-top {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--plum-200);
}
.nav-brand-name {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 12px;
  color: oklch(88% 0.04 308);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.18s;
}
.nav-links a:hover {
  color: white;
}
.nav-cta {
  background: var(--rose);
  color: white !important;
  padding: 8px 18px;
  border-radius: 2px;
  font-size: 11px !important;
  transition: background 0.18s !important;
}
.nav-cta:hover {
  background: var(--rose-dk) !important;
}

/* ═══════════════════════════ HERO ═══════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    oklch(20% 0.065 308 / 0.78) 0%,
    oklch(20% 0.065 308 / 0.5) 45%,
    oklch(20% 0.065 308 / 0.28) 100%
  );
}
.hero-body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 90px;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--plum-200);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 400;
  color: white;
  line-height: 1.04;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: oklch(84% 0.08 355);
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-rose {
  background: var(--rose);
  color: white;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  letter-spacing: 0.2px;
  transition:
    background 0.2s,
    transform 0.2s;
  display: inline-block;
}
.btn-rose:hover {
  background: var(--rose-dk);
  transform: translateY(-1px);
}
.btn-ghost {
  color: oklch(88% 0.04 308);
  padding: 15px 30px;
  font-size: 14px;
  border: 1px solid oklch(84% 0.05 308 / 0.45);
  border-radius: 2px;
  transition:
    border-color 0.2s,
    color 0.2s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: white;
  color: white;
}

/* ═══════════════════════════ STRIP ═══════════════════════════ */
.info-strip {
  background: var(--plum-800);
  color: var(--plum-200);
  padding: 13px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.info-strip strong {
  color: white;
  font-weight: 500;
}

/* ═══════════════════════════ SECTION DEFAULTS ═══════════════════════════ */
section {
  padding: 100px 0;
}
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--plum-400);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 580px;
}

/* ═══════════════════════════ ÄSTHETIK ═══════════════════════════ */
#aesthetik {
  background: var(--white);
  padding-bottom: 0;
}
.aesthetik-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.aesthetik-pull {
  font-family: var(--font-h);
  font-size: 21px;
  font-style: italic;
  color: var(--plum-600);
  line-height: 1.55;
  border-left: 2px solid var(--plum-200);
  padding-left: 28px;
}

/* 6-cell service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.s-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.s-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.55s cubic-bezier(0.2, 0.65, 0.3, 1);
  background-color: var(--plum-800); /* fallback */
}
.s-card:hover .s-card-bg {
  transform: scale(1.07);
}
.s-card-overlay {
  position: absolute;
  inset: 0;
  /* Updated overlay for better readability over photos */
  background: linear-gradient(
    to top,
    oklch(20% 0.065 308 / 0.95) 0%,
    oklch(20% 0.065 308 / 0.3) 60%,
    transparent 100%
  );
}
.s-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 22px;
}
.s-card-name {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 500;
  color: white;
  line-height: 1.15;
  margin-bottom: 5px;
}
.s-card-sub {
  font-size: 12px;
  color: var(--plum-200);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.s-card-btn {
  display: inline-block;
  font-size: 11px;
  color: white;
  letter-spacing: 0.8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 6px 16px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.28s,
    transform 0.28s;
}
.s-card:hover .s-card-btn {
  opacity: 1;
  transform: none;
}

/* card backgrounds with images */
.sc1 {
  background: url("../assets/pictures/Botox.jpeg") center/cover;
}
.sc2 {
  background: url("../assets/pictures/Filler.jpeg") center/cover;
}
.sc3 {
  background: url("../assets/pictures/Skinnbooster.jpeg") center/cover;
}
.sc4 {
  background: url("../assets/pictures/lypolyse.jpeg") center/cover;
}
.sc5 {
  background: url("../assets/pictures/Peeling.jpeg") center/cover;
}
.sc6 {
  background: url("../assets/pictures/Laser.jpeg") center/cover;
}

/* ── Service card expand ── */
.service-grid {
  isolation: isolate;
}
.s-card {
  overflow: visible;
}
.s-card-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.s-card-body {
  pointer-events: none;
}
.s-card:hover {
  z-index: 5;
}

.s-card-expand {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  pointer-events: none;
  opacity: 0;
  transform-origin: left center;
  transform: scaleX(0);
  transition:
    transform 0.42s cubic-bezier(0.2, 0.65, 0.3, 1),
    opacity 0.28s ease;
  will-change: transform, opacity;
}
.s-card:hover .s-card-expand {
  transform: scaleX(1);
  opacity: 1;
  pointer-events: auto;
}

/* Col 1 → expand RIGHT */
.s-card:nth-child(3n + 1) .s-card-expand {
  left: 100%;
  width: 200%;
  transform-origin: left center;
}
/* Col 2 → expand BOTH SIDES */
.s-card:nth-child(3n + 2) .s-card-expand {
  left: -100%;
  width: 300%;
  transform-origin: center center;
}
/* Col 3 → expand LEFT */
.s-card:nth-child(3n) .s-card-expand {
  right: 100%;
  left: auto;
  width: 200%;
  transform-origin: right center;
}

.s-exp-bg {
  position: absolute;
  inset: 0;
  filter: brightness(0.6) saturate(1.2); /* Darkened slightly more for text clarity */
}
.s-exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(16% 0.055 308 / 0.95) 0%,
    oklch(16% 0.055 308 / 0.6) 60%,
    transparent 100%
  );
}
.s-exp-body {
  position: relative;
  z-index: 1;
}
.s-exp-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--plum-200);
  margin-bottom: 10px;
}
.s-exp-name {
  font-family: var(--font-h);
  font-size: 38px;
  font-weight: 400;
  color: white;
  line-height: 1.08;
  margin-bottom: 14px;
}
.s-exp-text {
  font-size: 14px;
  line-height: 1.7;
  color: oklch(95% 0.02 308); /* Brightened for contrast */
  max-width: 420px;
  margin-bottom: 28px;
}
.s-exp-cta {
  display: inline-block;
  background: var(--rose);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 2px;
  transition: background 0.18s;
}
.s-exp-cta:hover {
  background: var(--rose-dk);
}

/* ═══════════════════════════ MOBILE MENU ═══════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition:
    transform 0.28s,
    opacity 0.28s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--plum-950);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 400;
  color: white;
  padding: 14px 0;
  letter-spacing: 0.5px;
  border-bottom: 1px solid oklch(84% 0.05 308 / 0.1);
  width: 240px;
  text-align: center;
  transition: color 0.18s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a:hover {
  color: oklch(84% 0.08 355);
}
.mobile-menu .m-cta {
  margin-top: 28px;
  background: var(--rose);
  color: white !important;
  font-family: var(--font-b);
  font-size: 15px !important;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 2px;
  letter-spacing: 0.2px;
  border: none;
}

/* ═══════════════════════════ DR. DEXLING ═══════════════════════════ */
#doktor {
  background: var(--plum-950);
}
.doktor-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}
.doktor-grid > div:nth-child(2) {
  min-width: 0;
}
.doktor-img-wrap {
  position: relative;
}
.doktor-img-inner {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--plum-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-400);
  font-size: 13px;
  font-style: italic;
}
.doktor-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.doktor-badge {
  position: absolute;
  bottom: 28px;
  right: -24px;
  background: var(--rose);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 12px 22px;
  letter-spacing: 0.3px;
}
.doktor-info .section-title {
  color: white;
}
.doktor-info .section-label {
  color: var(--plum-400);
}
.doktor-lead {
  font-size: 15px;
  line-height: 1.78;
  color: var(--plum-200);
  margin-bottom: 32px;
}
.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid oklch(84% 0.05 308 / 0.14);
  margin-bottom: 32px;
}
.cred {
  padding: 13px 16px;
  font-size: 13px;
  color: var(--plum-200);
  border-bottom: 1px solid oklch(84% 0.05 308 / 0.14);
  border-right: 1px solid oklch(84% 0.05 308 / 0.14);
  line-height: 1.4;
}
.cred:nth-child(even) {
  border-right: none;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl-row {
  display: flex;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid oklch(84% 0.05 308 / 0.09);
  font-size: 13px;
}
.tl-year {
  min-width: 44px;
  color: var(--plum-400);
  font-weight: 500;
}
.tl-text {
  color: var(--plum-200);
  line-height: 1.45;
}
/* ── Endless Marquee für Mitgliedschaften ── */
.memberships-marquee-wrapper {
  margin-top: 32px;
  font-size: 13px;
  color: var(--plum-400);
  border-top: 1px solid oklch(84% 0.05 308 / 0.09);
  padding-top: 24px;
  /* Verhindert das Zerschießen des Grids und des Bildes */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.memberships-marquee {
  display: flex;
  position: relative;
  width: 100%;
  /* Symmetrischer Fade-Out auf BEIDEN Seiten (jeweils 10%) */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.memberships-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

/* Pausiert die Animation bei Hover */
.memberships-marquee:hover .memberships-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.marquee-group span.dot {
  color: var(--plum-600);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════ DERMATOLOGIE ═══════════════════════════ */
#derma {
  background: var(--plum-50);
}
.derma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 56px;
}
.derma-card {
  background: white;
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
}
.derma-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--plum-600);
  transition: height 0.4s ease;
}
.derma-card:hover::after {
  height: 100%;
}
.derma-num {
  font-family: var(--font-h);
  font-size: 72px;
  font-weight: 400;
  color: var(--plum-200);
  line-height: 1;
  margin-bottom: 20px;
}
.derma-title {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.2;
}
.derma-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ═══════════════════════════ LASER ═══════════════════════════ */
#laser {
  position: relative;
  background: var(--plum-950);
  overflow: hidden;
}
.laser-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.laser-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.laser-grid .section-title {
  color: white;
}
.laser-grid .section-label {
  color: var(--plum-400);
}
.laser-lead {
  font-size: 15px;
  line-height: 1.78;
  color: var(--plum-200);
  margin-bottom: 36px;
}
.laser-types {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.laser-type {
  padding: 24px;
  border: 1px solid oklch(84% 0.05 308 / 0.18);
  transition: border-color 0.25s;
}
.laser-type:hover {
  border-color: oklch(84% 0.05 308 / 0.42);
}
.laser-type-name {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}
.laser-type-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--plum-200);
}

/* ═══════════════════════════ BEWERTUNG (CAROUSEL) ═══════════════════════════ */
#bewertung {
  background: white;
  text-align: center;
  padding: 80px 0;
  overflow: hidden; /* Ensure slide doesn't leak out horizontally */
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
}

.stars {
  font-size: 20px;
  color: var(--rose);
  letter-spacing: 5px;
  margin-bottom: 28px;
}
.quote {
  font-family: var(--font-h);
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--plum-800);
  max-width: 780px;
  margin: 0 auto 20px;
}
.quote-who {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}
.carousel-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--plum-400);
  cursor: pointer;
  transition: color 0.2s;
  padding: 8px;
}
.carousel-btn:hover {
  color: var(--rose);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plum-200);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.carousel-dot:hover {
  transform: scale(1.2);
}
.carousel-dot.active {
  background: var(--rose);
}

.google-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 10px 22px;
  border: 1px solid var(--plum-200);
  border-radius: 2px;
  font-size: 13px;
  color: var(--muted);
}

/* ═══════════════════════════ KONTAKT ═══════════════════════════ */
#kontakt {
  background: var(--plum-50);
}
.kontakt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 52px;
}
.k-card {
  background: white;
  padding: 44px 36px;
}
.k-card.highlight {
  background: var(--plum-800);
}
.k-title {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 500;
  color: var(--plum-800);
  margin-bottom: 22px;
}
.k-card.highlight .k-title {
  color: var(--plum-200);
}
.k-row {
  display: flex;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.5;
}
.k-label {
  min-width: 36px;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
}
.k-card.highlight .k-label {
  color: white;
}
.k-val {
  color: var(--muted);
}
.k-card.highlight .k-val {
  color: var(--plum-200);
}
.k-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--plum-200);
  font-style: italic;
  margin-top: 18px;
}
.k-card.highlight .k-note {
  color: var(--plum-200);
  opacity: 0.75;
}

/* ═══════════════════════════ FOOTER ═══════════════════════════ */
footer {
  background: var(--plum-950);
  padding: 80px 0 40px;
  text-align: center;
}
.footer-pre {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--plum-400);
  margin-bottom: 12px;
}
.footer-headline {
  font-family: var(--font-h);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: white;
  margin-bottom: 28px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 48px 0 28px;
  border-top: 1px solid oklch(84% 0.05 308 / 0.1);
  padding-top: 32px;
}
.footer-nav a {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--plum-400);
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: white;
}
.footer-copy {
  font-size: 12px;
  color: var(--plum-600);
}

/* ═══════════════════════════ SCROLL REVEAL ═══════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════ Konserv Reveal ═══════════════════════════ */
/* Container für die extra Karten initial verstecken */
.derma-sub-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out;
  opacity: 0;
}

/* Wenn aktiv: Container zeigen */
.derma-sub-wrapper.is-open {
  max-height: 1000px; /* Genug Platz für die Karten */
  opacity: 1;
  margin-top: -52px;
}

/* Die Karten selbst für die Animation vorbereiten */
.extra-card {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease-out;
}

/* Animation der Karten wenn der Container offen ist */
.is-open .extra-card {
  opacity: 1;
  transform: translateY(0);
}

/* Stufenweise Verzögerung: Erst die linke, dann die rechte */
.is-open .extra-card:nth-child(1) {
  transition-delay: 0.2s; /* Links */
}
.is-open .extra-card:nth-child(2) {
  transition-delay: 0.5s; /* Rechts */
}

/* Animation für das Plus-Icon (die "Bar") */
#plus-icon {
  transition: transform 0.3s ease;
  display: inline-block;
}
.rotate-icon #plus-icon {
  transform: rotate(45deg); /* Macht aus dem + ein x */
  color: #d4a3a3; /* Optional: Farbe ändern */
}

/* ═══════════════════════════ RESPONSIVE ═══════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .container {
    padding: 0 32px;
  }
  section {
    padding: 72px 0;
  }

  .site-nav {
    padding: 20px 32px;
  }
  .site-nav.scrolled {
    padding: 14px 32px;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }

  .hero-body {
    padding: 0 40px 72px;
  }

  .aesthetik-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .s-card:nth-child(2n + 1) .s-card-expand {
    left: 100%;
    width: 100%;
    right: auto;
    transform-origin: left center;
  }
  .s-card:nth-child(2n) .s-card-expand {
    right: 100%;
    left: auto;
    width: 100%;
    transform-origin: right center;
  }

  .doktor-grid {
    grid-template-columns: 280px 1fr;
    gap: 44px;
  }
  .doktor-badge {
    right: -12px;
  }

  .derma-grid {
    grid-template-columns: 1fr;
  }

  .laser-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kontakt-cards {
    grid-template-columns: 1fr 1fr;
  }
  .kontakt-cards .k-card:last-child {
    grid-column: 1 / -1;
  }

  .sticky-book {
    right: 16px;
    bottom: 20px;
  }
}

/* ═══════════════════════════ MOBILE RESPONSIVE FIXES ═══════════════════════════ */
@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  section {
    padding: 56px 0;
  }
  .site-nav {
    padding: 16px 20px;
  }
  .site-nav.scrolled {
    padding: 12px 20px;
  }

  .hero-body {
    padding: 0 24px 60px;
  }
  .hero-title {
    font-size: clamp(40px, 10vw, 56px);
    margin-bottom: 22px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-rose,
  .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
  }

  .info-strip {
    font-size: 13px;
    padding: 11px 16px;
  }
  .section-title {
    font-size: clamp(32px, 8vw, 46px);
  }
  .aesthetik-pull {
    font-size: 18px;
  }

  /* ── 1. Ästhetik cards: Tap to expand DOWNWARD ── */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .s-card {
    aspect-ratio: 5/3;
    overflow: visible; /* Allows expansion to spill out below */
    z-index: 1;
  }
  .s-card.active {
    z-index: 10; /* Brings active card to the front */
  }
  .s-card-btn {
    display: none;
  }

  .s-card .s-card-expand,
  .s-card:nth-child(n) .s-card-expand {
    display: flex;
    top: 100%; /* Positions exactly below the card */
    bottom: auto;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto;
    max-height: 0; /* Starts collapsed */
    padding: 0 20px; /* Removes padding when collapsed */
    opacity: 0;
    overflow: hidden;
    transform: none !important;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease,
      padding 0.3s ease !important;
    pointer-events: none;
    box-shadow: 0 16px 32px oklch(20% 0.065 308 / 0.6); /* Adds drop shadow for depth */
  }
  .s-card.active .s-card-expand {
    max-height: 500px; /* Expands height fully */
    padding: 24px 20px; /* Restores padding */
    opacity: 1;
    pointer-events: auto;
  }
  .s-exp-name {
    font-size: 26px;
  }
  .s-exp-text {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .s-card-body::after {
    content: "↓"; /* Arrow points down to indicate expansion */
    position: absolute;
    bottom: 16px;
    right: 18px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    transition:
      transform 0.3s,
      opacity 0.2s;
  }
  .s-card.active .s-card-body::after {
    transform: rotate(180deg); /* Flips arrow when expanded */
    opacity: 1;
  }

  /* Versteckt das Hintergrundbild im ausgeklappten Zustand auf Mobile */
  .s-card .s-exp-bg {
    background-image: none !important;
    background-color: oklch(
      16% 0.055 308
    ) !important; /* Das dunkle Lila aus deinem Gradienten */
  }

  /* Versteckt den Gradienten-Overlay, da wir jetzt eine solide Farbe haben */
  .s-card .s-exp-overlay {
    display: none !important;
  }

  /* ── 2. Dr. Dexling: Clean stacked layout ── */
  .doktor-grid {
    grid-template-columns: 1fr;
    gap: 32px; /* Adds gap so text doesn't touch the image */
  }
  .doktor-img-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .doktor-img-inner {
    aspect-ratio: 4/3;
  }
  .doktor-badge {
    position: relative;
    bottom: auto;
    right: auto;
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
    margin-top: -10px; /* Overlaps slightly with the image */
    z-index: 2;
  }
  .doktor-grid > div:nth-child(2) {
    padding-top: 0;
  }
  .creds {
    grid-template-columns: 1fr;
  }
  .cred {
    border-right: none !important;
  }

  /* ── 3. Dermatologie: Stacked beneath each other ── */
  /* ── 3. Dermatologie: Untereinander angeordnet ── */
  .derma-grid {
    grid-template-columns: 1fr; /* Zwingt die Boxen in eine einzige, untereinanderliegende Spalte */
    gap: 16px; /* Sorgt für einen sauberen Abstand zwischen den beiden Boxen */
    margin-top: 36px;
  }
  .derma-card {
    padding: 36px 24px;
  }
  .derma-num {
    font-size: 52px;
  }

  /* ── 4. Lasermedizin: Reworked for mobile ── */
  .laser-grid {
    grid-template-columns: 1fr; /* Stacks text and cards */
    gap: 32px;
  }
  .laser-types {
    gap: 16px; /* Spacing between the two laser types */
  }
  #laser .btn-rose {
    display: block;
    width: 100%;
    text-align: center;
  }
  .laser-type {
    padding: 18px 16px;
  }
  .laser-type-name {
    font-size: 18px;
  }

  /* ── 5. Kontakt: Responsive columns ── */
  .kontakt-cards {
    grid-template-columns: 1fr; /* Stack contact cards */
    gap: 16px; /* Clean spacing between them */
    margin-top: 36px;
  }
  .kontakt-cards .k-card:last-child {
    grid-column: auto;
  }
  .k-card {
    padding: 32px 24px;
  }
  .k-card.highlight .btn-rose {
    display: block;
    width: 100%;
    text-align: center;
  }

  footer {
    padding: 56px 0 32px;
  }
  .sticky-book {
    right: 12px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 13px;
  }

  .derma-sub-wrapper.is-open {
    max-height: 1500px; /* Mehr Platz, da zwei gestapelte Karten höher sind */
    margin-top: 0; /* Entfernt den negativen Margin vom Desktop, um Überlappungen zu vermeiden */
  }

  .derma-sub-wrapper .derma-grid {
    margin-top: 16px; /* Passt den Abstand zur darüberliegenden Karte harmonisch an */
  }
}
