/* Bistro-Café Walmarie. The page reads like the building, top to bottom:
   raspberry wall with the white sign, sage awning, graphite shopfront. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* Sampled from the façade photo, then given back the saturation the winter light took. */
  --fassade: #b4404f;
  --fassade-tief: #8f2f3d;
  --fassade-text: #fbe9ea;
  --schild: #ffffff;
  --porzellan: #ffffff;
  --rose: #f6e8ea;
  --rose-tief: #ead3d6;
  --tafel: #262a31;
  --tafel-hoch: #323741;
  --kreide: #f1eeea;
  --kreide-matt: #b9bcc2;
  --markise: #56645a;
  --markise-hell: #cfe7d5;
  --ink: #262a31;
  --ink-matt: #575c65;

  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Tangerine", "Apple Chancery", cursive;

  --step--1: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.9vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.9vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.75rem);

  --gutter: clamp(1rem, 0.6rem + 2.2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --measure: 62ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--fassade) var(--porzellan);
}

body {
  margin: 0;
  background: var(--porzellan);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--fassade);
}

::selection {
  background: var(--fassade);
  color: var(--schild);
}

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

figure {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  font-size: var(--step-4);
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--fassade);
  outline-offset: 3px;
  border-radius: 2px;
}

.facade :focus-visible,
.hours :focus-visible,
.place :focus-visible,
.footer :focus-visible,
.dock :focus-visible {
  outline-color: var(--schild);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--schild);
  color: var(--ink);
  font-weight: 700;
}

.skip:focus {
  top: 0.75rem;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-detail {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.btn-solid {
  background: var(--schild);
  color: var(--fassade-tief);
}

.btn-solid:hover {
  background: var(--fassade-text);
}

.btn-line {
  border-color: var(--fassade-text);
  color: var(--schild);
}

.btn-line:hover {
  background: var(--schild);
  color: var(--fassade-tief);
}

.btn-ink {
  background: var(--tafel);
  color: var(--kreide);
}

.btn-ink:hover {
  background: var(--fassade);
  color: var(--schild);
}

.text-link {
  font-weight: 700;
  color: var(--fassade-tief);
}

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

/* ---------- Hero: the wall and the sign ---------- */

.hero {
  display: grid;
  background: var(--fassade);
  color: var(--schild);
  border-bottom: 0.875rem solid var(--markise);
}

.facade {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.topbar-home {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--fassade-text);
  text-decoration: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 0.25rem 0 0.9rem;
  border: 0;
  background: none;
  color: var(--schild);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease-out);
}

.menu-toggle-bars {
  position: relative;
  order: 2;
}

.menu-toggle-bars::before {
  content: "";
  position: absolute;
  top: -7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  transform: translateY(7px) rotate(-90deg);
}

.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: block;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  text-decoration: underline;
}

.js .nav {
  position: absolute;
  top: 100%;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  z-index: 10;
  padding: 0.5rem var(--gutter) 1.5rem;
  background: var(--fassade-tief);
  box-shadow: 0 18px 30px -12px rgba(60, 12, 22, 0.45);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
}

.js .nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s;
}

.js .nav a {
  padding: 0.85rem 0;
  font-size: var(--step-1);
  border-bottom: 1px solid rgba(251, 233, 234, 0.25);
}

html:not(.js) .menu-toggle {
  display: none;
}

html:not(.js) .nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.hero-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  margin-top: clamp(1.5rem, 1rem + 4vw, 4rem);
  scroll-margin-top: 1rem;
}

/* The sign: white board, scooped corners, a thin inner line, sans "Bistro-Café"
   beside a chancery "Walmarie". Sized from its own width, like the real one. */
.sign {
  position: relative;
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5cqw;
  width: min(100%, 34rem);
  aspect-ratio: 3.35 / 1;
  padding: 0 6cqw;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 670 200' preserveAspectRatio='none'%3E%3Cpath d='M20 0H650A20 20 0 0 0 670 20V180A20 20 0 0 0 650 200H20A20 20 0 0 0 0 180V20A20 20 0 0 0 20 0Z' fill='%23fff'/%3E%3Cpath d='M28 9H642A19 19 0 0 0 661 28V172A19 19 0 0 0 642 191H28A19 19 0 0 0 9 172V28A19 19 0 0 0 28 9Z' fill='none' stroke='%23262a31' stroke-opacity='.55' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 14px 18px rgba(70, 14, 26, 0.28)) drop-shadow(0 2px 3px rgba(70, 14, 26, 0.25));
}

.sign-small {
  font-size: 7.4cqw;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sign-script {
  font-family: var(--script);
  font-weight: 700;
  font-size: 22.5cqw;
  line-height: 0.8;
  letter-spacing: 0;
  transform: translateY(4%);
  white-space: nowrap;
}

.lede {
  max-width: 30ch;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 700;
  font-size: var(--step-1);
  font-variant-numeric: tabular-nums;
}

.status-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.42em;
  border-radius: 50%;
  border: 2px solid var(--fassade-text);
  flex: none;
}

.status[data-state="open"] .status-dot {
  background: var(--markise-hell);
  border-color: var(--markise-hell);
  box-shadow: 0 0 0 4px rgba(207, 231, 213, 0.22);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-photo {
  min-height: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 62%;
}

/* ---------- Kuchenzeit: the shopfront board ---------- */

.hours {
  overflow-x: clip;
  background: var(--tafel);
  color: var(--kreide);
  padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) var(--gutter);
}

.hours-inner {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 76rem;
  margin: 0 auto;
}

.hours h2 {
  font-size: var(--step-4);
}

.hours-summary {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--kreide);
}

.hours-live {
  margin-top: 1rem;
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--markise-hell);
  font-variant-numeric: tabular-nums;
}

.hours-live:empty {
  display: none;
}

.ruler {
  --now: 0%;
  --fill: 0;
  padding-top: 3rem;
}

html:not(.js) .ruler {
  padding-top: 0;
}

.ruler-track {
  position: relative;
  height: 3.25rem;
  border-radius: 0.4rem;
  background: var(--tafel-hoch);
}

.ruler-tick {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(241, 238, 234, 0.22);
}

/* The open window is 14 to 18 on a 12 to 20 scale: 25% to 75%. */
.ruler-window {
  position: absolute;
  inset: 0 25%;
  border-radius: 0.3rem;
  border: 2px solid var(--kreide);
}

.ruler-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25%;
  width: 50%;
  background: var(--fassade);
  border-radius: 0.3rem;
  transform: scaleX(var(--fill));
  transform-origin: 0 50%;
}

.ruler[data-day="closed"] .ruler-window {
  border-style: dashed;
  border-color: var(--kreide-matt);
}

.ruler-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--now);
  width: 0;
  pointer-events: none;
  display: none;
}

.js .ruler-rail {
  display: block;
}

.ruler-now {
  position: absolute;
  top: -0.6rem;
  bottom: -0.6rem;
  left: -1.5px;
  width: 3px;
  background: var(--schild);
  border-radius: 2px;
}

.ruler-now-label {
  position: absolute;
  bottom: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--schild);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ruler[data-edge="start"] .ruler-now-label {
  left: 0;
  transform: none;
}

.ruler[data-edge="end"] .ruler-now-label {
  left: auto;
  right: 0;
  transform: none;
}

.ruler-scale {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  margin: 0.7rem -6.25% 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: var(--step--1);
  color: var(--kreide-matt);
}

.ruler-scale .is-edge {
  color: var(--kreide);
  font-weight: 800;
  font-size: var(--step-0);
}

.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-variant-numeric: tabular-nums;
}

.week li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.2rem 0.75rem;
  border-top: 2px solid rgba(241, 238, 234, 0.35);
  text-align: center;
}

.week-day {
  font-weight: 800;
}

.week-time {
  font-size: var(--step--1);
  color: var(--kreide-matt);
}

.week-short {
  display: none;
}

@media (max-width: 559px) {
  .week-long {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .week-short {
    display: inline;
  }
}

.week li[data-closed] .week-day {
  color: var(--kreide-matt);
}

.week li[aria-current] {
  border-top-color: var(--fassade);
  background: var(--tafel-hoch);
  border-radius: 0 0 0.35rem 0.35rem;
}

.week li[aria-current] .week-time {
  color: var(--kreide);
}

/* ---------- Kuchen ---------- */

.cakes {
  padding: var(--section) 0 0;
}

.cakes-intro {
  display: grid;
  gap: 1.25rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cakes-intro h2 {
  color: var(--fassade);
}

.cakes-intro p {
  max-width: 44ch;
  font-size: var(--step-1);
  line-height: 1.45;
}

.cakes-wide {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.cakes-wide img {
  width: 100%;
  height: clamp(22rem, 62vw, 50rem);
  object-fit: cover;
  object-position: 48% 70%;
}

.cakes-grid {
  display: grid;
  gap: var(--gutter);
  max-width: 88rem;
  margin: var(--gutter) auto 0;
  padding: 0 var(--gutter);
}

.cake img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.reviews {
  display: grid;
  gap: 1.5rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.reviews-lead {
  max-width: 26ch;
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.reviews-quote {
  margin: 0;
  max-width: 40ch;
}

.reviews-quote p {
  font-size: var(--step-1);
  line-height: 1.4;
}

.reviews-quote footer {
  margin-top: 0.4rem;
  font-size: var(--step--1);
  color: var(--ink-matt);
}

.reviews .text-link {
  justify-self: start;
}

/* ---------- Das Café ---------- */

.place {
  display: grid;
  gap: var(--gutter);
  padding: 0 0 var(--section);
  background: var(--fassade);
  color: var(--schild);
}

.place-main img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.place-text {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  padding: 0 var(--gutter);
}

.place-text h2 {
  font-size: var(--step-3);
  max-width: 16ch;
}

.place-text p {
  max-width: 46ch;
  color: var(--fassade-text);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 0.4rem 0.85rem;
  border: 1.5px solid rgba(251, 233, 234, 0.6);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
}

.place-side {
  padding: 0 var(--gutter);
}

.place-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.place-side-a img {
  object-position: 45% 30%;
}

/* ---------- Besuch ---------- */

.visit {
  padding: var(--section) var(--gutter);
  background: var(--rose);
}

.visit-inner {
  display: grid;
  gap: var(--gutter);
  max-width: 76rem;
  margin: 0 auto;
}

.visit-card {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1.25rem;
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem);
  background: var(--schild);
  border-radius: 0.5rem;
  outline: 1.5px solid rgba(38, 42, 49, 0.45);
  outline-offset: -0.6rem;
  box-shadow: 0 1px 2px rgba(38, 42, 49, 0.08), 0 18px 40px -24px rgba(38, 42, 49, 0.3);
}

.visit-card h2 {
  font-size: var(--step-3);
}

.visit-card address {
  font-style: normal;
  font-size: var(--step-1);
  line-height: 1.4;
}

.visit-phone a {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  color: var(--fassade-tief);
}

.visit-phone a:hover {
  color: var(--fassade);
  text-decoration: underline;
}

.table {
  width: 100%;
  max-width: 24rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.table caption {
  text-align: left;
  font-weight: 800;
  padding-bottom: 0.4rem;
}

.table th,
.table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rose-tief);
  text-align: left;
  font-weight: 400;
}

.table td {
  text-align: right;
}

.table tr[data-closed] {
  color: var(--ink-matt);
}

.table tr[aria-current] th,
.table tr[aria-current] td {
  font-weight: 800;
  color: var(--fassade-tief);
}

.map {
  position: relative;
  display: grid;
  min-height: 24rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--tafel) url("img/marktplatz-800.jpg") 50% 40% / cover no-repeat;
  color: var(--kreide);
}

/* The real Marktplatz sits under the consent text, held back by a solid graphite scrim. */
.map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(38, 42, 49, 0.84);
}

.map-consent {
  position: relative;
}

.map-consent {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem);
}

.map-title {
  font-size: var(--step-2);
  font-weight: 800;
}

.map-consent p:not(.map-title) {
  max-width: 36ch;
  color: var(--kreide);
}

.map .btn-ink {
  background: var(--schild);
  color: var(--ink);
}

.map .btn-ink:hover {
  background: var(--fassade);
  color: var(--schild);
}

.map .text-link {
  color: var(--kreide);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--tafel);
  color: var(--kreide);
  border-top: 0.875rem solid var(--markise);
  padding: clamp(3rem, 2rem + 3vw, 5rem) var(--gutter) clamp(6rem, 5rem + 3vw, 7rem);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  max-width: 76rem;
  margin: 0 auto;
}

.footer p {
  color: var(--kreide-matt);
}

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

.footer-mark {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.footer .footer-mark {
  color: var(--kreide);
}

.footer-small {
  font-size: var(--step-0);
}

.footer-script {
  font-family: var(--script);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.footer-credit {
  font-size: var(--step--1);
}

/* ---------- Mobile dock ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--tafel);
  box-shadow: 0 -8px 24px -10px rgba(38, 42, 49, 0.5);
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: var(--kreide);
  border: 2px solid rgba(241, 238, 234, 0.4);
}

.dock-btn:first-child {
  background: var(--fassade);
  border-color: var(--fassade);
  color: var(--schild);
}

/* ---------- Wider screens ---------- */

@media (min-width: 760px) {
  .js .menu-toggle {
    display: none;
  }

  .js .nav,
  .js .nav.is-open {
    position: static;
    padding: 0;
    background: none;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav ul,
  html:not(.js) .nav ul {
    display: flex;
    gap: 1.6rem;
  }

  .js .nav a {
    padding: 0.5rem 0;
    font-size: var(--step--1);
    border: 0;
  }

  .hours-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(2rem, 1rem + 4vw, 6rem);
    align-items: end;
  }

  .hours-text {
    grid-row: span 2;
    align-self: start;
  }

  .cakes-intro {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: end;
    column-gap: var(--gutter);
  }

  .cakes-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  .cake-a {
    grid-column: 1 / span 7;
  }

  .cake-b {
    grid-column: 8 / span 5;
    margin-top: 18%;
  }

  .cake-c {
    grid-column: 1 / span 5;
    margin-top: -2%;
  }

  .cake-d {
    grid-column: 6 / span 7;
    margin-top: 10%;
  }

  .reviews {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    column-gap: var(--gutter);
  }

  .reviews-lead {
    grid-row: span 2;
    font-size: var(--step-3);
  }

  .reviews .text-link {
    grid-column: 2;
  }

  .place {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding-top: var(--section);
    padding-right: var(--gutter);
    row-gap: var(--gutter);
  }

  .place-main {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
  }

  .place-main img {
    height: 100%;
    aspect-ratio: auto;
  }

  .place-text {
    grid-column: 8 / span 5;
    padding-left: 0;
  }

  .place-side {
    padding: 0;
  }

  .place-side-a {
    grid-column: 8 / span 3;
    align-self: end;
  }

  .place-side-b {
    grid-column: 11 / span 2;
    align-self: end;
  }

  .place-side img,
  .place-side-b img {
    aspect-ratio: auto;
    height: clamp(12rem, 17vw, 17rem);
  }

  .visit-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .map {
    background-image: url("img/marktplatz-1400.jpg");
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    align-items: end;
  }

  .footer-credit {
    grid-column: 1 / -1;
  }

  .dock {
    display: none;
  }

  .footer {
    padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  }
}

/* In the narrow split-hero range the address and four links don't fit side by side;
   the address stays available in the visit card and the footer. */
@media (min-width: 960px) and (max-width: 1149px) {
  .topbar-home {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .topbar {
    justify-content: flex-end;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    min-height: min(88svh, 60rem);
  }

  .facade {
    padding-left: clamp(2rem, 1rem + 4vw, 6rem);
    padding-right: clamp(2rem, 1rem + 3vw, 4rem);
  }

  .hero-body {
    flex: 1;
    justify-content: center;
    margin-top: 0;
  }

  .sign {
    width: min(100%, 40rem);
  }

  .hero-photo {
    position: relative;
  }

  .hero-photo img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    object-position: 50% 66%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

[hidden] {
  display: none !important;
}

/* ---------- Impressum ---------- */

.legal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  background: var(--fassade);
  color: var(--schild);
  border-bottom: 0.875rem solid var(--markise);
}

.legal-back {
  font-weight: 700;
}

.legal-mark {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.legal-body {
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.legal-body h1 {
  font-size: var(--step-4);
}

.legal-body h2 {
  margin-top: 3.5rem;
  font-size: var(--step-3);
  scroll-margin-top: 1.5rem;
}

.legal-body p {
  margin-top: 1rem;
  max-width: var(--measure);
}

.legal-note {
  color: var(--ink-matt);
  font-style: italic;
}

.legal-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 2rem;
  margin: 2rem 0 0;
}

.legal-list dt {
  font-weight: 800;
}

.legal-list dd {
  margin: 0;
}
