/* ============================================
   ANITA — Mobile Hairstylistin
   Style: Barber Shop Template (dunkel, warm)
   ============================================ */

:root {
  --bg:         #1a1612;
  --bg-light:   #f5f0e8;
  --bg-beige:   #e8dcc8;
  --brown:      #4a3528;
  --brown-dark: #2c1f17;
  --beige:      #b8997a;
  --accent:     #c9a574;
  --white:      #faf7f2;
  --line:       rgba(184, 153, 122, 0.3);

  --font-display: 'Lora', Georgia, serif;
  --font-script:  'Homemade Apple', cursive;
  --font-body:    'Open Sans', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--brown);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-brown  { color: var(--brown); }
.text-beige  { color: var(--beige); }
.text-white  { color: var(--white); }
.secondary-font { font-family: var(--font-script); }
.uppercase { text-transform: uppercase; letter-spacing: 0.15em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1rem; letter-spacing: 0.2em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 2px solid var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  background: transparent;
  transition: all 0.3s ease;
  margin-top: 2rem;
}
.btn:hover {
  background: var(--accent);
  color: var(--brown-dark);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, #2c1f17 0%, #1a1612 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,22,18,0.4) 0%, rgba(26,22,18,0.75) 100%);
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
}

.logo h2, .logo h3 {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  text-transform: lowercase;
}

.main-nav { position: relative; }
.main-nav ul {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  background: var(--brown-dark);
  padding: 1rem 0;
  min-width: 200px;
  border: 1px solid var(--line);
}
.main-nav ul.open { display: flex; }
.main-nav ul li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.main-nav ul li a:hover { color: var(--accent); }

.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero Content */
.inner-hero {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.main {
  padding: 5rem 0;
}

section h2 + .eyebrow {
  margin-bottom: 3rem;
}

/* ============================================
   INTRO
   ============================================ */
.intro {
  background: var(--bg-light);
}

.intro-text {
  max-width: 700px;
  margin: 2rem auto 3rem;
  font-size: 1.05rem;
}

.opening-hours {
  display: inline-block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 3rem;
  margin-top: 2rem;
}
.opening-hours h4 {
  color: var(--brown);
  margin-bottom: 1rem;
}
.opening-hours .hours {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.opening-hours .area {
  color: var(--beige);
  letter-spacing: 0.05em;
}

/* ============================================
   DIVIDER (Instagram)
   ============================================ */
.divider {
  position: relative;
  padding: 6rem 1.5rem;
  color: var(--white);
  overflow: hidden;
  background: var(--brown-dark);
}
.divider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.divider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.divider-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 18, 0.55);
}
.divider .container {
  position: relative;
  z-index: 5;
}
.divider h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  margin-bottom: 1.5rem;
  text-transform: lowercase;
}
.divider p { margin-bottom: 0.5rem; font-size: 1.05rem; }

/* ============================================
   SERVICES (3 runde Bilder)
   ============================================ */
.services {
  background: var(--bg-beige);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.round-img {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid var(--white);
  box-shadow: 0 10px 40px rgba(74, 53, 40, 0.15);
  transition: transform 0.4s ease;
}
.round-img:hover { transform: scale(1.04); }

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

.round-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 23, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
  transition: background 0.3s;
}
.round-img:hover .round-overlay {
  background: rgba(44, 31, 23, 0.7);
}
.round-overlay h5 {
  font-family: var(--font-script);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
}
.round-overlay span {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.services-note {
  margin-top: 3rem;
  font-size: 0.95rem;
  color: var(--beige);
}
.services-note a {
  color: var(--brown);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ============================================
   GALERIE
   ============================================ */
.gallery {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-beige);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Hover-Overlay über dem Vorschaubild */
.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 23, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.gallery-hover span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-hover {
  background: rgba(44, 31, 23, 0.4);
}
.gallery-item:hover .gallery-hover span {
  opacity: 1;
  transform: translateY(0);
}

/* "Alle Bilder ansehen" Link */
.gallery-note {
  margin-top: 2.5rem;
}
.gallery-more {
  color: var(--brown);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--accent);
  transition: color 0.3s ease;
}
.gallery-more:hover {
  color: var(--accent);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(26, 22, 18, 0.95) !important;
  z-index: 9999 !important;
  visibility: hidden;
  opacity: 0;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  margin: 0 !important;
  display: flex !important;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
  animation: lbFade 0.3s ease;
}

@keyframes lbFade {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-counter {
  margin-top: 1rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

/* Buttons */
.lightbox .lightbox-close,
.lightbox .lightbox-prev,
.lightbox .lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 165, 116, 0.5);
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: inherit;
  padding: 0;
}
.lightbox .lightbox-close:hover,
.lightbox .lightbox-prev:hover,
.lightbox .lightbox-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brown-dark);
}

.lightbox .lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox .lightbox-prev,
.lightbox .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
}
.lightbox .lightbox-prev { left: 1.5rem; }
.lightbox .lightbox-next { right: 1.5rem; }

/* Mobile-Anpassung Lightbox */
@media (max-width: 600px) {
  .lightbox {
    padding: 1rem 0.25rem;
  }
  .lightbox .lightbox-prev,
  .lightbox .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .lightbox .lightbox-prev { left: 0.5rem; }
  .lightbox .lightbox-next { right: 0.5rem; }
  .lightbox .lightbox-close {
    width: 38px;
    height: 38px;
    top: 1rem;
    right: 1rem;
    font-size: 1.4rem;
  }
}

/* ============================================
   ABOUT (Anita)
   ============================================ */
.about {
  background: var(--bg-beige);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  aspect-ratio: 4/5;
  max-width: 400px;
  margin: 0 auto;
  background: var(--brown);
  overflow: hidden;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7vw, 4.5rem);
  text-transform: lowercase;
  font-weight: 400;
  margin: 0.5rem 0 1.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: var(--brown);
}

.about-closing {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 1.05rem !important;
}

/* ============================================
   PRICING (Template-Stil mit Tabs)
   ============================================ */
.pricing {
  background: var(--bg-light);
}

/* Tab-Pillen oben (klein, pillenförmig, mit Bild-Hintergrund) */
.block-tabs {
  list-style: none;
  text-align: center;
  margin: 2.5rem 0 4rem;
  padding: 0;
}

.block-tabs li {
  cursor: pointer;
  display: inline-block;
  margin: 0.3rem 0.25rem;
  padding: 0.85rem 1.875rem;
  position: relative;
  color: var(--white);
  text-transform: uppercase;
  border-radius: 6px;
  overflow: hidden;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.85rem;
  transition: box-shadow 0.3s ease;
}

.block-tabs li .background-img {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
}
.block-tabs li .background-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-tabs li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(85, 45, 37, 0.6);
  border-radius: 6px;
  z-index: 1;
}

.block-tabs li.active,
.block-tabs li:hover {
  box-shadow: 0 0 8px rgba(201, 138, 106, 0.8);
}
.block-tabs li.active::before {
  background: rgba(85, 45, 37, 0.35);
}

.block-tabs .front-p {
  position: relative;
  z-index: 2;
  display: inline-block;
}

/* Mobile: Tabs untereinander stapeln */
@media (max-width: 500px) {
  .block-tabs li {
    display: block;
    margin: 0.5rem auto;
    width: 80%;
  }
}

/* Tab-Inhalte */
.block-tab {
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-tab > li {
  display: none;
  animation: fadeIn 0.4s ease;
}
.block-tab > li.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.block-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.block-inner h1.secondary-font {
  font-family: var(--font-script);
  font-size: 3rem;
  font-weight: 400;
  text-transform: lowercase;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--beige);
}
.block-inner h1.mt-block {
  margin-top: 3rem;
}

.block-content {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  gap: 0.4rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  flex-shrink: 0;
  margin: 0;
}

.service-title .muted {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--beige);
  font-size: 0.9rem;
}

.dots-price {
  flex: 1;
  border-bottom: 2px dotted var(--beige);
  align-self: end;
  margin-bottom: 0.4rem;
  min-width: 1rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown-dark);
  flex-shrink: 0;
}

.muted-desc {
  width: 100%;
  font-size: 0.85rem;
  color: var(--beige);
  font-style: italic;
  margin-top: 0.4rem;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* Extras (Fahrtkosten + Rabatte) */
.extras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.extras-box {
  background: var(--bg-beige);
  padding: 2rem;
  text-align: center;
}

.extras-box h4 {
  color: var(--brown);
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.extras-box p {
  color: var(--brown);
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--brown-dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: (1, 1fr);
  gap: 1rem;
  max-width: 400px;
  margin: 3rem auto 0;
  justify-content: center;
  justify-items: center;
}

.contact-grid .contact-card {
  width: 100%;
  max-width: 400px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  text-align: center;
}
.contact-card:hover {
  background: rgba(201, 165, 116, 0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.c-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.c-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.contact-hours {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.contact-hours h4 { margin-bottom: 0.75rem; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg);
  color: var(--bg-beige);
  padding: 2.5rem 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
}
.footer-content .logo h3 { font-size: 1.6rem; }
.footer-content .legal a {
  color: var(--accent);
  margin: 0 0.3rem;
  transition: color 0.3s;
}
.footer-content .legal a:hover { color: var(--white); }

/* ============================================
   RESPONSIVE — Desktop
   ============================================ */
@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
  .main { padding: 7rem 0; }
  .header { padding: 2rem 3rem; }

  .mobile-toggle { display: none; }
  .main-nav ul {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
    min-width: 0;
    gap: 0.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .round-img {
    width: 220px;
    height: 220px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
  }
  .about-img {
    max-width: 100%;
  }
  .about-text h2,
  .about-text h6 {
    text-align: left;
  }

  .extras-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .round-img {
    width: 260px;
    height: 260px;
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-item {
    aspect-ratio: 3/4;
  }
}
