/* Shared mobile layout, loaded after page-specific styles. */
@media (max-width: 980px) {
  .site-header .nav-links { display: none !important; }
  .site-header .nav { gap: 12px; }
  .site-header .nav-toggle { display: inline-flex !important; flex: 0 0 46px; width: 46px; }
  .site-header .header-cta { display: none !important; }
  #mobileMenu:not(.active) { visibility: hidden; pointer-events: none; }
  #mobileMenu.active { visibility: visible; pointer-events: auto; }
  #mobileMenu .mobile-cta { display: inline-flex !important; }
  .mobile-close { flex-shrink: 0; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 90px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .site-header .brand-lockup { min-width: 0; gap: 9px; }
  .site-header .brand-title { font-size: clamp(19px, 5.5vw, 23px); }
  .site-header .brand-sub { font-size: 12px; letter-spacing: .08em; }
  .site-header .brand-lockup img { width: 40px; height: 40px; flex-shrink: 0; }
  .mobile-signature { font-size: clamp(18px, 5.5vw, 23px); }
  .hero h1, .blog-post-wrapper h1, .blog-post-title, .testler-hero h1 { font-size: clamp(30px, 8.2vw, 36px) !important; line-height: 1.12 !important; }
  .hero { padding-top: 26px; padding-bottom: 38px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .hero .hero-lead { font-size: 15px; line-height: 1.7; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .hero-grid, .team-grid, .team-cards, .team-copy, .team-card, .team-card a { min-width: 0; max-width: 100%; }
  .hero-grid > *, .team-grid > *, .team-cards > * { min-width: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 24px; }
  .team-copy { padding: 22px; overflow-wrap: anywhere; }
  .contact-card, .contact-card > *, address.hero-actions, address.hero-actions > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .team-card { overflow-wrap: anywhere; }
  .team-cards { grid-template-columns: minmax(0, 1fr); }
  .floating-actions {
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important; display: flex !important; flex-direction: row !important;
    gap: 1px !important; padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #fffdf9; border-top: 1px solid #e4dce0; box-shadow: 0 -4px 18px #1724390c;
  }
  .floating-actions .float-btn {
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    flex: 1; width: auto; height: 48px; border-radius: 12px; gap: 8px;
    box-shadow: none; color: #fff; text-decoration: none;
  }
  .floating-actions .float-btn svg { width: 19px; height: 19px; }
  .floating-actions .phone::after { content: 'Telefon'; font: 700 14px/1.2 var(--font-body, sans-serif); }
  .floating-actions .whatsapp::after { content: 'WhatsApp'; font: 700 14px/1.2 var(--font-body, sans-serif); }
  body:has(#psiko-test-app) .floating-actions { display: none !important; }
  body:has(#psiko-test-app) { padding-bottom: env(safe-area-inset-bottom, 0px); }
  #psiko-test-app h1 { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.2; }
  #psiko-test-app h1:focus, #pt-question:focus, #pt-result-title:focus { outline: none; }
  .blog-page .service-chips { min-width: 0; padding: 18px; }
  .blog-page .service-chips .chip-row { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .blog-page .service-chips .chip { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; }
}
.faq-card > summary { cursor: pointer; list-style-position: inside; }
.faq-card > summary h3 { display: inline; font-size: 23px; margin: 0; }
.faq-card[open] > p { margin-top: 14px; }
.faq-card > summary:focus-visible { outline: 3px solid #835368; outline-offset: 5px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
