/* PandreaSkinCare – Stylesheet
   Schriften lokal eingebunden (keine Verbindung zu Google Fonts). */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --white: #ffffff;
  --pearl: #fcf9fa;       /* zartes Rosé-Weiß */
  --blush: #f7e6ea;       /* Pastellrosa */
  --lilac: #ebe4f3;       /* Pastelllila */
  --lilac-deep: #7d6a99;  /* Lila für feine Akzente */
  --black: #000000;
  --ink: #000000;
  --stone: #5c5660;
  --line: #e4dbe2;
  --on-dark: #d9d4dc;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--black); }

/* ---------- Farbflächen der Abschnitte ---------- */
.bg-white { background: var(--white); }
.bg-pearl { background: var(--pearl); }
.bg-blush { background: var(--blush); }
.bg-lilac { background: var(--lilac); }
.bg-black { background: var(--black); color: var(--on-dark); }
.bg-black h2, .bg-black h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  padding: 14px 26px; border-radius: 999px;
  background: var(--black); color: #fff;
  border: 1.5px solid var(--black);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: #2e2a31; border-color: #2e2a31; }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: var(--black); color: #fff; }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: var(--lilac); border-color: var(--lilac); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.logo { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.01em; white-space: nowrap; color: var(--black); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav .navlink { font-size: 0.95rem; color: var(--stone); transition: color 0.2s; }
.site-nav .navlink:hover { color: var(--lilac-deep); }
.nav-book { display: flex; gap: 8px; }
.nav-book .btn { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 7vw, 90px); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-kicker { font-size: 1rem; color: var(--lilac-deep); font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(3.3rem, 8.4vw, 7.4rem); line-height: 0.95; margin-bottom: 28px; color: var(--black); }
.hero .lead { font-size: 1.12rem; color: var(--stone); max-width: 31em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-visual { justify-self: end; width: 100%; max-width: 460px; }
.arch {
  border-radius: 999px 999px 22px 22px;
  overflow: hidden; aspect-ratio: 4 / 5.4;
  background: var(--blush);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  .hero .arch { animation: unveil 1.3s cubic-bezier(.6,0,.2,1) 0.1s both; }
}
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); } to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }

/* Eckdaten unter dem Hero */
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, max-content); gap: 14px 64px; margin-top: clamp(20px, 4vw, 40px); padding-top: 26px; border-top: 1px solid var(--line); }
.facts div { font-size: 0.95rem; color: var(--stone); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--black); line-height: 1.1; }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 10px 16px; } .facts div { font-size: 0.82rem; } }
/* (altes Band, nicht mehr verwendet) */
.facts-band { background: var(--black); color: var(--on-dark); padding: 20px 0; font-size: 0.98rem; }
.facts-band .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 56px; }
.facts-band strong { color: #fff; font-weight: 600; }
.facts-band .star { color: #c9b8e2; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--stone); margin-top: 14px; font-size: 1.08rem; }

/* Behandlungsfinder */
.concerns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.concern-card {
  display: block; padding: 28px 28px 30px; border-radius: 22px;
  background: var(--white); border: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.concern-card:hover { border-color: var(--lilac-deep); }
.concern-card h3 { font-size: 2.1rem; margin-bottom: 6px; color: var(--black); }
.concern-card p { color: var(--stone); font-size: 0.98rem; }
.match-card {
  margin-top: 14px; padding: clamp(28px, 4vw, 48px); border-radius: 22px;
  background: var(--black); color: var(--on-dark);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 40px; align-items: end;
}
.match-label { display: block; font-size: 0.95rem; color: #c9b8e2; font-weight: 600; margin-bottom: 10px; }
.match-card h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: #fff; }
.match-card p { margin-bottom: 20px; }

/* Bewertungen */
.reviews-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(30px, 4vw, 48px); flex-wrap: wrap; }
.reviews-top .section-head { margin-bottom: 0; }
.reviews-nav { display: flex; gap: 10px; }
.reviews-nav button {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--black); background: transparent; color: var(--black);
  font-size: 1.2rem; line-height: 1; transition: background 0.2s, color 0.2s;
}
.reviews-nav button:hover { background: var(--black); color: #fff; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 370px);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 14px; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start; background: var(--white); color: var(--ink); border-radius: 22px;
  padding: 30px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
}
.review-stars { color: var(--lilac-deep); letter-spacing: 3px; font-size: 0.95rem; }
.quote { font-family: var(--serif); font-size: 1.55rem; line-height: 1.22; margin-top: 14px; color: var(--black); }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-name span { display: block; font-weight: 400; color: var(--stone); }

/* Leistungen als ruhige Liste */
.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px 40px; align-items: baseline;
  padding: clamp(24px, 3.4vw, 36px) 0; border-bottom: 1px solid var(--line);
}
.service-row h3 { font-size: clamp(2rem, 4.4vw, 3.3rem); color: var(--black); transition: color 0.2s; }
.service-row:hover h3 { color: var(--lilac-deep); }
.service-row p { color: var(--stone); font-size: 1.05rem; max-width: 30em; }

/* Über uns */
.about .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.about .arch { aspect-ratio: 4 / 5; max-width: 440px; }
.about h2 { margin-bottom: 22px; }
.about p { color: var(--stone); margin-bottom: 16px; max-width: 36em; }
.about .btn-row { margin-top: 26px; }
.cert-card {
  display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 14px 20px 14px 14px;
  background: var(--white); border: 1.5px solid transparent; border-radius: 18px; max-width: 470px;
  transition: border-color 0.2s;
}
.cert-card:hover { border-color: var(--lilac-deep); }
.cert-card img { width: 70px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.cert-card span { font-size: 0.92rem; line-height: 1.5; color: var(--stone); }
.cert-card strong { display: block; color: var(--ink); font-size: 1rem; }
.cert-card em { font-style: normal; color: var(--lilac-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Galerien */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.gallery-arches img { border-radius: 999px 999px 22px 22px; }   /* Bögen wie Studiofenster & Regale */

/* Abschluss-CTA */
.cta { background: var(--black); color: #fff; padding: clamp(70px, 10vw, 120px) 0; text-align: center; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0 auto 18px; max-width: 12em; color: #fff; }
.cta p { color: var(--on-dark); margin-bottom: 30px; font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }
.cta .btn-light { color: var(--black); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.contact-list { border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row strong { font-weight: 600; }
.contact-row span { color: var(--stone); }
.contact-row a { text-decoration: underline; text-underline-offset: 3px; }
.contact-grid .btn-row { margin-top: 28px; }
.map-box {
  border-radius: 999px 999px 22px 22px; min-height: 380px; background: var(--lilac); color: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 60px 30px 40px;
}
.map-box p { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; }

/* Footer */
.site-footer { background: var(--black); color: var(--on-dark); padding: 40px 0; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Rechtliche Unterseiten */
.legal { background: var(--white); padding: clamp(50px, 8vw, 90px) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 10px; color: var(--black); }
.legal h2 { font-size: 1.9rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.4rem; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 0.97rem; line-height: 1.7; color: var(--stone); }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a:not(.btn) { text-decoration: underline; overflow-wrap: anywhere; }
.legal strong { color: var(--ink); }
.legal ul.index { columns: 2; column-gap: 32px; }
.legal .back { margin-top: 44px; }
.imprint { display: grid; grid-template-columns: 210px 1fr; gap: 0 24px; margin-top: 30px; border-top: 1px solid var(--line); }
.imprint dt, .imprint dd { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.imprint dt { font-weight: 600; }
.imprint dd { color: var(--stone); }
.imprint a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-nav .navlink { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(440px, 100%); }
  .about .wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .match-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .concerns-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .facts-band .wrap { flex-direction: column; align-items: flex-start; }
  .imprint { grid-template-columns: 1fr; }
  .imprint dt { border-bottom: 0; padding-bottom: 0; }
  .imprint dd { padding-top: 4px; }
  .legal ul.index { columns: 1; }
}
@media (max-width: 560px) {
  .site-header .wrap { height: 64px; }
  .logo { font-size: 1.35rem; }
  .nav-book { gap: 6px; }
  .nav-book .btn { padding: 8px 12px; font-size: 0.8rem; }
  .contact-row { grid-template-columns: 1fr; gap: 2px; }
  .gallery-grid { gap: 10px; }
  .gallery-grid img { border-radius: 16px; }
  .gallery-arches img { border-radius: 999px 999px 16px 16px; }
  .reviews-nav { display: none; }
}
@media (max-width: 380px) {
  .logo { font-size: 1.2rem; }
  .nav-book .btn { padding: 8px 10px; }
}

/* ---------- Bewegte Elemente ---------- */
/* Laufband mit den Behandlungen */
.marquee { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.6vw, 2.8rem); white-space: nowrap; color: var(--black); }
.marquee-track i { font-style: normal; color: var(--lilac-deep); font-size: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 17px)); } }

/* Fotos zoomen beim Darüberfahren sanft */
.gallery-grid { overflow: visible; }
.gallery-grid img { transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.7s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-grid img:hover { transform: scale(1.03); }
  .concern-card { transition: border-color 0.2s, transform 0.3s; }
  .concern-card:hover { transform: translateY(-4px); }
}

/* ---------- Produkte für zuhause ---------- */
.products .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.products h2 { margin-bottom: 20px; }
.products-lead { color: var(--stone); max-width: 34em; margin-bottom: 30px; }
.product-points { list-style: none; border-top: 1px solid rgba(0,0,0,0.12); margin-bottom: 24px; }
.product-points li { display: grid; grid-template-columns: minmax(200px, 0.9fr) 1fr; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.12); color: var(--stone); font-size: 0.98rem; }
.product-points strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; color: var(--black); }
.product-range { color: var(--stone); font-size: 0.98rem; margin-bottom: 28px; }
.products-img { width: 100%; height: auto; max-width: 440px; justify-self: end; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
@media (max-width: 960px) {
  .products .wrap { grid-template-columns: 1fr; }
  .products-img { justify-self: start; }
}
@media (max-width: 560px) {
  .product-points li { grid-template-columns: 1fr; }
}

/* Produktbilder unter dem Produktbereich */
.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 70px); }
.poster-grid a { display: block; border-radius: 16px; overflow: hidden; background: var(--white); }
.poster-grid img { width: 100%; height: auto; aspect-ratio: 600 / 849; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .poster-grid a:hover img { transform: scale(1.03); } }
@media (max-width: 960px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .poster-grid { gap: 10px; } }
.products .wrap + .wrap { display: block; }

/* Sprungmarken nicht unter dem festen Header verstecken */
[id] { scroll-margin-top: 90px; }
