/*
 ALDER AQUARISTIK / PASQUALE'S UNTERWASSERIMPERIUM
 Mobile-only presentation layer — review draft, not published.
 Intended integration: append inside the FIRST stylesheet block of the existing
 development site's index.html, immediately before its closing style tag.
 Scope: ONLY screen widths up to 760 CSS pixels. No HTML, JS, CMS,
 checkout, payment, enquiry database or desktop changes.
 Version label: mobile design draft for V7.5; current Wix HTML identifies as V7.
*/
@media screen and (max-width: 760px) {
  :root {
    --mobile-radius: 22px;
    --mobile-shadow: 0 12px 35px rgba(8, 47, 51, .09);
  }
  html { scroll-padding-top: 190px; }
  #hero, #aktionen, #sortiment, #welten, #konfiguratoren, #begleitung, #beratung, #projekt-anfrage, #eigenmarke { scroll-margin-top: 190px; }
  body { overflow-x: clip; background: #f3f8f6; }
  .wrap { width: calc(100% - 28px); }
  .section-title { font-size: clamp(29px, 8.1vw, 39px); line-height: 1.07; margin: 8px 0 12px; }
  .section-copy { font-size: 14px; line-height: 1.58; }
  .eyebrow { letter-spacing: .12em; font-size: 10px; }
  .btn { min-height: 46px; padding: 12px 16px; font-size: 13px; border-radius: 15px; box-shadow: 0 10px 22px rgba(22, 124, 118, .16); }
  .btn.secondary { box-shadow: none; }
  .demo { padding: 7px 12px; font-size: 10px; line-height: 1.45; background: #103e42; color: #e2f8f1; font-weight: 700; letter-spacing: .018em; }

  /* Compact two-row mobile masthead; desktop rules remain untouched. */
  .header { top: 0; background: rgba(251, 254, 252, .96); box-shadow: 0 9px 22px rgba(7, 43, 48, .06); border-bottom-color: #e2eeea; }
  .head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px 10px; min-height: 0; padding: 10px 0 8px; }
  .logo { grid-column: 1; min-width: 0; width: auto; gap: 9px; }
  .logo span { min-width: 0; }
  .alder-logo-img { width: 50px; height: 50px; flex: 0 0 50px; padding: 3px; border-radius: 13px; }
  .logo b { font: 700 clamp(17px, 4.8vw, 21px)/1.04 Georgia, serif; letter-spacing: -.025em; }
  .logo small { margin-top: 4px; font-size: 9px; line-height: 1.25; letter-spacing: .035em; text-transform: none; }
  .pasquale-header { display: none; }
  .quick-actions { grid-column: 2; grid-row: 1; margin: 0; }
  .cart { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 9px 10px; font-size: 0; border-radius: 14px; border-color: #cfe5de; white-space: nowrap; }
  .cart::before { content: 'Warenkorb'; font-size: 11px; font-weight: 800; }
  .cart #count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; background: #0d6967; color: white; border-radius: 999px; font-size: 12px; font-weight: 800; }
  .search { grid-column: 1 / -1; grid-row: 2; order: initial; width: 100%; min-width: 0; max-width: none; height: 46px; margin: 0; border-color: #d2e7e0; background: #edf6f3; border-radius: 15px; }
  .search input { min-width: 0; padding: 12px 13px; font-size: 16px; }
  .search button { min-width: 46px; min-height: 44px; font-size: 24px; padding: 4px 12px; }
  .nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; padding: 2px 0 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; font-size: 12px; }
  .nav::-webkit-scrollbar, #filters::-webkit-scrollbar, .guidance-grid::-webkit-scrollbar, .hero-chips::-webkit-scrollbar, .ac-tabs::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 13px; border: 1px solid #dcebe5; background: #fff; color: #23484c; border-radius: 999px; font-size: 12px; font-weight: 700; scroll-snap-align: start; }
  .nav a.sale-link { border-color: #f3d8b6; background: #fff3df; }
  .nav a.ac-highlight-nav { background: #e6f7f0; border-color: #b7dfd1; }

  /* Strong, concise opening instead of a 500px-tall block. */
  .hero-shell { background: linear-gradient(180deg, #eaf5f1 0%, #f3f8f6 80%); }
  .hero-shell::before, .hero-shell::after { display: none; }
  .hero { padding: 12px 0 16px; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-main { min-height: 0; border-radius: 25px; background-image: radial-gradient(circle at 88% 12%, rgba(58, 184, 158, .29), transparent 38%), linear-gradient(143deg, #0c4b50 0%, #0a313a 63%, #09252f 100%) !important; box-shadow: 0 18px 32px rgba(7, 45, 51, .15); }
  .hero-main .overlay { background: linear-gradient(115deg, rgba(4, 25, 32, .22), rgba(4, 25, 32, .02)); }
  .hero-copy { padding: 30px 23px 24px; max-width: 100%; }
  .hero-copy .eyebrow { font-size: 10px; color: #a6eee0; }
  .hero-copy h1 { font-size: clamp(36px, 9.6vw, 49px); line-height: 1.01; letter-spacing: -.03em; margin: 14px 0 13px; }
  .hero-copy p { font-size: 14px; line-height: 1.62; margin: 0; color: #e1f5ef; }
  .hero-copy .hero-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
  .hero-buttons .btn { width: 100%; text-align: center; padding: 12px 9px; font-size: 12px; }
  .hero-chips { flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin-top: 20px; padding: 0 0 3px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hero-chips span { flex: 0 0 auto; white-space: nowrap; font-size: 11px; padding: 8px 11px; background: rgba(255, 255, 255, .11); }
  .hero-side { gap: 12px; }
  .hero-sale, .hero-cats { padding: 18px; border-radius: 23px; }
  .hero-sale h2 { font-size: 28px; }
  .hero-sale .sale-pill { display: none; }
  .sale-card { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 9px; border-radius: 15px; }
  .sale-card img { width: 70px; height: 70px; border-radius: 11px; }
  .sale-card h3 { font-size: 13px; }
  .sale-price { grid-column: 2; text-align: left; font-size: 13px; }
  .hero-cats h3 { font-size: 26px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .cat-card { min-height: 126px; padding: 13px; border-radius: 16px; }
  .cat-card strong { font-size: 15px; }
  .cat-card span { font-size: 11px; }
  .jump-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 12px 0 4px; }
  .jump { padding: 10px; min-height: 83px; border-radius: 17px; gap: 9px; box-shadow: none; }
  .jump .icon { width: 34px; height: 34px; flex: 0 0 34px; font-size: 18px; border-radius: 10px; }
  .jump strong { font-size: 12px; margin-bottom: 3px; }
  .jump small { display: block; font-size: 10px; line-height: 1.3; }

  /* Advice cards become a finger-swipable rail, no scripts required. */
  .guidance { padding: 34px 0 20px; }
  .guidance-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
  .guidance-heading p { font-size: 14px; line-height: 1.6; }
  .guidance-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 86%); grid-template-columns: none; gap: 11px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .guidance-card, .guidance-card:last-child { grid-column: auto; scroll-snap-align: start; min-height: 0; padding: 20px; border-radius: 20px; box-shadow: var(--mobile-shadow); }
  .guidance-icon { width: 44px; height: 44px; margin-bottom: 12px; font-size: 24px; }
  .guidance-card h3 { font-size: 27px; }
  .guidance-card p { font-size: 13px; }
  .guidance-fineprint { font-size: 11px; line-height: 1.55; }
  .guidance .ac-pillline .btn { flex: 1 1 100%; }
  .alder-brand-story { padding: 27px 0; }
  .alder-brand-grid { grid-template-columns: 1fr; gap: 15px; }
  .alder-brand-visual { padding: 18px; min-height: 0; border-radius: 20px; }
  .alder-brand-visual img { height: 110px; }
  .alder-brand-copy h2 { font-size: clamp(27px, 7.8vw, 36px); }
  .alder-brand-copy p { font-size: 14px; line-height: 1.63; }
  .alder-brand-pillline span { font-size: 11px; }

  /* Configurators: readable controls, usable preview and larger taps. */
  #konfiguratoren { padding: 33px 0 42px; scroll-margin-top: 164px; }
  .ac-intro { grid-template-columns: 1fr; gap: 10px; margin-bottom: 15px; }
  .ac-intro p { font-size: 13px; line-height: 1.6; }
  .ac-surface { border-radius: 22px; box-shadow: var(--mobile-shadow); }
  .ac-tabs { gap: 7px; overflow-x: auto; padding: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ac-tab { flex: 0 0 auto; min-width: 151px; min-height: 48px; padding: 10px; border-radius: 13px; font-size: 12px; gap: 7px; }
  .ac-tab .ac-emoji { font-size: 20px; }
  .ac-top { padding: 19px 16px 15px; }
  .ac-top h3 { font-size: clamp(24px, 7.2vw, 32px); }
  .ac-top p { font-size: 13px; }
  .ac-stepdots { gap: 6px; margin-top: 14px; }
  .ac-stepdot { font-size: 10px; padding: 7px 10px; }
  .ac-main { grid-template-columns: 1fr; min-height: 0; }
  .ac-viewer { order: -1; padding: 16px; gap: 10px; }
  .ac-visual-head h4 { font-size: 22px; }
  .ac-live-pill { font-size: 10px; }
  #ac-svg { min-height: 190px; border-radius: 17px; }
  .ac-controls { padding: 20px 16px; }
  .ac-section-title { font-size: 24px; }
  .ac-field input, .ac-field select, .ac-field textarea { min-height: 46px; font-size: 16px; }
  .ac-choice button { min-height: 48px; padding: 10px 8px; font-size: 12px; }
  .ac-foot { flex-wrap: wrap; align-items: stretch; gap: 9px; padding: 14px 16px; }
  .ac-foot .btn { flex: 1 1 auto; min-height: 46px; padding: 11px 13px; }
  .ac-foot-note { flex-basis: 100%; font-size: 11px; }
  .ac-rack-level { grid-template-columns: 1fr 1fr; }
  .ac-summary { max-height: 260px; font-size: 11px; overflow-wrap: anywhere; }

  /* Shopping: 2-column cards, fast filters, better type and action targets. */
  #sortiment.wrap { width: calc(100% - 22px); }
  .shop-section { padding: 34px 0 20px; }
  .section-head { gap: 8px; margin-bottom: 13px; }
  #filters { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 3px 0 10px; margin: 7px 0 12px; }
  #filters .pill { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 9px 13px; font-size: 12px; border-radius: 14px; white-space: nowrap; scroll-snap-align: start; }
  #sortiment .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #sortiment .product { border-radius: 17px; border-color: #d9e8e2; box-shadow: 0 8px 22px rgba(7, 45, 48, .07); }
  #sortiment .photo img { aspect-ratio: 1 / 1; padding: 8px; background: #f1f7f4; }
  #sortiment .pbody { padding: 11px 10px 12px; gap: 8px; }
  #sortiment .pbody h3 { min-height: 0; font-size: 13px; line-height: 1.36; -webkit-line-clamp: 3; }
  #sortiment .pbody p { font-size: 11px; line-height: 1.4; }
  #sortiment .pcat { font-size: 10px; }
  #sortiment .price { font-size: 16px; }
  #sortiment .old { font-size: 11px; }
  #sortiment .meta-row { font-size: 10px; gap: 5px; flex-wrap: wrap; }
  #sortiment .pbuttons { gap: 7px; }
  #sortiment .pbuttons button { min-height: 44px; font-size: 11px; font-weight: 800; border-radius: 11px; padding: 8px 6px; }
  #sortiment .flag { font-size: 10px; padding: 6px 8px; top: 7px; left: 7px; }
  .shop-policy { padding: 17px; border-radius: 20px; }
  .shop-policy h3 { font-size: 24px; }
  .shop-policy-grid { grid-template-columns: 1fr; }
  .shop-policy-grid article { border-radius: 14px; }
  .world-section { padding-top: 28px; }
  .world-grid, .story { grid-template-columns: 1fr; gap: 12px; }
  .world-large, .world-stack article { min-height: 230px; border-radius: 20px; padding: 18px; }
  .world-large h3, .world-stack h3 { font-size: 28px; }
  .subtle-explain { grid-template-columns: 1fr; padding: 20px; margin: 27px 0; border-radius: 22px; }
  .subtle-explain h2 { font-size: 31px; }
  .story { padding: 16px 0 32px; }
  .story img { height: 240px; border-radius: 22px; }
  .story-box { padding: 20px; border-radius: 21px; }
  .story-box h2 { font-size: 32px; }
  .project-section { padding: 32px 0; }
  .project-shell { grid-template-columns: 1fr; gap: 19px; }
  .project-copy h2 { font-size: clamp(34px, 9vw, 44px); }
  .project-copy > p { font-size: 14px; line-height: 1.6; }
  .project-form { padding: 18px; border-radius: 21px; }
  .project-form h3 { font-size: 28px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice span { min-height: 52px; padding: 9px; font-size: 12px; }
  .field { min-height: 46px; font-size: 16px; }

  /* Cart & product detail becomes a comfortable full-width bottom sheet. */
  .panel { top: auto; right: 0; bottom: 0; left: 0; width: 100%; max-height: min(87svh, 830px); border-radius: 25px 25px 0 0; transform: translateY(106%); box-shadow: 0 -18px 55px rgba(0, 0, 0, .22); }
  .panel.show { transform: translateY(0); }
  .panel-head { padding: 15px 17px; }
  .panel-head h3 { font-size: 18px; }
  .panel-head button { min-width: 44px; min-height: 44px; }
  .panel-content { padding: 17px; padding-bottom: max(17px, env(safe-area-inset-bottom)); }
  .panel-foot { padding: 14px 17px max(14px, env(safe-area-inset-bottom)); }
  .detail-image { height: 220px; border-radius: 17px; }
  .detail-title { font-size: 28px; }
  .rec-card { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 9px; }
  .rec-card img { width: 60px; height: 56px; }
  .rec-card button { min-height: 42px; padding: 8px; }
  .line-item { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
  .line-item img { width: 68px; height: 64px; }
  .toast { bottom: max(15px, env(safe-area-inset-bottom)); width: min(92vw, 390px); text-align: center; font-size: 13px; }

  /* Footer is easier to scan on a phone. */
  .alder-site-footer { background: linear-gradient(150deg, #07184a 0%, #093746 100%); }
  .alder-footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 23px; padding: 34px 0 28px; }
  .alder-footer-follow, .alder-footer-contact, .alder-footer-brand { align-items: flex-start; text-align: left; }
  .alder-footer-col h2 { font-size: 17px; margin-bottom: 6px; }
  .alder-footer-contact { gap: 8px; }
  .alder-footer-contact h3 { margin: 19px 0 8px; }
  .alder-opening { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .alder-opening > div { min-width: 0; padding: 10px; border: 1px solid #ffffff22; border-radius: 13px; background: #ffffff0b; }
  .alder-opening dt, .alder-opening dd, .alder-opening dd strong, .alder-opening dd span { font-size: 12px; }
  .alder-footer-special-hours { margin: 10px 0 0; justify-content: flex-start; }
  .alder-footer-address { margin-top: 17px; }
  .alder-footer-legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; justify-items: start; gap: 9px 18px; text-align: left; }
  .alder-footer-legal h2 { grid-column: 1 / -1; }
  .alder-footer-legal a { min-height: 40px; display: inline-flex; align-items: center; }
  .alder-footer-brand { justify-content: flex-start; }
  .alder-footer-logo { max-width: 160px; }
  .alder-footer-logo img { height: 124px; }
  .alder-footer-copyright { margin: 6px 0 0; }
  .alder-footer-bottom { justify-content: flex-start; text-align: left; padding: 18px 16px max(20px, env(safe-area-inset-bottom)); }

  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #efad69; outline-offset: 3px; }
}

@media screen and (max-width: 365px) {
  .logo b { font-size: 17px; }
  .logo small { font-size: 8px; }
  .alder-logo-img { width: 44px; height: 44px; flex-basis: 44px; }
  .cart { padding: 9px 7px; }
  .cart::before { font-size: 10px; }
  .hero-copy { padding: 27px 18px 22px; }
  .hero-copy .hero-buttons { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(33px, 10vw, 39px); }
  #sortiment .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat-grid { gap: 7px; }
  .cat-card { padding: 10px; }
  .cat-card strong { font-size: 13px; }
  .ac-field-grid.three { grid-template-columns: 1fr; }
}

@media screen and (max-width: 320px) {
  #sortiment .grid { grid-template-columns: 1fr; }
  .jump-row { grid-template-columns: 1fr; }
}

@media screen and (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .hero-chips, .nav, #filters, .guidance-grid, .ac-tabs { scroll-behavior: auto; }
  .panel, .toast, .overlay-shade { transition: none; }
}

/* alder-planstudio-mobile-preview-last: mobile 3D is directly above Weiter. */
@media screen and (max-width:760px){
 #alder-lab-board .ac-main{display:grid;grid-template-columns:minmax(0,1fr);}
 #alder-lab-board .ac-controls{order:1;min-width:0;border-bottom:0;}
 #alder-lab-board .ac-viewer{order:2;min-width:0;border-top:1px solid #deebe7;}
}
