/* UNQ99 — Website Design System
   For Shopify implementation: hand to dev with the HTML mockups in /website/ */

:root {
  /* Brand colors */
  --ink: #15130F;
  --cream: #F5F0E8;
  --paper: #FFFFFF;
  --lilac: #C8A2E0;
  --lilac-deep: #9B6FC4;
  --lilac-tint: #EFE3F8;
  --soot: #221F1A;
  --steel: #5E5E5E;
  --silver: #D9D9D9;
  --bronze: #8C6B3F;

  /* Type */
  --sans: 'Josefin Sans', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Permanent Marker', cursive;

  /* Scale */
  --container: 1440px;
  --gutter: clamp(24px, 5vw, 80px);

  /* Tracking helpers */
  --t-wide: 0.22em;
  --t-wider: 0.3em;
  --t-widest: 0.4em;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Root horizontal-overflow guard (belt & suspenders) */
html { overflow-x: clip; }
body {
  font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-size: 16px; line-height: 1.6;
}
img { display: block; max-width: 100%; }

/* ─── PROMO BAR ─── */
.promo {
  background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-size: 13px; letter-spacing: var(--t-wider);
  text-transform: uppercase; text-align: center;
  padding: 12px var(--gutter);
}
.promo a { color: var(--lilac); text-decoration: none; }
.promo a:hover { text-decoration: underline; }

/* ─── HEADER ─── */
.header {
  background: var(--cream); border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 50;
}
.header__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
}
.header__logo {
  font-family: var(--sans); font-weight: 400; font-size: 22px;
  letter-spacing: var(--t-wide); color: var(--ink); text-decoration: none;
}
.header__logo .a { color: var(--lilac-deep); }
.header__nav { display: flex; gap: 24px; justify-content: center; flex-wrap: nowrap; }
.header__nav a {
  font-family: var(--sans); font-weight: 400; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; transition: color 0.15s;
  white-space: nowrap;
}
.header__nav a:hover { color: var(--lilac-deep); }
.header__nav a.active { color: var(--lilac-deep); }
.header__icons { display: flex; gap: 14px; justify-content: flex-end; align-items: center; flex-wrap: nowrap; }
.header__icons a, .header__icons button {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  background: none; border: none; cursor: pointer; padding: 6px 0;
  white-space: nowrap;
}
.header__icons .lang {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  color: var(--steel);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 14px 22px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: all 0.15s;
  border-radius: 0;
}
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--lilac-deep); }
.btn--lilac { background: var(--lilac); color: var(--ink); }
.btn--lilac:hover { background: var(--lilac-deep); color: var(--cream); }
.btn--outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn--outline:hover { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }
.btn--ghost { background: transparent; color: var(--ink); padding-left: 0; padding-right: 0; }
.btn--ghost::after { content: ' →'; }

/* ─── TYPOGRAPHY ─── */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--steel); font-weight: 400;
}
.eyebrow .num { color: var(--lilac-deep); }
.dark .eyebrow { color: var(--silver); }
.dark .eyebrow .num { color: var(--lilac); }

.h1 { font-family: var(--sans); font-weight: 400; font-size: clamp(56px, 8vw, 144px); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.0; }
.h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(36px, 5vw, 72px); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.05; }
.h3 { font-family: var(--sans); font-weight: 400; font-size: clamp(24px, 3vw, 36px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; }
.lead { font-size: 22px; line-height: 1.55; max-width: 720px; color: var(--ink); }
.body { font-size: 16px; line-height: 1.7; max-width: 640px; }

/* ─── WORDMARK INLINE ─── */
.wordmark {
  font-family: var(--sans); font-weight: 400; letter-spacing: var(--t-wide);
  line-height: 1; white-space: nowrap; display: inline-block;
}
.wordmark .a { color: var(--lilac-deep); }
.dark .wordmark .a { color: var(--lilac); }

/* ─── HEART MARK (spray, no drips) ─── */
.heart-mark {
  display: inline-block; vertical-align: middle;
  width: 1em; height: 1.08em; color: var(--lilac);
  flex: 0 0 auto;
}
.heart-mark path { fill: currentColor; }
/* Header lockup: small ink heart, 99 stays the single lilac accent */
.header__logo { display: inline-flex; align-items: center; gap: 12px; }
.header__logo .heart-mark { width: 22px; height: 24px; color: var(--ink); }
/* Footer: monochrome cream heart above brand */
.footer__brand .brand-lockup { display: flex; align-items: center; gap: 16px; }
.footer__brand .heart-mark { width: 38px; height: 41px; color: var(--cream); }
/* Hero: the signature lilac heart — the eyecatcher */
.hero__heart { width: clamp(100px, 14vw, 172px); height: auto; color: var(--lilac); margin-bottom: 36px; display: block; }
.hero__title { margin: 26px 0 0; }
.hero__title .a { color: var(--lilac); }
/* Banner (lilac ground): heart as the sole statement */
.banner-wordmark .heart-mark { width: clamp(128px, 19vw, 248px); height: auto; color: var(--ink); display: block; margin: 0 auto 32px; }
/* Page-title (inner pages): heart as the consistent eyecatcher */
.page-title__heart { width: clamp(60px, 7.5vw, 92px); height: auto; color: var(--lilac-deep); display: block; margin-bottom: 26px; }
.page-title--dark .page-title__heart { color: var(--lilac); }

/* ─── LAYOUT ─── */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.dark { background: var(--ink); color: var(--cream); }
.lilac { background: var(--lilac); color: var(--ink); }

.section--no-bottom { padding-bottom: 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

/* ─── HERO ─── */
.hero {
  background: var(--ink); color: var(--cream);
  min-height: 80vh; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero__inner {
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 80px var(--gutter); position: relative; z-index: 2;
}
.hero .wordmark { font-size: clamp(120px, 18vw, 320px); display: block; line-height: 0.95; }
.hero .tagline {
  font-family: var(--sans); font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 32px;
  color: var(--cream); max-width: 900px;
}
.hero .tagline .a { color: var(--lilac); }
.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 64px; gap: 32px; flex-wrap: wrap;
}
.hero__meta-item {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--silver);
  line-height: 1.7;
}
.hero__meta-item .lilac { color: var(--lilac); background: transparent; padding: 0; }

/* Lilac awning ribbon at top of hero */
.hero__awning {
  position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: var(--lilac);
  z-index: 3;
}

/* ─── PILLARS GRID ─── */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(0,0,0,0.08); }
.pillar-card {
  background: var(--cream); padding: 64px 48px;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 480px; min-width: 0; position: relative;
  transition: background 0.2s;
}
.pillar-card:hover { background: var(--lilac-tint); }
.pillar-card .num {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.25em;
  color: var(--lilac-deep);
}
.pillar-card h3 {
  font-family: var(--sans); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.0;
  margin: 0; overflow-wrap: break-word;
}
.pillar-card p {
  font-size: 16px; line-height: 1.65; color: var(--ink); margin: 0;
  flex: 1;
}
.pillar-card .arrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  margin-top: 16px; display: inline-flex; gap: 12px;
}
.pillar-card .arrow:hover { color: var(--lilac-deep); }

/* Studio-side dark variants */
.pillars--dark { background: rgba(255,255,255,0.08); }
.pillars--dark .pillar-card { background: var(--ink); color: var(--cream); }
.pillars--dark .pillar-card:hover { background: var(--soot); }
.pillars--dark .pillar-card .num { color: var(--lilac); }
.pillars--dark .pillar-card p { color: var(--silver); }
.pillars--dark .pillar-card .arrow { color: var(--lilac); }
.pillars--dark .pillar-card .arrow:hover { color: var(--cream); }

/* ─── PLACEHOLDER ─── */
.ph {
  background: repeating-linear-gradient(45deg, #E8E4DC, #E8E4DC 10px, rgba(0,0,0,0.04) 10px, rgba(0,0,0,0.04) 20px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  color: rgba(0,0,0,0.35); text-transform: uppercase; text-align: center;
  padding: 24px;
}
.ph--dark {
  background: repeating-linear-gradient(45deg, #1a1814, #1a1814 10px, rgba(255,255,255,0.04) 10px, rgba(255,255,255,0.04) 20px);
  color: rgba(255,255,255,0.4);
}

/* ─── STORY SPLIT ─── */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split .ph { aspect-ratio: 4 / 5; }

/* ─── PRODUCT CARDS (Shop teaser) ─── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.product-card {
  background: var(--paper); padding: 0; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.15s;
}
.product-card:hover { transform: translateY(-2px); }
.product-card .ph { aspect-ratio: 1 / 1; }
.product-card__meta { padding: 16px 4px; display: flex; justify-content: space-between; align-items: baseline; }
.product-card__meta .name {
  font-family: var(--sans); font-weight: 400; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.product-card__meta .price {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
}

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--lilac); color: var(--ink);
  padding: clamp(64px, 8vw, 96px) var(--gutter); text-align: center;
}
.newsletter h2 { margin: 0 0 16px; }
.newsletter form { display: flex; max-width: 540px; margin: 32px auto 0; gap: 0; }
.newsletter input[type=email] {
  flex: 1; padding: 18px 22px;
  background: transparent; border: 1px solid var(--ink); border-right: none;
  font-family: var(--sans); font-size: 15px; letter-spacing: 0.04em;
  color: var(--ink); outline: none;
}
.newsletter input[type=email]::placeholder { color: rgba(20,15,10,0.5); }
.newsletter button {
  padding: 18px 28px; background: var(--ink); color: var(--cream); border: none;
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; cursor: pointer;
}
.newsletter .note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(20,15,10,0.55); margin-top: 16px;
}

/* ─── FOOTER ─── */
.footer { background: var(--ink); color: var(--cream); padding: 80px var(--gutter) 32px; }
.footer__inner { max-width: var(--container); margin: 0 auto; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .wordmark { font-size: 32px; color: var(--cream); }
.footer__brand p { color: var(--silver); font-size: 14px; line-height: 1.6; max-width: 320px; margin: 18px 0 0; }
.footer__col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lilac); margin: 0 0 18px;
  font-weight: 400;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { padding: 5px 0; }
.footer__col a { color: var(--cream); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; }
.footer__col a:hover { color: var(--lilac); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--silver);
}

/* ─── PAGE TITLE ─── */
.page-title {
  padding: clamp(64px, 10vw, 144px) var(--gutter) clamp(48px, 6vw, 96px);
  background: var(--cream); border-bottom: 1px solid rgba(0,0,0,0.06);
}
.page-title--dark { background: var(--ink); color: var(--cream); }
.page-title--lilac { background: var(--lilac); color: var(--ink); }
.page-title__inner { max-width: var(--container); margin: 0 auto; }
.page-title h1 { margin: 18px 0 24px; }
.page-title p { font-size: clamp(18px, 2vw, 26px); max-width: 880px; line-height: 1.5; margin: 0; }

/* ─── MENU LIST (Speisekarte) ─── */
.menu-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.menu-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px dashed rgba(0,0,0,0.15);
}
.dark .menu-row { border-bottom-color: rgba(255,255,255,0.15); }
.menu-row__name { font-family: var(--sans); font-weight: 400; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.menu-row__desc { font-family: var(--sans); font-size: 14px; color: var(--steel); letter-spacing: 0.04em; }
.dark .menu-row__desc { color: var(--silver); }
.menu-row__price { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: 0.05em; }

/* ─── CARDS (Artists, Treatments) ─── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--cream); padding: 0; display: flex; flex-direction: column;
}
.card__img { aspect-ratio: 3 / 4; }
.card__body { padding: 28px 24px; }
.card__name { font-family: var(--sans); font-weight: 400; font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase; }
.card__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.25em; color: var(--lilac-deep); text-transform: uppercase; margin-top: 6px; }
.card__desc { margin-top: 14px; font-size: 14px; color: var(--steel); line-height: 1.65; }
.card__actions { padding: 0 24px 24px; }
.dark .card { background: var(--soot); color: var(--cream); }
.dark .card__role { color: var(--lilac); }
.dark .card__desc { color: var(--silver); }

/* ─── INFO LIST (Visit page) ─── */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.info-block h4 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--lilac-deep); margin: 0 0 14px; font-weight: 400;
}
.info-block p { font-size: 18px; line-height: 1.6; margin: 0; }
.info-block table { width: 100%; font-size: 16px; }
.info-block table td { padding: 6px 0; }
.info-block table td:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); width: 140px; }

/* ─── BIG WORDMARK BANNER (between sections) ─── */
.banner-wordmark {
  background: var(--lilac); padding: clamp(80px, 12vw, 180px) var(--gutter);
  text-align: center; overflow: hidden;
}
.banner-wordmark .wordmark { font-size: clamp(120px, 22vw, 360px); display: block; color: var(--ink); }
.banner__tagline {
  font-family: var(--sans); font-weight: 300; color: var(--ink);
  font-size: clamp(48px, 9vw, 132px); letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 0.95;
}

/* ─── RESPONSIVE ─── */
/* ─── MOBILE NAV (hamburger + slide-in drawer, injected by site.js) ─── */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: -8px;
  color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.nav-toggle svg { display: block; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 32px; overflow-y: auto;
}
.mobile-nav[data-open] { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav__brand { color: var(--cream); text-decoration: none; font-size: 24px; }
.mobile-nav__brand .a { color: var(--lilac); }
.mobile-nav__close { background: none; border: none; color: var(--cream); cursor: pointer; padding: 8px; margin-right: -8px; }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  color: var(--cream); text-decoration: none; font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 300; font-size: 30px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); line-height: 1.1;
}
.mobile-nav__links a .a { color: var(--lilac); }
.mobile-nav__sub { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.mobile-nav__sub a {
  color: var(--silver); text-decoration: none; font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 13px;
}
.mobile-nav__foot {
  margin-top: auto; padding-top: 32px; color: var(--silver);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; line-height: 1.8;
}
body[data-nav-open] { overflow: hidden; }

@media (max-width: 1100px) {
  .header__inner { gap: 16px; }
  .header__nav { gap: 18px; }
  .header__nav a { font-size: 12px; letter-spacing: 0.18em; }
  .header__icons { gap: 12px; }
  .header__icons a, .header__icons button { font-size: 12px; }
  .header__icons .lang { display: none; }
  .header__icons a[aria-label="Suche"] { display: none; }
}
@media (max-width: 880px) {
  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__nav { display: none; }
  .nav-toggle { display: flex; }
  .header__logo { justify-self: center; }
  .header__icons a[href="shop.html"],
  .header__icons a[aria-label="Suche"],
  .header__icons a[aria-label="Account"] { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; padding: 48px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .h1 { font-size: clamp(40px, 12vw, 80px); }
  .lead { font-size: 18px; }
  .promo { font-size: 10.5px; letter-spacing: 0.18em; padding: 11px var(--gutter); }
  .header__icons { gap: 10px; }
  .newsletter form { flex-direction: column; gap: 12px; }
  .newsletter input[type=email] { border-right: 1px solid var(--ink); text-align: center; }
  .newsletter button { padding: 16px; }
  .menu-row { grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px; }
  .menu-row__name { grid-column: 1; grid-row: 1; }
  .menu-row__price { grid-column: 2; grid-row: 1; }
  .menu-row__desc { grid-column: 1 / -1; grid-row: 2; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer { padding: 56px var(--gutter) 28px; }
  .page-title__inner .h1 { overflow-wrap: anywhere; }
}
