/* Mobile pass on the V189 architecture. Content and desktop layouts are retained. */
@media (max-width: 980px) {
  .site-header .header-inner { position: relative; min-height: 64px; padding-block: 8px; gap: 10px; }
  .site-header .brand { min-width: 0; gap: 9px; }
  .site-header .brand img { width: 40px; height: 40px; }
  .site-header .brand small { font-size: .65rem; letter-spacing: .12em; }
  .site-header .menu-toggle { min-height: 46px; min-width: 76px; padding: 9px 14px; font-size: .95rem; }
  .site-header #main-menu.is-open { position: absolute; top: 100%; left: -14px; right: -14px; flex-basis: auto; padding: 8px 14px 12px; gap: 0; max-height: calc(100dvh - 66px); overflow-y: auto; background: #f3f7f4; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(7,27,53,.12); }
  .site-header #main-menu.is-open a { display: flex; min-height: 52px; padding: 12px 16px; border-radius: 8px; }
  .site-header #main-menu a[aria-current] { background: #e3eee5; color: #126b2f; }
  .detail-rail img { height: auto; object-fit: contain; background: #071b35; }
  .wk-page .wk-suggestions button,.wk-page .wk-filter button { min-height: 44px; padding: 9px 12px; }
  .wk-planner button.small,.wk-planner .toolbar button { min-height: 44px; font-size: .9375rem; }
  summary { min-height: 44px; }
  :where(button,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range])) { min-height: 44px; }
  :where(button,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea) { font-size: max(1rem,1em); }
  input[type=range] { min-height: 44px; }
  .mobile-table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; }
  .mobile-table-scroll :is(th,td) { font-size: .9375rem; line-height: 1.55; }
  .mobile-table-hint { display: block; margin: 12px 0 8px; font-size: .875rem; color: #345565; font-weight: 650; }
  .mobile-table-hint[hidden] { display: none; }
  :where(section,article,main,form,[id]) { scroll-margin-top: 82px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  :where(main,section,article,fieldset,.nl-grid,.nl-card,.wk-grid) { min-width: 0; }
  :where(h1,h2,h3,h4,legend) { hyphens: auto; overflow-wrap: anywhere; }
  .nl-grid { grid-template-columns: minmax(0,1fr); }
  .nl-card { min-width: 0; overflow-wrap: anywhere; }
  .blog-article { padding-top: 28px; }
  .blog-article .article-header h1 { font-size: clamp(2rem,8.4vw,2.5rem); line-height: 1.14; margin-block: 18px 22px; }
  .blog-article .article-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 18px; line-height: 1.5; }
  .blog-article .article-deck { font-size: 1.0625rem; line-height: 1.7; }
  .article-copy { font-size: 1rem; line-height: 1.75; }
  .article-copy h2 { font-size: clamp(1.6rem,6.4vw,2rem); line-height: 1.22; margin-block: 40px 18px; }
  .article-copy h3 { line-height: 1.3; margin-top: 28px; }
  .article-copy .article-opening { font-size: 1.125rem; }
  .article-copy blockquote { padding: 20px 0 20px 20px; margin-block: 30px; font-size: 1.2rem; }
  .article-hero { margin-top: 28px; }
  .article-layout { padding-block: 36px 56px; }
  .article-facts div { padding: 16px 18px; }
  .article-photo-grid,.article-wide-photo { margin-block: 28px 36px; }
  .knowledge-hub .nl-detail-hero { padding-block: 26px; }
  .knowledge-hub .nl-detail-title h1 { font-size: clamp(1.875rem,7.8vw,2.25rem); line-height: 1.17; margin-bottom: 20px; }
  .knowledge-hub .ux-paths > a { padding-block: 16px; gap: 7px; }
  .practice-hub .nl-hero { padding-block: 30px; }
  .practice-hub #beobachtungen .nl-card { padding: 20px; }
  /* Compact previews: every description and link remains available. */
  .blog-hub .blog-card-grid { gap: 16px; }
  .blog-hub .blog-card-grid article { display: block; }
  .blog-hub .blog-card-grid article > img,.blog-hub .blog-card-media { width: 100%; height: 170px; min-height: 0; aspect-ratio: auto; }
  .blog-hub .blog-card-grid article > img,.blog-hub .blog-card-media img { object-fit: contain; background: #eaf2e9; }
  .blog-hub .blog-card-grid article > div { padding: 18px; }
  .blog-hub .blog-card-grid h3 { font-size: 1.25rem; line-height: 1.3; margin-block: 12px; }
  .blog-hub .blog-card-grid p { margin-bottom: 12px; }
  .blog-hub .blog-card-grid article > div > a { display: inline-flex; align-items: center; min-height: 44px; }
  .blog-hub .blog-entry-media { max-height: 170px; }
  .blog-hub .blog-entry-media img { object-fit: contain; }
  .blog-hub .blog-entry-copy { padding: 18px; }
  .blog-hub .blog-entry-meta { font-size: .8125rem; line-height: 1.5; }
  .blog-hub .blog-entry-teaser { font-size: 1rem; line-height: 1.55; }
  .blog-mobile-category > summary { padding: 16px 4px; font-size: 1.125rem; font-weight: 750; line-height: 1.4; }
  .blog-mobile-category { border-top: 1px solid var(--line); }
  .blog-hub .blog-category { padding-top: 16px; }
  .blog-hub .blog-category + .blog-category { margin-top: 0; border-top: 0; }
  .wk-page .wk-card { padding: 16px 18px; box-shadow: none; border-radius: 12px; }
  .wk-page .wk-card h3 { margin-block: 8px; font-size: 1.2rem; }
  .wk-page .wk-card p { margin-bottom: 8px; }
  .wk-page .wk-open { display: inline-flex; align-items: center; min-height: 44px; }
  .wk-page .wk-group { margin-bottom: 30px; }
  .wk-page .wk-controls { padding: 18px; margin-bottom: 28px; }
  .wk-page .wk-suggestions { gap: 6px 10px; }
  .wk-page .wk-suggestions button,.wk-page .wk-filter button { min-height: 44px; padding: 9px 12px; }
  .wk-page .wk-suggestions button { border: 1px solid #c7d8c8; border-radius: 9px; background: white; }
  .wk-planner h1 { font-size: clamp(2rem,8.4vw,2.5rem); line-height: 1.15; }
  .wk-planner button.small,.wk-planner .toolbar button { min-height: 44px; font-size: .9375rem; }
  .wk-planner .event p,.wk-planner .event time { font-size: .9375rem; line-height: 1.55; }
  .wk-planner .month { min-width: 0; grid-template-columns: repeat(7,minmax(92px,1fr)); overflow-x: auto; }
  .wk-planner .month .day { font-size: .9375rem; padding: 8px; min-height: 80px; }
  .wk-planner .month .day a,.wk-planner .month .wd { font-size: .875rem; }
  .wk-planner .month .day a { display: flex; align-items: center; min-height: 44px; line-height: 1.4; }
  .wk-planner .month::before { content: '↔ Kalender seitlich wischen'; grid-column: 1 / -1; font-size: .875rem; padding-block: 8px; color: var(--muted); }
  :where(button,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),textarea) { font-size: max(1rem,1em); }
  :where(button,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range])) { min-height: 44px; }
  input[type=range] { min-height: 44px; }
  summary { min-height: 44px; padding-block: 10px; cursor: pointer; }
  .plant-cards summary { min-height: 44px; padding-block: 10px; }
  .plant-dialog-head button,.plant-feedback button[data-close] { min-width: 44px; }
  .nlp .nlp-checks { grid-template-columns: 1fr; gap: 10px; }
  .nlp .nlp-choice,.nlp .nlp-pool { font-size: .9375rem; line-height: 1.55; padding: 12px; min-height: 48px; }
  .nlp .nlp-choice input,.nlp .nlp-pool input { width: 20px; height: 20px; min-height: 20px; flex-basis: 20px; }
  .nlp .nlp-privacy p,.nlp .nlp-help,.nlp .nlp-field-error { font-size: .875rem !important; }
  .nlp .nlp-error-summary a { display: inline-block; padding-block: 7px; }
  .nlp [id] { scroll-margin-top: 82px; }
  .nlp h1 { font-size: clamp(2.25rem,9vw,2.75rem); }
  .finder-shell .system-finder { min-height: 0; padding: 20px 16px; border-radius: 18px; }
  .finder-progress { margin-bottom: 24px; }
  .finder-step legend { font-size: 1.5rem; line-height: 1.25; }
  .finder-step legend,#finder-result-title { scroll-margin-top: 82px; }
  .finder-actions { margin-top: 28px; }
  .finder-extra { margin-top: 20px; border-block: 1px solid rgba(255,255,255,.2); }
  .finder-extra > summary { padding: 16px 0; color: #e3edf1; line-height: 1.5; font-weight: 700; }
  .finder-extra[open] { padding-bottom: 18px; }
  .choice input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 3px; }
  .finder-result textarea { min-height: 260px; font-size: 1rem; }
  .site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .mobile-table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .mobile-table-scroll table[data-mobile-columns="many"] { min-width: 620px; }
  .mobile-table-scroll table[data-mobile-columns="two"] { min-width: 440px; }
  .mobile-table-scroll :is(th,td) { font-size: .9375rem; line-height: 1.55; overflow-wrap: normal; word-break: normal; padding: 14px 16px; }
  .mobile-table-scroll :is(th,td):first-child { min-width: 145px; }
  .mobile-table-hint { display: block; margin: 12px 0 8px; font-size: .875rem; color: #345565; font-weight: 650; }
  .mobile-table-hint[hidden] { display: none; }
  .mobile-table-hint + .mobile-table-scroll { margin-top: 10px; }
  .media-section .mobile-table-hint,.finder-section .mobile-table-hint { color: #dce9ef; }
  .detail-rail { gap: 14px; scroll-snap-type: x proximity; }
  .detail-rail figure { flex-basis: 78%; scroll-snap-align: start; }
  .detail-rail figcaption { padding: 15px; }
  .detail-rail strong { line-height: 1.4; }
  .mobile-gallery-hint { color: #dce9ef; font-size: .875rem; margin-block: 20px 10px; }
  /* First three screens: two clear actions, readable lead, compact existing offer. */
  .home-page .home-hero .hero-grid { padding-block: 28px; gap: 24px; }
  .home-page .home-hero h1 { font-size: clamp(2rem,9.2vw,2.5rem); line-height: 1.12; margin-bottom: 22px; }
  .home-page .home-hero .eyebrow { letter-spacing: .08em; line-height: 1.55; margin-bottom: 18px; }
  .home-page .home-hero .hero-actions { margin-top: 22px; gap: 10px; }
  .home-page .home-hero .quick-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; }
  .home-page .hero-offer-panel { padding: 20px; border-radius: 16px; }
  .home-page .hero-offer-label { margin-bottom: 12px; letter-spacing: .08em; }
  .home-page .hero-offer-price { font-size: 2.5rem; }
  .home-page .hero-offer-panel h2 { margin-block: 10px 14px; }
  .home-page .hero-offer-panel ul { gap: 5px; padding-top: 14px; margin-bottom: 14px; }
  .home-page .hero-offer-panel > a { display: inline-flex; align-items: center; min-height: 44px; }
  .home-page .home-knowledge-grid { gap: 22px; }
  .home-page .home-knowledge-links > a { padding-block: 12px; }
  .home-page .home-services .service-map-card { padding: 18px 20px; border-radius: 14px; }
  .home-page .home-services .service-map-card h3 { margin-block: 12px; font-size: 1.4rem; line-height: 1.25; }
  .home-page .mode-grid article { min-height: 0; padding: 20px; }
  .home-page .mode-grid h3 { margin-top: 20px; }
  .home-page .process-list li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; min-height: 0; padding: 20px; }
  .home-page .process-list li > span { width: 36px; height: 36px; margin-bottom: 0; }
  .home-page .process-list h3 { line-height: 1.3; }
  .wk-mobile-group { border-top: 1px solid var(--line); }
  .wk-mobile-group > summary { padding: 18px 6px; font-size: 1.125rem; font-weight: 750; line-height: 1.4; }
  .wk-mobile-group > summary span { color: var(--muted); font-size: .9375rem; margin-left: 8px; }
  .wk-page .wk-group:has(.wk-mobile-group) { margin-bottom: 8px; }
  .wk-mobile-filters > summary { font-weight: 700; min-height: 48px; padding: 12px 0; }
}
@media (max-width: 360px) {
  .site-header .brand strong { font-size: 1rem; }
  .site-header .brand small { font-size: .6rem; letter-spacing: .08em; }
  .site-header .menu-toggle { min-width: 70px; padding-inline: 12px; }
  .site-footer .footer-directory { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .footer-directory nav:last-child { grid-column: auto; }
}
@media (max-width: 520px) { .wk-planner .fields { grid-template-columns: minmax(0,1fr); } }
@media (min-width: 761px) {
  .wk-mobile-group,.wk-mobile-filters { display: contents; }
  .wk-mobile-group > summary,.wk-mobile-filters > summary { display: none; }
  .finder-extra { display: contents; }
  .finder-extra > summary { display: none; }
}
@media (min-width: 981px) {
  .mobile-table-hint { display: none; }
  .mobile-table-scroll.mobile-table-added { display: contents; }
}
.finder-extra[hidden] { display: none; }
.blog-entry-media picture { display: block; width: 100%; height: 100%; }
@media (hover: none) {
  .button:hover,.service-map-card:hover { transform: none; }
  .story-card:hover img { transform: none; }
}
