/* =========================================================================
   BEEBOB – Friseur Keltern-Dietlingen
   Designsystem und Layout

   Aufbau
   1  Tokens
   2  Reset und Basis
   3  Typografie
   4  Layout
   5  Bedienelemente
   6  Icons und Medien
   7  Header und Navigation
   8  Hero
   9  Sektionen der Startseite
   10 Unterseiten
   11 Einwilligung / externe Inhalte
   12 Footer
   13 Bewegung und Druck
   14 Einblenden beim Scrollen
   ========================================================================= */

/* -------------------------------------------------------------------------
   1  Tokens
   ------------------------------------------------------------------------- */

:root {
  /* Farben – ausschliesslich diese Basis */
  --color-ink: #11110f;
  --color-black: #090909;
  --color-paper: #fcfbf8;
  --color-canvas: #f5f2ed;
  /* Wandfarbe im Salon (hinter dem runden Produktregal), aus Foto 0780 im
     Tageslicht gemessen und nach sRGB umgerechnet. */
  --color-peach: #e3bdb1;
  --color-peach-soft: #f1dfd8;
  --color-taupe: #8b8177;
  --color-muted: #625d57;
  --color-line: #d8d2ca;
  --color-white: #ffffff;
  --color-error: #9f2f2f;
  --color-focus: #315f8d;

  /* Abgeleitete Flaechen fuer dunkle Bereiche */
  --color-on-dark: #fcfbf8;
  --color-on-dark-muted: #c9c3bb;
  --color-on-dark-line: rgba(252, 251, 248, 0.22);
  --color-placeholder: #8b8177;
  --color-placeholder-dark: #2a2724;

  /* Schrift */
  /* Groessenstufen. Alle Schriften der Seite liegen auf diesen Werten:
     Sans 12 / 14 / 16 / 18, Serif 24 / 32 / 48 / 64 / 96 (Computer).
     Grosse Ueberschriften skalieren fluessig und erreichen ihre Stufe ab
     etwa 1280 px Breite. Nichts unter 12 px. */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  /* Abstandsstufen */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
  --space-8: 96px;
  --space-9: 128px;

  /* Raster */
  --content-max: 1280px;
  --gutter: 20px;
  --grid-gap: 20px;
  --container-outer: calc(var(--content-max) + 2 * var(--gutter));
  /* Linke Inhaltskante – wird von randlosen Sektionen genutzt */
  --edge: max(var(--gutter), calc((100vw - var(--container-outer)) / 2 + var(--gutter)));

  /* Sonstiges */
  --radius: 6px;
  --radius-pill: 999px;
  --radius-media: 20px;
  --control-height: 48px;
  --duration: 180ms;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --grid-gap: 20px;
  }
}

@media (min-width: 1024px) {
  :root {
    --radius-media: 32px;
    --gutter: 80px;
    --grid-gap: 24px;
    --header-height: 76px;
  }
}

/* -------------------------------------------------------------------------
   2  Reset und Basis
   ------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: auto;
}

button {
  font: inherit;
  color: inherit;
}

/* Flaechen, die sonst der Browser gestaltet.
   Textmarkierung, Schreibmarke, Scrollleiste und Bindestrich-Trennung kommen
   ohne Zutun in Systemfarben - und gehoeren damit zu keinem Entwurf. */
::selection {
  background-color: var(--color-ink);
  color: var(--color-paper);
}

.on-dark ::selection,
.section--dark ::selection {
  background-color: var(--color-paper);
  color: var(--color-ink);
}

html {
  scrollbar-color: var(--color-taupe) var(--color-canvas);
  caret-color: var(--color-ink);
}

/* Ziffern in Spalten stehen untereinander statt zu wackeln. */
.hours,
.price-list,
.contact__phone {
  font-variant-numeric: tabular-nums;
}

/* Sichtbarer Fokus – hell und dunkel getrennt */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.js .site-header--overlay:not(.is-scrolled) :focus-visible {
  outline-color: var(--color-white);
}

/* Scroll-Sperre bei geoeffnetem Panel oder Dialog */
body.is-locked {
  overflow: hidden;
}

/* Das hidden-Attribut muss immer gewinnen. Ohne diese Regel hebt jede
   Komponente mit eigener display-Angabe es auf - so blieb der Ladehinweis
   dauerhaft ueber der Karte liegen. */
[hidden] {
  display: none !important;
}

/* Nur fuer Screenreader */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: var(--space-2);
  z-index: 200;
  transform: translateY(-200%);
  background-color: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.skip-link:focus {
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   3  Typografie
   ------------------------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(52px, 7.5vw, 96px);
  line-height: 0.92;
  /* Dichter gesetzt: die Wortmarke steht eng, die Ueberschriften nehmen das
     auf. */
  letter-spacing: -0.005em;
  margin: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
}

.subheading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
}

.lead,
.body-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.on-dark .lead,
.on-dark .body-text {
  color: var(--color-on-dark-muted);
}

.text-stack > * + * {
  margin-top: var(--space-2);
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 48px;
    line-height: 1.08;
  }

  .subheading {
    font-size: 24px;
    line-height: 1.2;
  }
}

/* -------------------------------------------------------------------------
   4  Layout
   ------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-outer);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-6);
}

.section--tight {
  padding-block: var(--space-5);
}

.section--paper {
  background-color: var(--color-paper);
}

.section--canvas {
  background-color: var(--color-canvas);
}

.section--peach {
  background-color: var(--color-peach-soft);
}

.section--dark {
  background-color: var(--color-black);
  color: var(--color-on-dark);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-7);
  }

  .section--tight {
    padding-block: var(--space-6);
  }
}

.section__head {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

@media (min-width: 1024px) {
  .section__head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }

  .section__head-link {
    justify-self: end;
  }
}

/* Abstands-Hilfsklassen.
   Bewusst als Klassen und nicht als style-Attribut, damit die
   Content-Security-Policy ohne 'unsafe-inline' auskommt. */
.u-mt-2 {
  margin-top: var(--space-2);
}

.u-mt-3 {
  margin-top: var(--space-3);
}

.u-mt-4 {
  margin-top: var(--space-4);
}

.u-mt-5 {
  margin-top: var(--space-5);
}

.u-mt-6 {
  margin-top: var(--space-6);
}

/* Button, der wie ein Textlink aussieht */
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--color-ink);
  text-decoration: underline;
  cursor: pointer;
}

.link-button:hover {
  color: var(--color-muted);
}

/* Raster-Elemente duerfen schrumpfen. Ohne min-width: 0 leiten Grid-Elemente
   ihre Mindestbreite aus dem Inhalt ab (z. B. aus aspect-ratio), was auf
   schmalen Displays eine horizontale Scrollleiste erzeugen wuerde. */
.price-groups > *,
.services > *,
.cards > *,
.gallery > *,
.feature > *,
.visit > *,
.intro__grid > *,
.page-intro__grid > *,
.about__grid > * {
  min-width: 0;
}

.rule {
  width: 40px;
  height: 1px;
  border: 0;
  background-color: currentColor;
  opacity: 0.5;
  margin: var(--space-3) 0;
}

/* -------------------------------------------------------------------------
   5  Bedienelemente
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: var(--control-height);
  min-width: 44px;
  padding: 0 var(--space-3);
  border: 1px solid transparent;
  /* Durchgehend rund - abgeleitet vom Knopf in der Kopfzeile, damit alle
     Schaltflaechen dieselbe Form haben. */
  border-radius: var(--radius-pill);
  background-color: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 14px;
  /* Schwerer und enger gesetzt als zuvor: nimmt die kompakte, kraeftige
     Anmutung der Wortmarke auf, ohne dieselbe Schrift zu sein. */
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration) var(--easing),
    color var(--duration) var(--easing), border-color var(--duration) var(--easing);
}

.btn:hover {
  background-color: var(--color-black);
}

.btn--light {
  background-color: var(--color-white);
  color: var(--color-ink);
}

.btn--light:hover {
  background-color: var(--color-canvas);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}

.btn--outline:hover {
  background-color: var(--color-canvas);
}

.btn--pill {
  border-radius: var(--radius-pill);
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
  min-height: 48px;
}

.btn--pill:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 2px;
  transition: border-color var(--duration) var(--easing);
}

.arrow-link:hover {
  border-color: var(--color-ink);
}

.on-dark .arrow-link {
  border-color: var(--color-on-dark-line);
}

.on-dark .arrow-link:hover {
  border-color: var(--color-on-dark);
}

.arrow-link .icon {
  flex: none;
  transition: transform var(--duration) var(--easing);
}

.arrow-link:hover .icon {
  transform: translateX(4px);
}

.text-link {
  color: var(--color-ink);
  text-decoration: underline;
}

.text-link:hover {
  color: var(--color-muted);
}

/* Aktionsreihe */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .actions {
    gap: var(--space-4);
  }
}

/* -------------------------------------------------------------------------
   6  Icons und Medien
   ------------------------------------------------------------------------- */

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--24 {
  width: 24px;
  height: 24px;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-media);
  background-color: var(--color-canvas);
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media--fill {
  height: 100%;
  border-radius: 0;
}

/* Platzhalterflaeche, wenn ein Originalfoto fehlt */
.placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-color: var(--color-placeholder);
  display: grid;
  /* Hinweis in die untere rechte Ecke, damit er im Entwicklungsbuild nicht
     mit Text oder Schaltflaechen kollidiert. */
  place-items: end;
  padding: var(--space-2);
}

.placeholder--dark {
  background-color: var(--color-placeholder-dark);
}

.placeholder__note {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-white);
  /* Dunkle Flaeche, damit der Hinweis auch auf Taupe ausreichend Kontrast hat. */
  background-color: rgba(9, 9, 9, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px var(--space-2);
  border-radius: var(--radius-media);
  text-align: center;
}

/* -------------------------------------------------------------------------
   7  Header und Navigation

   Die Kopfzeile scrollt mit der Seite weg. Auf der Startseite liegt sie ueber
   dem Startbild, auf den Unterseiten steht sie im Fluss.
   ------------------------------------------------------------------------- */

/* Die Kopfzeile bleibt oben erreichbar. Auf dem Startbild ist sie
   durchsichtig mit heller Schrift, sobald gescrollt wird, bekommt sie eine
   helle Flaeche. Beim Scrollen nach unten gleitet sie weg und kommt beim
   Hochscrollen sofort zurueck (beebob.js, initHeader). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-height);
  color: var(--color-ink);
  background-color: var(--color-paper);
  box-shadow: 0 1px 0 var(--color-line);
  transition: background-color 250ms var(--easing), color 250ms var(--easing),
    box-shadow 250ms var(--easing), transform 300ms var(--easing);
}

/* Durchsichtig nur mit JavaScript: ohne Skript bliebe die helle Schrift
   beim Scrollen ueber hellem Grund stehen und waere unlesbar. */
.js .site-header--overlay:not(.is-scrolled) {
  background-color: transparent;
  box-shadow: none;
  color: var(--color-white);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Unterseiten: der Inhalt beginnt unter der festen Kopfzeile. */
.site-header--plain ~ main {
  padding-top: var(--header-height);
}

/* Sprungziele (z. B. preise.html#preise-waxing) nicht unter der Kopfzeile
   verstecken. */
[id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-3));
}

/* Logo links, Seiten mittig, Anruf-Knopf rechts */
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  height: 100%;
}

.site-header__inner > .brand {
  grid-column: 1;
  justify-self: start;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding-block: 4px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
}

/* Wortmarke als Bild. Die Hoehe steuert die Groesse, die Breite ergibt sich
   aus dem Seitenverhaeltnis - dadurch bleibt das Logo unverzerrt. */
.brand__logo {
  height: 24px;
  width: auto;
  display: block;
}

/* In der Kopfzeile liegen beide Fassungen bereit: hell auf dem Startbild,
   dunkel auf heller Flaeche. */
.site-header .brand__logo--hell {
  display: none;
}

.js .site-header--overlay:not(.is-scrolled) .brand__logo--hell {
  display: block;
}

.js .site-header--overlay:not(.is-scrolled) .brand__logo--dunkel {
  display: none;
}

.brand__descriptor {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

@media (min-width: 1024px) {
  .brand__name {
    font-size: 24px;
  }

  .brand__logo {
    height: 26px;
  }
}

.site-nav {
  grid-column: 2;
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--duration) var(--easing);
}

.site-nav__link:hover {
  background-color: rgba(128, 128, 128, 0.14);
}

/* Aktive Seite: kraeftiger und mit einem kleinen Punkt darunter */
.site-nav__link[aria-current="page"] {
  font-weight: 600;
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background-color: currentColor;
}

.site-header__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Anruf-Knopf: gefuellt, auf dem Startbild hell, sonst dunkel. Auf dem Handy
   ein runder Knopf nur mit Symbol, die Beschriftung bleibt fuer Screenreader. */
.site-header__cta {
  width: 44px;
  min-height: 44px;
  padding: 0;
  gap: 8px;
}

.site-header__cta-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header__cta .icon {
  width: 18px;
  height: 18px;
}

.js .site-header--overlay:not(.is-scrolled) .site-header__cta {
  background-color: var(--color-white);
  color: var(--color-ink);
}

.js .site-header--overlay:not(.is-scrolled) .site-header__cta:hover {
  background-color: var(--color-canvas);
}

@media (min-width: 600px) {
  .site-header__cta {
    width: auto;
    padding: 0 20px;
  }

  .site-header__cta-text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius-pill);
}

.js .site-header--overlay:not(.is-scrolled) .menu-toggle,
.nav-panel .menu-toggle {
  border-color: rgba(255, 255, 255, 0.5);
}

.menu-toggle:hover {
  background-color: rgba(128, 128, 128, 0.14);
}

/* Profile in Kopfzeile, Band und Menue uebernehmen die Textfarbe der Flaeche:
   weiss ueber dem Startbild, dunkel auf der hellen Leiste. */
.social--header .social__link,
.social--band .social__link,
.social--panel .social__link {
  color: inherit;
}

/* Erst ab der Breite, in der auch die Seitenlinks stehen - daneben waere die
   Leiste auf dem Handy zu voll. Im Menue sind die Profile weiterhin dabei. */
.social--header {
  display: none;
  gap: var(--space-1);
}

.social--header .social__link {
  width: 40px;
  height: 40px;
}

/* Bewusst nur der Knopf in der Kopfzeile: Der Schliessen-Knopf im Panel traegt
   dieselbe Klasse und muss sichtbar bleiben.
   Die Regel muss nach .menu-toggle stehen, sonst gewinnt die Grunddefinition. */
@media (min-width: 1100px) {
  .site-nav,
  .social--header {
    display: flex;
  }

  .site-header .menu-toggle {
    display: none;
  }
}

/* Menue auf dem Handy: bildschirmfuellend, blendet weich ein */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background-color: var(--color-black);
  color: var(--color-on-dark);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 400ms var(--easing);
}

.nav-panel.is-open {
  opacity: 1;
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel__top {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-height);
}

.nav-panel__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-5);
}

.nav-panel__list {
  display: grid;
  gap: var(--space-1);
  text-align: center;
}

.nav-panel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  color: inherit;
}

.nav-panel__link[aria-current="page"] {
  text-decoration: underline;
}

.nav-panel__bottom {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  text-align: center;
}

.nav-panel__bottom .btn {
  width: min(100%, 320px);
}

.nav-panel__hint {
  font-size: 14px;
  color: var(--color-on-dark-muted);
}

@media (min-width: 768px) {
  .nav-panel__link {
    font-size: 40px;
  }
}

/* -------------------------------------------------------------------------
   8  Hero

   Das Startbild fuellt genau ein Fenster: Der naechste Abschnitt erscheint
   erst beim Scrollen, es gibt aber keinen zusaetzlichen Scrollweg.
   Text links, die Person rechts bleibt frei.
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  height: 100vh;
  height: 100svh;
  background-color: var(--color-ink);
  color: var(--color-white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img,
.hero__media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Auf schmalen Displays bleibt der Ausschnitt bei der Person rechts. */
  object-position: 84% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.78) 0%, rgba(9, 9, 9, 0.3) 60%, rgba(9, 9, 9, 0.2) 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: calc(var(--header-height) + var(--space-4));
  padding-bottom: var(--space-6);
}

.hero__subline {
  margin-top: var(--space-3);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* Auf schmalen Displays umbrechen die zwei Zeilen ausgewogen, statt ein
   einzelnes Wort allein in eine Zeile zu setzen. */
.hero__subline .title-line {
  text-wrap: balance;
}

.hero__cta {
  margin-top: var(--space-5);
}

@media (max-width: 899px) {
  .hero__media {
    bottom: auto;
    height: 64%;
  }

  .hero__media img,
  .hero__media .placeholder {
    object-position: 80% 30%;
  }

  /* Oben leicht dunkler fuer die Kopfzeile, unten weicher Uebergang in den
     dunklen Grund, auf dem der Text steht. */
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(9, 9, 9, 0.45) 0%,
      rgba(9, 9, 9, 0) 22%,
      rgba(9, 9, 9, 0) 44%,
      var(--color-ink) 64%
    );
  }
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    min-height: 520px;
  }

  .hero__content {
    padding-bottom: var(--space-4);
  }

  .hero__subline {
    font-size: 18px;
  }

  .hero__media img,
  .hero__media .placeholder {
    object-position: 50% 15%;
  }

  /* Links dunkler fuer den Text, rechts offen fuer das Gesicht */
  .hero__overlay {
    background: linear-gradient(
      to right,
      rgba(9, 9, 9, 0.7) 0%,
      rgba(9, 9, 9, 0.42) 45%,
      rgba(9, 9, 9, 0.1) 100%
    );
  }
}

/* -------------------------------------------------------------------------
   9  Sektionen der Startseite
   ------------------------------------------------------------------------- */

/* 9.1 Aufbau der Startseite */

.section-title--center {
  text-align: center;
  margin-inline: auto;
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .section-title--center {
    font-size: 64px;
    line-height: 1.02;
  }
}

.section-sub {
  margin-top: var(--space-2);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.button-row--tight {
  margin-top: var(--space-4);
}

/* Einleitung: grosse Ueberschrift links, Text rechts oben buendig */
.intro__grid {
  display: grid;
  gap: var(--space-4);
}

.intro__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

/* Die Zeilen sind bewusst gesetzt und brechen nicht noch einmal um. */
.title-line {
  display: block;
}

@media (min-width: 900px) {
  .title-line {
    white-space: nowrap;
  }
}

.intro__body {
  max-width: 52ch;
}

@media (min-width: 900px) {
  .intro {
    padding-block: var(--space-7);
  }

  .intro__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
  }

  .intro__body {
    padding-top: var(--space-1);
  }
}

/* Bildband mit Leitsatz. Die folgende helle Flaeche woelbt sich als Bogen in
   das Bild hinein. */
.band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  color: var(--color-white);
  /* Foto und Abdunklung enden 2 px ueber der Unterkante. Darunter liegt der
     helle Grund - so blitzt unter dem Bogen keine Bildkante als Linie auf. */
  background-color: var(--color-paper);
}

.band__media {
  position: absolute;
  inset: 0 0 2px 0;
  z-index: -2;
}

.band__media img,
.band__media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* --band-bild verschiebt das Foto beim Scrollen leicht (beebob.js). Ohne
     Skript bleibt es bei 0. */
  transform: translate3d(0, var(--band-bild, 0%), 0) scale(1.12);
}

.band__overlay {
  position: absolute;
  inset: 0 0 2px 0;
  z-index: -1;
  background-color: rgba(9, 9, 9, 0.45);
}

.band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: var(--space-7);
  padding-bottom: calc(var(--space-7) + 7vw);
}

.band__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  text-wrap: balance;
}

/* --bogen (0 bis 1) laesst den Bogen beim Scrollen aus einer flachen Linie
   hochwachsen (beebob.js). Ohne Skript oder bei reduzierter Bewegung steht
   er sofort in voller Hoehe. */
.band::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: clamp(48px, 9vw, 150px);
  background-color: var(--color-paper);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleY(var(--bogen, 1));
  transform-origin: 50% 100%;
}

@media (min-width: 900px) {
  .band {
    min-height: 480px;
  }
}

/* Der Bogen bringt schon hellen Raum mit. Der folgende Abschnitt startet
   deshalb knapp darunter statt mit vollem Abstand. */
.band + .section {
  padding-top: var(--space-3);
}

/* Dunkler Abschnitt: Text links, hohes Foto rechts */
.feature {
  display: grid;
  background-color: var(--color-black);
  color: var(--color-on-dark);
}

.feature__text {
  padding: var(--space-7) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature__text .body-text {
  max-width: 44ch;
}

.feature__media {
  aspect-ratio: 4 / 5;
  margin: 0 var(--gutter) var(--space-7);
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-7) var(--edge);
  }

  .feature__text {
    padding: 0;
  }

  .feature__media {
    aspect-ratio: 4 / 5;
    margin: 0;
  }
}

/* Haeufige Fragen */
.faq {
  max-width: 880px;
}

.faq__list {
  border-top: 1px solid var(--color-line);
}

.faq__item {
  border-bottom: 1px solid var(--color-line);
}

.faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 64px;
  padding-block: var(--space-2);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__marker {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.faq__marker::before,
.faq__marker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform var(--duration) var(--easing);
}

.faq__marker::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__marker::after {
  transform: rotate(0deg);
}

.faq__answer {
  max-width: 62ch;
  padding-bottom: var(--space-3);
}

@media (min-width: 1024px) {
  .faq__question {
    font-size: 24px;
  }
}

/* Drei Karten nebeneinander */
.cards {
  display: grid;
  gap: var(--grid-gap);
}

.card {
  margin: 0;
  min-width: 0;
}

.card__media {
  aspect-ratio: 4 / 5;
}

.card__caption {
  margin-top: var(--space-2);
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-muted);
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Anfahrt: Text links, Karte rechts ueber die volle Hoehe */
.visit {
  display: grid;
  background-color: var(--color-paper);
}

.visit__text {
  padding: var(--space-7) var(--gutter);
}

.visit__map {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) var(--space-7);
}

.visit__map > [data-embed],
.visit__map > div:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.visit__map .embed-gate,
.visit__map .embed-frame {
  flex: 1;
}

.contact__note {
  margin-top: var(--space-2);
  color: var(--color-muted);
}

@media (min-width: 900px) {
  .visit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 560px;
  }

  .visit__text {
    padding: var(--space-7) var(--space-6) var(--space-7) var(--edge);
  }

  /* Solange die Karte nicht geladen ist, stehen Hinweis und Routen-Knoepfe
     als ruhige Gruppe in der Mitte der Spalte - statt einer hohen, leeren
     Flaeche mit abgetrennten Knoepfen am unteren Rand. */
  .visit__map {
    padding: 0;
    background-color: var(--color-canvas);
  }

  .visit__map > [data-embed],
  .visit__map > div:first-child {
    flex: 1 1 auto;
  }

  /* Vor dem Laden fuellt die Fassade die Spalte, Hinweis und Knopf stehen
     unten auf dem Foto, die Routen-Knoepfe direkt darunter. */
  .visit__map .embed-gate {
    flex: 1 1 auto;
    border-radius: 0;
    padding: var(--space-6) var(--space-7);
  }

  /* Ist die Karte geladen, fuellt sie die ganze Spalte. */
  .visit__map:has([data-embed-frame]:not([hidden])) {
    justify-content: flex-start;
  }

  .visit__map:has([data-embed-frame]:not([hidden])) > [data-embed] {
    flex: 1 1 auto;
  }

  .visit__map .embed-frame {
    aspect-ratio: auto;
    min-height: 480px;
    border: 0;
    border-radius: 0;
  }

}

/* 9.2 Leistungen: eine ruhige Liste wie eine Karte im Salon. Titel in der
   Serife links, Beschreibung rechts, getrennt durch feine Linien. Bewusst
   keine Kaesten mit Symbolen - das gleichfoermige Kartenraster ist das
   bekannteste Merkmal austauschbarer Vorlagen. */
.services {
  display: grid;
  max-width: 1040px;
  margin-inline: auto;
  border-top: 1px solid var(--color-line);
}

.service {
  display: grid;
  gap: var(--space-1);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-line);
  min-width: 0;
}

.service__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-ink);
  margin: 0;
}

.service__text {
  color: var(--color-muted);
  max-width: 52ch;
}

@media (min-width: 900px) {
  .service {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--space-6);
    align-items: baseline;
    padding-block: var(--space-4);
  }

  .service__title {
    font-size: 32px;
  }
}

/* 9.3 Preise */
.prices__intro {
  max-width: 62ch;
  margin-bottom: var(--space-5);
}

.price-groups {
  display: grid;
  gap: var(--space-6);
}

.price-group__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}

.price-list {
  border-top: 1px solid var(--color-line);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-line);
}

.price-row__service {
  font-size: 16px;
  line-height: 1.5;
}

.price-row__details {
  display: block;
  font-size: 14px;
  color: var(--color-muted);
}

.price-row__value {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-muted);
  white-space: nowrap;
}

.price-row__value--request {
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Preisseite: Liste links, erklaerende Spalte rechts.
   Die Zeilen bleiben bewusst als feine Linien gesetzt statt als Karten. */
.prices-layout {
  display: grid;
  gap: var(--space-6);
}

.prices-layout > * {
  min-width: 0;
}

.prices-note {
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-3);
  align-self: start;
}

.prices-note__list {
  margin-top: var(--space-2);
  display: grid;
  gap: var(--space-1);
}

.prices-note__list li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-muted);
}

@media (min-width: 900px) {
  .prices-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--space-7);
  }

  .price-row {
    padding: var(--space-3) 0;
  }
}

/* Fotos mit Bildunterschrift auf den Unterseiten */
.figures {
  display: grid;
  gap: var(--grid-gap);
}

.figures__item {
  margin: 0;
  min-width: 0;
}

.figures__media {
  aspect-ratio: 4 / 3;
}

.figures--wide .figures__media {
  aspect-ratio: 3 / 2;
}

.figures__caption {
  margin-top: var(--space-1);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-muted);
}

@media (min-width: 700px) {
  .figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figures--wide {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Telefon und WhatsApp untereinander statt in einer Zeile */
.contact__address ~ .contact__phone {
  display: flex;
  width: fit-content;
}

/* 9.7 Kontakt */
.contact {
  display: grid;
  gap: var(--space-6);
}

.contact__address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.65;
}

.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  margin-top: var(--space-2);
  font-size: 16px;
  color: var(--color-ink);
}

.hours {
  margin-top: var(--space-5);
  border-top: 1px solid var(--color-line);
  max-width: 420px;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 16px;
}

.hours__row--today .hours__day,
.hours__row--today .hours__value {
  font-weight: 600;
  color: var(--color-ink);
}

.hours__day {
  color: var(--color-ink);
}

.hours__value {
  color: var(--color-muted);
  text-align: right;
}

.hours__today-marker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-white);
  margin-left: var(--space-1);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-ink);
  vertical-align: 1px;
}

.notice {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background-color: var(--color-canvas);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
}

.notice__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: var(--space-1);
}

.notice__item + .notice__item {
  margin-top: var(--space-1);
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* -------------------------------------------------------------------------
   10  Unterseiten
   ------------------------------------------------------------------------- */

.page-head {
  background-color: var(--color-canvas);
  padding-block: var(--space-6);
}

.page-head__title {
  max-width: 20ch;
}

.page-head__text {
  margin-top: var(--space-3);
  max-width: 56ch;
}

@media (min-width: 1024px) {
  .page-head {
    padding-block: var(--space-8);
  }
}

/* Grosse Seitenueberschrift der Unterseiten */
.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.page-title--center {
  text-align: center;
  margin-inline: auto;
}

/* Kopf: Ueberschrift links, Begleittext rechts oben */
.page-intro {
  padding-block: var(--space-5) var(--space-5);
}

.page-intro__grid {
  display: grid;
  gap: var(--space-3);
}

.page-intro__text {
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-muted);
}

.section--flush-top {
  padding-top: 0;
}

@media (min-width: 900px) {
  .page-intro {
    padding-block: var(--space-6) var(--space-5);
  }

  .page-intro__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: var(--space-7);
    align-items: start;
  }

  .page-intro__text {
    justify-self: end;
    padding-top: var(--space-2);
  }
}

/* Salon: Ueberschrift und Text links, hohes Foto rechts */
.about {
  padding-block: var(--space-5) var(--space-6);
}

.about__grid {
  display: grid;
  gap: var(--space-5);
}

/* Die Ueberschrift steht hier nur in einer halben Spalte - in voller Groesse
   braeche "Friseurbesuch." mitten im Wort um. */
.about .page-title {
  font-size: clamp(44px, 5vw, 64px);
}

.about__sub {
  margin-top: var(--space-3);
  max-width: 40ch;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--color-muted);
}

.about__figure {
  margin: 0;
}

.about__media {
  aspect-ratio: 4 / 5;
}

.about__caption {
  margin-top: var(--space-3);
  max-width: 46ch;
}

.about__lead {
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-ink);
}

.about .figures {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Ein einzelnes Foto (seit die Kasse raus ist) nimmt die ganze Spalte ein. */
.about .figures--wide {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .about {
    padding-block: var(--space-6) var(--space-7);
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "head figure"
      "text figure";
    column-gap: var(--space-7);
    row-gap: var(--space-6);
    align-items: start;
  }

  .about__head {
    grid-area: head;
  }

  .about__figure {
    grid-area: figure;
  }

  .about__text {
    grid-area: text;
  }
}

/* Team: Claudia und Martina nebeneinander, das gemeinsame Foto darunter */
.team-page__intro {
  max-width: 52ch;
  margin: var(--space-3) auto 0;
  text-align: center;
}

.members {
  display: grid;
  gap: var(--space-6);
  max-width: 1040px;
  margin: var(--space-6) auto 0;
}

.member__card {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.member__media {
  aspect-ratio: 4 / 5;
}

.member__name {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .member__name {
    font-size: 32px;
  }
}

.member__role {
  margin-top: var(--space-1);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-muted);
}

.team-page__group {
  max-width: 1040px;
  margin: var(--space-6) auto 0;
}

@media (min-width: 700px) {
  .members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .members {
    gap: var(--space-7);
  }
}

/* Looks: Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.gallery__tile {
  aspect-ratio: 4 / 5;
}

@media (min-width: 900px) {
  /* Acht Bilder: vier Spalten, zwei volle Reihen */
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
  }
}

/* Vorher und nachher: je zwei Fotos dicht nebeneinander, damit sie als Paar
   gelesen werden. Ab 900 px zwei Paare pro Reihe. */
.before-after__lead {
  margin-top: var(--space-2);
  max-width: 52ch;
  color: var(--color-muted);
}

.pairs {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.pair {
  margin: 0;
  min-width: 0;
}

.pair__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-1);
}

.pair__media {
  aspect-ratio: 4 / 5;
}

.pair__label {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(252, 251, 248, 0.92);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
}

.pair__title {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-ink);
}

/* Ab Tablet zwei Paare pro Reihe und vier Galeriebilder nebeneinander,
   sonst wuerden die Fotos auf 700 bis 899 px sehr gross. */
@media (min-width: 700px) {
  .pairs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-4);
  }

  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .pairs {
    column-gap: var(--space-6);
    row-gap: var(--space-6);
  }
}

/* Was uns wichtig ist: eigener, breiter Abschnitt im vollen Wandton. Er
   steht direkt ueber der Fusszeile (heller Pfirsich) und muss sich davon
   absetzen. Text in --color-ink: Kontrast 10,7:1. */
.values {
  background-color: var(--color-peach);
}

.values__head {
  max-width: 20ch;
}

.values__grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.value__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-ink);
}

.value__text {
  margin-top: var(--space-2);
  max-width: 34ch;
  color: var(--color-ink);
}

@media (min-width: 700px) {
  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-6);
    row-gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .values {
    padding-block: var(--space-7);
  }
}

/* Drei Spalten erst ab 1200 px - darunter braeche "Persoenliche Beratung"
   in der schmalen Spalte um. */
@media (min-width: 1200px) {
  .values__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--space-7);
  }

  .value__title {
    font-size: 32px;
  }
}

.prose {
  max-width: 62ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.prose h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
}

.prose p,
.prose ul {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}

.prose ul {
  list-style: disc;
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 6px;
}

.prose address {
  font-style: normal;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.prose a,
.prose .link-button,
.embed-gate__text a {
  color: var(--color-ink);
  /* Vergroessert die Tippflaeche auf mindestens 44 px, ohne den Zeilenfluss
     zu veraendern – das negative margin gleicht das padding wieder aus. */
  padding-block: 13px;
  margin-block: -13px;
}

/* Pruefkaesten der Testversion: bewusst auffaellig rot. In der Live-Fassung
   gibt es sie nicht (build.py --prod, check.py --prod prueft das). */
.verify-note {
  max-width: 72ch;
  border: 2px solid #c62828;
  border-radius: var(--radius);
  background-color: #fdecea;
  padding: var(--space-2) var(--space-3);
  margin-block: var(--space-3);
  font-size: 14px;
  line-height: 1.55;
  color: #3b0d0c;
  text-align: left;
}

.verify-note strong {
  color: #b3261e;
}

.dev-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  padding: var(--space-1) var(--gutter);
  background-color: #b3261e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

body:has(.dev-banner) {
  padding-bottom: 48px;
}

/* -------------------------------------------------------------------------
   11  Einwilligung / externe Inhalte
   ------------------------------------------------------------------------- */

.embed-gate {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-media);
  background-color: var(--color-canvas);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  min-height: 320px;
  /* Ohne min-width leiten Grid und Flexbox aus aspect-ratio und min-height
     eine Mindestbreite ab – auf schmalen Displays entstuende eine
     horizontale Scrollleiste. */
  min-width: 0;
}

/* Bewusst kein aspect-ratio: zusammen mit min-height leitet der Browser daraus
   eine Mindestbreite ab. Die Proportion 4:3 uebernimmt spaeter .embed-frame,
   sobald die Karte geladen ist. */
.embed-gate--map {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: flex-end;
  min-height: 480px;
  border: 0;
  background-color: var(--color-ink);
  color: var(--color-white);
}

.embed-gate__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.embed-gate__media img,
.embed-gate__media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Unten dunkel fuer den Hinweis, oben bleibt die Fassade gut erkennbar. */
.embed-gate--map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(9, 9, 9, 0.86) 0%,
    rgba(9, 9, 9, 0.55) 45%,
    rgba(9, 9, 9, 0.08) 100%
  );
}

.embed-gate--map .embed-gate__text {
  color: rgba(255, 255, 255, 0.9);
}

.embed-gate--map .text-link {
  color: var(--color-white);
}

.embed-gate__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.embed-gate__text {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 46ch;
}

.embed-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.embed-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-media);
  overflow: hidden;
  background-color: var(--color-canvas);
}

.embed-frame--booking {
  aspect-ratio: auto;
  min-height: 720px;
}

.embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Die Karte kommt von OpenStreetMap und laesst sich nicht direkt gestalten.
     Der Filter macht sie schwarz-weiss und ruhiger, passend zur Seite. */
  filter: grayscale(1) contrast(1.08) brightness(1.04);
}

.embed-frame__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
  background-color: var(--color-canvas);
}

.embed-frame__status--error {
  color: var(--color-error);
}

.route-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* Dialog */
.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: rgba(9, 9, 9, 0.6);
  display: grid;
  place-items: center;
  padding: var(--space-3);
}

.dialog-backdrop[hidden] {
  display: none;
}

.dialog {
  background-color: var(--color-paper);
  color: var(--color-ink);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
}

.dialog__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.dialog__text {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.consent-option {
  border-top: 1px solid var(--color-line);
  padding: var(--space-3) 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2);
  align-items: start;
}

.consent-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--color-ink);
}

.consent-option__label {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.consent-option__text {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 4px;
}

.consent-option--fixed .consent-option__label {
  cursor: default;
}

.consent-option__text--standalone {
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-3);
  margin-top: var(--space-1);
}

.dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-3);
}

.dialog__actions .btn {
  flex: 1 1 200px;
}

/* -------------------------------------------------------------------------
   12  Footer

   Vier Spalten mit gleichem Aufbau: Marke, Besuch und Kontakt,
   Oeffnungszeiten, Seiten. Alle beginnen oben auf einer Linie, alle Texte
   stehen in einer Groesse. Darunter Copyright und Rechtliches.
   ------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-peach-soft);
  padding-block: var(--space-6) var(--space-4);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-5);
}

.site-footer__grid > * {
  min-width: 0;
}

.site-footer__brand .brand {
  color: var(--color-ink);
}

.site-footer__tagline {
  margin-top: var(--space-3);
  max-width: 26ch;
  font-size: 16px;
  line-height: 1.6;
}

.site-footer__heading {
  margin-bottom: var(--space-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.site-footer__address {
  font-style: normal;
}

.site-footer__list {
  display: grid;
  justify-items: start;
}

.site-footer__address + .site-footer__list {
  margin-top: var(--space-2);
}

.site-footer__list + .site-footer__list {
  margin-top: var(--space-1);
}

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 15, 0.28);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--duration) var(--easing);
}

.site-footer__list a:hover {
  text-decoration-color: currentColor;
}

/* Profil-Links nebeneinander */
.site-footer__list--inline {
  grid-auto-flow: column;
  justify-content: start;
  gap: var(--space-3);
}

/* Seiten ohne Unterstrich, die aktuelle Seite unterstrichen */
.site-footer__list .site-footer__link {
  text-decoration: none;
}

.site-footer__list .site-footer__link:hover,
.site-footer__list .site-footer__link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

/* Oeffnungszeiten als kleine Tabelle: Tage links, Zeiten rechts */
.footer-hours {
  display: grid;
  gap: var(--space-1);
  margin: 0;
  max-width: 240px;
}

.footer-hours__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-hours dt {
  font-weight: 600;
}

.footer-hours dd {
  margin: 0;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Profil-Symbole (Bildband, Menue) */
.social {
  display: flex;
  gap: var(--space-2);
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--color-ink);
}

.social__link:hover {
  background-color: rgba(128, 128, 128, 0.14);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(17, 17, 15, 0.12);
  color: var(--color-muted);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
}

.site-footer__legal a,
.site-footer__legal button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-muted);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.site-footer__legal a:hover,
.site-footer__legal button:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

/* Seitenliste auf Handy und Tablet zweispaltig, sonst wird sie sehr lang. */
.site-footer nav .site-footer__list {
  grid-template-columns: repeat(2, max-content);
  column-gap: var(--space-6);
}

@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6) var(--space-5);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr);
    gap: var(--space-6);
  }

  .site-footer nav .site-footer__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* -------------------------------------------------------------------------
   13  Bewegung und Druck
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .nav-panel,
  .dialog-backdrop,
  .embed-gate,
  .embed-frame {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* -------------------------------------------------------------------------
   14  Einblenden beim Scrollen

   Die Startzustaende gelten ausschliesslich unter .js-reveal. Diese Klasse
   setzt reveal-init.js im Kopf der Seite - und nur dann, wenn der Browser
   IntersectionObserver kann und keine Bewegungsreduzierung eingestellt ist.
   Ohne JavaScript bleibt jeder Inhalt sofort sichtbar.

   Die Dauer liegt bewusst ueber den 180-240 ms der uebrigen Uebergaenge:
   Ein Einblenden soll ruhig wirken, waehrend Bedienelemente sofort reagieren
   muessen.
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 700ms cubic-bezier(0.16, 0.6, 0.24, 1),
      transform 700ms cubic-bezier(0.16, 0.6, 0.24, 1);
    will-change: opacity, transform;
  }

  .js-reveal [data-reveal="links"] {
    transform: translate3d(-40px, 0, 0);
  }

  .js-reveal [data-reveal="rechts"] {
    transform: translate3d(40px, 0, 0);
  }

  .js-reveal [data-reveal].ist-sichtbar {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  /* Gruppen laufen leicht versetzt ein, damit es nicht wie ein Schalter
     wirkt. */
  .js-reveal [data-reveal-gruppe] > * {
    transition-delay: 0ms;
  }

  .js-reveal [data-reveal-gruppe] > *:nth-child(2) {
    transition-delay: 90ms;
  }

  .js-reveal [data-reveal-gruppe] > *:nth-child(3) {
    transition-delay: 180ms;
  }

  .js-reveal [data-reveal-gruppe] > *:nth-child(4) {
    transition-delay: 270ms;
  }
}

/* Seitliche Bewegung darf keine waagerechte Scrollleiste erzeugen.
   clip statt hidden: es entsteht dadurch kein eigener Scrollbereich. */
main {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  main {
    overflow-x: hidden;
  }
}

/* Leistungen-Unterseite: Liste buendig mit der Seitenueberschrift */
.services--wide {
  max-width: none;
}


.u-nowrap {
  white-space: nowrap;
}

/* Routen-Knoepfe in der Textspalte, unter Telefon und WhatsApp */
.visit__text .route-links {
  margin-top: var(--space-3);
}

/* -------------------------------------------------------------------------
   Handy: Bilder kompakter (Wunsch der Auftraggeberin, 14.10.2026)

   Vorher standen viele Fotos bildschirmbreit und hoch untereinander. Jetzt:
   Arbeiten als Wischreihe, Team und Detailfotos nebeneinander, grosse
   Einzelfotos im Querformat.
   ------------------------------------------------------------------------- */

@media (max-width: 899px) {
  /* Team-Foto (Startseite) und Salonfoto: Querformat statt 4:5 */
  .feature__media,
  .about__media {
    aspect-ratio: 4 / 3;
  }

  .feature__media > img {
    object-position: 50% 35%;
  }

  .about__media > img {
    object-position: 50% 75%;
  }
}

@media (max-width: 699px) {
  /* Aktuelle Arbeiten: Wischreihe. Die naechste Karte schaut am Rand an,
     damit klar ist, dass es weitergeht. */
  .cards {
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    gap: var(--space-2);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }

  .card {
    scroll-snap-align: start;
  }

  /* Fotos mit Bildunterschrift paarweise nebeneinander, quadratisch */
  .figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
  }

  .figures--wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .figures:not(.figures--wide) .figures__media {
    aspect-ratio: 1 / 1;
  }

  /* Team-Seite: Claudia und Martina auch auf dem Handy nebeneinander */
  .members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
    margin-top: var(--space-5);
  }

  .member__name {
    margin-top: var(--space-2);
    font-size: 24px;
  }

  /* Was uns wichtig ist: zwei Spalten statt sechs Bloecke untereinander */
  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-3);
    row-gap: var(--space-4);
    margin-top: var(--space-5);
  }

  .value__title {
    font-size: 24px;
  }

  .value__text {
    margin-top: var(--space-1);
  }
}

/* Rechtsseiten: der erste Absatztitel braucht keinen zusaetzlichen Abstand
   nach dem Seitenkopf (vorher fast 100 px Luecke). */
.prose > h2:first-child {
  margin-top: 0;
}

/* Rechtsseiten: Begleittext unter der Ueberschrift statt allein oben rechts
   neben einer langen, einspaltigen Erklaerung. */
@media (min-width: 900px) {
  .page-intro--stacked .page-intro__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-intro--stacked .page-intro__text {
    justify-self: start;
    padding-top: 0;
  }
}

/* Einblicke in den Salon (Salon-Seite): Raumfotos im Querformat. Auf dem
   Handy eine Wischreihe wie bei den Arbeiten, damit vier breite Fotos nicht
   bildschirmhoch untereinander stehen. */
.einblicke {
  display: grid;
  gap: var(--grid-gap);
}

.einblick {
  margin: 0;
  min-width: 0;
}

.einblick__media {
  aspect-ratio: 3 / 2;
}

.einblick__caption {
  margin-top: var(--space-1);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
}

@media (max-width: 699px) {
  .einblicke {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: var(--space-2);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .einblicke::-webkit-scrollbar {
    display: none;
  }

  .einblick {
    scroll-snap-align: start;
  }

  .einblick__media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 700px) {
  .einblicke {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Kartenfeld mit Fassade (Foto 1603: Tuer links, Schaufenster rechts).
   Am Computer liegt der Hinweis unten auf dem Foto; der Ausschnitt haelt Tuer
   und Schriftzug im Bild. Auf Handy und Tablet steht das Foto ueber dem
   Hinweis, damit der Text die Fassade nicht verdeckt. */
.embed-gate__media img {
  object-position: 58% 50%;
}

@media (max-width: 899px) {
  .embed-gate--map {
    min-height: 0;
    padding-top: 0;
  }

  .embed-gate--map .embed-gate__media {
    position: relative;
    inset: auto;
    z-index: auto;
    aspect-ratio: 4 / 3;
    margin: 0 calc(-1 * var(--space-4)) var(--space-1);
  }

  .embed-gate--map::before {
    display: none;
  }
}
