/* Boris Gassert Friseurlounge – Variante 3
   Ruhiger, getönter Grund, mittelstarke Grotesk, große abgerundete Bildfläche,
   Punktraster als stille Textur, Mono nur für Daten (Zeiten, Status, Bildangaben). */

@font-face {
  font-family: "Host Grotesk";
  src: url("../assets/fonts/host-grotesk-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../assets/fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbfcfa;
  --bg-2: #f0f4ee;
  --bg-3: #e3e9df;
  --surface: #ffffff;
  --ink: #151914;
  --ink-2: #353b33;
  --mute: #5c6358;
  --line: #e1e7dd;
  --line-strong: #b9c2b4;
  --dot: #c6d0bf;
  --green: #21e800; /* Gassert-Grün rgb(33, 232, 0) */
  --green-hover: #1dd100;
  --live: #21e800;
  --live-soft: #21e800;
  --pause: #e0a43a;

  --f-sans: "Host Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 3.2vw, 44px);
  --maxw: 1360px;
  --header-h: 68px;
  --section: clamp(96px, 11vw, 168px);
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--bg-3) transparent;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--green); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 460; text-wrap: balance; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); position: relative; }

.h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.3rem); line-height: 1.06; letter-spacing: -.028em; }
.h3 { font-size: 1.05rem; letter-spacing: -.005em; font-weight: 520; }
.lead { font-size: clamp(1.06rem, 1rem + .25vw, 1.2rem); color: var(--mute); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 500; letter-spacing: -.005em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: #2c322a; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: var(--green-hover); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { background: var(--surface); border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }

/* ---------- Punktraster ---------- */
.dots { position: absolute; pointer-events: none; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
  height: var(--header-h); padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(251 252 250 / .86);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.brand { flex: none; display: block; width: calc(42px * 344 / 226 * 2); }
.brand img {
  height: 42px; width: auto; mix-blend-mode: multiply;
  /* Oben auf der Seite groß, beim ersten Scrollen auf Normalgröße.
     Per transform, damit sich nichts im Layout verschiebt. */
  transform-origin: left top;
  transform: translateY(-7px) scale(2);
  transition: transform .45s var(--ease);
}
.site-header.is-scrolled .brand img { transform: none; }
.nav { flex: 1; min-width: 0; }
.nav-list { display: flex; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: 15px; color: var(--ink-2); text-decoration: none; padding: 6px 0; transition: color .2s; }
.nav-list a:hover, .nav-list a.is-current { color: var(--ink); }
.nav-list a.is-current { text-decoration: underline; text-decoration-color: var(--line-strong); }
.header-end { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 15px 0 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink);
  font-size: 14.5px; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.header-phone svg { flex: none; }
.header-phone:hover { border-color: var(--ink); background: var(--surface); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .brand img { height: 36px; transform: translateY(-6px) scale(1.75); }
  .header-phone { display: none; }
  .nav { flex: 1; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
  .nav-toggle span { transform: translateY(-3px); }
  .nav-toggle span::before { content: ""; position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }
  .nav-list {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 40px;
    background: var(--bg); border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-list.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 18px 0; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); }
}
@media (max-width: 420px) {
  .header-end .btn { padding: 0 13px; font-size: 14px; }
  .header-end { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 120px); }
.dots-hero { top: 0; right: 0; width: min(48vw, 680px); height: clamp(260px, 36vw, 520px);
  -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 100% at 100% 0%, #000 30%, transparent 75%); }
.hero-head { z-index: 1; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.hero-intro { margin: 0; max-width: 24em; font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.45; color: var(--ink-2); }
.hero-title {
  font-size: clamp(2.6rem, 1.1rem + 5vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.036em; font-weight: 460;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.hero-title span {
  display: block; margin-top: .35em; max-width: 24em;
  font-size: max(.4em, 1.15rem); line-height: 1.3; letter-spacing: -.018em; color: var(--mute);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.stage {
  position: relative; margin: clamp(48px, 6vw, 80px) 0 0;
  aspect-ratio: 16 / 8.2; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-3); isolation: isolate;
}
.stage-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--bg); }
.stage-col { list-style: none; margin: 0; padding: 0; position: relative; overflow: hidden; background: var(--bg-3); }
.stage-col li { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage-col li.is-active { opacity: 1; z-index: 1; }
.stage-col img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform: scale(1.07); transition: transform 9s cubic-bezier(.2, .6, .3, 1);
}
.stage-col li.is-active img { transform: scale(1); }
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(12 15 11 / .5), transparent 30%), linear-gradient(to bottom, rgb(12 15 11 / .28), transparent 22%);
}

.stage-bar, .tag-float { z-index: 2; }
.hero-cta { display: grid; gap: 14px; justify-items: start; }
.status {
  margin: 0; padding-left: 4px;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--mute);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .03em; line-height: 1.3;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.status.is-open .status-dot { background: var(--live-soft); box-shadow: 0 0 0 0 rgb(33 232 0 / .6); animation: pulse 2.4s var(--ease) infinite; }
.status.is-break .status-dot { background: var(--pause); }
.status-key { text-transform: uppercase; }
.status-key { color: var(--ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(33 232 0 / .55); } 70%, 100% { box-shadow: 0 0 0 8px rgb(33 232 0 / 0); } }

.stage-bar {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 14px; color: #fff;
}
.stage-pause {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / .35); background: rgb(15 18 14 / .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.stage-pause:hover { background: rgb(15 18 14 / .6); }
.stage-pause .i-play { display: none; }
.stage.is-paused .stage-pause .i-play { display: block; }
.stage.is-paused .stage-pause .i-pause { display: none; }
.stage-caption { font-size: 15px; display: inline-flex; gap: 10px; align-items: baseline; }
.stage-tag, .stage-count { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .78); }
.stage-count { margin-left: auto; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .stage { aspect-ratio: 4 / 3.2; }
  .stage-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-col:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .stage { aspect-ratio: 4 / 5; margin-top: 40px; border-radius: var(--r-md); }
  .stage-cols { grid-template-columns: 1fr; }
  .stage-col:nth-child(2) { display: none; }
  .stage-bar { left: 12px; right: 12px; bottom: 12px; }
}

/* ---------- Statement ---------- */
.statement-wrap { padding-block: var(--section); }
.statement {
  margin: 0; max-width: 23em;
  font-size: clamp(1.55rem, 1rem + 2.05vw, 2.6rem); line-height: 1.18; letter-spacing: -.024em; font-weight: 460;
  text-wrap: pretty;
}
.statement span { color: var(--mute); }

/* ---------- Über uns ---------- */
.about { position: relative; padding-bottom: var(--section); }
.dots-side { right: 0; top: -40px; width: clamp(120px, 18vw, 280px); height: 420px;
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent); mask-image: linear-gradient(to left, #000 20%, transparent); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.about-text .h2 { margin-bottom: 28px; }
.about-text p { color: var(--ink-2); max-width: 34em; }

.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg);
  overflow: hidden; background: var(--ink); isolation: isolate;
}
.video-el { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-start {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer; color: inherit;
  background: linear-gradient(to top, rgb(12 15 11 / .45), transparent 45%);
  transition: opacity .35s var(--ease);
}
.video-start:hover .video-play { transform: scale(1.06); background: #fff; }
.video-start:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.video.is-playing .video-start { opacity: 0; pointer-events: none; }
.video-play {
  position: relative; display: grid; place-items: center; width: 76px; height: 54px; border-radius: 16px;
  background: rgb(255 255 255 / .94); color: var(--ink); padding-left: 3px;
  box-shadow: 0 8px 28px rgb(12 15 11 / .28);
  transition: transform .3s var(--ease), background-color .2s;
}
.video-note {
  position: absolute; left: 18px; bottom: 16px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .9);
}

.timeline {
  list-style: none; margin: clamp(64px, 8vw, 112px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line-strong);
}
.timeline li { position: relative; padding: 28px 24px 0 0; display: grid; gap: 10px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ink);
}
.timeline li:last-child::before { background: var(--ink); }
.tl-year { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; color: var(--mute); }
.tl-text { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.012em; max-width: 18em; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; }
  .timeline li { padding: 0 0 32px 28px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { left: -5px; top: 4px; }
}

/* ---------- Looks ---------- */
.looks { padding-bottom: var(--section); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head .lead { margin: 0; justify-self: end; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin-bottom: 24px; }
.filters {
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-2);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; border: 0; background: transparent; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(21 25 20 / .08), 0 2px 8px rgb(21 25 20 / .06); }
.filter-note { margin: 0; color: var(--mute); font-size: 15px; max-width: 34em; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid li[hidden] { display: none; }
.look {
  display: block; width: 100%; padding: 6px; border: 0; border-radius: var(--r-md);
  background: var(--bg-2); text-align: left; cursor: zoom-in;
  transition: background-color .3s var(--ease);
}
.look:hover { background: var(--bg-3); }
.look-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-3); }
.look-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s var(--ease); }
.look:hover .look-img img { transform: scale(1.05); }
.look-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 6px 6px; }
.look-name { font-size: 15px; letter-spacing: -.005em; }
.look-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.grid li.is-entering { animation: lookIn .6s var(--ease) both; }
@keyframes lookIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.credit { margin: 28px 0 0; font-size: 14px; color: var(--mute); }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .look { padding: 4px; }
  .look-cap { flex-direction: column; gap: 2px; padding: 8px 4px 4px; }
  .look-name { font-size: 14px; }
  .filter-row { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
}

/* ---------- Leistungen ---------- */
.services { padding-block: var(--section); border-top: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.services-head { position: sticky; top: calc(var(--header-h) + 32px); }
.services-head .h2 { margin-bottom: 18px; }
.services-head p { color: var(--mute); max-width: 22em; margin-bottom: 26px; }
.service-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.service-list li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 32px; align-items: baseline;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.service-name { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); letter-spacing: -.02em; line-height: 1.2; }
.service-desc { color: var(--mute); }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-head { position: static; }
  .service-list li { grid-template-columns: 1fr; padding: 18px 0; }
}

/* ---------- Calligraphy Cut ---------- */
.calli { padding-bottom: var(--section); }
.calli-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: 10px; border-radius: 20px; background: var(--bg-2);
}
.calli-media { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.calli-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tag-float {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px;
  background: rgb(15 18 14 / .5); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}
.calli-text { padding: clamp(16px, 4vw, 56px) clamp(14px, 3vw, 48px) clamp(16px, 4vw, 56px) 0; }
.calli-text .h2 { margin-bottom: 24px; }
.calli-text p { color: var(--ink-2); max-width: 36em; }
.specs { margin: 32px 0 34px; border-top: 1px solid var(--line-strong); }
.specs div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.specs dd { margin: 0; }
@media (max-width: 900px) {
  .calli-card { grid-template-columns: 1fr; }
  .calli-media { aspect-ratio: 4 / 4.2; }
  .calli-text { padding: 12px 12px 20px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Termin ---------- */
.booking { position: relative; padding-block: clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); overflow: hidden; }
.dots-booking { right: 0; top: 0; width: 52%; height: 100%;
  -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 90%); mask-image: linear-gradient(to left, #000 15%, transparent 90%); }
.booking-inner { z-index: 1; }
.booking .h2 { margin-bottom: 20px; }
.booking p { color: var(--ink-2); max-width: 30em; margin-bottom: 30px; font-size: 1.08rem; }

/* ---------- Kontakt ---------- */
.contact { padding-bottom: var(--section); }
.contact .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-card { padding: 28px; border-radius: var(--r-md); background: var(--bg-2); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-card .h3 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.contact-card address { font-style: normal; font-size: 1.1rem; line-height: 1.5; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; margin-top: auto; }
.contact-lines { font-size: 1.1rem; margin: 0; }
.contact-lines a { text-decoration: none; }
.contact-card .btn { margin-top: auto; }
.hours { border-collapse: collapse; width: 100%; font-size: 15px; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { font-family: var(--f-mono); font-size: 13.5px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours th { padding-right: 14px; }
.hours td { white-space: nowrap; }
.hours tr.is-today th { font-weight: 560; }
.hours tr.is-today th::after {
  content: "Heute"; display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) var(--gutter) 0; overflow: hidden; }
.footer-top, .footer-bottom { max-width: var(--maxw); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.footer-logo { height: 64px; width: auto; mix-blend-mode: multiply; }
.footer-address { margin: 0; color: var(--ink-2); font-size: 15px; }
.footer-address a { text-decoration: none; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; font-size: 15px; }
.footer-links li + li::before { content: "|"; margin: 0 10px; color: var(--line-strong); }
.footer-links a { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 32px 0 0; margin-top: 36px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }
.footer-bottom p { margin: 0; }
.footer-credit a { text-decoration: none; color: var(--ink-2); }
.footer-credit span { margin: 0 6px; color: var(--line-strong); }
.dots-footer { position: relative; display: block; width: calc(100% + 2 * var(--gutter)); height: clamp(110px, 14vw, 200px); margin: 40px calc(-1 * var(--gutter)) 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); mask-image: linear-gradient(to bottom, transparent, #000 60%); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; justify-items: start; }
  .site-footer { padding-bottom: 0; }
  .dots-footer { margin-bottom: 76px; }
}

/* ---------- Mobile Buchungsleiste ---------- */
.dock { display: none; }
@media (max-width: 900px) {
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30;
    display: flex; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgb(251 252 250 / .92); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgb(21 25 20 / .12);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { flex: 1; }
  .dock-call { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); }
}

/* ---------- Buchungs-Panel ---------- */
.drawer {
  margin: 0 0 0 auto; height: calc(100% - 24px); max-height: none; width: min(620px, calc(100% - 24px));
  inset: 12px 12px 12px auto; position: fixed;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 24px 60px rgb(21 25 20 / .2);
}
.drawer[open] { display: flex; flex-direction: column; animation: drawerIn .5s var(--ease); }
.drawer.is-closing { animation: drawerOut .3s ease-in forwards; }
.drawer::backdrop { background: rgb(21 25 20 / .35); }
@keyframes drawerIn { from { transform: translateX(24px); opacity: 0; } }
@keyframes drawerOut { to { transform: translateX(24px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-title { font-size: 1.35rem; letter-spacing: -.02em; }
.drawer-body { flex: 1; overflow: auto; padding: 24px; }
.booking-wait { color: var(--mute); font-size: 15px; padding: 16px 0; }

/* ---------- Planity-Widget ----------
   Planity rendert direkt in die Seite. Wir greifen nur über feste planity_-Klassen,
   Element-Selektoren und Attribut-Teilstrings zu, nicht über die Hash-Klassen. */
.planity-host, .planity-host * { font-family: var(--f-sans) !important; }
.planity-host { color: var(--ink); }
.planity-widget-nav button {
  border-radius: 999px !important; background: var(--bg-2) !important; color: var(--ink) !important;
  border: 0 !important; font-size: 14px !important;
}

.planity-host [data-gs-acc] { padding: 0 !important; border-bottom: 1px solid var(--line); }
.planity-host [data-gs-acc] > h3 {
  position: relative; margin: 0 !important; padding: 20px 48px 20px 0 !important;
  font-size: 18px !important; font-weight: 460 !important; letter-spacing: -.01em;
  cursor: pointer; user-select: none;
}
.planity-host [data-gs-acc] > h3 > span { display: none !important; }
.planity-host [data-gs-acc] > h3::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--bg-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23151914' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease), background-color .2s;
}
.planity-host [data-gs-acc] > h3:hover::after { background-color: var(--bg-3); }
.planity-host [data-gs-acc][data-open="true"] > h3::after { transform: rotate(45deg); background-color: var(--green); }
.planity-host [data-gs-acc] > h3:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.planity-host [data-gs-acc][data-open="false"] > :not(h3) { display: none !important; }
.planity-host [data-gs-acc][data-open="true"] > :not(h3) { margin-bottom: 20px; }
.planity-host [data-gs-acc] [class*="service_set-module_description"]:empty { display: none !important; }

.planity-host [data-gs-acc] > [class*="service_set-module_card"] {
  background: var(--surface) !important; border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important; box-shadow: none !important;
}
.planity-host .planity_appointment_service_cell { font-size: 15px !important; }
.planity-host .planity_bookappointment-button-choose {
  background: var(--green) !important; color: var(--ink) !important;
  border: 0 !important; border-radius: 999px !important; font-weight: 500 !important;
}
.planity-host .planity_bookappointment-button-choose:hover { background: var(--green-hover) !important; }
.planity-host [data-gs-acc] button:not(.planity_bookappointment-button-choose) span { color: var(--ink) !important; text-decoration-color: var(--line-strong) !important; }
.booking-consent { padding: 22px; border-radius: var(--r-md); background: var(--bg-2); }
.booking-consent p { color: var(--ink-2); font-size: 15.5px; }
.booking-consent .btn { margin: 4px 0 18px; }
.booking-alt { margin: 0; font-size: 15px; }
.booking-missing { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(14 17 13 / .94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox-figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 72px 72px 28px; max-height: 100%; }
.lightbox-figure img { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; border-radius: var(--r-md); }
.lightbox-figure figcaption { display: flex; gap: 16px; font-size: 14.5px; color: rgb(255 255 255 / .86); text-align: center; }
.lightbox-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; color: rgb(255 255 255 / .6); }
.lightbox .icon-btn { position: absolute; background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .2); color: #fff; }
.lightbox .icon-btn:hover { background: rgb(255 255 255 / .18); }
.lightbox :focus-visible { outline-color: #fff; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-figure { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 52px); }
  .lb-next { right: calc(50% - 52px); }
  .lightbox-figure figcaption { flex-direction: column; gap: 4px; }
}

/* ---------- Rechtliches ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) var(--section); }
.legal h1.h2 { margin-bottom: 40px; }
.legal .h3 { margin: 56px 0 14px; font-size: 1.4rem; letter-spacing: -.015em; }
.legal .h4 { margin: 28px 0 8px; font-size: 1.05rem; font-weight: 500; }
.legal p { overflow-wrap: anywhere; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal h1.h2 + .legal-note { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal-note { margin-top: 48px; padding: 18px 20px; border-radius: var(--r-md); background: var(--bg-2); font-size: 15px; }
.link-quiet { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.legal-back { margin-left: auto; }

/* ---------- Ruhige Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .stage-col img { transform: none !important; }
}

/* Planity mobil: Planity klappt dort selbst per isCollapsed zu – wir steuern das Öffnen. */
.planity-host [data-gs-acc][data-open="true"] > [class*="isCollapsed"] { display: block !important; }
.planity-host [data-gs-acc][data-open="true"] [class*="cardWrapper"] { visibility: visible !important; }
.planity-host [data-gs-acc] {
  background: transparent !important; box-shadow: none !important;
  margin: 0 !important; width: auto !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; border-top: 0 !important;
}
.planity-widget-nav button { white-space: nowrap !important; min-height: 0 !important; height: auto !important; padding: 9px 16px !important; }
.drawer-body:has(.planity-host) { padding: 0; }
.booking-note { margin: 0 0 14px; padding: 14px 24px 0; font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.booking-note a { color: var(--ink); }
.drawer-body > [data-booking] > .booking-missing { margin: 16px 24px; }
.planity-host { padding: 8px 24px 24px; }
@media (max-width: 767px) {
  /* Planity misst mobil an der Fensterbreite – das Panel nimmt dann den ganzen Bildschirm ein. */
  .drawer { inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; border: 0; }
  .planity-host { padding: 0 16px 24px; overflow-x: clip; }
  .planity-host [data-gs-acc] li { padding-left: 14px !important; padding-right: 14px !important; }
}
@media (max-width: 767px) { .booking-note { padding-inline: 16px; } }
@media (max-width: 600px) {
  /* Mobil: kleinerer Play-Knopf, kurze Beschriftung. */
  .video-play { width: 60px; height: 42px; border-radius: 12px; }
  .video-note { font-size: 11px; }
  .video-note-long { display: none; }
}

/* ---------- Textlinks: hellgraue Linie, beim Hover läuft eine dunkle von links darüber ---------- */
:root { --u-light: #d4dbce; }
:is(main, footer, .booking-note, .legal-header) a:not(.btn):not(.brand):not(.dock-call):not(.skip):not(.header-phone) {
  text-decoration: none;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(var(--u-light), var(--u-light));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease), color .2s;
}
:is(main, footer, .booking-note, .legal-header) a:not(.btn):not(.brand):not(.dock-call):not(.skip):not(.header-phone):hover {
  background-size: 100% 1px, 100% 1px;
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  :is(main, footer, .booking-note, .legal-header) a { transition: none; }
}

@media (prefers-reduced-motion: reduce) { .brand img { transition: none; } }
