/* Salon Lumen – Konzeptstudie von Studio Niers
   Design Read: Beauty-Studio für stilbewusste Kundschaft, dunkle Editorial-Sprache, Rosé als einziger Akzent.
   Dials 8 / 5 / 3. Serif begründet: Mode-/Beauty-Editorial (Cormorant Garamond), Fließtext Manrope.
   Standard dunkel (Markenkern), helle Variante per Schalter. Fotos: CC0, siehe CREDITS.md. Icons: Phosphor (MIT).
   Formen: Buttons = Pille, Bilder = 4px (kantig, editorial), Formular-Chips = Pille. */

@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #121011; --surface: #1b1819; --ink: #f3ece7; --ink-2: #b2a7a1; --line: #2e2829;
  --accent: #e3a1b4; --accent-hover: #eeb8c8; --on-accent: #121011;
  --display: "Cormorant", Georgia, "Times New Roman", serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1); --t: 240ms;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4f5; --surface: #ffffff; --ink: #1a1617; --ink-2: #6a5f62; --line: #e6dde0;
  --accent: #a33d5c; --accent-hover: #8a3049; --on-accent: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body { background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(32px, env(safe-area-inset-right)) 0 max(32px, env(safe-area-inset-left)); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 12px 18px; }
.skip:focus { top: 16px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 em, h2 em, .brand em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
p { text-wrap: pretty; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.section__lead { color: var(--ink-2); max-width: 52ch; margin-top: 18px; font-size: 1.05rem; }

.concept-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; background: var(--accent); color: var(--on-accent); font-size: .84rem; padding: 8px 32px; }
.concept-bar a { color: inherit; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); font-weight: 600; letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: background var(--t) var(--ease), border-color var(--t), transform 120ms var(--ease); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.text-link { font-weight: 600; padding: 10px 2px; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; transition: text-decoration-color var(--t); }
.text-link:hover { text-decoration-color: var(--accent); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { font-family: var(--display); font-size: 1.7rem; font-weight: 500; text-decoration: none; }
.brand--small { font-size: 1.3rem; }
.top__nav { display: flex; gap: 26px; margin-left: auto; font-size: .92rem; letter-spacing: .02em; }
.top__nav a { text-decoration: none; color: var(--ink-2); padding: 8px 0; transition: color var(--t); }
.top__nav a:hover { color: var(--ink); }
.theme-toggle { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink-2); font-size: .88rem; transition: color var(--t), border-color var(--t), background var(--t); }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.theme-toggle[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Hero: Text links unten, hohes Foto rechts */
.hero { padding: 56px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 7.2rem); line-height: .95; }
.hero__lead { color: var(--ink-2); font-size: 1.12rem; max-width: 38ch; margin-top: 28px; }
.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.hero__media { margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: saturate(.9); }

/* Abschnitte */
.section { padding: 112px 0 128px; }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 56px; }

/* Preise: zwei gruppierte Spalten */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
.prices h3 { font-size: 2rem; margin: 0 0 8px; }
.prices h3:not(:first-child) { margin-top: 44px; }
.pricelist li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pricelist li span:last-child { color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Galerie */
.gallery__title { margin-bottom: 48px; }
.gallery { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto; gap: 24px; }
.gallery__item { margin: 0; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; object-fit: cover; border-radius: 4px; transition: transform 700ms var(--ease); }
.gallery__item--tall img { aspect-ratio: 4 / 5.2; }
.gallery__item:not(.gallery__item--tall) img { aspect-ratio: 16 / 9; }
.gallery__item figcaption { margin-top: 12px; color: var(--ink-2); font-size: .95rem; }

/* Team */
.team { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.team__list li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.team__list li:first-child { border-top: 1px solid var(--line); }
.team__mono { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-family: var(--display); font-style: italic; font-size: 2rem; color: var(--accent); }
.team__name { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.team__role { color: var(--ink-2); }

/* Termin-Baukasten */
.booking { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.privacy { margin-top: 24px; color: var(--ink-2); font-size: .9rem; border-left: 2px solid var(--accent); padding-left: 14px; }
.builder { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 32px; }
.builder fieldset { border: 0; margin-bottom: 24px; }
.builder legend { font-family: var(--display); font-size: 1.6rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .95rem; cursor: pointer; transition: border-color var(--t), background var(--t), color var(--t); }
.chips label:hover span { border-color: var(--ink-2); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.summary { display: grid; gap: 6px; border-top: 1px solid var(--line); padding: 22px 0; }
.summary__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
#summary { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; }

/* Info */
.info { padding: 72px 0; }
.info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.info address, .info p { font-style: normal; }
.info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info a:hover { border-color: var(--accent); }

.foot { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: .88rem; color: var(--ink-2); }
.foot__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: rise 800ms var(--ease) both; }
  .hero__text > *:nth-child(2) { animation-delay: 80ms; }
  .hero__text > *:nth-child(3) { animation-delay: 160ms; }
  .hero__text > *:nth-child(4) { animation-delay: 220ms; }
  .hero__media { animation: rise 900ms var(--ease) 120ms both; }
  .gallery__item:hover img { transform: scale(1.02); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 900px) {
  .hero__grid, .prices, .team, .booking { grid-template-columns: 1fr; gap: 40px; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--tall { grid-row: auto; }
  .gallery__item--tall img { aspect-ratio: 4 / 3; }
  .info__grid { grid-template-columns: 1fr; }
  .top__nav { display: none; }
  .theme-toggle { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .concept-bar { padding: 8px 16px; }
  .top__inner { height: 64px; gap: 10px; }
  .top__cta { display: none; }
  .hero { padding: 32px 0 64px; }
  .section { padding: 72px 0 88px; }
  .builder { padding: 22px 16px; }
}

/* Hell/Dunkel: kurze Überblendung ohne Einzel-Übergänge (siehe /theme.js) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }
