/* Phone layout only. All product details, original photos and actions remain. */
@media (max-width:767px) {
  /* Owner-requested two-column catalog: product photo first, essential data only. */
  .alsaed-katalog .alsaed-katalog__grid,
  .alsaed-katalog .alsaed-katalog__grid.alsaed-katalog__grid--rolls {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;align-items:stretch}
  .alsaed-katalog .alsaed-katalog__card {display:flex;flex-direction:column;gap:0;min-width:0;padding:0;border:1px solid var(--alsaed-divider);border-radius:8px;background:var(--alsaed-paper);overflow:hidden;box-sizing:border-box}
  .alsaed-katalog .alsaed-katalog__card[hidden] {display:none!important}
  .alsaed-katalog .alsaed-katalog__card>.alsaed-katalog__img-wrap,
  .alsaed-katalog .alsaed-katalog__card>.alsaed-card-views {width:100%;min-width:0;margin:0;position:relative}
  .alsaed-katalog .alsaed-katalog__img-wrap {width:100%;height:auto;aspect-ratio:3/4;min-height:0;border-radius:0;overflow:hidden}
  .alsaed-katalog .alsaed-katalog__img-wrap>img {object-fit:contain!important;max-height:100%;transform:none!important}
  .alsaed-katalog .alsaed-katalog__body {padding:11px 9px 10px;min-width:0;flex:1 0 auto}
  .alsaed-katalog .alsaed-katalog__cat,
  .alsaed-katalog .alsaed-katalog__qbadge {display:none}
  .alsaed-katalog .alsaed-katalog__name {font-size:14px;line-height:1.35;margin:0 0 7px;overflow-wrap:anywhere}
  .alsaed-katalog .alsaed-fact-badges--catalog {display:block;margin:0 0 7px}
  .alsaed-katalog .alsaed-fact-badges--catalog .alsaed-fact-badge {display:none}
  .alsaed-katalog .alsaed-fact-badges--catalog .alsaed-fact-badge--format {display:block;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--alsaed-muted-text);font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;max-width:100%}
  .alsaed-katalog .alsaed-fact-badges--catalog .alsaed-fact-badge--format~.alsaed-fact-badge--format,
  .alsaed-katalog .alsaed-fact-badges--catalog .alsaed-fact-badge svg {display:none}
  .alsaed-katalog .alsaed-katalog__price {font-size:16px;line-height:1.4;margin:7px 0 0;overflow-wrap:anywhere}
  .alsaed-katalog .alsaed-katalog__price .alsaed-ppm2 {display:block;font-size:12px;line-height:1.45;margin-top:2px}
  .alsaed-katalog .alsaed-katalog__actions {display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;padding:8px;margin:0;border-top:1px solid var(--alsaed-divider);min-width:0}
  .alsaed-katalog .alsaed-katalog__actions a,
  .alsaed-katalog .alsaed-katalog__actions button {display:flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto!important;width:100%;min-width:0;min-height:44px;margin:0;padding:9px 5px;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;border-radius:5px}
  .alsaed-katalog .alsaed-katalog__actions .alsaed-katalog__wa {background:var(--alsaed-brand);color:#fff}
  .alsaed-katalog .alsaed-katalog__actions .alsaed-katalog__detail {border:1px solid var(--alsaed-divider);background:var(--alsaed-paper);color:var(--alsaed-brand)}
  .alsaed-katalog .alsaed-card-view-toggle {position:relative;inset:auto;display:flex;align-items:center;justify-content:center;width:calc(100% - 16px);min-height:44px;margin:6px 8px 0;padding:7px 3px;gap:3px;font-size:11px;line-height:1.3;box-sizing:border-box;color:var(--alsaed-brand)}
  .alsaed-katalog .alsaed-card-view-toggle[hidden] {display:none!important}
  .alsaed-katalog .alsaed-card-view-note {display:none}
  .alsaed-katalog .alsaed-card-views:not(.is-product) .alsaed-card-view-note {display:block;min-height:0;padding:5px 8px 0;font-size:11px;line-height:1.4;color:var(--alsaed-muted-text)}
  .alsaed-katalog .alsaed-katalog__card--roll>.alsaed-katalog__img-wrap {aspect-ratio:3/2}
  .alsaed-katalog .alsaed-katalog__roll-info,
  .alsaed-katalog .alsaed-wallsticker-info {font-size:12px;line-height:1.45;margin:6px 0}
  .alsaed-katalog .alsaed-katalog__roll-note {display:none}
  /* H-04: native WooCommerce category archives use their own product list. */
  body.tax-product_cat.woocommerce ul.products {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important;width:calc(100% - 32px);min-width:0;padding:0!important;margin:0 16px!important}
  body.tax-product_cat.woocommerce ul.products::before,
  body.tax-product_cat.woocommerce ul.products::after {display:none!important}
  body.tax-product_cat.woocommerce ul.products>li.product {display:flex;flex-direction:column;grid-column:auto!important;float:none!important;clear:none!important;min-width:0;max-width:100%;width:auto!important;margin:0!important;padding:0!important;border-radius:8px;overflow:hidden}
  body.tax-product_cat.woocommerce ul.products>li.product .astra-shop-thumbnail-wrap {order:0;min-width:0}
  body.tax-product_cat.woocommerce ul.products>li.product .astra-shop-thumbnail-wrap>a.woocommerce-loop-product__link {display:block;width:100%}
  body.tax-product_cat.woocommerce ul.products>li.product .astra-shop-thumbnail-wrap>a.woocommerce-loop-product__link>img {object-fit:contain;transform:none!important}
  body.tax-product_cat.woocommerce ul.products>li.product .alsaed-product-specs {padding:7px 9px!important;gap:4px;min-width:0}
  body.tax-product_cat.woocommerce ul.products>li.product .alsaed-spec {font-size:12px;line-height:1.4;padding:2px 4px;white-space:normal;overflow-wrap:anywhere}
  body.tax-product_cat.woocommerce ul.products>li.product .astra-shop-summary-wrap {order:1;padding:0 0 8px;min-width:0}
  body.tax-product_cat.woocommerce ul.products>li.product .ast-woo-product-category {display:block;font-size:10px;line-height:1.4;padding:0;overflow-wrap:anywhere}
  body.tax-product_cat.woocommerce ul.products>li.product .woocommerce-loop-product__title,
  body.tax-product_cat.woocommerce ul.products>li.product .woocommerce-loop-category__title {font-size:14px!important;line-height:1.35!important;padding:4px 0!important;margin:0!important;overflow-wrap:anywhere}
  body.tax-product_cat.woocommerce ul.products>li.product .price {font-size:16px!important;line-height:1.4;padding:0 0 4px!important;overflow-wrap:anywhere}
  body.tax-product_cat.woocommerce ul.products>li.product .price .alsaed-price-unit {font-size:11px;font-weight:400}
  body.tax-product_cat.woocommerce ul.products>li.product .astra-shop-summary-wrap>a.button {display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;margin:12px 0 0!important;padding:9px 5px!important;box-sizing:border-box;font-size:12px!important;line-height:1.35;white-space:normal;overflow-wrap:anywhere;border-radius:5px}
  body.tax-product_cat.woocommerce ul.products>li.product .alsaed-inquiry-buttons {order:2;display:flex!important;flex-direction:column;gap:5px!important;margin: auto 9px 9px!important;min-width:0}
  body.tax-product_cat.woocommerce ul.products>li.product .alsaed-inquiry-buttons .anfragen-btn {display:flex;align-items:center;justify-content:center;flex:0 0 auto!important;width:100%;min-height:44px;min-width:0;margin:0!important;padding:9px 5px!important;font-size:12px!important;line-height:1.35;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
  body.tax-product_cat.woocommerce ul.products>li.product .ast-on-card-button {display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;top:6px;right:6px}
  body.tax-product_cat.woocommerce ul.products>li.product .alsaed-trust-badges {left:6px;right:auto;top:6px;bottom:auto}
  /* Landscape category pictures alongside captions, with the full image kept. */
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__grid {grid-template-columns:minmax(0,1fr);gap:12px}
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__tile {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);aspect-ratio:auto;min-height:118px;border-radius:10px;overflow:hidden;box-shadow:none}
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__tile>img {grid-column:1;grid-row:1;width:100%;height:124px;min-height:0;aspect-ratio:auto;object-fit:contain!important;padding:5px;background:var(--alsaed-paper);box-sizing:border-box}
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__tile-bg {position:relative;inset:auto;grid-column:1;grid-row:1;min-height:118px}
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__overlay {position:relative;grid-column:2;grid-row:1;padding:13px 12px;gap:6px;justify-content:center}
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__name {font-size:18px;line-height:1.25;letter-spacing:-.015em;margin:0;word-break:normal;overflow-wrap:anywhere}
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__sub {font-size:12px;line-height:1.5;margin:0}
  body :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__cnt {font-size:11px;line-height:1.4;padding:3px 7px;margin-top:2px}
  /* Shorter benefit rows without removing any statement. */
  body.home .alsaed-usp-section .alsaed-benefit-row {grid-template-columns:32px minmax(0,1fr);gap:12px;min-height:0;padding:16px 14px}
  body.home .alsaed-benefit-row__icon {width:32px;height:32px}
  body.home .alsaed-benefit-row__icon svg {width:20px;height:20px}
  body.home .alsaed-usp-section .alsaed-benefit-row h3 {font-size:16px!important;line-height:1.35!important;margin:0 0 5px!important}
  body.home .alsaed-usp-section .alsaed-benefit-row p {font-size:14px;line-height:1.55}
  body.home .alsaed-benefit-row__number {display:none}
  /* H-02: two-column homepage assortment and benefits; catalog hubs stay unchanged. */
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__tile {display:flex;flex-direction:column;align-items:stretch;min-width:0;width:100%;min-height:0;height:auto;aspect-ratio:auto;grid-column:auto!important}
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__tile>img {width:100%;height:auto;min-height:0;aspect-ratio:3/2;padding:0;object-fit:contain!important;flex:0 0 auto}
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__tile-bg {width:100%;height:auto;min-height:0;aspect-ratio:3/2;flex:0 0 auto}
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__overlay {flex:1 0 auto;justify-content:flex-start;padding:12px 10px;gap:6px;min-width:0}
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__name {font-size:16px;line-height:1.3;overflow-wrap:anywhere}
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__sub {font-size:12px;line-height:1.5;overflow-wrap:anywhere}
  body.home :is(.alsaed-kat-teaser,#alsaed-main-hub) .alsaed-main-hub__cnt {align-self:flex-start;font-size:11px;line-height:1.4;margin-top:auto}
  body.home .alsaed-usp-section .alsaed-usp-grid {grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  body.home .alsaed-usp-section .alsaed-benefit-row {display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:16px 12px}
  body.home .alsaed-usp-section .alsaed-benefit-row__icon {width:30px;height:30px;flex:0 0 auto}
  body.home .alsaed-usp-section .alsaed-benefit-row h3 {font-size:15px!important;line-height:1.35!important;margin-bottom:7px!important;overflow-wrap:anywhere}
  body.home .alsaed-usp-section .alsaed-benefit-row p {font-size:13px;line-height:1.6;overflow-wrap:anywhere}
  body.home .alsaed-usp-section .alsaed-benefit-row:nth-child(odd) {border-right:1px solid var(--alsaed-divider)!important}
  body.home .alsaed-usp-section .alsaed-benefit-row:nth-last-child(-n+2) {border-bottom:0!important}
  /* Keep the headline, two actions and location in a compact phone hero. */
  body.home .alsaed-film-hero {min-height:0;align-items:center}
  body.home .alsaed-film-hero__content {padding:82px 20px 78px}
  body.home .alsaed-film-hero h1 {font-size:clamp(30px,8.3vw,37px);line-height:1.14;letter-spacing:-.025em;margin:0 0 18px}
  body.home .alsaed-film-hero__eyebrow {font-size:10px;line-height:1.5;letter-spacing:.12em;gap:9px;margin-bottom:16px}
  body.home .alsaed-film-hero__eyebrow::before {width:20px}
  body.home .alsaed-film-hero__content p {font-size:15px;line-height:1.6;margin-bottom:20px}
  body.home .alsaed-film-hero__actions {gap:10px;width:100%;align-items:stretch}
  body.home .alsaed-film-hero__actions a {width:100%;min-height:48px;padding:12px 15px;font-size:15px;line-height:1.45;box-sizing:border-box}
  body.home .alsaed-film-hero__location {font-size:12px;line-height:1.5;margin-top:18px;letter-spacing:0}
  body.home .alsaed-film-hero__footer {left:20px;right:20px;bottom:18px}
  body.home .alsaed-film-hero__toggle {top:12px;right:16px;min-height:44px;font-size:12px;padding:8px 12px}
  .site-header .site-title a {font-size:clamp(17px,4.9vw,21px);letter-spacing:.04em;line-height:1.3}
  .ast-mobile-menu-trigger-minimal .menu-toggle {min-width:44px;min-height:44px}
  /* A single clear contact bar; no floating arrow over product prices. */
  .alsaed-mcta {gap:6px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}
  .alsaed-mcta .alsaed-mcta__btn {min-height:48px;padding:6px 4px;gap:3px;font-size:12px;line-height:1.2;border-radius:8px}
  .alsaed-mcta .alsaed-mcta__btn svg {width:20px;height:20px}
  #ast-scroll-top {display:none!important}
}

/* 16.11.2026: Katalogkarten auf dem Handy kompakter – WhatsApp bleibt Hauptaktion, „Details ansehen“ als Rahmen-Button, E-Mail auf der Produktseite. */
@media (max-width:640px){
  body.tax-product_cat.woocommerce ul.products>li.product .alsaed-inquiry-buttons .anfragen-btn--email{display:none!important}
  body.tax-product_cat.woocommerce ul.products>li.product .astra-shop-summary-wrap>a.button{background:#fff!important;color:var(--alsaed-brand)!important;border:1.5px solid currentColor!important;border-radius:999px}
}

/* 17.11.2026 Touch-Ziele: Brotkrümel und Footer-Telefon auf Handy mind. 32 px hoch */
@media (max-width:921px){.woocommerce-breadcrumb a{display:inline-block;padding:7px 0}.as-foot__line{display:inline-flex;align-items:center;min-height:32px}}
