/* Clubkino Gelenau – V17.12 | 04.12.2026
   Korrektur der öffentlichen Startseite. Nur body[data-page="public"].
   Originale Hero-Inhalte; Plakate wie in der bestehenden „Demnächst“-Galerie.
   Keine Änderung der Film-/Reservierungslogik oder anderer Verwaltungsseiten. */
:root {
  --ck26-ink: #271b20;
  --ck26-wine: #62283d;
  --ck26-wine-deep: #321622;
  --ck26-gold: #edcc9d;
  --ck26-cream: #fffaf5;
  --ck26-outline: #e8dad0;
}
body[data-page="public"] {background:#f9f5ef;color:var(--ck26-ink)}
body[data-page="public"] .header,
body[data-page="public"] .mobile-nav {border-color:var(--ck26-outline)}
body[data-page="public"] .header-btn:not(.outline) {background:var(--ck26-wine);border-color:var(--ck26-wine);color:#fff8f1}
body[data-page="public"] .overline.dark {color:var(--ck26-wine)}
body[data-page="public"] .section-head h2,
body[data-page="public"] .film-overview h2,
body[data-page="public"] .contact h2 {color:var(--ck26-ink)}

/* ----------------------------------------------------------------------
   V17.13: Opener wie die urspruengliche index.html.
   Bild und Text OHNE abgerundete Karte oder Zusatztexte. Auf Mobilgeraeten
   BILD ZUERST, darunter Titel, Unterzeile und originale zwei Aktionen.
   Nur Farbwelt in warmes, leicht glaenzendes Bordeaux angepasst.
------------------------------------------------------------------------ */
body[data-page="public"] .hero.ck26-hero {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:0!important;width:100%!important;max-width:none!important;
  padding:0!important;margin:0!important;
  height:auto!important;min-height:clamp(440px,40vw,640px);
  background:#391d29!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:hidden;
}
body[data-page="public"] .hero.ck26-hero::before,
body[data-page="public"] .hero.ck26-hero::after{display:none!important}
body[data-page="public"] .hero.ck26-hero .hero-copy.ck26-hero-copy {
  position:relative;z-index:1;box-sizing:border-box;
  display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;
  width:100%;max-width:none!important;min-width:0;
  padding:clamp(30px,5.1vw,80px)!important;margin:0!important;
  background:radial-gradient(ellipse at 87% 14%,rgba(190,100,121,.24),transparent 58%),
             linear-gradient(118deg,#2c1a23 0%,#4e2235 58%,#682b42 100%)!important;
  color:#f7ecdf!important;border:0!important;border-radius:0!important;
  text-align:left!important;
}
body[data-page="public"] .hero.ck26-hero .ck26-hero-copy h1,
body[data-page="public"] .hero.ck26-hero .ck26-hero-copy h1 em {
  color:#edc590!important;font-family:Georgia,'Times New Roman',serif!important;
  font-weight:500!important;font-style:normal!important;
  letter-spacing:-.035em!important;line-height:1.09!important;
  text-transform:none!important;
}
body[data-page="public"] .hero.ck26-hero .ck26-hero-copy h1 {
  width:100%;max-width:none!important;margin:0 0 26px!important;
  font-size:clamp(2.9rem,4.7vw,5.4rem)!important;
  text-wrap:balance;
}
body[data-page="public"] .hero.ck26-hero .ck26-hero-copy p {
  font-size:clamp(1.05rem,1.42vw,1.3rem)!important;
  line-height:1.55!important;color:#f0e2de!important;
  width:auto;max-width:45ch;margin:0 0 26px!important;
  text-wrap:pretty;
}
body[data-page="public"] .hero.ck26-hero .hero-actions.ck26-hero-actions {
  display:flex!important;align-items:stretch;flex-wrap:wrap;
  gap:12px!important;margin:0!important;width:100%;
}
body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-primary,
body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-hero-reserve {
  box-sizing:border-box;display:inline-flex!important;justify-content:center;align-items:center;
  min-height:52px!important;padding:12px 20px!important;
  border-radius:8px!important;font-family:inherit!important;
  font-size:1rem!important;font-weight:700!important;line-height:1.35!important;
  text-decoration:none;box-shadow:none!important;cursor:pointer;
}
body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-primary {
  background:linear-gradient(116deg,#9b2b48 0%,#87243f 58%,#6e2440 100%)!important;
  color:#fff9f3!important;border:1px solid #aa425e!important;
}
body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-hero-reserve {
  background:rgba(255,255,255,.085)!important;color:#fff9f3!important;
  border:1px solid rgba(255,255,255,.5)!important;
}
body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-primary:hover{filter:brightness(1.12)}
body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-hero-reserve:hover{background:rgba(255,255,255,.16)!important}
body[data-page="public"] .hero.ck26-hero .hero-photo.ck26-hero-photo {
  position:relative;display:block!important;box-sizing:border-box;
  width:100%!important;height:100%!important;min-height:440px;
  max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:#341821;background-image:none!important;overflow:hidden;
}
body[data-page="public"] .hero.ck26-hero .hero-photo.ck26-hero-photo::before,
body[data-page="public"] .hero.ck26-hero .hero-photo.ck26-hero-photo::after{display:none!important}
body[data-page="public"] .hero.ck26-hero .ck26-hero-image {
  display:block!important;width:100%!important;height:100%!important;min-height:440px;
  object-fit:cover;object-position:center center;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
}
/* ----------------------------------------------------------------------
   PROGRAMM – wie „Demnächst“: echte Filmplakate, keine Beschriftung darauf.
   Einmal die vorhandenen Filmkarten als waagerechte Galerie wiedergeben.
------------------------------------------------------------------------ */
body[data-page="public"] .program.ck26-program,
body[data-page="public"] .film-overview.ck26-preview-section {
  box-sizing:border-box;
  width:min(1200px,calc(100% - 48px));max-width:1200px;
  margin:28px auto;
  padding:clamp(27px,3.8vw,46px);
  border:1px solid var(--ck26-outline);
  border-radius:19px;
  background:linear-gradient(145deg,#fffdfa 0%,#fcf5ee 100%);
  box-shadow:0 12px 36px rgba(62,31,43,.035);
}
body[data-page="public"] .ck26-section-head {gap:16px;align-items:center}
body[data-page="public"] .ck26-section-head h2 {margin-top:8px;line-height:1.18}
body[data-page="public"] .ck26-hint {background:#f5e6db;color:#663147;border-color:#efdbcd}
body[data-page="public"] .ck26-program-toolbar {
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
  padding:15px 0 13px;
}
body[data-page="public"] .ck26-view-switch {
  box-sizing:border-box;
  display:inline-flex;gap:4px;max-width:100%;
  padding:4px;
  border:1px solid #e8d8d0;
  border-radius:11px;
  background:#eee2dc;
}
body[data-page="public"] .ck26-view-button {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:40px;
  margin:0;padding:9px 16px;
  border:0;border-radius:8px;
  background:transparent;box-shadow:none;
  color:#694953;
  font-family:inherit;font-weight:700;font-size:.94rem;line-height:1.2;
  cursor:pointer;
}
body[data-page="public"] .ck26-view-button.is-active,
body[data-page="public"] .ck26-view-button[aria-pressed="true"] {
  background:var(--ck26-wine);color:#fff9f3;
  box-shadow:0 3px 7px rgba(68,28,44,.15);
}
body[data-page="public"] .ck26-visually-hidden {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
body[data-page="public"] #ck26-poster-panel[hidden],
body[data-page="public"] #ck26-calendar-panel[hidden],
body[data-page="public"] #filme[hidden],
body[data-page="public"] #now-showing[hidden],
body[data-page="public"] .ck26-poster-actions[hidden] {display:none!important}

/* V17.13: Eigene reine Bilderleiste statt geklonter V15-Karten mit
   sich widersprechenden festen Innenbreiten. Der Film-Dialog bleibt der alte. */
body[data-page="public"] #ck26-poster-grid.ck27-current-poster-track {
  --ck27-poster-gap:19px;
  box-sizing:border-box;display:flex!important;flex-flow:row nowrap!important;
  align-items:stretch!important;justify-content:flex-start!important;
  gap:var(--ck27-poster-gap)!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:5px 1px 14px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;scroll-padding-inline:1px;
  -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
  scrollbar-width:thin;scrollbar-color:#bca2a4 transparent;
}
body[data-page="public"] #ck26-poster-grid .ck27-poster-card {
  appearance:none;-webkit-appearance:none;
  box-sizing:border-box;display:block!important;
  flex:0 0 max(245px,calc((100% - 3 * var(--ck27-poster-gap))/4))!important;
  width:max(245px,calc((100% - 3 * var(--ck27-poster-gap))/4))!important;
  min-width:0!important;max-width:none!important;
  aspect-ratio:2/3!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;
  border:1px solid rgba(63,31,40,.12)!important;border-radius:10px!important;
  overflow:hidden!important;background:#eaded6!important;
  box-shadow:0 7px 17px rgba(54,26,34,.10)!important;
  cursor:pointer;scroll-snap-align:start;scroll-snap-stop:normal;
  transition:transform .18s ease, box-shadow .18s ease;
}
body[data-page="public"] #ck26-poster-grid .ck27-poster-card img {
  display:block!important;box-sizing:border-box;
  width:100%!important;height:100%!important;min-height:0!important;
  max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;
  object-fit:cover!important;object-position:center;
  border:0!important;border-radius:0!important;
}
body[data-page="public"] #ck26-poster-grid .ck27-poster-card:hover {
  transform:translateY(-3px);box-shadow:0 12px 22px rgba(54,26,34,.17)!important;
}
body[data-page="public"] #ck26-poster-grid .ck27-poster-card:focus-visible {
  outline:3px solid #ca996c!important;outline-offset:3px;
}
body[data-page="public"] #ck26-poster-grid .ck27-poster-card .ck27-poster-fallback {
  box-sizing:border-box;display:flex;justify-content:center;align-items:center;
  padding:18px;width:100%;height:100%;color:#512c3e;
  text-align:center;font-size:1rem;font-weight:700;overflow-wrap:anywhere;
}
body[data-page="public"] #ck26-poster-grid .ck27-poster-card .ck27-poster-fallback[hidden]{display:none!important}
body[data-page="public"] #ck26-poster-grid .ck26-poster-empty {
  flex:0 0 100%;max-width:100%;margin:12px 0!important;
  color:#775d67;padding:10px 0;
}
body[data-page="public"] .ck26-poster-actions {
  display:flex;justify-content:flex-end;gap:8px;margin:0 0 9px;
}
body[data-page="public"] #ck26-poster-grid .ck27-poster-card::before,
body[data-page="public"] #ck26-poster-grid .ck27-poster-card::after{display:none!important}
body[data-page="public"] .ck26-calendar-panel {
  border-top:1px solid var(--ck26-outline);padding-top:17px;
}
body[data-page="public"] #program-area .day-tab.active {
  background:var(--ck26-wine);color:white;border-color:var(--ck26-wine);
}
body[data-page="public"] .program-footnote {color:#806e71;margin-top:12px}

/* „Demnächst“ unverändert als funktionierende Original-Poster-Galerie. */
body[data-page="public"] .film-overview.ck26-preview-section {margin-top:24px;margin-bottom:38px}
body[data-page="public"] .ck26-preview-gallery-head {
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;
}
body[data-page="public"] .ck26-preview-lead {
  margin:0;color:#7a656c;font-size:.96rem;line-height:1.5;
}

/* Original mobile opener: PHOTO first, text panel BELOW it. */
@media (max-width: 980px) {
  body[data-page="public"] #ck26-poster-grid.ck27-current-poster-track {--ck27-poster-gap:15px}
  body[data-page="public"] #ck26-poster-grid .ck27-poster-card {
    flex-basis:max(245px,calc((100% - 2*var(--ck27-poster-gap))/3))!important;
    width:max(245px,calc((100% - 2*var(--ck27-poster-gap))/3))!important;
  }
}
@media (max-width: 700px) {
  body[data-page="public"] .hero.ck26-hero {
    display:flex!important;flex-direction:column-reverse!important;
    width:100%!important;min-height:0!important;
  }
  body[data-page="public"] .hero.ck26-hero .hero-photo.ck26-hero-photo {
    display:block!important;flex:none!important;
    order:initial;width:100%!important;
    min-height:0!important;height:clamp(215px,57vw,355px)!important;
  }
  body[data-page="public"] .hero.ck26-hero .ck26-hero-image {
    width:100%!important;height:100%!important;min-height:0!important;
    object-fit:cover!important;
  }
  body[data-page="public"] .hero.ck26-hero .hero-copy.ck26-hero-copy {
    display:flex!important;flex:none!important;
    width:100%!important;min-height:0!important;
    padding:clamp(30px,6.6vw,48px) clamp(22px,5.5vw,42px)!important;
  }
  body[data-page="public"] .hero.ck26-hero .ck26-hero-copy h1 {
    font-size:clamp(2.4rem,9.3vw,3.85rem)!important;
    margin:0 0 20px!important;
  }
  body[data-page="public"] .hero.ck26-hero .ck26-hero-copy p {
    font-size:1.07rem!important;line-height:1.5!important;
    margin-bottom:25px!important;
  }
  body[data-page="public"] .hero.ck26-hero .hero-actions.ck26-hero-actions {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;gap:10px!important;
  }
  body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-primary,
  body[data-page="public"] .hero.ck26-hero .ck26-hero-actions .ck26-hero-reserve {
    width:100%!important;min-width:0!important;min-height:58px!important;
    font-size:.98rem!important;padding:12px 10px!important;
    white-space:normal!important;text-align:center;
  }
  body[data-page="public"] #ck26-poster-grid.ck27-current-poster-track {--ck27-poster-gap:14px}
  body[data-page="public"] #ck26-poster-grid .ck27-poster-card {
    flex:0 0 min(73vw,270px)!important;width:min(73vw,270px)!important;
  }
  body[data-page="public"] .ck26-hint {display:none}
}
@media (max-width:440px) {
  body[data-page="public"] .program.ck26-program,
  body[data-page="public"] .film-overview.ck26-preview-section {
    width:calc(100% - 28px);margin-left:auto;margin-right:auto;
    padding:25px 18px;border-radius:16px;
  }
  body[data-page="public"] .ck26-view-button {min-width:0;padding:9px 12px;font-size:.88rem}
}
@media (prefers-reduced-motion:reduce) {
  body[data-page="public"] #ck26-poster-grid .ck27-poster-card {transition:none!important;transform:none!important}
}
