/* Mireya Kosmetik — new stylesheet, written from scratch.
   Tokens sourced from docs/DESIGN_DNA.md (verified colors/type/spacing). */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-500.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-600.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-600.woff2') format('woff2');
}

:root {
  --blush: #F6EBE7;
  --cream: #FBF4F1;
  --white: #FFFFFF;
  --ink: #000000;
  --ink-soft: #3a3532;

  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1170px;
  --gutter: 24px;

  --space-section: 100px;
  --space-section-mobile: 50px;

  --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0;
  line-height: 1.15;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-section);
}

@media (max-width: 768px) {
  .section { padding-block: var(--space-section-mobile); }
}

.section--blush { background: var(--blush); }
.section--cream { background: var(--cream); }

.eyebrow-heading {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
}

/* Buttons — verified: pill shape, two variants only */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1em 2.25em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: 0.85; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn--solid { background: var(--ink); color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { padding: 0.55em 1.3em; font-size: 0.72rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.5rem;
}

.site-header__logo img { height: 88px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 700px) {
  .site-nav__links { display: none; }
  .nav-toggle { display: block; }
  .site-header--open .site-nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .site-header--open .site-nav__links li { width: 100%; }
  .site-header--open .site-nav__links a {
    display: block;
    padding: 1rem var(--gutter);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero img.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(20,14,10,0.72) 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  padding-block: 7rem 3.5rem;
  text-align: center;
}
.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-style: italic;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero__info {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 6rem);
  flex-wrap: wrap;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.hero__info dt {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.95;
  margin-bottom: 0.5em;
}
.hero__info dd { margin: 0; line-height: 1.6; color: var(--white); }

/* ---------- Service menu (tabbed, matches recovered visual reference) ---------- */
.service-menu {
  display: flex;
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.service-menu__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.service-menu__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--ink);
}
.service-menu__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.service-menu__tab.is-active .service-menu__title {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.service-menu__tab:hover .service-menu__title { color: var(--ink); }

.service-menu__panel {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.service-menu__panel p { display: none; color: var(--ink); }
.service-menu__panel p.is-active { display: block; }

.section__cta { text-align: center; margin-top: 1rem; }

@media (max-width: 640px) {
  .service-menu { gap: 1.75rem 1.25rem; }
  .service-menu__icon { width: 42px; height: 42px; }
  .service-menu__title { font-size: 0.85rem; }
}

/* ---------- Split section (Über Mich) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split img { border-radius: 4px; }
.split__heading { margin-bottom: 1.5rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.split__body p { color: var(--ink-soft); }
.split__actions { margin-top: 2rem; }

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

/* ---------- Expertise ---------- */
.expertise { text-align: center; }
.expertise p {
  max-width: 640px;
  margin-inline: auto;
  color: var(--ink-soft);
}

/* ---------- Feature slider ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature__media img { border-radius: 4px; }
.feature__heading { margin-bottom: 1.25rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.feature__text p { color: var(--ink-soft); margin-bottom: 1.5rem; }

@media (max-width: 780px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
}

/* ---------- Testimonials ---------- */
.testimonials { text-align: center; }
.testimonial-carousel {
  max-width: 640px;
  margin-inline: auto;
}
.testimonial-slide {
  display: none;
}
.testimonial-slide.is-active { display: block; }
.testimonial-slide blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.testimonial-dots button.is-active { background: var(--ink); }

/* ---------- Instagram ---------- */
.instagram { text-align: center; }
.instagram__intro { max-width: 480px; margin: 0 auto 2.5rem; color: var(--ink-soft); }
.instagram-gallery {
  display: flex;
  justify-content: center;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
}
.instagram-gallery img {
  flex: 0 0 auto;
  width: min(70vw, 320px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 4px;
}

/* ---------- Contact block ---------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.contact-info__icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.9rem;
}
.contact-info dt {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.contact-info dd { margin: 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blush);
  padding-top: var(--space-section);
}
.site-footer__bottom {
  margin-top: 4rem;
  text-align: center;
}
.site-footer__logo img { height: 180px; margin: 0 auto 1.5rem; }
.site-footer__legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.85rem;
}
.site-footer__copyright {
  font-size: 0.78rem;
  color: var(--ink-soft);
  padding-bottom: 0.5rem;
}
.site-footer__credit {
  font-size: 0.75rem;
  color: var(--ink-soft);
  padding-bottom: 2rem;
}

.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.cookie-settings-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cookie-banner__text a { color: var(--ink); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .site-footer { padding-top: var(--space-section-mobile); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}

/* ==========================================================
   Behandlungen page
   ========================================================== */

.page-header {
  position: relative;
  padding-block: 5.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--cream);
}
.page-header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.page-header__content {
  position: relative;
  max-width: 640px;
}
.page-header h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.page-header p { color: var(--ink-soft); }

.behandlungen-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  padding-top: var(--space-section);
}

.behandlungen-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}
.behandlungen-sidebar a {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.behandlungen-sidebar a.is-active,
.behandlungen-sidebar a:hover { color: var(--ink); }

.behandlungen-content { min-width: 0; }

.service-band {
  position: relative;
  padding-block: var(--space-section);
}
.service-band:first-child { padding-top: 0; }
.service-band--blush {
  background: var(--blush);
  box-shadow: 0 0 0 100vmax var(--blush);
  clip-path: inset(0 -100vmax);
}
.service-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 1rem;
}
.service-band__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
  color: var(--ink-soft);
}
.service-band__subheading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 3rem 0 1.5rem;
}

/* Standalone image banner — its own section, fixed-position parallax background.
   Bleeds left under the sidebar column so it renders full width; the sticky
   sidebar (a positioned element) paints above it automatically. */
.image-banner {
  height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.image-banner--lash {
  background-image: url('../img/wimpern-augenbrauen-bg.jpg');
}

.behandlungen-sidebar { position: sticky; z-index: 2; }
.behandlungen-sidebar.is-over-image a {
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.behandlungen-sidebar.is-over-image a.is-active,
.behandlungen-sidebar.is-over-image a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  /* sidebar is hidden at this breakpoint, so no bleed/overlay needed */
  .image-banner {
    background-attachment: scroll;
    height: 260px;
  }
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
.service-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.service-card__row h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
}
.service-card__row h3 small { font-size: 0.75em; color: var(--ink-soft); font-weight: 400; }
.service-card__row span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  white-space: nowrap;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .behandlungen-layout { grid-template-columns: 1fr; padding-top: var(--space-section-mobile); }
  .behandlungen-sidebar { display: none; }
  .service-band { padding-block: var(--space-section-mobile); }
  .service-list { grid-template-columns: 1fr; }
}

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-block: 1.1rem;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
