/* Typedream-independent runtime layer for the rescued static site. */
:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
iframe { border: 0; }
#contact-sales { scroll-margin-top: 76px; }

.typedream.content .animated-block-initial,
.typedream.content .fade-in,
.typedream.content .slide-in-up {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html.static-enhanced .typedream.content .static-reveal {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  transition: opacity .55s ease, transform .55s ease, translate .24s ease-out !important;
}
html.static-enhanced .typedream.content .static-reveal.static-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Keep the archived margins in place while the card or linked image lifts. */
._1bgwy4x7:hover { margin: var(--margin, 0); }
._10w3u1b4:hover { margin-block: 0; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  ._1bgwy4x7, ._10w3u1b4 { transition: translate .24s ease-out; }
  ._1bgwy4x7:hover, ._10w3u1b4:hover { translate: 0 -10px; }
}

#td-navbar { z-index: 10000 !important; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid #8a24ff !important;
  outline-offset: 3px;
}
.slate-accordion_item button { cursor: pointer; }
.slate-accordion_item [role="region"] { overflow: visible; }
.static-accordion-copy { font-size: inherit; line-height: 1.65; margin: 0 0 1em; }
.static-accordion-copy:last-child { margin-bottom: 0; }
.static-booking-fallback { margin: 0 auto 24px; text-align: center; color: #282a30; font-size: 16px; line-height: 1.5; }
.static-booking-fallback a { color: #bd4f89 !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.slate-media_embed > iframe.static-tally-frame { position: static; height: 680px; }

/* Let the available section width determine how many columns fit. */
.fmp-grid-frame { container: fmp-row / inline-size; }
._1j76um1 > .fmp-grid {
  --fmp-columns: 1;
  --fmp-grid-gap: clamp(16px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: repeat(var(--fmp-columns), minmax(0, 1fr));
  align-items: stretch;
  gap: var(--fmp-grid-gap);
}
.fmp-grid > .slate-column_item {
  min-width: 0;
  width: 100%;
  max-width: none;
  justify-content: flex-start;
}
.fmp-grid > .fmp-grid-placeholder { display: none; }
.fmp-grid-compact > .slate-column_item,
.fmp-grid-footer-end > .slate-column_item { align-items: center; }
.fmp-grid-footer-end > .slate-column_item { justify-content: center; }
.fmp-grid-plans > .slate-column_item {
  max-width: 640px;
  justify-self: center;
}
.fmp-grid-plans > .slate-column_item > .slate-container {
  padding: 0;
  justify-content: flex-start;
  gap: 20px;
}
.fmp-grid-plans .card { width: 100%; min-height: 0; }
.fmp-grid-plans > .slate-column_item > .slate-container > .slate-spacer { display: none; }
._1j76um1 > .fmp-grid-logos {
  --fmp-columns: 2;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.fmp-grid-logos > .slate-column_item {
  flex: 0 0 calc((100% - (var(--fmp-columns) - 1) * var(--fmp-grid-gap)) / var(--fmp-columns));
  align-items: center;
  justify-content: center;
}
@container fmp-row (min-width: 18.75rem) {
  ._1j76um1 > .fmp-grid-compact { --fmp-columns: 2; }
}
@container fmp-row (min-width: 30rem) {
  ._1j76um1 > .fmp-grid-logos { --fmp-columns: 3; }
}
@container fmp-row (min-width: 32rem) {
  ._1j76um1 > :is(.fmp-grid-four, .fmp-grid-three) { --fmp-columns: 2; }
}
@container fmp-row (32rem <= width < 47.5rem) {
  .fmp-grid-three > .slate-column_item:last-child {
    grid-column: 1 / -1;
    width: calc((100% - var(--fmp-grid-gap)) / 2);
    justify-self: center;
  }
}
@container fmp-row (32rem <= width < 66rem) {
  .fmp-grid-four:has(> .fmp-grid-placeholder) > .slate-column_item:nth-child(3) {
    grid-column: 1 / -1;
    width: calc((100% - var(--fmp-grid-gap)) / 2);
    justify-self: center;
  }
}
@container fmp-row (min-width: 40rem) {
  ._1j76um1 > .fmp-grid-logos { --fmp-columns: 5; }
}
@container fmp-row (min-width: 42rem) {
  ._1j76um1 > .fmp-grid-footer-end { --fmp-columns: 3; }
}
@container fmp-row (min-width: 47.5rem) {
  ._1j76um1 > .fmp-grid-three { --fmp-columns: 3; }
}
@container fmp-row (min-width: 50rem) {
  ._1j76um1 > .fmp-grid-compact { --fmp-columns: 4; }
}
@container fmp-row (min-width: 53rem) {
  ._1j76um1 > .fmp-grid-plans { --fmp-columns: 3; }
  .fmp-grid-plans .card { min-height: 15rem; }
}
@container fmp-row (min-width: 66rem) {
  ._1j76um1 > .fmp-grid-four { --fmp-columns: 4; }
}
@container fmp-row (width < 55rem) {
  ._1j76um1 > .fmp-form-row {
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 4vw, 36px);
    min-height: 0;
  }
  .fmp-form-row > .slate-column_item { width: min(100%, 640px); }
}

/* The introductory CTA leads into the three use cases on home and Anbieter. */
.fmp-feature {
  container: fmp-feature / inline-size;
  width: min(1200px, calc(100% - 2 * clamp(20px, 4vw, 40px)));
  margin-block: clamp(36px, 6vw, 88px);
}
.fmp-feature-intro { max-width: 680px; margin: 0 auto clamp(24px, 4vw, 48px); }
.fmp-feature-intro > h2 { text-wrap: balance; scroll-margin-top: 82px; }
.fmp-feature-intro > .slate-button { margin-top: 20px; }
.fmp-feature-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.fmp-feature-cards > .card {
  width: 100%;
  max-width: none;
  min-height: 0;
  justify-content: flex-start;
}
.fmp-feature-cards > .card:has(> ._1bgwy4x8) > p:nth-last-child(2) { margin-top: auto; }
@container fmp-feature (min-width: 32rem) {
  .fmp-feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container fmp-feature (32rem <= width < 49rem) {
  .fmp-feature-cards > .card:last-child { grid-column: 1 / -1; }
}
@container fmp-feature (min-width: 49rem) {
  .fmp-feature-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .slate-container.card { padding-inline: clamp(16px, 5vw, 24px); }
  .slate-container:has(> .slate-ol > .card) { padding-inline: 16px; }
  .slate-ol:has(> .card) { padding-inline: 20px 0; }
  /* The form supplies its own padding. Use the page gutters for the embed. */
  .slate-media_embed:has(> .static-tally-frame) {
    margin-inline: -30px;
    width: calc(100% + 60px) !important;
    max-width: none !important;
  }
}
@media (max-width: 1279px) {
  #port-home-hero ._1j76umc { min-height: 0; }
}
@media (max-width: 1023px) {
  #port-home-hero { background: radial-gradient(circle at 90% 18%, #4b1a59, #24052e 65%) !important; }
  #port-home-hero > ._1bgwy4xb { display: none; }
  #port-home-hero { min-height: 0; }
  #port-home-hero > .slate-column { padding-block: clamp(24px, 5vw, 60px); }
  #port-home-hero ._1j76umc > .slate-column_item:first-child { width: 100%; }
  #port-home-hero ._1j76umc > .slate-column_item:last-child { display: none; }
  #port-home-hero .slate-h1 span[style*="--font-size"] {
    font-size: clamp(2.1rem, 6vw, 4.1rem);
    line-height: 1.12;
    letter-spacing: -.045em !important;
  }
}
@media (1024px <= width < 1280px) {
  #port-home-hero { min-height: clamp(41rem, 67vw, 54rem); }
  #port-home-hero .slate-h1 span[style*="--font-size"] { font-size: clamp(3.25rem, 5.5vw, 4.4rem); line-height: 1.13; }
}
@media (min-width: 1440px) {
  #td-navbar { padding-inline: max(0px, calc((100% - 1440px) / 2)); }
}
/* Match the navigation breakpoint in the archived stylesheet. */
@media (max-width: 1023px) {
  #td-navbar { max-height: none !important; overflow: visible !important; }
  #td-navbar > div:first-of-type { width: 100% !important; }
  #td-navbar > div:nth-of-type(2),
  #td-navbar > div:nth-of-type(3) { display: none !important; }
  #td-navbar.static-menu-open > div:nth-of-type(2),
  #td-navbar.static-menu-open > div:nth-of-type(3) {
    display: flex !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 10px 20px !important;
    background: var(--background-highlight, #fff) !important;
    box-shadow: 0 18px 30px rgba(20,20,30,.18) !important;
  }
  #td-navbar.static-menu-open > div:nth-of-type(2) { top: 60px !important; }
  #td-navbar.static-menu-open > div:nth-of-type(3) { top: 240px !important; }
  #td-navbar.static-menu-open > div:nth-of-type(2) > *,
  #td-navbar.static-menu-open > div:nth-of-type(3) > * {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.static-enhanced .typedream.content .static-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
