/* --- Schriften, selbst ausgeliefert -------------------------------------
   Kein Aufruf an fonts.googleapis.com. Geholt mit bin/schriften-holen.
   Variable Fonts: eine Datei je Familie und Subset.
   ---------------------------------------------------------------------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/BricolageGrotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/BricolageGrotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/HankenGrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/HankenGrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Salon Nackenlinie — „Spiegel“
   Erfundener Salon, Vorführung mit eingebetteter Tagesliste.
   Eine Signatur: der hohe Salonspiegel (Bogen oben, Chromrahmen). Alles
   andere hat gerade Kanten. Die Teamansicht ist bewusst KEIN Spiegel — sie
   gehört nicht zur Website und muss sich davon abheben.
   Tokens unten sind die einzige Stelle für Farben und Maße. Dieselben Farben
   stehen im Thema der Tagesliste (themen/nackenlinie.css).
   ========================================================================== */

:root {
  --tile:     #EDF0EF;   /* Fliesenweiß — Fläche */
  --tile-2:   #E2E7E6;   /* abgesetzte Fläche */
  --glass:    #F7F8F8;   /* Spiegelinneres */
  --ink:      #141A2B;   /* Nachtblau — Text, Teamband */
  --ink-2:    #4A5263;
  --ink-3:    #5E6675;
  --cobalt:   #2946C4;   /* Akzent */
  --cobalt-2: #1F369C;
  --line:     #C9D0CF;

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-text:    "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2.25rem; --s7: 3.5rem; --s8: clamp(4rem, 9vw, 7.5rem);

  --wrap: 76rem;
  --pad:  clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;

  /* Der Spiegel: Bogen oben. 999rem wird vom Browser auf die halbe Breite
     heruntergerechnet — ein sauberer Halbkreis bei jeder Breite. */
  --arch: 999rem 999rem 0 0;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--tile);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: var(--glass); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 650;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}
p { margin: 0 0 var(--s4); text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--s4); top: var(--s4); z-index: 100; background: var(--ink); color: var(--glass); padding: var(--s2) var(--s4); }

.h-2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36ch; }
.muted { color: var(--ink-3); }

/* Beispiel-Hinweis — auf jeder Seite, nie als echt ausgeben */
.sample-note {
  font-size: .875rem;
  color: var(--ink-2);
  border-left: 2px solid var(--cobalt);
  padding-left: var(--s3);
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .7rem 1.35rem;
  background: var(--cobalt);
  color: var(--glass);
  border: 1px solid var(--cobalt);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.btn:hover { background: var(--cobalt-2); border-color: var(--cobalt-2); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--glass); border-color: var(--ink); }

/* --- Beispielleiste und Kopf --------------------------------------------- */

.demo-strip {
  background: var(--ink);
  color: var(--tile);
  font-size: .875rem;
  padding-block: var(--s2);
}
.demo-strip strong { font-weight: 650; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 240, 239, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg { width: .95rem; height: 1.3rem; flex: none; }

.header-tools { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.nav-desk { display: none; gap: clamp(1rem, 2vw, 1.75rem); font-size: .975rem; }
.nav-desk a { text-decoration: none; color: var(--ink-2); padding-block: .25rem; border-bottom: 1px solid transparent; }
.nav-desk a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.lang-switch { display: flex; border: 1px solid var(--line); }
.lang-switch button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: .3rem .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3);
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--glass); }

.header-cta { display: none; min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }

.nav-toggle {
  display: inline-grid; align-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem; padding: 0 .7rem;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: var(--header-top, var(--header-h)) 0 0;
  z-index: 45;
  background: var(--tile);
  padding: var(--s5) var(--pad);
  overflow-y: auto;
}
.nav-overlay nav { display: grid; }
.nav-overlay nav a {
  font-family: var(--f-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none; padding-block: var(--s4); border-bottom: 1px solid var(--line);
}
.nav-overlay .btn { margin-top: var(--s5); width: 100%; }

@media (min-width: 62rem) {
  .nav-desk, .header-cta { display: flex; }
  .nav-toggle, .nav-overlay { display: none !important; }
}

/* --- Der Spiegel --------------------------------------------------------- */

.mirror {
  position: relative;
  margin: 0;
  padding: .55rem;
  border: 1px solid var(--ink);
  border-radius: var(--arch);
  background: var(--glass);
}
.mirror img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--arch);
}
.mirror figcaption {
  position: absolute;
  right: -1px;
  bottom: -1px;
  background: var(--tile);
  border: 1px solid var(--ink);
  padding: .3rem .7rem;
  font-size: .8rem;
  color: var(--ink-2);
}

/* Ein Moment Bewegung: ein Lichtstreif zieht einmal über den Spiegel. */
.mirror-shine { overflow: hidden; }
.mirror-shine::after {
  content: "";
  position: absolute;
  inset: .55rem;
  border-radius: var(--arch);
  background: linear-gradient(115deg, transparent 38%, rgba(247, 248, 248, .38) 50%, transparent 62%);
  background-size: 250% 100%;
  background-position: 120% 0;
  animation: shine 1.8s .35s cubic-bezier(.3, .6, .2, 1) 1 both;
  pointer-events: none;
}
@keyframes shine { to { background-position: -60% 0; } }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  display: grid;
  gap: var(--s7);
  align-items: end;
  padding-top: clamp(2.5rem, 7vw, 5.5rem);
  padding-bottom: var(--s8);
}
.hero h1 {
  font-size: clamp(3.1rem, 9.6vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: .92;
}
.hero .lead { margin: var(--s5) 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: var(--s6); }
.hero-actions .tel { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }

.hours-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s1) var(--s5);
  margin: var(--s6) 0 0;
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  max-width: 26rem;
  font-size: .975rem;
}
.hours-inline dt { color: var(--ink-3); }
.hours-inline dd { margin: 0; font-weight: 500; }

.hero .mirror { aspect-ratio: 3 / 4.3; width: min(100%, 26rem); justify-self: center; }

@media (min-width: 56rem) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero .mirror { justify-self: end; margin-bottom: calc(-1 * var(--s6)); }
}

/* --- Abschnitte ---------------------------------------------------------- */

.section { padding-block: var(--s8); scroll-margin-top: var(--header-h); }
.section-rule { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: var(--s4); margin-bottom: var(--s7); max-width: 44rem; }
.section-head p { color: var(--ink-2); margin: 0; }

/* Leistungen als Zeilen, nicht als Karten */
.services { display: grid; gap: var(--s7) var(--s8); }
@media (min-width: 60rem) { .services { grid-template-columns: 1fr 1fr; } }
.service-group h3 { font-size: 1.5rem; padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: var(--s1) var(--s5);
  align-items: baseline;
  padding-block: var(--s4);
  border-bottom: 1px solid var(--line);
}
.service-list .name { font-weight: 600; }
.service-list .name small { display: block; font-weight: 400; font-size: .925rem; color: var(--ink-3); }
.service-list .dur { font-size: .925rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.service-list .price { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 4.5rem; text-align: right; }
.services-note { margin-top: var(--s5); }

/* --- Termin: Buchung im Spiegel ----------------------------------------- */

.booking { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 62rem) {
  .booking { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .booking-copy { position: sticky; top: calc(var(--header-h) + var(--s6)); }
}
.booking-copy p { color: var(--ink-2); }
.booking-copy .sample-note { margin-top: var(--s5); }
.lang-note { display: none; }
:root[lang="en"] .lang-note { display: block; }

/* Flacher Bogen statt Halbkreis: die Buchung braucht die volle Breite. */
.mirror-booking {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + var(--s5));   /* nach dem Buchen: Titel nicht unter dem Kopf */
  border: 1px solid var(--ink);
  border-radius: 50% 50% 0 0 / 9rem 9rem 0 0;
  background: var(--glass);
  box-shadow: inset 0 0 0 .55rem var(--glass), inset 0 0 0 calc(.55rem + 1px) var(--line);
  padding: 0 clamp(1rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2rem);
}
.mirror-booking .mirror-title {
  display: grid;
  place-items: center;
  height: 9rem;
  text-align: center;
  padding-top: var(--s5);
}
.mirror-booking .mirror-title h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
/* min-height nur als Platzhalter bis zum Laden — mit der ersten Höhenmeldung
   setzt site.js sie auf 0, sonst bliebe unter kurzen Buchungsschritten oder
   einer kurzen Bestätigung leere Fläche stehen. */
.mirror-booking iframe { display: block; width: 100%; min-height: 28rem; border: 0; background: var(--glass); }

.booking-copy .team-hint {
  margin-top: var(--s4);
  font-weight: 600;
  color: var(--cobalt);
}

/* --- Nur für das Team sichtbar ------------------------------------------
   Gehört nicht zur Website. Dunkles Band, gestrichelter Rand, Etikett — damit
   niemand die Liste für einen Teil der öffentlichen Seite hält.
   ------------------------------------------------------------------------ */

.team-band {
  background: var(--ink);
  color: var(--tile);
  padding-block: var(--s7);
  scroll-margin-top: var(--header-h);
}
.team-frame {
  border: 1px dashed rgba(201, 208, 207, .55);
  padding: clamp(1rem, 3vw, 2.25rem);
}
.team-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: var(--tile);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .3rem .7rem;
}
.team-label svg { width: .9rem; height: .9rem; }
.team-head { display: grid; gap: var(--s4); margin: var(--s5) 0 var(--s6); max-width: 46rem; }
.team-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--glass); }
.team-head p { color: #A9B4CC; margin: 0; }
.team-frame iframe { display: block; width: 100%; min-height: 12rem; border: 0; background: var(--tile); }
.team-link { display: inline-block; margin-top: var(--s4); color: var(--tile); font-size: .95rem; }

/* --- Salon --------------------------------------------------------------- */

.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.split .mirror { aspect-ratio: 3 / 4; width: min(100%, 24rem); }
.split-copy p { color: var(--ink-2); max-width: 52ch; }
.split-copy h2 { margin-bottom: var(--s5); }

/* --- Kontakt ------------------------------------------------------------- */

.contact { display: grid; gap: var(--s6); }
@media (min-width: 52rem) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact h3 { font-size: 1.15rem; margin-bottom: var(--s3); }
.contact p { margin: 0; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s5); margin: 0; }
.hours dt { color: var(--ink-3); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* --- Rechtliches --------------------------------------------------------- */

.legal { max-width: 48rem; padding-block: var(--s7) var(--s8); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: var(--s6); }
.legal h2 { font-size: 1.5rem; margin: var(--s7) 0 var(--s4); }
.legal dl { margin: 0; border-top: 1px solid var(--line); }
.legal dl > div { display: grid; gap: var(--s1) var(--s5); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
@media (min-width: 44rem) { .legal dl > div { grid-template-columns: 13rem 1fr; } }
.legal dt { color: var(--ink-3); }
.legal dd { margin: 0; }
.legal p { color: var(--ink-2); }

/* --- Fuß ----------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--ink); padding-block: var(--s6); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); align-items: baseline; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer-links a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
