/* Messekonzept (pages/concept.js, Jacek 26.10.2026): die LEDdays auf einen Blick, Handy zuerst. Kacheln für Partner und Marken nutzen .partner
   aus site.css; die Marken-Zeilen (lib/brands.js brandsExcerpt) bekommen hier eigene, kleine Regeln statt home.css (Ladezeit).
   Logos in Farbe (Jacek 25.10.2026), Fassung „dunkel“ auf dunkler Kachel wie im Hallenplan. Keine Inline-Stile (CSP). */

/* ---------- Kopf: drei Fakten ---------- */
.cc-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.cc-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper);
  font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.cc-facts .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--lila); }
.cc-facts b { color: var(--ink); }

/* ---------- Abschnitte ---------- */
/* Abstand zwischen den Kapiteln etwa halbiert (Jacek 26.10.2026: „Abstand ist in den Kapiteln zu groß“) – .section.tight setzt oben und unten je den vollen Abstand */
.section.tight.cc-sec { padding-block: clamp(14px, 2.2vw, 26px); }
.section.tight.cc-sec.cc-end { padding-bottom: clamp(28px, 4vw, 48px); }
.cc-sec h2 { margin-bottom: .35em; }
.cc-sec h3 { margin: 1.3em 0 .5em; font-size: 1.05rem; }
.cc-sub, .cc-note { color: var(--ink-2); }
.cc-sub { margin-top: 0; }
.cc-note { font-size: .95rem; margin-top: 12px; }
/* LEDdays Live für Besucher (pages/concept.js liveSchedule): Zeitplan je Slot wie die Zeilen des Messeprofils – keine zusätzlichen Abstände */
.cc-sec h2 + h3 { margin-top: .4em; }
.cc-live-h { margin: 12px 0 6px; font-size: .95rem; color: var(--ink); }
.cc-live { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.cc-live li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line);
  font-size: .95rem; line-height: 1.4; }
.cc-live-t { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; }
.cc-live-t b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-live-t small { color: var(--muted); font-size: .85rem; }
.cc-live-c { color: var(--ink); font-weight: 600; text-align: right; }
.cc-live-c.is-tbd { color: var(--muted); font-weight: 400; }

/* Schwerpunkt 70/20/10 als Liste */
.cc-mix { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.cc-mix li { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.cc-mix b { font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--lila); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-mix span { color: var(--ink-2); line-height: 1.45; }
.cc-mix strong { display: block; color: var(--ink); }

/* Programm: die vier Logos (lib/layout.js formatLockup) */
.cc-fmts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cc-fmts li { display: flex; min-width: 0; }
/* Kachel = Link bzw. Pop-up (Jacek 26.10.2026): ⓘ in der Ecke, beim Zeigen lila Rahmen */
.cc-fmt { position: relative; display: flex; align-items: center; width: 100%; min-width: 0; min-height: 64px; padding: 14px 40px 14px 14px; border: 1px solid var(--line);
  border-radius: var(--r-m); background: var(--paper); color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cc-fmt:hover, .cc-fmt:focus-visible { border-color: var(--lila); box-shadow: 0 0 0 1px var(--lila); }
.cc-fmt:focus-visible { outline: 2px solid var(--lila); outline-offset: 2px; }
.cc-fmt .fmt-lockup { min-width: 0; }
.cc-fmt-i { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; color: var(--lila); }

/* Pop-up je Format (Popover: X, Esc, Klick daneben) */
.cc-pop { box-sizing: border-box; width: min(34rem, calc(100% - 32px)); max-height: calc(100% - 48px); overflow: auto; margin: auto; padding: 22px 22px 20px;
  border: 0; border-top: 4px solid var(--lila); border-radius: var(--r-l); background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(22, 19, 29, .28); }
.cc-pop::backdrop { background: rgba(22, 19, 29, .45); }
.cc-pop-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-2); cursor: pointer; }
.cc-pop-x:hover { background: var(--stone); }
.cc-pop-x .icon { width: 20px; height: 20px; }
.cc-pop-t { margin: 0 44px 12px 0; font-size: 1.1rem; }
.cc-pop p { margin: 0 0 10px; color: var(--ink-2); line-height: 1.5; }
.cc-pop-meta { font-size: .9rem; }
.cc-pop-day h4 { margin: 14px 0 6px; font-size: .95rem; color: var(--ink); }
.cc-pop-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cc-pop-day li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 10px; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.cc-pop-day time { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-pop-day small { display: block; color: var(--muted); font-size: .8rem; }
.cc-pop .cc-pop-note { margin-top: 14px; font-size: .8rem; color: var(--muted); }

/* LEDTEK Night und Merch */
/* Bild oben in der Kachel (Jacek 11.11.2026: „schau, ob wir hier noch ein Bild, was du gerade generiert hast, einsetzen können“): randlos bis an die
   Kachelkante, Bildnachweis klein darunter */
.cc-pair .cc-pic { margin: -16px -16px 14px; }
.cc-pair .cc-pic picture, .cc-pair .cc-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m) var(--r-m) 0 0; }
.cc-pair .cc-pic figcaption { margin: 6px 16px 0; font-size: .75rem; color: var(--muted); }
.cc-pair { display: grid; gap: 12px; margin-top: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cc-pair > div { padding: 16px; border-radius: var(--r-m); background: var(--stone); color: var(--ink-2); }
/* Links unter Hütte, Night, Merch (11.11.2026) – unten bündig, auch wenn die Texte verschieden lang sind */
.cc-pair > div { display: flex; flex-direction: column; }
.cc-pair > div > p { margin: 0 0 12px; }
.cc-pair > div > .cc-go { margin-top: auto; align-self: flex-start; }
.cc-pair h3 { margin: 0 0 .35em; color: var(--ink); }
/* v2.css gibt Überschriften oben 36 px Abstand – in der Kachel oben leerer Raum (Jacek 11.11.2026, Bild: große Lücke über „LEDTEK Night“ und „Merch“) */
.cc-sec .cc-pair > div > h3 { margin-top: 0; }
/* ungerade Anzahl: die letzte Kachel (Merch) über die ganze Breite */
.cc-pair > div:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }

/* ---------- Partner: Logos in Farbe ---------- */
.cc-tier + .cc-tier { margin-top: 6px; }
.cc-tier h3 { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cc-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cc-logos .partner { min-height: 84px; padding: 14px; }
.cc-logos .partner > a { display: grid; place-items: center; width: 100%; min-height: 56px; }
.cc-logos .partner img { max-height: 40px; }
.cc-logos .partner .logo-ledtek { width: min(150px, 80%); color: var(--ink); }

/* ---------- Marken: Zeilen wie auf der Startseite ---------- */
.cc-brands { display: grid; border-bottom: 1px solid var(--line); }
.cc-brands .br-group { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.cc-brands .br-k { margin: 0; font-size: .8rem; font-weight: 600; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cc-brands .br-open { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 44px; color: inherit; text-decoration: none; }
.cc-brands .br-n { display: inline-block; padding: .15em .65em; border-radius: var(--r-pill); background: var(--stone-2); font-size: .75rem; font-weight: 600;
  letter-spacing: normal; text-transform: none; color: var(--ink-2); }
.cc-brands .br-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cc-brands .partner { min-height: 64px; padding: 10px 8px; }
.cc-brands .partner img { max-height: 26px; }
.cc-brands .partner .logo-ledtek { width: min(110px, 85%); color: var(--ink); }
.cc-brands .partner.is-dark { background: #1D1A24; border-color: #1D1A24; }   /* LOGO_TILE_DARK (lib/profile.js) */
/* Marke ohne Logo (Jacek 11.11.2026, Bild der Seite: INNODECK, AGORA, AUVITRAN abgeschnitten): der Name passt in die Kachel – kleiner, fett, in Versalien
   wie ein Schriftzug; Rahmen wie die Logo-Kacheln (nicht gestrichelt wie ein Platzhalter „Logo folgt“, site.css) */
.cc-brands .partner.is-name { background: var(--paper); border: 1px solid var(--hairline); }
.cc-brands .partner.is-name span { max-width: 100%; font-size: clamp(.68rem, 1.05vw, .875rem); font-weight: 700; line-height: 1.2; letter-spacing: .04em; color: var(--ink-2); overflow-wrap: anywhere; }
.cc-brands .partner.br-more { padding: 0; background: var(--lila-tint); border: 0; }
.cc-brands .br-more a { display: grid; place-items: center; width: 100%; min-height: 64px; padding: 10px; border-radius: inherit; font-size: .875rem; font-weight: 600;
  color: var(--lila-deep, var(--lila)); text-decoration: none; }

/* ---------- Knöpfe ---------- */
.cc-ctas { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cc-ctas .btn { width: 100%; justify-content: center; text-align: center; }

@media (min-width: 760px) {
  .cc-fmts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cc-logos { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .cc-brands .br-group { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: center; gap: 10px 32px; }
  .cc-brands .br-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cc-ctas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Jacek 26.10.2026: „die Abstände hier sind jetzt zu klein, zu eng alles“ – innerhalb der Kapitel ein ruhiger Rhythmus:
   vor Zwischenüberschriften 36 px, Überschrift → Inhalt 12 px, Kacheln → Satz 14 px, Satz → Kästen 28 px */
.cc-sec h3 { margin: 36px 0 12px; }
.cc-sec h2 + h3 { margin-top: 8px; }
.cc-sec .cc-live-h { margin: 22px 0 10px; }
.cc-sec .cc-note { margin-top: 14px; }
.cc-sec .cc-pair { margin-top: 28px; }
