/* ============================================================
   HAI-CHARTER – queries.css
   Alle Media Queries · Responsive Styles
   ============================================================ */

/* ============================================================
   1440px – Mittlere Desktops / 1080p
   ============================================================ */
@media (max-width: 1440px) {
  .hero-title {
    font-size: clamp(2.8rem, 6vw, 6rem);
  }
  .nav-links {
    gap: 1.6rem;
  }
  .nav-meta {
    margin-left: 1.2rem;
    padding-left: 1.2rem;
  }
}

@media (max-width: 1280px) {
  .hero-title {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
  }
  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a,
  .nav-links .nav-cta {
    font-size: 0.8rem;
  }
  .nav-meta {
    gap: 0.8rem;
    margin-left: 0.8rem;
    padding-left: 0.8rem;
    font-size: 0.5rem;
  }
}
@media (max-width: 1149px) {
  .nav-links a,
  .nav-links .nav-cta {
    font-size: 0.6rem;
  }
  .nav-meta a {
    font-size: 0.5rem;
  }
}

/* ============================================================
   1024px – Tablets / kleine Desktops
   ============================================================ */
@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .intro-badges {
    grid-template-columns: repeat(3, 1fr);
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   900px – Querformat Tablets / große Smartphones
   ============================================================ */
@media (max-width: 900px) {
  .nav-links a,
  .nav-links .nav-cta {
    font-size: 0.5rem;
  }
  .nav-meta a {
    font-size: 0.4rem;
  }
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .strip-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .preise-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  /* VIP Yacht */
  .vip-hero {
    height: 380px;
  }
  .vip-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .vip-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .vip-packages__grid {
    grid-template-columns: 1fr;
  }
  .vip-card--wide {
    flex-direction: column;
  }
  .vip-card--wide .vip-card__img-wrap {
    width: 100%;
  }
  .vip-card--wide .vip-card__img-wrap img {
    height: 220px;
  }
  .vip-equipment__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   768px – Mobile Navigation & Layout
   ============================================================ */
@media (max-width: 768px) {
  html {
    font-size: 17px;
  }

  .section {
    padding: 60px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    max-width: 100%;
  }

  /* Navigation */
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .nav-meta {
    display: none;
  }
  .nav-meta-mobile {
    display: flex !important;
    gap: 1.8rem;
    justify-content: center;
    border: none !important;
    margin-top: 1.2rem !important;
    padding: 0.6rem 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  }
  .nav-meta-mobile a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    position: static;
    padding: 0;
  }
  .nav-meta-mobile a::after {
    display: none !important;
  }
  .nav-meta-mobile a:hover {
    color: var(--accent);
  }
  .logo-img {
    height: 52px;
    transform: translateY(0);
  }

  /* ── Hauptpanel ── */
  .nav-links {
    position: fixed;
    top: 0;
    right: -90vw;
    width: 90vw;
    height: 100vh;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2.5rem;
    gap: 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links > li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links > li:has(.nav-cta) {
    width: auto;
    border: none;
    margin-top: 1.5rem;
  }

  .nav-links > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem !important;
    white-space: nowrap;
  }

  /* Pfeil-Indikator: zeigt Akkordeon-Status */
  .has-dropdown > a::after {
    display: inline-block !important;
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    border: none !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    transition: transform 0.25s ease !important;
    position: static !important;
    background: none !important;
  }

  .has-dropdown.mob-open > a::after {
    transform: rotate(-135deg) !important;
  }

  /* ── Akkordeon-Dropdown ── */
  .dropdown {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: none !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 0 0.75rem !important;
    min-width: unset !important;
    pointer-events: none !important;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease !important;
    z-index: auto !important;
    display: block !important;
    margin-bottom: 0 !important;
  }

  .dropdown::before {
    display: none !important;
  }

  .has-dropdown.mob-open .dropdown {
    max-height: 500px !important;
    padding: 0.4rem 0.75rem 0.6rem !important;
    pointer-events: auto !important;
  }

  /* Untermenü-Einträge */
  .dropdown li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .dropdown li:last-child {
    border-bottom: none;
  }

  .dropdown li a {
    display: block !important;
    padding: 0.7rem 0 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background: none !important;
    white-space: normal !important;
  }

  .dropdown li a:hover {
    color: var(--accent) !important;
  }

  /* Grids */
  .media-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .reviews-grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0.5rem 1.5rem 1rem 2rem;
    margin: 0 -1.5rem 0 -2rem;
    scroll-padding-left: 2rem;
  }
  .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .reviews-grid .review-card {
    flex: 0 0 82vw;
    max-width: 340px;
    scroll-snap-align: start;
    padding: 1.5rem;
  }
  .reviews-grid .review-card:first-child {
    flex: 0 0 82vw;
    max-width: 340px;
    scroll-snap-align: start;
    padding: 1.5rem;
  }
  .reviews-grid .review-card .review-text {
    font-size: 0.6rem;
  }

  .reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
  }
  .reviews-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition:
      background 0.3s,
      transform 0.3s;
  }
  .reviews-dots .dot.active {
    background: var(--accent);
    transform: scale(1.3);
  }

  .intro-badges {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Jobs */
  .jobs-position {
    padding: 1.5rem;
  }
  .jobs-cta {
    padding: 1.75rem 1.25rem;
  }

  /* AGB */
  .agb-main-title {
    font-size: 1.7rem;
  }

  /* Jetcar */
  .jc-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 1.5rem;
  }
  .jc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .jc-made-in-germany {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
  }
}

/* ============================================================
   600px – Kleine Smartphones
   ============================================================ */
@media (max-width: 600px) {
  .vip-hero {
    height: 280px;
  }
  .vip-gallery {
    grid-template-columns: 1fr;
  }

  .awards-imgs img {
    height: 56px;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* ============================================================
   480px – Extra kleine Smartphones
   ============================================================ */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .intro-badges {
    grid-template-columns: 1fr;
  }
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .strip-item {
    border-right: none !important;
  }

  .section {
    padding: 50px 0;
  }

  .container,
  .nav-inner {
    padding: 0 1rem;
  }

  .accordion-btn {
    padding: 1.1rem 1.1rem;
    font-size: 0.9rem;
  }

  .vip-cta__inner {
    padding: 2rem 1.25rem;
  }

  .jc-hero {
    border-radius: 10px;
    margin-top: 1rem;
  }
}
