/* Amigos Tapas – «la mesa de los amigos», Spitalgasse Zürich. Flaschengrün, Nelkenrot, Zitronengelb.
   Schriften: Bricolage Grotesque + Onest (SIL OFL 1.1, Lizenzen in assets/fonts). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --botella: #0d2a22;
  --botella-2: #143a2f;
  --negro: #06140f;
  --clavel: #ff5a6e;
  --limon: #d9e85a;
  --limon-dunkel: #8e9a2a;
  --barro: #d0562e;
  --yeso: #f6f0e4;
  --palo: #e0c58f;
  --palo-dunkel: #a3814a;
  --schrift-gross: "Bricolage Grotesque", "Onest", sans-serif;
  --schrift: "Onest", sans-serif;
  --saum: clamp(18px, 4.4vw, 64px);
  --leiste-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--leiste-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--botella); color: var(--yeso);
  font: 400 clamp(16px, 1.05vw + 12px, 19px)/1.55 var(--schrift);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
main { overflow-x: clip; }
:focus-visible { outline: 3px solid var(--clavel); outline-offset: 4px; border-radius: 2px; }

.sprung { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--clavel); color: var(--negro); padding: 12px 18px; font-weight: 700; }
.sprung:focus { left: 12px; top: 12px; }

/* Hinweis: inoffizielle Vorschau */
.probe {
  position: relative; z-index: 60; background: var(--negro); color: var(--yeso);
  font-size: 13px; line-height: 1.35; text-align: center; padding: 8px var(--saum);
}
.probe strong { color: var(--clavel); font-weight: 700; }

/* Kennzeichnung der Fotos */
.sb {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  background: rgba(6, 20, 15, .82); color: var(--yeso);
  font: 600 11px/1 var(--schrift); letter-spacing: .02em; padding: 6px 8px; border-radius: 3px;
  pointer-events: none;
}

/* ---------- Leiste ---------- */
.leiste {
  position: sticky; top: 0; z-index: 50; height: var(--leiste-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--saum);
  background: rgba(13, 42, 34, .86); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(246, 240, 228, .1);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px;
  font: 800 19px/1 var(--schrift-gross); font-stretch: 72%; text-transform: uppercase; letter-spacing: .01em;
}
.logo b { color: var(--clavel); font-weight: 800; }
.logo__stab {
  width: 6px; height: 34px; border-radius: 3px; transform: rotate(18deg);
  background: linear-gradient(180deg, var(--yeso) 0 12%, var(--palo) 12% 100%);
  clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  box-shadow: 0 0 0 0 transparent;
}
.navi { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.navi a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 0;
  min-width: 44px; text-align: center;
}
.navi a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 2px;
  background: var(--palo); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.navi a:hover::after, .navi a:focus-visible::after { transform: scaleX(1); }
.navi .navi__mail {
  background: var(--clavel); color: var(--negro); padding: 12px 16px; border-radius: 4px; font-weight: 700;
  transition: background .25s, transform .25s;
}
.navi .navi__mail::after { display: none; }
.navi .navi__mail:hover { background: var(--yeso); transform: rotate(-2deg); }
.menutaste { display: none; }

/* ---------- Stab: das Holzstäbchen, das alle verbindet ---------- */
.stab {
  display: block; position: absolute; width: 12px; border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.18), transparent 40%, rgba(255,255,255,.28) 60%, rgba(0,0,0,.2)),
    var(--palo);
  clip-path: polygon(50% 0, 100% 9%, 100% 91%, 50% 100%, 0 91%, 0 9%);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45));
}

/* ---------- Auftakt: der Name als zwei Chips am Stab ---------- */
.auftakt {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--leiste-h) - 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  padding: clamp(28px, 5vw, 72px) var(--saum) clamp(36px, 5vw, 72px);
  overflow: hidden;
}
.auftakt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 18% 40%, rgba(255, 90, 110, .18), transparent 60%),
    linear-gradient(90deg, var(--botella) 30%, rgba(13, 42, 34, .55) 52%, rgba(13, 42, 34, 0) 72%);
}
.auftakt__bild {
  position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 64%;
  margin: 0;
}
.auftakt__bild img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%);
}
.auftakt__bild .sb { left: auto; right: 14px; top: 14px; bottom: auto; }

.auftakt__bissen {
  position: absolute; z-index: 2; right: clamp(20px, 9vw, 160px); bottom: clamp(26px, 6vw, 90px);
  width: clamp(150px, 17vw, 260px); aspect-ratio: 4 / 5; margin: 0;
  transform: rotate(5deg); border: 6px solid var(--yeso); border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  animation: einschwingen 1.1s .9s cubic-bezier(.2, .9, .2, 1.1) both;
}
.auftakt__bissen img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.auftakt__bissen .sb { left: 6px; bottom: 6px; }

.auftakt__name {
  position: relative; grid-column: 1; grid-row: 1; align-self: center; justify-self: start;
  padding: 30px 0 10px;
  --neigung: 0;
}
.schriftzug { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.schriftzug__chip {
  position: relative; display: block; padding: .02em .16em .06em;
  border-radius: 6px; box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
  animation: anheften .8s cubic-bezier(.2, .9, .25, 1.15) both;
}
.schriftzug__wort {
  display: block; font-family: var(--schrift-gross); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, min(12.6vw, 21svh), 224px); line-height: .84; letter-spacing: -.01em;
  font-stretch: calc(75% + var(--weite, 0) * .42%);
  transition: font-stretch .2s linear;
}
.schriftzug__chip--eins { background: var(--clavel); color: var(--negro); transform: rotate(calc(-3deg + var(--neigung) * -4deg)); margin-left: .5em; animation-delay: .05s; }
.schriftzug__chip--zwei { background: var(--limon); color: var(--botella); transform: rotate(calc(2.5deg + var(--neigung) * 5deg)) translateX(calc(var(--neigung) * 18px)); margin-top: -.06em; margin-left: 1.15em; animation-delay: .22s; }

.stab--auftakt {
  left: calc(1.45em); top: -10px; bottom: -40px; width: 16px; z-index: 4;
  font-size: clamp(64px, min(12.6vw, 21svh), 224px);
  transform-origin: 50% 100%;
  transform: rotate(calc(4deg + var(--neigung) * 3deg));
  animation: stab-rein 1s .55s cubic-bezier(.3, .9, .2, 1) both;
}

.auftakt__text {
  grid-column: 1; grid-row: 2; max-width: 34em; display: grid; gap: 18px; margin-top: clamp(14px, 3vw, 34px);
}
.auftakt__spruch {
  font: 800 clamp(30px, 3.4vw, 56px)/.95 var(--schrift-gross); font-stretch: 112%; text-transform: uppercase;
  color: var(--yeso);
}
.auftakt__lead { max-width: 30em; color: rgba(246, 240, 228, .86); }

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.schalter {
  display: inline-grid; gap: 2px; min-height: 56px; align-content: center;
  padding: 10px 20px 11px; border-radius: 4px; text-decoration: none;
  font: 800 clamp(19px, 1.5vw, 23px)/1 var(--schrift-gross); font-stretch: 88%; text-transform: uppercase;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1.3), background .25s, color .25s, box-shadow .3s;
}
.schalter__klein { font: 600 12px/1.1 var(--schrift); text-transform: none; letter-spacing: .02em; opacity: .8; }
.schalter--voll { background: var(--clavel); color: var(--negro); box-shadow: 6px 6px 0 var(--limon); }
.schalter--voll:hover { transform: translate(-3px, -3px) rotate(-1.5deg); box-shadow: 10px 10px 0 var(--limon); }
.schalter--rand { color: var(--yeso); box-shadow: inset 0 0 0 2px var(--yeso); }
.schalter--rand:hover { background: var(--yeso); color: var(--botella); transform: rotate(1.5deg); }

/* ---------- Laufschrift ---------- */
.laufschrift {
  position: relative; z-index: 3; background: var(--limon); color: var(--botella);
  overflow: hidden; transform: rotate(-1.6deg); margin: -10px -20px 0; padding: 14px 0 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.laufschrift__zug { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); width: max-content; animation: ziehen 26s linear infinite; }
.laufschrift span { font: 900 clamp(34px, 5vw, 76px)/1 var(--schrift-gross); font-stretch: 130%; text-transform: uppercase; letter-spacing: -.01em; }
.laufschrift i {
  display: block; width: clamp(54px, 6vw, 90px); height: 9px; border-radius: 5px; transform: rotate(-24deg);
  background: var(--clavel);
  clip-path: polygon(0 50%, 8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%);
}

/* ---------- Un rato: seitwärts erzählte Runde ---------- */
.rato { position: relative; height: var(--rato-h, 400vh); background: var(--botella); }
.rato__rahmen {
  position: sticky; top: var(--leiste-h); height: calc(100svh - var(--leiste-h));
  overflow: hidden; display: flex; align-items: center;
}
.rato__kopf {
  position: absolute; z-index: 2; top: clamp(22px, 4vh, 48px); left: var(--saum);
  display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; pointer-events: none;
}
.rato__titel {
  font: 900 clamp(30px, 3.6vw, 58px)/.9 var(--schrift-gross); font-stretch: 120%; text-transform: uppercase;
}
.rato__titel span { color: var(--clavel); }
.rato__tipp { font-size: 14px; color: rgba(246, 240, 228, .7); }
.pfeilchen { display: inline-block; animation: schubs 1.6s ease-in-out infinite; }

.rato__zug {
  --zug-gap: calc(var(--saum) * 2);
  display: flex; gap: var(--zug-gap); padding: 0 var(--saum);
  margin-top: clamp(70px, 12vh, 120px);
  will-change: transform; transform: translate3d(var(--versatz, 0px), 0, 0);
}
/* Ein Moment füllt jeweils den ganzen Rahmen */
.moment {
  --moment-w: calc(100vw - 2 * var(--saum));
  --spalt: clamp(24px, 3.4vw, 56px);
  position: relative; flex: 0 0 auto; width: var(--moment-w);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: auto auto 1fr;
  column-gap: var(--spalt); align-items: start;
}
/* Ein langer Stab läuft durch alle Momente */
.moment::before {
  content: ""; position: absolute; z-index: 0; left: -2px; top: 4px; height: 6px;
  width: calc(100% + var(--zug-gap) + 4px); border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 45%, rgba(0, 0, 0, .25)), var(--palo-dunkel);
  opacity: .9; pointer-events: none;
}
.moment:last-child::before { width: 100%; clip-path: polygon(0 0, 97% 0, 100% 50%, 97% 100%, 0 100%); }
.moment__bild { z-index: 1; }
.moment__nr {
  grid-column: 1; font: 700 13px/1 var(--schrift); color: var(--palo); text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; justify-self: start;
  background: var(--botella); padding-right: 14px;
}
.moment__nr::before { content: ""; width: 34px; height: 5px; border-radius: 3px; background: var(--palo); clip-path: polygon(0 50%, 10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%); }
.moment__es {
  grid-column: 1; grid-row: 2; position: relative; z-index: 2;
  /* --wb = gemessene Wortbreite in em bei font-stretch 100%, damit das Wort die Spalte füllt */
  font: 900 min(188px, calc((var(--moment-w) - var(--spalt)) * .575 * .94 / var(--wb, 4.5)))/.82 var(--schrift-gross); text-transform: uppercase; letter-spacing: -.015em;
  font-stretch: 75%; margin: 18px 0 .2em; white-space: nowrap;
  transition: font-stretch 1s cubic-bezier(.2, .8, .2, 1), color .6s;
}
.moment.ist-sichtbar .moment__es { font-stretch: 100%; }
.moment--eins .moment__es { color: var(--clavel); }
.moment--zwei .moment__es { color: var(--limon); }
.moment--drei .moment__es { color: var(--yeso); }
.moment--vier .moment__es { color: #ff9a8a; }
.moment__dt {
  grid-column: 1; grid-row: 3; font: 800 clamp(20px, 2vw, 30px)/1 var(--schrift-gross); font-stretch: 100%;
  text-transform: uppercase; color: var(--palo); margin-top: 22px;
}
.moment__text { grid-column: 1; grid-row: 3; margin-top: 66px; max-width: 22em; color: rgba(246, 240, 228, .88); }
.moment__bild {
  grid-column: 2; grid-row: 1 / 4; position: relative; margin: 0; align-self: end;
  aspect-ratio: 4 / 5; width: 100%; max-height: 56svh; justify-self: end;
}
.moment__bild img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  transform: rotate(var(--drall, 2deg)); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.moment:nth-child(even) .moment__bild { --drall: -2.5deg; }
.moment__bild:hover img { transform: rotate(0deg) scale(1.02); }
.moment__bild .sb { left: 14px; bottom: 14px; }
.stab--nadel { z-index: 3; width: 13px; height: 150px; top: -46px; right: 22%; transform: rotate(24deg); }
.moment:nth-child(even) .stab--nadel { right: auto; left: 18%; transform: rotate(-20deg); }
.moment--eins .moment__bild img { object-position: 42% 50%; }
.moment--zwei .moment__bild img { object-position: 50% 50%; }
.moment--drei .moment__bild img { object-position: 50% 50%; }
.moment--vier .moment__bild img { object-position: 50% 50%; }

/* ---------- Hallo ---------- */
.hallo {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--clavel); color: var(--negro);
  padding: clamp(70px, 10vw, 150px) var(--saum) clamp(70px, 9vw, 130px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); column-gap: clamp(24px, 4vw, 70px);
}
.hallo::before {
  /* schräge Stäbchen im Hintergrund */
  content: ""; position: absolute; inset: -20%; z-index: -1; opacity: .18;
  background: repeating-linear-gradient(64deg, transparent 0 46px, var(--palo-dunkel) 46px 50px, transparent 50px 120px);
}
.hallo__kopf { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; }
.hallo__titel {
  font: 900 clamp(84px, 14vw, 250px)/.8 var(--schrift-gross); font-stretch: 140%; text-transform: uppercase; letter-spacing: -.03em;
  color: var(--botella); margin-left: -.04em;
}
.hallo :focus-visible { outline-color: var(--negro); }
.ende :focus-visible { outline-color: var(--botella); }
.hallo__unter { max-width: 30em; margin-top: 22px; font-size: clamp(17px, 1.3vw, 21px); font-weight: 500; }

.hallo__staebe {
  grid-column: 1; grid-row: 2; position: relative; margin-top: clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  padding: 30px 0;
}
.hallo__staebe .bissen--zwei { margin-left: clamp(20px, 6vw, 110px); }
.stab--lang {
  left: clamp(120px, 16vw, 260px); top: -40px; bottom: -50px; width: 16px; z-index: 0; transform: rotate(5deg);
  clip-path: polygon(50% 0, 100% 4%, 100% 100%, 0 100%, 0 4%);
}
.bissen {
  position: relative; z-index: 1; display: block; min-height: 64px; min-width: 44px; text-decoration: none; color: var(--yeso);
  border-radius: 6px; box-shadow: 0 16px 30px rgba(13, 42, 34, .28);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1.4), box-shadow .35s;
}
.bissen__flaeche {
  display: grid; gap: 6px; min-height: 64px;
  padding: 18px 26px 20px; border-radius: 6px; pointer-events: none;
}
.bissen--eins { transform: rotate(-4deg); }
.bissen--eins .bissen__flaeche { background: var(--limon); color: var(--botella); }
.bissen--zwei { transform: rotate(3deg); }
.bissen--zwei .bissen__flaeche { background: var(--botella); }
.bissen:hover, .bissen:focus-visible { transform: rotate(0deg) translateY(-8px) scale(1.03); box-shadow: 0 26px 40px rgba(13, 42, 34, .38); }
.bissen__art { font: 600 13px/1 var(--schrift); letter-spacing: .04em; opacity: .85; }
.bissen__wert { font: 900 clamp(28px, 3.6vw, 60px)/.95 var(--schrift-gross); font-stretch: 92%; text-transform: uppercase; white-space: nowrap; }
.bissen__wert--mail { text-transform: none; font-size: clamp(20px, 2.2vw, 36px); font-stretch: 80%; white-space: normal; overflow-wrap: anywhere; }

.hallo__bild {
  grid-column: 2; grid-row: 2 / 4; align-self: start; position: relative; margin: clamp(-60px, -3vw, -10px) 0 0;
  aspect-ratio: 4 / 5; border: 8px solid var(--botella); border-radius: 4px; overflow: hidden;
  transform: rotate(-3deg); box-shadow: 0 30px 60px rgba(13, 42, 34, .4);
}
.hallo__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }
.hallo__notiz {
  grid-column: 1; grid-row: 3; margin-top: clamp(40px, 6vw, 70px);
  font: 800 clamp(20px, 2vw, 30px)/1.1 var(--schrift-gross); font-stretch: 100%; text-transform: uppercase; color: var(--botella);
  max-width: 34em;
}

/* ---------- Tisch (Reservations-Demo) ---------- */
.tisch {
  grid-column: 1 / -1; grid-row: 4; position: relative; z-index: 2; margin-top: clamp(50px, 7vw, 100px);
  background: var(--botella); color: var(--yeso); border-radius: 6px; transform: rotate(-1deg);
  padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 26px 50px rgba(13, 42, 34, .35);
}
.tisch :focus-visible { outline-color: var(--limon); }
.tisch__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.tisch__titel { margin: 0; font: 900 clamp(34px, 4.4vw, 70px)/.9 var(--schrift-gross); font-stretch: 120%; text-transform: uppercase; color: var(--limon); }
.tisch__demo {
  font: 800 14px/1 var(--schrift); letter-spacing: .08em; text-transform: uppercase;
  background: var(--clavel); color: var(--negro); padding: 8px 12px; border-radius: 4px; transform: rotate(4deg);
}
.tisch__hinweis { margin: 14px 0 0; font-size: 15px; opacity: .85; }
.tisch__felder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.tisch__feld { display: grid; gap: 8px; min-width: 0; font: 600 13px/1 var(--schrift); letter-spacing: .04em; }
.tisch__feld input, .tisch__feld select {
  min-height: 48px; width: 100%; min-width: 0; max-width: 100%; padding: 10px 14px; border: 2px solid var(--palo-dunkel); border-radius: 4px;
  background: var(--negro); color: var(--yeso); font: 500 17px/1.2 var(--schrift); color-scheme: dark;
}
.tisch__feld input:focus, .tisch__feld select:focus { border-color: var(--limon); }
.tisch__los {
  margin-top: 22px; min-height: 52px; padding: 12px 26px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--limon); color: var(--botella); font: 900 clamp(18px, 1.6vw, 24px)/1 var(--schrift-gross); font-stretch: 110%; text-transform: uppercase;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1.4);
}
.tisch__los:hover, .tisch__los:focus-visible { transform: translateY(-4px) rotate(-2deg); }
.tisch__status { margin: 16px 0 0; min-height: 1.5em; font-weight: 600; color: var(--limon); }
@media (max-width: 820px) {
  .tisch { grid-column: 1; grid-row: auto; transform: none; }
  .tisch__felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tisch__los { width: 100%; }
}
@media (max-width: 560px) { .tisch__felder { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Gasse ---------- */
.gasse {
  position: relative; background: var(--negro); overflow: hidden;
  padding: clamp(80px, 11vw, 170px) var(--saum) clamp(60px, 8vw, 110px);
}
.gasse__ort {
  position: relative; display: block;
  font: 900 clamp(80px, 16vw, 300px)/.78 var(--schrift-gross); font-stretch: 150%; text-transform: uppercase;
  letter-spacing: -.04em; color: #1b4639;
  text-shadow: .035em .035em 0 rgba(255, 90, 110, .42);
  white-space: nowrap;
}
.gasse__wimpel {
  position: absolute; z-index: 2; left: 56%; top: -.55em; height: 1.05em; width: .4em; font-size: 1em;
}
.stab--wimpel { left: 0; top: 0; bottom: 0; width: clamp(8px, 1.1vw, 16px); height: 100%; transform: rotate(6deg); transform-origin: 50% 100%; }
.wimpel {
  position: absolute; left: clamp(8px, 1.1vw, 16px); top: .05em; transform: rotate(6deg); transform-origin: 0 50%;
  background: var(--barro); color: var(--yeso); text-shadow: none;
  font: 900 clamp(18px, 2.4vw, 40px)/1 var(--schrift-gross); font-stretch: 100%; letter-spacing: 0;
  padding: .3em .7em .32em .5em; clip-path: polygon(0 0, 100% 0, 86% 50%, 100% 100%, 0 100%);
  animation: flattern 3s ease-in-out infinite;
}
.gasse__info {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 60px);
  margin-top: clamp(30px, 5vw, 70px); padding-top: 28px; border-top: 3px solid var(--palo);
}
.gasse__adresse { font: 900 clamp(26px, 2.6vw, 44px)/1 var(--schrift-gross); font-style: normal; font-stretch: 96%; text-transform: uppercase; color: var(--yeso); }
.gasse__name { display: block; font: 600 14px/1.2 var(--schrift); text-transform: none; color: var(--clavel); margin-bottom: 10px; letter-spacing: .02em; }
.gasse__text { color: rgba(246, 240, 228, .82); max-width: 24em; }
.gasse__wege { display: grid; gap: 6px; align-content: start; }
.gasse__wege a {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--palo-dunkel); overflow-wrap: anywhere; transition: color .2s, border-color .2s;
}
.gasse__wege a:hover { color: var(--clavel); border-color: var(--clavel); }

/* ---------- Ende ---------- */
.ende { background: var(--limon); color: var(--botella); padding: clamp(40px, 6vw, 80px) var(--saum) 110px; display: grid; gap: 26px; }
.ende__gross { font: 900 clamp(60px, 12vw, 200px)/.8 var(--schrift-gross); font-stretch: 150%; text-transform: uppercase; color: var(--clavel); text-shadow: .04em .04em 0 var(--botella); letter-spacing: -.03em; }
.ende__zeilen { display: grid; gap: 6px; font-size: 15px; }
.ende__zeilen a { text-underline-offset: 3px; display: inline-block; padding: 12px 0; min-height: 44px; }
.ende__wege { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.ende__wege a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; }
.ende__trenner { flex: 0 0 auto; }
.ende__klein { font-size: 13px; opacity: .9; max-width: 50em; margin-top: 8px; }

/* ---------- Zähler: wer schon am Tisch sitzt ---------- */
.zaehler {
  position: fixed; z-index: 40; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  width: 84px; height: 92px; pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.zaehler.ist-aus { opacity: 0; transform: translateY(20px); }
.zaehler__linie {
  position: absolute; left: 6px; right: 6px; bottom: 20px; height: 4px; border-radius: 2px; background: var(--clavel);
}
.zaehler__staebe { position: absolute; left: 12px; right: 12px; bottom: 30px; height: 46px; }
.zaehler__staebe i {
  position: absolute; bottom: 0; width: 6px; height: 40px; border-radius: 3px; background: var(--limon);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  transform-origin: 50% 100%;
  animation: einsinken .6s cubic-bezier(.3, 1.4, .4, 1) both;
}
.zaehler__zahl {
  position: absolute; left: -10px; right: -10px; bottom: 0; text-align: center;
  font: 700 11px/1 var(--schrift); color: var(--yeso); text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

/* ---------- Bewegung ---------- */
@keyframes anheften { from { opacity: 0; translate: 0 -60px; } to { opacity: 1; translate: 0 0; } }
@keyframes stab-rein { from { translate: 0 -120%; opacity: 0; } 30% { opacity: 1; } to { translate: 0 0; } }
@keyframes einschwingen { from { opacity: 0; transform: rotate(18deg) translateY(40px); } to { opacity: 1; transform: rotate(5deg); } }
@keyframes ziehen { to { transform: translateX(-50%); } }
@keyframes schubs { 50% { transform: translateX(6px); } }
@keyframes flattern { 50% { transform: rotate(2deg) skewY(-2deg); } }
@keyframes einsinken { from { translate: 0 -80px; opacity: 0; } to { translate: 0 0; opacity: 1; } }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .auftakt { grid-template-columns: minmax(0, 1fr); }
  .auftakt__bild { width: 78%; }
  .auftakt::before { background: radial-gradient(ellipse 70% 70% at 20% 40%, rgba(255, 90, 110, .16), transparent 60%), linear-gradient(90deg, var(--botella) 22%, rgba(13, 42, 34, .6) 55%, rgba(13, 42, 34, .1) 85%); }
  .schriftzug__wort, .stab--auftakt { font-size: clamp(64px, min(17vw, 22svh), 190px); }
  .gasse__info { grid-template-columns: 1fr 1fr; }
  .gasse__text { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Telefon ---------- */
@media (max-width: 820px) {
  :root { --leiste-h: 60px; }
  .leiste { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--botella); }
  .auftakt__bild img { -webkit-mask-image: none; mask-image: none; }
  .zaehler { top: 6px; bottom: auto; right: calc(var(--saum) + 92px + 14px); z-index: 55; width: 44px; height: 50px; }
  .zaehler__zahl { display: none; }
  .zaehler.ist-top { opacity: 0; transform: translateY(-10px); }
  .menutaste {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 4px 0 12px;
    background: none; border: 0; color: var(--yeso); font: 700 15px/1 var(--schrift); cursor: pointer; position: relative; z-index: 52;
  }
  .menutaste__linien { position: relative; width: 26px; height: 18px; }
  .menutaste__linien i {
    position: absolute; left: 0; width: 26px; height: 5px; border-radius: 3px; background: var(--palo);
    clip-path: polygon(0 50%, 12% 0, 88% 0, 100% 50%, 88% 100%, 12% 100%); transition: transform .3s, top .3s;
  }
  .menutaste__linien i:first-child { top: 2px; } .menutaste__linien i:last-child { top: 11px; }
  .menutaste[aria-expanded="true"] .menutaste__linien i:first-child { top: 7px; transform: rotate(35deg); }
  .menutaste[aria-expanded="true"] .menutaste__linien i:last-child { top: 7px; transform: rotate(-35deg); }
  .navi {
    position: fixed; inset: 0; z-index: 51; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 90px var(--saum) 40px; background: var(--clavel); color: var(--negro);
    visibility: hidden; opacity: 0; transform: translateY(-16px); transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
  .navi.ist-auf { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
  .navi a { font: 900 clamp(44px, 13vw, 72px)/1 var(--schrift-gross); font-stretch: 120%; text-transform: uppercase; padding: 8px 0; }
  .navi .navi__mail { margin-top: 18px; font-size: 24px; font-stretch: 100%; background: var(--botella); color: var(--yeso); padding: 16px 20px; }
  body.navi-auf .menutaste { color: var(--negro); }
  body.navi-auf .menutaste__linien i { background: var(--botella); }
  body.navi-auf { overflow: hidden; }
  body.navi-auf .zaehler { opacity: 0; }

  .auftakt { display: flex; flex-direction: column; min-height: 0; padding-top: 0; }
  .auftakt::before { background: linear-gradient(180deg, rgba(13, 42, 34, 0) 0, rgba(13, 42, 34, .1) 26%, var(--botella) 52%), radial-gradient(ellipse 90% 40% at 30% 70%, rgba(255, 90, 110, .14), transparent 70%); }
  .auftakt__bild { position: absolute; width: 100%; height: 58%; bottom: auto; }
  .auftakt__bild .sb { top: 12px; bottom: auto; right: 12px; }
  .auftakt__name { margin-top: 34vh; padding-top: 0; }
  .schriftzug__wort { font-size: clamp(64px, 25vw, 170px); }
  .stab--auftakt { font-size: clamp(64px, 25vw, 170px); }
  .auftakt__bissen { position: absolute; --breite: min(30vw, 170px); top: max(14px, calc(34vh - var(--breite) * 1.25 - 34px)); right: var(--saum); bottom: auto; width: var(--breite); border-width: 4px; }
  .auftakt__text { margin-top: 26px; }
  .knoepfe { display: grid; grid-template-columns: 1fr 1fr; }
  .schalter { width: 100%; }

  .laufschrift { margin-top: 0; }

  .rato__zug { --zug-gap: 28px; padding-left: var(--saum); margin-top: 120px; gap: 28px; }
  .moment { --moment-w: 82vw; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .moment__nr { grid-row: 1; }
  .moment__es { grid-row: 2; font-size: min(17vw, 96px, calc(var(--moment-w) * .96 / (var(--wl, 7) * .68))); margin-top: 6px; }
  .moment.ist-sichtbar .moment__es { font-stretch: 96%; }
  .moment__bild { grid-column: 1; grid-row: 3; max-height: 38svh; aspect-ratio: 4 / 3.4; justify-self: stretch; margin-top: 10px; }
  .moment__dt { grid-row: 4; margin-top: 18px; font-size: 20px; }
  .moment__text { grid-row: 5; margin-top: 8px; font-size: 16px; }
  .stab--nadel { height: 110px; top: -36px; }

  .hallo { grid-template-columns: minmax(0, 1fr); }
  .hallo__titel { font-size: min(16vw, 130px); font-stretch: 118%; }
  .hallo__staebe { flex-direction: column; align-items: stretch; gap: 38px; }
  .bissen--eins { transform: rotate(-2deg); }
  .bissen--zwei { transform: rotate(1.5deg); }
  .stab--lang { left: 50%; top: -30px; bottom: -30px; width: 14px; transform: translateX(-50%) rotate(4deg); }
  .hallo__staebe .bissen--zwei { margin-left: 0; }
  .hallo__kopf, .hallo__staebe, .hallo__notiz { grid-row: auto; }
  .bissen__flaeche { padding: 16px 20px 18px; }
  .bissen__wert { font-size: clamp(30px, 9vw, 52px); }
  .bissen__wert--mail { font-size: clamp(19px, 5.6vw, 30px); }
  .hallo__bild { grid-column: 1; grid-row: auto; width: 72%; justify-self: end; margin-top: 40px; }

  .gasse__ort { font-size: 21vw; font-stretch: 112%; }
  .gasse__wimpel { left: 60%; }
  .gasse__info { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gasse__text { grid-row: auto; }

  .zaehler__linie { height: 3px; bottom: 4px; left: 2px; right: 2px; }
  .zaehler__staebe { bottom: 10px; height: 38px; left: 6px; right: 6px; }
  .zaehler__staebe i { height: 34px; width: 4px; }
}

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

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rato { height: auto !important; }
  .rato__rahmen { position: relative; top: 0; height: auto; display: block; padding: 40px 0 70px; }
  .rato__kopf { position: relative; top: 0; left: 0; padding: 0 var(--saum); }
  .rato__tipp { display: none; }
  .rato__zug { transform: none !important; flex-direction: column; margin-top: 40px; padding-left: var(--saum); gap: 70px; }
  .moment { width: 100%; }
  .moment__es { font-stretch: 100%; }
}
