/* ===== style.css — The Secret Hair Studio by Sadik ===== */

/* --- Design Tokens --- */
:root {
  --color-primary-beige: #D0BFB9;
  --color-bg-light: #F5F0ED;
  --color-bg-dark: #2C2421;
  --color-text-dark: #1A1614;
  --color-text-light: #F5F0ED;
  --color-accent-gold: #C4A882;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 48px;
}

.section-title--light { color: var(--color-text-light); }
.section-title--dark  { color: var(--color-text-dark); }


/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background-color: transparent;
}

.nav.scrolled {
  background-color: rgba(208, 191, 185, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-dark);
  transition: color 0.3s ease;
  position: relative;
}

.nav.scrolled .nav__links a { color: var(--color-text-dark); }
.nav__links a:hover { color: var(--color-accent-gold); }

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: width 0.3s ease;
}

.nav__links a:hover::after { width: 100%; }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text-dark);
  transition: all 0.3s ease;
}

.nav.scrolled .nav__hamburger span { background: var(--color-text-dark); }

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--color-text-light);
}
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--color-text-light);
}

/* Mobile Overlay */
.nav__mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 36, 33, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

.nav__mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-overlay a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
}

.nav__mobile-overlay a:hover { color: var(--color-accent-gold); }

@media (min-width: 768px) {
  .nav__links    { display: flex; }
  .nav__hamburger { display: none; }
}


/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-primary-beige) 100%);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__content {
  padding: 140px 0 40px;
  max-width: 100%;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.hero__slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-accent-gold);
  margin-bottom: 16px;
}

.hero__subline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(26, 22, 20, 0.7);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__cta {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 2px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero__cta:hover {
  background-color: var(--color-accent-gold);
  color: #fff;
}

.hero__phone {
  display: block;
  margin-top: 24px;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(26, 22, 20, 0.5);
  letter-spacing: 0.05em;
}

.hero__phone a {
  color: rgba(26, 22, 20, 0.6);
  transition: color 0.3s ease;
}

.hero__phone a:hover { color: var(--color-accent-gold); }

.hero__image {
  flex: 1;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 40px;
}

.hero__image img {
  width: 100%;
  max-height: 50vh;
  object-fit: cover;
  border-radius: 6px;
}

.hero__image--mobile {
  display: block;
  margin: 20px 0 24px;
}

.hero__image--desktop { display: none; }

.hero__image--mobile img {
  width: 100%;
  height: clamp(280px, 46vh, 420px);
  object-fit: cover;
  object-position: center 18%;
}

@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .hero__content {
    flex: 1;
    padding: 160px 0 80px;
    max-width: 50%;
  }
  .hero__image--mobile { display: none; }
  .hero__image--desktop {
    display: flex;
    margin-bottom: 0;
    align-self: stretch;
    align-items: center;
  }
  .hero__image--desktop img {
    width: 100%;
    height: 80vh;
    max-height: none;
    object-fit: cover;
    object-position: center top;
  }
}


/* ===== Portfolio / Slideshow ===== */
.portfolio {
  background-color: var(--color-bg-dark);
  padding: 80px 0;
}

.portfolio .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.slideshow {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.slideshow__container {
  position: relative;
  width: 100%;
  height: clamp(420px, 72vh, 760px);
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.15s ease, transform 6s ease;
  pointer-events: none;
}

.slideshow__slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slideshow__slide.exiting {
  opacity: 0;
  transform: scale(1.08);
  z-index: 1;
}

.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.02);
}

.slideshow__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.slideshow__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-beige);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.slideshow__dot:hover {
  border-color: var(--color-accent-gold);
  transform: scale(1.08);
}

.slideshow__dot.active {
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

@media (max-width: 767px) {
  .slideshow__container { height: 460px; }
}
@media (min-width: 768px) {
  .slideshow__container { height: clamp(520px, 64vh, 700px); }
}


/* ===== Preise ===== */
.preise {
  background-color: var(--color-bg-light);
  padding: 80px 0;
}

.preise .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.preise__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.preise__card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 22, 20, 0.06);
}

.preise__card-header {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.preise__table {
  width: 100%;
  border-collapse: collapse;
}

.preise__table tr {
  border-bottom: 1px solid rgba(208, 191, 185, 0.3);
}

.preise__table tr:last-child { border-bottom: none; }

.preise__table tr:nth-child(even) {
  background-color: rgba(208, 191, 185, 0.08);
}

.preise__table td {
  padding: 12px 24px;
  font-size: 0.92rem;
}

.preise__table td:first-child {
  text-align: left;
  color: var(--color-text-dark);
}

.preise__table td:last-child {
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-text-dark);
}

@media (min-width: 600px)  { .preise__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .preise__grid { grid-template-columns: 1fr 1fr 1fr; } }


/* ===== Kontakt ===== */
.kontakt {
  background-color: var(--color-bg-dark);
  padding: 80px 0;
  color: var(--color-text-light);
}

.kontakt .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.kontakt__inner { text-align: center; }

.kontakt__phone-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 237, 0.6);
  margin-bottom: 8px;
}

.kontakt__phone {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.kontakt__phone a {
  color: var(--color-text-light);
  transition: color 0.3s ease;
}

.kontakt__phone a:hover { color: var(--color-accent-gold); }

.kontakt__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.kontakt__btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--color-primary-beige);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.kontakt__btn:hover {
  background-color: var(--color-accent-gold);
  color: #fff;
}

.kontakt__map {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.kontakt__map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

/* Google Maps 2-Klick-Consent */
.map-consent {
  background-color: rgba(245, 240, 237, 0.06);
  border: 1px solid rgba(208, 191, 185, 0.2);
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.map-consent__icon {
  color: var(--color-accent-gold);
  margin-bottom: 8px;
}

.map-consent__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.map-consent__text {
  font-size: 0.82rem;
  color: rgba(245, 240, 237, 0.55);
  max-width: 440px;
  line-height: 1.6;
}

.map-consent__address {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-accent-gold);
  margin: 4px 0 8px;
}

.map-consent__btn {
  padding: 12px 32px;
  background-color: var(--color-primary-beige);
  color: var(--color-text-dark);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 4px;
}

.map-consent__btn:hover {
  background-color: var(--color-accent-gold);
  color: #fff;
}

.map-consent__link { margin-top: 8px; }

.map-consent__link a {
  font-size: 0.78rem;
  color: rgba(245, 240, 237, 0.45);
  transition: color 0.3s ease;
}

.map-consent__link a:hover { color: var(--color-accent-gold); }

@media (min-width: 600px) {
  .kontakt__buttons {
    flex-direction: row;
    justify-content: center;
  }
  .kontakt__map iframe { height: 400px; }
}


/* ===== Footer / Impressum ===== */
.footer {
  background-color: #231C19;
  color: rgba(245, 240, 237, 0.7);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(208, 191, 185, 0.15);
}

.footer .section-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.footer__studio-img {
  display: block;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  border-radius: 8px;
  object-fit: cover;
  max-height: 350px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.footer__content {
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer__content p { margin-bottom: 4px; }

.footer__content a {
  color: rgba(245, 240, 237, 0.7);
  transition: color 0.3s ease;
}

.footer__content a:hover { color: var(--color-accent-gold); }

.footer__streitbeilegung {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245, 240, 237, 0.5);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(208, 191, 185, 0.1);
  line-height: 1.7;
}

.footer__streitbeilegung a {
  color: rgba(245, 240, 237, 0.5);
  transition: color 0.3s ease;
}

.footer__streitbeilegung a:hover { color: var(--color-accent-gold); }

.footer__copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(208, 191, 185, 0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(245, 240, 237, 0.4);
}
