/* ==========================================================================
   Haute Coiffure – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "FontAwesome";
  src: url("assets/fonts/fontawesome-webfont.woff2") format("woff2"),
       url("assets/fonts/fontawesome-webfont.woff") format("woff"),
       url("assets/fonts/fontawesome-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-gold: #a69859;
  --color-dark: #272727;
  --color-black: #0d0d0d;
  --color-gray: #b0b0b0;
  --color-white: #ffffff;

  --font-heading: "Montserrat", sans-serif;
  --font-accent: "Merriweather", serif;

  --container-width: 75rem;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--color-dark);
  background: var(--color-white);
}

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

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

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

.eyebrow {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0 0 0.625rem;
}

.eyebrowline {
  margin: 2rem 0 0.625rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: 0.1875rem;
  color: var(--color-dark);
  margin-bottom: 0.625rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.75rem;
  font-size: 1.0625rem;
  font-family: var(--font-heading);
  border: 1px solid var(--color-gold);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  font-weight: 300;
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-gold);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  font-weight: 700;
  font-family: var(--font-accent);
  border-color: var(--color-dark);
  letter-spacing: 0.025rem;
  padding: 1rem 2.75rem;
}

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

.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .25);
  margin: 2.5rem 0;
}

/* ---- Header / navigation ---- */

.site-header {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
}

.nav {
  display: flex;
  justify-content: center;
  padding: 1.875rem 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.6875rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  color: var(--color-white);
  border: 1px solid transparent;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--color-white);
}

/* ---- Hero ---- */

.hero {
  padding: 2.5rem 0.9375rem 4.375rem;
  text-align: center;
}

.hero-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
}

.hero-title {
  font-size: 6.25rem;
  letter-spacing: 0.5rem;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 0.625rem;
}

.hero-subtitle {
  font-size: 3.75rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-tagline {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 0.9375rem;
}

.hero-lead {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
  color: var(--color-white);
  margin-bottom: 1.875rem;
}

.hero-phones {
  margin-bottom: 1.875rem;
}

.hero-phones p {
  font-size: 2.25rem;
  color: var(--color-gold);
  margin: 0;
}

.hero .btn-primary {
  margin-bottom: 1.875rem;
}

.hero-addresses {
  font-style: normal;
  color: var(--color-gold);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ---- Welcome / about ---- */

.welcome {
  padding: 5.625rem 0.9375rem;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: start;
}

.welcome-media {
  text-align: center;
}

.welcome-media .section-title,
.welcome-media .eyebrow {
  text-align: center;
}

.welcome-portrait {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.stat-box {
  border: 1px solid var(--color-gold);
}

.stat-box-info {
  text-align: left;
  padding: 2.5rem 2.5rem 2.5rem 5.625rem;
}

.stat-label {
  font-size: 2.25rem;
  letter-spacing: 0.1875rem;
  color: var(--color-dark);
  margin: 0;
}

.stat-label:last-child {
  margin-left: 1.5rem;
}

.stat-number {
  font-size: 6.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-dark);
  margin: 0.625rem 0;
}

.stat-number--accent {
  color: var(--color-gold);
  margin-left: 1.5rem;
}

.welcome-text p {
  color: var(--color-gray);
  margin: 0 0 1.25rem;
}

.welcome-text .eyebrow:last-of-type {
  margin-top: 0.625rem;
}

/* ---- Testimonials ---- */

.testimonials {
  padding: 0 0.9375rem 5.625rem;
  text-align: center;
}

.testimonials .section-title,
.testimonials .eyebrow {
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  text-align: left;
}

.testimonial {
  background-size: cover;
  background-position: center;
  min-height: 549px;
  padding: 5.625rem 2.5rem 2.5rem;
  color: var(--color-white);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.testimonial figcaption {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--color-gold);
}

/* ---- Locations / maps ---- */

.locations {
  padding: 0 0.9375rem 5.625rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 75rem;
  margin: 0 auto;
}

.location-item {
  text-align: center;
}

.location-item h3 {
  font-weight: 400;
  font-size: 1.375rem;
  margin-bottom: 0.9375rem;
}

.location-item iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid #eee;
}

.footer-top {
  padding: 4.375rem 0.9375rem;
  text-align: center;
}

.footer-brand {
  display: inline-block;
  font-size: 2.25rem;
  letter-spacing: 0.25rem;
  margin-bottom: 2.5rem;
}

.footer-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem;
  max-width: 56.25rem;
  margin: 0 auto;
}

.footer-locations h4 {
  font-weight: 400;
  font-size: 1.875rem;
  margin-bottom: 0.3125rem;
}

.footer-locations .phone {
  display: block;
  color: var(--color-gray);
  margin-bottom: 0.3125rem;
}

.footer-locations address {
  font-style: normal;
  font-weight: 700;
  color: var(--color-gray);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid #eee;
  padding: 1.5625rem 0.9375rem;
  text-align: center;
  font-weight: 700;
}

.footer-bottom a {
  text-decoration: underline;
}

/* ---- Back to top ---- */

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 47px;
  height: 47px;
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: "FontAwesome";
  font-size: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 100;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top::before {
  content: "\f106";
}

/* ---- Compact hero (Galerie / Team / Privacy-Policy) ---- */

.site-header--photo {
  background: url("assets/img/hero-bg.jpg") center top / cover no-repeat;
}

.hero--compact {
  padding: 2.5rem 0.9375rem 3.75rem;
}

.hero--compact .hero-title {
  font-size: 4.375rem;
  letter-spacing: 0.375rem;
  margin-bottom: 1.25rem;
}

/* ---- Page title sections (Galerie / Team / Privacy-Policy body) ---- */

.page-section {
  padding: 0.375rem 0.9375rem;
}

.page-section .section-title,
.page-section .eyebrow {
  text-align: center;
}

/* ---- Gallery ---- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9375rem;
  margin-top: 2.5rem;
}

.gallery-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  z-index: 200;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---- Team ---- */

.team-groups {
  max-width: 62.5rem;
  margin: 2.5rem auto 0;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.125rem;
}

.team-group h3 {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 0.9375rem;
}

.team-group p {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0;
  line-height: 1.6;
}

/* ---- Kontakt: quick info card ---- */

.contact-info {
  text-align: center;
  padding: 4.75rem 0.9375rem 2.75rem;
}

.contact-info-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.625rem;
}

.contact-info-phone {
  font-size: 2.25rem;
  color: var(--color-dark);
  margin: 0 0 0.625rem;
}

.contact-info-address {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold);
  font-style: normal;
}

/* ---- Kontakt: opening hours ---- */

.hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.125rem;
  max-width: 62.5rem;
  margin: 2.5rem auto 0;
}

.hours-location h3 {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid #eee;
}

.hours-row dt {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--color-dark);
}

.hours-row dd {
  margin: 0;
  color: var(--color-gray);
}

.hours-note {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--color-dark);
  padding: 0.625rem 0;
  margin: 0;
}

/* ---- Kontakt: form ---- */

.contact-form {
  max-width: 43.75rem;
  margin: 2.5rem auto 0;
}

.form-group {
  margin-bottom: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-dark);
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  display: block;
  margin: 1.25rem auto 0;
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
  font-family: var(--font-accent);
  font-weight: 700;
}

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

/* ---- Privacy policy prose ---- */

.policy-content {
  max-width: 50rem;
  margin: 2.5rem auto 0;
}

.policy-content h3 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.625rem;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--color-gray);
  margin: 0 0 1.25rem;
}

.policy-content a {
  color: var(--color-gold);
  text-decoration: underline;
}

/* ---- Responsive ---- */

@media (max-width: 56.25em) {
  .hero-title {
    font-size: 3.5rem;
    letter-spacing: 0.25rem;
  }

  .hero-subtitle {
    font-size: 2.125rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
  }

  .hero-phones p {
    font-size: 1.375rem;
  }

  .welcome-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .stat-box-info {
    padding: 1.875rem;
  }

  .footer-locations {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero--compact .hero-title {
    font-size: 2.625rem;
    letter-spacing: 0.1875rem;
  }

  .hours {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-groups {
    grid-template-columns: 1fr;
    gap: 1.875rem;
  }
}
