@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-normal.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --pink: #c45898;
  --pink-strong: #a83f80;
  --blue: #68c4d9;
  --blue-strong: #1f6f84;
  --ink: #26252b;
  --grey-600: #65646d;
  --grey-400: #b5b4bb;
  --grey-300: #dcdbe0;
  --grey-100: #f3f2f4;
  --white: #ffffff;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --wrap: 1100px;
  --header-height: 81px;
}

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

html {
  scroll-behavior: smooth;
}

[data-spy] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header-height));
  scroll-margin-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink-strong);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 {
  font-size: min(clamp(2.7rem, 7.4vw, 5.2rem), 10.5svh);
}

h1 em {
  color: var(--pink);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1em;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--grey-300);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.brand img {
  height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  padding: 6px 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--pink);
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-height));
  padding-top: clamp(16px, 2.4vw, 32px);
  overflow: hidden;
}

.hero-inner {
  flex: 0 0 auto;
  align-content: start;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.lead {
  max-width: 36ch;
  margin: 26px 0 0;
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--grey-600);
}

.hero-phone {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1;
}

.hero-phone a {
  color: var(--blue);
  text-decoration: none;
}

.hero-phone a:hover {
  color: var(--ink);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 34px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 3px;
  background: var(--pink-strong);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--ink);
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--pink-strong);
}

.snapshots {
  position: relative;
  max-width: 470px;
  margin-left: 34px;
  padding-bottom: 56px;
}

.snapshot {
  margin: 0;
  padding: 12px 12px 6px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  box-shadow: 0 2px 0 var(--grey-300);
  transform: rotate(2.2deg);
}

.snapshot img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.snapshot.small {
  position: absolute;
  left: -34px;
  bottom: 0;
  width: 46%;
  padding: 8px 8px 22px;
  transform: rotate(-5deg);
}

.snapshot.small img {
  aspect-ratio: 4 / 3;
}

.snapshot figcaption,
.tile-text,
.scribble {
  font-family: var(--hand);
}

.snapshot figcaption {
  padding-top: 4px;
  padding-right: 10px;
  font-size: 1.55rem;
  font-weight: 600;
  text-align: right;
  color: var(--grey-600);
}

.clothesline {
  flex: 1 1 0;
  min-height: 110px;
  max-height: 19vw;
  margin-top: clamp(20px, 3vw, 44px);
  padding-bottom: 12px;
}

.clothesline svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.clothesline .line-narrow {
  display: none;
}

.peg {
  fill: var(--grey-400);
}

.rope {
  fill: none;
  stroke: var(--grey-400);
  stroke-width: 2;
}

.c-pink {
  color: var(--pink);
}

.c-strong {
  color: var(--pink-strong);
}

.c-blue {
  color: var(--blue);
}

.c-grey {
  color: var(--grey-300);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section-head h2 {
  position: relative;
}

.scribble {
  position: absolute;
  left: -6px;
  bottom: 100%;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--pink);
  transform: rotate(-7deg);
}

.note {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 10%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--hand);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.note.long {
  font-size: 1.4rem;
}

.note[hidden],
.lightbox img[hidden] {
  display: none;
}

.print .note {
  margin-bottom: 10px;
}

.tile time {
  font-size: 0.82rem;
  color: var(--grey-600);
}

.lightbox .note {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: min(60dvh, 520px);
  font-size: clamp(2rem, 5vw, 3rem);
}

.lightbox .note.long {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
}

.slider {
  position: relative;
  margin-top: 20px;
}

.gallery {
  --columns: 4;
  --gap: 26px;
  display: flex;
  gap: var(--gap);
  padding: 16px 6px 26px;
  margin-inline: -6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6px;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  margin-top: -6px;
}

.slider-controls[hidden] {
  display: none;
}

.slider-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-family: var(--hand);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--pink-strong);
  cursor: pointer;
}

.slider-step svg,
.lightbox-step svg {
  width: 44px;
  height: 24px;
  transition: transform 0.15s ease;
}

.slider-step svg,
.lightbox-step svg,
.lightbox-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-step.previous svg,
.lightbox-step.previous svg {
  transform: scaleX(-1);
}

.slider-step:hover {
  color: var(--ink);
}

.slider-step.next:hover svg {
  transform: translateX(5px);
}

.slider-step.previous:hover svg {
  transform: scaleX(-1) translateX(5px);
}

.slider-step:disabled {
  visibility: hidden;
}

.tile {
  display: block;
  flex: 0 0 calc((100% - (var(--columns) - 1) * var(--gap)) / var(--columns));
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.tile:nth-child(even) {
  margin-top: 10px;
}

.print {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 12px;
  border: 1px solid var(--grey-300);
  background: var(--white);
  box-shadow: 0 2px 0 var(--grey-300);
  pointer-events: none;
  transition: transform 0.18s ease;
}

.tile:nth-child(4n + 1) .print {
  transform: rotate(-1.3deg);
}

.tile:nth-child(4n + 2) .print {
  transform: rotate(0.9deg);
}

.tile:nth-child(4n + 3) .print {
  transform: rotate(-0.6deg);
}

.tile:nth-child(4n + 4) .print {
  transform: rotate(1.5deg);
}

.tile:hover,
.tile:focus-visible {
  position: relative;
  z-index: 1;
}

.tile:hover .print,
.tile:focus-visible .print {
  transform: rotate(0deg) scale(1.03);
}

.photo {
  position: relative;
  display: block;
}

.photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 10px;
  background: var(--pink-strong);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.tile-text {
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

.tile time {
  font-size: 0.82rem;
  color: var(--grey-600);
}

.tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.tag {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 64px 16px 30px;
  color: var(--white);
  text-align: center;
  clip-path: polygon(26% 0, 74% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
}

.tag::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
}

.tag.pink {
  background: var(--pink);
}

.tag.blue {
  background: var(--blue);
}

.tag:nth-child(odd) {
  transform: rotate(-1.4deg);
}

.tag:nth-child(even) {
  transform: rotate(1.2deg) translateY(12px);
}

.tag svg {
  width: 96px;
  height: 112px;
  margin-bottom: 18px;
}

.tag svg.wide {
  width: 128px;
  height: 128px;
  margin: -10px 0 12px;
}

.tag h3 {
  font-size: 1.7rem;
  overflow-wrap: anywhere;
}

.tag p {
  margin: 4px 0 0;
  font-family: var(--hand);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

.split h2 {
  margin-bottom: 0.6em;
}

.about-text p {
  max-width: 44ch;
  font-size: 1.15rem;
}

.about-text p:last-child {
  margin: 0;
}

.visit {
  min-height: calc(100svh - var(--header-height) - 87px);
}

.intake {
  padding: clamp(24px, 4vw, 40px);
  border: 2px solid var(--blue);
}

.intake h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.intake p {
  color: var(--grey-600);
}

.door-sign h2 {
  margin-bottom: 0.6em;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.door-sign {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 2px solid var(--pink);
  outline: 1px solid var(--pink);
  outline-offset: -8px;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 11px 0;
  border-bottom: 1px dashed var(--grey-400);
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours .slot {
  white-space: nowrap;
}

.hours .slot + .slot::before {
  content: " · ";
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.hours .closed td {
  color: var(--grey-600);
  font-style: italic;
}

.hours .today th,
.hours .today td {
  font-weight: 700;
  color: var(--pink-strong);
}

.closures {
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 2px solid var(--pink);
  list-style: none;
  font-weight: 600;
  color: var(--pink-strong);
}

.closures[hidden] {
  display: none;
}

.hours .today th::after {
  content: "heute";
  margin-left: 10px;
  font-family: var(--hand);
  font-size: 1.35rem;
  line-height: 1;
}

address {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.3;
}

.contact {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.contact li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--grey-300);
}

.contact li:last-child {
  border-bottom: 1px solid var(--grey-300);
}

.contact span {
  flex: 0 0 84px;
  color: var(--grey-600);
}

.contact a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact a:hover {
  color: var(--pink-strong);
}

.site-footer {
  background: var(--grey-100);
  font-size: 0.95rem;
  color: var(--grey-600);
}

.footer-mark {
  width: 34px;
  height: 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 26px;
}

.footer-inner p {
  margin: 0;
  flex: 1 1 240px;
}

.footer-inner nav {
  display: flex;
  gap: 22px;
}

.footer-inner a {
  color: var(--ink);
}

.lightbox {
  width: min(100vw - 24px, 720px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(38, 37, 43, 0.82);
}

.lightbox figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px 12px 0;
  max-height: calc(100dvh - 24px);
}

.lightbox img {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: contain;
  background: var(--grey-100);
}

.lightbox figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 16px;
  padding: 10px 6px 14px;
  font-family: var(--hand);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.15;
}

.lightbox time {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--grey-600);
}

.lightbox-source {
  flex: 1 1 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox-close,
.lightbox-step {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--pink-strong);
  cursor: pointer;
}

.lightbox-step svg {
  width: 30px;
  height: 18px;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-close:hover,
.lightbox-step:hover {
  background: var(--pink-strong);
  color: var(--white);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-step {
  top: calc(50% - 50px);
}

.lightbox-step.previous {
  left: 20px;
}

.lightbox-step.next {
  right: 20px;
}

.legal {
  max-width: 720px;
  min-height: calc(100svh - var(--header-height) - 87px);
  padding-block: clamp(40px, 7vw, 88px);
}

.legal h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.legal .lead {
  max-width: none;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.4;
  color: var(--pink-strong);
}

.legal h2 {
  margin: 44px 0 12px;
  padding-top: 18px;
  border-top: 2px solid var(--pink);
  font-size: 1.4rem;
}

.legal p {
  max-width: 64ch;
  margin: 0 0 0.8em;
}

.legal-date {
  margin-top: 44px;
  font-size: 0.9rem;
  color: var(--grey-600);
}

:focus-visible {
  outline: 3px solid var(--blue-strong);
  outline-offset: 3px;
}

@media (min-width: 901px) {
  .section {
    padding-block: clamp(16px, 4.5svh, 104px);
  }

  .section-head {
    margin-bottom: clamp(8px, 2.5svh, 40px);
  }

  .slider {
    margin-top: 0;
  }

  .tile {
    flex-basis: clamp(
      150px,
      calc((100svh - var(--header-height) - 9svh - 16rem) * 0.8),
      calc((100% - (var(--columns) - 1) * var(--gap)) / var(--columns))
    );
  }

  .snapshots {
    max-width: min(470px, 62svh);
  }
}

@media (min-width: 1500px) {
  :root {
    --wrap: 1300px;
    --header-height: 91px;
  }

  html {
    font-size: 112.5%;
  }

  .header-inner {
    min-height: 90px;
  }
}

@media (min-width: 1850px) {
  :root {
    --wrap: 1480px;
  }

  html {
    font-size: 125%;
  }

  h1 {
    font-size: min(4.3rem, 10.5svh);
  }
}

@media (max-width: 1100px) {
  .hours .slot {
    display: block;
  }

  .hours .slot + .slot::before {
    content: none;
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .gallery {
    --columns: 3;
  }

  .tags {
    gap: 14px;
  }

  .tag {
    min-height: 240px;
    padding-inline: 8px;
  }

  .tag h3 {
    font-size: 1.2rem;
  }

  .tag p {
    font-size: 1.3rem;
  }

  .actions {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .site-header {
    position: static;
  }

  :root {
    --header-height: 0px;
  }

  [data-spy],
  .hero,
  .visit {
    min-height: 0;
  }

  .hero {
    padding-top: 14px;
  }

  .section {
    padding-block: 44px;
  }

  .clothesline {
    flex: none;
    max-height: none;
    margin-top: 32px;
    padding-bottom: 0;
  }

  .clothesline svg {
    height: auto;
  }
}

@media (max-width: 640px) {
  .tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .clothesline .line-wide {
    display: none;
  }

  .clothesline .line-narrow {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .snapshots {
    width: min(86%, 340px);
    margin-inline: auto;
    left: 12px;
  }

  .gallery {
    --columns: 2.15;
    --gap: 14px;
  }

  .print {
    padding: 7px 7px 10px;
  }

  .tile-text {
    font-size: 1.4rem;
  }

  .print .note {
    padding: 8%;
    font-size: 1.3rem;
  }

  .print .note.long {
    font-size: 1rem;
  }

  .tag {
    min-height: 210px;
    padding: 54px 10px 22px;
  }

  .tag svg {
    width: 70px;
    height: 82px;
    margin-bottom: 12px;
  }

  .tag svg.wide {
    width: 96px;
    height: 96px;
    margin: -8px 0 6px;
  }

  .tag h3 {
    font-size: 1.15rem;
  }

  .tag p {
    font-size: 1.3rem;
  }

  .brand img {
    height: 48px;
  }

  .header-inner {
    min-height: 64px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-text {
    display: contents;
  }

  .hero-inner {
    gap: 0;
  }

  .hero h1 {
    order: 2;
  }

  .hero-phone {
    order: 3;
    margin: 14px 0 20px;
  }

  .door-sign {
    order: 3;
  }

  .slider-step {
    font-size: 1.6rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .print {
    transition: none;
  }
}
