/* =====================================================
   HairCnC – Gemeinsames Stylesheet
   Farben: #3c3c3c (Dunkelgrau/Hintergrund) | #bfa37c (Gold) | #fff (Text)
   Fonts:  Cookie (Heading) | Open Sans (Body)
===================================================== */

/* ---- LOCAL FONTS ---------------------------------- */
@font-face {
  font-family: 'Cookie';
  src: url('fonts/Cookie-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

:root {
  --bg:           #3c3c3c;
  --beige:        #808080;
  --gold:         #878787;
  --gold-dark:    #6e6e6e;
  --dark:         #111111;
  --white:        #ffffff;
  --font-body:    'Open Sans', sans-serif;
  --font-heading: 'Cookie', cursive;
  --site-width:   1140px;
  --gutter:       20px;
}

html  { font-size: 16px; scroll-behavior: smooth; }

body  {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--white);
  background-color: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- HEADER & NAV -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--bg);
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.45);
}

.nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 16px var(--gutter);
}

.site-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }

/* Desktop nav links – always hidden (hamburger-only design) */
.nav-list { display: none; }

/* Hamburger – always visible */
.hamburger {
  position: absolute;
  right: var(--gutter);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hamburger svg { width: 24px; height: 24px; fill: var(--white); }

/* When menu is open: raise hamburger above overlay and swap to × */
body.menu-open .hamburger {
  position: fixed;
  z-index: 1001;
  right: var(--gutter);
  top: 10px;
}
body.menu-open .hamburger svg { display: none; }
body.menu-open .hamburger::after {
  content: '×';
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  display: block;
}

/* Hide the separate panel close button — hamburger now handles closing */
.mobile-panel-head { display: none; }

/* ---- MOBILE OVERLAY MENU ------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.mobile-menu.is-open { display: block; }

.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70);
}

.mobile-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  background-color: rgba(40, 40, 40, 0.97);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-panel-head {
  position: absolute;
  top: 0;
  right: var(--gutter);
  height: 52px;
  display: flex;
  align-items: center;
}

.mobile-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; line-height: 1;
  color: var(--white); padding: 6px;
  font-weight: 400;
  display: inline-flex; align-items: center; justify-content: center;
}

.mobile-logo {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.mobile-logo img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); }

.mobile-nav-list      { border-top: none; padding-top: 90px; }
.mobile-nav-list li   { border-bottom: none; }
.mobile-nav-list a {
  display: block;
  padding: 18px 24px;
  font-size: 1.1rem;
  font-family: var(--font-body);
  color: var(--white);
  text-align: center;
  transition: font-weight 0s;
}
.mobile-nav-list a:hover { font-weight: 700; }

/* ---- BUTTONS ------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background-color 0.22s, color 0.22s;
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background-color: var(--gold-dark); }

.btn-beige {
  background-color: var(--beige);
  color: var(--white);
}
.btn-beige:hover { background-color: #666666; }

/* ---- FOOTER -------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: var(--gold);
  padding: 52px 0 48px;
  box-shadow: inset 0 5px 14px rgba(0,0,0,0.10);
}

.footer-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 14px;
  text-align: center;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--dark);
  text-align: center;
}

.footer-link-row     { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }

.footer-text-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  border-bottom: 2px solid rgba(17,17,17,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  cursor: pointer;
}
.footer-text-btn:hover { border-color: var(--dark); }

.footer-address-link {
  color: var(--dark);
  text-decoration: underline;
  text-decoration-color: rgba(17,17,17,0.35);
  transition: text-decoration-color 0.2s;
}
.footer-address-link:hover { text-decoration-color: var(--dark); }

.footer-salon-img        { margin-top: 16px; display: flex; justify-content: center; }
.footer-salon-img img    { max-width: 180px; border-radius: 4px; }

/* ---- WHATSAPP MODAL ------------------------------ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.70);
  align-items: center;
  justify-content: center;
}
.modal-backdrop.is-open { display: flex; }

.modal-box {
  position: relative;
  background: var(--white);
  border-radius: 6px;
  padding: 30px;
  width: 320px;
  max-width: 92vw;
}
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #666; line-height: 1;
}
.modal-box img { width: 100%; height: auto; margin: 0 auto; }

/* ---- RESPONSIVE: FOOTER -------------------------- */
@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---- SHARED INTERACTIVE JS ----------------------- */
/* (applied via JS in each page) */
