/* ========================================
   BARBER HOGO — Schwarz & Gold
   ======================================== */

:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Schwarz & Gold Palette */
  --color-bg: #0C0B09;
  --color-surface: #141210;
  --color-surface-2: #1A1816;
  --color-surface-3: #211E1A;
  --color-border: rgba(191, 155, 81, 0.15);
  --color-border-strong: rgba(191, 155, 81, 0.3);
  --color-text: #E8E4DC;
  --color-text-muted: #9A9590;
  --color-text-faint: #5C5752;
  --color-gold: #BF9B51;
  --color-gold-light: #D4B06A;
  --color-gold-dark: #9A7B3A;
  --color-warm: #C8A882;

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;

  /* Fonts */
  --font-display: 'Cormorant', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  /* Content */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ========================================
   HEADER / NAV
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) var(--space-6);
  background: rgba(12, 11, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--color-gold);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }
}

.nav-desktop a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-desktop a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 11, 9, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 11, 9, 0.95) 0%,
    rgba(12, 11, 9, 0.5) 40%,
    rgba(12, 11, 9, 0.2) 70%,
    rgba(12, 11, 9, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-32) var(--space-6) var(--space-16);
  width: 100%;
}

.hero-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-text);
  max-width: 14ch;
  margin-bottom: var(--space-6);
  line-height: 1.05;
}

.hero-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 42ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-gold);
  padding: var(--space-4) var(--space-8);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--color-gold-light);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
}

.hero-cta-phone {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  margin-left: var(--space-3);
}

.hero-cta-phone:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

@media (max-width: 520px) {
  .hero-cta-phone {
    margin-left: 0;
    margin-top: var(--space-3);
  }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
}

.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* ========================================
   LEISTUNGEN (Services)
   ======================================== */

.services-grid {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-item {
  background: var(--color-surface);
  padding: var(--space-8) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
}

.service-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.services-note {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: var(--space-8);
  font-style: italic;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-layout {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.85);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.about-text {
  padding: var(--space-4) 0;
}

.about-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-signature {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-gold);
  margin-top: var(--space-8);
}

/* ========================================
   FULL-WIDTH IMAGE BREAK
   ======================================== */

.image-break {
  position: relative;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
}

.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-bg) 0%,
    transparent 15%,
    transparent 85%,
    var(--color-bg) 100%
  );
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-grid {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  filter: saturate(0.85);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}



.gallery-item:hover img {
  transform: scale(1.03);
}

/* ========================================
   GALLERY ROW (second row)
   ======================================== */

.gallery-row {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  .gallery-row {
    grid-template-columns: 1fr 1fr;
  }
}

.gallery-row .gallery-item img {
  aspect-ratio: 4/5;
}

/* ========================================
   SOCIAL LINKS BLOCK
   ======================================== */

.social-links-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.social-link-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gold);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}

.social-link-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-link-item:hover {
  color: var(--color-gold-light);
}

/* ========================================
   CONTACT SOCIAL LINKS
   ======================================== */

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-social-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.2s ease;
}

.contact-social-links a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-social-links a:hover {
  color: var(--color-gold);
}

/* ========================================
   ÖFFNUNGSZEITEN
   ======================================== */

.hours-layout {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .hours-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.hours-list {
  list-style: none;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}

.hours-item:first-child {
  border-top: 1px solid var(--color-border);
}

.hours-day {
  color: var(--color-text);
  font-weight: 500;
}

.hours-time {
  color: var(--color-text-muted);
}

.hours-time.closed {
  color: var(--color-gold-dark);
  font-style: italic;
}

.hours-info {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.hours-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.hours-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.hours-info a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
}

.hours-info a:hover {
  color: var(--color-gold-light);
}

/* ========================================
   KONTAKT / FOOTER
   ======================================== */

.contact-layout {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--color-gold);
}

.contact-map {
  aspect-ratio: 16/10;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.9) brightness(0.6) contrast(1.1);
}

.site-footer {
  padding: var(--space-12) var(--space-6);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--color-gold);
  border-color: var(--color-border-strong);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

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

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ========================================
   REVEAL ANIMATION
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 560ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   GOLD LINE DIVIDER
   ======================================== */

.gold-divider {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--space-6) 0;
  opacity: 0.6;
}
