@media (max-width: 1199.98px) {
  .mob-burger { display: flex; }
  .mob-menu   { display: block; }
  #mainNav    { display: none !important; }
}

@media (max-width: 991px) {
  .faq-sidebar-sticky { position: static; margin-bottom: 2rem; }
  .faq-panel-inner { padding-left: 1.4rem; }

  /* Header */
  .site-header .navbar-brand img { height: 2.625rem; }
  .site-header .navbar { padding-top: 0.4rem; padding-bottom: 0.4rem; }

  /* Page hero */
  .page-hero-inner { padding: 2.5rem 0 3rem; }
  .page-hero h1    { font-size: 1.75rem; }

  /* Footer columns */
  .site-footer { padding-top: 0; }
  .site-footer > .container { padding-top: 40px !important; }
  .footer-bottom { margin-top: 32px; }

  .page-hero-symbol { width: 200px; opacity: 0.05; right: -70px; }
}

@media (max-width: 768px) {
  .hero-stat-divider { display:none; }
  .hero-stats.main-hero { gap:.5rem;flex-direction:column;align-items:flex-start; }
  .main-hero .hero-stat { padding-left:0; }
  .process-steps { flex-direction:column; }
  .process-step { height:auto;padding:1.5rem; }
  .process-arrow-circle { display:none !important; }
  .stat-divider { display:none; }
  .about-img { height:260px; }

  /* Hero: remove bg image, white bg, dark text */
  .hero-section {
    background-image: none !important;
    background-color: #fff !important;
    min-height: unset;
    border-radius: 0;
    align-items: flex-start;
  }
  .hero-overlay { display: none; }
  .hero-wrapper { padding: 0; }
  .hero-content { padding-top: 2rem !important; padding-bottom: 1.5rem !important; }
  .hero-section h1 { color: var(--dark-navy); }
  .hero-section h1 .accent { color: var(--red); }
  .hero-subtext { color: var(--muted); }
  .hero-breadcrumb { color: var(--red); }
  .hero-stat { color: var(--dark-navy); }
  .hero-stat-divider { background: var(--border); }
  .hero-mobile-img {
    display: block;
    margin: 1.25rem -1.5rem 1.5rem;
    width: calc(100% + 3rem);
  }
  .hero-mobile-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .hero-btn-desktop { display: none; }
  .btn-hero-primary { width: 100%; justify-content: center; }

  .detail-hero h1 { font-size: 1.5rem; }
  .hero-meta-pills { gap: 0.4rem; }

  .detail-wrap { padding: 1.5rem 0 6rem; }
  .section-block { padding: 1.25rem; margin-bottom: 0.75rem; }
  .sidebar-card { margin-bottom: 0.75rem; }
  .row.g-4 { --bs-gutter-y: 0.75rem; }

  .sum-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .sum-grid.job-detail {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .sum-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.75rem 1rem;
  }
  .sum-val { font-size: 1rem; margin-bottom: 0; }
  .sum-lbl { font-size: 0.62rem; }

  /* Form in sidebar */
  .sidebar-card .f-label  { font-size: 0.68rem; }
  .sidebar-card .f-input  { padding: 0.6rem 0.8rem; font-size: 14px !important; }
  .sidebar-card .f-submit { font-size: 0.85rem; padding: 0.75rem; }
  .sidebar-card .f-note   { font-size: 0.65rem; }
  .sidebar-card .f-error  { font-size: 0.65rem; }
  .detail-hero-inner {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mob-apply-bar { display: block; background: none; box-shadow: none; border: none; }

  /* Push WA + back-to-top above the sticky apply bar */
  .wa-btn      { bottom: 16px; right: 16px; }
  .back-to-top { bottom: 80px; }

  .job-row-card { flex-wrap: wrap; gap: 0.75rem; }
  .job-row-rate { text-align: left; }
  .job-row-arrow { display: none; }
  .sidebar-sticky { position: static; }

  .legal-card { padding: 1.5rem 1.25rem; }
  .legal-table { font-size: 0.75rem; }
  .legal-table th, .legal-table td { padding: 0.45rem 0.5rem; }

  /* ─── GLOBAL TYPOGRAPHY ─── */
  body { font-size: 15px; }

  /* iOS input zoom prevention — 16px minimum */
  input, textarea, select { font-size: 16px !important; }

  /* ─── GLOBAL SPACING ─── */
  .section-heading { font-size: 1.5rem; }

  /* ─── HEADER ─── */
  .site-header .navbar-brand img { height: 2.375rem; }

  /* ─── PAGE HERO ─── */
  .page-hero-inner { padding: 2rem 0 2.5rem; }
  .page-hero h1    { font-size: 1.5rem; }
  .page-hero .hero-sub { font-size: 0.875rem; }

  /* ─── BREADCRUMB ─── */
  .breadcrumb-nav { flex-wrap: wrap; gap: 0.3rem; font-size: 0.72rem; }

  /* ─── COMMON CARDS ─── */
  .white-card { padding: 1.25rem; }

  /* ─── FOOTER ─── */
  .site-footer .footer-logo { width: 4.25rem; height: auto; }
  .site-footer > .container { padding-top: 32px !important; }
  .footer-bottom { margin-top: 24px; padding: 14px 0; }
  .footer-bottom p { font-size: 0.72rem; }

  /* ─── FORMS ─── */
  .f-label   { font-size: 0.72rem; }
  .f-input   { padding: 0.7rem 0.85rem; margin-bottom: 0.75rem; }
  .f-submit  { padding: 0.85rem; font-size: 0.9rem; }
  .f-note    { font-size: 0.7rem; }
  textarea.f-input { min-height: 80px; }

  /* ─── BUTTONS ─── */
  .btn-red, .btn-outline-red { height: 44px; font-size: 0.85rem; padding: 0 20px; }
  .btn-cta-white, .btn-cta-outline { padding: 0.7rem 1.5rem; font-size: 0.85rem; }

  /* ─── CTA SECTION ─── */
  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 1.3rem; }
  .cta-section p  { font-size: 0.875rem; margin-bottom: 1.5rem; }

  /* ─── HOME — HERO ─── */
  .hero-section { min-height: 85vw; }
  .hero-section h1 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  .hero-subtext { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .hero-wrapper { padding: 0 0.75rem; }
  .hero-wrapper.home { padding: 0; }
  .hero-stats { gap: 0; margin-top: 1.5rem; }
  .hero-stat  { font-size: 12px; padding: 0 0.75rem; gap: 6px; }

  /* ─── HOME — JOB CARDS ─── */
  .job-card-img  { height: 180px; }
  .job-card-body { padding: 1rem; }
  .job-card h5   { font-size: 0.95rem; }
  .job-price     { font-size: 1.05rem; margin: 0.6rem 0; }
  .job-meta li   { font-size: 0.82rem; }

  /* ─── HOME — WHY-US ─── */
  .why-section { padding: 48px 0; }
  .why-card    { padding: 1.4rem; }

  /* ─── HOME — PROCESS ─── */
  .process-box  { background: #f5f6f8; border-radius: 24px; padding: 60px 24px 56px; }
  .process-step { padding: 16px 12px; height: auto; }

  /* ─── HOME — TESTIMONIALS ─── */
  .testimonials-section { padding: 48px 0 0; }
  .testimonials-section .testimonial-card { padding: 1.25rem; }
  .references-section .testimonial-card { padding: 1.25rem; }

  /* ─── HOME — ABOUT ─── */
  .about-section { padding: 48px 0; }
  .about-img     { height: 220px; }

  /* ─── JOBS — FILTER ─── */
  .filter-bar { gap: 6px; margin-bottom: 1.25rem; }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
    min-height: 36px;
  }
  .filter-pill {
    padding: 8px 14px;
    font-size: 0.78rem;
    min-height: 36px;
  }

  /* ─── JOBS — JOB ROW CARD ─── */
  .job-row-card  { padding: 1rem 1.1rem; }
  .job-row-body  { gap: 0.4rem; }
  .job-row-title { font-size: 0.95rem; }
  .job-row-rate  { font-size: 0.95rem; }

  /* ─── JOBS — SIDEBAR ─── */
  .sidebar-sticky { margin-bottom: 1.5rem; }
  .info-card      { padding: 0; }
  .info-list li   { font-size: 0.85rem; }

  /* ─── JOB DETAIL — HERO ─── */
  .detail-hero-inner { padding-top: 3rem; padding-bottom: 3.5rem; }
  .detail-hero h1    { font-size: 1.4rem; }
  .hero-tag          { font-size: 0.65rem; }
  .hero-pill         { font-size: 0.76rem; padding: 5px 10px; }

  /* ─── JOB DETAIL — CONTENT ─── */
  .detail-wrap   { padding: 1.5rem 0 3rem; }
  .section-block { padding: 1.25rem; }
  .block-title   { font-size: 1rem; }
  .detail-list li { font-size: 0.85rem; }

  /* ─── JOB DETAIL — BENEFITS ─── */
  .benefit-item      { padding: 0.75rem; gap: 10px; }
  .benefit-item-icon { width: 32px; height: 32px; }
  .benefit-item-text { font-size: 0.82rem; padding-top: 0.35rem; }

  /* ─── JOB DETAIL — SIDEBAR FORM ─── */
  .sum-grid { gap: 0.4rem; }
  .sum-val  { font-size: 0.9rem; }
  .sum-lbl  { font-size: 0.58rem; }

  /* ─── FAQ ─── */
  .faq-wrap { padding: 2.5rem 0 3rem; }
  .faq-btn  { padding: 0.9rem 1rem; gap: 0.75rem; }
  .faq-question { font-size: 0.85rem; }
  .faq-panel-inner { padding: 0 1rem 1rem; font-size: 0.82rem; }
  .faq-num  { width: 24px; height: 24px; font-size: 0.65rem; }
  .faq-icon { width: 26px; height: 26px; }

  /* ─── KONTAKT ─── */
  .contact-person-row  { gap: 10px; }
  .contact-person-img  { width: 52px; height: 52px; }
  .contact-person-name { font-size: 0.82rem; }
  .contact-person-role { font-size: 0.68rem; }
  .contact-person-email{ font-size: 0.66rem; }
  .contact-person-phone{ font-size: 0.7rem; }

  /* ─── LEGAL ─── */
  .legal-wrap { padding: 2rem 0 3rem; }
  .legal-card p, .legal-card ul, .legal-card ol { font-size: 0.85rem; }

  /* ─── TIMELINE ─── */
  .timeline { padding-left: 1.75rem; }
  .timeline-item::before { left: -2.25rem; width: 10px; height: 10px; }
  .timeline-title { font-size: 0.95rem; }
  .timeline-desc  { font-size: 0.85rem; }

  .section-heading { font-size: 1.7rem; }
  .page-hero h1 { font-size: 1.5rem; }

  .video-card {
    padding: 0;
  }
}

@media (max-width: 576px) {
  .job-row-img { display: none; }
  /* ─── HERO ─── */
  .hero-section { min-height: 92vw; border-radius: 12px; }
  .hero-section h1 { font-size: 1.5rem; }
  .hero-stat-divider { display: none; }
  .btn-hero-primary, .btn-hero-outline { height: 44px; font-size: 0.85rem; padding: 0 18px; }

  /* ─── JOB CARDS — 1 column on very small ─── */
  .job-card-img { height: 160px; }

  /* ─── BENEFITS 1 column ─── */
  .benefits-grid { grid-template-columns: 1fr; }

  /* ─── SUM GRID ─── */
  .sum-grid { grid-template-columns: 1fr 1fr; }

  /* ─── FAQ ─── */
  .faq-group-label { font-size: 0.62rem; }

  /* ─── CONTACT PERSON ─── */
  .contact-person-row { flex-wrap: wrap; }
  .contact-person-phone { font-size: 0.75rem; margin-left: 62px; }

  /* ─── FOOTER ─── */
  .footer-social a { width: 38px; height: 38px; }

  /* ─── FORMS ─── */
  .f-error { font-size: 0.68rem; }

  .page-hero-symbol { display: none; }

  .job-row-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .job-row-meta {
    gap: 0.2rem;
    flex-direction: column;
  }

  .offers-page .testimonial-card {
    padding: 1rem;
  }

  .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .team-card picture {
    display: block;
    width: fit-content;
  }
  .team-card .team-card-img {
    width: 10rem;
    height: 10rem;
  }
  .team-card .team-card-body .team-card-name, .team-card .team-card-body .team-card-role, .team-card .team-card-body .team-card-flags {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  /* ─── HERO ─── */
  .page-hero h1 { font-size: 1.35rem; }
  .hero-wrapper { padding: 0 0.5rem; }

  /* ─── SECTION HEADINGS ─── */
  .section-heading { font-size: 1.35rem; }

  /* ─── MOBILE MENU ─── */
  .mob-nav-link  { font-size: 0.95rem; padding: 12px 0; }
  .mob-cta-btn   { font-size: 0.88rem; padding: 13px 16px; }
  .mob-phone     { padding: 10px 12px; }
  .mob-phone-num { font-size: 0.88rem; }
  .mob-phone-icon { width: 36px; height: 36px; }
  .mob-cta       { padding: 14px 24px 24px; gap: 8px; }

  /* ─── JOB DETAIL ─── */
  .detail-hero h1  { font-size: 1.25rem; }
  .hero-meta-pills { gap: 0.3rem; }
  .hero-pill       { font-size: 0.72rem; padding: 4px 8px; }

  /* ─── BUTTONS ─── */
  .btn-red, .btn-outline-red { width: 100%; justify-content: center; }

}

@media (max-width: 375px) {
  /* ─── LAST RESORT — iPhone SE / small ─── */
  .mob-nav-link  { font-size: 1rem; }
  .mob-cta-btn   { font-size: 0.85rem; gap: 8px; }
  .mob-phone-num { font-size: 0.85rem; }

  .hero-section h1 { font-size: 1.35rem; }
  .page-hero h1    { font-size: 1.2rem; }

  .faq-btn { padding: 0.8rem 0.75rem; }
  .section-block, .white-card { padding: 1rem; }
}