/*
Theme Name: The Classic Cut Barbershop
Theme URI: https://classic-cut.de
Author: Classic Cut Hamburg
Author URI: https://classic-cut.de
Description: Retro 70s Barbershop Theme – vollständig anpassbar über den WordPress Customizer. Alle Texte, Bilder, Preise, Öffnungszeiten und Farben können ohne Programmierkenntnisse geändert werden.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: classic-cut
Tags: barbershop, retro, business, customizer, one-page
*/

/* ============================================================
   CSS CUSTOM PROPERTIES – 70s Retro Barbershop Palette
============================================================ */
:root {
  --cream:        #f5efe0;
  --beige:        #e8d8b8;
  --gold:         #c9973a;
  --gold-light:   #e0b85a;
  --dark-red:     #8b1a1a;
  --rust:         #a0391a;
  --brown:        #4a2c0a;
  --brown-mid:    #6b3f12;
  --tan:          #b8864e;
  --off-white:    #fdf6e3;
  --pole-red:     #b22222;
  --pole-white:   #f0ebe0;
  --pole-blue:    #3a4a72;
  --dark-bg:      #1e1208;
  --dark-panel:   #2a1a08;
  --chrome:       #c0b090;
}

/* ============================================================
   BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.45;
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark-red);
}

.font-script    { font-family: 'Lobster', cursive; }
.font-typewriter{ font-family: 'Special Elite', monospace; }

/* ============================================================
   BARBER POLE STRIPE
============================================================ */
.barber-pole-stripe {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--pole-red)   0px,  var(--pole-red)   10px,
    var(--pole-white) 10px, var(--pole-white)  20px,
    var(--pole-blue)  20px, var(--pole-blue)   30px,
    var(--pole-white) 30px, var(--pole-white)  40px
  );
  background-size: 56px 56px;
  animation: pole-scroll 3s linear infinite;
}
@keyframes pole-scroll {
  from { background-position: 0 0; }
  to   { background-position: 56px 0; }
}
.barber-pole-stripe-thin {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--pole-red)   0px, var(--pole-red)   6px,
    var(--pole-white) 6px, var(--pole-white) 12px,
    var(--pole-blue) 12px, var(--pole-blue)  18px,
    var(--pole-white)18px, var(--pole-white) 24px
  );
  background-size: 34px 34px;
  animation: pole-scroll 2.5s linear infinite;
}

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  background-color: var(--dark-bg);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  font-family: 'Special Elite', monospace;
  letter-spacing: 0.04em;
}
#mainNav .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold) !important;
  padding: 0.6rem 1rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  text-decoration: none;
}
#mainNav .navbar-brand .brand-script {
  font-family: 'Lobster', cursive;
  font-size: 2rem;
  line-height: 1;
  display: block;
  color: var(--cream);
}
#mainNav .nav-link {
  color: var(--beige) !important;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1.2rem 0.9rem !important;
  transition: color 0.25s, border-bottom 0.25s;
  border-bottom: 3px solid transparent;
}
#mainNav .nav-link:hover,
#mainNav .nav-link:focus,
#mainNav .nav-link.active,
#mainNav .current-menu-item > .nav-link {
  color: var(--gold) !important;
  border-bottom: 3px solid var(--gold);
}
.navbar-toggler { border-color: var(--gold); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c9973a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, rgba(30,12,8,0.72) 0%, rgba(90,30,10,0.55) 50%, rgba(60,20,5,0.80) 100%),
              var(--hero-bg-url, url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?w=1600&auto=format&fit=crop&q=60')) center center / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(20,5,0,0.55) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
  text-shadow: 3px 3px 12px rgba(0,0,0,0.7);
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-family: 'Lobster', cursive;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: var(--beige);
  margin-top: 0.5rem;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}
.hero-divider { width: 80px; height: 3px; background: var(--gold); margin: 1.5rem 0; }

/* Buttons */
.btn-retro {
  font-family: 'Special Elite', monospace;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--gold);
  background: var(--dark-red);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--gold);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-retro:hover {
  background: var(--gold);
  color: var(--brown);
  box-shadow: 2px 2px 0 var(--dark-red);
  transform: translate(2px, 2px);
}
.btn-retro-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.2);
}
.btn-retro-outline:hover { background: var(--cream); color: var(--brown); }

.scroll-arrow {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--gold);
  font-size: 1.8rem;
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   SECTION SHARED
============================================================ */
section { padding: 5rem 0; }
.section-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--dark-red);
  margin-bottom: 0;
}
.title-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.8rem 0 2.5rem;
}
.title-ornament::before,
.title-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.ornament-diamond { color: var(--gold); font-size: 1rem; }

/* ============================================================
   SERVICES
============================================================ */
#services { background-color: var(--dark-bg); }
#services .section-title { color: var(--gold); }
#services .section-label { color: var(--tan); }
#services .title-ornament::before,
#services .title-ornament::after { background: linear-gradient(to right, transparent, var(--gold), transparent); }

.service-card {
  background: var(--dark-panel);
  border: 1px solid rgba(201,151,58,0.3);
  border-top: 4px solid var(--gold);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); border-top-color: var(--pole-red); }
.service-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(201,151,58,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin: 0 auto 1.5rem;
  transition: background 0.25s;
}
.service-card:hover .service-icon { background: var(--dark-red); }
.service-card h4 {
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.service-card p { color: var(--beige); font-size: 0.9rem; margin-bottom: 0; opacity: 0.85; }

/* ============================================================
   PRICE LIST
============================================================ */
#preise { background: var(--beige); }
.price-panel {
  background: var(--off-white);
  border: 2px solid var(--gold);
  border-radius: 2px;
  padding: 2.5rem;
  box-shadow: 8px 8px 0 var(--tan);
  position: relative;
}
.price-panel::before {
  content: attr(data-label);
  font-family: 'Special Elite', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  position: absolute;
  top: -0.75rem; left: 50%;
  transform: translateX(-50%);
  background: var(--off-white);
  padding: 0 1rem;
  white-space: nowrap;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--tan);
}
.price-row:last-child { border-bottom: none; }
.price-name { font-family: 'Libre Baskerville', serif; font-weight: 700; color: var(--brown); }
.price-desc { font-size: 0.8rem; color: var(--brown-mid); display: block; font-style: italic; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--dark-red);
  white-space: nowrap; margin-left: 1rem;
}
.price-category {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pole-blue);
  margin-top: 1.5rem; margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--pole-blue);
}

/* ============================================================
   GALLERY
============================================================ */
#galerie { background: var(--dark-bg); }
#galerie .section-title { color: var(--gold); }
#galerie .section-label { color: var(--tan); }
#galerie .title-ornament::before,
#galerie .title-ornament::after { background: linear-gradient(to right, transparent, var(--gold), transparent); }

.gallery-item {
  overflow: hidden; position: relative;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: sepia(0.35) saturate(0.85) brightness(0.9) contrast(1.05);
}
.gallery-item:hover img { transform: scale(1.08); filter: sepia(0.15) saturate(1) brightness(1) contrast(1); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(10,5,0,0.45) 100%);
  pointer-events: none;
}
.gallery-item::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  z-index: 1; pointer-events: none; mix-blend-mode: multiply;
}
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,8,2,0.85) 0%, transparent 100%);
  padding: 1.5rem 1rem 1rem;
  color: var(--cream);
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem; letter-spacing: 0.1em;
  opacity: 0; transition: opacity 0.3s; z-index: 2;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   ÜBER UNS
============================================================ */
#ueber-uns { background: var(--cream); position: relative; }
.about-frame { border: 3px solid var(--gold); padding: 3px; box-shadow: 6px 6px 0 var(--tan); }
.about-frame img { width: 100%; display: block; filter: sepia(0.3) saturate(0.8) brightness(0.95); }
.about-quote {
  font-family: 'Lobster', cursive;
  font-size: 1.8rem; color: var(--dark-red); line-height: 1.3;
  position: relative; padding-left: 1.5rem;
  border-left: 4px solid var(--gold); margin: 2rem 0;
}
.about-text { color: var(--brown); line-height: 1.9; }
.signature { font-family: 'Lobster', cursive; font-size: 2rem; color: var(--dark-red); margin-top: 1rem; }
.signature small {
  display: block; font-family: 'Special Elite', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em; color: var(--tan);
}
.year-badge {
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--dark-red); color: var(--cream);
  border: 3px solid var(--gold);
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: 1.5rem; line-height: 1;
  box-shadow: 3px 3px 0 var(--brown);
}
.year-badge small { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: 'Special Elite', monospace; }

/* Stats Strip */
.stats-strip { background: var(--dark-red); padding: 2.5rem 0; }
.stat-item { text-align: center; color: var(--cream); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-family: 'Special Elite', monospace; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; margin-top: 0.3rem; }

/* ============================================================
   KONTAKT
============================================================ */
#kontakt { background: var(--dark-panel); }
#kontakt .section-title { color: var(--gold); }
#kontakt .section-label { color: var(--tan); }
#kontakt .title-ornament::before,
#kontakt .title-ornament::after { background: linear-gradient(to right, transparent, var(--gold), transparent); }

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,151,58,0.4);
  border-radius: 2px; color: var(--cream);
  font-family: 'Libre Baskerville', serif; font-size: 0.9rem;
  padding: 0.75rem 1rem; transition: border-color 0.2s;
}
.contact-form .form-control::placeholder { color: var(--tan); opacity: 0.6; }
.contact-form .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold); box-shadow: none; color: var(--cream);
}
.contact-form label {
  font-family: 'Special Elite', monospace; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--tan); margin-bottom: 0.4rem;
}
.info-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,151,58,0.25);
  border-left: 4px solid var(--gold);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.info-box h5 { font-family: 'Special Elite', monospace; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.info-box p, .info-box li { color: var(--beige); font-size: 0.9rem; margin-bottom: 0.3rem; }
.info-box ul { list-style: none; padding: 0; margin: 0; }
.info-box i { color: var(--gold); margin-right: 0.5rem; width: 16px; }

.map-placeholder {
  background: #1a1008; border: 2px solid rgba(201,151,58,0.3);
  height: 220px; display: flex; align-items: center; justify-content: center;
  color: var(--tan); font-family: 'Special Elite', monospace;
  font-size: 0.8rem; letter-spacing: 0.1em;
  flex-direction: column; gap: 0.5rem;
}
.map-placeholder i { font-size: 2.5rem; color: var(--gold); }

.hours-grid { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; }
.hours-grid .day { color: var(--beige); font-size: 0.88rem; }
.hours-grid .time { color: var(--gold); font-size: 0.88rem; font-family: 'Special Elite', monospace; }
.hours-grid .closed { color: var(--pole-red); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--dark-bg); color: var(--beige);
  padding: 3rem 0 0; border-top: 3px solid var(--gold);
}
.footer-brand { font-family: 'Lobster', cursive; font-size: 2.5rem; color: var(--gold); line-height: 1; }
.footer-tagline { font-family: 'Special Elite', monospace; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--tan); text-transform: uppercase; margin-top: 0.25rem; }
.footer-heading {
  font-family: 'Special Elite', monospace; font-size: 0.72rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,151,58,0.3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--beige); text-decoration: none; font-size: 0.88rem; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-links a::before { content: '›  '; color: var(--gold); }

.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(201,151,58,0.4);
  color: var(--beige); font-size: 1rem;
  transition: background 0.2s, color 0.2s; text-decoration: none;
}
.social-btn:hover { background: var(--dark-red); color: var(--cream); border-color: var(--dark-red); }

.footer-bottom {
  margin-top: 2.5rem; padding: 1rem 0;
  border-top: 1px solid rgba(201,151,58,0.2);
  font-family: 'Special Elite', monospace; font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--tan); text-align: center;
}
.footer-bottom a { color: var(--tan); text-decoration: none; margin: 0 0.5rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   TESTIMONIAL BAND
============================================================ */
.testimonial-band { background: var(--dark-red); padding: 3.5rem 0; }
.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-style: italic;
  color: var(--cream); max-width: 680px; margin: 0 auto; text-align: center;
}
.testimonial-author { font-family: 'Special Elite', monospace; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); text-align: center; margin-top: 1rem; }
.testimonial-quotes { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--gold); line-height: 0.5; }

/* ============================================================
   UTILS / SCROLL REVEAL
============================================================ */
.bg-cream  { background-color: var(--cream); }
.text-gold { color: var(--gold); }
.text-cream{ color: var(--cream); }
.text-beige{ color: var(--beige); }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 767px) {
  section { padding: 3.5rem 0; }
  .price-panel { padding: 1.5rem; box-shadow: 4px 4px 0 var(--tan); }
  .year-badge { width: 70px; height: 70px; font-size: 1.1rem; }
}

/* ============================================================
   WORDPRESS ADMIN BAR FIX
============================================================ */
.admin-bar #mainNav.sticky-top { top: 32px; }
@media (max-width: 782px) { .admin-bar #mainNav.sticky-top { top: 46px; } }

/* ============================================================
   CUSTOMIZER LIVE PREVIEW TRANSITIONS
============================================================ */
.wp-customizer-unloading body { transition: opacity 0.3s; }
