/* ==========================================================================
   Koha Service — Breakpoint fine-tuning
   Component-level responsive rules live alongside each component;
   this file handles cross-cutting layout adjustments.
   ========================================================================== */

/* ---- 4K / large desktop ---- */
@media (min-width: 1920px) {
  .container { max-width: 1520px; }
}

/* ---- Laptop ---- */
@media (max-width: 1279px) {
  :root { --section-pad-y: clamp(4.5rem, 7vw, 7rem); }
}

/* ---- Tablet ---- */
@media (max-width: 1023px) {
  .about-floating-card { right: var(--space-md); bottom: -1.25rem; }
}

/* ---- Small tablet / large phone ---- */
@media (max-width: 767px) {
  .section { padding-block: clamp(3.5rem, 12vw, 5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-sm); }
  .cta-band { margin-inline: var(--space-sm); padding: var(--space-xl) var(--space-md); }
  .work-item:nth-child(even) .work-media { order: initial; }
}

/* ---- Phones ---- */
@media (max-width: 480px) {
  .hero-title { max-width: none; font-size: clamp(1.3rem, 5.4vw, 1.9rem); }
  .section-head { margin-bottom: var(--space-xl); }
  .testimonial-card { flex-basis: 92vw; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
}

/* ---- Very small phones ---- */
@media (max-width: 375px) {
  .btn { padding: 0.9rem 1.6rem; font-size: 0.88rem; }
  .logo { font-size: 1rem; }
}

/* ---- Compact header brand on phones ---- */
@media (max-width: 768px) {
  .logo-img { height: 24px; }
  .festpreis-badge { height: 44px; }
  .logo-text-sub--standalone { font-size: 0.72rem; }
  .brand-wrap { gap: 0.5rem; }
}

/* ---- Touch device tightening: reduce heavy blur for perf ---- */
@media (hover: none), (pointer: coarse) {
  .site-header.is-scrolled { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .about-visual img,
  .work-media img,
  .cta-band-media img { transition: none; }
}

/* ---- Print ---- */
@media print {
  .site-header, .nav-mobile, .back-to-top, .preloader, .scroll-progress { display: none !important; }
  .hero { min-height: auto; }
  body { background: #fff; color: #000; }
}
