/* Konstanzer Dachsanierung | mobile layout refinement 2.7.5
 * Additive responsive layer. Desktop styling and content are unchanged.
 */
@media (max-width: 1080px) {
  .kd-header .kd-nav { gap: 12px; }
  .kd-header .kd-nav.is-open {
    max-width: 100%;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .kd-header .kd-nav__list { flex: 0 0 auto; gap: 0; }
  .kd-header .kd-nav__list a {
    display: block;
    padding: 14px 4px;
    font: 750 1.04rem/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
  }
  .kd-header .kd-nav .kd-button--nav { display: flex; width: 100%; min-height: 52px; margin: 16px 0 0; padding: 13px 16px; }
  .kd-header .kd-menu-toggle { min-width: 46px; min-height: 46px; justify-content: center; }
  .kd-flyer-services__grid > div { min-width: 0; }
  .kd-financing__grid,
  .kd-about__layout,
  .kd-funding__grid { grid-template-columns: minmax(0,1fr); }
  .kd-financing__grid > *, .kd-about__layout > * { min-width: 0; }
}

@media (max-width: 780px) {
  :root { --kd-shell: calc(100% - 40px); }
  body.kd-page { overflow-x: clip; }
  .kd-site { overflow: visible; }
  .kd-site img, .kd-site svg { max-width: 100%; }
  .kd-site img { height: auto; }
  .kd-shell { width: var(--kd-shell); max-width: 680px; }
  .kd-section { padding: 53px 0; }
  .kd-section-head { margin-bottom: 26px; gap: 15px; }
  .kd-site h2 { font-size: clamp(1.85rem, 7.5vw, 2.75rem); line-height: 1.13; letter-spacing: -.035em; text-wrap: pretty; }
  .kd-site h3 { line-height: 1.22; letter-spacing: -.025em; }
  .kd-site p, .kd-site li { overflow-wrap: break-word; }
  .kd-kicker, .kd-eyebrow { margin-bottom: 13px; font-size: .73rem; letter-spacing: .11em; }
  .kd-kicker::before, .kd-eyebrow::before { width: 23px; margin-right: 8px; }
  .kd-button { min-height: 50px; padding: 13px 16px; line-height: 1.25; }

  /* Compact header with a readable logotype. */
  .kd-utility__inner { min-height: 30px; justify-content: center; font-size: .75rem; }
  .kd-utility__inner > span:first-child { display: none; }
  .kd-utility__inner > a { font-size: .76rem; }
  .kd-header, .kd-header.is-scrolled { position: relative; background: #fff; }
  .kd-header__inner, .kd-header.is-scrolled .kd-header__inner { min-height: 76px; justify-content: space-between; gap: 12px; }
  .kd-header .kd-brand { min-width: 0; }
  .kd-header .kd-brand__logo-window { width: 145px; height: 64px; }
  .kd-header .kd-brand__logo-window .kd-brand__image { top: -23.5px; width: 145px; }
  .kd-header .kd-menu-toggle { display: flex; gap: 9px; margin-left: auto; padding: 9px 10px; border: 1px solid #dbe2ea; border-radius: 6px; background: #fff; }
  .kd-menu-toggle__label { display: inline; font-size: .76rem; letter-spacing: .025em; }
  .kd-header .kd-nav {
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(360px, 100vw);
    height: 100dvh;
    padding: calc(78px + env(safe-area-inset-top)) 24px calc(22px + env(safe-area-inset-bottom));
    border-radius: 0;
  }
  .kd-header .kd-menu-toggle[aria-expanded="true"] { top: max(15px, env(safe-area-inset-top)); right: 17px; border-color: rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.08); }

  /* Photo first, then a clear, compact message and call to action. */
  .kd-flyer-hero { min-height: 0; background: #fff; overflow: visible; }
  .kd-flyer-hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0; left: 0;
    height: clamp(198px, 52vw, 300px);
    background: var(--kd-hero-image) center 47% / cover no-repeat;
  }
  .kd-flyer-hero__wash { display: none; }
  .kd-flyer-hero__inner {
    display: block;
    min-height: 0;
    padding: calc(clamp(198px, 52vw, 300px) + 22px) 0 32px;
  }
  .kd-flyer-hero__copy { max-width: none; }
  .kd-flyer-hero__claim { margin-bottom: 10px; font-size: .72rem; line-height: 1.4; letter-spacing: .1em; }
  .kd-flyer-hero h1 { max-width: 100%; font-size: clamp(2.15rem, 8.3vw, 3.15rem); line-height: 1.045; letter-spacing: -.045em; }
  .kd-red-stroke { width: 135px; height: 5px; margin: 14px 0 14px; }
  .kd-flyer-hero__lead { max-width: none; margin-bottom: 21px; font-size: 1rem; line-height: 1.5; font-weight: 500; }
  .kd-flyer-offer { width: 100%; max-width: none; padding: 20px 19px; border-radius: 9px; }
  .kd-flyer-offer > strong { font-size: 1.18rem; line-height: 1.26; }
  .kd-flyer-offer > span { margin-bottom: 15px; font-size: .8rem; line-height: 1.5; }
  .kd-flyer-offer__actions { flex-direction: column; gap: 9px; }
  .kd-flyer-offer__actions > * { width: 100%; }
  .kd-flyer-phone { min-height: 55px; align-items: center; text-align: center; }
  .kd-quality-badge--flyer {
    top: 15px; right: 7px;
    width: 98px; height: 98px; margin: 0; padding: 10px;
    border-width: 4px; outline-width: 1px;
  }
  .kd-quality-badge--flyer strong { font-size: .78rem; }
  .kd-quality-badge--flyer span { font-size: .58rem; }
  .kd-quality-badge--flyer small { margin-top: 5px; padding-top: 5px; font-size: .42rem; }

  /* Services compact enough to scan without four giant image cards. */
  .kd-flyer-services__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kd-flyer-services__grid > div { min-height: 98px; padding: 15px 10px; gap: 9px; border-bottom: 1px solid #e1e7ee; }
  .kd-flyer-services__grid > div:nth-child(odd) { border-left: 0; }
  .kd-flyer-services__grid > div:nth-child(even) { border-right: 0; }
  .kd-flyer-services strong { font-size: .78rem; hyphens: auto; }
  .kd-flyer-icon { width: 35px; height: 38px; flex: 0 0 35px; }
  .kd-flyer-icon svg { width: 34px; height: 34px; }

  /* Roof check: explanation and steps stay in the SAME section as the form. */
  .kd-lead { padding: 47px 0; }
  .kd-lead__grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .kd-lead h2 { margin-bottom: 14px; font-size: clamp(1.95rem, 7.5vw, 2.7rem); }
  .kd-lead__copy > p:not(.kd-kicker) { margin-bottom: 0; font-size: .96rem; line-height: 1.55; }
  .kd-lead__direct { margin-top: 18px; gap: 6px 16px; font-size: .85rem; overflow-wrap: anywhere; }
  .kd-lead__form-wrap { padding: 22px 18px; border-radius: 9px; box-shadow: 0 14px 35px rgba(0,0,0,.14); }
  .kd-lead__steps { margin-bottom: 20px; padding-bottom: 19px; }
  .kd-lead__steps-title { font-size: 1.1rem; margin-bottom: 15px; }
  .kd-lead__steps ol { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 12px; }
  .kd-lead__steps li { gap: 7px; }
  .kd-lead__steps li b { width: 29px; height: 29px; flex-basis: 29px; font-size: .82rem; }
  .kd-lead__steps strong { font-size: .82rem; }
  .kd-lead__steps small { font-size: .72rem; }
  .kd-lead-form__row, .kd-form__row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .kd-lead-form label, .kd-form label { font-size: .86rem; }
  .kd-lead-form input:not([type="checkbox"]), .kd-form input:not([type="checkbox"]), .kd-form textarea, .kd-form select {
    min-width: 0; width: 100%; min-height: 49px;
    font-size: 16px; padding: 11px 12px; border-radius: 5px;
  }
  .kd-lead-form .kd-checkbox, .kd-form .kd-checkbox { align-items: start; grid-template-columns: 22px minmax(0,1fr); font-size: .8rem; line-height: 1.5; }
  .kd-lead-form .kd-checkbox input, .kd-form .kd-checkbox input { min-width: 18px; width: 18px; height: 18px; }
  .kd-button--lead, .kd-button--submit { width: 100%; padding: 15px 14px; font-size: .87rem; overflow-wrap: anywhere; }

  .kd-intro__grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .kd-intro__visual { order: 0; }
  .kd-intro__content h2 { font-size: clamp(1.85rem, 7.5vw, 2.7rem); }
  .kd-intro__content > p:not(.kd-kicker) { font-size: .96rem; line-height: 1.65; }
  .kd-intro__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
  .kd-intro__visual figcaption { position: static; padding: 10px 14px; background: var(--kd-navy); font-size: .76rem; }

  .kd-price-grid { grid-template-columns: minmax(0,1fr); gap: 13px; background: transparent; box-shadow: none; border: 0; }
  .kd-price-card { min-height: 0; padding: 23px 21px; border-top-width: 5px; box-shadow: 0 10px 28px rgba(3,31,60,.08); }
  .kd-price-card--featured { transform: none; }
  .kd-price-card h3 { font-size: 1.65rem; }
  .kd-price-card ul { margin-bottom: 0; }
  .kd-service-visual-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .kd-service-visual {
    min-height: 0;
    aspect-ratio: 4 / 5;
    padding: 18px 14px;
    border-bottom-width: 5px;
    background-size: 100% 100%, 400% auto;
  }
  .kd-service-visual h3 { font-size: 1.08rem; line-height: 1.28; overflow-wrap: anywhere; }
  .kd-service-visual span { font-size: .68rem; }
  .kd-service-visual small { max-height: 40px; opacity: 1; font-size: .73rem; }

  .kd-financing__grid { margin-top: 25px; gap: 14px; }
  .kd-financing__example, .kd-financing__result { min-width: 0; padding: 25px 19px; border-top-width: 5px; }
  .kd-financing__example h3 { margin-bottom: 16px; font-size: 1.45rem; }
  .kd-financing__example dl div { flex-wrap: wrap; gap: 5px; }
  .kd-financing__example dd { text-align: left; }
  .kd-financing__result > strong { font-size: clamp(2.4rem, 11vw, 3.5rem); overflow-wrap: anywhere; }
  .kd-financing__calculation { margin: 22px 0; flex-wrap: wrap; }
  .kd-financing__disclaimer { margin-top: 18px; font-size: .73rem; line-height: 1.65; }

  .kd-funding__lead { min-height: 0; padding: 28px 22px; }
  .kd-funding__lead > strong { font-size: clamp(3.9rem, 15vw, 5.3rem); }
  .kd-funding__points { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .kd-funding__points article { padding: 20px 17px; grid-template-columns: 25px minmax(0,1fr); gap: 9px; }
  .kd-funding__footer { gap: 14px; padding: 20px 17px; }
  .kd-funding__footer .kd-button { width: 100%; }

  .kd-process__steps { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .kd-process__steps li { min-height: 0; padding: 20px; }
  .kd-process__steps > li > .kd-process__icon { width: 51px; height: 51px; margin: 0 0 15px; }
  .kd-process__icon svg { width: 32px; height: 32px; }
  .kd-process__steps > li > .kd-process__number { margin-bottom: 10px; }
  .kd-process__steps h3 { font-size: 1.2rem; }

  .kd-about__layout { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .kd-about__team { width: 100%; min-height: 0; aspect-ratio: auto; }
  .kd-about__team img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
  .kd-about__team figcaption { padding: 12px 15px; font-size: .78rem; }
  .kd-about__quote { padding: 26px 22px; min-height: 0; }
  .kd-about__quote p:not(.kd-kicker) { font-size: 1.08rem; line-height: 1.55; }
  .kd-about__quote footer { display: flex; flex-wrap: wrap; gap: 2px 10px; }
  .kd-about__points { margin-top: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .kd-about__points article { padding: 18px 15px; }
  .kd-about__points span { margin-bottom: 8px; }
  .kd-about__points h3 { font-size: .99rem; }
  .kd-about__points p:not(.kd-kicker) { font-size: .81rem; }
  .kd-about__benefits { padding: 20px; margin-top: 13px; gap: 10px; }
  .kd-about__benefits .kd-text-link { white-space: normal; }

  .kd-contact__grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .kd-contact__copy > p:not(.kd-kicker) { font-size: .96rem; }
  .kd-contact__direct { margin-top: 19px; }
  .kd-contact__direct a { gap: 3px; overflow-wrap: anywhere; }
  .kd-contact__form-wrap { margin-inline: 0; padding: 23px 18px; border-radius: 8px; }
  .kd-form textarea { min-height: 110px; }

  /* Other public pages: service pages, guide listing and individual articles. */
  .kd-service-page__hero { padding: 45px 0; }
  .kd-service-page__hero-grid, .kd-service-page__content, .kd-service-page__link-grid { grid-template-columns: minmax(0,1fr); gap: 19px; }
  .kd-service-page__hero h1 { font-size: clamp(2.15rem, 8.3vw, 3rem); line-height: 1.1; }
  .kd-service-page__visual { min-height: 260px; }
  .kd-service-page__detail { padding: 22px 19px; }
  .kd-ratgeber-hero, .kd-article-hero { padding: 49px 0 45px; }
  .kd-ratgeber-hero h1, .kd-article-hero h1 { font-size: clamp(2.2rem, 8.5vw, 3.2rem); line-height: 1.07; }
  .kd-blog-grid, .kd-related__grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .kd-blog-card { min-height: 0; }
  .kd-blog-card > a { padding: 24px 21px; }
  .kd-blog-card__icon { margin-bottom: 15px; }
  .kd-article__layout { grid-template-columns: minmax(0,1fr); gap: 30px; padding: 43px 0; }
  .kd-article__content { font-size: .97rem; line-height: 1.73; }
  .kd-article__content h2 { font-size: 1.55rem; margin: 34px 0 13px; }
  .kd-article-cta { padding: 25px 19px; }
  .kd-article__aside { position: static; }
  .kd-related article a { min-height: 0; padding: 24px 20px; }
  .kd-ratgeber-cta .kd-shell { align-items: stretch; }

  .kd-footer__top { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .kd-footer__bottom { padding: 19px 0; gap: 11px; }
  .kd-footer__bottom div { flex-wrap: wrap; }
  .kd-mobile-call {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    min-height: 52px;
    border-radius: 8px;
    padding: 9px 16px;
    color: #fff !important;
    background: var(--kd-gold);
  }
  .kd-mobile-call strong { font-size: .92rem; }
  .kd-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  :root { --kd-shell: calc(100% - 30px); }
  .kd-header .kd-brand__logo-window { width: 129px; height: 57px; }
  .kd-header .kd-brand__logo-window .kd-brand__image { top: -21px; width: 129px; }
  .kd-header .kd-nav { width: 100vw; padding-inline: 22px; }
  .kd-flyer-hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .kd-flyer-offer { padding: 18px 15px; }
  .kd-lead__form-wrap { padding: 19px 15px; }
  .kd-lead__steps ol { grid-template-columns: minmax(0,1fr); row-gap: 11px; }
  .kd-service-visual-grid, .kd-about__points { grid-template-columns: minmax(0,1fr); }
  .kd-service-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
    background-size: 100% 100%, 400% auto;
  }
  .kd-flyer-services__grid > div { padding: 12px 7px; }
  .kd-flyer-icon { width: 30px; flex-basis: 30px; }
  .kd-flyer-icon svg { width: 30px; height: 30px; }
  .kd-flyer-services strong { font-size: .71rem; }
  .kd-mobile-call { gap: 10px; }
  .kd-mobile-call strong { font-size: .8rem; }
}

@media (max-width: 780px) and (orientation: landscape) and (max-height: 540px) {
  .kd-header .kd-nav { padding-top: max(63px, env(safe-area-inset-top)); }
  .kd-header .kd-nav__list a { padding: 9px 4px; }
  .kd-header .kd-nav .kd-button--nav { margin-top: 10px; }
}


/* V2.7.5: Mobile polish. All changes scoped to mobile/tablet only. */
@media (max-width: 780px) {
  /* Quiet rhythm and readable headings throughout the site. */
  .kd-site { text-rendering: optimizeLegibility; }
  html, body.kd-page { overflow-x: clip; }
  .kd-shell { min-width: 0; }
  .kd-section { padding-block: clamp(42px, 6.5vw, 52px); }
  .kd-section-head { margin-bottom: 25px; }
  .kd-site h1, .kd-site h2, .kd-site h3 { overflow-wrap: normal; hyphens: manual; }
  .kd-site h2 { text-wrap: balance; }
  .kd-site p { line-height: 1.62; }
  .kd-section-head p:not(.kd-kicker) { font-size: .97rem; line-height: 1.62; }

  /* Touch targets are comfortable even on narrower screens. */
  .kd-site a, .kd-site button { -webkit-tap-highlight-color: rgba(237,28,36,.12); }
  .kd-site :is(a,button,input,textarea,select):focus-visible {
    outline: 3px solid #2279bc;
    outline-offset: 3px;
  }
  .kd-button { justify-content: center; text-align: center; }
  .kd-header .kd-nav__list a { min-height: 48px; }

  /* Compact card stacks without squeezed copy or unwanted overlap. */
  .kd-price-card, .kd-funding__points article, .kd-process__steps li,
  .kd-about__points article, .kd-article-cta { min-width: 0; }
  .kd-price-card ul, .kd-article__content ul { padding-right: 0; }
  .kd-price-card li, .kd-about__points p:not(.kd-kicker) { line-height: 1.58; }
  .kd-about__points p:not(.kd-kicker) { font-size: .89rem; }
  .kd-financing__result > strong { line-height: 1.05; }
  .kd-funding__points article { gap: 12px; }
  .kd-article__content img, .kd-article__content figure { max-width: 100%; height: auto; }
  .kd-lead-form label, .kd-form label { font-size: .9rem; }
  .kd-lead__steps small { font-size: .77rem; }
  .kd-lead__steps strong { font-size: .9rem; }
  .kd-site :is(input,select,textarea) { max-width: 100%; }

  /* The photo is not stretched; this keeps the exact dimensions of the source image. */
  .kd-intro__visual img, .kd-about__team img { object-fit: contain; }
  .kd-mobile-call { box-shadow: 0 7px 25px rgba(3,31,60,.28); }
}

/* At smartphone widths services become editorial horizontal image tiles.
 * Each photograph is a crop of the ORIGINAL four-photo collage.
 * Separate assets allow aspect-ratio-preserving cover instead of stretched sprites. */
@media (max-width: 620px) {
  :root { --kd-shell: calc(100% - 36px); }
  .kd-section { padding-block: 44px; }
  .kd-section-head { margin-bottom: 22px; }

  .kd-service-visual-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .kd-service-visual {
    position: relative;
    display: flex;
    min-height: 176px;
    aspect-ratio: auto;
    justify-content: flex-end;
    padding: 19px 17px 18px;
    border: 0;
    border-left: 5px solid var(--kd-gold);
    border-radius: 9px;
    background: var(--kd-navy);
    box-shadow: 0 9px 24px rgba(3,31,60,.12);
  }
  .kd-service-visual::before {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 46%;
    border-radius: 0 9px 9px 0;
    background-image: var(--kd-mobile-photo);
    background-position: center 42%;
    background-size: cover;
    background-repeat: no-repeat;
    content: "";
  }
  .kd-service-visual::after {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 38%;
    bottom: 0;
    width: 23%;
    background: linear-gradient(90deg, var(--kd-navy) 2%, rgba(3,31,60,0));
    content: "";
    pointer-events: none;
  }
  .kd-service-visual > * {
    position: relative;
    z-index: 1;
    max-width: 56%;
    margin-right: auto;
    overflow-wrap: break-word;
  }
  .kd-service-visual span { margin-bottom: 6px; font-size: .74rem; }
  .kd-service-visual h3 { font-size: clamp(1.12rem, 4.8vw, 1.46rem); line-height: 1.17; }
  .kd-service-visual small { margin-top: 10px; font-size: .8rem; line-height: 1.3; }
  .kd-service-visual--1 { --kd-mobile-photo: url('../images/leistung-dachsanierung-mobil.webp'); }
  .kd-service-visual--2 { --kd-mobile-photo: url('../images/leistung-daemmung-mobil.webp'); }
  .kd-service-visual--3 { --kd-mobile-photo: url('../images/leistung-pv-speicher-mobil.webp'); }
  .kd-service-visual--4 { --kd-mobile-photo: url('../images/leistung-spengler-dachfenster-mobil.webp'); }

  .kd-about__points { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .kd-about__points article { padding: 17px 18px; }
  .kd-about__points h3 { margin-bottom: 5px; font-size: 1.05rem; }
  .kd-about__points span { margin-bottom: 5px; }
  .kd-about__points p:not(.kd-kicker) { margin-bottom: 0; }
  .kd-about__benefits { gap: 8px; }
  .kd-lead__steps ol { column-gap: 16px; row-gap: 15px; }
  .kd-funding__points article { padding: 18px 16px; }
  .kd-process__steps li { padding: 19px; }
  .kd-contact__form-wrap { padding: 23px 18px; }
  .kd-article__content { overflow-wrap: anywhere; }
}

@media (max-width: 400px) {
  .kd-flyer-hero__inner { padding-bottom: 29px; }
  .kd-flyer-hero__lead { font-size: .97rem; }
  .kd-lead__steps ol { grid-template-columns: minmax(0,1fr); row-gap: 11px; }
  .kd-lead__steps li { gap: 12px; align-items: center; }
  .kd-lead__steps-title { margin-bottom: 12px; }
  .kd-service-visual { min-height: 168px; padding: 17px 15px; }
  .kd-service-visual > * { max-width: 57%; }
  .kd-service-visual h3 { font-size: clamp(1rem,5vw,1.24rem); }
  .kd-service-visual small { font-size: .75rem; }
  .kd-about__quote { padding: 24px 20px; }
  .kd-about__quote p:not(.kd-kicker) { font-size: 1.04rem; line-height: 1.57; }
  .kd-quality-badge--flyer { width: 92px; height: 92px; }
}

@media (max-width: 350px) {
  :root { --kd-shell: calc(100% - 28px); }
  .kd-header .kd-brand__logo-window { width: 120px; height: 52px; }
  .kd-header .kd-brand__logo-window .kd-brand__image { width: 120px; top: -19px; }
  .kd-header .kd-menu-toggle { padding-inline: 8px; }
  .kd-service-visual::before { width: 43%; }
  .kd-service-visual > * { max-width: 60%; }
  .kd-service-visual h3 { font-size: 1rem; }
  .kd-lead__form-wrap, .kd-contact__form-wrap { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 780px) {
  .kd-site * { scroll-behavior: auto !important; }
}
