/* =========================================================
   Haarwerk Lina – Fallbeispiel (erfundener Betrieb)
   Stimmung: Modemagazin. Schwarzweiß, Petrol, scharfe Kanten.
   ========================================================= */
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/Bodoni-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/Bodoni-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../fonts/Jost-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../fonts/Jost-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #eef0ee;     /* kühles Weiß */
  --ink: #111312;
  --ink-soft: #4b5250;
  --teal: #0f3b3a;      /* Petrol, Fliesen im Salon */
  --teal-2: #164f4d;
  --mint: #bfe0d9;
  --serif: "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);   /* Emil: kräftiges ease-out */
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, p, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
::selection { background: var(--teal); color: var(--paper); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; background: url(../bilder/korn.png); opacity: .06; mix-blend-mode: multiply; animation: grain 1s steps(5) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-4%)} 75%{transform:translate(-4%,-1%)} 100%{transform:translate(0,0)} }

.h2 { font: 400 clamp(40px, 5.4vw, 90px)/1.02 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; max-width: 34ch; }
.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; letter-spacing: .02em; transition: background-color .2s ease, scale .12s var(--ease); }
.btn:active { scale: .97; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--teal); } }
.btn[aria-disabled="true"] { background: #c9cfcc; color: var(--ink-soft); pointer-events: none; }

/* ---------- Kopf ---------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); mix-blend-mode: difference; color: #fff; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 22px var(--serif); }
.logo svg { width: 52px; height: 52px; }
.lg-ring { fill: none; stroke: #fff; stroke-width: 2; }
.lg-l { font: 400 40px var(--serif); fill: #fff; text-anchor: middle; }
.lg-blade path { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.lg-blade circle { fill: none; stroke: #fff; stroke-width: 2.5; }
.top-cta { text-decoration: none; font-weight: 500; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper); min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; overflow: hidden; }
.hero-photo { grid-column: 2; grid-row: 1 / span 2; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.cut-wrap { grid-column: 1; grid-row: 1; align-self: center; position: relative; padding: 120px var(--pad) 0; pointer-events: none; }
.cut-title { position: relative; font: 400 clamp(56px, 7.2vw, 140px)/1 var(--serif); letter-spacing: -0.035em; max-width: 46vw; color: var(--ink); }
.cut { display: block; }
.cut--top { clip-path: polygon(0 0, 100% 0, 100% 38%, 0 62%); }
.cut--bottom { position: absolute; inset: 0; clip-path: polygon(0 62%, 100% 38%, 100% 100%, 0 100%); }
.scissors { position: absolute; left: 0; top: 0; width: clamp(90px, 9vw, 150px); overflow: visible; }
.scissors path { stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.scissors circle { fill: none; stroke: var(--teal); stroke-width: 4; }
.scissors .sc-pin { fill: var(--teal); stroke: none; }
.hero-foot { grid-column: 1; grid-row: 2; padding: 0 var(--pad) clamp(40px, 8vh, 90px); display: grid; gap: 24px; justify-items: start; position: relative; z-index: 3; }

/* ---------- Salon ---------- */
.salon { position: relative; min-height: 110svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--teal); }
.salon-media { position: absolute; inset: 0; }
.salon-media img { width: 100%; height: 100%; object-fit: cover; }
.salon-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,59,58,.92), rgba(15,59,58,0) 55%); } /* taste-skill-ignore: Abdeckung unter Text auf Foto */
.salon-text { position: relative; padding: 0 var(--pad) clamp(48px, 10vh, 120px); font: italic 400 clamp(34px, 4.6vw, 80px)/1.08 var(--serif); color: var(--paper); max-width: 20ch; }

/* ---------- Preise ---------- */
.prices { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 100svh; }
.prices-photo { overflow: hidden; } .prices-photo img { width: 100%; height: 100%; object-fit: cover; }
.prices-list { padding: clamp(56px, 9vw, 140px) var(--pad); display: grid; align-content: center; gap: 36px; }
.pl { display: grid; gap: 0; }
.pl div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid #c9cfcc; }
.pl dt { font-size: 19px; }
.pl dd { font: 400 30px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.note { color: var(--ink-soft); font-size: 15px; }

/* ---------- Termin ---------- */
.booking { background: var(--teal); color: var(--paper); padding: clamp(96px, 14vh, 160px) var(--pad); display: grid; grid-template-columns: 1fr 1.2fr; gap: 4vw; align-items: start; }
.booking .lead { color: var(--mint); }
.book-head { display: grid; gap: 20px; position: sticky; top: 120px; }
.book-ui { display: grid; gap: 22px; }
.days, .slots { display: flex; flex-wrap: wrap; gap: 8px; }
.days button, .slots button { min-height: 56px; min-width: 86px; padding: 8px 14px; border: 1.5px solid rgba(238,240,238,.35); background: transparent; cursor: pointer; display: grid; place-items: center; line-height: 1.15; transition: background-color .15s ease, color .15s ease, border-color .15s ease, scale .12s var(--ease); }
.days button small { font-size: 13px; color: var(--mint); }
.days button[aria-checked="true"], .slots button[aria-checked="true"] { background: var(--paper); color: var(--teal); border-color: var(--paper); }
.days button[aria-checked="true"] small { color: var(--teal-2); }
.slots button:disabled { opacity: .28; cursor: not-allowed; text-decoration: line-through; }
.days button:active, .slots button:active { scale: .95; }
@media (hover: hover) and (pointer: fine) { .days button:hover, .slots button:not(:disabled):hover { border-color: var(--paper); } }
.what { display: grid; gap: 6px; max-width: 360px; }
.what span { font-size: 15px; color: var(--mint); }
.what select { min-height: 52px; padding: 0 14px; background: var(--teal-2); border: 1.5px solid rgba(238,240,238,.35); color: var(--paper); }
.pick { font: italic 400 clamp(24px, 2.2vw, 34px)/1.2 var(--serif); }
.booking .btn { background: var(--paper); color: var(--teal); }
.booking .btn[aria-disabled="true"] { background: rgba(238,240,238,.18); color: var(--mint); }

/* ---------- Abend ---------- */
.evening { position: relative; min-height: 105svh; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; }
.evening-media { position: absolute; inset: 0; } .evening-media img { width: 100%; height: 100%; object-fit: cover; }
.evening-card { position: relative; margin: 0 var(--pad); background: var(--paper); padding: 40px; display: grid; gap: 18px; max-width: 420px; }
.evening-card .h2 { font-size: clamp(34px, 3vw, 48px); }
.hours { display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #c9cfcc; padding-bottom: 6px; }

/* ---------- Fuß ---------- */
.foot { padding: 40px var(--pad) 40px; display: grid; gap: 16px; }
.foot-mark { font: italic 400 clamp(110px, 30vw, 520px)/.8 var(--serif); color: var(--teal); letter-spacing: -0.04em; }
.foot-note { max-width: 70ch; color: var(--ink-soft); font-size: 15px; }
.foot-note strong { color: var(--ink); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .hero-photo { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 5; }
  .cut-wrap { grid-row: 1; padding-top: 110px; padding-bottom: 24px; }
  .cut-title { font-size: 15vw; max-width: none; }
  .cut-wrap { grid-column: 1; }
  .hero-foot { grid-row: 3; padding-top: 28px; }
  .prices, .booking { grid-template-columns: 1fr; }
  .prices-photo { aspect-ratio: 1; }
  .book-head { position: static; }
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } .scissors { display: none; } }

/* ---------- Für alle Fallbeispiele (V12): Kopfzeile ein/aus und yourpage24-Hinweis ---------- */
.top { transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
.top.yp-weg { transform: translateY(-100%); }
.yp-pill {
  position: fixed; left: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 99px; text-decoration: none; font: 500 13px/1.2 system-ui, sans-serif;
  color: #e9fbff; background: rgba(3, 18, 26, 0.82); border: 1px solid rgba(34, 227, 214, 0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(12px) scale(0.97); pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.23, 1, 0.32, 1), transform 250ms cubic-bezier(0.23, 1, 0.32, 1), border-color 200ms ease;
}
.yp-pill.is-on { opacity: 1; transform: none; pointer-events: auto; }
.yp-pill i { width: 8px; height: 8px; border-radius: 50%; background: #22e3d6; box-shadow: 0 0 10px #22e3d6; flex: none; }
.yp-pill b { font-weight: 600; color: #22e3d6; }
.yp-pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .yp-pill:hover { border-color: #22e3d6; } }
@media (max-width: 520px) { .yp-pill span { display: none; } }
@media (prefers-reduced-motion: reduce) { .top, .yp-pill { transition-property: opacity; } .yp-pill { transform: none; } }
