/* Café Morgenrot. Website-Konzept für MenuStudio.
 *
 * Ruhig. Hell. Morgens um acht. Papier statt Weiß, Serifen mit
 * weichen Kanten, Rundbögen wie die Fenster eines Altbaus, und ein
 * Morgenrot hinter dem ersten Bild. Bewegung nur dort, wo sie etwas
 * erzählt: der Tag läuft beim Scrollen ab.
 *
 * Eigenständig: kein Code und keine Schrift von MenuStudio. So wird
 * auch eine Kundenwebsite ausgeliefert. */

@font-face {
  font-family: "Fraunces";
  src: url("/websites/cafe-morgenrot/v-b74dde0bfd/schrift/fraunces.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/websites/cafe-morgenrot/v-b74dde0bfd/schrift/fraunces-kursiv.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/websites/cafe-morgenrot/v-b74dde0bfd/schrift/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/websites/cafe-morgenrot/v-b74dde0bfd/schrift/instrument-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/websites/cafe-morgenrot/v-b74dde0bfd/schrift/instrument-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --papier: #F4EDE1;
  --papier-tief: #EBE1D0;
  --tinte: #2B1F17;
  --tinte-leise: rgba(43, 31, 23, 0.64);
  --tinte-linie: rgba(43, 31, 23, 0.14);
  --terrakotta: #B4532A;
  --terrakotta-tief: #8F3E1D;
  --morgen: #EBA58A;
  --butter: #F2D7A6;
  --salbei: #8A9A7B;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --rand: clamp(20px, 5vw, 72px);
  --breite: 1240px;
  --kurve: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* ── Konzept-Streifen ───────────────────────────────── */

.konzept {
  position: relative;
  z-index: 60;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px var(--rand);
  background: var(--tinte);
  color: rgba(244, 237, 225, 0.8);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.konzept b { color: var(--papier); font-weight: 600; }
.konzept a { color: var(--butter); text-underline-offset: 3px; }
/* Im Rahmen der Ausstellung steht das schon daneben. */
.im-rahmen .konzept { display: none; }
/* Im Rahmen ohne Scrollleiste: verkleinert ist sie nur ein Strich am Rand. */
.im-rahmen { scrollbar-width: none; }
.im-rahmen::-webkit-scrollbar { display: none; }

/* ── Kopf ───────────────────────────────────────────── */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 22px var(--rand);
  transition: padding 0.5s var(--kurve), background 0.5s var(--kurve), box-shadow 0.5s var(--kurve);
}
.kopf::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: rgba(244, 237, 225, 0);
  transition: background 0.5s var(--kurve), box-shadow 0.5s var(--kurve);
}
.kopf.gescrollt { padding-top: 12px; padding-bottom: 12px; }
.kopf.gescrollt::before {
  background: rgba(244, 237, 225, 0.92);
  box-shadow: 0 1px 0 var(--tinte-linie);
  backdrop-filter: blur(10px);
}

/* Die Marke ist nur der Schriftzug. */
.marke {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
  letter-spacing: -0.02em;
}

.navi { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.navi a { text-decoration: none; position: relative; }
.navi a:not(.navi-karte)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--kurve);
}
.navi a:not(.navi-karte):hover::after { transform: scaleX(1); }
.navi-karte {
  padding: 10px 20px;
  border-radius: 3px;
  background: var(--terrakotta);
  color: #fff;
  transition: background 0.3s;
}
.navi-karte:hover { background: var(--terrakotta-tief); }

.navi-knopf { display: none; }
/* Offenes Menue: die Seite dahinter steht still. */
.navi-offen, .navi-offen body { overflow: hidden; }

@media (max-width: 860px) {
  .navi-knopf {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px; height: 46px;
    padding: 0 12px;
    border: 1px solid var(--tinte-linie);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
  }
  .navi-knopf span { display: block; height: 1.6px; background: var(--tinte); transition: transform 0.4s var(--kurve); }
  .navi-offen .navi-knopf span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .navi-offen .navi-knopf span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .navi {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    background: var(--papier);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--kurve), visibility 0s 0.4s;
  }
  .navi-offen .navi { opacity: 1; visibility: visible; transition: opacity 0.4s var(--kurve); }
  .navi { overflow-y: auto; overscroll-behavior: contain; }
  .navi-karte { font-family: var(--sans); font-size: 17px; margin-top: 12px; }
}

/* ── Fotos und ihre Plaetze ─────────────────────────── */

/* Jedes Bild steht in einer figure.foto. Fehlt die Datei noch, setzt
 * morgenrot.js die Klasse "fehlt": dann steht eine ruhige Flaeche im
 * Ton des Motivs da, mit dem gewuenschten Motiv als Beschriftung.
 * Sobald die Datei in bilder/ liegt, steht das Foto da. */
.foto {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ton, var(--papier-tief));
}
.foto img, .foto video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.foto.fehlt {
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(90% 80% at 80% 90%, rgba(180, 83, 42, 0.18), transparent 70%),
    var(--ton, var(--papier-tief));
}
.foto.fehlt img, .foto.fehlt video { visibility: hidden; }
.foto.fehlt::after {
  content: "Foto folgt · " attr(data-motiv);
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(43, 31, 23, 0.62);
}
.foto.rund.fehlt::after, .g2.fehlt::after { content: "Foto folgt"; text-align: center; bottom: 44%; }

.bogen { border-radius: 999px 999px 18px 18px; }
.rund { border-radius: 50%; }

/* ── Kopf: Kaffee wird eingegossen ──────────────────── */

/* Der Abschnitt ist hoeher als der Bildschirm, die Buehne darin
 * klebt. Waehrend man durch die Hoehe scrollt, malt morgenrot.js das
 * passende Bild der Bildfolge in die Leinwand: oben leere Tasse,
 * unten volle. Rueckwaerts genauso.
 *
 * Die Bilder haben weissen Grund. "multiply" macht daraus das Papier
 * der Seite, und das Morgenrot dahinter faerbt das Weiss warm. */
.giessen { position: relative; height: 260svh; }
.giessen-buehne {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 96px var(--rand) 40px;
  /* Die Buehne bildet eine eigene Ebene (sticky). Ohne eigenen Grund
     haette "multiply" nichts zum Mischen, und das Weiss der Bilder
     stuende als heller Kasten auf dem Papier. */
  background: var(--papier);
}
.morgenrot {
  position: absolute;
  left: 66%; top: 56%;
  width: min(110vw, 1150px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 165, 138, 0.3) 0%, rgba(242, 215, 166, 0.22) 36%, rgba(244, 237, 225, 0) 64%);
  animation: aufgehen 2.4s var(--kurve) both;
}
@keyframes aufgehen {
  from { opacity: 0; transform: translate(-50%, -38%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.giessen-bild { position: absolute; inset: 0; mix-blend-mode: multiply; }
/* Unten laeuft die Buehne ins Papier aus: kein Strich, wo sie endet. */
.giessen-buehne::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(rgba(244, 237, 225, 0), var(--papier));
  pointer-events: none;
}
.giessen-bild canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Ohne Skript steht die volle Tasse da. Mit Skript malt die
 * Leinwand, sobald das erste Bild geladen ist. */
.giessen-standbild {
  position: absolute;
  left: 66%; top: 56%;
  width: min(70vw, 1100px);
  transform: translate(-50%, -50%);
}
.giessen-laeuft .giessen-standbild { visibility: hidden; }

.hero-text { position: relative; z-index: 2; max-width: min(46vw, 640px); }
.gruss {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--terrakotta);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero-text h1 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(52px, 7.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 380;
}
.hero-text h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--terrakotta);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero-satz { margin-top: 26px; max-width: 30em; font-size: clamp(17px, 1.4vw, 19px); color: var(--tinte-leise); }
/* Der Status als Satz, ohne Leuchtpunkt: so steht es auch an der Tuer. */
.status { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--terrakotta); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Ein Knopf, eckig wie ein Schild; der zweite Weg ist ein Textlink. */
.knopf {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 3px;
  background: var(--tinte);
  color: var(--papier);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  transition: background 0.3s;
}
.knopf:hover { background: var(--terrakotta-tief); }
.knopf.knopf-leise {
  height: auto;
  padding: 0 0 3px;
  border-radius: 0;
  background: none;
  color: var(--tinte);
  border-bottom: 1.5px solid var(--tinte);
  align-self: center;
}
.knopf.knopf-leise:hover { background: none; color: var(--terrakotta); border-color: var(--terrakotta); }

/* Erscheint, wenn die Tasse voll ist. */
.hero-notiz {
  position: absolute;
  right: calc(var(--rand) + 2%);
  bottom: 14%;
  z-index: 2;
  padding-left: 46px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.25;
  color: var(--tinte);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--kurve), transform 0.7s var(--kurve);
}
/* Eine feine Linie davor statt Karte mit Schatten. */
.hero-notiz::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 32px; height: 1px; background: var(--tinte); }
.hero-notiz.da, .ohne-js .hero-notiz { opacity: 1; transform: none; }

/* Unten mittig: wie weit die Tasse ist. Verschwindet, wenn sie voll ist. */
.giessen-hinweis {
  position: absolute;
  left: 50%; bottom: 22px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tinte-leise);
  transition: opacity 0.5s var(--kurve);
}
.giessen-hinweis.weg, .ohne-js .giessen-hinweis { opacity: 0; }

/* Ohne Skript und bei "Bewegung reduzieren": kein langer Abschnitt,
 * die volle Tasse steht einfach da. */
.ohne-js .giessen, .ruhig .giessen { height: auto; }
.ohne-js .giessen-buehne, .ruhig .giessen-buehne { position: relative; height: auto; min-height: min(100svh, 860px); }

@media (max-width: 860px) {
  /* Am Handy: Text oben, die Tasse darunter, angeschnitten wie ein
   * Foto, das bis an den Rand geht. */
  .giessen { height: 230svh; }
  .giessen-buehne { align-items: start; padding-top: 92px; }
  .hero-text { max-width: none; }
  .hero-text h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .hero-satz { margin-top: 16px; font-size: 16px; }
  .status { margin-top: 14px; }
  .hero-knoepfe { margin-top: 18px; gap: 8px; }
  .knopf { height: 46px; padding: 0 20px; font-size: 14.5px; }
  .hero-knoepfe { gap: 20px; }
  /* Der Schein bleibt ganz in der Buehne. Reichte er darueber hinaus,
     schnitte die Buehne ihn ab, und unten staende eine harte Kante. */
  .morgenrot { left: 50%; top: 74%; width: 110vw; }
  .giessen-standbild { left: 50%; top: auto; bottom: 2svh; width: 112vw; transform: translateX(-50%); }
  .hero-notiz { right: var(--rand); bottom: 30%; font-size: 15px; padding-left: 34px; }
  .hero-notiz::before { width: 22px; }
  .giessen-hinweis { bottom: 14px; }
}

/* ── Gemeinsames ────────────────────────────────────── */

.abschnitt-kopf { max-width: 36em; }
.dach {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terrakotta);
}
.abschnitt-kopf h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 360;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.abschnitt-kopf > p:not(.dach) { margin-top: 18px; color: var(--tinte-leise); }

.pfeil-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--terrakotta);
  padding-bottom: 3px;
}
.pfeil-link span { transition: transform 0.4s var(--kurve); }
.pfeil-link:hover span { transform: translateX(5px); }

/* Einblenden beim Hereinscrollen. Ohne JavaScript ist alles sofort da. */
.mit-js .erscheint { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--kurve), transform 1s var(--kurve); }
.mit-js .erscheint.da { opacity: 1; transform: none; }

/* ── Vitrine ────────────────────────────────────────── */

.vitrine {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--rand) clamp(80px, 10vw, 150px);
}
.vitrine-liste {
  list-style: none;
  margin: clamp(36px, 5vw, 64px) 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.vitrine-liste li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--tinte-linie);
}
.vitrine-liste li:nth-child(2) { transition-delay: 0.12s; }
.vitrine-liste li:nth-child(3) { transition-delay: 0.24s; }
.vitrine-liste .foto { width: 84px; height: 84px; }
.vitrine-liste h3 { font-family: var(--serif); font-size: 24px; line-height: 1.1; font-variation-settings: "SOFT" 50; }
.vitrine-liste h3 small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--salbei); vertical-align: 3px; margin-left: 4px; }
.vitrine-liste p { margin-top: 4px; font-size: 14.5px; color: var(--tinte-leise); }
.preis { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--terrakotta); font-variation-settings: "SOFT" 100, "WONK" 1; }

@media (max-width: 960px) {
  .vitrine-liste { grid-template-columns: 1fr; gap: 0; }
  .vitrine-liste li { padding: 18px 0; }
}

/* ── Ein Tag ────────────────────────────────────────── */

/* Links klebt das Bild, rechts laeuft der Tag. Jeder Abschnitt, der
 * in die Mitte des Bildschirms kommt, blendet sein Bild ein. */
.tag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand) clamp(80px, 10vw, 150px);
}
/* Am Desktop ohne eigene Rolle; am Handy die Wand hinter dem Bild. */
.tag-wand { display: contents; }
.tag-bilder {
  position: sticky;
  top: 110px;
  height: min(78svh, 720px);
  align-self: start;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
}
.tag-bild {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--kurve), transform 1.6s var(--kurve);
}
.tag-bild.ist-an { opacity: 1; transform: none; }
.tag-text { padding-top: clamp(20px, 6vh, 80px); }
.tag-liste { list-style: none; margin: 40px 0 0; padding: 0; }
.tag-liste li {
  min-height: 52svh;
  padding: 36px 0;
  border-top: 1px solid var(--tinte-linie);
  opacity: 0.32;
  transition: opacity 0.7s var(--kurve);
}
.tag-liste li:last-child { min-height: 0; padding-bottom: 0; }
.tag-liste li.ist-an { opacity: 1; }
.tag-liste time { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--terrakotta); font-variation-settings: "SOFT" 100, "WONK" 1; }
.tag-liste h3 { margin-top: 6px; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: "SOFT" 50, "opsz" 96; }
.tag-liste p { margin-top: 14px; max-width: 28em; color: var(--tinte-leise); }

@media (max-width: 860px) {
  .tag { grid-template-columns: 1fr; gap: 0; }
  /* Am Handy klebt das Bild oben, der Tag laeuft darunter durch. */
  /* Das Bild klebt oben, vor einer hellen Wand mit Blattschatten. Die
     Wand deckt den Text, der darunter durchlaeuft; unten geht sie
     weich ins Papier ueber. */
  .tag-wand {
    display: block;
    position: sticky;
    top: 56px;
    z-index: 2;
    margin: 0 calc(-1 * var(--rand));
    padding: 26px var(--rand) 34px;
    background:
      linear-gradient(rgba(244, 237, 225, 0) 78%, var(--papier)),
      linear-gradient(rgba(244, 237, 225, 0.38), rgba(244, 237, 225, 0.38)),
      url("/websites/cafe-morgenrot/v-b74dde0bfd/bilder/wand.jpg") center / cover var(--papier-tief);
  }
  .tag-bilder { position: relative; top: auto; height: 36svh; border-radius: 999px 999px 18px 18px; }
  .tag-text { padding-top: 28px; }
  .tag-liste { margin-top: 24px; }
  .tag-liste li { min-height: 46svh; padding: 26px 0; }
}

/* ── Über uns ───────────────────────────────────────── */

.wir {
  padding: clamp(80px, 11vw, 160px) var(--rand);
  background: var(--tinte);
  color: var(--papier);
}
.wir blockquote { max-width: var(--breite); margin: 0 auto; }
.wir blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 6.6vw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--butter);
}
.wir blockquote footer { margin-top: 28px; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244, 237, 225, 0.6); }
.wir-bilder {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
  max-width: var(--breite);
  margin: clamp(56px, 8vw, 110px) auto 0;
}
.wir-bilder .foto { aspect-ratio: 4 / 5; }
.wir-bilder .foto.fehlt::after { color: rgba(43, 31, 23, 0.7); }
.wir-text { display: grid; gap: 20px; max-width: 32em; font-size: 18px; color: rgba(244, 237, 225, 0.82); padding-bottom: 12px; }

@media (max-width: 860px) {
  .wir-bilder { grid-template-columns: 1fr; }
  .wir-bilder .foto { width: 80%; }
}

/* ── Galerie ────────────────────────────────────────── */

.galerie {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(80px, 9vw, 130px);
  gap: clamp(12px, 2vw, 24px);
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) var(--rand);
}
.galerie .foto { border-radius: 18px; will-change: transform; }
.g1 { grid-column: 1 / 6; grid-row: 1 / 5; }
.g2 { grid-column: 7 / 10; grid-row: 2 / 4; border-radius: 50% !important; aspect-ratio: 1; align-self: center; }
.g3 { grid-column: 10 / 13; grid-row: 1 / 4; border-radius: 999px 999px 18px 18px !important; }
.g4 { grid-column: 6 / 12; grid-row: 4 / 7; }

@media (max-width: 860px) {
  .galerie { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 72px; }
  .g1 { grid-column: 1 / 5; grid-row: 1 / 5; }
  .g2 { grid-column: 4 / 7; grid-row: 4 / 7; }
  .g3 { grid-column: 5 / 7; grid-row: 1 / 4; }
  .g4 { grid-column: 1 / 4; grid-row: 5 / 8; }
}

/* ── Besuch ─────────────────────────────────────────── */

.besuch {
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand) clamp(80px, 10vw, 150px);
}
.besuch-raster {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(36px, 5vw, 64px);
  align-items: start;
}
.besuch h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terrakotta); margin-bottom: 14px; }
.besuch h3:not(:first-child) { margin-top: 30px; }
.zeiten table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.zeiten th, .zeiten td { padding: 9px 0; border-bottom: 1px solid var(--tinte-linie); text-align: left; font-weight: 400; }
.zeiten td { text-align: right; color: var(--tinte-leise); }
.zeiten tr.heute th, .zeiten tr.heute td { color: var(--tinte); font-weight: 600; }
.zeiten tr.heute th::after { content: " · heute"; font-weight: 400; color: var(--terrakotta); font-family: var(--serif); font-style: italic; }
.klein { margin-top: 14px; font-size: 14px; color: var(--tinte-leise); }
address { font-style: normal; font-family: var(--serif); font-size: 24px; line-height: 1.3; font-variation-settings: "SOFT" 50; }
.anfahrt p { margin-top: 14px; }
.plan { border-radius: 24px; overflow: hidden; background: var(--papier-tief); aspect-ratio: 4 / 3; }
.plan svg { width: 100%; height: 100%; display: block; }
.plan-fluss { fill: none; stroke: #BFD0CC; stroke-width: 22; stroke-linecap: round; }
.plan-strasse { fill: none; stroke: #FFFFFF; stroke-width: 12; stroke-linecap: round; }
.plan-gasse { fill: none; stroke: #FFFFFF; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1 10; }
.plan-ring { fill: rgba(180, 83, 42, 0.16); transform-origin: 188px 134px; animation: puls 2.8s ease-out infinite; }
.plan-punkt { fill: var(--terrakotta); }
.plan text { font-family: var(--serif); font-style: italic; font-size: 20px; fill: var(--tinte); }
@keyframes puls { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

@media (max-width: 960px) {
  .besuch-raster { grid-template-columns: 1fr 1fr; }
  .plan { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .besuch-raster { grid-template-columns: 1fr; }
}

/* ── Fuss ───────────────────────────────────────────── */

.fuss {
  padding: clamp(56px, 8vw, 96px) var(--rand) 40px;
  border-top: 1px solid var(--tinte-linie);
  text-align: center;
  color: var(--tinte-leise);
  font-size: 14.5px;
}
.fuss-marke {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(64px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--tinte);
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  margin-bottom: 26px;
}
.fuss-klein { margin-top: 10px; font-size: 13px; }

/* ── Hinweis fuer Links, die es im Konzept nicht gibt ── */

.hinweis {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 80;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--tinte);
  color: var(--papier);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--kurve), transform 0.35s var(--kurve);
}
.hinweis.da { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .mit-js .erscheint { opacity: 1; transform: none; }
}
