@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo.woff2') format('woff2');
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: oklch(0.17 0.008 60);
  --bg-2: oklch(0.21 0.009 60);
  --line: oklch(0.32 0.01 60);
  --ink: oklch(0.95 0.015 85);
  --ink-2: oklch(0.76 0.015 80);
  --red: oklch(0.6 0.19 28);
  --red-ink: oklch(0.98 0.01 85);
  --ok: oklch(0.78 0.13 150);
  --radius: 14px;
  --pad: clamp(20px, 5vw, 56px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 'Archivo', system-ui, sans-serif; font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.wide { font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; }
.muted { color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--red); color: var(--red-ink); font-weight: 700; font-stretch: 112%;
  text-decoration: none; font-size: 17px; transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; filter: none; transform: none; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklch, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-weight: 800; font-stretch: 125%; letter-spacing: .02em; text-decoration: none; font-size: 18px; }
.logo span { color: var(--ink-2); font-weight: 500; font-stretch: 100%; letter-spacing: .12em; font-size: 11px; margin-left: 8px; }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { padding: clamp(40px, 9vh, 110px) 0 0; }
.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.hero h1 {
  margin: 14px 0 0; line-height: .82; font-weight: 800; font-size: clamp(110px, 31vw, 360px);
  font-stretch: 125%; letter-spacing: -0.02em; text-transform: uppercase;
  animation: stretch 1.4s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes stretch { from { font-stretch: 62%; opacity: 0; } 30% { opacity: 1; } to { font-stretch: 125%; } }
.hero .lead { font-size: clamp(22px, 3.6vw, 34px); line-height: 1.2; margin: 26px 0 0; max-width: 18ch; font-weight: 500; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.rating b { color: var(--ink); font-size: 17px; }
.stars { color: oklch(0.83 0.15 85); letter-spacing: 2px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.walkin { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; }

/* Barber-Streifen */
.pole { height: 14px; margin-top: clamp(48px, 9vh, 96px);
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--ink) 14px 28px, oklch(0.45 0.12 255) 28px 42px, var(--ink) 42px 56px);
  background-size: 79.2px 14px; animation: pole 3s linear infinite; opacity: .92; }
@keyframes pole { to { background-position: 79.2px 0; } }

/* Abschnitte */
section { padding: clamp(64px, 11vh, 120px) 0; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(34px, 6vw, 64px); line-height: .95; margin: 0 0 28px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; }
h3 { margin: 0 0 8px; font-size: 22px; font-stretch: 112%; font-weight: 700; }

.ways { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg-2); display: flex; flex-direction: column; gap: 6px; }
.way .tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.way.main { background: var(--red); border-color: var(--red); color: var(--red-ink); }
.way.main .tag, .way.main .muted { color: color-mix(in oklch, var(--red-ink) 80%, transparent); }
.way .btn { margin-top: 16px; align-self: flex-start; background: var(--red-ink); color: var(--red); }
.way .btn.ghost { background: transparent; color: var(--ink); }

.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.prices li:last-child { border-bottom: 1px solid var(--line); }
.prices .n { font-size: clamp(20px, 3vw, 26px); font-weight: 600; }
.prices .d { color: var(--ink-2); font-size: 15px; }
.prices .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-6px); }
.prices .p { font-weight: 700; font-stretch: 112%; font-size: clamp(20px, 3vw, 26px); white-space: nowrap; }
.prices .p.tbd { color: var(--ink-2); font-weight: 500; font-size: 15px; font-stretch: 100%; }
.note { margin-top: 18px; color: var(--ink-2); font-size: 15px; }

.steps { display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: s; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-weight: 800; font-stretch: 125%; font-size: 56px; line-height: 1; color: var(--red); margin-bottom: 10px; }
.steps p { margin: 0; color: var(--ink-2); }

.info { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .info { grid-template-columns: 1.1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-size: 18px; }
.hours td { padding: 10px 0; border-top: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--ink); font-weight: 700; }
.hours tr:not(.today) td { color: var(--ink-2); }
.addr { font-size: 22px; line-height: 1.35; margin: 0 0 20px; font-weight: 500; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }

footer { padding: 40px 0 60px; color: var(--ink-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }

/* Buchungsfenster */
dialog.book {
  width: min(640px, 100%); max-width: 100%; height: 100%; max-height: 100%; margin: 0 0 0 auto; padding: 0;
  border: 0; background: var(--bg); color: var(--ink); overflow: hidden;
}
@media (min-width: 760px) { dialog.book { border-left: 1px solid var(--line); } }
dialog.book[open] { display: flex; flex-direction: column; animation: slide .35s cubic-bezier(.2,.8,.2,1); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
dialog.book::backdrop { background: oklch(0 0 0 / .6); }
.bk-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); border-bottom: 1px solid var(--line); }
.bk-head strong { font-stretch: 125%; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 22px; line-height: 1; }
.bk-body { flex: 1; overflow-y: auto; padding: 8px var(--pad) 40px; overscroll-behavior: contain; }
.bk-step { padding-top: 26px; }
.bk-step > h3 { display: flex; align-items: baseline; gap: 10px; font-size: 18px; }
.bk-step > h3 .num { color: var(--red); font-stretch: 125%; font-weight: 800; }
.bk-step.locked { opacity: .35; pointer-events: none; }
.testnote { margin: 18px 0 0; padding: 12px 14px; border-radius: 10px; background: oklch(0.3 0.06 85); color: oklch(0.93 0.06 90); font-size: 14px; }

.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; background: var(--bg-2); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt .n { font-weight: 600; }
.opt .d { color: var(--ink-2); font-size: 14px; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: 0 0 auto; width: 66px; padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2); cursor: pointer; text-align: center; scroll-snap-align: start; line-height: 1.2; }
.day .w { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.day .n { font-size: 22px; font-weight: 700; font-stretch: 112%; }
.day .m { font-size: 12px; color: var(--ink-2); }
.day[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: var(--red-ink); }
.day[aria-pressed="true"] .w, .day[aria-pressed="true"] .m { color: inherit; }
.day:disabled { opacity: .3; cursor: not-allowed; }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time { min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg-2); cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; }
.time[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: var(--red-ink); }
.hint { color: var(--ink-2); font-size: 15px; margin: 4px 0; }
.err { color: oklch(0.75 0.15 28); font-size: 15px; margin: 8px 0 0; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field input { min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2); font-size: 17px; }
.field input:focus { border-color: var(--ink-2); outline: none; }
.field input[aria-invalid="true"] { border-color: oklch(0.65 0.18 28); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; }

.bk-foot { border-top: 1px solid var(--line); padding: 14px var(--pad) max(14px, env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--bg-2); }
.bk-sum { font-size: 14px; color: var(--ink-2); min-height: 20px; }
.bk-sum b { color: var(--ink); }
.bk-foot .btn { width: 100%; }

/* Terminseite */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: clamp(24px, 4vw, 40px); max-width: 620px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); } .status.no { color: oklch(0.75 0.15 28); } .status.wait { color: oklch(0.83 0.15 85); }
.big { font-size: clamp(28px, 5vw, 44px); line-height: 1.05; font-weight: 800; font-stretch: 118%; margin: 14px 0 6px; }
.rows { margin: 22px 0; display: grid; gap: 8px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 8px; }
.rows dt, .rows dd { margin: 0; } .rows dt { color: var(--ink-2); } .rows dd { text-align: right; }
.legal h2 { font-size: clamp(30px, 5vw, 48px); }
.legal h3 { margin-top: 30px; }
.legal p, .legal li { color: var(--ink-2); max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, dialog.book[open] { animation: none; }
  .pole { animation: none; }
  html { scroll-behavior: auto; }
}
