/* Haarstudio ASISE – Stylesheet */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ivory: #F7F2EC;
  --sand: #EDE4D9;
  --line: #DDD1C3;
  --ink: #1F1A17;
  --ink-soft: #5E544C;
  --bronze: #9A6449;
  --bronze-light: #C89A7E;
  --night: #241E1A;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font: 500 12px/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font: 500 13px/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--ivory);
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: var(--bronze-light); border-color: var(--bronze-light); color: var(--night); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  text-decoration: none;
  font: 400 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--bronze); transition: width .3s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: 12px 22px; color: var(--ivory); }

.burger { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7vw, 92px); margin: 26px 0 26px; }
.hero h1 em { font-style: italic; color: var(--bronze); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 470px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-meta div { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.hero-meta strong { display: block; font: 500 30px/1 var(--serif); color: var(--ink); margin-bottom: 6px; }

.hero-art { position: relative; aspect-ratio: 4 / 5; }
.hero-art .frame {
  position: absolute; inset: 0;
  border-radius: 240px 240px 0 0;
  background:
    radial-gradient(120% 80% at 30% 15%, #E9D7C6 0%, transparent 60%),
    linear-gradient(165deg, #D9BFA8 0%, #B08468 55%, #7E523D 100%);
  overflow: hidden;
}
.hero-art .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-art .outline {
  position: absolute; inset: -16px 16px 16px -16px;
  border: 1px solid var(--bronze-light);
  border-radius: 256px 256px 0 0;
  pointer-events: none;
}
.hero-art .badge {
  position: absolute; left: -36px; bottom: 48px;
  background: var(--ivory); padding: 20px 24px;
  box-shadow: 0 18px 40px -18px rgba(36, 30, 26, .35);
  font-size: 13px; letter-spacing: .06em; color: var(--ink-soft);
}
.hero-art .badge strong { display: block; font: italic 500 24px/1.1 var(--serif); color: var(--ink); letter-spacing: 0; margin-bottom: 2px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(38px, 5vw, 58px); margin-top: 18px; }
.section-head p { max-width: 420px; color: var(--ink-soft); margin: 0; }

/* Leistungen */
.services { background: var(--sand); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--ivory); padding: 44px 44px 36px; }
.service-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.service-top svg { width: 34px; height: 34px; color: var(--bronze); flex: none; }
.service h3 { font-size: 32px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .name { white-space: nowrap; }
.price-list .name small { display: block; font-size: 13px; color: var(--ink-soft); white-space: normal; }
.price-list .dots { flex: 1; }
.price-list .price { font: 500 21px/1 var(--serif); white-space: nowrap; }
.services-note { margin-top: 26px; font-size: 14px; color: var(--ink-soft); text-align: center; }

/* Über uns */
.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1 / 1.1; }
.about-visual .a, .about-visual .b { position: absolute; }
.about-visual .a { inset: 0 22% 18% 0; background: var(--sand); overflow: hidden; }
.about-visual .a img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.about-visual .b { inset: 38% 0 0 34%; background: linear-gradient(200deg, #3B302A, #241E1A); display: grid; place-items: center; color: var(--ivory); text-align: center; padding: 24px; }
.about-visual .b blockquote { margin: 0; font: italic 500 clamp(22px, 2.4vw, 30px)/1.25 var(--serif); }
.about-visual .b cite { display: block; margin-top: 14px; font: 400 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; font-style: normal; color: var(--bronze-light); }
.about h2 { font-size: clamp(38px, 5vw, 58px); margin: 18px 0 28px; }
.about p { color: var(--ink-soft); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--line); }
.values h3 { font-size: 22px; margin-bottom: 8px; }
.values p { font-size: 15px; margin: 0; }

/* Galerie */
.gallery { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--sand); }
.gallery-grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid figure:nth-child(2) { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figure::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(31, 26, 23, .6)); pointer-events: none; }
.gallery-grid figcaption { z-index: 1; }
.gallery-grid figcaption {
  position: absolute; left: 18px; bottom: 16px;
  font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--ivory);
}

/* Termin-Band */
.cta { background: var(--night); color: var(--ivory); padding: 100px 0; position: relative; overflow: hidden; }
.cta .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); max-width: 640px; }
.cta h2 em { color: var(--bronze-light); }
.cta p { color: #BFB2A6; margin: 18px 0 0; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; min-width: 260px; }
.cta .btn--ghost { color: var(--ivory); border-color: rgba(247, 242, 236, .4); }
.cta .btn--ghost:hover { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.cta-lines { position: absolute; right: -80px; top: -60px; width: 520px; opacity: .14; color: var(--bronze-light); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: var(--ivory); padding: 44px 40px; }
.contact-card h3 { font-size: 28px; margin-bottom: 20px; }
.contact-card svg { width: 30px; height: 30px; color: var(--bronze); margin-bottom: 22px; }
.contact-card p, .contact-card a { color: var(--ink-soft); }
.contact-card a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.contact-card a:hover { color: var(--bronze); border-color: var(--bronze); }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; color: var(--ink-soft); }
.hours td { padding: 5px 0; }
.hours td:last-child { text-align: right; color: var(--ink); }
.hours tr.closed td:last-child { color: var(--ink-soft); font-style: italic; }
.hours tr.today td { color: var(--bronze); font-weight: 500; }
.open-state { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.open-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B9ADA2; }
.open-state.is-open::before { background: #5E8C61; box-shadow: 0 0 0 4px rgba(94, 140, 97, .18); }

/* Footer */
.footer { background: var(--night); color: #BFB2A6; padding: 64px 0 34px; font-size: 14.5px; }
.footer .top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(247, 242, 236, .12); }
.footer .brand img { height: 56px; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--ivory); }
.footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: 13px; color: #8E8278; }

/* Rechtstexte */
.legal { padding: 80px 0 110px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin: 18px 0 44px; }
.legal h2 { font-size: 28px; margin: 44px 0 14px; }
.legal h3 { font-size: 21px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--bronze); }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; gap: 64px; }
  .hero-art { max-width: 440px; width: 100%; margin: 0 auto; }
  .about-visual { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-grid figure:nth-child(1) { grid-row: span 1; }
  .section-head { flex-direction: column; align-items: start; gap: 18px; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; padding: 16px; border-bottom: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 76px 0; }
  .hero { padding: 40px 0 70px; }
  .hero-meta { gap: 18px; margin-top: 44px; }
  .hero-meta div { font-size: 12.5px; }
  .hero-meta strong { font-size: 24px; }
  .hero-art .badge { left: 0; bottom: 24px; }
  .hero-art .outline { inset: -10px 10px 10px -10px; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 34px 22px 26px; }
  .price-list .name { white-space: normal; }
  .values { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { padding: 36px 24px; }
  .cta-actions { width: 100%; }
  .gallery-grid { grid-auto-rows: 160px; gap: 10px; }
}
