/* =====================================================================
   CONFIDENCE · Styles
   Layout: Apple-Produktseite. Zentrierter Hero mit dem Logo-Schild,
   darunter linksbündige Kapitel auf einer 1080px-Spalte; die Buchung
   ist eine gruppierte Karte im iOS-Stil mit fester Aktionsleiste.
   Bewusst nur ein dunkles Erscheinungsbild (Wunsch des Shops).
   Schriften: Systemschrift (SF Pro auf Apple-Geräten), keine externen
   Schriften, dadurch auch datenschutzfreundlich.
   ===================================================================== */

:root {
  color-scheme: dark;

  /* Farben */
  --bg: #0a0a0b;            /* Seite, fast schwarz wie das Holzschild */
  --raised: #151517;        /* Karten */
  --raised-2: #1f1f22;      /* Eingabefelder, Hover */
  --raised-3: #2a2a2e;      /* gedrückt, aktiv */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --fg: #f5f5f7;            /* Text */
  --fg-2: #a1a1a6;          /* Nebentext */
  --fg-3: #6e6e73;          /* Hinweise */
  --silver-hi: #f0f0f2;     /* Silber aus dem Logo */
  --silver-lo: #8d8d93;
  --btn: #f5f5f7;           /* Primärbutton: hell auf dunkel, wie bei Apple */
  --btn-fg: #0a0a0b;
  --btn-hover: #ffffff;
  --ok: #30d158;
  --danger: #ff453a;
  --ph: #ffd60a;            /* Markierung für Platzhalter */
  --ph-bg: rgba(255, 214, 10, 0.12);
  --nav-bg: rgba(10, 10, 11, 0.72);

  /* Schrift */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Maße */
  --wrap: 1080px;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-pill: 980px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Fläche über der fixierten Navigation (Notch/Statusleiste) */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.tnum { font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Platzhalter sichtbar markieren */
.ph {
  color: var(--ph);
  background: var(--ph-bg);
  border-radius: 4px;
  padding: 0 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Buttons (Apple-Stil: Pillen) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0 1.35em;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--btn); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--raised-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover { background: var(--raised-3); }
.btn-ghost { background: transparent; color: var(--fg-2); padding: 0 0.9em; }
.btn-ghost:hover { color: var(--fg); background: var(--raised-2); }
.btn-sm { min-height: 32px; padding: 0 0.95em; font-size: 0.875rem; }
.btn-lg { min-height: 52px; padding: 0 1.7em; font-size: 1.125rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-danger { background: rgba(255, 69, 58, 0.14); color: var(--danger); }
.btn-danger:hover { background: rgba(255, 69, 58, 0.24); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  color: var(--fg);
  font-weight: 500;
  text-decoration: none;
}
.link-more::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-0.04em); transition: transform 0.2s var(--ease); }
.link-more:hover::after { transform: translate(3px, -0.04em); }

/* ---------- Demo-Hinweis ---------- */
.demo-bar {
  background: var(--raised);
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
  font-size: 0.8125rem;
  text-align: center;
}
.demo-bar .wrap { padding-block: 8px; }
.demo-bar strong { color: var(--fg); font-weight: 600; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 56px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 17px; width: auto; }
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.875rem;
}
.nav-links a { color: var(--fg-2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav .btn { margin-left: 4px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { text-align: center; }
.hero-top { padding-block: 64px 0; display: flex; flex-direction: column; align-items: center; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--r-pill);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--fg-2);
  font-size: 0.875rem;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); }
.status-pill.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.18); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 7.4vw, 5rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero h1 .silver {
  background: linear-gradient(180deg, var(--silver-hi) 10%, var(--silver-lo) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.42;
  color: var(--fg-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Bild-Karussell (läuft von allein, pausiert bei Hover) ---------- */
.reel {
  --slide-w: clamp(220px, 25vw, 320px);
  --gap: 12px;
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.reel-track {
  display: flex;
  gap: var(--gap);
  padding-right: var(--gap);   /* damit die zweite Hälfte nahtlos anschließt */
  width: max-content;
  animation: reel-run var(--reel-dur, 60s) linear infinite;
  will-change: transform;
}
.reel:hover .reel-track,
.reel:focus-within .reel-track,
.reel.is-paused .reel-track { animation-play-state: paused; }
@keyframes reel-run { to { transform: translateX(-50%); } }

.slide {
  position: relative;
  flex: 0 0 var(--slide-w);
  aspect-ratio: 4 / 5;
  max-width: 100%;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--raised);
  transform: translateZ(0);     /* saubere runde Ecken beim Bewegen */
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.slide figcaption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 1;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

/* Platzhalter, solange ein Foto fehlt */
.slide-ph { display: none; }
.slide.is-missing img { display: none; }
.slide.is-missing .slide-ph {
  display: block;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 70% at 30% 15%, rgba(255, 255, 255, 0.10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #2b2b2f, #111113);
}
.slide:nth-child(3n+2).is-missing .slide-ph { background-color: #1a1a1d; background-image: radial-gradient(90% 60% at 75% 85%, rgba(255, 255, 255, 0.09), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px), linear-gradient(200deg, #303035, #0f0f11); }
.slide:nth-child(3n).is-missing .slide-ph { background-image: radial-gradient(80% 60% at 50% 40%, rgba(255, 255, 255, 0.08), transparent 65%), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px), linear-gradient(140deg, #18181b, #34343a); }
.slide-ph span {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.75rem;
  color: var(--ph);
  background: rgba(10, 10, 11, 0.7);
  border: 1px solid rgba(255, 214, 10, 0.3);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

.reel-controls { display: flex; justify-content: flex-end; margin-top: 14px; }
.reel-toggle {
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--raised-2);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.2s;
}
.reel-toggle:hover { background: var(--raised-3); }
.reel-toggle svg { width: 14px; height: 14px; }

@media (max-width: 560px) {
  .reel { margin-top: 40px; --gap: 10px; }
  .slide { border-radius: 18px; }
}

/* Wer reduzierte Bewegung eingestellt hat, wischt selbst durch die Bilder */
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .reel-track { animation: none; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
  .reel-track [aria-hidden="true"] { display: none; }
  .slide { scroll-snap-align: center; }
  .reel-controls { display: none; }
}

/* Kurz-Fakten unter dem Karussell */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  width: 100%;
  text-align: left;
}
.fact { padding: 4px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.fact-label { color: var(--fg-2); font-size: 0.9375rem; }
@media (max-width: 680px) {
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .fact { border-left: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Kapitel ---------- */
.sec { scroll-margin-top: 64px; }
.sec > .wrap { padding-block: 112px 0; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--fg-2);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
}
.sec h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.sec-intro { color: var(--fg-2); max-width: 30em; margin-top: 14px; }
@media (max-width: 680px) { .sec > .wrap { padding-block: 80px 0; } }

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.services-col { display: grid; gap: 28px; min-width: 0; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

.group-title {
  color: var(--fg-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px 4px;
}
.group {
  background: var(--raised);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  position: relative;
}
.svc-row + .svc-row::before {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 0;
  height: 1px;
  background: var(--line);
}
.svc-name { font-weight: 600; }
.svc-desc { color: var(--fg-2); font-size: 0.9375rem; line-height: 1.35; margin-top: 2px; }
.svc-meta { text-align: right; white-space: nowrap; }
.svc-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.svc-dur { color: var(--fg-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.svc-text { min-width: 0; }
@media (max-width: 480px) {
  .svc-row { grid-template-columns: 1fr auto; row-gap: 10px; }
  .svc-row .btn { grid-column: 2; grid-row: 1; }
  .svc-meta { grid-column: 1; grid-row: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
}

/* ---------- Team ---------- */
.barbers { display: grid; gap: 20px; }
.parking { margin-top: 14px; }
.booking { scroll-margin-top: 72px; }
.barber {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 0;
  background: var(--raised);
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;          /* Hochformat wie ein Porträtfoto */
  max-width: 100%;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #2a2a2d, #121214);
  overflow: hidden;
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;   /* Gesicht eher oben im Bild halten */
}
.portrait-ph { display: none; }
.portrait.is-missing img { display: none; }
.portrait.is-missing .portrait-ph { display: grid; place-items: center; position: absolute; inset: 0; }
.monogram {
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--silver-hi), var(--silver-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ph-chip {
  position: absolute;
  left: 16px; bottom: 16px;
  font-size: 0.75rem;
  color: var(--ph);
  background: rgba(10, 10, 11, 0.7);
  border: 1px solid rgba(255, 214, 10, 0.3);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}
.barber-body { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; min-width: 0; }
.barber-body h3 { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }
.barber-role { color: var(--fg-2); margin-top: 2px; }
.barber-bio { color: var(--fg); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--raised-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--fg-2);
}
.barber-body .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) {
  .barber { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 1 / 1; }
  .barber-body { padding: 28px 22px 26px; }
}

/* ---------- Galerie (Platzhalter) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile:nth-child(1) { background: radial-gradient(90% 70% at 30% 20%, #3a3a3e, #121214); }
.tile:nth-child(2) { background: linear-gradient(200deg, #2f2f33, #0f0f11 70%); }
.tile:nth-child(3) { background: radial-gradient(80% 60% at 70% 80%, #34343a, #101012); }
.tile:nth-child(4) { background: linear-gradient(160deg, #18181a, #3b3b40); }
.tile:nth-child(5) { background: radial-gradient(100% 70% at 50% 100%, #3a3a3f, #111113); }
.tile:nth-child(6) { background: linear-gradient(20deg, #121214, #2c2c31 60%, #19191b); }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px);
}
.tile-label {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tile-label strong { font-size: 1rem; font-weight: 600; }
.tile-label span { font-size: 0.75rem; color: var(--ph); }
.gallery-foot { margin-top: 22px; color: var(--fg-2); font-size: 0.9375rem; }
@media (max-width: 680px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Buchung ---------- */
.booking {
  max-width: 860px;
  background: var(--raised);
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgba(0, 0, 0, 0.9);
  position: relative;
}
.bk-head { padding: 26px 28px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), 1fr);
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li { min-width: 0; }
.step-btn {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--fg-3);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: default;
}
.step-btn::before {
  content: "";
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--raised-3);
  margin-bottom: 8px;
  transition: background-color 0.3s var(--ease);
}
.step-btn.is-done { color: var(--fg-2); cursor: pointer; }
.step-btn.is-done::before { background: var(--silver-lo); }
.step-btn.is-current { color: var(--fg); }
.step-btn.is-current::before { background: var(--fg); }
.step-btn.is-done:hover { color: var(--fg); }

.bk-body { padding: 28px 28px 32px; min-height: 380px; }
.bk-title { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; letter-spacing: -0.025em; }
.bk-sub { color: var(--fg-2); margin-top: 6px; }
.bk-stage { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.bk-stage > * { min-width: 0; }
.bk-step { animation: step-in 0.35s var(--ease) both; }
@keyframes step-in { from { transform: translateY(6px); opacity: 0.4; } to { transform: none; opacity: 1; } }

/* Auswahlliste Leistungen */
.choice-group { display: grid; gap: 8px; }
.choice-list {
  background: var(--raised-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.choice {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: 0;
  text-align: left;
  position: relative;
  transition: background-color 0.15s;
}
.choice + .choice::before {
  content: "";
  position: absolute;
  top: 0; left: 16px; right: 0;
  height: 1px;
  background: var(--line);
}
.choice:hover { background: var(--raised-3); }
.choice .c-name { font-weight: 600; display: block; }
.choice .c-desc { color: var(--fg-2); font-size: 0.875rem; display: block; line-height: 1.3; margin-top: 2px; }
.choice .c-meta { text-align: right; font-variant-numeric: tabular-nums; font-size: 0.9375rem; white-space: nowrap; }
.choice .c-meta small { display: block; color: var(--fg-2); font-size: 0.8125rem; }
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--fg-3);
  display: grid;
  place-items: center;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.check svg { width: 12px; height: 12px; opacity: 0; transition: opacity 0.2s; }
.choice[aria-checked="true"] .check { background: var(--fg); box-shadow: none; }
.choice[aria-checked="true"] .check svg { opacity: 1; }
.choice[aria-checked="true"] { background: rgba(255, 255, 255, 0.04); }
.choice .c-text { min-width: 0; }

/* Barber-Zeile */
.with-barber {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--raised-2);
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #3a3a3e, #1a1a1c);
  font-weight: 600;
  color: var(--silver-hi);
  flex-shrink: 0;
}
.with-barber .wb-text { min-width: 0; flex: 1; }
.with-barber small { display: block; color: var(--fg-2); font-size: 0.8125rem; }

/* Datumsleiste */
.dates-wrap { position: relative; }
.dates {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}
.date-chip {
  flex: 0 0 auto;
  width: 66px;
  padding: 10px 0 9px;
  border-radius: var(--r-md);
  border: 0;
  background: var(--raised-2);
  text-align: center;
  scroll-snap-align: start;
  display: grid;
  gap: 1px;
  transition: background-color 0.15s, color 0.15s;
}
.date-chip:hover:not([disabled]) { background: var(--raised-3); }
.date-chip .d-wd { font-size: 0.75rem; color: var(--fg-2); font-weight: 600; }
.date-chip .d-day { font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.2; }
.date-chip .d-info { font-size: 0.6875rem; color: var(--fg-2); }
.date-chip[disabled] { opacity: 0.38; cursor: not-allowed; }
.date-chip[aria-pressed="true"] { background: var(--fg); color: var(--btn-fg); }
.date-chip[aria-pressed="true"] .d-wd,
.date-chip[aria-pressed="true"] .d-info { color: rgba(10, 10, 11, 0.62); }
.month-label { font-size: 0.875rem; color: var(--fg-2); margin-bottom: 10px; font-weight: 500; }

.next-free {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px 12px 16px;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.9375rem;
}
.next-free span { color: var(--fg-2); }
.next-free strong { color: var(--fg); font-weight: 600; }

/* Uhrzeiten */
.slot-groups { display: grid; gap: 18px; }
.slot-group h4 { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 600; color: var(--fg-2); letter-spacing: 0.06em; text-transform: uppercase; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  min-height: 44px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--raised-2);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s, color 0.15s;
}
.slot:hover:not([disabled]) { background: var(--raised-3); }
.slot[disabled] { color: var(--fg-3); background: transparent; box-shadow: inset 0 0 0 1px var(--line); text-decoration: line-through; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--fg); color: var(--btn-fg); }
.legend { display: flex; gap: 18px; color: var(--fg-3); font-size: 0.8125rem; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .l-free::before { background: var(--raised-3); }
.legend .l-taken::before { box-shadow: inset 0 0 0 1px var(--line-strong); }

.empty-note {
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--raised-2);
  color: var(--fg-2);
  text-align: center;
}

/* Formular */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.875rem; color: var(--fg-2); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--raised-2);
  color: var(--fg);
  font-size: 1.0625rem;
  transition: border-color 0.15s, background-color 0.15s;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fg-2); background: var(--raised-3); }
.field.has-error input { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 0.8125rem; }
.field .hint { color: var(--fg-3); font-size: 0.8125rem; }

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--raised-2);
  font-size: 0.9375rem;
  color: var(--fg-2);
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px var(--fg-3);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.consent input:checked { background: var(--fg); box-shadow: none; }
.consent input:checked::after {
  content: "";
  width: 6px; height: 11px;
  border: solid var(--btn-fg);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.consent a { color: var(--fg); }
.consent.has-error { box-shadow: inset 0 0 0 1px var(--danger); }
.consent .err { color: var(--danger); font-size: 0.8125rem; }

/* Zusammenfassung */
.summary {
  background: var(--raised-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.sum-row {
  display: grid;
  grid-template-columns: 9.5em 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 13px 16px;
  position: relative;
}
.sum-row + .sum-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.sum-row dt { color: var(--fg-2); font-size: 0.9375rem; }
.sum-row dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sum-row .edit { background: none; border: 0; color: var(--fg-2); font-size: 0.875rem; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.sum-row .edit:hover { color: var(--fg); }
.sum-total { font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .sum-row { grid-template-columns: 1fr auto; } .sum-row dd { grid-column: 1 / -1; grid-row: 2; } }
.fine { color: var(--fg-3); font-size: 0.8125rem; line-height: 1.45; }

.alert {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 69, 58, 0.12);
  color: #ffb3ad;
  font-size: 0.9375rem;
}

/* Aktionsleiste unten */
.bk-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)) 28px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: rgba(21, 21, 23, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.bk-mini { flex: 1; min-width: 0; font-size: 0.9375rem; line-height: 1.3; }
.bk-mini strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-mini span { color: var(--fg-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.bk-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 520px) {
  .bk-head, .bk-body { padding-left: 18px; padding-right: 18px; }
  .bk-bar { padding-left: 18px; padding-right: 14px; }
  .bk-actions .btn-ghost { padding: 0 0.6em; }
  .steps .step-btn { font-size: 0.6875rem; }
}

.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(10, 10, 11, 0.25);
  border-top-color: var(--btn-fg);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Erfolg */
.done { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 8px 0 4px; }
.done-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fg);
  animation: pop 0.5s var(--ease) both;
}
.done-icon svg { width: 34px; height: 34px; }
.done-icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.45s 0.2s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0.6); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; }
.done .code { font-family: var(--font-mono); font-size: 0.9375rem; color: var(--fg-2); }
.done .summary { width: 100%; text-align: left; margin-top: 10px; }
.notice-list { width: 100%; display: grid; gap: 8px; text-align: left; }
.notice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9375rem;
  color: var(--fg-2);
}
.notice svg { width: 18px; height: 18px; margin-top: 2px; color: var(--fg); }
.notice strong { color: var(--fg); font-weight: 600; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

details.mail { width: 100%; text-align: left; border-radius: var(--r-md); background: var(--raised-2); }
details.mail summary { cursor: pointer; padding: 13px 16px; font-weight: 500; font-size: 0.9375rem; list-style: none; display: flex; justify-content: space-between; }
details.mail summary::-webkit-details-marker { display: none; }
details.mail summary::after { content: "+"; color: var(--fg-2); font-size: 1.2em; line-height: 1; }
details.mail[open] summary::after { content: "−"; }
.mail-preview {
  margin: 0 12px 12px;
  border-radius: 12px;
  background: #f5f5f7;
  color: #1d1d1f;
  padding: 22px 22px 18px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.mail-preview .mp-head { font-size: 0.8125rem; color: #6e6e73; border-bottom: 1px solid #d2d2d7; padding-bottom: 10px; margin-bottom: 14px; display: grid; gap: 2px; }
.mail-preview .mp-logo { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.18em; font-size: 1.125rem; margin-bottom: 12px; }
.mail-preview table { border-collapse: collapse; margin: 12px 0; font-size: 0.9375rem; }
.mail-preview td { padding: 3px 18px 3px 0; vertical-align: top; }
.mail-preview td:first-child { color: #6e6e73; }
.mail-preview p + p { margin-top: 10px; }
.mail-preview .ph { color: #6b5500; background: #fff1a8; }

/* ---------- Öffnungszeiten & Kontakt ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--raised);
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 30px 30px 28px;
  min-width: 0;
}
.card h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.hours li:first-child { border-top: 0; }
.hours .h-closed { color: var(--fg-3); }
.hours li.is-today { font-weight: 600; }
.hours li.is-today .h-day::after {
  content: "Heute";
  margin-left: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--fg);
  color: var(--btn-fg);
  vertical-align: 2px;
}
.contact-list { display: grid; gap: 18px; }
.contact-item { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.contact-item svg { width: 20px; height: 20px; margin-top: 2px; color: var(--fg-2); }
.contact-item .ci-label { color: var(--fg-2); font-size: 0.875rem; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn {
  border: 0;
  background: var(--raised-2);
  color: var(--fg-2);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  padding: 4px 10px;
}
.copy-btn:hover { color: var(--fg); background: var(--raised-3); }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { margin-top: 120px; border-top: 1px solid var(--line); }
.footer .wrap {
  padding-block: 44px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}
.footer-lockup img { width: 190px; height: auto; }
.footer-cols { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 44px; font-size: 0.875rem; }
.footer-cols h4 { margin: 0 0 10px; font-size: 0.8125rem; color: var(--fg); font-weight: 600; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: var(--fg-2); text-decoration: none; }
.footer-cols a:hover { color: var(--fg); }
.footer-cols li { color: var(--fg-2); }
.footer-copy { grid-column: 1 / -1; color: var(--fg-3); font-size: 0.8125rem; border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 680px) {
  .footer .wrap { grid-template-columns: 1fr; }
  .footer-cols { justify-content: flex-start; gap: 32px; }
}

/* ---------- Unterseiten (Impressum, Datenschutz, Inhaber) ---------- */
.page > .wrap { padding-block: 56px 0; }
.back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fg-2); text-decoration: none; font-size: 0.9375rem;
  margin-bottom: 26px;
}
.back::before { content: "‹"; font-size: 1.4em; line-height: 1; transform: translateY(-0.05em); }
.back:hover { color: var(--fg); }

.legal { max-width: 720px; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.legal h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal h3 { font-size: 1.0625rem; font-weight: 600; margin: 26px 0 8px; }
.legal p, .legal li { color: #d2d2d7; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 10px 0; display: grid; gap: 6px; }
.legal a { color: var(--fg); text-underline-offset: 3px; }
.legal address { font-style: normal; color: #d2d2d7; line-height: 1.6; }
.legal-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--ph-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.25);
  color: #fff3b0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.legal-meta { color: var(--fg-3); font-size: 0.875rem; margin-top: 40px; }

/* Inhaber-Ansicht */
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.admin-head h1 { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.admin-head p { color: var(--fg-2); margin-top: 8px; max-width: 36em; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600;
  padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--raised-2); color: var(--fg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
}
.badge.is-new { background: var(--fg); color: var(--btn-fg); box-shadow: none; }
.badge.is-online { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.35); background: rgba(48, 209, 88, 0.08); }
.badge.is-cancelled { color: var(--danger); box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.35); background: rgba(255, 69, 58, 0.08); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.kpi { background: var(--raised); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px; }
.kpi-label { color: var(--fg-2); font-size: 0.875rem; }
.kpi-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.kpi-sub { color: var(--fg-3); font-size: 0.8125rem; }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } }

.admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
.panel { background: var(--raised); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line); padding: 22px 22px 18px; min-width: 0; }
.panel h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.panel .dates { margin-bottom: 8px; }

.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.agenda li:first-child { border-top: 0; }
.ag-time { font-weight: 600; font-variant-numeric: tabular-nums; }
.ag-time small { display: block; color: var(--fg-3); font-weight: 400; font-size: 0.8125rem; }
.ag-main { min-width: 0; }
.ag-main strong { font-weight: 600; }
.ag-main .ag-line { color: var(--fg-2); font-size: 0.875rem; overflow-wrap: anywhere; }
.ag-side { display: grid; justify-items: end; gap: 8px; }
.agenda li.is-cancelled .ag-main, .agenda li.is-cancelled .ag-time { opacity: 0.45; text-decoration: line-through; }
.agenda .free-gap { color: var(--fg-3); font-size: 0.8125rem; grid-template-columns: 64px 1fr; }

.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.recent li { padding: 12px 14px; border-radius: var(--r-md); background: var(--raised-2); display: grid; gap: 2px; font-size: 0.9375rem; }
.recent li span { color: var(--fg-2); font-size: 0.8125rem; }
.panel .empty-note { font-size: 0.9375rem; }
.day-label { color: var(--fg-2); font-size: 0.875rem; margin: 6px 0 4px; }
.recent-cta { margin-top: 14px; }
.admin-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; color: var(--fg-3); font-size: 0.8125rem; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
}
