/* Coiffure Sensazione – Entwurf von Seetalwebsites */

:root {
  --stein: #ECE5E1;
  --puder: #E1D6D0;
  --tinte: #2B1519;
  --bordeaux: #7B1E32;
  --bordeaux-tief: #63172A;
  --hell: #F3ECE8;

  --t1: rgba(43, 21, 25, 0.92);
  --t2: rgba(43, 21, 25, 0.68);
  --t3: rgba(43, 21, 25, 0.48);
  --h2: rgba(243, 236, 232, 0.70);
  --h3: rgba(243, 236, 232, 0.50);

  --serif: "Italiana", "Didot", "Bodoni 72", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --rand: 20px;
  --luft: 64px;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
}

@media (min-width: 900px) {
  :root { --rand: 40px; --luft: 104px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--stein);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 900px) { body { font-size: 18px; } }

img { display: block; max-width: 100%; }
a { color: inherit; }
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--tinte);
}
@media (min-width: 900px) { h2 { font-size: 64px; } }
p { margin: 0 0 16px; max-width: 34em; }

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

.rahmen {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* ---------- Balken und Kopf ---------- */

.balken {
  margin: 0;
  max-width: none;
  background: var(--tinte);
  color: var(--hell);
  text-align: center;
  font-size: 14px;
  line-height: 1;
  padding: 11px var(--rand);
}
.balken a { text-decoration: none; display: inline-block; padding: 10px 0; margin: -10px 0; }
.balken a:hover { text-decoration: underline; text-underline-offset: 3px; }

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(236, 229, 225, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 21, 25, 0.08);
}
.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.kopf__marke {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.01em;
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
  color: var(--tinte);
}
.kopf__nav { display: none; gap: 40px; font-size: 15px; }
.kopf__nav a { text-decoration: none; color: var(--t2); transition: color 150ms ease-out; }
.kopf__nav a:hover { color: var(--tinte); }
@media (min-width: 900px) {
  .kopf__nav { display: flex; margin-left: auto; }
}

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

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bordeaux);
  color: var(--hell);
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.knopf:hover { background: var(--bordeaux-tief); }
.knopf:active { transform: scale(0.98); }
.knopf--klein { min-height: 40px; padding: 0 16px; font-size: 15px; }
.knopf--hell { background: var(--hell); color: var(--tinte); }
.knopf--hell:hover { background: #fff8f4; }

.klein { font-size: 14px; color: var(--t3); }

.platzhalter {
  border: 1px dashed rgba(43, 21, 25, 0.3);
  border-radius: 8px;
  padding: 16px;
  font-size: 15px;
  color: var(--t2);
}

/* ---------- Einstieg ---------- */

.start {
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
}
.start__titel {
  margin: 0;
  font-weight: 400;
  color: var(--tinte);
}
.start__vor {
  display: block;
  font: 500 16px/1.2 var(--sans);
  color: var(--t2);
  margin-bottom: 8px;
}
.maske { display: block; overflow: hidden; padding-bottom: 0.06em; }
.start__name {
  display: block;
  font-family: var(--serif);
  font-size: 19.6vw;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-left: -0.04em;
}
.start__was {
  display: block;
  margin-top: 16px;
  font: 500 20px/1.2 var(--sans);
  color: var(--bordeaux);
}
.start__text { margin-top: 24px; }
.start__satz { color: var(--t2); }
.start__aktion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}
.jetzt {
  margin: 0;
  font-size: 15px;
  color: var(--t2);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.jetzt::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--t3);
  flex: none;
}
.jetzt.ist-offen::before { background: #2F7D4F; box-shadow: 0 0 0 4px rgba(47, 125, 79, 0.15); }
.jetzt--hell { color: var(--h2); }

.start__bild {
  margin: 40px 0 0;
  position: relative;
  height: 420px;
}
.bogen { border-radius: 999px 999px 0 0; overflow: hidden; }
.start__bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
figcaption {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 1;
  font-size: 12px;
  color: var(--hell);
  background: rgba(43, 21, 25, 0.55);
  padding: 4px 8px;
  border-radius: 4px;
}

@media (min-width: 900px) {
  .start {
    padding-top: 64px;
    grid-template-columns: 1fr 400px;
    column-gap: 64px;
    align-items: end;
    padding-bottom: 40px;
  }
  .start__name { font-size: min(10.4vw, 148px); }
  .start__was { font-size: 24px; margin-top: 24px; }
  .start__titel { grid-column: 1; grid-row: 1; }
  .start__text { grid-column: 1; grid-row: 2; margin-top: 40px; align-self: start; }
  .start__bild { grid-column: 2; grid-row: 1 / span 2; height: 540px; margin-top: 0; align-self: center; }
}

/* ---------- Salon ---------- */

.salon {
  padding-top: var(--luft);
  padding-bottom: var(--luft);
  display: grid;
  gap: 40px;
}
.salon__bilder { position: relative; padding-bottom: 64px; }
.salon__hoch { margin: 0; position: relative; width: 78%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
figcaption.oben { bottom: auto; top: 16px; right: auto; left: 16px; }
.salon__hoch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.salon__rund {
  margin: 0;
  position: absolute;
  right: 0; bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--stein);
}
.salon__rund img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; }
.salon__text p:not(.platzhalter) { font-size: 20px; color: var(--t1); }
.salon__text .platzhalter { margin-top: 24px; }

@media (min-width: 900px) {
  .salon { grid-template-columns: 1fr 1fr; gap: 104px; align-items: center; }
  .salon__text p:not(.platzhalter) { font-size: 22px; }
}

/* ---------- Woche ---------- */

.woche {
  background: var(--puder);
  padding: var(--luft) 0;
}
.woche__innen { display: grid; gap: 40px; grid-template-areas: "text" "plan" "liste"; }
.woche__text { grid-area: text; }
.woche__text p { margin-bottom: 0; }
.woche__liste { grid-area: liste; }
.plan { grid-area: plan; }
.woche__text > p:first-of-type { color: var(--t2); }

.zeiten { margin: 0 0 16px; padding: 0; max-width: 420px; }
.zeiten div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(43, 21, 25, 0.1);
}
.zeiten dt { color: var(--t2); }
.zeiten dd { margin: 0; font-variant-numeric: tabular-nums; }
.zeiten__lang dt, .zeiten__lang dd { color: var(--bordeaux); font-weight: 500; }
.zeiten .ist-heute dt { color: var(--tinte); font-weight: 600; }
.zeiten .ist-heute dt::after { content: " · heute"; font-weight: 400; color: var(--t3); }

.plan {
  margin: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  --hoehe: 340px;
}
.plan__achse { position: relative; height: var(--hoehe); }
.plan__achse span {
  position: absolute;
  left: 0;
  top: calc((var(--h) - 8) / 12 * 100%);
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--t3);
  font-variant-numeric: tabular-nums;
}
.plan__tage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.plan__tag { display: grid; gap: 8px; justify-items: center; }
.plan__tag b { font-weight: 500; font-size: 14px; color: var(--t2); }
.plan__tag.ist-heute b { color: var(--tinte); font-weight: 600; }
.plan__spur {
  position: relative;
  width: 100%;
  height: var(--hoehe);
  border-radius: 4px;
  background:
    repeating-linear-gradient(to bottom, rgba(43, 21, 25, 0.08) 0 1px, transparent 1px calc(var(--hoehe) / 12));
}
.plan__spur i {
  position: absolute;
  left: 0; right: 0;
  top: calc((var(--von) - 8) / 12 * 100%);
  height: calc((var(--bis) - var(--von)) / 12 * 100%);
  background: var(--tinte);
  opacity: 0.82;
  border-radius: 4px;
  transform-origin: top;
  transition: transform 900ms var(--expo);
}
.plan__tag--lang .plan__spur i { background: var(--bordeaux); opacity: 1; }
.plan.wartet .plan__spur i { transform: scaleY(0); }
.plan__tag:nth-child(2) i { transition-delay: 0.06s; }
.plan__tag:nth-child(3) i { transition-delay: 0.12s; }
.plan__tag:nth-child(4) i { transition-delay: 0.18s; }
.plan__tag:nth-child(5) i { transition-delay: 0.24s; }
.plan__tag:nth-child(6) i { transition-delay: 0.30s; }

.plan__jetzt {
  position: absolute;
  left: -4px; right: -4px;
  top: calc(var(--jetzt, 0) * var(--hoehe));
  height: 0;
  border-top: 2px solid var(--bordeaux);
  pointer-events: none;
}
.plan__jetzt span {
  position: absolute;
  left: -4px; top: -5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bordeaux);
}

@media (min-width: 900px) {
  .woche__innen { grid-template-columns: 1fr 1.1fr; grid-template-areas: "text plan" "liste plan"; column-gap: 104px; row-gap: 40px; align-items: start; }
  .plan { --hoehe: 440px; grid-template-columns: 32px 1fr; }
  .plan__tage { gap: 16px; }
}

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

.preise { padding-top: var(--luft); padding-bottom: var(--luft); }
.liste { list-style: none; margin: 0 0 24px; padding: 0; max-width: 760px; }
.liste li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(43, 21, 25, 0.12);
  font-size: 20px;
}
.liste li:first-child { border-top: 1px solid rgba(43, 21, 25, 0.12); }
.liste__preis { font-size: 15px; color: var(--t3); white-space: nowrap; }
.preise .platzhalter { max-width: 760px; }

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

.kontakt {
  background: var(--tinte);
  color: var(--hell);
  padding: var(--luft) 0;
}
.kontakt h2 { color: var(--hell); }
.kontakt__kopf p { color: var(--h2); }
.kontakt__innen { display: grid; gap: 40px; }

.anfrage { display: grid; gap: 24px; }
.anfrage fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.anfrage legend { padding: 0; margin-bottom: 8px; font-size: 15px; color: var(--h2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(243, 236, 232, 0.28);
  border-radius: 999px;
  font-size: 15px;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.chips label:hover span { border-color: rgba(243, 236, 232, 0.6); }
.chips input:checked + span { background: var(--hell); border-color: var(--hell); color: var(--tinte); }
.chips input:focus-visible + span { outline: 2px solid var(--hell); outline-offset: 2px; }
.chips input:disabled + span { opacity: 0.35; }
.chips input:disabled { cursor: not-allowed; }

.feld { display: grid; gap: 8px; }
.feld span { font-size: 15px; color: var(--h2); }
.feld input, .feld textarea {
  width: 100%;
  font: 400 17px/1.4 var(--sans);
  color: var(--hell);
  background: rgba(243, 236, 232, 0.06);
  border: 1px solid rgba(243, 236, 232, 0.22);
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color 150ms ease-out;
}
.feld textarea { resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--hell); }
.feld textarea::placeholder { color: var(--h3); }
.anfrage .knopf { justify-self: start; }
.anfrage .klein { color: var(--h3); margin: 0; }

.kontakt__daten dl { margin: 24px 0; }
.kontakt__daten dl div { padding: 16px 0; border-top: 1px solid rgba(243, 236, 232, 0.14); }
.kontakt__daten dt { font-size: 14px; color: var(--h3); margin-bottom: 4px; }
.kontakt__daten dd { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.kontakt__daten a { text-decoration: none; display: inline-block; padding: 4px 0; }
.kontakt__daten a:hover { text-decoration: underline; text-underline-offset: 4px; }
.textlink {
  display: inline-block;
  padding: 8px 0;
  font-size: 17px;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-color: rgba(243, 236, 232, 0.4) !important;
}

@media (min-width: 900px) {
  .kontakt__innen { grid-template-columns: 1.2fr 1fr; column-gap: 104px; }
  .kontakt__kopf { grid-column: 1 / -1; }
}

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

.fuss {
  background: var(--tinte);
  color: var(--h2);
  padding: 40px 0 40px;
  border-top: 1px solid rgba(243, 236, 232, 0.12);
  font-size: 14px;
}
.fuss__name {
  font-family: var(--serif);
  font-size: 18vw;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(243, 236, 232, 0.14);
  margin: 0 0 24px -0.04em;
  max-width: none;
}
@media (min-width: 900px) { .fuss__name { font-size: min(13.6vw, 168px); } }
.fuss__zeile { margin: 0 0 8px; }
.fuss__entwurf { margin: 24px 0 0; color: var(--hell); }
.fuss__entwurf a { display: inline-block; padding: 8px 0; }

/* ---------- Bewegung ---------- */

.js .start__name { transform: translateY(105%); }
.js.bereit .start__name { transform: none; transition: transform 1100ms var(--expo); }
.js .start__bild { clip-path: inset(100% 0 0 0); }
.js .start__bild img { transform: scale(1.15); }
.js.bereit .start__bild { clip-path: inset(0 0 0 0); transition: clip-path 1200ms var(--expo) 250ms; }
.js.bereit .start__bild img { transform: none; transition: transform 1600ms var(--expo) 250ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .start__name, .js .start__bild, .js .start__bild img { transform: none !important; clip-path: none !important; transition: none !important; }
  .plan.wartet .plan__spur i, .plan__spur i { transform: none !important; transition: none !important; }
}
