@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-bg: #fafaf8;
  --color-surface: #ffffff;
  --color-soft: #f0efeb;
  --color-text: #202020;
  --color-muted: #5b5b5b;
  --color-accent: #c09e6b;
  --color-accent-dark: #8f6f3c;
  --color-moroccanoil: #008fa6;
  --color-footer: #1a1a1a;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.09);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.1;
  margin: 0 0 18px;
}

p {
  margin: 0 0 16px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 248, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.site-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  width: 210px;
  max-width: 44vw;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links a:hover,
.footer-link:hover {
  color: var(--color-accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: var(--color-text);
  color: #fff;
}

.button-primary {
  background: var(--color-text);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  min-height: min(560px, calc(100vh - 170px));
  display: grid;
  align-items: center;
  padding: 64px 0 54px;
  background:
    linear-gradient(90deg, rgba(250, 250, 248, 0.78) 0%, rgba(250, 250, 248, 0.55) 45%, rgba(32, 32, 32, 0.1) 100%),
    url("../img/gebaeude-optimized.jpg") center right / cover no-repeat;
}

.hero-content {
  max-width: 820px;
}

.hero h1,
.hero .lead,
.hero .eyebrow {
  text-shadow: 0 1px 18px rgba(250, 250, 248, 0.78);
}

.hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 4.05rem);
}

.hero .lead {
  max-width: 720px;
  color: #3f3f3f;
  font-size: 1.18rem;
}

.hero-actions,
.contact-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section {
  padding: 96px 0;
}

.section,
.hero,
.trust-strip,
.anchor-target {
  scroll-margin-top: 104px;
}

.section-soft {
  background: var(--color-soft);
}

.trust-strip {
  padding: 34px 0 36px;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-strip .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 0;
  box-shadow: none;
}

.trust-item {
  padding: 0;
}

.trust-item + .trust-item {
  padding-left: 34px;
  border-left: 2px solid rgba(192, 158, 107, 0.34);
}

.trust-item h2 {
  margin-bottom: 8px;
  color: var(--color-accent-dark);
  font-size: 1.16rem;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.text-block h2,
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.text-block h2::after,
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 18px;
  background: var(--color-accent);
}

.image-frame {
  box-shadow: 18px 18px 0 var(--color-accent);
}

.image-frame-dark {
  box-shadow: 18px 18px 0 var(--color-text);
}

.image-frame img,
.image-frame-dark img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.feature-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 36px;
}

.service-grid .feature-card {
  grid-column: span 2;
}

.service-grid .feature-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.service-grid .feature-card:last-child {
  grid-column: 4 / span 2;
}

.section-intro {
  margin-bottom: 0;
}

.salon-mood {
  padding-top: 24px;
}

.mood-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.mood-card {
  margin: 0;
  min-height: 300px;
  overflow: hidden;
  background: var(--color-soft);
}

.mood-card-large {
  grid-row: span 2;
}

.mood-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.mood-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: var(--color-text);
  color: #fff;
}

.mood-copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.mood-copy p {
  color: #dedede;
}

.feature-card,
.contact-card,
.legal-block,
.timeline-card {
  position: relative;
  background: var(--color-surface);
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 3px solid transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, border-bottom-color 180ms ease;
}

.feature-card:hover,
.contact-card:hover,
.timeline-card:hover {
  transform: translateY(-4px);
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.07);
}

.feature-card p,
.contact-card p {
  color: var(--color-muted);
}

.feature-card h3,
.contact-card h3 {
  font-size: 1.35rem;
}

.moroccanoil-logo {
  width: min(390px, 80vw);
  margin: 0 auto 26px;
}

.product-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.product-photo {
  margin: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 3px solid transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, border-bottom-color 180ms ease;
}

.product-photo:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--color-moroccanoil);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.07);
}

.product-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.product-photo figcaption {
  padding: 16px 20px 20px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.product-grid {
  margin-top: 26px;
}

.product-grid .feature-card:hover {
  border-bottom-color: var(--color-moroccanoil);
}

.certificate-note {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.certificate-note a {
  color: var(--color-moroccanoil);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.team-card {
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 3px solid transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, border-bottom-color 180ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.07);
}

.team-card img {
  width: 100%;
  height: auto;
}

.team-card-body {
  padding: 24px;
}

.team-card-body h3 {
  font-size: 1.45rem;
}

.team-card-body p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.centered {
  text-align: center;
}

.centered .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.centered .section-actions {
  justify-content: center;
}

.contact-section {
  scroll-margin-top: 110px;
}

.contact-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.contact-section .section-title {
  max-width: 820px;
}

.contact-intro {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--color-text);
  font-size: 1.04rem;
}

.contact-section .contact-grid {
  margin-top: 0;
}

.contact-section .contact-actions {
  margin-top: 34px;
}

.reviews-section,
.local-seo-section {
  background: var(--color-bg);
}

.personal-section .content-narrow,
.reviews-section .content-narrow,
.local-seo-section .content-narrow {
  color: var(--color-muted);
  font-size: 1.04rem;
}

.personal-layout .image-frame-dark img {
  object-position: center top;
}

.anchor-target {
  display: block;
  height: 0;
}

.contact-card a {
  color: var(--color-moroccanoil);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  padding: 150px 0 70px;
  background: var(--color-soft);
  border-bottom: 5px solid var(--color-accent);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  overflow-wrap: anywhere;
}

.content-narrow {
  max-width: 850px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}

.legal-block h2 {
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
  font-size: 1.55rem;
}

.legal-block a {
  color: var(--color-moroccanoil);
  text-decoration: underline;
  word-break: break-word;
}

.about-intro {
  padding: 96px 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 960px;
  margin: 52px auto 0;
  padding: 12px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 80px;
  align-items: start;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-soft);
  transform: translateX(-50%);
}

.timeline-card {
  width: min(100%, 370px);
  min-height: 232px;
}

.timeline-left .timeline-card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.timeline-right .timeline-card {
  grid-column: 2;
  justify-self: start;
  text-align: left;
}

.timeline-card .year {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-accent-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.site-footer {
  background: var(--color-footer);
  color: #fff;
  padding: 72px 0 34px;
  border-top: 5px solid var(--color-accent);
}

.footer-title {
  margin: 0 0 18px;
  color: var(--color-accent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
}

.site-footer p,
.footer-link {
  color: #cfcfcf;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid #333;
  color: #8f8f8f;
  font-size: 0.85rem;
  text-align: center;
}

.footer-bottom a {
  margin: 0 8px;
}

@media (max-width: 860px) {
  .site-nav {
    min-height: 74px;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .brand-logo {
    width: 168px;
  }

  .button {
    padding: 10px 16px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding: 70px 0;
    background:
      linear-gradient(rgba(250, 250, 248, 0.78), rgba(250, 250, 248, 0.68)),
      url("../img/gebaeude-optimized.jpg") center / cover no-repeat;
  }

  .section,
  .about-intro {
    padding: 68px 0;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .split-layout,
  .feature-grid,
  .contact-grid,
  .footer-grid,
  .product-image-grid,
  .team-grid,
  .mood-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    padding: 28px 0;
  }

  .trust-strip .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-item,
  .trust-item + .trust-item {
    padding: 0;
    border-left: 0;
  }

  .trust-item + .trust-item {
    padding-top: 20px;
    border-top: 2px solid rgba(192, 158, 107, 0.34);
  }

  .mood-card-large {
    grid-row: auto;
  }

  .mood-card,
  .mood-card img {
    min-height: 260px;
  }

  .mood-copy {
    padding: 28px;
  }

  .service-grid .feature-card,
  .service-grid .feature-card:nth-last-child(2),
  .service-grid .feature-card:last-child {
    grid-column: auto;
  }

  .timeline {
    gap: 22px;
    margin-top: 38px;
    padding-left: 34px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .timeline-item::before {
    top: 28px;
    left: 10px;
  }

  .timeline-left .timeline-card,
  .timeline-right .timeline-card {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }

  .image-frame,
  .image-frame-dark {
    box-shadow: 10px 10px 0 var(--color-accent);
  }

  .image-frame-dark {
    box-shadow-color: var(--color-text);
  }

}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-nav {
    gap: 10px;
  }

  .brand-logo {
    width: 138px;
    max-width: 42vw;
  }

  .site-nav > .button {
    padding: 9px 12px;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.18rem;
  }

  .hero .lead {
    font-size: 1.02rem;
  }

  .feature-card,
  .contact-card,
  .legal-block,
  .timeline-card {
    padding: 24px;
  }
}
