/* Smartphone View: bis 619px */

@media (max-width: 619px) {
  .wrap {
    width: min(100% - 20px, 1180px);
  }

  .nav {
    min-height: 66px;
    padding: 8px 0;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .logo {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 19px;
  }

  .brand small {
    display: none;
  }

  .nav-actions {
    gap: 5px;
  }

  .nav-actions .btn {
    min-width: 42px;
    padding: 9px 10px;
  }

  .nav-actions .btn span {
    display: none;
  }

  .hero {
    padding: 32px 0 22px;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.25;
  }

  h1 {
    margin-top: 14px;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -1.3px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .notice {
    padding: 13px 14px;
    font-size: 12px;
  }

  .toolbar {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .toolbar > .btn {
    width: 100%;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  .chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 26px;
  }

  .section-head h2 {
    font-size: 21px;
  }

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

  .thumb {
    height: 116px;
  }

  .card {
    min-height: 0;
  }

  .card-actions {
    align-items: stretch;
  }

  .card-actions .btn {
    min-height: 42px;
  }

  .legal {
    padding: 17px;
  }

  .footer-row {
    flex-direction: column;
  }

  dialog {
    width: calc(100% - 12px);
    border-radius: 17px;
  }

  .modal-head {
    padding: 12px;
  }

  .modal-foot {
    padding: 13px;
  }
}


@media (max-width: 619px) {
  .setting-row,
  .setting-row-range {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .setting-row input[type="checkbox"] {
    justify-self: start;
  }

  .range-wrap {
    min-width: 0;
    width: 100%;
  }

  .settings-actions {
    flex-direction: column-reverse;
  }

  .settings-actions .btn {
    width: 100%;
  }
}

@media (max-width: 619px) {
  .sponsor-wall-grid { grid-template-columns: 1fr !important; }
  .sponsor-slot { min-height: 138px; }
}

@media (max-width: 619px){ .sponsor-slot-placeholder{min-height:190px} .sponsor-placeholder-text strong{font-size:16px} }


/* AWARD MOBILE · URL-/Browserleisten-sicher */
@media (max-width: 619px) {
  :root { --header-h: 64px; }
  html { scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 10px); scrollbar-gutter:auto; }
  body { padding-bottom:max(14px, var(--safe-bottom)); }
  .wrap { width:min(100% - 20px, 1180px); }
  header { background:rgba(7,17,31,.94); }
  .nav { min-height:64px; padding:7px 0; gap:10px; }
  .brand { min-width:0; flex:1; }
  .brand > div:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .brand small { display:none; }
  .desktop-nav { display:none !important; }
  .mobile-menu { display:block; flex:0 0 auto; }
  .hero { padding:28px 0 18px; }
  h1 { font-size:clamp(34px, 10.5vw, 44px); line-height:1.01; letter-spacing:-1.25px; }
  .lead { font-size:15px; line-height:1.55; }
  .hero-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:18px; }
  .hero-actions .btn:first-child { grid-column:1/-1; }
  .hero-actions .btn { padding-inline:10px; font-size:12px; }
  .notice { margin-top:16px; border-radius:16px; }
  .toolbar { margin:18px 0 12px; gap:8px; }
  .search input { min-height:48px; padding-left:43px; }
  .filters {
    gap:7px; margin:0 -10px 20px; padding:2px 10px 8px; overflow-x:auto; overflow-y:hidden;
    scroll-snap-type:x proximity; scrollbar-width:none; overscroll-behavior-inline:contain;
  }
  .filters::-webkit-scrollbar { display:none; }
  .chip { scroll-snap-align:start; min-height:42px; padding:9px 12px; }
  .section-head { margin:24px 0 12px; gap:8px; }
  .section-head h2 { font-size:20px; line-height:1.2; }
  .section-head p { line-height:1.45; }
  #freeMediaGrid {
    display:grid; grid-auto-flow:column; grid-auto-columns:min(84vw, 340px); grid-template-columns:none;
    gap:12px; margin-inline:-10px; padding:2px 10px 14px; overflow-x:auto; overflow-y:hidden;
    scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-inline:contain;
  }
  #freeMediaGrid::-webkit-scrollbar { display:none; }
  #freeMediaGrid > .card { scroll-snap-align:center; scroll-snap-stop:always; }
  #grid { gap:12px; }
  .card { border-radius:18px; box-shadow:0 12px 34px rgba(0,0,0,.25); }
  .thumb { height:auto; min-height:118px; aspect-ratio:2.2/1; }
  .card-body { padding:15px; }
  .card-actions .btn { min-height:44px; }
  .fav { flex-basis:44px !important; }
  .free-world { margin-top:34px; }
  .free-world-note { font-size:12px; }
  .sponsor-wall-section { margin:32px 0; }
  .sponsor-wall-section .section-head { flex-direction:row; align-items:center; }
  .sponsor-wall-section .section-head .btn { flex:0 0 auto; font-size:0; width:44px; padding:0; }
  .sponsor-wall-section .section-head .btn::before { content:'🤝'; font-size:18px; }
  .sponsor-wall-grid {
    display:grid !important; grid-auto-flow:column; grid-auto-columns:min(84vw, 340px);
    grid-template-columns:none !important; gap:12px; margin-inline:-10px; padding:2px 10px 14px;
    overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none;
    overscroll-behavior-inline:contain;
  }
  .sponsor-wall-grid::-webkit-scrollbar { display:none; }
  .sponsor-slot { scroll-snap-align:center; scroll-snap-stop:always; min-height:0; aspect-ratio:16/10; border-radius:17px; }
  .sponsor-slot-placeholder { min-height:0 !important; }
  .sponsor-placeholder-text { padding:13px; }
  .sponsor-placeholder-text span { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  footer { padding-bottom:calc(28px + var(--safe-bottom)); }
  dialog {
    width:calc(100% - 12px); max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 12px);
    margin:auto auto max(6px, var(--safe-bottom)); border-radius:22px 22px 16px 16px;
  }
  .settings-dialog { width:calc(100% - 12px); }
  .modal-head { position:sticky; top:0; z-index:2; background:#0c1829; }
  .modal-head .btn { width:44px; min-width:44px; padding:0; }
  .settings-body { padding-inline:15px; }
  .settings-actions { position:sticky; bottom:0; z-index:2; padding-bottom:calc(12px + var(--safe-bottom)); background:#0c1829; }
  .ratio, .free-player-video, .free-player-iframe { max-height:62dvh; }
}

@media (max-width: 380px) {
  .wrap { width:calc(100% - 16px); }
  .logo { width:38px; height:38px; }
  .brand { font-size:13px; }
  h1 { font-size:33px; }
  .hero-actions { grid-template-columns:1fr; }
  .hero-actions .btn:first-child { grid-column:auto; }
  #freeMediaGrid, .sponsor-wall-grid { grid-auto-columns:88vw; margin-inline:-8px; padding-inline:8px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 54px; }
  .nav { min-height:54px; padding-block:4px; }
  .logo { width:36px; height:36px; border-radius:11px; font-size:17px; }
  .hero { padding:16px 0 12px; }
  .hero .eyebrow, .hero .kicker { display:none; }
  h1 { font-size:34px; margin-block:8px; }
  .lead { font-size:13px; line-height:1.4; }
  .notice { padding:10px 12px; }
  dialog { max-height:calc(100dvh - 8px); }
}

/* V1: zwei Kulturkarten im ersten Filmwelt-Bereich sichtbar, große Hauptwand bleibt fokussierter */
@media (max-width:619px){
  .sponsor-wall-free_world .sponsor-wall-grid{
    grid-auto-columns:72vw !important;
  }
  .sponsor-wall-index_top .sponsor-wall-grid{
    grid-auto-columns:84vw !important;
  }
  .sponsor-wall-free_world .sponsor-slot{aspect-ratio:16/9}
}
