@import url("fonts.css");

/* ============================================================
   Lichtung — Hair & Beauty, Rheine
   Pflaumenschwarz als Grund, Champagner als warmes Metall,
   Blush nur fuer Dauer-Leisten und feine Marken.
   Jede Farbe steht genau einmal — hier. Alles Weitere wird
   mit color-mix daraus gemischt.
   ============================================================ */

:root {
  color-scheme: dark;

  /* Grundflaechen */
  --pflaume:    #171015;   /* Seitengrund, violettstichig */
  --tiefe:      #0F0A0E;   /* abgesetzte Bloecke */

  /* Akzente */
  --champagner: #D8B98C;   /* 10,0:1 — Hauptakzent, warmes Metall */
  --blush:      #E5A392;   /* 8,9:1 — Dauer-Leisten, feine Marken */

  /* Schrift */
  --perle:      #F2ECE6;   /* 16,0:1 — Lesetext */
  --asche:      #A2969A;   /* 6,6:1 — leiser Text, haelt 4,5:1 ohne Korrektur */

  /* Abgeleitete Flaechen und Linien */
  --linie:       color-mix(in srgb, var(--perle) 14%, transparent);
  --linie-metall: color-mix(in srgb, var(--champagner) 42%, transparent);
  --flaeche:     color-mix(in srgb, var(--perle) 5%, var(--pflaume));
  --feld:        color-mix(in srgb, var(--perle) 7%, var(--tiefe));
  --schiene:     color-mix(in srgb, var(--perle) 12%, transparent);

  /* Rhythmus */
  --rand:  clamp(1.15rem, 4vw, 4rem);
  --luft:  clamp(3.5rem, 7vw, 7rem);
  --spalt: clamp(1.25rem, 2.4vw, 2.5rem);
  --breit: 76rem;

  /* Schrift-Rollen */
  --display: 'Cormorant Garamond', Georgia, serif;
  --lauf: 'Karla', 'Segoe UI', system-ui, sans-serif;
}

/* --- Kurz-Reset ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:where(p, li, dd, dt, address, figcaption, h1, h2, h3, blockquote) { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--champagner); outline-offset: 3px; border-radius: 2px; }

/* --- Grundtypografie -------------------------------------- */
body {
  background: var(--pflaume);
  color: var(--perle);
  font-family: var(--lauf);
  font-size: clamp(1rem, .96rem + .2vw, 1.09rem);
  line-height: 1.66;
  overflow-x: hidden;
}
p + p { margin-top: .9em; }
a { text-decoration-thickness: 1px; text-underline-offset: .22em; }

.sprung {
  position: absolute; left: -100vw; top: 0; z-index: 20;
  background: var(--champagner); color: var(--tiefe);
  padding: .85rem 1.4rem; font-weight: 700; text-decoration: none;
}
.sprung:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Aufblenden: ohne die Klasse `js` am <html> greift die Versteckregel
   gar nicht erst — laeuft das Skript nicht, ist die Seite trotzdem da. */
.js .aufblenden { opacity: 0; transform: translateY(14px); }
.js .aufblenden { transition: opacity 460ms ease, transform 460ms cubic-bezier(.22,.61,.36,1); }
.js .ist-sichtbar { opacity: 1; transform: none; }

/* --- Demoband --------------------------------------------- */
.demoband {
  background: var(--tiefe);
  color: var(--asche);
  border-bottom: 1px solid var(--linie);
  padding: .7rem var(--rand);
  font-size: .82rem; letter-spacing: .02em; text-align: center;
}
.demoband a { color: var(--champagner); }

/* --- Kopf und Navigation ---------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--pflaume) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; max-width: var(--breit); margin: 0 auto;
  padding: .8rem var(--rand);
}
.marke { text-decoration: none; display: block; }
.marke__wort {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 1.85rem; line-height: 1; letter-spacing: .03em;
  color: var(--perle);
}
.marke__zusatz {
  display: block; font-size: .68rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--champagner); margin-top: .3rem;
}
.nav__schalter {
  width: 46px; height: 46px; background: none; border: 1px solid var(--linie);
  border-radius: 3px; cursor: pointer; display: grid; place-items: center;
}
.nav__striche, .nav__striche::before, .nav__striche::after {
  display: block; width: 20px; height: 1.5px; background: var(--champagner);
}
.nav__striche { position: relative; }
.nav__striche::before, .nav__striche::after { content: ""; position: absolute; }
.nav__striche::before { transform: translateY(-6px); }
.nav__striche::after { transform: translateY(6px); }
.nav__liste { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; align-items: center; }
.nav__link {
  display: block; padding: .6rem .2rem; min-height: 44px; line-height: 1.9;
  text-decoration: none; font-size: .9rem; letter-spacing: .06em;
  color: var(--perle); border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.nav__link:hover { color: var(--champagner); border-bottom-color: var(--linie-metall); }
.nav__link--tat { color: var(--champagner); }

/* --- Hero ------------------------------------------------- */
.hero {
  display: grid; gap: var(--spalt);
  grid-template-areas: "bild" "satz";
  padding-bottom: var(--luft);
}
.hero__satz {
  grid-area: satz; min-width: 0;
  padding: 0 var(--rand);
  align-self: center;
  max-width: 40rem;
}
.hero__bild { grid-area: bild; min-width: 0; position: relative; }
.hero__bild img { width: 100%; height: clamp(20rem, 56vh, 34rem); object-fit: cover; object-position: 50% 28%; }
.hero__bild::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--pflaume) 30%, transparent) 0%, transparent 40%, var(--pflaume) 100%);
}
.augenbraue {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--champagner); margin-bottom: 1.1rem;
}
.hero__titel {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1.02;
  letter-spacing: -.005em; margin-bottom: 1.2rem;
}
.hero__lauf { color: var(--asche); font-size: 1.08rem; max-width: 34rem; }
.felder {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin: 1.6rem 0; padding-top: 1.2rem;
  border-top: 1px solid var(--linie-metall);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--champagner);
}
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* --- Knoepfe ---------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.7rem;
  background: var(--champagner); color: var(--tiefe);
  font-weight: 700; font-size: .92rem; letter-spacing: .07em;
  text-transform: uppercase; text-decoration: none; border: 1px solid var(--champagner);
  cursor: pointer; transition: background-color 200ms ease, color 200ms ease;
}
.knopf:hover { background: var(--blush); border-color: var(--blush); }
.knopf--leise { background: none; color: var(--champagner); border-color: var(--linie-metall); }
.knopf--leise:hover { background: none; color: var(--blush); border-color: var(--blush); }
.knopf--voll { width: 100%; }

/* --- Baender und Ueberschriften --------------------------- */
.band { padding: var(--luft) var(--rand); }
.band--tief { background: var(--tiefe); }
.kopfzeile { max-width: var(--breit); margin: 0 auto 3rem; }
.titel {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08;
  margin-bottom: 1rem;
}
.titel--mitte { text-align: center; margin-bottom: 2.5rem; }
.vorspann { color: var(--asche); max-width: 44rem; }
.unter {
  font-family: var(--display); font-weight: 600; font-size: 1.6rem;
  line-height: 1.2; margin-bottom: .7rem;
}

/* --- Arbeiten: was hier passiert -------------------------- */
.arbeiten {
  display: grid; gap: var(--spalt);
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--breit); margin: 0 auto;
}
.arbeit { min-width: 0; }
.arbeit img {
  width: 100%; height: clamp(14rem, 30vw, 22rem); object-fit: cover;
  border-bottom: 2px solid var(--linie-metall);
}
.arbeit__wort {
  font-family: var(--display); font-weight: 600; font-size: 1.7rem;
  line-height: 1.2; margin: 1.1rem 0 .4rem;
}
.arbeit__satz { color: var(--asche); font-size: .96rem; }

/* --- Zwei Spalten: Text und Bild -------------------------- */
.zweispalt {
  display: grid; gap: var(--spalt);
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--breit); margin: 0 auto; align-items: center;
}
.zweispalt__satz { min-width: 0; color: var(--asche); }
.zweispalt__satz .titel { color: var(--perle); }
.zweispalt__bild { min-width: 0; }
.zweispalt__bild img { width: 100%; height: clamp(15rem, 34vw, 26rem); object-fit: cover; }
.zweispalt__bild figcaption {
  margin-top: .8rem; font-size: .85rem; color: var(--asche);
  border-left: 2px solid var(--linie-metall); padding-left: .8rem;
}
.linien { margin: 1.6rem 0; }
.linien dt {
  font-family: var(--display); font-size: 1.35rem; font-weight: 600;
  color: var(--champagner); margin-top: 1.1rem;
}
.linien dd { margin-left: 0; }

/* --- Behandlungskarte ------------------------------------- */
.massstab {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--linie);
}
.massstab__wort { font-size: .78rem; letter-spacing: .16em; color: var(--asche); }
.massstab .balken { width: 7rem; }

.balken {
  display: inline-block; width: 100%; height: 6px;
  background: var(--schiene); border-radius: 3px; overflow: hidden;
}
.balken__mass {
  display: block; height: 100%; width: var(--anteil, 50%);
  background: linear-gradient(90deg, var(--blush), var(--champagner));
  border-radius: 3px;
}
.balken[data-dauer="30"] { --anteil: 25%; }
.balken[data-dauer="45"] { --anteil: 37.5%; }
.balken[data-dauer="60"] { --anteil: 50%; }
.balken[data-dauer="90"] { --anteil: 75%; }
.balken[data-dauer="120"] { --anteil: 100%; }

.gruppe { max-width: var(--breit); margin: 0 auto 3.2rem; }
.gruppe__titel {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2;
  color: var(--champagner); padding-bottom: .7rem; margin-bottom: .4rem;
  border-bottom: 1px solid var(--linie-metall);
  letter-spacing: .02em;
}
.leistung {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem 1.2rem; align-items: baseline;
  padding: 1.1rem 0; border-bottom: 1px solid var(--linie);
}
.leistung__name { grid-column: 1 / -1; min-width: 0; }
.leistung__zeit { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.leistung__zeit .balken { width: 6rem; flex: 0 1 auto; }
.leistung__min {
  font-size: .82rem; letter-spacing: .1em; color: var(--asche);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.leistung__preis {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  line-height: 1; text-align: right; white-space: nowrap; color: var(--perle);
}

/* --- Team ------------------------------------------------- */
.team {
  display: grid; gap: var(--spalt);
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--breit); margin: 0 auto;
}
.person { min-width: 0; }
.person img {
  width: 100%; height: clamp(20rem, 44vw, 30rem); object-fit: cover;
  object-position: 50% 24%;
  filter: saturate(.86) contrast(1.04);
}
.person__name {
  font-family: var(--display); font-weight: 600; font-size: 1.9rem;
  line-height: 1.15; margin: 1.2rem 0 .3rem;
}
.person__rolle {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--champagner); margin-bottom: .8rem;
}
.person__fach { color: var(--asche); font-size: .96rem; }
.person__jahre {
  margin-top: .5rem; font-size: .82rem; letter-spacing: .1em; color: var(--asche);
  border-top: 1px solid var(--linie); padding-top: .5rem; display: inline-block;
}

/* --- Stimmen ---------------------------------------------- */
.stimmen {
  display: grid; gap: var(--spalt);
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--breit); margin: 0 auto;
}
.stimmen > li { min-width: 0; }
.stimme {
  background: var(--flaeche); border-top: 2px solid var(--linie-metall);
  padding: 2rem 1.6rem 1.6rem; height: 100%;
}
.stimme p {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.28rem, 1.9vw, 1.5rem); line-height: 1.45;
}
.stimme__wer {
  margin-top: 1.2rem; font-size: .74rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--champagner);
}

/* --- Besuch ----------------------------------------------- */
.besuch {
  display: grid; gap: var(--spalt) 2.5rem;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--breit); margin: 0 auto;
}
.besuch__teil { min-width: 0; color: var(--asche); }
.besuch__teil a { color: var(--champagner); }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: .1rem .9rem; }
.zeiten dt { color: var(--perle); }
.zeiten dd { text-align: right; font-variant-numeric: tabular-nums; }
.adresse { font-style: normal; color: var(--perle); margin-bottom: .8rem; }

/* --- Formular --------------------------------------------- */
.anfrage { max-width: 44rem; margin: 0 auto; }
.schritt { border: 0; margin-bottom: 2.4rem; }
.schritt__titel {
  display: flex; align-items: center; gap: .8rem; width: 100%;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2;
  padding-bottom: .8rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--linie-metall);
}
.schritt__zahl {
  display: grid; place-items: center; flex: none;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1px solid var(--linie-metall); color: var(--champagner);
  font-family: var(--lauf); font-size: .9rem; font-weight: 700;
}
.feld { margin-bottom: 1.2rem; min-width: 0; }
.feld label { display: block; margin-bottom: .4rem; font-size: .9rem; letter-spacing: .04em; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  background: var(--feld); color: var(--perle);
  border: 1px solid var(--linie); border-radius: 3px;
}
.feld textarea { min-height: 7rem; resize: vertical; }
.feld__hilfe { font-size: .85rem; color: var(--asche); margin-top: .4rem; }
.feld__paar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.2rem; }
.wahl { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.wahl__feld {
  display: flex; align-items: center; gap: .8rem; min-height: 52px;
  padding: .6rem 1rem; background: var(--feld);
  border: 1px solid var(--linie); border-radius: 3px; cursor: pointer;
  transition: border-color 180ms ease;
}
.wahl__feld:hover { border-color: var(--linie-metall); }
.wahl__feld input {
  flex: none; width: 26px; height: 26px; margin: 0;
  accent-color: var(--champagner); cursor: pointer;
}
.anfrage__hinweis {
  border-left: 3px solid var(--blush); background: var(--flaeche);
  padding: .9rem 1rem; margin-bottom: 1.2rem; font-size: .92rem; color: var(--asche);
}

/* --- Fussbereich ------------------------------------------ */
.fuss {
  background: var(--tiefe); border-top: 1px solid var(--linie-metall);
  padding: var(--luft) var(--rand) 3rem; color: var(--asche);
}
.fuss__innen { max-width: var(--breit); margin: 0 auto; text-align: center; }
.fuss__marke {
  font-family: var(--display); font-weight: 600; font-size: 2.6rem;
  line-height: 1; letter-spacing: .06em; color: var(--perle); margin-bottom: 1rem;
}
.fuss__zeile { font-size: .95rem; }
.fuss__zeile a { color: var(--champagner); }
.fuss__liste {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.8rem;
  margin: 1.6rem 0 1rem;
}
.fuss__liste a {
  display: inline-block; padding: .6rem .2rem; min-height: 44px; line-height: 1.9;
  font-size: .88rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--perle); text-decoration: none; border-bottom: 1px solid var(--linie);
}
.fuss__liste a:hover { color: var(--champagner); border-bottom-color: var(--linie-metall); }
.fuss__hinweis { font-size: .8rem; letter-spacing: .04em; }

/* ============================================================
   Ab hier breitere Schirme
   ============================================================ */
@media (max-width: 59.99em) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--tiefe); border-bottom: 1px solid var(--linie-metall);
    padding: .5rem var(--rand) 1.2rem;
  }
  .nav.ist-offen { display: block; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { border-bottom: 1px solid var(--linie); }
  .kopf__innen { position: relative; }
}

@media (min-width: 37.5em) {
  .arbeiten, .team, .stimmen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .besuch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feld__paar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wahl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leistung { grid-template-columns: minmax(0, 1fr) 10rem 6.5rem; align-items: center; }
  .leistung__name { grid-column: auto; }
  .leistung__zeit .balken { width: 100%; flex: 1 1 auto; }
  .leistung__zeit { flex-direction: column; align-items: stretch; gap: .35rem; }
  .leistung__min { text-align: left; }
}

@media (min-width: 60em) {
  .nav__schalter { display: none; }
  .hero {
    grid-template-areas: "satz bild";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: stretch; padding-bottom: 0;
    max-width: 110rem; margin: 0 auto;
  }
  .hero__satz { padding: var(--luft) 0 var(--luft) max(var(--rand), calc((100vw - 110rem) / 2 + var(--rand))); }
  .hero__bild img { height: 100%; min-height: 40rem; }
  .hero__bild::after {
    background: linear-gradient(to right, var(--pflaume) 0%, transparent 22%),
                linear-gradient(to top, color-mix(in srgb, var(--pflaume) 55%, transparent) 0%, transparent 30%);
  }
  .arbeiten, .team, .stimmen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .besuch { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .zweispalt { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); }
  .zweispalt--gedreht { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .wahl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .leistung { grid-template-columns: minmax(0, 1fr) 14rem 7rem; }
  .leistung__zeit { flex-direction: row; align-items: center; gap: .8rem; }
  .knopf--voll { width: auto; min-width: 18rem; }
}

/* ============================================================
   Wer Bewegung abbestellt hat, bekommt sofort den Endzustand.
   Der einzige Block mit !important — genau dafuer ist er da.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .js .aufblenden, .js .ist-sichtbar {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
