/* inset->longhands for iOS<14.5 (auto) */
/* iOS<13.4 clamp/min/max fallback (auto) */
  :root {
    /* Spacing-System v1.0 */
    --space-xs:  10px;
    --space-s:   14px;
    --space-m:   20px;
    --space-l:   28px;
    --space-xl:  36px;
    --space-2xl: 48px;
    --space-3xl: 64px;
  }

  :root {
    --c-schwarzblau: #242530;
    --c-teal:     #387373;
    --c-orange:   #ED6D36;
    --c-dunkel:   #242530;
    --c-beige:    #EAE8E1;

    --font-display: 'coordinates', monospace;
    --font-body:    'Manrope', system-ui, sans-serif;

    --maxw: 1320px;
    --pad: 22px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--c-dunkel);
    color: var(--c-beige);
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }

  /* ===================== HERO ===================== */
  .hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    background: var(--c-dunkel);
    overflow: hidden;
  }

  /* grain / noise texture over the WHOLE hero (above content + photo) */
  .hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 30;
    pointer-events: none;
    opacity: .4;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-0.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 220px 220px;
  }

  /* subtle lighting gradient over the whole background:
     lighter top-right -> darker towards the bottom (sits below content) */
  .hero::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      to bottom left,
      rgba(255,255,255,.08) 0%,
      rgba(255,255,255,0) 34%,
      rgba(0,0,0,.34) 100%
    );
  }

  /* centered container — keeps content from stretching edge-to-edge */
  .hero__inner {
    position: relative;
    max-width: var(--maxw);
    margin: 0 auto;
    min-height: 100vh; min-height: 100svh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
  }

  /* right photo: starts at container middle, bleeds to the screen's right edge */
  .hero__photo {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    right: 0px; right: min(0px, calc((var(--maxw) - 100vw) / 2));
    /* Longhands (not the `background` shorthand): the template injects the
       CP-managed image via an inline single-layer `background-image`, which
       would collapse a multi-layer shorthand's position/size back to their
       first layer. Single-value longhands survive that override. */
    background-color: #15161d;
    background-image: url("/images/hero-03-07_4.jpg");
    background-image: image-set(url("/images/hero-03-07_4.webp") type("image/webp"), url("/images/hero-03-07_4.jpg") type("image/jpeg"));
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  /* keep top dark enough for the nav links sitting over it + subtle overall dim */
  .hero__photo::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, rgba(20,21,28,.55) 0%, rgba(20,21,28,0) 28%),
                rgba(0,0,0,.08);
  }
  /* soft seam between dark panel and photo */
  .hero__photo::after {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 380px;
    background: linear-gradient(90deg, rgba(36,37,48,1) 0%, rgba(36,37,48,.9) 35%, rgba(36,37,48,.5) 65%, rgba(36,37,48,0) 100%);
  }

  /* ---- top nav (spans full width) ---- */
  .nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--pad); padding: clamp(20px, 2.4vw, 30px) var(--pad);
    gap: 24px;
    transition: transform .35s cubic-bezier(.4,0,.2,1), background-color .3s ease, box-shadow .3s ease;
  }
  /* once scrolled past its natural spot in the hero, the nav sticks to the viewport top */
  .nav--pinned {
    position: fixed;
    z-index: 100;
    background: var(--c-dunkel);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
  }
  .nav--hidden { transform: translateY(-100%); }
  .nav__logo {
    position: relative;
    z-index: 20;
  }
  .nav__logo img {
    height: 24px; height: clamp(24px, 2.6vw, 34px);
    width: auto;
    filter: brightness(0) invert(1);
  }
  .nav__links {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    color: #fff;
  }
  .nav__links a {
    position: relative;
    padding: 4px 0;
    transition: color .25s ease;
    text-transform: uppercase;
  }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 2px;
    background: var(--c-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
  }
  .nav__links a:hover::after { transform: scaleX(1); }

  /* ---- nav: Essen/Spielen/Feiern als Trio, Location/Kontakt als Utility ---- */
  .nav__triad {
    display: flex;
    align-items: center;
    gap: 16px; gap: clamp(16px, 2vw, 28px);
  }
  .nav__sep {
    display: inline-flex;
    color: var(--c-orange);
    opacity: .75;
  }
  .nav__sep .si { width: 7px; height: 7px; }
  .nav__utility {
    display: flex;
    align-items: center;
    gap: 14px; gap: clamp(14px, 1.6vw, 22px);
    padding-left: 16px; padding-left: clamp(16px, 2vw, 28px);
    margin-left: 16px; margin-left: clamp(16px, 2vw, 28px);
    border-left: 2px solid var(--c-orange);
  }
  .nav__utility a { color: #fff; }
  .nav__utility a:hover,
  .nav__utility a.active { color: var(--c-beige); }

  /* ---- mobile menu toggle ---- */
  .nav__toggle {
    display: none;
    position: relative;
    z-index: 20;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .2s ease;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---- left content ---- */
  .hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(-5%);
    padding: 96px 28px 40px var(--pad); padding: clamp(96px, 12vh, 150px) clamp(28px, 3vw, 48px) clamp(40px, 6vh, 72px) var(--pad);
  }
  .hero__eyebrow,
  .eyebrow {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .78rem; font-size: clamp(.78rem, 1vw, .9rem);
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--c-orange);
    margin-bottom: var(--space-s);
  }

  .hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    color: #fff;
    font-size: 2rem; font-size: clamp(2rem, 6.2vw, 5.0rem);
    line-height: 1.04;
    letter-spacing: -.02em;
  }
  /* masked line-reveal */
  .hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
  .hero__title .line > span { display: block; }

  .hero__lead {
    margin-top: var(--space-m);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .95rem; font-size: clamp(.95rem, 1.15vw, 1.12rem);
    line-height: 1.65;
    color: rgba(234,232,225,.78);
    max-width: 30em;
  }

  .hero__actions {
    margin-top: var(--space-l);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .btn {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .88rem; font-size: clamp(.88rem, 1vw, .98rem);
    letter-spacing: .01em;
    text-transform: uppercase;
    padding: 15px 26px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, background .25s ease, filter .25s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn--orange {
    background: var(--c-orange);
    color: var(--c-dunkel);
  }
  .btn--orange:hover { filter: brightness(1.06); }
  .btn--teal {
    background: var(--c-teal);
    color: var(--c-beige);
  }
  .btn--teal:hover { filter: brightness(1.1); }

  /* ===================== LOAD SEQUENCE ===================== */

  /* 1 — intro curtain */
  .intro {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9999;
    background: var(--c-dunkel);
    display: grid;
    place-items: center;
    animation: introOut .9s cubic-bezier(.76,0,.24,1) 1.1s forwards;
  }
  @keyframes introOut { to { transform: translateY(-100%); } }

  .intro__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    opacity: 0;
    transform: scale(.84) translateY(10px);
    animation: introLogoIn .8s cubic-bezier(.22,1,.36,1) .15s forwards;
  }
  .intro__logo img { height: 56px; height: clamp(56px, 9vw, 88px); width: auto; filter: brightness(0) invert(1); }
  @keyframes introLogoIn {
    60%  { opacity: 1; }
    100% { opacity: 1; transform: scale(1) translateY(0); }
  }
  .intro__bar {
    width: 130px; height: 3px; border-radius: 2px;
    background: var(--c-orange);
    transform: scaleX(0);
    transform-origin: left;
    animation: barGrow .8s cubic-bezier(.65,0,.35,1) .4s forwards;
  }
  @keyframes barGrow { to { transform: scaleX(1); } }

  /* 2 — headline lines rise from behind a mask */
  @keyframes lineUp { from { transform: translateY(115%); } to { transform: translateY(0); } }
  .hero__title .line > span {
    transform: translateY(115%);
    animation: lineUp .9s cubic-bezier(.22,1,.36,1) forwards;
  }
  .hero__title .l1 > span { animation-delay: 1.20s; }
  .hero__title .l2 > span { animation-delay: 1.32s; }
  .hero__title .l3 > span { animation-delay: 1.44s; }


  /* 3 — photo wipes in from the right */
  @keyframes photoWipe {
    from { clip-path: inset(0 0 0 100%); }
    to   { clip-path: inset(0 0 0 0); }
  }
  .hero__photo {
    clip-path: inset(0 0 0 100%);
    animation: photoWipe 1s cubic-bezier(.76,0,.24,1) 1.3s forwards;
  }

  /* 4 — lead / buttons / nav stagger up */
  @keyframes rise { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform:none; } }
  .r { opacity: 0; animation: rise .8s cubic-bezier(.22,1,.36,1) forwards; }
  .r1 { animation-delay: 1.50s; } /* nav logo  */
  .r2 { animation-delay: 1.60s; } /* nav links */
  .r4 { animation-delay: 1.64s; } /* lead      */
  .r5 { animation-delay: 1.78s; } /* buttons   */

  @media (prefers-reduced-motion: reduce) {
    .intro { display: none; }
    .r, .hero__photo, .hero__title .line > span,
    .intro__logo, .intro__bar, .hero__title {
      animation: none; opacity: 1; transform: none; clip-path: none;
    }
  }

  /* ===================== RESPONSIVE ===================== */
  @media (max-width: 860px) {
    .hero__inner {
      display: flex;
      flex-direction: column;
      min-height: 100vh; min-height: 100svh;
    }
    .hero__content {
      order: 1;
      padding-top: 110px; padding-top: clamp(110px, 16vh, 160px);
      padding-bottom: 36px;
      transform: none;
    }
    /* photo becomes a static full-width block below the content */
    .hero__photo {
      position: relative;
      left: auto; right: auto;
      order: 2;
      width: 100%;
      min-height: 55vh; min-height: 55svh;
    }
    .hero__photo::after { display: none; }

    /* ---- mobile menu: hamburger + full-screen link panel ---- */
    .nav__toggle { display: flex; }
    .nav__links {
      position: fixed;
      top: 0; right: 0; bottom: 0; left: 0;
      z-index: 15;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 40px;
      background: var(--c-dunkel);
      font-size: 1.5rem;
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
      transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease;
    }
    .nav__links.is-open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
    .nav__triad,
    .nav__utility {
      flex-direction: column;
      gap: 28px;
    }
    .nav__utility {
      padding-left: 0;
      margin-left: 0;
      border-left: none;
      border-top: 2px solid var(--c-orange);
      padding-top: 28px;
    }
    .nav__sep { display: none; }
  }
  @media (max-width: 520px) {
    .hero__actions .btn { flex: 1; text-align: center; }
  }

  /* ============================================================
     SECTION 2 — Intro statement + category cards
     ============================================================ */
  .linie-divider {
    line-height: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 40;
    pointer-events: none;
  }
  .linie-divider img {
    width: 100%;
    display: block;
  }
  .section2 {
    position: relative;
    background: var(--c-beige);
    color: var(--c-dunkel);
  }

  /* intro statement — pinned, full-height; extra scroll length drives the effect */
  .s2-intro-wrap {
    position: relative;
    height: 230vh;            /* scroll distance for grow + typewriter */
  }
  .s2-intro {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    padding: 80px var(--pad); padding: clamp(80px, 12vh, 140px) var(--pad);
    text-align: center;
  }
  .s2-intro__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; gap: clamp(40px, 7vh, 72px);
  }
  .s2-headline {
    max-width: 1180px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.4rem; font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.4;
    letter-spacing: -.015em;
    transform-origin: center;
    will-change: transform, opacity;
  }

  /* CTA under the statement — switches colour + hops when reached */
  .s2-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 500;
    font-size: .9rem; font-size: clamp(.9rem, 1.1vw, 1rem);
    padding: 16px 30px;
    border-radius: 8px;
    border: 1.5px solid rgba(36, 37, 48, .2);   /* inconspicuous at first */
    color: rgba(36, 37, 48, .5);
    background: transparent;
    cursor: pointer;
    transition: background .5s ease, color .5s ease, border-color .5s ease;
  }
  .s2-cta span { transition: transform .25s ease; }
  .s2-cta:hover span { transform: translate(3px, -3px); }
  /* activated once the typewriter fill completes: colour in + gently bob */
  .s2-cta.go {
    background: var(--c-orange);
    border-color: var(--c-orange);
    color: #fff;
    animation: ctaBob 1.9s ease-in-out infinite;
  }
  @keyframes ctaBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
  }
  /* icons above the headline */
  .s2-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; gap: clamp(20px, 4vw, 52px);
  }
  .s2-icons svg {
    height: 36px; height: clamp(36px, 4.5vw, 60px);
    width: auto;
    fill: var(--c-dunkel);
    opacity: .18;
    transition: fill .5s ease, opacity .5s ease;
  }
  .s2-icons.is-active svg:nth-child(1) { fill: var(--c-orange); opacity: 1; transition-delay: 0s; }
  .s2-icons.is-active svg:nth-child(2) { fill: var(--c-orange); opacity: 1; transition-delay: .15s; }
  .s2-icons.is-active svg:nth-child(3) { fill: var(--c-orange); opacity: 1; transition-delay: .3s; }

  /* scroll-driven typewriter fill: each word goes white -> dark */
  .s2-headline .w {
    color: var(--c-dunkel);              /* fallback when JS is off */
    transition: color .3s ease;
  }
  .s2-headline.tw .w     { color: #ffffff; }          /* JS active: start white   */
  .s2-headline.tw .w.on  { color: var(--c-dunkel); }  /* filled in while scrolling */
  @media (prefers-reduced-motion: reduce) {
    .s2-headline .w { transition: none; }
    .card, .card__img img { transition: none; }
    .card:hover,
    .card:nth-child(2):hover,
    .card:nth-child(3):hover { transform: none; }
    .card:hover .card__img img { transform: none; }
    .s2-cta.go { animation: none; }
  }

  /* card grid — three equal, full-bleed columns */
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: clip;   /* hover-tilt der Randkarten darf keinen horizontalen Scroll erzeugen; clip lässt den vertikalen Hop sichtbar */
  }
  .card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 32px 40px; padding: clamp(40px, 6%, 84px) clamp(32px, 13%, 92px) clamp(40px, 5%, 64px);
    transform-origin: center 70%;
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1),
                box-shadow .5s ease;
    will-change: transform;
  }
  /* hover — hop up with a slight, alternating tilt */
  .card:hover {
    z-index: 2;
    transform: translateY(-14px) rotate(-2.2deg);
    box-shadow: 0 34px 60px -26px rgba(36, 37, 48, .55);
  }
  .card:nth-child(2):hover { transform: translateY(-16px) rotate(1.8deg); }
  .card:nth-child(3):hover { transform: translateY(-14px) rotate(2.4deg); }
  .card--teal   { background: var(--c-teal);     color: var(--c-beige); }
  .card--orange { background: var(--c-orange);   color: var(--c-dunkel); }
  .card--blue   { background: var(--c-schwarzblau); color: var(--c-beige); }

  .card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.8rem; font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
    letter-spacing: -.01em;
    text-align: center;
    margin-bottom: 28px; margin-bottom: clamp(28px, 4vh, 44px);
  }
  .card__img {
    width: 100%;
    aspect-ratio: 27 / 25;
    overflow: hidden;
  }
  .card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  }
  .card:hover .card__img img { transform: scale(1.07); }
  .card:hover .card__link span { transform: translate(3px, -3px); }
  .card p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .95rem; font-size: clamp(.95rem, 1.1vw, 1.1rem);
    line-height: 1.55;
    margin-top: var(--space-m);
    opacity: .9;
  }
  .card__link {
    margin-top: 34px; margin-top: clamp(34px, 6vh, 56px);
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .86rem; font-size: clamp(.86rem, 1vw, .96rem);
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 2px;
    transition: border-color .25s ease;
  }
  .card__link span { transition: transform .25s ease; }
  .card__link:hover { border-bottom-color: currentColor; }
  .card__link:hover span { transform: translate(3px, -3px); }
  /* stretch the link's hit area over the whole card so it's clickable everywhere, not just the bottom text */
  .card__link::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

  @media (max-width: 860px) {
    .cards { grid-template-columns: 1fr; }
    .card { padding: 40px 28px 40px; padding: clamp(40px, 9vw, 72px) clamp(28px, 8vw, 64px) clamp(40px, 8vw, 60px); }
  }

  /* ============================================================
     SECTION 3 — Testimonials
     ============================================================ */
  .section3 {
    background: var(--c-beige);
    color: var(--c-dunkel);
    overflow: hidden;            /* clip badge before it flies in (no h-scroll) */
  }
  /* full-bleed photo band */
  .s3-photo {
    width: 100%;
    height: 260px; height: clamp(260px, 30vw, 470px);
    background: #15161d url("/images/menue.jpg") center 42% / cover no-repeat;
    background-image: image-set(url("/images/menue.webp") type("image/webp"), url("/images/menue.jpg") type("image/jpeg"));
  }
  /* heading row with rating seal */
  .s3-head {
    position: relative;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: var(--space-3xl) var(--pad) 36px; padding: var(--space-3xl) var(--pad) clamp(36px, 5vh, 60px);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  .s3-head__text {
    display: flex;
    flex-direction: column;
  }
  .s3-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.4rem; font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.02em;
  }
  .s3-badge {
    flex: none;
    width: 130px; width: clamp(130px, 15vw, 184px);
    transform: rotate(-8deg);
    filter: drop-shadow(0 14px 24px rgba(36,37,48,.28));
    z-index: 3;
  }
  .s3-badge svg { display: block; width: 100%; height: auto; }
  /* slowly rotating sunburst + caption (independent of the container's motion) */
  .s3-badge .bdg-spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: bdgSpin 18s linear infinite;
  }
  @keyframes bdgSpin { to { transform: rotate(360deg); } }
  /* fly-in from the right, then constant gentle bob */
  .s3-badge.armed { transform: translateX(165%) rotate(-8deg); opacity: 0; }
  .s3-badge.in {
    animation: badgeFly .9s cubic-bezier(.34, 1.56, .64, 1) forwards,
               badgeBob 2s ease-in-out .9s infinite;
  }
  @keyframes badgeFly {
    0%   { transform: translateX(165%) rotate(-8deg); opacity: 0; }
    55%  { opacity: 1; }
    100% { transform: translateX(0) rotate(-8deg); opacity: 1; }
  }
  @keyframes badgeBob {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50%      { transform: translateY(-9px) rotate(-8deg); }
  }

  /* review cards — continuous slider */
  .reviews { overflow: hidden; }
  .reviews__track {
    display: flex;
    width: max-content;
    animation: reviewsSlide 60s linear infinite;
  }
  .reviews:hover .reviews__track { animation-play-state: paused; }
  @keyframes reviewsSlide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .review {
    flex: 0 0 300px; flex: 0 0 clamp(300px, 33vw, 440px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 38px 32px 44px; padding: clamp(38px, 3.4vw, 52px) clamp(32px, 2.9vw, 44px) clamp(44px, 4vw, 56px);
    color: var(--c-dunkel);
  }
  .review--blue   { background: var(--c-schwarzblau); color: var(--c-beige); }
  .review--orange { background: var(--c-orange); }
  .review--teal   { background: var(--c-teal); }

  /* mm-stern icon — used everywhere ✦/★ was */
  .si {
    display: inline-block;
    fill: currentColor;
    vertical-align: middle;
    overflow: visible;
  }
  .topbar .si          { width: 8px;  height: 8px;  color: var(--c-orange); }
  .footer__marquee .si { width: 9px;  height: 9px;  color: var(--c-orange); }

  .review .stars {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .stars .si         { width: 13px; height: 13px; color: var(--c-orange); }
  .review--orange .stars .si { color: var(--c-beige); }
  .si--dim           { opacity: .25; }
  .review h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem; font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    letter-spacing: -.01em;
  }
  .review p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .95rem; font-size: clamp(.95rem, 1.1vw, 1.1rem);
    line-height: 1.6;
    opacity: .9;
    margin-top: 2px;
  }

  @media (max-width: 860px) {
    .s3-head { flex-direction: column; align-items: flex-start; }
    /* Badge mobil ausblenden – absolut positioniert lag er sonst über dem Text */
    .s3-badge { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .reviews { overflow-x: auto; }
    .reviews__track { animation: none; }
    .s3-badge.in { animation: none; }
    .s3-badge .bdg-spin { animation: none; }

  }

  /* ============================================================
     SECTION 4 — FAQ
     ============================================================ */
  .section4 {
    background: var(--c-beige);
    color: var(--c-dunkel);
  }
  .s4-photo {
    width: 100%;
    height: 260px; height: clamp(260px, 30vw, 470px);
    background: #15161d url("/images/anstossen-full.jpg") center 58% / cover no-repeat;
    background-image: image-set(url("/images/anstossen-full.webp") type("image/webp"), url("/images/anstossen-full.jpg") type("image/jpeg"));
  }
  .s4-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: var(--space-3xl) var(--pad);
  }
  .s4-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.4rem; font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: var(--space-xl);
  }

  /* accordion */
  .faq-list { display: flex; flex-direction: column; gap: 5px; }
  .faq { background: #DAD7C6; transition: background .25s ease; }
  .faq:hover { background: #D3CFBC; }
  .faq__q {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem; font-size: clamp(1.1rem, 1.9vw, 1.5rem);
    color: var(--c-dunkel);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px; padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 40px);
  }
  .faq__ico {
    flex: none;
    font-size: 1.6rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1;
    color: var(--c-dunkel);
    transition: transform .35s cubic-bezier(.4,0,.2,1), color .3s ease;
  }
  .faq.open .faq__ico { transform: rotate(180deg); color: var(--c-orange); }
  .faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s cubic-bezier(.4,0,.2,1);
  }
  .faq__a > div { overflow: hidden; }
  .faq.open .faq__a { grid-template-rows: 1fr; }
  .faq__a p {
    font-family: var(--font-body);
    font-size: .92rem; font-size: clamp(.92rem, 1vw, 1rem);
    line-height: 1.6;
    color: rgba(36, 37, 48, .78);
    max-width: 80%;
    padding: 0 24px 24px; padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 2.6vw, 32px);
  }

  @media (prefers-reduced-motion: reduce) {
    .faq__a, .faq__ico { transition: none; }
  }

  /* ============================================================
     FOOTER
     ============================================================ */
  .footer {
    position: relative;
    background: var(--c-dunkel);
    color: var(--c-beige);
    overflow: hidden;
    padding-top: var(--space-3xl);
  }
  .footer::before {                 /* grain, consistent with hero */
    content: "";
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0; pointer-events: none;
    opacity: .4; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-0.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 220px 220px;
  }
  .footer > * { position: relative; z-index: 1; }

  /* CTA */
  .footer__cta {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad) var(--space-2xl);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
  .footer__cta h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.4rem; font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -.02em;
  }
  .footer__cta h2 em { font-style: normal; color: var(--c-orange); }
  .footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 500;
    font-size: .95rem; font-size: clamp(.95rem, 1.1vw, 1.05rem);
    background: var(--c-orange);
    color: #fff;
    padding: 18px 32px;
    border-radius: 10px;
    white-space: nowrap;
    transition: transform .2s ease, filter .25s ease;
  }
  .footer__cta-btn:hover { transform: translateY(-3px); filter: brightness(1.07); }
  .footer__cta-btn span { transition: transform .25s ease; }
  .footer__cta-btn:hover span { transform: translate(3px, -3px); }

  /* marquee */
  .footer__marquee {
    border-top: 1px solid rgba(234,232,225,.14);
    border-bottom: 1px solid rgba(234,232,225,.14);
    overflow: hidden;
    padding: 14px 0; padding: clamp(14px, 2vw, 22px) 0;
  }
  .footer__marquee-track {
    display: flex;
    width: max-content;
    animation: footMarquee 48s linear infinite; will-change: transform;
  }
  .footer__marquee-track span {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem; font-size: clamp(1.4rem, 3vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
    padding-right: .5em;
  }
  .footer__marquee-track i { color: var(--c-orange); font-style: normal; padding: 0 .35em; }
  @keyframes footMarquee { to { transform: translateX(-50%); } }

  /* columns */
  .footer__cols {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: var(--space-2xl) var(--pad) 40px; padding: var(--space-2xl) var(--pad) clamp(40px, 5vh, 64px);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px; gap: clamp(32px, 4vw, 56px);
  }
  .footer__brand img { height: 36px; width: auto; margin-bottom: 22px; }
  .footer__brand p {
    color: rgba(234,232,225,.6);
    max-width: 34ch;
    line-height: 1.65;
    font-size: .98rem;
  }
  .footer__socials { display: flex; gap: 12px; margin-top: 26px; }
  .footer__socials a {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(234,232,225,.22);
    display: grid; place-items: center;
    color: var(--c-beige);
    transition: background .25s ease, border-color .25s ease, transform .2s ease, color .25s ease;
  }
  .footer__socials a:hover {
    background: var(--c-orange);
    border-color: var(--c-orange);
    color: #fff;
    transform: translateY(-3px);
  }
  .footer__socials svg { width: 19px; height: 19px; fill: currentColor; display: block; }

  .footer__col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: .15em;
    color: rgba(234,232,225,.45);
    margin-bottom: 18px;
  }
  .footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer__col a { color: var(--c-beige); font-size: 1rem; transition: color .2s ease; }
  .footer__col a:hover { color: var(--c-orange); }
  .footer__col .muted { color: rgba(234,232,225,.6); line-height: 1.7; font-size: 1rem; }
  .footer__col .muted strong { color: var(--c-beige); font-weight: 500; }

  /* legal bar */
  .footer__bottom {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: var(--space-m) var(--pad);
    border-top: 1px solid rgba(234,232,225,.14);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    font-size: .85rem;
    color: rgba(234,232,225,.55);
  }
  .footer__bottom a { color: inherit; transition: color .2s ease; }
  .footer__bottom a:hover { color: var(--c-beige); }
  .footer__bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }

  /* giant outline wordmark */
  .footer__mark {
    font-family: var(--font-display);
    font-weight: 700;
    text-align: center;
    line-height: .8;
    letter-spacing: -.02em;
    font-size: 3.2rem; font-size: clamp(3.2rem, 17vw, 15rem);
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(234,232,225,.2);
    white-space: nowrap;
    user-select: none;
    padding-top: 24px; padding-top: clamp(24px, 3vh, 48px);
    margin-bottom: -.14em;
  }
  .footer__mark em {
    font-style: normal;
    color: var(--c-orange);
    -webkit-text-stroke: 0;
  }

  @media (max-width: 860px) {
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
    .footer__brand { grid-column: 1 / -1; }
  }
  @media (max-width: 520px) {
    .footer__cols { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; }
  }
  @media (prefers-reduced-motion: reduce) {
    .footer__marquee-track { animation: none; }
  }

  /* ============================================================
     TOPBAR — marquee, same look as the footer slider
     ============================================================ */
  .topbar {
    position: relative;
    z-index: 20;
    background: var(--c-dunkel);
    color: var(--c-beige);
    overflow: hidden;
    border-bottom: 1px solid rgba(234, 232, 225, .14);
    padding: 9px 0; padding: clamp(9px, 1.1vw, 13px) 0;
  }
  .topbar__track {
    display: flex;
    width: max-content;
    animation: footMarquee 70s linear infinite; will-change: transform;
  }
  .topbar__track span {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .78rem; font-size: clamp(.78rem, 1vw, .92rem);
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
    padding-right: .5em;
  }
  .topbar__track i { color: var(--c-orange); font-style: normal; padding: 0 .7em; }
  @media (prefers-reduced-motion: reduce) {
    .topbar__track { animation: none; }
  }

  /* ============================================================
     VISIT — Anfahrt & Öffnungszeiten
     ============================================================ */
  .visit {
    position: relative;
    overflow: hidden;
    background: var(--c-orange);
    color: var(--c-dunkel);
  }
  .visit__inner {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: var(--space-3xl) var(--pad);
  }

  /* left content */
  .visit__content {
    display: flex;
    flex-direction: column;
    max-width: 560px;
  }
  .visit__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.4rem; font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.02em;
  }
  .visit__tag {
    margin-top: 18px;
    font-size: 1rem; font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.55;
    max-width: 42ch;
    color: rgba(36, 37, 48, .82);
  }

  /* dark opening-hours card */
  .visit__hours {
    margin-top: var(--space-l);
    background: var(--c-beige);
    color: var(--c-dunkel);
    border-radius: 0;
    padding: 22px; padding: clamp(22px, 2.6vw, 32px);
  }
  .visit__status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .95rem;
    padding-bottom: 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(36, 37, 48, .14);
  }
  .visit__status .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-teal);
  }
  .visit__status:not(.closed) .dot { animation: visitDot 2.6s ease-in-out infinite; }
  @keyframes visitDot { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
  .visit__status.closed .dot { background: rgba(36, 37, 48, .3); }
  .hours { list-style: none; display: flex; flex-direction: column; }
  .hours li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 1.05rem;
    padding: 12px 10px;
    border-radius: 0;
  }
  .hours li span:first-child { color: rgba(36, 37, 48, .6); }
  .hours li span:last-child { display: flex; flex-direction: column; align-items: flex-end; }
  .hours li .hours__kitchen { font-size: .78em; color: rgba(36,37,48,.5); margin-top: 2px; white-space: nowrap; }
  .hours li.today { background: rgba(237, 109, 54, .18); }
  .hours li.today span { color: var(--c-orange); font-weight: 500; }

  /* meta + route — monospace ledger rows, lowercase labels */
  .visit__meta {
    margin-top: var(--space-l);
    display: flex;
    flex-direction: column;
  }
  .visit__block {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 6px 20px;
    align-items: baseline;
    padding: 16px 2px;
    border-top: 1px solid rgba(36, 37, 48, .18);
  }
  .visit__block:last-of-type { border-bottom: 1px solid rgba(36, 37, 48, .18); }
  .visit__block h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .82rem;
    color: rgba(36, 37, 48, .55);
  }
  .visit__block p { font-size: 1.05rem; line-height: 1.55; }
  .visit__block a {
    color: var(--c-dunkel);
    border-bottom: 1.5px solid rgba(36, 37, 48, .3);
    transition: border-color .2s ease;
  }
  .visit__block a:hover { border-bottom-color: var(--c-dunkel); }
  .visit__route {
    margin-top: var(--space-l);
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .95rem;
    background: var(--c-dunkel);
    color: var(--c-beige);
    padding: 15px 28px;
    border-radius: 10px;
    transition: transform .2s ease, filter .25s ease;
  }
  .visit__route:hover { transform: translateY(-2px); filter: brightness(1.18); }
  .visit__route span { transition: transform .25s ease; }
  .visit__route:hover span { transform: translate(3px, -3px); }

  /* right photo — full-bleed to the section edges */
  /* vertical pinsel between orange content and photo */
  .visit__divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 60%;
    width: 0;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
  }
  .visit__divider svg {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    aspect-ratio: 110 / 1536;
    transform: translateX(-50%);
    display: block;
    overflow: visible;
  }
  @media (max-width: 860px) { .visit__divider { display: none; } }

  .visit__photo {
    position: absolute;
    top: 0; bottom: 0; right: 0;
    left: 60%;
    overflow: hidden;
  }
  .visit__photo img {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
  }
  .visit__photo:hover img { transform: scale(1.05); }
  .visit__photocap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 22px; padding: clamp(22px, 3vw, 36px);
    background: linear-gradient(transparent, rgba(36, 37, 48, .72));
    color: var(--c-beige);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem; font-size: clamp(1rem, 1.4vw, 1.3rem);
  }

  @media (max-width: 860px) {
    .visit { display: flex; flex-direction: column-reverse; }
    .visit__content { max-width: none; }
    .visit__photo {
      position: relative;
      top: auto; right: auto; bottom: auto; left: auto;
      width: 100%;
      min-height: 300px;
    }
    .visit__photo img { object-position: 50% 15%; }
  }
  @media (max-width: 520px) {
    .visit__block { grid-template-columns: 1fr; gap: 4px; }
    .visit__photo { min-height: 240px; }
    .visit__hours { padding: 20px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .visit__route, .visit__photo img { transition: none; }
    .visit__status .dot { animation: none; }
  }
  .uppercase{
    text-transform: uppercase;
  }

  /* ============================================================
     SECTION DIVIDER — Pinsel brush stroke between hero & s2
     ============================================================ */
  .section-divider {
    position: relative;
    height: 0;
    overflow: visible;
    z-index: 10;
    pointer-events: none;
  }
  .section-divider svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1536 / 110;
    transform: translateY(-50%);
    display: block;
    overflow: visible;
  }
  .section-divider--flip svg { transform: translateY(-50%) scaleX(-1); }

/* iOS<15 aspect-ratio fallback (auto-added) */
@supports not (aspect-ratio: 1 / 1) {
  .card__img { position: relative; }
  .card__img::before { content: ""; display: block; padding-top: 92.593%; }
  .card__img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
}

/* WebP-Fallback: <picture> layout-neutral halten, damit img wie zuvor den Container fuellt */
picture{display:contents}

/* flex-gap fallback via .no-flexgap (auto) */
  html.no-flexgap .nav > * + * { margin-left: 24px; }
  html.no-flexgap .nav__links > * + * { margin-top: 40px; }
  html.no-flexgap .nav__triad > * + * { margin-left: 16px; }
  html.no-flexgap .nav__utility > * + * { margin-left: 14px; }
  html.no-flexgap .nav__toggle > * + * { margin-top: 5px; }
  html.no-flexgap .hero__actions > * + * { margin-left: 16px; }
  html.no-flexgap .intro__logo > * + * { margin-top: 18px; }
  html.no-flexgap .s2-intro__inner > * + * { margin-top: 40px; }
  html.no-flexgap .s2-cta > * + * { margin-left: 10px; }
  html.no-flexgap .s2-icons > * + * { margin-left: 20px; }
  html.no-flexgap .card__link > * + * { margin-left: 8px; }
  html.no-flexgap .s3-head > * + * { margin-top: 24px; }
  html.no-flexgap .review > * + * { margin-top: 14px; }
  html.no-flexgap .review .stars > * + * { margin-left: 4px; }
  html.no-flexgap .faq-list > * + * { margin-top: 5px; }
  html.no-flexgap .faq__q > * + * { margin-left: 20px; }
  html.no-flexgap .footer__cta > * + * { margin-left: 32px; }
  html.no-flexgap .footer__cta-btn > * + * { margin-left: 12px; }
  html.no-flexgap .footer__socials > * + * { margin-left: 12px; }
  html.no-flexgap .footer__col ul > * + * { margin-top: 12px; }
  html.no-flexgap .footer__bottom > * + * { margin-top: 14px; }
  html.no-flexgap .footer__bottom-links > * + * { margin-left: 22px; }
  html.no-flexgap .visit__status > * + * { margin-left: 10px; }
  html.no-flexgap .hours li > * + * { margin-left: 24px; }
  html.no-flexgap .visit__route > * + * { margin-left: 9px; }
