/* =============================================================
   Schöner Schnitt Jena — Barber landing page
   Palette: deep black + warm bone + muted brass
   ============================================================= */

:root {
  /* Die Seite ist bewusst hell gestaltet - verhindert, dass Browser im
     Dark-Mode Formularfelder, Scrollbalken und Canvas dunkel einfaerben. */
  color-scheme: light;
  --bg: #fafaf6;
  --bg-alt: #f0ece2;
  --bg-dark: #0a0a0a;
  --bg-dark-soft: #161616;
  --ink: #111111;
  --ink-soft: #4d4d4d;
  --ink-mute: #909090;
  --line: #e2dccd;
  --line-dark: #2a2a2a;
  --accent: #b8924b;
  --accent-soft: #d4b073;
  --on-dark: #f4f0e8;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-md: 0 14px 38px rgba(10, 10, 10, 0.1);
  --shadow-lg: 0 30px 70px rgba(10, 10, 10, 0.22);
  --max-w: 1200px;
  --pad-x: clamp(20px, 4vw, 56px);
  --header-h: 118px;
  --header-h-scrolled: 84px;
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-serif:
    "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--on-dark);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.site-header.is-scrolled .nav { min-height: var(--header-h-scrolled); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--on-dark);
}
.brand-logo {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: #0a0a0a;
  padding: 4px;
  object-fit: contain;
  transition: transform 0.4s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.site-header.is-scrolled .brand-logo {
  width: 64px;
  height: 64px;
}
.site-footer .brand-logo {
  width: 96px;
  height: 96px;
  border-radius: 14px;
}
.brand-text { line-height: 1.1; font-size: 28px; }
.brand-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-top: 4px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  color: var(--on-dark);
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a:hover,
.nav-links a.is-active { color: var(--accent-soft); }

.nav-cta {
  padding: 11px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--on-dark);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Bis 1040px auf das Burger-Menue umschalten: darunter reichen Logo + 6 Links
   + CTA nicht nebeneinander, der Markenname ueberlappte die Navigation. */
@media (max-width: 1040px) {
  /* .btn setzt display:inline-flex und steht weiter unten im Stylesheet.
     Bei gleicher Spezifitaet gewinnt die spaetere Regel - deshalb hier
     .nav .nav-cta, sonst bliebe der Termin-Button sichtbar und abgeschnitten. */
  .nav .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 48px 24px 64px;
    transform: translateY(-110%);
    /* Ohne visibility ragt das geschlossene Menue in den Header hinein und
       ueberdeckt Logo/Burger (translateY(-110%) reicht bei top:var(--header-h)
       nicht aus, um es vollstaendig aus dem Sichtbereich zu schieben). */
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
  }
  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s linear 0s;
  }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease),
              background 0.22s var(--ease),
              color 0.22s var(--ease),
              border-color 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #a07f3e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 146, 75, 0.35);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.btn-dark:hover { background: var(--accent); color: #fff; }

/* ============ Hero ============ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-h);
  /* Das Hintergrundbild liegt auf der SECTION, nicht auf dem <video>.
     Grund: das <video> hat kein <source> im Markup (app.js haengt es erst bei
     Bedarf ein) - und ein quellenloses <video> zeichnet seinen eigenen
     Hintergrund je nach Browser gar nicht. So ist das Bild immer da, auch ohne
     JavaScript, ohne Video-Codec und in jedem Browser. */
  background: var(--bg-dark) url("/assets/images/hero-bg-1280.webp") center/cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Erst einblenden, wenn wirklich Bilddaten da sind - sonst blitzt bei
     langsamer Verbindung ein schwarzer Kasten ueber dem Hintergrundbild auf. */
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  will-change: transform, opacity;
}
.hero-video.is-playing { opacity: 1; }
.hero-overlay,
.hero .container,
.hero-deco,
.hero-scroll-cue {
  position: relative;
  z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; }

/* Frueher lagen hier zwei ganzflaechige Verlaeufe uebereinander (~45 % Mitte,
   ~95 % Rand) - das Foto war unsichtbar. Jetzt stattdessen ein gerichteter
   Scrim: links, wo der Text steht, dunkel genug fuer Kontrast >= 3:1 auch auf
   den hellsten Stellen des Videos; rechts bleibt der Blick auf Strasse und
   Hang frei. Ohne den Scrim faellt weisse Schrift auf hellem Himmel auf
   1,6:1 ab und ist nicht mehr lesbar. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(0,0,0,0.74) 0%,
      rgba(0,0,0,0.62) 30%,
      rgba(0,0,0,0.30) 58%,
      rgba(0,0,0,0.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

/* Ab Tablet abwaerts steht der Text ueber die volle Breite - dann darf der
   Scrim nicht mehr seitlich verlaufen, sonst wird die rechte Haelfte unlesbar. */
@media (max-width: 900px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.72) 100%);
  }
}

.hero-content {
  padding: clamp(80px, 14vh, 160px) 0;
  max-width: 720px;
  will-change: transform, opacity;
  /* Der Hintergrund ist ein laufendes Video - seine Helligkeit aendert sich
     staendig. Der Schatten haelt die Schrift auch dann lesbar, wenn gerade eine
     helle Stelle (Himmel, Hauswand) hinter einem Buchstaben steht. Ohne ihn
     faellt weiss-auf-hell auf rund 1,4:1. */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 4px 24px rgba(0, 0, 0, 0.65);
}
/* Buttons haben eigene Flaechen - dort stoert der Schatten nur. */
.hero-content .btn { text-shadow: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-soft);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.eyebrow-dark { color: var(--accent); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 9vw, 116px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-soft);
  font-weight: 400;
}

/* ---- hero title: word-by-word reveal ---- */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(80%);
  animation: heroWordRise 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
  margin-right: 0.25em;
}
.hero-title em .word { color: var(--accent-soft); }
.hero-title .line-break { display: block; height: 0; }

@keyframes heroWordRise {
  from { opacity: 0; transform: translateY(85%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- shimmer sweep on accent words ---- */
.shimmer {
  background: linear-gradient(
    100deg,
    var(--accent-soft) 0%,
    var(--accent-soft) 40%,
    #fff8e2 50%,
    var(--accent-soft) 60%,
    var(--accent-soft) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroWordRise 1.1s var(--ease) forwards, shimmerSweep 4.5s linear infinite;
  animation-delay: var(--d, 0s), 1.6s;
}
@keyframes shimmerSweep {
  0%, 100% { background-position: 200% 0; }
  50%      { background-position: -100% 0; }
}

/* ---- floating scissors decoration ---- */
.hero-deco {
  position: absolute;
  top: 22%;
  right: 8%;
  font-size: clamp(80px, 14vw, 200px);
  color: rgba(212, 176, 115, 0.18);
  pointer-events: none;
  z-index: 2;
  transform: rotate(-18deg);
  animation: heroFloat 6s ease-in-out infinite;
  text-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
@keyframes heroFloat {
  0%, 100% { transform: rotate(-18deg) translateY(0); }
  50%      { transform: rotate(-14deg) translateY(-18px); }
}
@media (max-width: 720px) {
  .hero-deco { top: 12%; right: -8%; font-size: 130px; opacity: 0.6; }
}

/* ---- glowing pulse on primary hero CTA ---- */
.btn-glow {
  position: relative;
  overflow: visible;
}
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: var(--accent);
  opacity: 0.4;
  z-index: -1;
  animation: ctaPulse 2.4s ease-out infinite;
}
@keyframes ctaPulse {
  0%   { transform: scale(0.94); opacity: 0.5; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.hero .lead {
  max-width: 560px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 42px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  animation: scrollPulse 2.2s infinite var(--ease);
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============ Sections ============ */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--on-dark); }
.section-dark .muted { color: rgba(244, 240, 232, 0.6); }
.section-dark .nav-links a { color: var(--on-dark); }

.section-head {
  max-width: 720px;
  margin: 0 0 64px;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.section h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.section-dark h2 em { color: var(--accent-soft); }

.section-head p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
}
.section-dark .section-head p { color: rgba(244, 240, 232, 0.78); }

/* ============ Grids / cards ============ */
.grid {
  display: grid;
  gap: clamp(20px, 2.2vw, 32px);
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
  will-change: transform;
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--accent);
  margin-bottom: 18px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.4s var(--ease);
}
.card .icon svg { width: 22px; height: 22px; }

.card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--ink-soft); }
.card .price {
  margin-top: 22px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
}
/* Zusatzbedingung zum Preis (z. B. Altersgrenze) - zurueckhaltender als der
   Preis selbst, aber klar lesbar. Preisangaben muessen eindeutig sein (PAngV). */
.card .price-note {
  display: inline-block;
  margin-left: 6px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: none;
}

.card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
}
.card:hover .icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

/* ============ Split layout ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  transition: transform 0.7s var(--ease);
}
.split-media .deco {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: inset 0.7s var(--ease);
}
.split-media:hover img { transform: translate(-6px, -6px); }
.split-media:hover .deco { inset: 14px -26px -26px 26px; }

.split-body p { max-width: 50ch; color: var(--ink-soft); }
.section-dark .split-body p { color: rgba(244, 240, 232, 0.8); }

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* ============ Gallery ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }

.gallery .tall { grid-column: span 3; grid-row: span 2; aspect-ratio: 3 / 4; }
.gallery .wide { grid-column: span 3; aspect-ratio: 16 / 9; }

.gallery-2 {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.gallery-2 a {
  aspect-ratio: 4 / 3;
}

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .tall,
  .gallery .wide { grid-column: span 2; aspect-ratio: 16 / 10; grid-row: auto; }
  .gallery-2 { grid-template-columns: 1fr; }
}

/* ============ Appointment card (replaces hours table) ============ */
.appointment-card {
  margin-top: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-width: 460px;
}
.appointment-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s var(--ease);
}
.appointment-row:last-child { border-bottom: 0; }
.appointment-row:hover {
  background: rgba(184, 146, 75, 0.1);
  color: var(--accent-soft);
}
.appointment-row strong { font-weight: 600; }
.appointment-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(184, 146, 75, 0.15);
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.appointment-icon svg { width: 20px; height: 20px; }

/* ============ Booking form ============ */
.booking-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field-full { grid-column: 1 / -1; }
.form-field > span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 146, 75, 0.18);
}
.form-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.form-actions .btn { background: #25D366; color: #fff; }
.form-actions .btn:hover { background: #128C7E; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.form-actions .btn-glow::before { background: #25D366; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ============ Contact ============ */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
  font-size: 17px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-list .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(184, 146, 75, 0.15);
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list .icon svg { width: 18px; height: 18px; }
.contact-list a:hover { color: var(--accent-soft); }
.contact-list span.muted { display: block; font-size: 14px; }

.map-link {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-link img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.map-link:hover img { transform: scale(1.05); }
.map-cta {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(10, 10, 10, 0.85);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* ============ Footer ============ */
.site-footer {
  background: #050505;
  color: var(--on-dark);
  padding: 72px 0 36px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 28px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-grid h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0 0 18px;
  color: var(--on-dark);
  font-weight: 500;
}
.footer-grid ul {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(244,240,232,0.7); font-size: 15px; }
.footer-grid a:hover { color: var(--accent-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(244, 240, 232, 0.45);
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ Reveal animations ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.22s; }
[data-reveal-delay="3"] { transition-delay: 0.34s; }
[data-reveal-delay="4"] { transition-delay: 0.46s; }

/* ============ Misc ============ */
.muted { color: var(--ink-mute); }
.small { font-size: 13px; }
.center { text-align: center; }
.divider {
  width: 56px; height: 1px;
  background: var(--accent);
  border: 0;
  margin: 16px 0 0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .word { opacity: 1; transform: none; }
  .shimmer { -webkit-text-fill-color: var(--accent-soft); background: none; }
  .hero-deco { animation: none; }
  .btn-glow::before { animation: none; opacity: 0; }
}

/* ============ Einwilligungs-Banner ============ */
/* Gestaltungsgrundsatz: "Alle akzeptieren" und "Nur notwendige" sind gleich
   gross, gleich prominent und stehen nebeneinander. Ein optisch schwaecherer
   Ablehnen-Button gilt als Dark Pattern und macht die Einwilligung angreifbar. */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: clamp(12px, 2vw, 24px);
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.consent.is-in { transform: none; opacity: 1; }

.consent-card {
  pointer-events: auto;
  width: min(760px, 100%);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 34px);
}

.consent-card h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 10px;
}
.consent-card p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.consent-details {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 14px;
}
.consent-row + .consent-row { margin-top: 16px; }
.consent-row-text { font-size: 14px; margin: 6px 0 0 62px; }

.consent-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.consent-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-track {
  flex: 0 0 auto;
  width: 48px; height: 28px;
  border-radius: 999px;
  background: #cfc9ba;
  position: relative;
  transition: background 0.2s var(--ease);
}
.consent-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.2s var(--ease);
}
.consent-switch input:checked + .consent-track { background: var(--accent); }
.consent-switch input:checked + .consent-track .consent-thumb { transform: translateX(20px); }
.consent-switch input:disabled + .consent-track { opacity: 0.55; }
.consent-switch input:disabled ~ .consent-row-label { color: var(--ink-soft); }
.consent-switch input:focus-visible + .consent-track {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.consent-tag {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
/* Beide Hauptbuttons wachsen gleich — keiner darf dominieren. */
.consent-actions .btn { flex: 1 1 200px; }

.consent-links {
  margin: 16px 0 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--ink-mute);
}
.consent-links a, .consent-linklike { color: var(--ink-soft); text-decoration: underline; }
.consent-links a:hover, .consent-linklike:hover { color: var(--accent); }
.consent-linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 560px) {
  .consent { padding: 10px; }
  .consent-row-text { margin-left: 0; }
  .consent-actions .btn { flex: 1 1 100%; }
  /* Beim Umbruch blieb ein "·" am Zeilenende haengen. Der Abstand aus dem
     Flex-Gap trennt die Links auch ohne Trennzeichen. */
  .consent-links > span[aria-hidden] { display: none; }
  .consent-links { gap: 6px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .consent { transition: none; transform: none; opacity: 1; }
}

/* ============ Karte (Zwei-Klick-Loesung) ============ */
.map-embed {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-dark-soft);
}
.map-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(20px, 4vw, 36px);
  text-align: center;
  color: var(--on-dark);
  background: linear-gradient(180deg, rgba(10,10,10,0.62), rgba(10,10,10,0.82));
}
.map-gate p {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 240, 232, 0.9);
}
.map-alt {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  text-decoration: underline;
}
.map-alt:hover { color: #fff; }

/* =============================================================
   Mobile-Feinschliff
   ============================================================= */

/* Auf iOS reicht overflow-x:hidden am <body> nicht zuverlaessig aus, um
   seitliches Wegschieben zu verhindern. "clip" wirkt auch am <html> und legt
   - anders als "hidden" - keinen Scroll-Container an, der sticky/smooth-scroll
   stoeren wuerde. */
html { overflow-x: clip; }

/* Die Reveal-Animation schiebt Elemente horizontal ein. Solange sie noch nicht
   sichtbar sind, ragen sie 32px ueber den Viewport hinaus - auf schmalen
   Screens die haeufigste Ursache fuer ungewolltes Querscrollen. Auf Mobilgeraeten
   deshalb nur noch vertikal einblenden. */
@media (max-width: 920px) {
  [data-reveal="left"],
  [data-reveal="right"] { transform: translateY(22px); }
  [data-reveal="left"].is-visible,
  [data-reveal="right"].is-visible { transform: translateY(0); }
}

@media (max-width: 560px) {
  :root {
    /* 118px Header kosteten auf einem 812px hohen Display 15% der Hoehe. */
    --header-h: 78px;
    --header-h-scrolled: 66px;
  }

  /* Logo und Schriftzug waren so gross, dass "Schöner Schnitt" zweizeilig
     umbrach und die Zeile "Friseursalon · Jena" gleich mit. */
  .brand { gap: 12px; }
  .brand-logo,
  .site-header.is-scrolled .brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
  .brand-text { font-size: 20px; }
  .brand-text small { font-size: 9px; letter-spacing: 0.26em; margin-top: 2px; }

  .hero-content { padding-top: 40px; }
}

/* ---- Tap-Targets ----
   Fingerkuppen brauchen ~44px (Apple HIG, WCAG 2.5.5). Reine Textlinks lagen
   bei 19-20px Hoehe - besonders kritisch bei der Telefonnummer, dem wichtigsten
   Element der Seite. */
@media (max-width: 1040px) {
  /* Im Flex-Header konnte der Button schrumpfen (gemessen: 42px statt 44px). */
  .nav-toggle { flex: 0 0 auto; width: 44px; height: 44px; }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    min-height: 44px;
  }
}

/* Nicht an der Breite festmachen: ein iPad ist bei 768-1024px genauso ein
   Touch-Geraet wie ein Handy, dort waren die Links weiterhin nur 19px hoch.
   (pointer: coarse) trifft genau die Geraete, die mit dem Finger bedient
   werden - unabhaengig von der Bildschirmbreite. */
@media (pointer: coarse), (max-width: 760px) {
  .contact-list a,
  .site-footer ul a,
  .map-alt {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-footer ul li + li { margin-top: 2px; }
  /* appointment-row ist bereits eine grosse Flaeche - nur absichern. */
  .appointment-row { min-height: 56px; }
}

/* iPhone SE & Co. (<=380px): Bei 20px Schriftgrad brach "Schöner Schnitt"
   erneut zweizeilig um und der Header wuchs auf zwei Zeilen an. */
@media (max-width: 380px) {
  .nav { gap: 12px; }
  .brand { gap: 10px; }
  .brand-logo,
  .site-header.is-scrolled .brand-logo { width: 46px; height: 46px; }
  .brand-text { font-size: 17px; }
  .brand-text small { font-size: 8px; letter-spacing: 0.18em; }

  /* "BARBER · FRISEUR · JENA" lief sonst in die zweite Zeile. */
  .eyebrow { letter-spacing: 0.24em; font-size: 10px; }
  .eyebrow::before { width: 22px; }
}
