/* ==================================================
   NAILS GLAM BY MARIA – Update 11/2026
   Lokale Schriften (keine Verbindung zu Google Fonts),
   Öffnungszeiten, FAQ, Karte erst nach Klick, Rechtliches
   ================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face {
  font-family: 'Crimson Pro'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/crimson-pro-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/crimson-pro-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/crimson-pro-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro'; font-style: italic; font-weight: 300; font-display: swap;
  src: url('fonts/crimson-pro-latin-300-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/archivo-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/archivo-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/archivo-latin-600-normal.woff2') format('woff2');
}

/* ---------- Über uns: Einleitungssatz ---------- */
.about-text .about-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  padding-left: 18px;
  border-left: 2px solid var(--accent-light);
  margin-bottom: 22px;
}

/* ---------- Kontakt: Öffnungszeiten ---------- */
.contact-hours { display: block; font-size: 15px; color: var(--text); line-height: 1.6; }
.contact-hours small { font-size: 13px; color: var(--muted); }

/* ---------- Preisliste: Hinweiszeile ---------- */
.price-note { font-size: 13px; color: var(--muted); padding-top: 12px; }

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-family: 'Crimson Pro', serif;
  font-size: 21px;
  line-height: 1.3;
  color: var(--charcoal);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-answer { padding: 0 4px 24px; max-width: 700px; }
.faq-answer p { font-size: 15px; line-height: 1.75; color: var(--muted); }
.faq-answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--charcoal); }

/* ---------- Karte: erst nach Klick laden ---------- */
.map-consent {
  flex: 1;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 149, 106, 0.10), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(184, 149, 106, 0.08), transparent 50%),
    var(--cream);
}
.map-consent-icon { color: var(--accent); margin-bottom: 4px; }
.map-consent-title { font-family: 'Crimson Pro', serif; font-size: 22px; line-height: 1.3; color: var(--charcoal); }
.map-consent-text { max-width: 340px; font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 8px; }
.map-consent-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.map-consent-text a:hover { color: var(--charcoal); }

/* ---------- Footer: Rechtliches ---------- */
.footer-legal { display: flex; gap: 18px; font-size: 13px; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal-page { padding: 150px 0 96px; }
.legal-content { max-width: 760px; }
.legal-content h1 {
  font-size: clamp(38px, 5vw, 54px);
  color: var(--charcoal);
  margin-bottom: 12px;
}
.legal-content .legal-lead { font-size: 16px; color: var(--muted); margin-bottom: 40px; }
.legal-content h2 {
  font-size: 24px;
  color: var(--charcoal);
  margin: 40px 0 12px;
}
.legal-content h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 26px 0 8px;
}
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.75; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 20px; list-style: disc; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-content address { font-style: normal; font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.legal-back { margin-top: 48px; }
.legal-content a.btn-primary { color: #fff; text-decoration: none; }

@media (max-width: 640px) {
  .faq-item summary { font-size: 19px; padding: 18px 2px; }
  .footer-legal { justify-content: center; }
  .legal-page { padding: 120px 0 64px; }
}

/* ---------- Hero: Standbild aus dem eigenen Video (hero.mp4), lokal ---------- */
.hero-bg { background-image: url('images/hero-poster.jpg'); }

/* ---------- Team: Ioanna ---------- */
.team-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 44px;
  align-items: center;
  max-width: 860px;
  margin: 88px auto 0;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
.team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.team-text h3 { font-size: 32px; font-weight: 400; color: var(--charcoal); margin-bottom: 4px; }
.team-text h3 em { font-style: italic; color: var(--accent); }
.team-text .team-role {
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.team-text p { margin-bottom: 0; }

/* ---------- Galerie: Bild gross ansehen (Lightbox) ---------- */
.gallery-item { cursor: zoom-in; }
.gallery-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 64px 72px 40px;
  background: rgba(26, 24, 22, 0.94);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: min(100%, 900px);
  max-height: calc(100vh - 170px);
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.97);
  transition: transform 0.25s var(--ease);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-caption { color: rgba(255, 255, 255, 0.85); font-size: 14px; text-align: center; }
.lightbox-count {
  position: absolute; top: 22px; left: 26px;
  color: rgba(255, 255, 255, 0.55); font-size: 13px; letter-spacing: 1px;
}
.lightbox-btn {
  position: absolute;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-btn:hover { background: rgba(184, 149, 106, 0.35); border-color: var(--accent); }
.lightbox-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox-close { top: 14px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 640px) {
  .team-card { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; padding-top: 48px; }
  .team-photo { max-width: 280px; }
  .team-text h3 { font-size: 28px; }
  .lightbox { padding: 60px 12px 28px; }
  .lightbox-img { max-height: calc(100vh - 150px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; width: 44px; height: 44px; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
  .lightbox { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-img { transition: none; }
}
