/* ============================================================
   KAPPEREI – BARBERSHOP STYLESHEET
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #0d0d0d;
  color: #e8e0d5;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- CSS Variables --- */
:root {
  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --dark: #0d0d0d;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --cream: #e8e0d5;
  --cream-muted: #a89f94;
  --white: #ffffff;
  --nav-h: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
em { font-style: italic; color: var(--gold); }
p { line-height: 1.75; color: var(--cream-muted); font-size: clamp(0.9rem, 1.2vw, 1rem); }
.section-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.section-label.light { color: var(--gold-light); }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 2rem; font-size: .85rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius); transition: all .35s var(--ease); cursor: pointer; }
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,169,110,.3); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-outline-dark { border: 1px solid var(--cream-muted); color: var(--cream); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { color: var(--cream); border-bottom: 1px solid rgba(232,224,213,.3); border-radius: 0; padding: .9rem 0; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--gold); }
.btn-large { padding: 1.2rem 3rem; font-size: .95rem; }

/* --- GSAP Animation Init --- */
[data-animate] { opacity: 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.navbar.scrolled {
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,169,110,.15);
}
.nav-inner {
  display: flex; align-items: center; gap: 3rem;
  height: 100%; padding: 0 clamp(20px, 5vw, 60px);
}
.nav-logo { flex-shrink: 0; }
.logo-img { height: 36px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 2.5rem; margin-left: auto; }
.nav-links a { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-muted); transition: color .25s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: 1.5rem; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 1px; background: var(--cream); transition: all .3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -6px); }
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(13,13,13,.98); backdrop-filter: blur(20px);
  padding: 2rem clamp(20px, 5vw, 60px) 3rem;
  border-top: 1px solid rgba(201,169,110,.15);
  flex-direction: column; gap: 1.5rem;
  transform: translateY(-10px); opacity: 0;
  pointer-events: none;
  transition: all .35s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu a { font-size: 1.1rem; letter-spacing: .05em; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,13,13,.8) 0%, rgba(13,13,13,.4) 60%, rgba(13,13,13,.6) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 clamp(20px, 5vw, 80px); padding-top: var(--nav-h); }
.hero-eyebrow { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero-headline { color: var(--white); margin-bottom: 1.5rem; }
.hero-sub { max-width: 520px; margin-bottom: 2.5rem; font-size: clamp(.9rem, 1.3vw, 1.05rem); }
.hero-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 2; opacity: .6;
}
.hero-scroll-indicator span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--section-pad) 0; background: var(--dark-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 2rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card {
  background: var(--dark-3); border: 1px solid rgba(201,169,110,.15);
  padding: 2.5rem 2rem; border-radius: 8px; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.stat-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(201,169,110,.06), transparent 70%); }
.stat-number { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: var(--gold); line-height: 1; }
.stat-suffix { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold); }
.stat-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-muted); margin-top: .5rem; line-height: 1.5; }
.stat-icon { position: absolute; top: 1rem; right: 1rem; font-size: 1rem; color: var(--gold); opacity: .4; }

/* ============================================================
   MEET OUR BARBERS
   ============================================================ */
.barbers-section { padding: var(--section-pad) 0; background: var(--dark); }
.barbers-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 3rem; gap: .5rem; }
.barbers-header .section-label { color: var(--gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; }
.barbers-header h2 { font-family: 'Inter', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; text-transform: uppercase; color: var(--white); margin: 0; }
.barbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: 2.5rem; max-width: 800px; margin: 0 auto; }
.barber-card { display: block; position: relative; overflow: hidden; border-radius: 6px; border: 1px solid rgba(201,169,110,.1); }
.barber-img { aspect-ratio: 3/4; }
.barber-img img { transition: transform 0.6s var(--ease); object-position: center 15%; filter: brightness(.92); }
.barber-card:hover .barber-img img { transform: scale(1.05); filter: brightness(1); }
.barber-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.barber-info h3 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin: 0; letter-spacing: .05em; }
.barber-role { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.04em; margin-top: 0.4rem; font-family: 'Playfair Display', serif; font-style: italic; }

/* Tablet: 2-Spalten nebeneinander */
@media (max-width: 1024px) {
  .barbers-grid { grid-template-columns: repeat(2, minmax(0, 340px)); gap: 1.5rem; }
}

/* Mobile: vertikal stapeln, beide Cards voll sichtbar */
@media (max-width: 640px) {
  .barbers-grid { grid-template-columns: 1fr; max-width: 400px; gap: 1.5rem; padding: 0 clamp(20px, 5vw, 40px); }
  .barber-img { aspect-ratio: 4/5; }
}



/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy { position: relative; height: 70vh; min-height: 400px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.philosophy-image { position: absolute; top: -15%; bottom: -15%; left: 0; right: 0; width: 100%; }
.philosophy-image picture { display: block; width: 100%; height: 100%; }
.philosophy-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.52); }
.philosophy-content { position: relative; z-index: 2; text-align: center; padding: 0 clamp(20px, 5vw, 80px); max-width: 800px; }
blockquote { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 3vw, 2.5rem); font-style: italic; color: var(--white); line-height: 1.4; }

/* ============================================================
   TREATMENTS (INTERACTIVE)
   ============================================================ */
.interactive-treatments { padding: var(--section-pad) 0; background: var(--dark-2); overflow: hidden; }
.it-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.it-left h2 { font-family: 'Inter', sans-serif; font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 800; text-transform: uppercase; margin-bottom: .25rem; color: var(--white); }
.it-subtitle { font-size: 1.1rem; color: var(--cream-muted); margin-bottom: 3rem; }
.it-list { display: flex; flex-direction: column; }
.it-item { position: relative; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.05); cursor: pointer; transition: all .3s var(--ease); }
.it-item:first-child { border-top: 1px solid rgba(255,255,255,.05); }
.it-item-header { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.it-item-title { display: flex; align-items: center; gap: 1.5rem; font-family: 'Inter', sans-serif; font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 800; text-transform: uppercase; color: rgba(232,224,213,.15); line-height: 1; transition: color .3s var(--ease); }
.it-item.active .it-item-title { color: var(--gold); }
.it-item:hover .it-item-title { color: var(--gold-light); }
.it-num { font-size: 0.6em; }
.it-price-list { max-height: 0; overflow: hidden; transition: all 0.5s var(--ease); opacity: 0; }
.it-item.open .it-price-list { max-height: 600px; opacity: 1; margin-top: 1.5rem; }
.it-price-list ul { list-style: none; padding: 0; margin: 0; color: var(--cream-muted); font-size: 1rem; line-height: 2.2; }
.it-price-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,.1); padding: 0.5rem 0; }
.it-price-list li:last-child { border-bottom: none; }
.it-price-list li span { color: var(--white); font-weight: 500; }
.it-right { position: relative; height: 500px; border-radius: 8px; overflow: hidden; }
.it-img { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: all .6s var(--ease); transform: scale(1.05); }
.it-img.active { opacity: 1; visibility: visible; transform: scale(1); }
.it-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 992px) {
  .it-layout { grid-template-columns: 1fr; gap: 2rem; }
  .it-right { height: 350px; order: -1; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: var(--section-pad) 0; background: var(--dark); }
.gallery .container { margin-bottom: 3rem; }
.gallery-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; gap: 1.5rem; padding: 0 clamp(20px, 5vw, 80px); width: max-content; }
.gallery-item { height: 400px; width: 300px; overflow: hidden; border-radius: 4px; flex-shrink: 0; }
.gallery-item img { transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { padding: var(--section-pad) 0; background: var(--dark-2); }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.products-text h2 { margin-bottom: 1.5rem; }
.products-text p { margin-bottom: 1.25rem; }
.products-text .btn { margin-top: 1rem; }
.products-image { position: relative; }
.product-img-main { height: 560px; border-radius: 8px; overflow: hidden; }
.product-badge {
  position: absolute; bottom: -20px; left: -20px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  text-align: center; z-index: 2;
}
.badge-text { font-family: 'Playfair Display', serif; font-size: .75rem; font-weight: 700; color: var(--dark); line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; }
.product-logo-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 80px; height: 40px; border-radius: 4px; overflow: hidden;
  background: rgba(13,13,13,.7); padding: .4rem;
}

/* ============================================================
   COFFEE SECTION
   ============================================================ */
.coffee { position: relative; padding: var(--section-pad) 0; overflow: hidden; }
.coffee-bg { position: absolute; inset: -20%; }
.coffee-bg img { filter: brightness(.25); }
.coffee-overlay { position: absolute; inset: 0; background: rgba(13,13,13,.5); }
.coffee-content { position: relative; z-index: 2; max-width: 600px; }
.coffee-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.coffee-content p { margin-bottom: 2.5rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { padding: var(--section-pad) 0; background: var(--dark-3); overflow: hidden; }
.reviews h2 { margin-bottom: 3rem; }
.reviews-slider { overflow: hidden; }
.reviews-track { display: flex; gap: 2rem; transition: transform .5s var(--ease); }
.review-card {
  min-width: calc(33.333% - 1.4rem); background: var(--dark-2);
  border: 1px solid rgba(201,169,110,.12); border-radius: 8px;
  padding: 2.5rem; flex-shrink: 0;
  transition: border-color .3s, transform .3s;
}
.review-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.review-text { font-size: .9rem; line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; color: var(--cream-muted); }
.review-author { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.reviews-controls { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.review-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,169,110,.3);
  background: none; color: var(--gold); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.review-btn:hover { background: var(--gold); color: var(--dark); }
.review-dots { display: flex; gap: .5rem; }
.review-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(201,169,110,.3); transition: all .3s; cursor: pointer; }
.review-dot.active { background: var(--gold); width: 20px; border-radius: 3px; }
.reviews-link { margin-left: auto; }

/* ============================================================
   NEWS
   ============================================================ */
.news { padding: var(--section-pad) 0; background: var(--dark); }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; gap: 2rem; flex-wrap: wrap; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news-card { display: block; background: var(--dark-2); border-radius: 8px; overflow: hidden; transition: transform .4s var(--ease); }
.news-card:hover { transform: translateY(-6px); }
.news-card-img { height: 220px; overflow: hidden; }
.news-card-img img { transition: transform .5s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-content { padding: 1.5rem 2rem 2rem; position: relative; }
.news-tag { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); background: rgba(201,169,110,.1); padding: .25rem .75rem; border-radius: 20px; }
.news-card-content h3 { margin-top: 1rem; color: var(--white); font-size: 1.05rem; line-height: 1.4; }
.news-arrow { position: absolute; bottom: 2rem; right: 2rem; color: var(--gold); font-size: 1.1rem; transition: transform .3s; }
.news-card:hover .news-arrow { transform: translateX(4px); }

/* ============================================================
   BOOKING CTA
   ============================================================ */
.booking-cta { position: relative; padding: var(--section-pad) 0; overflow: hidden; text-align: center; }
.booking-bg { position: absolute; inset: -20%; }
.booking-bg img { filter: brightness(.2); }
.booking-overlay { position: absolute; inset: 0; background: rgba(13,13,13,.55); }
.booking-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.booking-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.booking-content p { margin-bottom: 3rem; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); padding: clamp(60px, 8vw, 100px) 0 0; border-top: 1px solid rgba(201,169,110,.12); }
.footer-grid { display: grid; grid-template-columns: 240px 1fr auto; gap: clamp(2rem, 4vw, 4rem); margin-bottom: 4rem; align-items: start; }
.footer-logo { height: 60px; width: auto; object-fit: contain; margin-bottom: 1.5rem; }
.footer-brand p { font-size: .85rem; max-width: 260px; }
.footer-locations { display: grid; grid-template-columns: auto auto auto; gap: clamp(1.5rem, 3vw, 3.5rem); }
.footer-location strong { display: block; color: var(--cream); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; white-space: nowrap; }
.footer-location p { font-size: .82rem; line-height: 1.7; white-space: nowrap; }
.footer-nav ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-nav a { font-size: .82rem; color: var(--cream-muted); transition: color .25s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 1.5rem 0; text-align: center; }
.footer-bottom p { font-size: .75rem; color: rgba(168,159,148,.5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { max-width: 400px; }
  .products-grid { grid-template-columns: 1fr; }
  .products-image { order: -1; }
  .product-img-main { height: 400px; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-locations { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .mobile-menu { display: flex; }
  .treatments-grid, .news-grid { grid-template-columns: 1fr; }
  .review-card { min-width: calc(100% - 1rem); }
  .reviews-link { margin-left: 0; width: 100%; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-locations { display: flex; flex-direction: column; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .treatments-header, .news-header { flex-direction: column; align-items: flex-start; }
}
