/* Haarstudio Maja – Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500&family=Pinyon+Script&display=swap');

:root {
  --cream: #faf6f1;
  --sand: #f1e8df;
  --nude: #e6d3c4;
  --ink: #2b2226;
  --muted: #6f6166;
  --berry: #b3245f;
  --berry-dark: #8c1a49;
  --line: #e3d6cc;
  --white: #fff;
  --radius: 18px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --script: 'Pinyon Script', cursive;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--berry); text-decoration: none; }
a:hover { color: var(--berry-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow {
  font: 500 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--berry); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.script { font-family: var(--script); font-weight: 400; color: var(--berry); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
section { padding: clamp(72px, 10vw, 128px) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font: 400 .95rem/1 var(--sans); letter-spacing: .03em;
  border: 1px solid var(--berry); transition: .25s ease;
}
.btn-primary { background: var(--berry); color: var(--white); }
.btn-primary:hover { background: var(--berry-dark); border-color: var(--berry-dark); color: var(--white); }
.btn-ghost { color: var(--berry); background: transparent; }
.btn-ghost:hover { background: var(--berry); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 241, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); letter-spacing: .02em; display: flex; align-items: baseline; gap: .35rem; }
.brand .script { font-size: 2.1rem; line-height: 1; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: .92rem; letter-spacing: .06em; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--berry); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: .7rem 1.2rem; font-size: .88rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--berry); }
.hero .lead { margin: 1.4rem 0 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-badges { display: flex; gap: 2.4rem; margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-badges strong { display: block; font: 500 2.1rem/1 var(--serif); color: var(--ink); }
.hero-badges span { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual .main { border-radius: 220px 220px var(--radius) var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-visual .float {
  position: absolute; left: -12%; bottom: 8%; width: 46%;
  border-radius: var(--radius); border: 6px solid var(--cream); box-shadow: 0 20px 40px rgba(43, 34, 38, .14);
  aspect-ratio: 1; object-fit: cover;
}
.hero-visual .stamp {
  position: absolute; top: 6%; right: -4%;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--berry); color: var(--white);
  display: grid; place-content: center; text-align: center;
  font: 500 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transform: rotate(8deg); box-shadow: 0 14px 30px rgba(179, 36, 95, .3);
}
.hero-visual .stamp b { font: 500 2.6rem/1 var(--serif); letter-spacing: 0; display: block; }

/* Leistungen */
.services { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.section-head p { max-width: 44ch; color: var(--muted); margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43, 34, 38, .08); }
.service img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-body { padding: 1.6rem 1.7rem 1.9rem; }
.service-body h3 { margin-bottom: .3rem; }
.service-body .quote { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--muted); line-height: 1.4; margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .8rem; padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.service-note { font-size: .85rem; color: var(--berry); margin-top: 1rem; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.story-img { border-radius: var(--radius); box-shadow: 0 24px 50px rgba(43, 34, 38, .12); }
.story blockquote { margin: 0 0 1.4rem; font: italic 400 1.5rem/1.45 var(--serif); color: var(--ink); }
.story .sign { font-family: var(--script); font-size: 2.6rem; color: var(--berry); line-height: 1; margin-top: .6rem; }
details.more summary { cursor: pointer; color: var(--berry); font-weight: 400; list-style: none; margin-top: .6rem; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: " +"; }
details.more[open] summary::after { content: " –"; }
details.more p { margin-top: 1rem; color: var(--muted); }

/* Salons */
.salons { background: var(--sand); }
.salon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.salon { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.salon-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; height: 300px; overflow: hidden; }
.salon-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; cursor: zoom-in; }
.salon-photos img[hidden] { display: none; }
.salon-photos img:first-child { grid-row: span 2; }
.salon-body { padding: 2rem 2.1rem 2.3rem; flex: 1; display: flex; flex-direction: column; }
.salon .badge { align-self: flex-start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--berry); color: var(--white); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.salon dl { display: grid; grid-template-columns: 120px 1fr; gap: .55rem 1rem; margin: 1.2rem 0 1.6rem; font-size: .96rem; }
.salon dt { color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .2rem; }
.salon dd { margin: 0; }
.salon .btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; }

/* Galerie */
.gallery-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.gallery-filter button {
  font: 400 .88rem var(--sans); padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: .2s;
}
.gallery-filter button.active, .gallery-filter button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; border-radius: 12px; overflow: hidden; cursor: zoom-in; position: relative; }
.masonry img { width: 100%; transition: transform .5s ease; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figure.hide { display: none; }

/* News */
.news { background: var(--white); }
.news-list { display: grid; gap: 28px; }
.post { display: grid; grid-template-columns: 300px 1fr; gap: 2.4rem; padding: 2rem; border-radius: var(--radius); background: var(--cream); align-items: start; }
.post img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; cursor: zoom-in; }
.post time { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--berry); }
.post h3 { margin: .4rem 0 .8rem; font-size: 1.9rem; }
.post p { color: var(--muted); }
.post ul { padding-left: 1.1rem; color: var(--muted); margin: 0 0 1em; }

/* Gutschein */
.voucher { padding: clamp(56px, 8vw, 96px) 0; }
.voucher-card {
  background: linear-gradient(120deg, var(--berry) 0%, var(--berry-dark) 100%);
  color: var(--white); border-radius: 28px; padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden;
}
.voucher-card::after {
  content: "Maja"; position: absolute; right: -2%; bottom: -26%;
  font: 400 15rem/1 var(--script); color: rgba(255, 255, 255, .08); pointer-events: none;
}
.voucher-card h2 { color: var(--white); }
.voucher-card p { color: rgba(255, 255, 255, .85); max-width: 46ch; }
.voucher-card .eyebrow { color: rgba(255, 255, 255, .8); }
.voucher-card .btn { background: var(--white); color: var(--berry); border-color: var(--white); justify-self: start; position: relative; z-index: 1; }
.voucher-card .btn:hover { background: var(--cream); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 2rem; }
.contact-card h3 { font-size: 1.45rem; }
.contact-card p { margin: 0 0 .5rem; }
.contact-card a.big { font: 500 1.5rem/1.3 var(--serif); color: var(--ink); display: block; margin: .3rem 0 1rem; }
.contact-card a.big:hover { color: var(--berry); }
.icon-line { display: flex; gap: .6rem; align-items: center; }
.icon-line svg { width: 18px; height: 18px; color: var(--berry); flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 56px 0 36px; font-size: .92rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.site-footer .brand { color: var(--white); }
.site-footer .brand .script { color: #e98ab1; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 22px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(28, 20, 24, .92); display: none; place-items: center; z-index: 100; padding: 4vw; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 1rem; line-height: 1; }
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Legal pages */
.legal { padding: 64px 0 110px; }
.legal .wrap { max-width: 820px; }
.legal h1 { margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.25rem; margin-top: 1.4rem; }
.legal p, .legal li { color: #4a3f43; font-size: 1rem; overflow-wrap: anywhere; }
.legal .card { background: var(--white); border-radius: var(--radius); padding: 2rem 2.2rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .post { grid-template-columns: 220px 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 20px 1.2rem;
  }
  .nav-links.open a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .hero-grid, .story-grid, .salon-grid, .voucher-card { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .hero-visual .float { left: -4%; }
  .hero-visual .stamp { right: 0; width: 104px; height: 104px; }
  .post { grid-template-columns: 1fr; padding: 1.4rem; }
  .post img { aspect-ratio: 16/10; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 1.4rem; }
  .salon dl { grid-template-columns: 1fr; gap: .1rem; }
  .salon dd { margin-bottom: .6rem; }
  .salon-photos { height: 230px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; }
}
