/* chattastic mobile layout
   Deliberately loaded after every other stylesheet. */

.hero-promise {
  padding: .03em .15em .08em;
  border-radius: .2em;
  background: #fff0e8;
  color: #d9532f;
  font: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mobile-claim,
.mobile-comparison,
.hero-social-proof { display: none; }

.case-card { display: block; max-width: 900px; margin-inline: auto; }
.case-narrative { padding: clamp(26px, 4vw, 48px); }
.case-result { margin-top: 18px; max-width: 65ch; color: #405574; line-height: 1.65; }
.case-tabs { justify-content: center; }

.platforms > div > .platform-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dce4f0;
  border-radius: 14px;
  background: #fff;
}
.platforms .platform-tile img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.platforms .platform-tile img[alt="Jimdo"] { width: 104px; height: 48px; }

@media (max-width: 760px) {
  :root { --space: 72px; }

  html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
    scroll-behavior: auto;
  }

  body { position: relative; width: 100%; max-width: 100%; overflow: visible; }

  main,
  main > section,
  .site-header,
  .footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  main * { min-width: 0; }
  img,
  svg,
  iframe,
  video { max-width: 100%; }

  .container,
  .hero-inner {
    width: auto;
    max-width: none;
    margin-inline: 16px;
  }

  /* Floating navigation */
  .site-header,
  .site-header.scrolled {
    top: 0;
    height: 86px;
    padding-top: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header .nav {
    width: calc(100% - 24px);
    height: 64px;
    margin-inline: auto;
    padding: 0 12px 0 15px;
    border: 1px solid #294a76;
    border-radius: 20px;
    background: #10284f;
    box-shadow: 0 18px 42px -25px #07152ecc, inset 0 1px 0 #ffffff20;
  }

  .site-header .brand,
  .site-header .brand .brand-ending { color: #fff; }

  .site-header .brand { gap: 8px; font-size: 1.2rem; }
  .site-header .brand img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transform: scale(1.3);
  }

  .nav-actions .button.small,
  .nav-actions .login { display: none; }

  .menu-toggle,
  .menu-toggle:hover,
  .menu-toggle[aria-expanded="true"] {
    display: grid;
    place-content: center;
    width: 46px;
    height: 46px;
    padding: 9px;
    border-radius: 14px;
    background: transparent;
  }

  .menu-toggle span {
    width: 23px;
    margin: 4px 0;
    background: #fff;
  }

  .mobile-nav {
    top: 78px;
    left: 12px;
    right: 12px;
    padding: 8px 14px 14px;
    border: 1px solid #294a76;
    border-radius: 18px;
    background: #10284ff5;
    box-shadow: 0 26px 62px -28px #07152ecc;
  }

  .mobile-nav a {
    min-height: 48px;
    padding: 11px 7px;
    color: #fff;
    border-color: #ffffff17;
  }

  /* Focused mobile hero with a clear proof point. */
  .hero {
    min-height: calc(100svh - 86px);
    padding: 25px 0 45px;
    align-items: center;
    background: radial-gradient(ellipse at 50% -12%, #274e78 0%, #102b50 43%, #071629 100%);
  }

  .hero .desktop-claim,
  .hero .desktop-promise { display: none; }
  .hero .mobile-claim { display: block; }
  .hero h1 {
    width: 100%;
    margin-inline: auto;
    color: #fff;
    font-size: clamp(2.25rem, 9.2vw, 2.85rem);
    line-height: 1.07;
    letter-spacing: -.04em;
    word-spacing: normal;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: normal;
  }
  .hero h1 .mobile-claim em {
    display: block;
    margin: .08em 0;
    color: #a7f2c5;
    font-style: normal;
    font-weight: 700;
    text-wrap: balance;
  }

  .hero h1 .hero-line {
    display: block;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  .hero h1 .hero-line.h1-mark {
    display: table;
    width: auto;
    max-width: 100%;
    margin: .16em auto 0;
    padding: .05em .12em .08em;
  }

  .hero-copy {
    max-width: 37ch;
    margin: 18px auto 0;
    color: #dbe7f5;
    font-size: clamp(1.06rem, 4.4vw, 1.22rem);
    line-height: 1.48;
    text-align: center;
    text-wrap: pretty;
  }

  .hero-copy > span { display: block; }
  .hero-copy > span + span { margin-top: 0; }
  .hero-copy strong { color: #10284f; }
  .hero-promise { white-space: nowrap; }

  .hero .builder-form {
    width: 100%;
    max-width: 370px;
    margin: 23px auto 0;
  }

  .domain-entry {
    display: grid;
    gap: 7px;
    padding: 7px;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 18px 45px -31px #174b9d80;
  }

  .domain-entry > .icon { display: none; }
  .domain-entry input {
    width: 100%;
    min-height: 47px;
    padding: 10px 12px;
    font-size: 16px;
  }

  .domain-entry .button {
    width: 100%;
    min-height: 58px;
    justify-content: center;
    border-radius: 12px;
    font-size: clamp(1.18rem, 5.1vw, 1.45rem);
    letter-spacing: -.02em;
  }
  .domain-entry .button .icon { width: 22px; height: 22px; }

  .hero-offer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 13px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .hero-offer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 8px;
    color: #d9fbe6;
    background: #12644463;
    border-color: #5cbf8b55;
    font-size: clamp(.76rem, 3.5vw, .88rem);
    white-space: nowrap;
  }

  .hero-offer .icon { display: block; width: 15px; height: 15px; flex: 0 0 15px; }
  .hero-offer .icon { color: #7ff0aa; }
  .hero-social-proof {
    display: grid;
    justify-items: center;
    gap: 13px;
    margin: 25px auto 0;
    color: #fff;
  }
  .social-logos { display: flex; align-items: center; justify-content: center; padding-left: 9px; }
  .social-logos > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 48px;
    margin-left: -9px;
    border: 2px solid #102a48;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 22px #0005;
  }
  .social-logos img { width: 100%; height: 100%; object-fit: contain; }
  .social-logos img[alt="Younite Agency"] { transform: scale(1.65); }
  .social-logos img[alt="Institut Makelloos Kosmetik"] { transform: scale(1.55); }
  .social-logos img[alt="Media + Druck Hahn"] { transform: scale(1.15); }
  .social-logos img[alt="San Pepetone"] { transform: scale(.83); border-radius: 50%; }
  .social-logos img[alt="temoa"] { transform: scale(1); }
  .social-count {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 3px 13px 3px 3px;
    border: 1px solid #ffffff2d;
    border-radius: 999px;
    background: #ffffff18;
    color: #eef6ff;
    font-size: .8rem;
    line-height: 1.3;
  }
  .social-count strong {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    background: #fff;
    color: #10284f;
    font-size: .85rem;
  }

  /* Clear section rhythm */
  .customer-outcomes,
  .problem,
  .difference,
  .cases,
  .pricing,
  .industries { background: #edf4ff; }

  .business-benefits,
  .product-dashboard,
  .knowledge,
  .setup,
  .faq { background: #fff; }

  .cases { background: #10284f; }
  .cases .section-heading h2 { color: #fff; }
  .cases .section-heading h2 .blue-text { color: #a9c9ff; }
  .cases .section-heading p { color: #d0dcef; }

  .section,
  .customer-outcomes,
  .product-dashboard,
  .difference,
  .knowledge,
  .cases,
  .setup,
  .pricing,
  .faq,
  .industries { padding-block: 72px; }

  .section-heading,
  .outcome-heading,
  .benefit-heading,
  .dashboard-section-heading { margin-bottom: 30px; }

  .section-heading h2,
  .outcome-heading h2,
  .benefit-heading h2,
  .dashboard-section-heading h2,
  .knowledge-copy h2,
  .price-copy h2,
  .faq-layout > h2 {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -.025em;
    word-spacing: normal;
    text-wrap: pretty;
    overflow-wrap: normal;
    hyphens: auto;
  }

  .section-heading h2 br,
  .outcome-heading h2 br,
  .benefit-heading h2 br,
  .price-copy h2 br { display: none; }

  .section-heading p,
  .outcome-heading p,
  .price-copy p {
    margin-top: 15px;
    font-size: .98rem;
    line-height: 1.65;
  }

  /* Customer journey */
  .outcome-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 34px;
    padding-top: 20px;
  }

  .outcome-stats > div,
  .outcome-stats > div:first-child {
    padding-inline: 7px;
    border-left: 1px solid #cfdbed;
  }

  .outcome-stats > div:first-child { border-left: 0; }
  .outcome-stats strong { font-size: clamp(1.45rem, 6.7vw, 1.85rem); }
  .outcome-stats > div > span { margin-top: 5px; font-size: .68rem; line-height: 1.35; }

  .outcome-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
    width: 100%;
    max-width: 100%;
    position: relative;
    padding-left: 41px;
  }
  .outcome-flow::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 16px;
    width: 2px;
    background: linear-gradient(#93b8e7, #22825d, #93b8e7);
  }

  .outcome-track { display: none; }

  .outcome-stop {
    display: block;
    position: relative;
    min-height: 0;
    padding: 20px;
    color: #10284f;
    text-align: left;
    border: 1px solid #d5e3f5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 32px -29px #102b58aa;
  }

  .outcome-stop:nth-of-type(even) { background: #fff; }
  .outcome-stop::before {
    content: "1";
    position: absolute;
    z-index: 1;
    top: 20px;
    left: -41px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #edf4ff;
    border-radius: 50%;
    background: #1f5cbd;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
  }
  .outcome-inquiry::before { content: "✓"; background: #168455; font-size: 1.15rem; }
  .outcome-meeting::before { content: "3"; }
  .outcome-customer::before { content: "4"; }
  .outcome-inquiry { border-color: #8bd4a9; box-shadow: 0 16px 38px -32px #168455bb; }

  .outcome-visual { display: none; }

  .outcome-stop h3 {
    margin: 0;
    color: #10284f;
    font-size: 1.08rem;
    line-height: 1.28;
  }

  .outcome-stop p {
    margin-top: 6px;
    color: #526987;
    font-size: .88rem;
    line-height: 1.52;
  }

  .outcome-browser,
  .outcome-contact,
  .outcome-calendar,
  .outcome-order { transform: scale(.65); }

  .outcome-signal { transform: scale(.8); }
  .outcome-promise { border-color: #ccd9ed; }

  /* Benefits and problem sections */
  .benefit-heading { display: block; }
  .benefit-proof { margin-top: 24px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-grid article {
    padding: 20px;
    border: 1px solid #d8e3f2;
    border-radius: 16px;
    background: #fff;
  }

  .problem-grid,
  .response-comparison { grid-template-columns: 1fr; }
  .response-comparison { gap: 12px; }

  /* 60-second setup */
  .start-tour {
    margin: 0;
    padding-block: 76px;
    color: #fff;
    background: #10284f;
  }
  .start-tour .start-pin { background: transparent; }

  .start-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }

  .start-copy h2 {
    display: block;
    color: #fff;
    font-size: 1.88rem;
    line-height: 1.14;
    letter-spacing: -.02em;
    text-align: center;
  }

  .start-copy h2 > span:last-child { display: block; }

  .start-number {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 9px;
    margin-bottom: 14px;
    color: #7daaff;
    font-size: clamp(4rem, 18vw, 4.7rem);
    line-height: .9;
  }

  .start-number > span { color: #c0d2ef; font-size: 1rem; }
  .start-copy h2 .blue-text { color: #83adff; }

  .start-steps { gap: 8px; margin-top: 26px; }
  .start-step {
    min-height: 67px;
    padding: 12px 13px;
    color: #c8d7ed;
    border-color: #ffffff1d;
    background: #ffffff0c;
  }

  .start-step strong { color: #fff; }
  .start-step p { color: #d0ddf0; }
  .start-step.active {
    color: #174eaf;
    border-color: #7da8ef;
    background: #fff;
  }

  .start-step.active strong { color: #174eaf; }
  .start-step.active p { color: #607697; }
  .start-stage {
    width: 100%;
    padding: 9px;
    border: 1px solid #ffffff1d;
    border-radius: 22px;
    background: #ffffff09;
  }

  .start-panel { width: 100%; height: auto; min-height: 300px; border-radius: 17px; }
  .start-domain-visual,
  .start-ai-visual,
  .start-chat { color: #10284f; }
  .start-domain-body h3,
  .start-ai-visual h3 { color: #10284f; }
  .start-ai-visual {
    padding: 25px 18px;
    border: 1px solid #d6e2f5;
    border-radius: 17px;
    background: #fff;
  }
  .start-ai-visual h3 { color: #10284f !important; }
  .start-checks > div { color: #244b79; }
  .start-browser-bar > span { color: #4d6483; }
  .start-source-tags span { color: #3b5a7d; }
  .start-domain-body { padding: 24px 20px; }
  .start-domain-address { min-width: 0; padding: 12px; }
  .start-domain-address > span { overflow-wrap: anywhere; }
  .start-chat { height: auto; min-height: 340px; }
  .start-chat-thread { overflow: visible; flex: 1 0 auto; }
  .start-chat-visitor { color: #fff; }
  .start-chat-answer { color: #243c60; }
  .start-controls > span { color: #c5d4eb; }

  /* Dashboard */
  .pipeline-app { width: 100%; max-width: 100%; overflow: hidden; }
  .pipeline-sidebar { display: none; }
  .pipeline-main { min-width: 0; }
  .pipeline-kpis { grid-template-columns: 1fr 1fr; }
  .pipeline-middle { grid-template-columns: 1fr; }
  .pipeline-table { max-width: 100%; overflow: visible; }
  .pipeline-row,
  .pipeline-row.table-header { min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .pipeline-row > span:nth-child(2),
  .pipeline-row > span:nth-child(4) { display: none; }
  .pipeline-row > span { overflow-wrap: normal; }
  .pipeline-row .pipeline-status { white-space: normal; text-align: center; }
  .dashboard-takeaways { grid-template-columns: 1fr; }

  /* A short product checklist replaces the crowded comparison on phones. */
  .comparison { display: none; }
  .mobile-comparison {
    display: block;
    padding: 24px 20px;
    border: 1px solid #d6e3f4;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px -38px #102f6455;
  }
  .mobile-comparison-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid #e2eaf5;
    color: #10284f;
    font-size: 1.2rem;
  }
  .mobile-comparison-brand img { width: 44px; height: 44px; object-fit: contain; }
  .mobile-comparison ul { display: grid; gap: 17px; margin-top: 22px; }
  .mobile-comparison li { display: flex; align-items: flex-start; gap: 12px; color: #253d60; line-height: 1.45; }
  .mobile-comparison li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border-radius: 50%;
    background: #dff5e8;
    color: #167b50;
    font-size: .9rem;
    font-weight: 800;
  }
  /* Remaining desktop grids */
  .knowledge-layout,
  .price-layout,
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }

  .case-card { display: block; overflow: hidden; }
  .case-narrative { padding: 22px 18px; }
  .case-narrative h3 { margin-top: 24px; font-size: 1.45rem; line-height: 1.25; }
  .case-result { margin-top: 12px; font-size: .96rem; }
  .case-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-funnel > div { min-width: 0; }
  .case-toolbar { max-width: 100%; overflow: visible; }
  .case-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
    overflow: visible;
    scroll-snap-type: none;
  }

  .case-tabs button {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
  }

  /* Website platforms: one logo per tile. */
  .setup {
    display: block;
    min-height: 0;
    padding-block: 76px;
  }

  .setup .section-heading { margin-bottom: 32px; }
  .setup .section-heading h2 { font-size: 2.1rem; }
  .platforms { margin: 0; padding: 0; border: 0; }

  .platforms > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    width: 100%;
    margin: 0;
  }

  .platforms > div > span,
  .platforms > div > span:last-child {
    grid-column: auto;
    justify-content: center;
    min-height: 110px;
    padding: 15px;
    color: #4e6381;
    font-size: 1.08rem;
    border: 1px solid #dce4f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px -25px #12376c66;
  }

  .platforms > div > span:last-child { grid-column: 1 / -1; min-height: 72px; gap: 12px; }
  .platforms > div > .platform-tile { min-height: 110px; padding: 15px; }

  .platform-wordmark,
  .platform-with-fallback .platform-wordmark {
    min-width: 45px;
    height: auto;
    padding: 0;
    font-size: 1.12rem;
  }

  .platforms .platform-tile img { width: 64px; height: 64px; }
  .platforms .platform-tile img[alt="Jimdo"] { width: 112px; height: 52px; }
  .platforms .icon { width: 31px; height: 31px; }

  /* Pricing, offer and industries */
  .price-card { padding: 25px 20px; }
  .offer-block { padding-block: 70px 0; }
  .offer-panel { padding: 40px 20px; border-radius: 21px; }
  .offer-panel h2 { font-size: 2rem; }
  .offer-points { gap: 10px; margin-top: 28px; }
  .offer-points li { padding: 16px; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .industry-grid a { min-height: 155px; padding: 16px; }

  /* Compact ending */
  .final-cta {
    padding: 74px 0 66px;
    background: #eaf2ff;
  }

  .final-cta h2 {
    margin-top: 22px;
    font-size: clamp(1.9rem, 8.6vw, 2.4rem);
    line-height: 1.16;
  }

  .final-cta p { margin-top: 19px; font-size: 1rem; line-height: 1.6; }
  .final-cta .button { width: 100%; max-width: 370px; }

  .footer { padding: 30px 0 max(20px, env(safe-area-inset-bottom)); }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-bottom: 22px;
  }

  .footer-top > p { display: none; }
  .footer-email { margin: 0; font-size: .84rem; }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 17px 12px;
    align-items: center;
    margin-top: 18px;
  }

  .footer-bottom nav { grid-column: 1 / -1; grid-row: 2; gap: 20px; }
  .footer-bottom > a { grid-column: 2; grid-row: 1; }

}

@media (max-width: 350px) {
  .container,
  .hero-inner { margin-inline: 14px; }
  .hero h1 { font-size: 2.16rem; }
  .hero-copy { font-size: 1.02rem; }
  .hero-promise { white-space: normal; }
  .outcome-stop { padding: 18px; }
  .outcome-visual { width: 94px; }
  .industry-grid { grid-template-columns: 1fr; }
  .footer-top,
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom > a,
  .footer-bottom nav { grid-column: 1; grid-row: auto; }
}
