/*
  Beispielseite «Coiffeur Muster» (erfundener Betrieb) für webbach
  Eigenes Aussehen, damit sie wie die Seite eines Kunden wirkt: ruhig, wie ein
  Modeheft, mit Bogenformen, grossen Ziffern und viel Weissraum.
  Gleiche Regeln wie die Hauptseite: mobile zuerst, Farben nur über Variablen,
  keine Inline-Stile, keine Skripte, nur Schriften vom eigenen Server.
  Kontrast: werkzeuge/kontrast_beispiele.py
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../schriften/fraunces-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../schriften/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../schriften/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Farben ---------- */

:root {
  --pflaume: #6E3B5E;
  --gold: #B08D57;

  --bg: #FBF6F3;
  --bg-alt: #F4E6EC;
  --karte: #FFFFFF;
  --text: #2B1B26;
  --text-leise: #6A5462;
  --linie: #E4CFD9;
  --akzent: var(--pflaume);
  --fokus: #2B1B26;

  --knopf: var(--pflaume);
  --knopf-text: #FFFFFF;
  --knopf-hover: #552C48;

  --bogen: #EBD3DE;

  /* immer dunkel: Termin-Kasten und Fusszeile */
  --dunkel: #2A1724;
  --dunkel-text: #F8ECF2;
  --dunkel-leise: #D9C1CF;
  --dunkel-fokus: #F0B8D6;

  /* Zeichnungen in der Galerie (in beiden Modi gleich) */
  --g-haut: #F6E3EA;
  --g-kleid: #6E3B5E;
  --g-haar-dunkel: #3A2430;
  --g-haar-mittel: #7A4A35;
  --g-bogen-1: #E7C9D6;
  --g-bogen-2: #D9D2E4;
  --g-bogen-3: #EED8C8;
  --g-bogen-4: #DCCBD6;

  /* Leiste unten auf dem Handy */
  --aktion-bg: var(--karte);
  --aktion-text: var(--akzent);
  --aktion-rand: var(--akzent);
  --aktion-linie: var(--linie);
  --aktion-fokus: var(--fokus);

  /* Hinweisband von webbach */
  --band: #14232B;
  --band-text: #FAF6EE;
  --band-link: #F2B49F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #170F15;
    --bg-alt: #20151D;
    --karte: #281A24;
    --text: #F5E9F0;
    --text-leise: #CDB5C4;
    --linie: #3E2C38;
    --akzent: #E3A6CF;
    --fokus: #F0B8D6;

    --knopf: #E3A6CF;
    --knopf-text: #170F15;
    --knopf-hover: #EDC0DD;

    --bogen: #2E1D29;

    --dunkel: #0F090D;
  }
}

/* ---------- Grundlagen ---------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  /* Lange Wörter (z. B. «mehrwertsteuerpflichtig») bei grosser Schrift umbrechen,
     statt über den Rand zu laufen (Audit 15.11.2026, W-005). Bewusst ohne hyphens: auto */
  overflow-wrap: break-word;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
}

a {
  color: var(--akzent);
  text-underline-offset: 0.18em;
}

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

svg {
  display: block;
}

.huelle {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

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

.sprung {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--knopf);
  color: var(--knopf-text);
  font-weight: 600;
}

.sprung:focus {
  top: 1rem;
}

/* ---------- Hinweisband (gehört zu webbach, nicht zum Salon) ---------- */

.hinweis {
  background: var(--band);
  color: var(--band-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.hinweis__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding-block: 0.65rem;
}

.hinweis__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.hinweis a {
  color: var(--band-link);
  font-weight: 600;
}

.hinweis a:focus-visible {
  outline-color: var(--band-link);
}

/* ---------- Kopf ---------- */

.kopf {
  border-bottom: 1px solid var(--linie);
  background: var(--bg);
}

.kopf__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.6rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
}

.logo svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.logo__ring {
  fill: none;
  stroke: var(--akzent);
  stroke-width: 1.5;
}

.logo__schere {
  fill: none;
  stroke: var(--akzent);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.logo__name {
  display: grid;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.1rem, 0.85rem + 1.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.1;
}

.logo__ort {
  color: var(--text-leise);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav {
  order: 3;
  width: 100%;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--akzent);
}

@media (min-width: 860px) {
  .nav {
    order: 0;
    width: auto;
  }

  .nav ul {
    gap: 2.25rem;
  }

  .nav a {
    letter-spacing: 0.14em;
  }
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--knopf);
  border-radius: 999px;
  background: var(--knopf);
  color: var(--knopf-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.knopf:hover {
  border-color: var(--knopf-hover);
  background: var(--knopf-hover);
}

.knopf--klein {
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

.knopf--rand {
  background: transparent;
  color: var(--akzent);
}

.knopf--rand:hover {
  border-color: var(--akzent);
  background: var(--bg-alt);
}

/* ---------- Bogen (Grundform der Seite) ---------- */

.bogen {
  overflow: hidden;
  border-radius: 999px 999px 14px 14px;
  background: var(--bogen);
}

.bogen svg,
.bogen img {
  display: block;
  width: 100%;
  height: 100%;
}

.bogen img {
  object-fit: cover;
}

figure.bogen {
  margin: 0;
}

/* ---------- Kopfbild ---------- */

.held__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  padding-block: 2.75rem 3.5rem;
}

.held h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.held__zweit {
  display: block;
  margin-top: 0.2em;
  color: var(--akzent);
}

.held__satz {
  max-width: 32rem;
  margin-top: 1.4rem;
  color: var(--text-leise);
  font-size: 1.125rem;
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.held__zeiten {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linie);
  color: var(--text-leise);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.held__bogen {
  justify-self: center;
  width: min(100%, 300px);
  aspect-ratio: 300 / 380;
}

@media (min-width: 860px) {
  .held__raster {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 4rem;
    padding-block: 4.5rem 5.5rem;
  }

  .held__bogen {
    width: 100%;
  }
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  padding-block: 3.75rem;
}

.abschnitt--alt {
  background: var(--bg-alt);
}

@media (min-width: 860px) {
  .abschnitt {
    padding-block: 5.5rem;
  }
}

.dach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  color: var(--akzent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dach::after {
  content: "";
  flex: 0 0 3rem;
  height: 1px;
  background: currentColor;
}

.dach + h1,
.dach + h2 {
  margin-top: 0.6rem;
}

.einleitung {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--text-leise);
}

.klein {
  margin-top: 1rem;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

/* ---------- Leistungen ---------- */

.leistungen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .leistungen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.leistungen li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie);
}

.leistungen__zahl {
  display: block;
  color: transparent;
  font-family: "Fraunces", Georgia, serif;
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--akzent);
}

.leistungen h3 {
  margin-top: 0.75rem;
}

.leistungen p {
  margin-top: 0.5rem;
  color: var(--text-leise);
}

/* ---------- Preise ---------- */

.preise {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 900px) {
  .preise {
    grid-template-columns: 1.25fr 1fr 1fr;
    align-items: start;
  }
}

.preise__gruppe {
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: 14px;
  background: var(--karte);
}

.preise__gruppe h3 {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--akzent);
  font-size: 1.5rem;
}

.liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.liste li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--linie);
}

.liste li:last-child {
  border-bottom: 0;
}

.liste__preis {
  color: var(--akzent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ab {
  color: var(--text-leise);
  font-size: 0.8125rem;
  font-weight: 400;
}

.preise__tipp {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: 0.9375rem;
}

/* ---------- Galerie ---------- */

.galerie {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .galerie {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .galerie li:nth-child(even) {
    margin-top: 3rem;
  }
}

.galerie figure {
  margin: 0;
}

.galerie .bogen {
  aspect-ratio: 4 / 5;
}

.galerie figcaption {
  margin-top: 0.7rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.bogen--1 { background: var(--g-bogen-1); }
.bogen--2 { background: var(--g-bogen-2); }
.bogen--3 { background: var(--g-bogen-3); }
.bogen--4 { background: var(--g-bogen-4); }

.g-haut { fill: var(--g-haut); }
.g-kleid { fill: var(--g-kleid); }
.g-haar-dunkel { fill: var(--g-haar-dunkel); }
.g-haar-mittel { fill: var(--g-haar-mittel); }
.g-bart { opacity: 0.85; }
.g-gold { fill: var(--gold); }
.g-auge,
.g-braue,
.g-nase,
.g-mund {
  fill: none;
  stroke-linecap: round;
}
.g-auge { stroke: var(--g-haar-dunkel); stroke-width: 2; }
.g-braue { stroke: var(--g-haar-dunkel); opacity: 0.7; }
.g-nase { stroke: #D2AFBE; stroke-width: 1.6; }
.g-mund { stroke: #B5677F; stroke-width: 2.6; }
.g-wange { fill: #F0C3D3; opacity: 0.55; }

.g-welle {
  fill: none;
  stroke: rgb(255 255 255 / 0.28);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.g-welle--hell {
  stroke: rgb(255 255 255 / 0.4);
}

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

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

.team li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
}

.team__bild {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--akzent);
  border-radius: 50%;
  background: var(--karte);
  color: var(--akzent);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.team p {
  color: var(--text-leise);
  font-size: 0.9375rem;
}

/* ---------- Termin ---------- */

.zwei {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
}

@media (min-width: 860px) {
  .zwei {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 4rem;
  }
}

.termin {
  padding: 2.25rem 1.6rem;
  border-radius: 200px 200px 16px 16px;
  background: var(--dunkel);
  color: var(--dunkel-text);
  text-align: center;
}

@media (min-width: 860px) {
  .termin {
    padding: 4rem 2.5rem 2.75rem;
  }
}

.termin .dach {
  justify-content: center;
}

.dach--hell {
  color: var(--dunkel-fokus);
}

.dach--hell::before {
  content: "";
  flex: 0 0 3rem;
  height: 1px;
  background: currentColor;
}

.termin p {
  margin-top: 0.8rem;
  color: var(--dunkel-leise);
}

.termin__nummer a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--dunkel-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 2.9rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.termin__nummer a:hover {
  text-decoration: underline;
}

.termin a:focus-visible {
  outline-color: var(--dunkel-fokus);
}

.termin .termin__klein {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.klein-titel {
  font-size: 1.6rem;
}

.klein-titel--abstand {
  margin-top: 2.25rem;
}

.zeiten {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.zeiten th,
.zeiten td {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--linie);
  text-align: left;
  vertical-align: top;
}

.zeiten th {
  padding-right: 1rem;
  font-weight: 400;
}

.zeiten td {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.adresse {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
}

/* ---------- Fuss ---------- */

.fuss {
  padding-block: 2.5rem 3rem;
  background: var(--dunkel);
  color: var(--dunkel-leise);
  font-size: 0.9375rem;
}

.fuss p + p {
  margin-top: 0.5rem;
}

.fuss__name {
  color: var(--dunkel-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.fuss a {
  color: var(--dunkel-text);
}

.fuss a:focus-visible {
  outline-color: var(--dunkel-fokus);
}

.fuss__klein {
  max-width: 46rem;
  font-size: 0.875rem;
}

.fuss .fuss__beispiel {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(248 236 242 / 0.14);
}

/* ---------- Schnellzugriff auf dem Handy (feste Leiste unten) ---------- */

.aktionen {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--aktion-linie);
  background: var(--aktion-bg);
  box-shadow: 0 -10px 24px -14px rgb(0 0 0 / 0.35);
}

.aktionen a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.5rem 0.6rem;
  border: 2px solid var(--aktion-rand);
  border-radius: 999px;
  color: var(--aktion-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.aktionen .aktionen__haupt {
  border-color: var(--knopf);
  background: var(--knopf);
  color: var(--knopf-text);
}

.aktionen svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.aktionen a:focus-visible {
  outline: 3px solid var(--aktion-fokus);
  outline-offset: 2px;
}

/* Platz, damit die Leiste das Ende der Fusszeile nicht verdeckt */
@media (max-width: 759px) {
  .fuss {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 760px) {
  .aktionen {
    display: none;
  }
}
