@font-face {
  font-family: "Jost";
  src: url("fonts/jost-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-var-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #151515;
  --ink-2: #555555;
  --paper: #ffffff;
  --wash: #f2f2f0;
  --rule: rgba(21, 21, 21, 0.16);
  --gelb: #ffd400;
  --kobalt: #2340c9;
  --rosa: #f5a9c9;
  --orange: #ff6b1a;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 88rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
  accent-color: var(--kobalt);
  scrollbar-color: var(--ink) var(--wash);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2.5px; }

::selection { background: var(--gelb); color: var(--ink); }

:focus-visible { outline: 3px solid var(--kobalt); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem;
}
.skip:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Demo bar ---------------------------------------------------------- */
.demo {
  background: var(--ink);
  color: #f2f2f0;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.55rem 1.25rem;
  padding-inline: var(--pad);
  display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline;
}
.demo a { color: var(--gelb); font-weight: 500; }

/* Header ------------------------------------------------------------ */
.head {
  display: flex; align-items: center; gap: 1rem 2rem;
  padding: 1.1rem var(--pad);
  max-width: var(--max); margin: 0 auto;
}
.head__brand { font-weight: 600; font-size: 1.375rem; letter-spacing: -0.03em; text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 0.25rem 1.5rem; }
.nav a { text-decoration: none; padding: 0.6rem 0; display: inline-block; min-height: 44px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav a:hover { text-decoration: underline; }
.head__call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 500;
  min-height: 44px; padding: 0 1.1rem; border: 1.5px solid var(--ink); border-radius: 999px;
}
.head__call:hover { background: var(--ink); color: var(--paper); }

.today { display: none; }

/* Status line ------------------------------------------------------- */
.status { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 500; }
.status::before {
  content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%;
  background: var(--ink-2);
}
.status[data-open="true"]::before { background: #1f9d4c; box-shadow: 0 0 0 4px rgba(31, 157, 76, 0.18); }

/* Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: 999px;
  font: inherit; font-weight: 500; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink);
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* Hero (Start) ------------------------------------------------------ */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 3rem) var(--pad) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: auto minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: end;
}
.mark {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 600; letter-spacing: -0.035em; line-height: 0.78;
  font-size: clamp(4.5rem, min(9.5vw, calc((100svh - 15rem) / 4.9)), 9.5rem);
  margin: 0; align-self: stretch; white-space: nowrap;
}
.hero__block {
  position: relative; background: var(--gelb);
  aspect-ratio: 4 / 5; align-self: end;
}
.hero__block img {
  position: absolute; left: 50%; bottom: 9%;
  width: 92%; transform: translateX(-56%);
  filter: drop-shadow(0 18px 22px rgba(60, 45, 0, 0.22));
  animation: rise 1.2s var(--ease) both;
}
.hero__block figcaption {
  position: absolute; left: 0; top: calc(100% + 0.65rem);
  font-size: 1rem; line-height: 1.3; color: var(--ink);
}
.hero__text { display: grid; gap: 1.25rem; padding-bottom: 0.25rem; }
.hero__text h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }
.hero__lede { max-width: 46ch; color: var(--ink-2); font-size: 1.2rem; }
.facts { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.facts > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem;
  padding: 0.65rem 0; border-bottom: 1px solid var(--rule);
}
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.facts a { font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@keyframes rise {
  from { transform: translate(-56%, 7%); }
  to { transform: translate(-56%, 0); }
}

/* Section frame ----------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__head h2 { font-size: clamp(2.4rem, 5vw, 4.25rem); letter-spacing: -0.03em; }
.section__head p { max-width: 38ch; color: var(--ink-2); }

/* Teaser shelf (Start) ---------------------------------------------- */
.shelf {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
  row-gap: clamp(4rem, 7vw, 6.5rem);
  padding-top: 3rem;
}
.tile {
  position: relative; display: block; text-decoration: none;
  aspect-ratio: 1 / 1;
}
.tile__ground { position: absolute; inset: 0; }
.tile--kobalt .tile__ground { background: var(--kobalt); }
.tile--rosa .tile__ground { background: var(--rosa); }
.tile--gelb .tile__ground { background: var(--gelb); }
.tile--orange .tile__ground { background: var(--orange); }
.tile__obj {
  position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%);
  transition: transform 0.6s var(--ease);
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.22));
}
.tile__photo {
  position: absolute; left: 9%; right: 9%; bottom: 9%; top: -9%;
  width: 82%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tile:hover .tile__obj { transform: translate(-50%, -5%); }
.tile:hover .tile__photo { transform: translateY(-3%); }
.tile__label {
  position: absolute; top: 0; left: calc(100% + 0.6rem);
  writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 600; font-size: 1.05rem; white-space: nowrap;
}
.tile__meta { position: absolute; top: calc(100% + 0.65rem); left: 0; color: var(--ink-2); font-size: 1rem; }
.tile:hover .tile__label { text-decoration: underline; }

.shelf .tile:nth-child(1) { grid-column: 1 / span 5; }
.shelf .tile:nth-child(1) .tile__obj { width: 78%; bottom: -12%; }
.tile--kobalt .tile__meta { top: calc(112% + 0.9rem); }
.shelf .tile:nth-child(2) { grid-column: 8 / span 4; margin-top: 7rem; }
.shelf .tile:nth-child(2) .tile__obj { width: 70%; bottom: 30%; }
.shelf .tile:nth-child(4) .tile__obj { width: 52%; bottom: 26%; }
.shelf .tile:nth-child(3) { grid-column: 2 / span 4; margin-top: 5rem; }
.shelf .tile:nth-child(4) { grid-column: 7 / span 5; margin-top: 3rem; }

/* Visit strip (Start) ----------------------------------------------- */
.visit {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.visit__photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.visit__text { display: grid; gap: 1.5rem; }
.visit__text h2 { font-size: clamp(2.6rem, 6vw, 5.5rem); letter-spacing: -0.035em; line-height: 0.95; }
.visit__text p { max-width: 40ch; }
.wrapline { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }

/* Sortiment page ---------------------------------------------------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(2rem, 4vw, 3rem); display: grid; gap: 1.5rem; }
.page-head h1 { font-size: clamp(3.2rem, 9vw, 6rem); letter-spacing: -0.04em; line-height: 0.95; }
.page-head p { max-width: 46ch; color: var(--ink-2); font-size: 1.2rem; }

.cat {
  max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--pad);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: end;
}
.cat:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.cat:nth-of-type(even) .cat__stage { order: 2; }
.cat__stage { position: relative; margin-top: 4rem; }
.cat__ground { aspect-ratio: 6 / 5; position: relative; }
.cat--kobalt .cat__ground { background: var(--kobalt); }
.cat--rosa .cat__ground { background: var(--rosa); }
.cat--gelb .cat__ground { background: var(--gelb); }
.cat--orange .cat__ground { background: var(--orange); }
.cat__name {
  position: absolute; top: 0; right: calc(100% + 0.6rem);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 600; font-size: 1.05rem; white-space: nowrap;
}
.cat:nth-of-type(even) .cat__name { right: auto; left: calc(100% + 0.6rem); }
.cat__ground .obj {
  position: absolute; bottom: 7%;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.24));
}
.cat__ground { aspect-ratio: 3 / 2; }
.obj--ton { left: 1%; width: 43%; }
.obj--petrol { left: 44%; width: 40%; }
.obj--oliv { right: 2%; width: 13%; }
.obj--stapel { left: 8%; width: 56%; }
.obj--schwarz { right: 4%; width: 28%; }
.obj--seife { left: 27%; width: 46%; }
.cat__ground .photo { position: absolute; left: 8%; right: 8%; top: -12%; width: 84%; height: 100%; object-fit: cover; }
.cat__body { display: grid; gap: 1.25rem; }
.cat__body h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; }
.cat__body > p { color: var(--ink-2); max-width: 38ch; }
.prices { list-style: none; margin: 0.5rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.prices li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--rule);
}
.prices span:last-child { font-weight: 500; white-space: nowrap; }

.closing { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--pad); display: grid; gap: 1.5rem; }
.closing p:first-child { font-size: clamp(2.2rem, 5.5vw, 4.6rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; max-width: 16ch; }

/* Besuch page ------------------------------------------------------- */
.visit-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.hours { width: 100%; border-collapse: collapse; font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.hours caption { text-align: left; margin-bottom: 1rem; }
.hours th, .hours td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after { content: " (heute)"; font-weight: 400; color: var(--ink-2); font-size: 0.75em; }
.where { display: grid; gap: 2rem; }
.where address { font-style: normal; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.where dl { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.where dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
.where dt { color: var(--ink-2); }
.where dd { margin: 0; }
.where .hero__actions { margin-top: 0.25rem; }

.room { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.room { margin-top: 0; margin-bottom: 0; }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about {
  max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--pad);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}
.about h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; }
.about__text { display: grid; gap: 1.1rem; max-width: 60ch; }
.about__text .hero__actions { margin-top: 0.75rem; }
.about__stage { margin: 0; }
.about__ground { position: relative; background: var(--rosa); aspect-ratio: 5 / 4; margin-top: 5rem; }
.about__ground .obj { position: absolute; left: 50%; bottom: 8%; width: 46%; transform: translateX(-50%); filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.24)); }
.about__stage figcaption { margin-top: 0.65rem; font-size: 1rem; }

/* Footer ------------------------------------------------------------ */
.foot { border-top: 1px solid var(--rule); }
.foot__inner {
  max-width: var(--max); margin: 0 auto; padding: 2.5rem var(--pad) 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  font-size: 1rem;
}
.foot__brand { font-weight: 600; font-size: 1.6rem; letter-spacing: -0.03em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; align-content: start; }
.foot a { display: inline-block; padding: 0.35rem 0; }
.foot address { font-style: normal; color: var(--ink-2); }

/* Mobile call bar --------------------------------------------------- */
.callbar { display: none; }

/* Responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .shelf .tile:nth-child(1) { grid-column: 1 / span 6; }
  .shelf .tile:nth-child(2) { grid-column: 7 / span 5; }
  .shelf .tile:nth-child(3) { grid-column: 1 / span 5; }
  .shelf .tile:nth-child(4) { grid-column: 7 / span 5; }
}

@media (max-width: 900px) {
  body { font-size: 1.0625rem; }
  .head { flex-wrap: wrap; padding-top: 0.9rem; padding-bottom: 0.2rem; }
  .head__call { display: none; }
  .nav { width: 100%; order: 3; gap: 1.25rem; border-top: 1px solid var(--rule); }
  .head__brand--start { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-head__status { display: none; }
  .today {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 1.1rem;
    width: 100%; order: 4; font-size: 1rem; padding: 0.15rem 0 0.4rem;
  }

  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 1.5rem; row-gap: 2.5rem; align-items: start; }
  .mark {
    grid-column: 1 / -1;
    writing-mode: horizontal-tb; transform: none;
    font-size: min(19vw, 8.5rem); line-height: 0.85; align-self: start;
  }
  .hero__block { margin-top: 3.5rem; margin-bottom: 2.5rem; align-self: start; }
  .hero__text h1 { font-size: clamp(2.3rem, 6.4vw, 3.4rem); }
  .facts > div { grid-template-columns: 5.25rem 1fr; }

  .visit__photo { aspect-ratio: 4 / 4.4; }

  .cat, .cat:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .cat:nth-of-type(even) .cat__stage { order: 0; }
  .cat__stage { width: calc(100% - 2.4rem); margin-top: 5rem; }
  .cat:nth-of-type(odd) .cat__stage { margin-left: 2.4rem; }

  .visit-grid, .about { grid-template-columns: minmax(0, 1fr); }
  .room img { aspect-ratio: 4 / 3; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__inner > :first-child { grid-column: 1 / -1; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: sticky; bottom: 0; z-index: 5;
    padding: 0.75rem 1.25rem;
    padding-inline: var(--pad);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--rule);
  }
  .callbar .btn { min-height: 48px; padding: 0 1rem; }
}

@media (max-width: 640px) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .hero__block { width: 76%; margin-top: 2.5rem; margin-bottom: 2rem; }
  .hero__text h1 { font-size: clamp(2.2rem, 10vw, 3rem); }

  .shelf { grid-template-columns: minmax(0, 1fr); row-gap: 8.5rem; padding-top: 3rem; }
  .shelf .tile:nth-child(n) { grid-column: 1; margin-top: 0; width: 78%; }
  .shelf .tile:nth-child(even) { justify-self: end; margin-right: 2.4rem; }

  .visit { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
