/* ============================================================
   Mobile Refine — Handy: clean, hochwertig, nicht erdrückend
   Entfernen: Link in index.html löschen (Backup: backup/mobile-refine/)
   ============================================================ */

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  .container {
    width: min(1140px, calc(100% - 1.35rem));
  }

  .site-banner {
    background: var(--brand-black);
  }

  .site-banner__img {
    width: 100%;
    height: auto;
  }

  .section {
    padding: 3rem 0;
    margin: 8px;
    border-radius: 16px;
  }

  .section-label {
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .section-title {
    font-size: clamp(1.42rem, 5.2vw, 1.75rem);
    margin-bottom: 0.55rem;
    line-height: 1.15;
  }

  .section-intro {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  main > section.gallery-section,
  main > section.vn-section {
    margin: 8px;
    border-radius: 16px;
  }

  /* Hero — kompakter Einstieg */
  .hero-inner {
    padding: 14px 10px 18px;
    gap: 10px;
  }

  .hero-content {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .hero-eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
  }

  .hero h1 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.5rem, 6vw, 1.85rem);
    line-height: 1.12;
  }

  .hero-text {
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .hero-trust {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-trust li {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-sub);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 10px;
    line-height: 1.2;
  }

  [data-theme="dark"] .hero-trust li {
    background: rgba(255, 255, 255, 0.06);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.78rem 1rem;
    font-size: 0.875rem;
  }

  .hero-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-quick-links .hero-card--link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-quick-links .hero-card {
    padding: 12px;
    min-height: 0;
  }

  .hero-quick-links .hero-card-link-sub {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .hero-quick-links .hero-icon-frame--lg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .hero-quick-links .hero-card-link-photo {
    width: 28px;
    height: 28px;
  }

  .hero-card--leistungen {
    padding: 14px 16px;
  }

  .hero-card--leistungen .hero-card__label {
    margin-bottom: 6px;
  }

  .hero-card__list {
    margin-top: 6px;
  }

  .hero-card__list li {
    margin: 0;
  }

  .hero-card__list a {
    padding: 5px 0;
    font-size: 0.82rem;
  }

  .hero-card__list li:last-child a {
    padding-top: 8px;
    font-size: 0.78rem;
    color: var(--accent);
  }

  /* Sanfteres Scroll-Reveal */
  html.js .reveal {
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  /* Leistungen — eine Karte pro Ansicht (Breite in style.css) */
  .services-swipe-hint {
    margin-top: 8px;
    font-size: 0.72rem;
  }

  /* Kontakt */
  .contact-info-block {
    padding: 1.35rem 1.2rem;
  }

  .contact-col-intro {
    margin-bottom: 1rem !important;
  }

  .contact-form-mobile-link {
    margin-top: 1.35rem;
  }

  .contact-form-mobile-link .btn {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
  }

  /* Vorher/Nachher & Galerie */
  .vn-section {
    padding: 44px 12px !important;
  }

  .gallery-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .gallery-inner h2,
  .vn-inner h2 {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }

  .vn-sub,
  .gallery-sub {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }

  /* Bewertungen */
  .reviews-section {
    padding: 2.75rem 14px;
  }

  .reviews-intro {
    font-size: 0.9rem;
  }

  .review-card {
    padding: 18px 16px;
  }

  /* Floating Buttons — nicht erdrückend */
  .float-wa-btn {
    width: 46px;
    height: 46px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    opacity: 0.92;
  }

  .float-review-btn button {
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  .footer {
    padding: 1.5rem 0;
  }

  .footer-copy {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  html {
    padding: 3px;
  }

  body {
    border-radius: 10px;
  }

  .section {
    padding: 2.5rem 0;
    margin: 6px;
  }

  .hero h1 {
    font-size: 1.42rem;
  }

  .hero-trust li {
    font-size: 0.64rem;
    padding: 4px 8px;
  }

  .float-wa-btn {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 768px) {
  .hero-trust {
    display: none;
  }

  .hero-quick-links {
    display: contents;
  }
}
