/* HAIR INN BY MERT — statische Seite, ohne Fremddienste.
   Keine Google Fonts, kein Maps-Einbau, kein Tracker: Was die Seite lädt,
   lädt sie von ihrem eigenen Server. Einzige Ausnahme ist das
   Treatwell-Fenster, und das erst nach einem Klick. */

:root {
  --schwarz: #0d0d0d;
  --tinte: #1a1a1a;
  --grau: #6b6b6b;
  --grau-hell: #b4b4b4;
  --linie: #e4e4e4;
  --papier: #ffffff;
  --sand: #f6f5f3;
  --breite: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------- Kopfleiste */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf .huelle {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.kopf img { width: 178px; }
.navi { display: flex; align-items: center; gap: 28px; }
.navi a {
  text-decoration: none; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grau);
}
.navi a:hover { color: var(--schwarz); }

.knopf {
  display: inline-block; text-decoration: none;
  background: var(--schwarz); color: #fff;
  padding: 13px 26px; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--schwarz);
}
.knopf:hover { background: #fff; color: var(--schwarz); }
.knopf.hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.knopf.hell:hover { background: #fff; color: var(--schwarz); border-color: #fff; }

/* ------------------------------------------------------------- Auftakt */
.auftakt { position: relative; background: var(--schwarz); overflow: hidden; }
.auftakt img.foto {
  width: 100%; height: clamp(420px, 68vh, 680px);
  object-fit: cover; opacity: .55;
}
.auftakt .text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; color: #fff;
}
.auftakt .marke { width: min(460px, 78vw); margin-bottom: 26px; }
.auftakt p.zeile {
  margin: 0 0 6px; font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 2.6vw, 26px); color: #fff;
}
.auftakt p.ort {
  margin: 0 0 30px; font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--grau-hell);
}

/* ------------------------------------------------------------ Abschnitt */
section { padding: 88px 0; }
section.sand { background: var(--sand); }

.titel {
  margin: 0 0 10px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.01em;
}
.ueber {
  margin: 0 0 14px; font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--grau);
}
.fliess { max-width: 62ch; color: #333; }
.mitte { text-align: center; }
.mitte .fliess { margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------------- Team */
.team {
  display: grid; gap: 34px; margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.person img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; }
.person h3 { margin: 20px 0 2px; font-size: 20px; font-weight: 600; }
.person .rolle {
  margin: 0 0 12px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--grau);
}
.person p { margin: 0; font-size: 15.5px; color: #444; }

/* ---------------------------------------------------------------- Preise */
.preisgruppe { margin-top: 44px; }
.preisgruppe h3 {
  margin: 0 0 4px; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--grau);
}
table { width: 100%; border-collapse: collapse; font-size: 16px; }
thead th {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grau); font-weight: 600; text-align: right;
  padding: 10px 8px; border-bottom: 1px solid var(--linie);
}
thead th:first-child { text-align: left; }
tbody td { padding: 13px 8px; border-bottom: 1px solid var(--linie); text-align: right; }
tbody td:first-child { text-align: left; }
tbody tr:hover { background: rgba(0,0,0,.02); }
.leistung { font-weight: 500; }
.leistung small { display: block; font-weight: 400; color: var(--grau); font-size: 13.5px; }
.hinweis { margin-top: 28px; font-size: 14px; color: var(--grau); max-width: 62ch; }

/* -------------------------------------------------------------- Zeiten */
.zwei { display: grid; gap: 56px; grid-template-columns: 1fr 1fr; align-items: start; }
.zeiten { width: 100%; }
.zeiten div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid var(--linie);
}
.zeiten .zu { color: var(--grau); }
.kontaktblock p { margin: 0 0 8px; }
.kontaktblock a { text-decoration: none; border-bottom: 1px solid var(--linie); }
.kontaktblock a:hover { border-color: var(--schwarz); }
.gross { font-family: var(--serif); font-size: 26px; }

/* ------------------------------------------------------------ Buchung */
.buchung { background: var(--schwarz); color: #fff; text-align: center; }
.buchung .titel { color: #fff; }
.buchung p { color: var(--grau-hell); max-width: 54ch; margin: 0 auto 28px; }

/* ---------------------------------------------------------------- Fuss */
.fuss { background: var(--schwarz); color: var(--grau-hell); padding: 56px 0 36px; font-size: 14.5px; }
.fuss img { width: 190px; margin-bottom: 26px; }
.fuss a { color: var(--grau-hell); text-decoration: none; }
.fuss a:hover { color: #fff; }
.fussgitter { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fuss h4 {
  margin: 0 0 12px; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: #fff; font-weight: 600;
}
.schluss {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: 13px;
}

/* ------------------------------------------------------ Buchungsfenster
   Das Treatwell-Fenster liegt ueber der Seite. Der Rahmen bekommt seine
   Adresse ERST beim ersten Oeffnen (siehe Skript in index.html): Wer nie auf
   „Termin buchen" klickt, baut auch keine Verbindung zu Treatwell auf. */
.vorhang {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, .82);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.vorhang.offen { display: flex; }

.fenster {
  position: relative;
  width: min(940px, 100%);
  height: min(86vh, 900px);
  background: #fff;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.fensterkopf {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 16px 14px 20px;
  border-bottom: 1px solid var(--linie); flex: 0 0 auto;
}
.fensterkopf strong {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.zu-knopf {
  border: 0; background: transparent; cursor: pointer;
  font-size: 26px; line-height: 1; padding: 4px 10px; color: var(--grau);
}
.zu-knopf:hover { color: var(--schwarz); }
.fenster iframe { flex: 1 1 auto; width: 100%; border: 0; }
.fensterfuss {
  flex: 0 0 auto; padding: 11px 20px; border-top: 1px solid var(--linie);
  font-size: 13px; color: var(--grau); text-align: center;
}
.fensterfuss a { color: var(--grau); }
.fensterfuss a:hover { color: var(--schwarz); }
body.starr { overflow: hidden; }

@media (max-width: 640px) {
  .vorhang { padding: 0; }
  .fenster { height: 100%; width: 100%; }
}

/* --------------------------------------------------------- Rechtsseiten */
.rechtstext { max-width: 74ch; padding: 60px 0 80px; }
.rechtstext h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 40px); margin: 0 0 8px; }
.rechtstext h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 44px 0 10px; color: var(--grau); }
.rechtstext h3 { font-size: 17px; margin: 26px 0 6px; }
.rechtstext p, .rechtstext li { color: #333; }
.rechtstext a { word-break: break-word; }
.zurueck { display: inline-block; margin-top: 44px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); text-decoration: none; }
.zurueck:hover { color: var(--schwarz); }

@media (max-width: 860px) {
  .navi a:not(.knopf) { display: none; }
  .zwei { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 64px 0; }
  table { font-size: 15px; }
  thead th, tbody td { padding-left: 4px; padding-right: 4px; }
}
