/* ===========================================================
   Oasina Beauty — Stylesheet
   Brand: Pink #F06CB8 · Berry #AD0767 · Black · White
=========================================================== */

:root {
  --pink: #F06CB8;
  --pink-soft: #FBD3E8;
  --pink-wash: #FFF3F9;
  --berry: #AD0767;
  --berry-deep: #7A0449;
  --ink: #241019;
  --ink-soft: #6b5560;
  --cream: #FFFBF8;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px -20px rgba(122, 4, 73, 0.25);
  --shadow-card: 0 12px 32px -14px rgba(36, 16, 25, 0.18);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Focus visibility ---------- */
/* A white ring plus a dark ring "sandwich" so focus stays visible on any background — light, dark or a colored button. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--berry-deep);
}

/* ---------- Unified photo treatment (color grade) ---------- */
/* Ties together photography from different sources into one consistent, warm editorial look. */
.hero-media img,
.about-media img,
.service-media img,
.cta-media img {
  filter: saturate(0.88) sepia(0.1) brightness(1.03) contrast(0.96);
}
.about-media, .service-media {
  position: relative;
}
.about-media::before,
.service-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(240, 108, 184, 0.14), rgba(122, 4, 73, 0.1) 60%, rgba(36, 16, 25, 0.06));
  mix-blend-mode: soft-light;
}
.about-media img, .service-media img { position: relative; z-index: 0; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--berry-deep); }
em { font-style: italic; color: var(--berry); font-weight: 500; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* subtle grain overlay for texture/luxury feel */
.grain-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--berry));
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(173, 7, 103, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(173, 7, 103, 0.65); }
.btn-lg { padding: 19px 40px; font-size: 1.05rem; }
.btn-outline {
  background: transparent;
  color: var(--berry-deep);
  border: 1.5px solid var(--berry);
}
.btn-outline:hover { background: var(--berry); color: var(--white); transform: translateY(-2px); }
.btn-ghost-light {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 15px 30px;
  border-radius: 999px;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.icon-whatsapp { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 251, 248, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  padding: 12px 0;
  box-shadow: 0 8px 30px -18px rgba(36,16,25,0.35);
}
/* backdrop-filter creates a CSS containing block, which would otherwise
   confine the fixed, full-viewport mobile nav (inset:0) to the header's
   own box instead of the screen while the menu is open. */
.site-header:has(.main-nav.is-open) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-icon { height: 38px; width: auto; transition: height .4s var(--ease); }
.brand-word { font-family: var(--font-body); font-size: 0.95rem; font-weight: 300; letter-spacing: 0.16em; line-height: 1; color: var(--pink); white-space: nowrap; transition: filter .4s; }
.brand-word b { font-weight: 600; color: var(--berry); }
.site-header:not(.is-scrolled) .brand-word { filter: brightness(0) invert(1); }
.site-header.is-scrolled .brand-icon { height: 32px; }

.main-nav { display: flex; align-items: center; gap: 30px; flex-wrap: nowrap; }
.main-nav a {
  font-size: 0.9rem; font-weight: 500; position: relative; padding: 4px 0;
  color: var(--white);
  white-space: nowrap;
  transition: color .4s var(--ease);
}
.site-header.is-scrolled .main-nav a { color: var(--ink); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: currentColor; transition: right .35s var(--ease);
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--white); }
.site-header.is-scrolled .lang-toggle { color: var(--ink); }
.lang-sep { opacity: 0.5; }
.lang-btn { opacity: 0.55; transition: opacity .3s; padding: 10px 6px; margin: -10px -6px; }
.lang-btn.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.header-cta { padding: 11px 22px; font-size: 0.85rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--white); transition: all .35s var(--ease); }
.site-header.is-scrolled .hamburger span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transform: scale(1.06); }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(36,16,25,0.55) 0%, rgba(122,4,73,0.55) 55%, rgba(173,7,103,0.72) 100%);
}
.hero-content { position: relative; z-index: 1; color: var(--white); padding-top: 90px; max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--pink-soft); margin-bottom: 18px;
}
.hero .eyebrow { color: var(--pink-soft); }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--white);
  margin-bottom: 22px;
}
.hero-title em { color: var(--pink-soft); }
.hero-sub { font-size: 1.1rem; line-height: 1.65; color: rgba(255,255,255,0.88); max-width: 560px; margin-bottom: 38px; font-weight: 300; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.55); border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 3px; background: var(--white);
  animation: scrollcue 1.8s infinite var(--ease);
}
@keyframes scrollcue { 0% { opacity:1; top:8px;} 70% {opacity:0; top:22px;} 100%{opacity:0; top:22px;} }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--pink-soft);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 24px; animation: marquee 32s linear infinite; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; }
.marquee-track span { padding: 0 4px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section generic ---------- */
section { padding: 120px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: left; }
.section-head.center, .center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.eyebrow.center { display: block; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-card {
  position: absolute; bottom: -28px; right: -28px;
  background: linear-gradient(135deg, var(--pink), var(--berry));
  color: var(--white); border-radius: var(--radius-md);
  padding: 24px 28px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 4px; max-width: 190px;
}
.about-card-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.about-card-label { font-size: 0.82rem; line-height: 1.4; opacity: 0.95; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p { color: var(--ink-soft); line-height: 1.75; font-size: 1.02rem; margin-bottom: 28px; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.icon-check { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--pink-wash); stroke: var(--berry); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Services ---------- */
.services { background: var(--pink-wash); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -18px rgba(122,4,73,0.28); }
.service-media { aspect-ratio: 4/3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.08); }
.service-body { padding: 26px 26px 30px; }
.service-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-body p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; min-height: 48px; }

.service-card--featured { border: 1.5px solid var(--pink); position: relative; }
.duration-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.duration-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.92rem; color: var(--ink);
  padding-bottom: 8px; border-bottom: 1px dashed #f0d5e4;
}
.duration-row:last-child { border-bottom: none; padding-bottom: 0; }
.duration-row b { color: var(--berry); font-weight: 700; white-space: nowrap; }

.service-card--cta {
  background: linear-gradient(150deg, var(--berry), var(--berry-deep));
  display: flex; align-items: center; justify-content: center;
}
.service-card-cta-inner { padding: 40px 30px; text-align: center; color: var(--white); }
.service-card-cta-inner h3 { color: var(--white); margin-bottom: 12px; font-size: 1.4rem; }
.service-card-cta-inner p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin-bottom: 24px; line-height: 1.6; }
.service-card-cta-inner .btn-primary { background: var(--white); color: var(--berry-deep); box-shadow: none; }
.service-card-cta-inner .btn-primary:hover { background: var(--pink-soft); }

.services-note { margin-top: 40px; color: var(--ink-soft); font-size: 0.85rem; font-style: italic; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--pink-wash); }
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.testimonial-item {
  padding: 0 36px;
  border-left: 1px solid rgba(122, 4, 73, 0.15);
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-item:first-child { border-left: none; padding-left: 0; }
.quote-mark {
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1; font-weight: 600;
  color: var(--pink); opacity: 0.7;
}
.stars { color: var(--pink); font-size: 1rem; letter-spacing: 3px; }
.testimonial-item blockquote { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.55; font-style: italic; color: var(--ink); margin-top: -12px; }
.testimonial-item figcaption { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--berry); }
.section-note { margin-top: 44px; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }

/* ---------- CTA Banner ---------- */
.cta-banner { position: relative; padding: 150px 0; overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(173,7,103,0.88), rgba(36,16,25,0.82)); }
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; color: var(--white); }
.cta-icon { width: 56px; margin: 0 auto 26px; }
.cta-content h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.cta-content p { color: rgba(255,255,255,0.88); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-info h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 2.7rem); }
.contact-info > p.reveal { color: var(--ink-soft); margin-bottom: 34px; font-size: 1.02rem; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1rem; font-weight: 500; }
.icon-contact { width: 20px; height: 20px; fill: var(--berry); flex-shrink: 0; }
.contact-list a:hover { color: var(--berry); }

.contact-form {
  border-top: 3px solid var(--berry);
  border-bottom: 1px solid var(--pink-soft);
  padding: 44px 4px 36px;
  display: flex; flex-direction: column; gap: 22px;
}
.form-hint { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 6px; }
.form-row label { display: flex; flex-direction: column; gap: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.form-row input, .form-row textarea {
  font: inherit; font-size: 1rem; padding: 8px 2px; border-radius: 0; border: none; border-bottom: 1.5px solid #e7c3d9;
  background: transparent; resize: vertical; transition: border-color .3s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--berry); }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.form-success { display: none; font-size: 0.9rem; color: var(--berry); font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-inner .brand-icon { height: 34px; }
.footer-inner .brand-word, .footer-inner .brand-word b { color: var(--white); font-size: 0.9rem; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; transition: color .3s; }
.footer-nav a:hover { color: var(--pink); }
.footer-bottom { padding: 26px 0; text-align: center; font-size: 0.8rem; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.3); transition: color .3s; }
.footer-legal a:hover { color: var(--pink); }
.form-legal { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.55; }
.form-legal a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal { background: var(--white); padding: 150px 0 100px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 14px; }
.legal-meta { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 48px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.75; font-size: 0.98rem; }
.legal p + p { margin-top: 12px; }
.legal ul.legal-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-left: 1.1em; list-style: disc; }
.legal a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.legal-block { margin-top: 8px; }
.legal-block p { color: var(--ink); }
.legal-todo { background: #fff3c4; color: #5a4300; padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.legal-back { display: inline-block; margin-top: 56px; font-weight: 500; }

/* ===========================================================
   Responsive
=========================================================== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-track { grid-template-columns: 1fr; gap: 36px; }
  .testimonial-item { border-left: none; padding: 32px 0 0; border-top: 1px solid rgba(122, 4, 73, 0.15); }
  .testimonial-item:first-child { border-top: none; padding-top: 0; }
  section { padding: 90px 0; }
}

@media (max-width: 800px) {
  .main-nav {
    position: fixed; inset: 0; top: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 34px;
    background: linear-gradient(160deg, var(--berry-deep), var(--ink));
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .5s var(--ease), opacity .4s var(--ease), visibility 0s linear .5s;
    z-index: 450;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .5s var(--ease), opacity .4s var(--ease), visibility 0s;
  }
  .main-nav a { color: var(--white) !important; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
  .header-cta span { display: none; }
  .header-cta { padding: 12px; border-radius: 50%; width: 44px; height: 44px; justify-content: center; }
  .header-cta .icon-whatsapp { margin: 0; }
  .hamburger { display: flex; position: relative; z-index: 460; }
  .hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hamburger.is-active span { background: var(--white) !important; }
  .about-card { position: static; margin-top: -40px; margin-left: 20px; width: fit-content; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 12px; }
  .brand-lockup { gap: 9px; }
  .brand-word { font-size: 0.72rem; letter-spacing: 0.1em; }
  section { padding: 70px 0; }
  .hero { min-height: 92svh; }
  .hero-content { padding-top: 64px; }
  .hero-sub { margin-bottom: 28px; font-size: 1rem; }
  .hero-title { margin-bottom: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 2px 28px; }
}

@media (max-width: 360px) {
  .header-inner, .header-actions { gap: 8px; }
  .brand-icon { height: 28px; }
  .site-header.is-scrolled .brand-icon { height: 26px; }
  .brand-word { font-size: 0.6rem; letter-spacing: 0.06em; }
  .lang-toggle { font-size: 0.75rem; gap: 3px; }
  .header-cta { width: 38px; height: 38px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-cue span { animation: none; }
}
