/* Hairstyling by Argelys – Stylesheet
   Farben aufgenommen von der Schaufensterschrift (Kupfer) und dem Salon (warmes Grau, Creme). */

:root {
  --kupfer: #b25f2c;
  --kupfer-dunkel: #8f4a1f;
  --gold: #d9ab6d;
  --tinte: #241f1c;
  --grau: #6d645d;
  --linie: #e3dcd4;
  --creme: #faf7f3;
  --creme-tief: #f2ece5;
  --weiss: #fff;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(178, 95, 44, .15);
  overflow-wrap: break-word;
}

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

a { color: var(--kupfer-dunkel); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--kupfer); }

h1, h2, h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.2;
  text-wrap: balance; /* hübschere Zeilenumbrüche, v.a. auf dem Handy */
}

/* Ankersprünge sollen nicht unter dem klebenden Kopf landen. */
main section[id] { scroll-margin-top: 84px; }

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--tinte); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 3px; }

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

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}

.kopf-innen {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 68px;
}

.marke { text-decoration: none; color: var(--tinte); line-height: 1.05; }
.marke-name {
  display: block; font-family: var(--serif); font-size: 1.3rem; letter-spacing: .01em;
}
.marke-zusatz {
  display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--kupfer);
}

.kopf nav { margin-left: auto; }
.kopf nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

/* Sprachumschalter – bleibt auch auf dem Handy sichtbar. */
.sprachen {
  display: flex; align-items: center; gap: .1rem;
  font-size: .8rem; letter-spacing: .08em;
}
.kopf nav.sprachen { margin-left: 0; }
.sprachen > * { padding: .5rem .45rem; }
.sprachen a { color: var(--grau); text-decoration: none; }
.sprachen a:hover { color: var(--kupfer); }
.sprachen [aria-current] { color: var(--tinte); box-shadow: inset 0 -2px 0 var(--kupfer); }
.kopf nav a {
  color: var(--grau); text-decoration: none;
  font-size: .93rem; letter-spacing: .02em;
}
.kopf nav a:hover { color: var(--kupfer); }

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

.knopf {
  display: inline-block;
  background: var(--kupfer); color: #fff;
  padding: .8rem 1.5rem; border-radius: 2px;
  font-size: .95rem; letter-spacing: .04em;
  text-decoration: none;
  transition: background .15s ease;
}
.knopf:hover { background: var(--kupfer-dunkel); color: #fff; }

.knopf-hell {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.knopf-hell:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.knopf-klein { padding: .55rem 1rem; font-size: .88rem; white-space: nowrap; }

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

.hero { position: relative; background: var(--tinte); }

.hero-bild {
  width: 100%; height: clamp(360px, 62vh, 620px);
  object-fit: cover; object-position: 50% 42%;
  opacity: .55;
}

.hero-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 2rem 1.25rem;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .45);
}

.hero-ort {
  margin: 0 0 1rem;
  font-size: clamp(.65rem, 2.4vw, .78rem);
  letter-spacing: clamp(.1em, .5vw, .22em);
  line-height: 1.5; text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0; font-size: clamp(2.1rem, 6.2vw, 3.9rem); font-weight: 400;
}

.hero-slogan {
  margin: .85rem 0 2rem; font-size: clamp(.98rem, 2.1vw, 1.15rem);
  letter-spacing: .03em; color: #f0e8df;
}

.hero-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- Fakten ---------- */

.fakten { background: var(--creme-tief); }

.fakten-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem; padding-top: 2.25rem; padding-bottom: 2.25rem;
}
.fakten-grid h2 {
  margin: 0 0 .4rem; font-family: var(--sans);
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--kupfer);
}
.fakten-grid p { margin: 0; }

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

section { padding: 4.25rem 0; }
.hero, .fakten { padding: 0; }

.label {
  margin: 0 0 .5rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--kupfer);
}

section > .wrap > h2, .ueber-text h2, .zeiten-grid h2, .kontakt-grid h2 {
  margin: 0 0 1.5rem; font-size: clamp(1.6rem, 3.6vw, 2.3rem);
}

/* ---------- Über ---------- */

.ueber-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start;
}
.ueber-bild img {
  width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 22%;
  border-radius: 2px;
}
.ueber-text p { color: #38312c; }
.ueber-hinweis {
  margin-top: 1.5rem; padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic; color: var(--grau);
}

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

.leistungen { background: var(--creme); }

.karten {
  /* 290px sorgt bei fünf Karten für 3 + 2 statt 4 + 1 einsame Karte. */
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem; list-style: none; margin: 0; padding: 0;
}
.karten li {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
  padding: 1.6rem 1.5rem;
}
.karten h3 {
  margin: 0 0 .5rem; font-size: 1.2rem;
}
.karten p { margin: 0; font-size: .97rem; color: var(--grau); }

.leistungen-preis {
  margin: 2rem 0 0; font-size: .97rem; color: var(--grau);
}

/* ---------- Öffnungszeiten ---------- */

.zeiten-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }

.status {
  display: inline-block; margin: 0 0 1rem;
  padding: .28rem .8rem; border-radius: 999px;
  font-size: .8rem; letter-spacing: .04em;
}
.status-offen { background: #e7f0e6; color: #33642f; }
.status-zu { background: var(--creme-tief); color: var(--grau); }

.zeiten-tabelle { width: 100%; border-collapse: collapse; }
.zeiten-tabelle th,
.zeiten-tabelle td {
  text-align: left; padding: .7rem .25rem;
  border-bottom: 1px solid var(--linie);
  font-weight: 400;
}
.zeiten-tabelle td { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten-tabelle tr.heute th,
.zeiten-tabelle tr.heute td { color: var(--kupfer-dunkel); font-weight: 600; }

.heute-marke {
  margin-left: .6rem; padding: .1rem .45rem;
  background: var(--kupfer); color: #fff; border-radius: 2px;
  font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400;
  vertical-align: 1px;
}

.zeiten-hinweis { margin: 1.5rem 0 0; font-size: .95rem; color: var(--grau); }

.zeiten-bild img { width: 100%; border-radius: 2px; }

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

.galerie { background: var(--creme); }

.galerie-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.galerie-grid img {
  width: 100%; height: 320px; object-fit: cover; border-radius: 2px;
}
.galerie-hinweis { margin: 1.75rem 0 0; font-size: .97rem; color: var(--grau); }

/* ---------- Kontakt ---------- */

.kontakt-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }

.kontakt-liste { margin: 0 0 2rem; }
.kontakt-liste dt {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--kupfer); margin-top: 1.1rem;
}
.kontakt-liste dt:first-child { margin-top: 0; }
.kontakt-liste dd { margin: .2rem 0 0; }

.kontakt-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.kontakt-knoepfe .knopf-hell {
  color: var(--kupfer-dunkel); box-shadow: inset 0 0 0 1px var(--kupfer);
}
.kontakt-knoepfe .knopf-hell:hover { background: var(--creme-tief); color: var(--kupfer-dunkel); }

.anfahrt {
  background: var(--creme-tief); border-radius: 2px; padding: 1.75rem 1.6rem;
  align-self: start;
}
.anfahrt h3 { margin: 0 0 .75rem; font-size: 1.25rem; }
.anfahrt p { margin: 0 0 .9rem; font-size: .97rem; color: var(--grau); }
.anfahrt-karte { margin-bottom: 0; }

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

.fuss {
  background: var(--tinte); color: #cfc6bd;
  padding: 3rem 0 5.5rem; text-align: center;
}
.fuss a { color: var(--gold); }
.fuss p { margin: .3rem 0; font-size: .95rem; }
.fuss-marke { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-bottom: .6rem; }
.fuss-klein { margin-top: 1.4rem; font-size: .82rem; color: #8d837a; }

/* ---------- Ruf-Leiste (nur Mobile) ---------- */

.ruf-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none;
  background: var(--kupfer); color: #fff;
  /* env(safe-area-inset-*) hält die Leiste über dem iPhone-Home-Balken. */
  padding: .95rem calc(1rem + env(safe-area-inset-right))
           calc(.95rem + env(safe-area-inset-bottom))
           calc(1rem + env(safe-area-inset-left));
  text-align: center;
  font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .18);
}
.ruf-leiste:hover, .ruf-leiste:active { color: #fff; }
.ruf-leiste:active { background: var(--kupfer-dunkel); }

/* ---------- Breakpoints ---------- */

@media (max-width: 700px) {
  .kopf nav { display: none; }
  /* Der Sprachumschalter bleibt – nur die Abschnittsnavigation verschwindet. */
  .kopf nav.sprachen { display: flex; margin-left: auto; }
  /* Die Nummer steht schon dauerhaft in der Anrufleiste unten – im Kopf wäre sie doppelt. */
  .kopf-innen .knopf-klein { display: none; }
  .kopf-innen { min-height: 60px; }
  .marke-name { font-size: 1.22rem; }

  .ruf-leiste { display: block; }

  main section[id] { scroll-margin-top: 72px; }
  section { padding: 3.25rem 0; }

  /* Hero: ein ruhigerer Ausschnitt und gleich breite, gut treffbare Knöpfe. */
  .hero-bild { height: clamp(340px, 56vh, 480px); }
  .hero-text { padding: 1.75rem 1.25rem; }
  .hero-slogan { margin-bottom: 1.75rem; max-width: 20rem; }
  .hero-knoepfe { flex-direction: column; align-items: stretch; width: 100%; max-width: 17rem; }
  .hero-knoepfe .knopf { width: 100%; text-align: center; }

  .fakten-grid { gap: 1.35rem; padding-top: 1.9rem; padding-bottom: 1.9rem; }

  /* Nummern und Handle als grössere Tap-Ziele (rund 44px hoch). */
  .fakten-grid a, .kontakt-liste a {
    display: inline-block; padding: .65rem 0; line-height: 1.4;
  }

  /* Hochformat-Bilder nicht auf ein Landschaftsformat quetschen. */
  .galerie-grid { gap: .75rem; }
  .galerie-grid img { height: auto; aspect-ratio: 4 / 5; }
  .ueber-bild img { max-height: none; aspect-ratio: 4 / 5; }

  /* Deutsche Langwörter sauber trennen statt Flatterrand. */
  .ueber-text p, .karten p, .anfahrt p, .zeiten-hinweis, .leistungen-preis { hyphens: auto; }

  .karten li { padding: 1.4rem 1.3rem; }
  .zeiten-tabelle th, .zeiten-tabelle td { padding: .62rem .15rem; }

  .anfahrt { padding: 1.5rem 1.3rem; }

  /* Platz für die fixe Anrufleiste, inklusive Home-Balken. */
  .fuss { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* Sehr schmale Geräte (ab ca. 360px abwärts). */
@media (max-width: 360px) {
  .wrap { padding: 0 1rem; }
  .hero h1 { font-size: 1.95rem; }
  .ruf-leiste { font-size: .88rem; }
}

@media (min-width: 760px) {
  .ueber-grid { grid-template-columns: 0.85fr 1fr; gap: 3.25rem; }
  .zeiten-grid { grid-template-columns: 1fr 1fr; gap: 3.25rem; }
  .kontakt-grid { grid-template-columns: 1.15fr .85fr; gap: 3.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .kopf, .ruf-leiste, .hero-knoepfe, .kontakt-knoepfe { display: none; }
  body { font-size: 11pt; }
}
