/* Teil 5 von 6: Breakpoints (ab 981px, ab 1800px, bis 980px, bis 620px) und reduzierte Bewegung der Faden-Karten. */
@media (min-width: 981px) {
  .mobile-nav {
    display: none !important;
  }
}
@media (min-width: 1800px) {
  .workflow {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav {
    display: none;
  }
  .brand {
    min-width: auto;
  }
  .brand-wordmark {
    width: 124px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-nav {
    top: calc(100% + 8px);
    max-height: calc(100svh - 82px);
    padding: 8px;
  }
  .hero,
  .mobile-section,
  .newsletter-panel,
  .section-head-row {
    grid-template-columns: 1fr;
  }
  .feature-strip-cta {
    width: fit-content;
  }
  .hero {
    min-height: auto;
  }
  .hero-stage {
    min-height: 640px;
  }
  .hero-stage .phone-frame {
    width: min(240px, 46vw);
  }
  .workflow,
  .feature-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
  .workflow li {
    min-height: auto;
  }
  .feature-card.is-wide {
    grid-column: span 1;
  }
  .card-copy {
    grid-template-columns: 1fr;
  }
  .chart-product-stage {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }
  .chart-shot-wrap,
  .chart-product-stage .chart-main-shot,
  .sidecar-rondell {
    min-height: auto;
  }
  .chart-product-stage .chart-main-shot {
    height: 420px;
  }
  .sidecar-rondell {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    align-content: stretch;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .sidecar-rondell::-webkit-scrollbar {
    display: none;
  }
  .sidecar-rondell::before {
    display: none;
  }
  .sidecar-tile,
  .sidecar-tile:nth-child(n) {
    scroll-snap-align: start;
    transform: none;
  }
}
@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
    gap: 10px;
  }
  .brand-wordmark {
    width: 116px;
  }
  .header-cta {
    display: none;
  }
  .mobile-nav-tools {
    display: flex;
  }
  .hero,
  .section {
    width: min(100% - 32px, 1480px);
  }
  .section-head,
  .workflow-section,
  .thread-3d,
  .workflow,
  .workflow li {
    max-width: 100%;
    min-width: 0;
  }
  /* Keine eigene Breite: der Abschnitt behält den Seitenrand von .section (16px) wie alle anderen. */
  .workflow-section {
    overflow: hidden;
  }
  .workflow-section .section-head {
    inline-size: min(100%, 330px);
  }
  .thread-3d {
    inline-size: 100%;
  }
  .workflow {
    display: flex;
    flex-direction: column;
    inline-size: 100%;
  }
  .workflow {
    grid-template-columns: minmax(0, 1fr);
  }
  .workflow li {
    inline-size: 100%;
  }
  .workflow-section .section-head h2,
  .workflow-section .section-head p,
  .workflow strong,
  .workflow p {
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
  }
  .workflow p {
    max-inline-size: 25ch;
  }
  .workflow-section .section-head h2 {
    font-size: clamp(32px, 10.4vw, 43px);
  }
  h1 {
    font-size: clamp(34px, 9.8vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }
  h2 {
    font-size: clamp(34px, 12vw, 54px);
  }
  .proof-strip {
    display: none;
  }
  .footer {
    display: grid;
    justify-content: stretch;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .lede {
    font-size: 19px;
    line-height: 1.42;
  }
  .hero {
    gap: 22px;
    padding-block: 34px 54px;
  }
  .hero-stage {
    min-height: 390px;
  }
  .screen-frame {
    margin-right: -62vw;
  }
  .hero-stage .phone-frame {
    right: 0;
    width: 210px;
  }
  .feature-card {
    min-height: auto;
    border-radius: 26px;
  }
  .feature-card img,
  .feature-card:not(.is-wide) img {
    height: 320px;
  }
  .chart-product-stage {
    padding: 0 10px 16px;
  }
  .chart-product-stage .chart-main-shot {
    height: 330px;
  }
  .sidecar-rondell {
    grid-template-columns: repeat(4, minmax(205px, 1fr));
  }
  .sidecar-tile {
    border-radius: 20px;
  }
  .sidecar-tile img,
  .sidecar-tile-stock img,
  .sidecar-tile-checklist img {
    height: 96px;
  }
  .thread-3d {
    border-radius: 28px;
    padding: 16px;
  }
  .newsletter-panel {
    border-radius: 28px;
    padding: 20px;
  }
  .newsletter-panel::before {
    inset: 9px;
    border-radius: 22px;
  }
  .newsletter-actions .button {
    width: 100%;
  }
  .newsletter-mail-card {
    border-radius: 20px;
  }
  .newsletter-current {
    border-radius: 24px;
  }
  .newsletter-current img {
    width: min(100%, 220px);
  }
  .workflow li {
    padding: 72px 18px 20px;
    border-radius: 22px;
  }
  .compact-grid article {
    min-height: auto;
    border-radius: 24px;
  }
  .phone-grid {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
  }
  .phone-frame-large {
    flex: 0 0 236px;
    width: 236px;
  }
  .phone-frame-raised {
    margin-top: 0;
  }
  .footer {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workflow li {
    animation: none !important;
  }
  .workflow li {
    opacity: 1;
    transform: none;
  }
}
