/* Kaiserhalle Bornheim
   Gerüst: die Woche als Raster. Sieben Spalten tragen Wochenband,
   Abschnitte und den Belegungskalender.
   Motiv: die rote Serviette, wie sie im Saal auf jedem Gedeck steht.
   Farben: Kaiserrot exakt aus der Wortmarke, Bühnenschwarz aus dem Saal,
   Tischtuchweiß als Grund. */

:root {
  --rot: #C71610;          /* Wortmarke, gemessen */
  --rot-tief: #9C100B;     /* gedrückt, Hover */
  --rot-hauch: #FBEDEC;    /* Markierung, gewählter Tag */
  --buehne: #1B1312;       /* Saal bei gedimmtem Licht, warmes Schwarz */
  --buehne-2: #2B201E;
  --weiss: #FFFFFF;
  --damast: #F7F2F0;       /* Tischwäsche mit einem Hauch Rot */
  --tinte: #1B1312;
  --grau: #6B5F5D;
  --grau-hell: #B8ACAA;
  --linie: #E7DCD9;

  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --text: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --rand: clamp(1rem, 4vw, 3rem);
  --max: 1360px;
  --spalte: 1.5rem;
  --abschnitt: clamp(4rem, 9vw, 8.5rem);
  --falz: clamp(44px, 6vw, 104px);

  --fs-hero: clamp(3.1rem, 8.6vw, 8.8rem);
  --fs-1: clamp(2.5rem, 5.6vw, 5.2rem);
  --fs-2: clamp(2rem, 3.8vw, 3.5rem);
  --fs-3: 1.32rem;
  --fs-lead: clamp(1.15rem, 1.5vw, 1.38rem);
}

*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: rgba(199, 22, 16, .12); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
/* Seitlich darf nichts schieben: clip statt hidden, damit die Kopfzeile klebend bleibt */
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--weiss); color: var(--tinte);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--display); line-height: 1; letter-spacing: -.015em; overflow-wrap: break-word; }
h3 { font-size: var(--fs-3); font-weight: 600; letter-spacing: -.005em; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: 1em; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--spalte); }
.raster > * { grid-column: 1 / -1; min-width: 0; }
.abschnitt { padding-block: var(--abschnitt); }
.lead { font-size: var(--fs-lead); line-height: 1.5; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--rot); color: #fff; padding: .8rem 1.2rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------ Motiv: Serviette */
.serviette {
  display: inline-block; flex: none; width: .62em; height: 1.05em;
  background: var(--rot); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.vorzeile {
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rot);
}
.vorzeile .serviette { font-size: 1.15rem; }

/* Bilder mit gefalteter Ecke: oben rechts schlägt die rote Serviette um */
.falz { position: relative; isolation: isolate; }
.falz img { clip-path: polygon(0 0, calc(100% - var(--falz)) 0, 100% var(--falz), 100% 100%, 0 100%); }
.falz::after {
  content: ''; position: absolute; z-index: 1; top: 0; right: 0;
  width: var(--falz); height: var(--falz); background: var(--rot);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  transform-origin: 0 100%;
}
.js .falz::after { transform: scale(0); transition: transform .7s cubic-bezier(.3, .7, .2, 1) .15s; }
.js .falz.ist-da::after { transform: none; }

/* ------------------------------------------------------------ Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.5rem;
  font: 600 1rem/1.2 var(--text); text-decoration: none; letter-spacing: .01em;
  border: 2px solid transparent; border-radius: 0; cursor: pointer; background: transparent;
  -webkit-appearance: none; appearance: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.knopf svg { flex: none; }
.knopf .pfeil { transition: transform .2s ease; }
.knopf:hover .pfeil { transform: translateX(3px); }
.knopf--rot { background: var(--rot); color: #fff; }
.knopf--rot:hover { background: var(--rot-tief); }
.knopf--leer { border-color: var(--tinte); color: var(--tinte); }
.knopf--leer:hover { background: var(--tinte); color: #fff; }
.knopf--leer-hell { border-color: rgba(255, 255, 255, .55); color: #fff; }
.knopf--leer-hell:hover { background: #fff; color: var(--buehne); border-color: #fff; }
.knopf--weiss { background: #fff; color: var(--rot); }
.weiter {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
  font-weight: 600; color: var(--rot); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: .15rem;
}
.weiter + .weiter { margin-left: 1.4rem; }
.weiter:hover .pfeil { transform: translateX(3px); }
.pfeil { transition: transform .2s ease; }

/* ------------------------------------------------------------ Kopf */
.kopf { position: sticky; top: 0; z-index: 40; background: var(--weiss); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.kopf.ist-fest { border-bottom-color: var(--linie); }
.kopf__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; height: 104px; transition: height .25s ease; }
.kopf.ist-fest .kopf__inner { height: 76px; }
.marke { display: inline-flex; align-items: center; min-height: 48px; }
.marke img { width: auto; height: 50px; transition: height .25s ease; }
.kopf.ist-fest .marke img { height: 38px; }
.nav ul { display: flex; gap: 2rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
}
.nav__link::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 9px; height: 12px;
  background: var(--rot); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translate(-50%, 6px) scale(.4); opacity: 0; transition: transform .2s ease, opacity .2s ease;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { opacity: 1; transform: translate(-50%, 6px); }
.kopf__rechts { display: flex; align-items: center; justify-content: flex-end; gap: 2rem; }
.kopf__tel { min-height: 46px; padding: .6rem 1.1rem; font-size: .96rem; font-variant-numeric: tabular-nums; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 0; background: transparent; color: var(--tinte); cursor: pointer; margin-right: -10px;
}

.drawer {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 2rem;
  padding: 1.2rem var(--rand) calc(2.5rem + env(safe-area-inset-bottom));
  background: var(--rot); color: #fff; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s;
}
.drawer[data-open="true"] { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__top img { height: 34px; width: auto; }
.drawer__close { width: 48px; height: 48px; border: 0; background: transparent; color: #fff; cursor: pointer; margin-right: -10px; }
.drawer__list { display: grid; gap: .2rem; }
.drawer__link { display: block; padding: .45rem 0; font: 500 clamp(2.2rem, 9vw, 3rem)/1.1 var(--display); text-decoration: none; }
.drawer .knopf { align-self: flex-start; }
.drawer__foot { margin-top: auto; color: rgba(255, 255, 255, .85); line-height: 1.7; }

/* ------------------------------------------------------------ Hero */
.hero { padding-top: clamp(2.2rem, 5vw, 4.5rem); }
.hero__titel { grid-column: 1 / 6; }
.eng { letter-spacing: -.09em; }
.hero h1 { font-size: var(--fs-hero); font-weight: 500; line-height: .93; letter-spacing: -.025em; }
.hero h1 em, .seitenkopf h1 em { font-style: italic; color: var(--rot); font-weight: 500; }
.hero__neben { grid-column: 6 / 8; align-self: end; padding-bottom: .6rem; }
.hero__neben .knoepfe { flex-direction: column; align-items: stretch; }
.hero__bild { margin-top: clamp(2.2rem, 4.5vw, 4rem); }
.hero__bild img { width: 100%; height: clamp(320px, 58vh, 720px); object-fit: cover; object-position: 50% 62%; }

.js .hero__titel > *, .js .hero__neben { opacity: 0; transform: translateY(16px); animation: auf .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero__titel > :nth-child(2) { animation-delay: .1s; }
.js .hero__neben { animation-delay: .25s; }
@keyframes auf { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ Wochenband */
.woche { background: var(--rot); color: #fff; padding-block: 1.4rem 1.6rem; }
.woche__status { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-weight: 600; font-size: 1.02rem; }
.woche__punkt { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); flex: none; }
.woche[data-offen="ja"] .woche__punkt { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.woche__tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--spalte); }
.woche__tag { display: grid; gap: .1rem; padding: .7rem .8rem .75rem; border-top: 2px solid rgba(255, 255, 255, .4); }
.woche__kurz { display: none; font-weight: 700; }
.woche__lang { font-weight: 700; font-size: .95rem; }
.woche__zeit { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.1; font-variant-numeric: lining-nums; white-space: nowrap; }
.woche__tag--zu .woche__zeit { font-style: italic; opacity: .78; }
.woche__zu-kurz { display: none; }
.woche__tag.ist-heute { background: #fff; color: var(--rot); border-top-color: #fff; }

/* ------------------------------------------------------------ Restaurant */
.mango__kopf { grid-column: 1 / 4; }
.mango__logo { width: 168px; margin-bottom: 2.2rem; }
.mango__logo--gross { width: 220px; }
.mango__kopf h2, .saal__text h2, .besuch__kopf h2, .anfrage__kopf h2, .saal__lage h2, .kalender__kopf h2 { font-size: var(--fs-2); margin-bottom: 1.4rem; }
.mango__kopf p { color: var(--grau); max-width: 34rem; }
.mango__kopf .knopf { margin-top: 2rem; }
.kueche { grid-column: 5 / 8; align-self: end; display: grid; gap: 0; }
.kueche__eintrag { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--linie); }
.kueche__eintrag:last-child { border-bottom: 1px solid var(--linie); }
.kueche__eintrag .serviette { font-size: 1.4rem; margin-top: .1rem; grid-row: span 2; }
.kueche__eintrag h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 500; margin-bottom: .35rem; }
.kueche__eintrag p { color: var(--grau); }

.streifen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalte); margin-top: clamp(3rem, 6vw, 5.5rem); position: relative; }
.streifen__bild { aspect-ratio: 4 / 5; overflow: hidden; background: var(--damast); }
.streifen__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.streifen__bild:hover img { transform: scale(1.04); }
.streifen__mehr { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--rot); text-decoration: none; min-height: 44px; }

/* ------------------------------------------------------------ Saal (dunkel) */
.saal { background: var(--buehne); color: #fff; }
.saal__bild { grid-column: 1 / 5; }
.saal__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.saal__text { grid-column: 5 / 8; align-self: center; }
.saal__text p { color: rgba(255, 255, 255, .8); }
.saal .vorzeile, .seitenkopf--dunkel .vorzeile { color: #fff; }
.frei { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.frei__titel { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: .8rem; }
.frei__liste { display: flex; flex-wrap: wrap; gap: .5rem; }
.frei__liste a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .9rem;
  border: 1px solid rgba(255, 255, 255, .35); text-decoration: none; font-weight: 600; letter-spacing: 0;
  transition: background-color .2s ease, border-color .2s ease;
}
.frei__liste a:hover { background: var(--rot); border-color: var(--rot); }
.anlaesse {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--display); font-size: clamp(1.3rem, 1.95vw, 1.75rem); font-style: italic;
}
.anlaesse li { display: flex; align-items: center; gap: .7rem; }
.anlaesse .serviette { font-size: .9em; }

/* ------------------------------------------------------------ Besuch */
.besuch { background: var(--damast); }
.besuch__kopf { grid-column: 1 / 4; }
.besuch__spalte { grid-column: span 2; align-self: end; }
.besuch__spalte:nth-of-type(2) { grid-column: 4 / 6; }
.besuch__spalte:nth-of-type(3) { grid-column: 6 / 8; }
.besuch__spalte h3 { margin-bottom: .6rem; }
.besuch__spalte p, .besuch__spalte address { color: var(--grau); }
.besuch__spalte .weiter { margin-right: 1.4rem; margin-left: 0; }

/* ------------------------------------------------------------ Seitenkopf der Unterseiten */
.seitenkopf { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(2.5rem, 5vw, 4.5rem); }
.seitenkopf__text { grid-column: 1 / 5; }
.seitenkopf h1 { font-size: var(--fs-1); }
.seitenkopf__neben { grid-column: 5 / 8; align-self: end; }
.seitenkopf__neben .lead { margin-bottom: 1rem; }
.seitenkopf__neben p:not(.lead) { color: var(--grau); }
.seitenkopf--dunkel { background: var(--buehne); color: #fff; }
.seitenkopf--dunkel .seitenkopf__neben p { color: rgba(255, 255, 255, .82); }
.seitenkopf--dunkel + .saalbild { background: linear-gradient(var(--buehne) 50%, var(--weiss) 50%); }
.saalbild img { width: 100%; height: clamp(300px, 62vh, 760px); object-fit: cover; object-position: 50% 60%; }

/* ------------------------------------------------------------ Saalseite */
.saal__einl { grid-column: 1 / 5; }
.anlassliste { grid-column: 6 / 8; align-self: end; }
.anlassliste li { display: flex; align-items: center; gap: .8rem; padding-block: .75rem; border-top: 1px solid var(--linie); font-family: var(--display); font-size: 1.45rem; }
.anlassliste li:last-child { border-bottom: 1px solid var(--linie); }
.anlassliste .serviette { font-size: .85em; }

.galerie__raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--spalte); }
.galerie__raster figure { min-width: 0; min-height: 0; overflow: hidden; }
.galerie__raster img { width: 100%; height: 100%; object-fit: cover; }
.g1 { grid-column: 1 / 5; grid-row: 1; aspect-ratio: 3 / 2; }
.g2 { grid-column: 5 / 8; grid-row: 1 / 3; }
.g3 { grid-column: 1 / 3; grid-row: 2; aspect-ratio: 2 / 3; }
.g4 { grid-column: 3 / 5; grid-row: 2; }
.g2 img { object-position: 50% 70%; }

.saal__lage { grid-column: 1 / 4; }
.saal__lagetext { grid-column: 4 / 8; align-self: end; color: var(--grau); }
.saal__lagetext p:first-child { color: var(--tinte); font-size: var(--fs-lead); line-height: 1.5; }

/* ------------------------------------------------------------ Belegungskalender */
.kalender { background: var(--damast); }
.kalender__kopf { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--spalte); align-items: end; margin-bottom: 2.4rem; }
.kalender__kopf > div { grid-column: 1 / 5; }
.kalender__kopf > p { grid-column: 5 / 8; color: var(--grau); }
.kalender__kopf h2 { margin-bottom: 0; }
.kalender__leiste { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; border-top: 2px solid var(--tinte); }
.legende { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-weight: 600; }
.legende li { display: flex; align-items: center; gap: .5rem; }
.legende__feld { width: 20px; height: 20px; border: 1px solid var(--grau-hell); background: #fff; }
.legende__feld--belegt { background: var(--rot); border-color: var(--rot); }
.kalender__blaettern { display: flex; gap: .5rem; }
.kalender__knopf {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--tinte); background: transparent; color: var(--tinte); cursor: pointer;
}
.kalender__knopf:hover:not(:disabled) { background: var(--tinte); color: #fff; }
.kalender__knopf:disabled { opacity: .3; cursor: default; }
.kalender__monate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 1rem; min-height: 380px; }
.monat__titel { font-family: var(--display); font-size: 2rem; margin-bottom: .9rem; }
.monat__titel span { font-style: italic; color: var(--grau); }
.monat__kopf, .monat__tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.monat__kopf span { padding-bottom: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); text-align: center; }
.tag {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  aspect-ratio: 1 / .86; min-height: 44px; padding: .4rem .5rem;
  font: 600 1rem/1 var(--text); font-variant-numeric: tabular-nums;
  background: #fff; border: 1px solid var(--linie); color: var(--tinte);
}
button.tag { cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
button.tag:hover { border-color: var(--tinte); }
.tag--leer { background: transparent; border-color: transparent; }
.tag--vorbei { background: transparent; color: var(--grau-hell); border-color: transparent; }
.tag--belegt { background: var(--rot); border-color: var(--rot); color: #fff; }
button.tag--belegt:hover { border-color: var(--tinte); }
.tag__zeit { display: grid; font-size: .74rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; }
.tag__zeit sup { font-size: .68em; vertical-align: .38em; line-height: 0; margin-left: .04em; }
.tag__mehr { display: none; }
.tag__titel { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; font-size: .72rem; font-weight: 600; line-height: 1.15; text-align: left; letter-spacing: 0; hyphens: auto; overflow-wrap: anywhere; }
.termine { margin-top: 2.4rem; }
.termine h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 500; margin-bottom: .8rem; }
.termine li { display: flex; gap: 1.2rem; padding-block: .7rem; border-top: 1px solid var(--linie); }
.termine li span { min-width: 8.5rem; font-family: var(--text); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--grau); }
.tag--heute { box-shadow: inset 0 0 0 2px var(--tinte); }
.tag[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.tag[aria-pressed="true"]::after {
  content: ''; position: absolute; right: 6px; bottom: 6px; width: 9px; height: 14px;
  background: var(--rot); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tag__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kalender__stand { margin-top: 1.4rem; font-size: .92rem; color: var(--grau); }
.kalender__stand strong { color: var(--rot); }
.kalender__laedt { color: var(--grau); }

/* ------------------------------------------------------------ Formular */
.anfrage__kopf, .kontakt__daten { grid-column: 1 / 4; }
.anfrage__kopf p { color: var(--grau); }
.anfrage__kopf a { color: var(--rot); font-weight: 600; }
.anfrage__gewaehlt { margin-top: 1.4rem !important; padding: 1rem 1.2rem; background: var(--rot-hauch); color: var(--rot-tief) !important; font-weight: 600; }
.anfrage__gewaehlt.ist-belegt { background: var(--rot); color: #fff !important; }
.kalender__ausfall { margin-top: 1rem; padding: 1.2rem 1.4rem; background: #fff; border-left: 4px solid var(--rot); color: var(--tinte); }
.kalender__ausfall a { color: var(--rot); font-weight: 600; }
.formular, .kontakt__form { grid-column: 4 / 8; }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem var(--spalte); align-content: start; }
.feld { display: grid; gap: .4rem; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-size: .9rem; font-weight: 600; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: .8rem .9rem; border: 1px solid var(--grau-hell); border-radius: 0;
  background: #fff; color: var(--tinte); font: inherit; font-size: 1rem;
}
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--rot); box-shadow: 0 0 0 1px var(--rot); }
.feld input.ist-gesetzt { border-color: var(--rot); background: var(--rot-hauch); }
.falle { position: absolute; left: -9999px; }
.falle input { height: 48px; }
.einwilligung { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .92rem; color: var(--grau); cursor: pointer; }
.einwilligung input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--rot); }
.einwilligung a { color: var(--rot); }
.formular .knopf { justify-self: start; }

/* ------------------------------------------------------------ Restaurant- und Kontaktseite */
.seitenkopf--mango .mango__logo { margin-bottom: 2rem; }
.mango__rechts { grid-column: 4 / 8; }
.mango__bild { margin-top: 2rem; }
.mango__bild img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.kueche--eng { grid-column: auto; }
.ambiente { margin-top: 2.6rem; }
.ambiente h3 { font-family: var(--display); font-size: 1.9rem; font-weight: 500; margin-bottom: .8rem; line-height: 1.1; }
.ambiente p { color: var(--grau); }

.kontakt__titel { font-family: var(--display); font-size: 2.1rem; margin-bottom: 1.6rem; line-height: 1.1; }
.kontakt__liste { margin: 0; display: grid; gap: 0; }
.kontakt__liste dt { padding-top: 1.1rem; border-top: 1px solid var(--linie); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rot); }
.kontakt__liste dd { margin: .35rem 0 1.1rem; }
.kontakt__liste a { color: var(--tinte); font-weight: 600; }
.kontakt__liste .weiter { color: var(--rot); }
.kontakt__form .formular { grid-column: auto; }

.zeiten { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten th { text-align: left; font-weight: 500; padding: .14rem 1.4rem .14rem 0; }
.zeiten td { padding: .14rem 0; }
.zeiten tr.ist-heute { font-weight: 700; color: var(--rot); }

/* ------------------------------------------------------------ Rechtstexte */
.recht { max-width: 76ch; }
.recht h2 { font-family: var(--text); font-size: 1.3rem; font-weight: 700; letter-spacing: 0; margin: 2.4rem 0 .7rem; line-height: 1.3; }
.recht h2:first-child { margin-top: 0; }
.recht ul { padding-left: 1.2rem; list-style: square; }
.recht li + li { margin-top: .4rem; }
.recht a { color: var(--rot); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ Fuß */
.fuss { background: var(--buehne); color: rgba(255, 255, 255, .82); padding-top: clamp(3.5rem, 7vw, 6rem); }
.fuss__oben { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); column-gap: var(--spalte); row-gap: 2.5rem; padding-bottom: 3.5rem; }
.fuss__oben > * { min-width: 0; }
.fuss__marke p { max-width: 17rem; }
.fuss__marke img { width: 220px; margin-bottom: 1.2rem; }
.fuss__titel { font-family: var(--text); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.fuss a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.fuss a:hover { text-decoration-color: currentColor; }
.fuss p + p { margin-top: .8rem; }
.fuss .zeiten th { color: rgba(255, 255, 255, .82); }
.fuss .zeiten tr.ist-heute { color: #fff; }
.fuss__unten { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.fuss__recht a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss__recht span { display: inline-flex; align-items: center; min-height: 44px; }
.credit { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; padding: .3rem 0; min-height: 44px; }
.credit__zeichen { width: 26px; height: 26px; }
.credit__text { display: grid; line-height: 1.2; }
.credit__kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.credit__name { font-weight: 700; font-size: .92rem; color: #E0A233; letter-spacing: .02em; }
.credit:hover .credit__name { color: #EFC06A; }

/* ------------------------------------------------------------ Karte nach Einwilligung */
.anfahrt { background: var(--damast); }
.karte { position: relative; min-height: 440px; display: grid; }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte__platz {
  align-self: center; width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto;
  padding: clamp(3rem, 7vw, 5rem) var(--rand);
}
.karte__platz > p:not(.karte__titel) { max-width: 38rem; color: var(--grau); }
.karte__titel { display: flex; align-items: flex-start; gap: .8rem; font-family: var(--display); font-size: var(--fs-2); line-height: 1.05; margin-bottom: 1rem; }
.karte__titel .serviette { font-size: .55em; margin-top: .3em; }
.karte.ist-geladen .karte__platz { visibility: hidden; }

/* ------------------------------------------------------------ Cookie-Hinweis
   Ablehnen und Zustimmen sind gleich gestaltet und gleich erreichbar. */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--buehne); color: rgba(255, 255, 255, .86); border-top: 4px solid var(--rot);
}
.consent[hidden] { display: none; }
.consent__inner {
  max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto;
  padding: 1.3rem var(--rand) calc(1.3rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: center;
}
.consent__titel { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.consent__text p:not(.consent__titel) { font-size: .94rem; line-height: 1.55; max-width: 62rem; }
.consent__text a { color: #fff; }
.consent__knoepfe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.consent .knopf { border-color: #fff; color: #fff; min-height: 48px; padding-inline: 1.1rem; }
.consent .knopf:hover { background: #fff; color: var(--buehne); }
.fuss__einst {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px;
}
.fuss__einst:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------ Schnellzugriff am Handy */
.handyleiste { display: none; }

/* ------------------------------------------------------------ Einblenden beim Scrollen */
.js .zeigen { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .zeigen.ist-da { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Umbrüche */
@media (max-width: 1180px) {
  .nav ul { gap: 1.4rem; }
  .kopf__rechts { gap: 1.4rem; }
  .kopf__tel span { display: none; }
  .kopf__tel { width: 46px; padding: 0; }
}

@media (max-width: 980px) {
  .kopf__inner { grid-template-columns: auto 1fr; height: 76px; }
  .kopf.ist-fest .kopf__inner { height: 66px; }
  .nav { display: none; }
  .marke { grid-row: 1; grid-column: 1; }
  .marke img, .kopf.ist-fest .marke img { height: 34px; }
  .kopf__rechts { grid-column: 2; gap: .6rem; }
  .nav-toggle { display: inline-flex; }

  .hero__titel, .hero__neben,
  .mango__kopf, .kueche, .saal__bild, .saal__text,
  .besuch__kopf, .besuch__spalte:nth-of-type(2), .besuch__spalte:nth-of-type(3),
  .seitenkopf__text, .seitenkopf__neben, .saal__einl, .anlassliste,
  .saal__lage, .saal__lagetext, .anfrage__kopf, .formular, .kontakt__daten, .kontakt__form, .mango__rechts { grid-column: 1 / -1; }
  .hero__neben { margin-top: 1.6rem; }
  .hero__neben .knoepfe { flex-direction: row; }
  .kueche, .saal__text, .besuch__spalte, .seitenkopf__neben, .anlassliste, .saal__lagetext, .formular, .kontakt__form, .mango__rechts { margin-top: 2.4rem; }
  .besuch__spalte + .besuch__spalte { margin-top: 1.6rem; }
  .kalender__kopf > div, .kalender__kopf > p { grid-column: 1 / -1; }
  .kalender__kopf > p { margin-top: 1rem; }
  .fuss__oben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__marke { grid-column: 1 / -1; }
  .streifen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  /* Am Handy kein seitliches Nachfedern der ganzen Seite */
  html, body { overscroll-behavior-x: none; }
  body { font-size: 1rem; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .handyleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--weiss); border-top: 1px solid var(--linie);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .handyleiste a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
    min-height: 64px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--tinte);
  }
  .handyleiste a:first-child { background: var(--rot); color: #fff; }
  .handyleiste a + a { border-left: 1px solid var(--linie); }
  .hat-hinweis .handyleiste { display: none; }
  .consent__inner { grid-template-columns: minmax(0, 1fr); padding-top: 1.1rem; }
  .consent__text p:not(.consent__titel) { font-size: .88rem; }

  .hero { padding-top: 1.6rem; }
  .hero h1 { font-size: clamp(2.7rem, 13.4vw, 3.6rem); }
  .vorzeile { font-size: .72rem; letter-spacing: .1em; margin-bottom: 1rem; }
  .knoepfe .knopf { flex: 1 1 auto; }
  .hero__bild { margin-top: 1.8rem; }
  .hero__bild img { object-position: 40% 80%; }
  .mango__logo { width: 128px; margin-bottom: 1.6rem; }
  .mango__logo--gross { width: 160px; }
  .kueche__eintrag { padding-block: 1.25rem; }
  .kueche__eintrag h3 { font-size: 1.42rem; }
  .streifen { gap: .6rem; margin-top: 2.6rem; }
  .saal__bild { margin-inline: calc(-1 * var(--rand)); }
  .anlaesse { font-size: 1.35rem; gap: .5rem; }
  .besuch__spalte .weiter { margin-right: 1rem; }
  .seitenkopf { padding-block: 2.4rem 2.2rem; }
  .seitenkopf h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .anlassliste li { font-size: 1.25rem; }
  .kalender__kopf { margin-bottom: 1.6rem; }
  .kalender__leiste { position: sticky; top: 66px; z-index: 5; background: var(--damast); flex-wrap: nowrap; gap: .5rem; }
  .kalender__monate { min-height: 0; }
  .kalender__knopf { width: 44px; height: 44px; }
  .legende { gap: .3rem .8rem; font-size: .86rem; }
  .legende__feld { width: 16px; height: 16px; }
  .monat__titel { font-size: 1.7rem; }
  .karte { min-height: 380px; }
  .karte__platz { padding-block: 2.6rem; }
  .karte__titel { font-size: 1.8rem; }
  .kontakt__titel { font-size: 1.8rem; }
  .raster, .galerie__raster { column-gap: 0; }
  .kalender__monate { grid-template-columns: minmax(0, 1fr); }
  .woche__tage { column-gap: 3px; }
  .woche__tag { padding: .55rem .2rem .6rem; text-align: center; }
  .woche__lang { display: none; }
  .woche__kurz { display: block; font-size: .9rem; }
  .woche__zeit { font-size: .92rem; font-family: var(--text); font-weight: 600; white-space: normal; letter-spacing: -.01em; }
  .woche__zu-lang { display: none; }
  .woche__zu-kurz { display: inline; }
  .galerie__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .g1, .g4 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .g2, .g3 { grid-column: auto; grid-row: auto; aspect-ratio: 2 / 3; }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .anlaesse { justify-content: flex-start; flex-direction: column; }
  .fuss__oben { grid-template-columns: minmax(0, 1fr); }
  .weiter + .weiter { margin-left: 0; }
  .tag { aspect-ratio: auto; height: 52px; padding: .3rem .3rem .28rem; font-size: .92rem; }
  .tag { padding-inline: .22rem; }
  .tag { height: 58px; }
  .tag__zeit { font-size: .75rem; line-height: 1.05; letter-spacing: -.02em; }
  .tag__von, .tag__bis { display: block; }
  /* Am Handy nur der erste Zeitraum, die übrigen zeigt die Auswahl */
  .tag__zeit > span:nth-child(n+2):not(.tag__mehr) { display: none; }
  .tag__mehr { display: block; position: absolute; top: .3rem; right: .25rem; }
  .tag__titel { display: none; }
  .termine li { flex-direction: column; gap: .1rem; }
  .monat__kopf, .monat__tage { gap: 3px; }
  .hero__bild img { height: 52vh; min-height: 300px; }
}

/* ------------------------------------------------------------ Unterseiten zum Saal */
.krume { padding-block: .9rem; font-size: .88rem; color: var(--grau); }
.krume a { color: inherit; }
.krume span[aria-current] { color: var(--tinte); font-weight: 600; }
.saalbild--hoch img { object-position: 50% 45%; }
.anlass__text { grid-column: 1 / 5; }
.anlass__text h2 { font-size: var(--fs-2); margin-bottom: 1.2rem; }
.anlass__text h2:not(:first-child) { margin-top: 2.8rem; }
.anlass__text p + p { margin-top: 1rem; }
.anlass__schritte { grid-column: 5 / 8; align-self: start; padding: clamp(1.4rem, 2.5vw, 2.2rem); background: var(--damast); }
.anlass__schritte h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.anlass__schritte ol { margin: 0 0 1.4rem; padding-left: 1.2rem; list-style: decimal; }
.anlass__schritte li { padding-block: .35rem; }
.fakten { background: var(--buehne); color: #fff; }
.fakten__titel { grid-column: 1 / 4; font-size: var(--fs-2); }
.fakten__liste { grid-column: 4 / 8; }
.fakten__liste li { display: flex; align-items: center; gap: .8rem; padding-block: .7rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.fragen__titel { grid-column: 1 / 3; font-size: var(--fs-2); }
.fragen__liste { grid-column: 3 / 8; }
.frage { padding-block: 1.3rem; border-top: 1px solid var(--linie); }
.frage h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 500; margin-bottom: .4rem; }
.frage p { color: var(--grau); }
.kontakt__saal { margin-bottom: 1.2rem; color: var(--grau); }
.kontakt__saal a { color: var(--rot); font-weight: 600; }
.anlass__text a, .anlass__schritte p a { color: var(--rot); font-weight: 600; }
.fragen__stand { padding-top: 1.1rem; border-top: 1px solid var(--linie); font-size: .9rem; color: var(--grau); }
.anlasskarten { background: var(--damast); }
.anlasskarten h2 { font-size: var(--fs-2); margin-bottom: 1.2rem; }
.anlasskarten__text { max-width: 44rem; margin-bottom: 1.8rem; color: var(--grau); }
.anlasskarten h2:has(+ ul) { margin-bottom: 1.8rem; }
.anlasskarten__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalte); }
.anlasskarten__liste a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.2rem; background: #fff; border-top: 3px solid var(--rot); text-decoration: none; }
.anlasskarten__liste a:hover strong { color: var(--rot); }
.anlasskarten__liste strong { font-family: var(--display); font-size: 1.4rem; font-weight: 500; }
.anlasskarten__liste span { font-size: .95rem; color: var(--grau); }
.anlassliste a, .anlaesse a { color: inherit; text-decoration: none; }
.anlassliste a:hover, .anlaesse a:hover { text-decoration: underline; text-underline-offset: .2em; }
.fuss__anlaesse { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; padding-block: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; }
.fuss__anlaesse span { font-weight: 700; color: #fff; }
.fuss__anlaesse a { color: inherit; }
.krume a, .fuss__anlaesse a, .anlassliste a, .anlaesse a, .kontakt__saal a, .anlass__text a, .anlass__schritte p a { display: inline-block; padding-block: .2rem; margin-block: -.2rem; }
@media (max-width: 760px) {
  .anlass__text, .anlass__schritte, .fakten__titel, .fakten__liste, .fragen__titel, .fragen__liste { grid-column: 1 / -1; }
  .anlass__schritte { margin-top: 2.2rem; }
  .fakten__liste, .fragen__liste { margin-top: 1.4rem; }
  .anlasskarten__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .anlasskarten__liste a { padding: .9rem; }
  .anlasskarten__liste strong { font-size: 1.2rem; }
  .krume a, .fuss__anlaesse a, .anlassliste a, .anlaesse a, .kontakt__saal a, .anlass__text a, .anlass__schritte p a { padding-block: .78rem; margin-block: -.78rem; }
  .fuss__anlaesse { gap: 1.1rem 1.3rem; }
}

/* Trefferflächen für Textverweise, ohne das Layout zu verschieben */
.recht a, .anfrage__kopf a, .einwilligung a, .kontakt__liste dd > a:not(.weiter), .fuss__oben a, .drawer__foot a, .consent__text a {
  display: inline-block; padding-block: .2rem; margin-block: -.2rem;
}
@media (pointer: coarse), (max-width: 760px) {
  .recht a, .anfrage__kopf a, .einwilligung a, .kontakt__liste dd > a:not(.weiter), .fuss__oben a, .drawer__foot a, .consent__text a {
    padding-block: .78rem; margin-block: -.78rem; overflow-wrap: anywhere;
  }
  .weiter { padding-top: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__titel > *, .js .hero__neben { animation: none; opacity: 1; transform: none; }
  .js .zeigen { opacity: 1; transform: none; transition: none; }
  .js .falz::after { transform: none; transition: none; }
  .streifen__bild img, .knopf, .pfeil, .drawer { transition: none; }
}
