/*
 * Shared visual rhythm for the active restaurant marketing pages only.
 * The body ID intentionally outranks the exported Webflow variant selectors;
 * guest pages never receive this ID or load this stylesheet. This file is
 * deliberately linked conditionally, outside Astro's shared CSS bundling.
 */
/* Same glyphs and metrics, without downloading unused scripts and alphabets.
 * The original Poppins faces cover characters outside these Unicode ranges. */
@font-face {
  font-family: Poppins;
  src: url('/fonts/business/poppins-regular-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+2212, U+FB00-FB06, U+FFFD;
}
@font-face {
  font-family: Poppins;
  src: url('/fonts/business/poppins-medium-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+2212, U+FB00-FB06, U+FFFD;
}
@font-face {
  font-family: Poppins;
  src: url('/fonts/business/poppins-semibold-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+2212, U+FB00-FB06, U+FFFD;
}
@font-face {
  font-family: Poppins;
  src: url('/fonts/business/poppins-bold-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+2212, U+FB00-FB06, U+FFFD;
}

#business-site {
  --business-h1: clamp(2rem, 1.65rem + 1.4vw, 2.75rem);
  --business-h2: clamp(1.75rem, 1.45rem + 1.2vw, 2.375rem);
  --business-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  --business-heading-small: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --business-body: 1rem;
  --business-small: 0.875rem;
  --business-leading: 1.6;
  --business-control-height: 3.25rem;
  --business-control-radius: 999px;
  --business-space: clamp(1.5rem, 1rem + 2vw, 3rem);
}

/* Heading roles stay consistent across the overview, products and inquiry. */
#business-site :is(h1.libre-heading, h1.heading-1) {
  max-width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: var(--business-h1);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#business-site :is(h2.restaurant-h2, h2.heading-3.restaurants) {
  font-size: var(--business-h2);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#business-site :is(h3.restaurant-h4, h3.restaurant-h2) {
  font-size: var(--business-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#business-site h3.restaurant-h2.bento {
  font-size: var(--business-h2);
  line-height: 1.25;
}

#business-site :is(.reason-heading, .restaurant-h4.cardtitle, .restaurant-h4.bento-card-text) {
  font-size: var(--business-heading-small);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

#business-site .feature-heading-small {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Preserve the small badges and the large statements inside feature slides. */
#business-site :is(.text-s, .text-medium, .faq-answer, .review-text) {
  line-height: var(--business-leading);
}

#business-site :is(.text-s.dark, .text-s.grey, .text-s.card-title, .text-medium, .faq-answer) {
  font-size: var(--business-body);
}

#business-site :is(.restaurants-hero-content > .text-s, .subheading-2.smallbottom) {
  max-width: 42rem;
  font-size: var(--business-body);
  line-height: var(--business-leading);
  text-wrap: pretty;
}

#business-site .text-s.feature {
  font-size: var(--business-h3);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

#business-site :is(.hero-tag, .leistungen-tag, .bento-tag) {
  font-size: var(--business-small);
  line-height: 1.5;
}

#business-site .hero-tag {
  text-align: center;
}

/* One primary control size; navigation and discovery links use a compact size. */
#business-site :is(.button, .submit-button, .leistungen-cta) {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--business-control-height);
  max-width: 100%;
  max-height: none;
  height: auto;
  padding: 0.875rem 1.75rem;
  border-radius: var(--business-control-radius);
  font-family: inherit;
  font-size: var(--business-body);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

#business-site :is(.navbar .button, .leistungen-cta) {
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  font-size: var(--business-small);
  line-height: 1.5;
}

#business-site .leistungen-cta .text-block-16 {
  font-size: inherit;
  line-height: inherit;
}

#business-site .leistungen-cta img {
  flex: 0 0 auto;
}

#business-site .btn-wrap {
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 100%;
  margin-top: 1.75rem;
}

#business-site .btn-wrap > .button {
  margin: 0;
}

#business-site .pricing-card .button {
  padding-inline: 1rem;
}

#business-site :is(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid #202020;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #fff;
}

/* Keep existing section compositions, with regular spacing inside each one. */
#business-site .restaurants-hero-content {
  width: min(900px, calc(100% - 2.5rem));
  max-width: 100%;
}

#business-site .restaurant-heading {
  height: auto;
}

/* Intrinsic dimensions reserve image space without fixing the rendered height. */
#business-site :is(.leistung-hero, .feature-image, .image-19) {
  height: auto;
}

/* Both dimensions must scale when the feature panel limits image height. */
#business-site .feature-image {
  width: auto;
  object-fit: contain;
}

#business-site .leistung-content {
  min-width: 0;
  padding-inline: var(--business-space);
}

#business-site .leistung-content.reason {
  gap: clamp(1.5rem, 1rem + 1vw, 2rem);
  padding-right: 0;
}

#business-site .reason-heading {
  margin-bottom: 2px;
}

#business-site .feature-wrapper-small {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--business-space);
}

#business-site .feature-card {
  min-width: 0;
  max-width: none;
}

#business-site .accordion-item-wrapper---brix.tabs-accordion---brix {
  width: 100%;
}

#business-site .faq-question {
  flex: 1;
  min-width: 0;
  max-width: none;
  padding-right: 1.5rem;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.5;
}

#business-site .open-close-icon-wrapper---brix {
  flex-shrink: 0;
}

#business-site .faq-answer {
  max-width: 65ch;
  margin-top: 1rem;
}

/* Long customer quotes use reading text, with a comfortable line length. */
#business-site .testimonial-quote {
  max-width: 60ch;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  font-weight: 400;
  line-height: var(--business-leading);
}

/* Inquiry fields share the control rhythm and remain readable on phones. */
#business-site .form-title {
  margin-bottom: 1.5rem;
  font-size: var(--business-heading-small);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

#business-site .text-field {
  height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

#business-site .subheading-2.small {
  font-size: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 991px) {
  #business-site .navbar {
    transition:
      background-color 400ms ease,
      -webkit-backdrop-filter 400ms ease,
      backdrop-filter 400ms ease;
  }

  #business-site .navbar:has(.w-nav-button.w--open) {
    background-color: #fff;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
  }

  #business-site .feature-wrapper-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }
}

@media (max-width: 767px) {
  #business-site .leistung-content {
    width: 100%;
    padding-inline: 0;
  }

  #business-site .restaurants-hero-content {
    width: 100%;
  }

  #business-site .restaurant-heading .restaurants-hero-content {
    width: calc(100% - 2.5rem);
  }

  #business-site .text-s.dark.max-90 {
    max-width: 100%;
  }

  #business-site .bento-big {
    aspect-ratio: auto;
    padding: 2rem;
    gap: 0.5rem;
  }

  #business-site .bento-content {
    width: 100%;
    padding: 0;
    align-items: flex-start;
  }

  #business-site .restaurant-h2.bento {
    max-width: 100%;
    margin-top: 4px;
    margin-bottom: 0;
    text-align: left;
  }

  #business-site h3.restaurant-h2.bento {
    font-size: var(--business-heading-small);
    line-height: 1.35;
    letter-spacing: -0.015em;
  }

  #business-site .bento-image {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
  }

  #business-site .bento-image-item {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 24rem;
    object-fit: contain;
  }
}

@media (max-width: 479px) {
  #business-site .cta-restaurants .btn-line {
    width: min(22rem, 90vw);
  }

  #business-site .cta-restaurants .btn-line > .button {
    width: 100%;
  }

  #business-site .btn-wrap {
    width: 100%;
    max-width: 22rem;
    flex-direction: column;
    align-items: stretch;
  }

  #business-site .btn-wrap > .button {
    width: 100%;
  }

  #business-site .feature-wrapper-small {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  #business-site .navbar {
    transition-duration: 0.01ms;
  }

  #business-site :is(.button, .submit-button, .leistungen-cta) {
    transition: none;
  }
}
