/* Mamma Mia Ansbach: Abschnitte unter dem Hero
   Formensprache nach Kevins Vorbild: rechteckige Felder in Espresso, Rot, Tiefrot und Untertasse auf Porzellan,
   Bilder in Rundbögen, eine gestreifte Markise, Knöpfe und Reiter als Pillen. */

.wrap { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }
main p { text-wrap: pretty; }

/* Lenis: weiches Scrollen ohne Konflikt mit scroll-behavior */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--mm-untertasse); }
::-webkit-scrollbar-thumb { background: rgb(42 22 18 / .35); border-radius: 999px; border: 3px solid var(--mm-untertasse); }
html { scrollbar-color: rgb(42 22 18 / .35) var(--mm-untertasse); }

.panel { position: relative; overflow: hidden; }
.panel--espresso { background: var(--mm-espresso); color: var(--mm-milchschaum); }
.panel--rot { background: var(--mm-rot); color: var(--mm-milchschaum); }
.panel--tiefrot { background: var(--mm-tiefrot); color: var(--mm-milchschaum); }
.panel--porzellan { background: var(--mm-untertasse); color: var(--ink); }
.panel--espresso :focus-visible, .panel--rot :focus-visible, .panel--tiefrot :focus-visible { outline-color: var(--mm-milchschaum); }

.title-caps {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.04;
  letter-spacing: .07em; text-transform: uppercase;
  text-wrap: balance;
}
.title-italic {
  margin: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.08;
  text-wrap: balance;
}

.link--light { color: var(--mm-milchschaum); }
.link--light:hover { color: var(--mm-gelb); }

/* ---------- Bögen und Rahmen für Fotos ---------- */
.arch-frame {
  margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  background: rgb(42 22 18 / .18);
}
.arch-frame picture, .arch-frame img { display: block; width: 100%; height: 100%; }
.arch-frame img { object-fit: cover; }
.has-motion [data-parallax] img { scale: 1.12; will-change: transform; }

.frame {
  margin: 0; position: relative;
  padding: .7rem;
  border: 1px solid rgb(42 22 18 / .3);
}
.frame::after {
  content: ""; position: absolute; inset: .32rem;
  border: 1px solid rgb(42 22 18 / .16);
  pointer-events: none;
}
.frame picture { display: block; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 999px 999px 0 0; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Willkommen ---------- */
.welcome {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1rem;
  margin-block: clamp(3.5rem, 8vw, 6.5rem) 1rem;
}
.welcome__intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(1.5rem, 3vw, 2.75rem); align-items: end;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  min-height: 34rem;
}
.welcome__text { align-self: center; display: grid; gap: 1.1rem; justify-items: start; max-width: 34ch; }
.welcome__text p { margin: 0; line-height: 1.65; color: rgb(255 243 234 / .86); }
.welcome__photo { align-self: stretch; aspect-ratio: auto; min-height: 22rem; }

.welcome__mark {
  container-type: inline-size;
  display: grid; place-content: center; justify-items: center; text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.lockup { margin: 0; display: grid; justify-items: center; }
.lockup__word {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3rem, 18.5cqi, 7.25rem); line-height: .9;
  letter-spacing: .06em; margin-right: -.06em;
  text-transform: uppercase;
}
.lockup__mid {
  display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1rem);
  margin: clamp(.7rem, 1.5vw, 1.15rem) 0;
  color: var(--mm-gelb);
}
.lockup__mid::before, .lockup__mid::after {
  content: ""; width: clamp(2.5rem, 16cqi, 5.5rem); height: 1px; background: rgb(255 243 234 / .75);
}
.lockup__mid .icon { width: clamp(1.25rem, 2vw, 1.6rem); height: clamp(1.25rem, 2vw, 1.6rem); }
.lockup__sub { margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; font: italic 400 clamp(1.1rem, 1.7vw, 1.4rem)/1.35 var(--font-display); text-wrap: balance; }
.lockup__place { margin: .7rem 0 0; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Eis, Caffè & Bar, Pizza ---------- */
.offer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 1rem; margin-block: 0 1rem;
}
.offer__card { display: flex; flex-direction: column; gap: 1.05rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.offer__card .arch-frame { aspect-ratio: 4 / 5; }
.offer__card p { margin: 0; line-height: 1.6; }
.panel--tiefrot p, .panel--espresso p { color: rgb(255 243 234 / .86); }
.offer__card .link { margin-top: auto; align-self: flex-start; }
.offer__card--bar { justify-content: center; }
.card-title {
  margin: .3rem 0 0; display: grid; gap: .3rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 2.3vw, 2.05rem); line-height: 1.1;
  letter-spacing: .06em; text-transform: uppercase;
}
.card-title em { font-style: italic; font-size: clamp(.95rem, 1.38vw, 1.23rem); letter-spacing: 0; text-transform: none; }

/* ---------- Vier Gründe ---------- */
.features { margin-block: 0 clamp(4rem, 9vw, 7.5rem); }
.features__list {
  list-style: none; margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(.5rem, 2vw, 1.5rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--mm-untertasse);
}
.features__list li {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: .5rem 1rem; text-align: center;
  font-weight: 600; font-size: .9375rem; line-height: 1.35;
}
.features__list li + li { border-left: 1px solid rgb(42 22 18 / .14); }
.features__list .icon { width: 2rem; height: 2rem; color: var(--mm-rot); }

/* ---------- Karte ---------- */
.carte { margin-block: 0 clamp(4.5rem, 10vw, 8rem); }
.carte__head { display: grid; justify-items: center; text-align: center; gap: .6rem; margin-bottom: 1.75rem; }
.carte__sub { margin: 0; font: italic 400 clamp(1.1rem, 1.6vw, 1.3rem)/1.4 var(--font-display); color: rgb(42 22 18 / .78); }
.carte__pdf { min-height: 2.75rem; font-size: .9375rem; }
.carte__pdf .icon { color: var(--mm-rot); }

.draftnote {
  margin: 0 auto 1.75rem; max-width: 46rem;
  padding: .6rem .95rem; border: 1px dashed rgb(42 22 18 / .38); border-radius: 0;
  background: rgb(247 185 42 / .14);
  font-size: .8125rem; line-height: 1.45; color: rgb(42 22 18 / .85); text-align: center;
}
.draftnote--light { margin: .75rem 0 0; text-align: left; color: var(--mm-milchschaum); border-color: rgb(255 243 234 / .55); background: rgb(42 22 18 / .22); }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.25rem; }
.tab {
  min-height: 44px; padding: .75rem 1.2rem;
  font: 600 .9375rem/1 var(--font-text); letter-spacing: .02em;
  color: var(--ink); background: transparent;
  border: 1px solid rgb(42 22 18 / .24); border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.tab:hover { border-color: var(--mm-rot); color: var(--mm-tiefrot); }
.tab[aria-selected="true"] { background: var(--mm-rot); border-color: var(--mm-rot); color: var(--mm-milchschaum); }
.tabpanel { max-width: 62rem; margin-inline: auto; }

.sorts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 3rem;
  margin-bottom: 2.25rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  background: var(--mm-untertasse);
}
.menu-group { margin: 0 0 .45rem; font: italic 500 1.3rem/1.2 var(--font-display); color: var(--mm-tiefrot); }
.sorts__list { margin: 0; line-height: 1.7; }
.sorts__note { grid-column: 1 / -1; margin: 0; font: italic 400 1.1rem/1.3 var(--font-display); color: rgb(42 22 18 / .8); }

.items {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: .2rem; align-items: baseline; align-content: start; }
.item__name { font: 500 1.25rem/1.25 var(--font-display); }
.item__price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--mm-rot); white-space: nowrap; }
.item__desc { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.5; color: rgb(42 22 18 / .72); }
.item--star .item__name { color: var(--mm-tiefrot); }
.item--star .item__name::after {
  content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .4em; vertical-align: -.06em;
  background: var(--mm-rot);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.carte__foot { margin: 1.9rem 0 0; text-align: center; font: italic 400 1.05rem/1.4 var(--font-display); color: rgb(42 22 18 / .78); }
.carte__legal { margin: 2.5rem auto 0; text-align: center; font-size: .8125rem; color: rgb(42 22 18 / .66); }

/* ---------- Feiern ---------- */
.celebrate {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(56rem, 100svh);
  display: grid; align-items: end; justify-items: center;
  padding: clamp(7rem, 20vh, 12rem) var(--gutter) 0;
}
.celebrate__photo { position: absolute; inset: 0; z-index: -1; }
.celebrate__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.celebrate__arch {
  width: min(40rem, 100%);
  display: grid; justify-items: center; gap: .9rem; text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  background: var(--mm-porzellan);
  border-radius: 999px 999px 0 0;
}
.celebrate__icon { width: 2.25rem; height: 2.25rem; color: var(--mm-rot); }
.celebrate__line { margin: -.5rem 0 0; font: italic 400 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--font-display); }
.celebrate__arch p { margin: 0; max-width: 36ch; line-height: 1.6; }
.celebrate__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.25rem; margin-top: .4rem; }
.celebrate__tel { font-weight: 700; font-variant-numeric: tabular-nums; }
.celebrate__arch .celebrate__gift { max-width: none; display: inline-flex; align-items: center; gap: .45rem; font-size: .9375rem; color: rgb(42 22 18 / .78); }
.celebrate__gift .icon { color: var(--mm-rot); }

/* Markise: Streifen in Rot und Milchschaum, jeder Streifen endet in einem Rundbogen; der Schatten zeichnet den Saum nach */
.awning { position: relative; z-index: 1; height: 3.25rem; filter: drop-shadow(0 .4rem .45rem rgb(42 22 18 / .22)); }
.awning::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--mm-rot) 0 2.5rem, var(--mm-milchschaum) 2.5rem 5rem);
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 1.25rem) no-repeat,
                radial-gradient(circle at 50% 0, #000 1.25rem, transparent calc(1.25rem + .5px)) 0 100% / 2.5rem 1.25rem repeat-x;
          mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 1.25rem) no-repeat,
                radial-gradient(circle at 50% 0, #000 1.25rem, transparent calc(1.25rem + .5px)) 0 100% / 2.5rem 1.25rem repeat-x;
}

/* ---------- Adriano und sein Team ---------- */
.team {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  margin-block: clamp(4.5rem, 10vw, 8rem);
}
.team__photo { width: 100%; max-width: 22rem; justify-self: end; }
.team__text { display: grid; gap: 1.1rem; max-width: 40ch; }
.team__text p { margin: 0; line-height: 1.65; }
.amp { font-style: italic; text-transform: none; letter-spacing: 0; color: var(--mm-rot); }
.team__quote { font: italic 400 clamp(1.25rem, 2vw, 1.55rem)/1.4 var(--font-display); color: var(--mm-tiefrot); }
.gallery {
  grid-column: 1 / -1;
  list-style: none; margin: 1rem auto 0; padding: 0;
  width: min(100%, 56rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.gallery .pos-left img { object-position: 28% 50%; }
.gallery li { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; background: rgb(42 22 18 / .12); }
.gallery picture, .gallery img { display: block; width: 100%; height: 100%; }
.gallery img { object-fit: cover; }

/* ---------- Besuch ---------- */
.visit { margin-block: 0 clamp(4.5rem, 10vw, 7rem); }
.visit__panel {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(4.75rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  border-radius: 50% 50% 0 0 / clamp(4rem, 10vw, 9rem) clamp(4rem, 10vw, 9rem) 0 0;
}
.visit__panel .title-caps { text-align: center; }
.visit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3rem); }
.visit__block { display: grid; align-content: start; justify-items: start; gap: .75rem; }
.visit__head { margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem; font: italic 500 1.35rem/1.2 var(--font-display); color: var(--mm-gelb); }
.visit__block p { margin: 0; line-height: 1.6; color: rgb(255 243 234 / .9); }
.visit__block a { color: var(--mm-milchschaum); text-underline-offset: .25em; }
.visit__block .visit__note { font-size: .9375rem; color: rgb(255 243 234 / .76); }
.visit__tel { font-size: 1.35rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.hours { margin: 0; display: grid; gap: .6rem; width: 100%; }
.hours div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid rgb(255 243 234 / .14); }
.hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt { color: rgb(255 243 234 / .82); }
.hours dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.visit__block .btn--light { margin-top: .35rem; background: var(--mm-milchschaum); color: var(--mm-tiefrot); text-decoration: none; box-shadow: none; }
.visit__block .btn--light:hover { background: #fff; color: var(--mm-tiefrot); box-shadow: none; }

/* ---------- Fuß ---------- */
.footer { background: var(--mm-rot); color: var(--mm-milchschaum); padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.footer__inner { display: grid; gap: 2.5rem; }
.footer__brand { display: grid; justify-items: center; gap: .75rem; text-align: center; }
.footer__logo { width: min(22rem, 72vw); height: auto; aspect-ratio: 916 / 468; color: var(--mm-milchschaum); --logo-line: 6; --logo-weight: 1; overflow: visible; }
.footer__bye { margin: 0; font: italic 400 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--font-display); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: 2rem; border-top: 1px solid rgb(255 243 234 / .35); }
.footer__head { margin: 0 0 .6rem; font: 700 .8125rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; }
.footer p { margin: 0; line-height: 1.65; }
.footer a { color: inherit; text-underline-offset: .25em; }
.footer__legal { display: grid; gap: .25rem; }
.footer details { border-top: 1px solid rgb(255 243 234 / .3); }
.footer summary {
  cursor: pointer; padding: .7rem 0; font-weight: 700;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.footer summary::-webkit-details-marker { display: none; }
.summary__icon { width: 1.15rem; height: 1.15rem; color: var(--mm-milchschaum); transition: rotate .25s var(--ease-out); }
.footer details[open] .summary__icon { rotate: 45deg; }
.footer details[open] summary { padding-bottom: .4rem; }
.footer details p { padding-bottom: .9rem; max-width: 70ch; }
.footer__copy { font-size: .8125rem; text-align: center; }
.footer :focus-visible { outline-color: var(--mm-milchschaum); }

/* ---------- Schmaler ---------- */
@media (max-width: 1060px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome__mark { min-height: 24rem; }
  .offer { grid-template-columns: 1fr 1fr; }
  .offer__card--bar { grid-column: 1 / -1; order: -1; }
  .offer__card--bar .frame { max-width: 34rem; }
}
@media (max-width: 700px) {
  .welcome__intro { grid-template-columns: 1fr; min-height: 0; }
  .welcome__photo { width: 100%; max-width: 20rem; justify-self: center; min-height: 0; aspect-ratio: 3 / 4; }
  .offer { grid-template-columns: 1fr; }
  .features__list { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
  .features__list li + li { border-left: 0; }
  .features__list li:nth-child(even) { border-left: 1px solid rgb(42 22 18 / .14); }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .sorts { grid-template-columns: 1fr; }
  .items { grid-template-columns: 1fr; }
  .celebrate { min-height: 46rem; }
  .celebrate__photo img { object-position: 60% 50%; }
  .team { grid-template-columns: 1fr; }
  .team__photo { justify-self: center; max-width: 17rem; }
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; width: auto;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .gallery { scroll-padding-inline: var(--gutter); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery li { scroll-snap-align: start; }
  .visit__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; text-align: center; }
}
