/* Coiffeur Nora — main.css */
:root {
  --accent: #9B7070;
  --accent-dark: #7a5555;
  --text: #1a1614;
  --text-muted: #7a706b;
  --bg: #F9F7F4;
  --surface: #F2EEEA;
  --border: rgba(0,0,0,0.08);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
em { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.8rem;
  border-radius: 0;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease);
}
.btn-primary:hover .btn-arrow { transform: translate(2px, -2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { color: #fff; border-color: #fff; }

.btn-text {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.btn-text:hover { opacity: 0.7; }

/* ─── NAVIGATION ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  pointer-events: none;
}
.nav-pill {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(249,247,244,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  pointer-events: all;
  transition: box-shadow 0.3s;
}
.nav-pill.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.08); }

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo em { font-style: italic; }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.78rem;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--accent); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ─── MOBILE OVERLAY ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(249,247,244,0.97);
  backdrop-filter: blur(30px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-overlay-close {
  position: absolute;
  top: 2rem; right: 2rem;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-overlay-close span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  top: 50%; left: 50%;
}
.nav-overlay-close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.nav-overlay-close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }

.nav-overlay-links {
  list-style: none;
  text-align: center;
}
.nav-overlay-links li { overflow: hidden; }
.nav-overlay-links a {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  color: var(--text);
  padding: 0.4rem 0;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.2s;
}
.nav-overlay.open .nav-overlay-links a { transform: translateY(0); opacity: 1; }
.nav-overlay-links a[data-delay="1"] { transition-delay: 0.05s; }
.nav-overlay-links a[data-delay="2"] { transition-delay: 0.1s; }
.nav-overlay-links a[data-delay="3"] { transition-delay: 0.15s; }
.nav-overlay-links a[data-delay="4"] { transition-delay: 0.2s; }
.nav-overlay-links a:hover { color: var(--accent); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.hero-img.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,8,0.72) 0%, rgba(15,10,8,0.2) 60%, rgba(15,10,8,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 5rem);
  padding-top: 8rem;
  max-width: 800px;
  color: #fff;
}
.hero-content .eyebrow { color: rgba(255,255,255,0.6); }
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ─── ABOUT SPLIT ─── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  align-items: center;
}
.about-text {
  padding: clamp(3rem, 8vw, 7rem) clamp(2rem, 5vw, 5rem);
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; max-width: 420px; }
.about-text .btn-text { margin-top: 1rem; }

.about-image {
  background: var(--surface);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.img-bezel {
  background: rgba(155,112,112,0.06);
  border: 1px solid rgba(155,112,112,0.15);
  padding: 0.5rem;
  border-radius: 4px;
  width: 100%;
  max-width: 420px;
}
.img-inner {
  border-radius: 2px;
  overflow: hidden;
}
.img-inner img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}
.img-bezel:hover .img-inner img { transform: scale(1.03); }

/* ─── SERVICES ─── */
.services-section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--text);
  color: var(--bg);
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow { color: var(--accent); }
.section-header h2 { color: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.06);
}
.service-card {
  padding: 2.5rem 2rem;
  background: var(--text);
  transition: background 0.3s var(--ease);
}
.service-card:hover { background: #222; }
.service-icon {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.service-card h3 {
  color: var(--bg);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(249,247,244,0.55);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.service-from {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ─── GALLERY STRIP ─── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 340px;
  overflow: hidden;
}
.gallery-strip-item {
  overflow: hidden;
  position: relative;
}
.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-strip-item:hover img { transform: scale(1.06); }

/* ─── OPENING HOURS BANNER ─── */
.hours-banner {
  background: var(--surface);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.hours-banner h2 { margin-bottom: 2rem; }
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.hours-row .day { font-weight: 500; }
.hours-row .time { color: var(--text-muted); }
.hours-row.closed .time { color: var(--accent); font-style: italic; }

.contact-quick { display: flex; flex-direction: column; gap: 1rem; }
.contact-quick h3 { font-family: var(--font-serif); font-weight: 300; font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }
.contact-link-icon {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--text);
  color: rgba(249,247,244,0.5);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
footer a { color: inherit; transition: color 0.2s; }
footer a:hover { color: var(--bg); }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(249,247,244,0.7);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding-top: 9rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); max-width: 520px; font-size: 1.05rem; }

/* ─── PRICES PAGE ─── */
.prices-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}
.price-category {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.price-category:last-child { border-bottom: none; }
.price-category-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.price-table { width: 100%; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.price-row:last-child { border-bottom: none; }
.price-name { color: var(--text); }
.price-amount { color: var(--accent); font-weight: 500; white-space: nowrap; }

/* ─── TEAM PAGE ─── */
.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.team-card {}
.team-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 1.5rem;
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}
.team-card:hover .team-img-wrap img { transform: scale(1.03); }
.team-name { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 300; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.team-bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── CONTACT PAGE ─── */
.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form-wrap {}
.contact-form-wrap h2 { font-size: 2rem; margin-bottom: 2rem; }

form[data-contact] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form[data-contact] input,
form[data-contact] textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
form[data-contact] input:focus,
form[data-contact] textarea:focus { border-color: var(--accent); }
form[data-contact] textarea { min-height: 140px; resize: vertical; }
form[data-contact] label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
form[data-contact] label input[type=checkbox] { margin-top: 2px; accent-color: var(--accent); }
form[data-contact] label a { color: var(--accent); }
form[data-contact] button[type=submit] {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
form[data-contact] button[type=submit]:hover { background: var(--accent); }
form[data-contact] button:disabled { opacity: 0.5; cursor: not-allowed; }
.form-msg { font-size: 0.85rem; color: var(--accent); min-height: 1.2em; }

.contact-info-panel {}
.contact-info-panel h2 { font-size: 2rem; margin-bottom: 2rem; }
.info-block { margin-bottom: 2rem; }
.info-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.info-value { font-size: 0.95rem; color: var(--text); }
.info-value a { transition: color 0.2s; }
.info-value a:hover { color: var(--accent); }

.holidays-list { display: flex; flex-direction: column; gap: 0.5rem; }
.holiday-item { font-size: 0.88rem; color: var(--text-muted); }

/* ─── IMPRESSUM ─── */
.impressum-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}
.impressum-content h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.impressum-content p, .impressum-content li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.5rem; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-image { min-height: 50vw; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: repeat(2,1fr); height: 240px; }
  .hours-banner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; height: 200px; }
  .team-grid { grid-template-columns: 1fr; }
  .site-header { padding: 1rem; }
  .nav-pill { padding: 0.6rem 1rem; }
  .hero-content { padding: 2rem; padding-top: 7rem; }
  .hero-scroll { display: none; }
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 600px) { .nav-logo-img { height: 28px; } }


/* ─── GALLERY GRID ─── */
.gallery-section {
  background: var(--surface);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
}
.gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  overflow: hidden;
  background: var(--border);
}
.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.32,0.72,0,1);
}
.gallery-item:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item--tall { grid-row: span 1; }
}

/* ─── CHECKBOX LABEL FIX ─── */
form[data-contact] label span {
  line-height: 1.5;
}
