:root {
  --wand: #EEE5D9;
  --tinte: #2C1B26;
  --tinte-2: rgba(44, 27, 38, 0.72);
  --tinte-3: rgba(44, 27, 38, 0.52);
  --beere: #6B2346;
  --nacht: #24141E;
  --rose: #E7C8C2;
  --hell: #F4EDE4;
  --hell-2: rgba(244, 237, 228, 0.7);
  --hell-3: rgba(244, 237, 228, 0.46);
  --linie: rgba(44, 27, 38, 0.16);
  --titel: "Marcellus", "Times New Roman", serif;
  --text: "Figtree", system-ui, sans-serif;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
  --rand: 20px;
  --luft: 72px;
  --radius: 6px;
}
@media (min-width: 900px) { :root { --rand: 40px; --luft: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wand);
  color: var(--tinte);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

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

h2 {
  font: 400 40px/1.05 var(--titel);
  letter-spacing: -0.02em;
}
@media (min-width: 900px) { h2 { font-size: 64px; } }

.klein { font-size: 14px; line-height: 1.5; }

/* Balken und Kopf */
.balken {
  display: block;
  padding: 2px var(--rand);
  background: var(--nacht);
  color: var(--hell);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.balken span { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--wand);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out;
}
.kopf.ist-unten { border-color: var(--linie); }
.kopf__innen { display: flex; align-items: center; gap: 24px; height: 64px; }
.kopf__name {
  font: 400 20px/1 var(--titel);
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}
.kopf__nav { display: none; gap: 24px; font-size: 15px; }
.kopf__nav a { text-decoration: none; color: var(--tinte-2); transition: color 150ms ease-out; }
.kopf__nav a:hover { color: var(--tinte); }
.kopf__tel {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.kopf__tel:hover { background: var(--tinte); color: var(--hell); }
@media (min-width: 900px) {
  .kopf__nav { display: flex; }
  .kopf__name { font-size: 22px; }
}

/* Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--beere);
  border-radius: 999px;
  background: var(--beere);
  color: var(--hell);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.knopf:hover { background: var(--nacht); border-color: var(--nacht); }
.knopf--rand { background: transparent; color: var(--tinte); border-color: var(--tinte); font-variant-numeric: tabular-nums; }
.knopf--rand:hover { background: var(--tinte); color: var(--hell); }

/* Einstieg: Handy gestapelt, Computer Text auf der Wand im Foto */
.einstieg { display: flex; flex-direction: column-reverse; overflow: hidden; }
.einstieg__innen { width: 100%; padding-top: 24px; }
.einstieg h1 {
  font: 400 clamp(38px, 10.6vw, 64px)/1.05 var(--titel);
  letter-spacing: -0.02em;
}
.steigt span { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.steigt i { display: block; font-style: normal; }
.einstieg__satz { margin-top: 16px; max-width: 34em; color: var(--tinte-2); }
.einstieg__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.sterne { font-size: 14px; color: var(--tinte-2); }
.sterne span { color: var(--beere); letter-spacing: 0.08em; margin-right: 4px; }
.einstieg__bild { display: block; margin-top: 8px; }
.einstieg__bild img {
  width: 100%;
  max-height: 68svh;
  object-fit: cover;
  object-position: 62% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}

@media (min-width: 1100px) {
  .einstieg {
    position: relative;
    display: block;
    height: min(calc(100svh - 100px), 56.25vw);
    min-height: 520px;
  }
  .einstieg__bild { position: absolute; inset: 0; margin: 0; }
  .einstieg__bild img {
    width: 100%; height: 100%; max-height: none;
    object-position: 100% 18%;
    -webkit-mask-image: none; mask-image: none;
  }
  .einstieg__innen { position: relative; height: 100%; display: flex; align-items: center; padding-top: 0; }
  .einstieg__text { width: 43%; padding-bottom: 40px; }
  .einstieg h1 { font-size: clamp(46px, 4.4vw, 76px); line-height: 1.04; white-space: nowrap; }
  .einstieg__satz { margin-top: 24px; font-size: 18px; max-width: 25em; }
  .einstieg__zeile { margin-top: 40px; }
}

/* Preise */
.preise { background: var(--nacht); color: var(--hell); padding: var(--luft) 0; }
.preise__raster { display: grid; gap: 40px; }
.preise__kopf p { margin-top: 16px; color: var(--hell-2); max-width: 26em; }
.reiter {
  display: inline-flex;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid rgba(244, 237, 228, 0.22);
  border-radius: 999px;
  max-width: 100%;
}
.reiter button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hell-2);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.reiter button[aria-selected="true"] { background: var(--hell); color: var(--nacht); }

.liste { border-top: 1px solid rgba(244, 237, 228, 0.18); }
.liste li { border-bottom: 1px solid rgba(244, 237, 228, 0.18); }
.zeile {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.zeile__ring {
  width: 22px; height: 22px;
  border: 1px solid var(--hell-3);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
.zeile__ring::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2px solid var(--nacht);
  border-bottom: 2px solid var(--nacht);
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 200ms var(--expo);
}
.zeile[aria-pressed="true"] .zeile__ring { background: var(--rose); border-color: var(--rose); }
.zeile[aria-pressed="true"] .zeile__ring::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.zeile__name { font: 400 22px/1.2 var(--titel); letter-spacing: -0.01em; }
.zeile__name small { display: block; margin-top: 4px; font: 400 14px/1.4 var(--text); letter-spacing: 0; color: var(--hell-3); }
.zeile__preis { font-size: 16px; font-variant-numeric: tabular-nums; color: var(--hell-2); white-space: nowrap; }
.zeile__preis b { font-weight: 500; color: var(--hell); margin-left: 4px; }
.zeile:hover .zeile__ring { border-color: var(--hell); }
.liste li { animation: kommt 600ms var(--expo) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes kommt { from { opacity: 0; transform: translateY(12px); } }
#listen-hinweis { margin-top: 16px; color: var(--hell-3); max-width: 44em; }

@media (min-width: 900px) {
  .preise__raster { grid-template-columns: 5fr 7fr; gap: 64px; }
  .preise__kopf { position: sticky; top: 104px; align-self: start; }
  .zeile__name { font-size: 26px; }
  .zeile { min-height: 72px; }
}

/* Ergebnisse */
.ergebnisse { padding: var(--luft) 0; }
.kopfzeile { display: grid; gap: 16px; margin-bottom: 40px; }
.kopfzeile p { color: var(--tinte-2); max-width: 34em; }
@media (min-width: 900px) {
  .kopfzeile { grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; margin-bottom: 64px; }
}
.reihe {
  display: flex;
  gap: 16px;
  margin: 0 calc(var(--rand) * -1);
  padding: 0 var(--rand);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reihe::-webkit-scrollbar { display: none; }
.reihe figure { flex: none; scroll-snap-align: center; }
.reihe__bild { height: 260px; border-radius: var(--radius); overflow: hidden; }
.reihe__bild img { height: 100%; width: auto; max-width: none; }
.reihe figcaption { margin-top: 16px; text-align: center; font: 400 20px/1.2 var(--titel); }
.reihe figcaption small { display: block; margin-top: 4px; font: 400 14px/1.4 var(--text); color: var(--tinte-3); }
@media (min-width: 900px) {
  .reihe { display: grid; grid-template-columns: 1fr 1fr 1.76fr; gap: 24px; margin: 0; padding: 0; overflow: visible; }
  .reihe__bild { height: auto; aspect-ratio: 1; }
  .reihe--breit .reihe__bild { aspect-ratio: 1.76; }
  .reihe__bild img { width: 100%; height: 100%; object-fit: cover; }
}

/* Dessa */
.dessa { padding: 0 0 var(--luft); }
.dessa__raster { display: grid; gap: 40px; }
.dessa__bild { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 520px; }
.dessa__bild img { width: 100%; height: 100%; object-fit: cover; }
.dessa__text h2 { margin-bottom: 24px; }
.gross { font: 400 24px/1.3 var(--titel); letter-spacing: -0.01em; max-width: 22em; }
.dessa__text > p + p { margin-top: 16px; color: var(--tinte-2); max-width: 34em; }
.fakten { margin-top: 40px; border-top: 1px solid var(--linie); }
.fakten div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.fakten dt, .angaben dt { font-size: 14px; color: var(--tinte-3); padding-top: 2px; }
@media (min-width: 900px) {
  .dessa__raster { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .gross { font-size: 32px; line-height: 1.25; }
}

/* Kontakt */
.kontakt { background: var(--rose); padding: var(--luft) 0; }
.kontakt__raster { display: grid; gap: 24px; }
.kontakt__links > p { margin-top: 16px; color: var(--tinte-2); max-width: 30em; }
.zettel { display: block; margin-top: 24px; background: var(--hell); border-radius: var(--radius); padding: 16px 16px 8px; }
.zettel__titel { display: block; font-size: 14px; color: var(--tinte-3); margin-bottom: 8px; }
.zettel textarea {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  resize: vertical;
  font: 400 20px/1.4 var(--titel);
  outline: none;
}
.zettel:focus-within { outline: 2px solid var(--beere); outline-offset: 2px; }
.kontakt__knoepfe { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
#kopiert { margin-top: 16px; min-height: 21px; color: var(--tinte-2); }
.angaben div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.angaben div:first-child { border-top: 1px solid var(--linie); }
.angaben a { display: inline-block; padding: 6px 0; margin: -6px 0; text-underline-offset: 3px; }
.fuss a, .balken span { display: inline-block; padding: 6px 0; }
@media (min-width: 900px) {
  .kontakt__raster { grid-template-columns: 7fr 5fr; gap: 104px; align-items: end; }
  .zettel { padding: 24px 24px 16px; }
  .zettel textarea { font-size: 24px; }
}
@media (max-width: 520px) { .kontakt__knoepfe .knopf { width: 100%; } }

/* Fuss */
.fuss { background: var(--nacht); color: var(--hell); padding: 64px 0 104px; }
.fuss__name { font: 400 clamp(40px, 9.4vw, 136px)/1 var(--titel); letter-spacing: -0.03em; white-space: nowrap; }
.fuss__zeile { display: grid; gap: 8px; margin-top: 40px; font-size: 14px; color: var(--hell-2); }
@media (min-width: 900px) { .fuss__zeile { grid-template-columns: 1fr 2fr auto; gap: 40px; } .fuss { padding-bottom: 64px; } }

/* Auswahl-Leiste */
.auswahl {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: var(--hell);
  color: var(--tinte);
  box-shadow: 0 8px 24px rgba(36, 20, 30, 0.28);
  transition: transform 500ms var(--expo), opacity 200ms ease-out;
}
.auswahl[hidden] { display: flex; transform: translateY(96px); opacity: 0; pointer-events: none; visibility: hidden; transition: transform 500ms var(--expo), opacity 200ms ease-out, visibility 0s 500ms; }
.auswahl p { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auswahl a {
  flex: none;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px;
  background: var(--beere); color: var(--hell);
  font-size: 15px; font-weight: 500; text-decoration: none;
}

/* Bewegung */
.js .steigt i { transform: translateY(110%); }
.js .geladen .steigt i { transform: none; transition: transform 1000ms var(--expo); }
.js .geladen .steigt span:nth-child(2) i { transition-delay: 90ms; }
.js .geladen .steigt span:nth-child(3) i { transition-delay: 180ms; }
.js .einstieg__satz, .js .einstieg__zeile { opacity: 0; }
.js .geladen .einstieg__satz, .js .geladen .einstieg__zeile { opacity: 1; transition: opacity 800ms ease-out 400ms; }
.js .oeffnet { clip-path: inset(100% 0 0 0); }
.js .oeffnet img { transform: scale(1.15); }
.js .oeffnet.ist-da { clip-path: inset(0); transition: clip-path 1000ms var(--expo); }
.js .oeffnet.ist-da img { transform: none; transition: transform 1400ms var(--expo); }
.js .reihe figure:nth-child(2) { transition-delay: 90ms; }
.js .reihe figure:nth-child(3) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .steigt i, .js .oeffnet img { transform: none !important; transition: none !important; }
  .js .oeffnet { clip-path: none !important; transition: none !important; }
  .js .einstieg__satz, .js .einstieg__zeile { opacity: 1 !important; transition: none !important; }
  .liste li { animation: none; }
  .auswahl, .auswahl[hidden] { transition: none; }
}
