/* ==========================================================================
   Beauty & Skin by Jessi — Gießen
   Palette: Beige / Gold / Weiß
   ========================================================================== */

/* Self-hosted fonts (no external Google Fonts request, DSGVO-konform) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-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 {
  --white: #ffffff;
  --cream: #fdfbf7;
  --beige-light: #f5efe4;
  --beige: #ebe0cc;
  --beige-dark: #d9c9a8;
  --gold: #b3893f;
  --gold-light: #c9a15c;
  --gold-dark: #84662e;
  --text-dark: #3a2e22;
  --text-muted: #756956;

  --font-heading: 'Playfair Display', serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.3px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 500;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--beige-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 10px 0 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), #6e5326);
  color: var(--white);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #6e5326, #5a4420);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(139, 106, 48, 0.28);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige-dark);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-mark {
  display: block;
}

.logo-mark img {
  height: 58px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover { color: var(--gold-dark); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 500;
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-dark);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; /* fallback */
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 161, 92, 0.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201, 161, 92, 0.10), transparent 45%),
    linear-gradient(160deg, var(--cream) 0%, var(--beige-light) 60%, var(--beige) 100%);
  padding-top: 84px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(179, 137, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 137, 63, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-dark);
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-meta div {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 125%; /* 4:5 ratio, browser-independent (no reliance on aspect-ratio prop) */
  border-radius: 4px;
  background: linear-gradient(150deg, var(--beige) 0%, var(--beige-dark) 100%);
  overflow: hidden;
  border: 1px solid var(--beige-dark);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--gold-light);
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--gold-dark);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  white-space: nowrap;
  padding: 0 0.9rem;
}

.marquee-track .dot {
  color: var(--gold-light);
  padding: 0 0.2rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--beige);
  padding: 38px 28px;
  text-align: center;
  transition: all 0.25s ease;
  border-radius: 3px;
}

.service-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(139, 106, 48, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-dark);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.process-step {
  text-align: center;
  padding: 0 16px;
}

.process-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold-light);
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: 3px;
  padding: 20px 26px;
  margin-bottom: 14px;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--gold-dark);
  font-family: var(--font-body);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.price-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.price-tab {
  padding: 10px 22px;
  border: 1px solid var(--beige-dark);
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  background: var(--white);
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.price-tab.active,
.price-tab:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.price-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.price-group {
  display: none;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: 4px;
  padding: 34px 36px;
}

.price-group.active { display: block; }

.price-group h3 {
  font-size: 1.3rem;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.price-group .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: block;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted var(--beige-dark);
}

.price-row:last-child { border-bottom: none; }

.price-row .name { font-size: 0.98rem; }

.price-row .amount {
  font-family: var(--font-heading);
  color: var(--gold-dark);
  font-weight: 600;
  white-space: nowrap;
  padding-left: 16px;
}

.price-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 40px;
  font-style: italic;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%; /* 1:1 ratio, browser-independent (no reliance on aspect-ratio prop) */
  background: linear-gradient(150deg, var(--beige-light), var(--beige));
  border: 1px solid var(--beige-dark);
  border-radius: 4px;
  overflow: hidden;
}

.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin: 10px 0 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-usps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.about-usps li {
  list-style: none;
  font-size: 0.92rem;
  padding-left: 26px;
  position: relative;
  color: var(--text-dark);
}

.about-usps li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%; /* 1:1 ratio, browser-independent (no reliance on aspect-ratio prop) */
  background: linear-gradient(150deg, var(--beige-light), var(--beige-dark));
  border-radius: 3px;
  overflow: hidden;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Contact / CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, #6e5326, var(--gold-dark));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-section .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--gold-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info h2 { margin-bottom: 24px; }

.contact-list { list-style: none; margin-top: 24px; }

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--beige);
}

.contact-list .ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}

.contact-list .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-list .value {
  font-weight: 500;
}

.map-frame {
  border: 1px solid var(--beige);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(15%) sepia(8%);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 420px;
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--beige-light), var(--beige));
  color: var(--gold-dark);
}

.map-placeholder-address {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
}

.map-load-btn {
  margin-top: 4px;
  padding: 13px 28px;
}

.map-placeholder-note {
  max-width: 320px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--beige);
  color: var(--text-dark);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer p { color: var(--text-muted); font-size: 0.92rem; margin-top: 14px; }

.footer h3 {
  color: var(--text-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 10px; }

.footer ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer ul a:hover { color: var(--gold-dark); }

.footer-bottom {
  border-top: 1px solid var(--beige-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--beige-dark);
  padding: 12px 16px;
  gap: 10px;
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 13px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
  .nav-phone { display: block; }
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .price-groups { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; }
  .section { padding: 64px 0; }
  body { padding-bottom: 62px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .marquee-track span { font-size: 0.95rem; padding: 0 0.7rem; }
}

/* ---------- Mobile nav drawer ---------- */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 1100;
  display: none;
  flex-direction: column;
  padding: 30px 24px;
}

.nav-drawer.open { display: flex; }

.nav-drawer .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav-drawer a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  padding: 18px 0;
  border-bottom: 1px solid var(--beige-dark);
}

/* ---------- Accessibility ---------- */
a, button, .btn, .price-tab, .nav-toggle, .close-btn {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.price-tab:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
