@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("fonts/spectral-300-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("fonts/spectral-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --grund: #e4e6e2;
  --grund-tief: #d3d6d1;
  --weiss: #f6f7f5;
  --tinte: #141515;
  --tinte-2: #424745;
  --linie: #b4b8b3;
  --senf: #c9a43e;
  --senf-tief: #b38f2c;

  --rand: clamp(16px, 4vw, 56px);
  --luft: clamp(80px, 11vw, 168px);
  --breit: 1440px;

  --schmal: "Archivo", "Arial Narrow", sans-serif;
  --stimme: "Spectral", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
  accent-color: var(--tinte);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: var(--tinte) var(--grund);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schmal);
  font-stretch: 100%;
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.55;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  padding-bottom: 64px;
}

::selection { background: var(--senf); color: var(--tinte); }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--tinte);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.sprung {
  position: absolute; left: var(--rand); top: -100px; z-index: 50;
  background: var(--tinte); color: var(--grund); padding: 12px 16px;
}
.sprung:focus { top: 8px; }

/* Schriftrollen */

.titel, h2, h3, .marke, .l-name, .l-preis, .ton-nr, .besuch-adresse, .fuss-marke {
  font-family: var(--schmal);
  text-transform: uppercase;
  font-stretch: 62%;
}

.stimme {
  font-family: var(--stimme);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h2 {
  text-wrap: balance;
  font-weight: 800;
  font-size: clamp(3.25rem, 1.6rem + 6.6vw, 6rem);
  line-height: .86;
  letter-spacing: -.005em;
}

h3 {
  font-weight: 700;
  font-stretch: 70%;
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  line-height: 1;
  letter-spacing: .01em;
}

.kleingedruckt {
  font-size: .9375rem;
  color: var(--tinte-2);
  max-width: 62ch;
}

/* Knöpfe */

.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font-family: var(--schmal); font-stretch: 85%; font-weight: 650;
  font-size: 1.0625rem; letter-spacing: .005em;
  text-decoration: none; border-radius: 999px;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.knopf:active { transform: translateY(1px); }
.knopf-senf { background: var(--senf); color: var(--tinte); }
.knopf-senf:hover { background: var(--senf-tief); }
.knopf-linie { box-shadow: inset 0 0 0 1.5px var(--tinte); color: var(--tinte); }
.knopf-linie:hover { background: var(--tinte); color: var(--grund); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

.link { font-weight: 600; }

/* Beispiel-Hinweis */

.demo {
  background: var(--grund-tief);
  color: var(--tinte);
  font-size: .875rem;
  line-height: 1.4;
  text-align: center;
  padding: 9px 16px;
  padding-inline: var(--rand);
}
.demo a { font-weight: 600; white-space: nowrap; }

/* Kopf */

.kopf {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  max-width: var(--breit); margin: 0 auto;
  padding: 14px var(--rand);
  border-bottom: 1px solid var(--linie);
}
.marke {
  font-weight: 800; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); line-height: 1;
  text-decoration: none; letter-spacing: .01em;
  margin-right: auto;
}
.kopf-ort, .kopf-tel, .kopf-termin { display: none; }
.kopf-status { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; white-space: nowrap; }
@media (min-width: 900px) { .kopf-status { font-size: .9375rem; } }
.kopf-ort a, .kopf-tel { text-decoration: none; font-weight: 500; }
@media (min-width: 1200px) { .kopf-ort { display: block; } }
.kopf-ort a:hover, .kopf-tel:hover { text-decoration: underline; }

.punkt {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  box-shadow: inset 0 0 0 1.5px var(--tinte);
}
.ist-offen .punkt { background: var(--tinte); }

/* Bühne */

.buehne {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: var(--breit); margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) var(--rand) var(--luft);
}

.titel {
  grid-row: 1; grid-column: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: .16em;
  font-weight: 800;
  font-size: min(12.6vw, 8.5rem);
  line-height: .84;
  letter-spacing: -.005em;
  padding-bottom: clamp(32px, 9vw, 52px);
}
.t-l { text-align: right; }
.t-r { text-align: left; }

.scheitel {
  grid-row: 1; grid-column: 1;
  justify-self: center; align-self: stretch;
  display: block;
  width: 2px;
  background: var(--tinte);
  transform-origin: top;
  animation: kamm 1.2s var(--ease) .15s both;
}

@keyframes kamm { from { transform: scaleY(0); } }

.bogen { width: min(64vw, 420px); }
.bogen img {
  width: 100%;
  aspect-ratio: 960 / 1331;
  object-fit: cover;
  border-radius: 100vmax 100vmax 0 0;
  background: var(--grund-tief);
}

.buehne-stimme { margin-top: 28px; max-width: 16ch; }

.buehne-info { margin-top: 20px; max-width: 36ch; display: grid; gap: 12px; }
.buehne-info .knopfreihe { display: none; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }

  .kopf-tel { display: block; }
  .kopf-termin { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 1rem; }
  .kopf-status { margin-right: 4px; }

  .buehne {
    grid-template-columns: 1fr min(26vw, 400px) 1fr;
    column-gap: clamp(28px, 3.4vw, 56px);
    justify-items: stretch;
    text-align: left;
    padding-top: clamp(28px, 3vw, 44px);
  }
  .titel {
    grid-column: 1 / -1;
    font-size: min(12.4vw, 12.5rem);
    padding-bottom: clamp(28px, 3.4vw, 52px);
  }
  .scheitel { grid-column: 1 / -1; }
  .bogen { grid-column: 2; grid-row: 2; width: 100%; }
  .buehne-stimme {
    grid-column: 1; grid-row: 2;
    align-self: end; justify-self: end; text-align: right;
    margin: 0 0 6px; max-width: 12ch;
    font-size: clamp(2rem, 1rem + 2.2vw, 3.25rem);
  }
  .buehne-info {
    grid-column: 3; grid-row: 2;
    align-self: end; margin: 0 0 6px; max-width: 32ch;
  }
  .buehne-info .knopfreihe { display: flex; justify-content: flex-start; margin-top: 10px; }
}

/* Abschnitte */

.preise, .farbe, .salon, .besuch {
  max-width: var(--breit); margin: 0 auto;
  padding: 0 var(--rand) var(--luft);
}

.abschnitt-kopf {
  display: grid; gap: 14px;
  padding-top: 24px;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 2px solid var(--tinte);
  margin-bottom: clamp(36px, 5vw, 72px);
}
.abschnitt-kopf .stimme { max-width: 22ch; color: var(--tinte-2); }

@media (min-width: 900px) {
  .abschnitt-kopf { grid-template-columns: 1fr auto; align-items: end; }
  .abschnitt-kopf .stimme { text-align: right; }
}

/* Preisliste */

.liste-gruppe { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.liste-gruppe h3 { padding-top: 6px; }

.liste li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name preis" "was was";
  column-gap: 16px; row-gap: 2px;
  align-items: baseline;
  padding: 14px 0 15px;
  border-top: 1px solid var(--linie);
}
.liste li:last-child { border-bottom: 1px solid var(--linie); }

.liste { --preis: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
.l-name, .l-preis {
  font-weight: 650;
  font-stretch: 66%;
  font-size: var(--preis);
  line-height: .95;
  letter-spacing: .005em;
}
.l-name { grid-area: name; }
.l-preis { grid-area: preis; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-was { grid-area: was; color: var(--tinte-2); font-size: 1rem; }

@media (min-width: 900px) {
  .liste-gruppe { grid-template-columns: minmax(180px, 3fr) 9fr; column-gap: 32px; }
  .liste li {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) calc(var(--preis) * 3.6);
    grid-template-areas: "name was preis";
    padding: 18px 0 19px;
  }
  .l-was { font-size: 1.0625rem; }
}

.preise .kleingedruckt { margin-left: auto; }
@media (min-width: 900px) {
  .preise .kleingedruckt { padding-left: calc(25% + 8px); max-width: none; margin-left: 0; }
}

/* Farbkarte */

.karte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.ton {
  --tag: 64px;
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  height: clamp(220px, 46vw, 300px);
  padding: 10px 10px 0;
  background: var(--weiss);
  color: var(--tinte);
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgb(20 21 21 / .08), 0 6px 16px -8px rgb(20 21 21 / .25);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ton::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--tinte); border-radius: 3px 3px 0 0;
}
.ton::after {
  content: "";
  grid-row: 3;
  margin: 10px -10px 0;
  background: var(--ton) url("img/straehne.webp") center / cover;
  background-blend-mode: multiply;
  border-radius: 0 0 3px 3px;
}
.ton-nr { font-weight: 700; font-stretch: 70%; font-size: 1.75rem; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ton-name { font-size: .8125rem; line-height: 1.25; min-height: 2.5em; color: var(--tinte-2); hyphens: manual; }
.ton::after { background-size: 190% auto; }
.karte li:nth-child(1) .ton::after { background-position: 0% 0%; }
.karte li:nth-child(2) .ton::after { background-position: 70% 30%; transform: scaleX(-1); }
.karte li:nth-child(3) .ton::after { background-position: 35% 60%; }
.karte li:nth-child(4) .ton::after { background-position: 100% 15%; transform: scaleX(-1); }
.karte li:nth-child(5) .ton::after { background-position: 15% 85%; }
.karte li:nth-child(6) .ton::after { background-position: 55% 5%; transform: scaleX(-1); }
.karte li:nth-child(7) .ton::after { background-position: 85% 70%; }
.karte li:nth-child(8) .ton::after { background-position: 25% 40%; transform: scaleX(-1); }
.karte li:nth-child(9) .ton::after { background-position: 65% 95%; }

.ton:hover, .ton:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 2px 3px rgb(20 21 21 / .1), 0 18px 30px -12px rgb(20 21 21 / .35);
}

@media (min-width: 640px) { .karte { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1100px) {
  .karte { grid-template-columns: repeat(9, 1fr); gap: 12px; }
  .ton { height: clamp(300px, 27vw, 400px); }
}

.farbe-unten { display: grid; gap: 36px; }
.farbe-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.farbe-unten .liste-gruppe { grid-template-columns: 1fr; align-content: start; }
.farbe-unten .kleingedruckt { margin-top: 6px; }

@media (min-width: 640px) {
  .farbe-unten { grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 4vw, 72px); align-items: start; }
}

/* Salon */

.salon { display: grid; gap: 32px; }
.salon h2 { font-size: clamp(2.5rem, 1rem + 3.9vw, 4.5rem); line-height: .92; }
.am-stueck { white-space: nowrap; }
.salon-text { display: grid; gap: 18px; align-content: start; }
.salon-text p:not(.stimme) { max-width: 46ch; }
.salon-text .stimme { margin-bottom: 4px; }
.salon-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.salon-bild-2 { width: 64%; justify-self: end; }
.salon-bild-2 img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

@media (min-width: 900px) {
  .salon {
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(20px, 2.2vw, 32px);
    border-top: 2px solid var(--tinte);
    padding-top: clamp(28px, 3vw, 40px);
  }
  .salon-bild { grid-column: 1 / 7; grid-row: 1 / 3; position: relative; min-height: 560px; }
  .salon-bild img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .salon-text { grid-column: 8 / 13; grid-row: 1; }
  .salon-bild-2 { grid-column: 9 / 13; grid-row: 2; width: 100%; align-self: end; }
}
@media (max-width: 899px) {
  .salon { border-top: 2px solid var(--tinte); padding-top: 24px; }
  .salon-bild { max-width: 560px; }
  .salon-text { order: -1; }
}

/* Besuch */

.besuch { border-top: 2px solid var(--tinte); padding-top: 28px; padding-top: clamp(24px, 3vw, 40px); }
.besuch-adresse {
  font-size: min(12.6vw, 7.5rem);
  white-space: nowrap;
  line-height: .86;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.besuch-raster { display: grid; gap: 40px; }
.besuch-raster > div { display: grid; gap: 14px; align-content: start; }
.besuch-ort { font-size: 1.125rem; }

.zeiten { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; padding: 9px 0; border-top: 1px solid var(--linie); font-weight: 400; }
.zeiten td { text-align: right; }
.zeiten tr:last-child th, .zeiten tr:last-child td { border-bottom: 1px solid var(--linie); }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 700; }
.zeiten tr.heute th::after { content: "  heute"; font-weight: 500; color: var(--tinte-2); }

@media (min-width: 900px) {
  .besuch-raster { grid-template-columns: 1fr 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); }
}

/* Fuß */

.fuss {
  max-width: var(--breit); margin: 0 auto;
  padding: 32px var(--rand) 40px;
  border-top: 1px solid var(--linie);
  display: grid; gap: 10px;
  font-size: .9375rem;
}
.fuss-marke { font-weight: 800; font-size: 2rem; line-height: 1; }
.fuss nav { display: flex; gap: 20px; }
.fuss nav a { min-height: 44px; display: inline-flex; align-items: center; }
.fuss-demo { color: var(--tinte-2); }

@media (min-width: 900px) {
  .fuss { grid-template-columns: auto 1fr auto auto; align-items: center; column-gap: 32px; }
}

/* Leiste unten (Handy) */

.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.5fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--tinte);
  box-shadow: 0 -8px 24px -12px rgb(20 21 21 / .45);
}
.leiste a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 56px; padding: 0 12px;
  font-stretch: 85%; font-weight: 650; font-size: 1rem;
  text-decoration: none;
}
.leiste-tel { color: var(--grund); }
.leiste-termin { background: var(--senf); color: var(--tinte); }
.leiste a:focus-visible { outline-color: var(--grund); outline-offset: -4px; }

@media (min-width: 900px) { .leiste { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
