
/* ── PROJEKT TABS NAVIGATION ── */
.project-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
  align-items: center;
}
/*
 * conntxt — Inhaltsblöcke CSS
 * Version: 1.0
 *
 * Diese Datei enthält ausschließlich CSS für die Shortcode-Inhaltsblöcke.
 * Sie ist bewusst vom Theme getrennt, damit die Blöcke perspektivisch
 * als eigenständige WordPress-Plugins ausgeliefert werden können.
 *
 * Abhängigkeit: var(--token) aus dem Theme (style.css).
 * Dark Mode: automatisch über prefers-color-scheme via Theme-Tokens.
 *
 * Blöcke in dieser Datei:
 *  1.  Gemeinsame Block-Basisregeln
 *  2.  Solution Box         [solution_box]
 *  3.  Vis Steps            [vis_steps]
 *  4.  Phasen Timeline      [phasen]
 *  5.  Revenue Grid         [revenue_grid]
 *  6.  Stats Grid           (intern)
 *  7.  Problem Grid         [problem_grid]
 *  8.  Feature Grid         (intern)
 *  9.  Sources Grid         (intern)
 * 10.  EU Box / Checks      (intern)
 * 11.  Förder Grid          (intern)
 * 12.  Badges Grid          (intern)
 * 13.  Toolbox Grid         (intern)
 * 14.  Competition Table    [competition_table]
 * 15.  Masterboard          [masterboard]
 * 16.  Personas             [persona_board]
 * 17.  Galerie / Slideshow  [galerie]
 * 18.  Bild Grid            [bild_grid]
 * 19.  Karussell            (intern)
 * 20.  Hero Banner          [hero_banner]
 * 21.  Media Block          [media_block]
 * 22.  Moodboard            [moodboard]
 * 23.  Kotter               [kotter]
 * 24.  Pyramide             [pyramide]
 * 25.  Fortschritt          [fortschrittsbalken]
 * 26.  Typowolke            [typowolke]
 * 27.  Vita Info            [vita_info]
 * 28.  Vita CV              [vita_cv]
 * 29.  Skill Block          [skills_block]
 * 30.  Persona Blöcke CN    [cn_personas]
 * 31.  Media Wall           [media_wall]  ← NEU
 * 32.  Block Responsive
 */

/* ══════════════════════════════════════════════════════
   1. GEMEINSAME BLOCK-BASISREGELN
   ══════════════════════════════════════════════════════ */

/* Alle Block-Container: weißer Hintergrund, kein BG-Bild */
.cn-solution-box, .cn-vis-steps, .cn-vis-step,
.solution-box, .setup-box,
.phases-timeline, .phase-card,
.revenue-grid, .rev-card,
.cn-revenue-grid, .cn-rev-card,
.stats-grid, .stat-card,
.problem-grid, .problem-card,
.features-grid, .feature-card,
.sources-grid, .source-card,
.eu-box, .eu-check,
.foerder-grid, .foerder-card,
.badges-grid, .badge-card,
.toolbox-grid, .tool-card,
.competition-table,
.cn-masterboard, .cn-masterboard__header, .cn-masterboard__list, .cn-masterboard__item,
.masterboard-visual,
.persona-board, .cn-persona-board-wrap, .cn-personas, .cn-personas__panel,
.cn-galerie-wrap, .cn-galerie-slideshow, .cn-galerie-grid,
.cn-bild-grid, .cn-bild-grid__item,
.cn-carousel__item, .cn-carousel__img-wrap,
.cn-hero-banner,
.cn-media-block,
.cn2-moodboard, .cn2-kotter, .cn2-pyramide,
.cn2-fortschritt, .cn2-vita-info, .cn2-vita-cv,
.cn2-typowolke,
.cn-media-wall, .cn-mw-cell {
  background-color: var(--bg);
  background-image: none;
}

/* Block-Headlines gold */
.cn-solution-box__quote, .solution-quote,
.cn-vis-step__title, .vis-step__title,
.cn-media-block__headline, .cn-media-block__headline h1,
.cn-media-block__headline h2, .cn-media-block__headline h3,
.cn-hero-banner__title, .cn-bild-grid__title,
.ws-toggle-title, .cn-personas__title,
.feature-title, .phase-title, .badge-title, .tool-title,
.fc-title, .problem-title, .rev-name, .cn-rev-name,
.persona-name, .cn-masterboard__name, .ov-name {
  color: var(--gold) !important;
}

/* Mindest-Schriftgröße: nur auf Text-Elemente, nicht auf *-Wildcard */
/* Wildcard font-size entfernt — bricht SVG, iframes, Galerien */

/* Block-Ecken-Konzept */
.cn-solution-box, .cn-vis-step, .cn-rev-card,
.phase-card, .feature-card, .source-card, .badge-card,
.tool-card, .problem-card, .stat-card,
.eu-check, .cn-masterboard__item,
.cn-carousel__item, .cn2-kotter,
.cn2-pyramide, .cn2-fortschritt,
.cn-media-wall, .cn-mw-cell {
  border-radius: 0 var(--r-corner) 0 var(--r-corner);
}

/* ══════════════════════════════════════════════════════
   2. SOLUTION BOX
   ══════════════════════════════════════════════════════ */
.solution-box, .cn-solution-box {
  border: 1px solid var(--gold-bd);
  padding: 36px;
  margin-bottom: 32px;
}
.solution-quote, .cn-solution-box__quote {
  font-family: var(--font-ui, Arial Black, Arial, sans-serif);
  font-size: clamp(16px,2.3vw,27px);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
}
.solution-quote em, .cn-solution-box__quote em { color: var(--gold); font-style: normal; }
.solution-sub, .cn-solution-box__sub { font-size: 13px; color: var(--text2); line-height: 1.75; max-width: 660px; margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════
   3. VIS STEPS
   ══════════════════════════════════════════════════════ */
.cn-vis-steps { display: flex; flex-direction: column; gap: 8px; max-width: 66.666%; }
.vis-step, .cn-vis-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; background: var(--bg); border: 1px solid var(--bd);
}
.vis-icon, .cn-vis-step__img {
  width: 40px; height: 40px; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-light);
}
.cn-vis-step__img img { width: 100%; height: 100%; object-fit: cover; }
.vis-step__title, .cn-vis-step__title {
  font-family: var(--font-ui, Arial Black, Arial, sans-serif);
  font-size: 17px !important;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.vis-step__body, .cn-vis-step__body { font-size: 15px !important; color: var(--text2); line-height: 1.55; margin-bottom: 8px; }
.cn-vis-step__content { flex: 1; display: flex; flex-direction: column; }
.cn-vis-step__btn-row { display: flex; justify-content: flex-end; margin-top: 6px; }

/* ══════════════════════════════════════════════════════
   4. PHASEN TIMELINE
   ══════════════════════════════════════════════════════ */
.phases-timeline { display: flex; flex-direction: column; position: relative; }
.phases-timeline::before {
  content: ''; position: absolute; left: 19px; top: 26px; bottom: 26px;
  width: 1px; background: linear-gradient(to bottom, var(--gold), var(--bd));
}
.phase-row { display: grid; grid-template-columns: 40px 1fr; gap: 18px; position: relative; }
.phase-dot {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px !important; font-weight: 900;
  flex-shrink: 0; z-index: 1; margin-top: 4px;
  color: var(--gold); background: var(--gold-light); border: 1px solid var(--gold-bd);
}
.phase-card { background: var(--bg); border: 1px solid var(--bd); padding: 20px 24px; margin-bottom: 6px; }
.phase-label { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px !important; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; color: var(--gold); }
.phase-body { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 10px; }
.phase-tags { display: flex; gap: 5px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   5. REVENUE GRID
   ══════════════════════════════════════════════════════ */
.revenue-grid, .cn-revenue-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.rev-card, .cn-rev-card {
  background: var(--bg); border: 1px solid var(--bd);
  padding: 20px; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.rev-card::after, .cn-rev-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; }
.rev-card--1::after, .cn-rev-card--1::after { background: var(--green); }
.rev-card--2::after, .rev-card--3::after, .rev-card--4::after,
.cn-rev-card--2::after, .cn-rev-card--3::after, .cn-rev-card--4::after { background: var(--gold); }
.rev-stream, .cn-rev-stream { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px !important; text-transform: uppercase; letter-spacing: .12em; color: var(--text3); margin-bottom: 7px; }
.rev-name, .cn-rev-name { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.rev-price, .cn-rev-price { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 20px; color: var(--gold); margin-bottom: 4px; letter-spacing: .12em; }
.rev-detail, .cn-rev-detail { font-size: 13px; color: var(--text2); line-height: 1.5; margin-bottom: 12px; flex: 1; }

/* ══════════════════════════════════════════════════════
   6. STATS GRID
   ══════════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.stat-card { background: var(--bg); border: 1px solid var(--bd); padding: 20px; text-align: center; }
.stat-num { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 28px; color: var(--gold); margin-bottom: 4px; letter-spacing: .12em; }
.stat-label { font-size: 13px; color: var(--text2); text-transform: uppercase; letter-spacing: .1em; line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   7. PROBLEM GRID
   ══════════════════════════════════════════════════════ */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.problem-card {
  background: var(--bg); border: 1px solid var(--bd); padding: 24px;
  position: relative; overflow: hidden; transition: border-color .2s;
}
.problem-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); }
.problem-title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li { font-size: 13px; color: var(--text2); padding: 2px 0 2px 11px; position: relative; }
.problem-list li::before { content: '–'; position: absolute; left: 0; color: var(--text3); }

/* ══════════════════════════════════════════════════════
   8. FEATURE GRID
   ══════════════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.feature-card { background: var(--bg); border: 1px solid var(--bd); padding: 22px; transition: border-color .25s; }
.feature-card:hover { border-color: var(--gold); }
.feature-title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 18px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.feature-body { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ══════════════════════════════════════════════════════
   9. SOURCES GRID
   ══════════════════════════════════════════════════════ */
.sources-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.source-card { background: var(--bg); border: 1px solid var(--bd); padding: 16px; }
.source-card--highlight { border-color: var(--gold-bd); }
.source-cat { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px !important; text-transform: uppercase; letter-spacing: .12em; color: var(--text3); margin-bottom: 7px; }
.source-card--highlight .source-cat { color: var(--gold); }
.source-items { font-size: 13px; color: var(--text2); line-height: 1.8; }
.source-note { background: var(--bg); border: 1px solid var(--bd); border-left: 3px solid var(--gold); padding: 16px 20px; font-size: 13px; color: var(--text2); line-height: 1.7; margin-top: 16px; }

/* ══════════════════════════════════════════════════════
   10. EU BOX
   ══════════════════════════════════════════════════════ */
.eu-box { background: var(--bg); border: 1px solid var(--bd); padding: 32px; margin-bottom: 24px; }
.eu-box p { font-size: 13px; color: var(--text2); line-height: 1.8; max-width: 680px; }
.eu-box strong { color: var(--text); font-weight: 500; }
.eu-checks { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.eu-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text2); background: var(--bg); border: 1px solid var(--bd); padding: 11px 13px; }
.eu-check__icon { width: 15px; height: 15px; flex-shrink: 0; background: var(--gold); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* ══════════════════════════════════════════════════════
   11. FÖRDER GRID
   ══════════════════════════════════════════════════════ */
.foerder-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 24px; }
.foerder-card { background: var(--bg); border: 1px solid var(--bd); padding: 24px; transition: border-color .2s; }
.foerder-card:hover { border-color: var(--gold); }
.foerder-card--primary { border-color: var(--gold-bd); }
.fc-title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 18px !important; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.fc-body { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 8px; }
.fc-detail { font-size: 13px; color: var(--text3); }
.foerder-note { background: var(--bg); border: 1px solid var(--bd); border-left: 3px solid var(--gold); padding: 16px 20px; font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ══════════════════════════════════════════════════════
   12. BADGES GRID
   ══════════════════════════════════════════════════════ */
.badges-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.badge-card { background: var(--bg); border: 1px solid var(--bd); padding: 18px; }
.badge-title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 16px !important; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.badge-body { font-size: 13px; color: var(--text2); line-height: 1.6; }
.badge-source { margin-top: 6px; font-size: 13px; color: var(--text3); font-style: italic; }

/* ══════════════════════════════════════════════════════
   13. TOOLBOX GRID
   ══════════════════════════════════════════════════════ */
.toolbox-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.tool-card { background: var(--bg); border: 1px solid var(--bd); padding: 20px; }
.tool-phase { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px !important; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 9px; color: var(--gold); }
.tool-title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.tool-body { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════
   14. COMPETITION TABLE
   ══════════════════════════════════════════════════════ */
.competition-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 24px; }
.competition-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 480px; border: 1px solid var(--bd); }
.competition-table th {
  background: var(--bg); padding: 11px 14px; text-align: left;
  font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 13px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
  border-bottom: 1px solid var(--bd);
  text-shadow: none !important;
}
.competition-table td {
  padding: 11px 14px; font-size: 13px; border-bottom: 1px solid var(--bd);
  vertical-align: middle; color: var(--text2);
  text-shadow: none !important;
}
.competition-table tr:last-child td { border-bottom: none; }
.competition-table tr.ov-row td { background: rgba(201,168,76,.04); }
.competition-table tr.ov-row td:first-child { border-left: 3px solid var(--gold); }
.check-y { color: var(--gold); font-weight: 500; }
.check-n { color: var(--text3); }
.ov-name { font-family: var(--font-ui, Arial Black, Arial, sans-serif); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--text); }

/* ══════════════════════════════════════════════════════
   15. MASTERBOARD
   ══════════════════════════════════════════════════════ */
.cn-masterboard { background: var(--bg); border: 1px solid var(--gold-bd); overflow: hidden; border-radius: 0 var(--r-corner) 0 var(--r-corner); }
.cn-masterboard__header { background: var(--bg); border-bottom: 1px solid var(--bd); padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.cn-masterboard__avatar { width: 30px; height: 30px; overflow: hidden; flex-shrink: 0; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; font-weight: 700; }
.cn-masterboard__name { font-size: 13px; font-weight: 600; color: var(--text); }
.cn-masterboard__sub { font-size: 13px; color: var(--text2); }
.cn-masterboard__list { padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.cn-masterboard__item { background: var(--bg); border: 1px solid var(--bd); padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; }
.cn-masterboard__board-name { font-size: 13px; font-weight: 500; color: var(--text); }
.cn-masterboard__board-sub { font-size: 13px; color: var(--text2); margin-top: 1px; }
.cn-mb-vis-public, .cn-mb-vis-follower, .cn-mb-vis-collab {
  background: var(--gold) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: var(--font-ui, Arial Black, Arial, sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  display: inline-block !important;
}
.cn-mb-vis-private {
  background: transparent;
  color: var(--text3);
  border: 1px solid var(--bd);
  border-radius: 0 !important;
  font-family: var(--font-ui, Arial Black, Arial, sans-serif) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  display: inline-block !important;
}

/* ══════════════════════════════════════════════════════
   16. PERSONAS
   ══════════════════════════════════════════════════════ */
.personas-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.persona-panel { display: none; }
.persona-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.p-avatar { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 16px; margin-bottom: 14px; background: var(--gold); color: #fff; }
.persona-name { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
.persona-role { font-size: 13px; color: var(--text2); margin-bottom: 14px; }
.persona-story { font-size: 13px; color: var(--text2); line-height: 1.8; }
.persona-board { background: var(--bg); border: 1px solid var(--bd); overflow: hidden; }
.pb-bar { background: var(--bg); border-bottom: 1px solid var(--bd); padding: 8px 11px; display: flex; align-items: center; gap: 6px; }
.pb-bar__title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.pb-bar__status { margin-left: auto; font-size: 13px; color: var(--gold); font-family: var(--font-ui, Arial Black, Arial, sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.pb-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 6px; }
.pb-tile { height: 62px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; background: var(--bg); }

/* CN Personas */
.cn-personas { width: 100%; }
.cn-personas .personas-nav { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 24px; }
.cn-personas__panel { display: none; }
.cn-personas__panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cn-personas__left { display: flex; flex-direction: column; gap: 16px; }
.cn-personas__eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.cn-personas__title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: clamp(20px,2.5vw,28px); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cn-personas__text { font-size: 13px; color: var(--text2); line-height: 1.75; }
.cn-personas__img-wrap { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.cn-personas__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cn-personas__img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--surf2); display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: .3; }
.cn-persona-board__tile-overlay { display: none !important; background: none !important; box-shadow: none !important; }
.cn-persona-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; width: 100%; }
.cn-persona-board__tile { position: relative; aspect-ratio: 1/1; background-size: cover; background-position: center; overflow: hidden; display: flex; align-items: flex-end; cursor: pointer; min-height: clamp(120px,20vw,240px); }
.cn-persona-board__tile-inner { position: relative; z-index: 2; padding: 10px 12px; width: 100%; }
.cn-persona-board__subhead { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; line-height: 1.3; }
.cn-persona-board-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; background: var(--bg); }

/* ══════════════════════════════════════════════════════
   17. GALERIE / SLIDESHOW
   ══════════════════════════════════════════════════════ */
.cn-galerie-wrap { background: var(--bg); padding: clamp(16px,3vw,40px) clamp(20px,5vw,80px); }
.cn-galerie-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; background: transparent; }
.cn-galerie-grid__item { position: relative; cursor: pointer; overflow: hidden; aspect-ratio: 1; background: var(--bg); }
.cn-galerie-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-galerie-grid__tags { position: absolute; bottom: 0; left: 0; right: 0; padding: 4px 6px; display: flex; flex-wrap: wrap; gap: 3px; }
.cn-galerie-grid__tags .chip { background: var(--gold); color: #fff; border: none; font-size: 13px; }
.cn-galerie-single { display: none; background: transparent; }
.cn-galerie-single.active { display: block; }
.cn-galerie-single__img { width: 100%; max-height: 80vh; object-fit: contain; display: block; background: transparent; }
.cn-galerie-slideshow { background: var(--bg); width: 100%; padding: clamp(20px,4vw,48px) clamp(20px,5vw,80px); box-sizing: border-box; }
.cn-galerie-slideshow__main { width: 100%; display: flex; justify-content: center; align-items: center; min-height: 200px; }
.cn-galerie-slideshow__img { max-width: 100%; max-height: 65vh; object-fit: contain; display: block; margin: 0 auto; }
.cn-galerie-slideshow__thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.cn-galerie-slideshow__thumb { width: 64px; height: 48px; object-fit: cover; cursor: pointer; opacity: .55; border: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.cn-galerie-slideshow__thumb:hover, .cn-galerie-slideshow__thumb.active { opacity: 1; border-color: var(--gold); }

/* ══════════════════════════════════════════════════════
   18. BILD GRID
   ══════════════════════════════════════════════════════ */
.cn-bild-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 0; border-bottom: 2px solid var(--gold); overflow: hidden; }
.cn-bild-grid__item { position: relative; aspect-ratio: 1/1; background-size: cover; background-position: center; border: 1px solid var(--bd); display: flex; align-items: center; overflow: hidden; cursor: pointer; background: var(--bg); }
.cn-bild-grid__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .3s; }
.cn-bild-grid__item:hover .cn-bild-grid__overlay { background: rgba(0,0,0,.25); }
.cn-bild-grid__inner { position: relative; z-index: 2; padding: 20px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.cn-bild-grid__title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.cn-bgrid-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(255,255,255,.97); display: none; align-items: center; justify-content: center; }
.cn-bgrid-lightbox.open { display: flex; }
.cn-bgrid-lightbox__img { max-width: 95vw; max-height: 92vh; object-fit: contain; }

/* ══════════════════════════════════════════════════════
   19. KARUSSELL
   ══════════════════════════════════════════════════════ */
.cn-carousel { position: relative; width: 100%; margin: 24px 0; }
.cn-carousel__track-wrap { display: flex; align-items: center; }
.cn-carousel__track { display: flex; gap: 16px; overflow: hidden; scroll-behavior: smooth; flex: 1; scroll-snap-type: x mandatory; }
.cn-carousel__item { flex: 0 0 auto; width: 260px; border: 1px solid var(--gold); overflow: hidden; background: var(--bg); transition: border-color .2s; scroll-snap-align: start; }
.cn-carousel__item:hover { border-color: var(--gold-dark); }
.cn-carousel__img-wrap { height: 180px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.cn-carousel__img-wrap img { width: auto; height: 100%; object-fit: cover; }
.cn-carousel__tags { padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.cn-carousel__btn { flex-shrink: 0; width: 36px; height: 36px; background: transparent; border: 1px solid var(--gold); color: var(--gold); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; border-radius: 0 var(--r-corner) 0 var(--r-corner); }
.cn-carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.cn-carousel__dot { width: 8px; height: 8px; background: var(--bd); border: 1px solid var(--gold); cursor: pointer; padding: 0; }
.cn-carousel__dot.active { background: var(--gold); }

/* ══════════════════════════════════════════════════════
   20. HERO BANNER
   ══════════════════════════════════════════════════════ */
.cn-hero-banner { position: relative; width: 100%; min-height: 320px; background-size: cover; background-position: center; border-bottom: 2px solid var(--gold); overflow: hidden; display: flex; align-items: center; }
.cn-hero-banner__inner { position: relative; z-index: 2; padding: 50px; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.cn-hero-banner__title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: clamp(42px,6vw,78px); font-weight: 900; line-height: 1.0; letter-spacing: .12em; text-transform: uppercase; margin: 0; }

/* ══════════════════════════════════════════════════════
   21. MEDIA BLOCK
   ══════════════════════════════════════════════════════ */
.cn-media-block { width: 100%; display: flex; align-items: center; gap: clamp(20px,4vw,60px); padding: clamp(20px,4vw,60px) clamp(20px,5vw,80px); background: var(--bg); box-sizing: border-box; }
.cn-media-block--reverse { flex-direction: row-reverse; }
.cn-media-block__media { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cn-media-block__media--half { flex: 0 0 50%; max-width: 50%; }
.cn-media-block__media--third { flex: 0 0 33.333%; max-width: 33.333%; }
.cn-media-block__media--full { flex: 0 0 92%; max-width: 92%; }
.cn-media-block__media img { width: 100%; height: auto; display: block; }
.cn-media-block__content { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.cn-media-block__headline { margin: 0; line-height: 1.15; }
.cn-media-block__text { font-size: 14px; color: var(--text2); line-height: 1.75; }

/* ══════════════════════════════════════════════════════
   22. MOODBOARD
   ══════════════════════════════════════════════════════ */
.cn2-moodboard { width: 100%; box-sizing: border-box; background: var(--bg); }
.cn2-moodboard img { object-fit: cover; width: 100%; height: 100%; display: block; }

/* ══════════════════════════════════════════════════════
   23. KOTTER
   ══════════════════════════════════════════════════════ */
.cn2-kotter { width: 100%; background: var(--bg); }
.cn2-kotter-legend { margin-top: clamp(20px,3vw,36px); border-top: 1px solid var(--gold); padding-top: 16px; text-align: left; }
.cn2-kotter-legend * { text-align: left; }
.cn2-kotter-legend-title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 13px; color: var(--gold); letter-spacing: .12em; margin-bottom: 12px; }
.cn2-kotter-legend-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--bd); }
.cn2-kotter-legend-item:last-child { border-bottom: none; }
.cn2-kotter-legend-dot { width: 26px; height: 26px; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; font-family: var(--font-ui, Arial Black, Arial, sans-serif); color: var(--gold); }
.cn2-kotter-legend-head { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 15px; color: var(--gold); letter-spacing: .12em; margin-bottom: 3px; }
.cn2-kotter-legend-text { font-size: 15px; color: var(--text2); line-height: 1.6; margin-bottom: 6px; }
.cn2-kotter-legend-url { font-size: 13px; color: var(--gold); text-decoration: underline; }
.cn2-kotter-legend-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

/* ══════════════════════════════════════════════════════
   24. PYRAMIDE
   ══════════════════════════════════════════════════════ */
.cn2-pyramide { width: 100%; background: var(--bg); }
.cn2-pyr-legend { margin-top: 20px; }
.cn2-pyr-all-items { display: none; }
.cn2-pyr-all-items.open { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cn2-pyr-legend-item { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--bd); background: var(--bg); }
.cn2-pyr-legend-title { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 16px; color: var(--gold); letter-spacing: .12em; margin-bottom: 5px; }
.cn2-pyr-legend-text { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ══════════════════════════════════════════════════════
   25. FORTSCHRITT (Progress Bars)
   ══════════════════════════════════════════════════════ */
.cn2-fortschritt { width: 100%; display: block; background: var(--bg); }
.cn2-fs-row { display: flex; align-items: center; gap: clamp(12px,2vw,24px); margin-bottom: clamp(10px,1.5vw,18px); }

/* ══════════════════════════════════════════════════════
   26. TYPOWOLKE
   ══════════════════════════════════════════════════════ */
.cn2-typowolke { width: 100%; overflow: hidden; background: var(--bg); }

/* ══════════════════════════════════════════════════════
   27. VITA INFO
   ══════════════════════════════════════════════════════ */
.cn2-vita-info { width: 100%; max-width: 66.666%; background: var(--bg); overflow-wrap: break-word; word-break: break-word; }

/* ══════════════════════════════════════════════════════
   28. VITA CV
   ══════════════════════════════════════════════════════ */
.cn2-vita-cv { width: 100%; background: var(--bg); }

/* ══════════════════════════════════════════════════════
   29. SKILL BLOCK
   ══════════════════════════════════════════════════════ */
/* (nutzt .skills-grid + .skill-card aus Theme-CSS — kein doppeltes CSS nötig) */

/* ══════════════════════════════════════════════════════
   30. BOARDS LAYOUT
   ══════════════════════════════════════════════════════ */
.boards-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.masterboard-visual { background: var(--bg); border: 1px solid var(--gold-bd); overflow: hidden; }
.mb-header { background: var(--bg); border-bottom: 1px solid var(--bd); padding: 13px 16px; display: flex; align-items: center; gap: 10px; }
.mb-avatar { width: 30px; height: 30px; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 13px; color: #fff; flex-shrink: 0; }
.mb-name { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.mb-sub { font-size: 13px; color: var(--text2); }
.mb-boards-list { padding: 10px; display: flex; flex-direction: column; gap: 4px; background: var(--bg); }
.mb-board-item { background: var(--bg); border: 1px solid var(--bd); padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; }
.mb-board-name { font-size: 13px; font-weight: 500; color: var(--text); }
.mb-board-vis { font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 13px; padding: 2px 6px; border-radius: 0; }
.vis-public, .vis-follower, .vis-collab { background: var(--gold); color: #fff; }
.vis-private { background: transparent; color: var(--text3); border: 1px solid var(--bd); }

/* ══════════════════════════════════════════════════════
   31. MEDIA WALL  [media_wall]  ← NEU
   Flexibles Grid. Jede Zelle kann 1×1, 2×1 oder 2×2 Spalten belegen.
   Inhalt: Seite, Projekt, Beitrag, Kategorie, YouTube, Instagram, Bild, Video, Audio.
   ══════════════════════════════════════════════════════ */

/* Grid-Wrapper */
.cn-media-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  margin: 24px 0;
  background: var(--bg);
}
.cn-media-wall--cols-2 { grid-template-columns: repeat(2,1fr); }
.cn-media-wall--cols-3 { grid-template-columns: repeat(3,1fr); }
.cn-media-wall--cols-4 { grid-template-columns: repeat(4,1fr); }

/* Zelle */
.cn-mw-cell {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--gold-bd);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: border-color .2s;
  border-radius: 0 var(--r-corner) 0 var(--r-corner);
}
.cn-mw-cell:hover { border-color: var(--gold); }

/* Breiten-Varianten (col-span) */
.cn-mw-cell--w1 { grid-column: span 1; }
.cn-mw-cell--w2 { grid-column: span 2; }
.cn-mw-cell--w3 { grid-column: span 3; }
.cn-mw-cell--w4 { grid-column: span 4; }

/* Höhen-Varianten */
.cn-mw-cell--h1 { grid-row: span 1; }
.cn-mw-cell--h2 { grid-row: span 2; }

/* Zell-Typen */
/* Bild */
.cn-mw-cell--image .cn-mw-cell__media { position: absolute; inset: 0; }
.cn-mw-cell--image .cn-mw-cell__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Video (eigenes oder YouTube) */
.cn-mw-cell--video .cn-mw-cell__media { position: absolute; inset: 0; }
.cn-mw-cell--video .cn-mw-cell__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-mw-cell--video .cn-mw-cell__media iframe,
.cn-mw-cell--youtube .cn-mw-cell__media iframe {
  width: 100%; height: 100%; border: 0; display: block; position: absolute; inset: 0;
}

/* Audio */
.cn-mw-cell--audio { justify-content: center; align-items: center; padding: 24px; }
.cn-mw-cell--audio audio { width: 100%; }
.cn-mw-cell--audio .cn-mw-cell__label { margin-bottom: 16px; }

/* Inhalt-Typ (Seite / Projekt / Beitrag / Kategorie) */
.cn-mw-cell--content { padding: 24px; justify-content: space-between; }
.cn-mw-cell--content .cn-mw-cell__bg-img {
  position: absolute; inset: 0; z-index: 0;
}
.cn-mw-cell--content .cn-mw-cell__bg-img img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .18; }
.cn-mw-cell--content .cn-mw-cell__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; height: 100%; }

/* Instagram Embed */
.cn-mw-cell--instagram .cn-mw-cell__media { position: absolute; inset: 0; overflow-y: auto; }
.cn-mw-cell--instagram .cn-mw-cell__media blockquote,
.cn-mw-cell--instagram .cn-mw-cell__media iframe { width: 100% !important; min-width: unset !important; }

/* Video-Overlay Play-Button */
.cn-mw-cell__play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 3; cursor: pointer; transition: opacity .2s;
}
.cn-mw-cell__play-overlay:hover { opacity: .85; }
.cn-mw-cell__play-btn {
  width: 54px; height: 54px; background: var(--gold);
  border-radius: 0 var(--r-corner) 0 var(--r-corner);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
}
.cn-mw-cell__play-overlay.hidden { display: none; }

/* Text-Overlay (Label + Titel + Meta) */
.cn-mw-cell__overlay-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(255,255,255,.92) 60%, transparent);
  z-index: 2;
}
.cn-mw-cell__label {
  font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 3px;
}
.cn-mw-cell__title {
  font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 16px; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text);
  line-height: 1.15; margin-bottom: 4px; display: block;
}
.cn-mw-cell__meta { font-size: 13px; color: var(--text2); }
.cn-mw-cell__excerpt { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* Gold accent line top */
.cn-mw-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity .2s; z-index: 4;
}
.cn-mw-cell:hover::before { opacity: 1; }

/* Admin Placeholder (kein Inhalt konfiguriert) */
.cn-mw-cell--empty {
  align-items: center; justify-content: center;
  border-style: dashed; opacity: .5;
}
.cn-mw-cell--empty::after {
  content: '+'; font-family: var(--font-ui, Arial Black, Arial, sans-serif); font-size: 32px; color: var(--gold);
}

/* ══════════════════════════════════════════════════════
   32. BLOCK RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .cn-vis-steps { max-width: 100%; }
  .cn2-vita-info { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
  .revenue-grid, .cn-revenue-grid { grid-template-columns: 1fr 1fr !important; }
  .cn-persona-board { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .cn-persona-board-wrap { grid-template-columns: 1fr !important; }
  .cn-personas__panel.active { display: flex !important; flex-direction: column; gap: 24px; }
  .boards-layout { grid-template-columns: 1fr; }
  .cn-media-block { flex-direction: column; }
  .cn-media-block__media--half, .cn-media-block__media--third,
  .cn-media-block__media--full { flex: 0 0 100%; max-width: 100%; }
  /* Media Wall */
  .cn-media-wall { grid-template-columns: repeat(2,1fr) !important; }
  .cn-mw-cell--w3, .cn-mw-cell--w4 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .revenue-grid, .cn-revenue-grid { grid-template-columns: 1fr 1fr !important; }
  .cn-galerie-grid { grid-template-columns: 1fr 1fr; }
  .cn-persona-board { grid-template-columns: 1fr 1fr !important; }
  .cn-persona-board-wrap { grid-template-columns: 1fr !important; }
  .cn2-fs-row { flex-direction: column; align-items: flex-start; }
  /* Media Wall */
  .cn-media-wall { grid-template-columns: 1fr !important; }
  .cn-mw-cell--w2, .cn-mw-cell--w3, .cn-mw-cell--w4 { grid-column: span 1; }
  .cn-mw-cell--h2 { grid-row: span 1; }
}

/* ══════════════════════════════════════════════════════
   33. BEBAS NEUE SCHÄRFE IN BLÖCKEN
   ══════════════════════════════════════════════════════ */
.cn-solution-box__quote, .solution-quote,
.cn-vis-step__title, .vis-step__title,
.phase-label, .phase-title,
.rev-name, .cn-rev-name, .rev-price, .cn-rev-price,
.stat-num, .stat-label,
.feature-title, .badge-title, .tool-title,
.fc-title, .problem-title,
.cn-masterboard__name, .cn-bild-grid__title,
.cn-hero-banner__title, .cn-personas__title,
.cn-personas__eyebrow, .cn-rev-stream, .rev-stream,
.source-cat, .tool-phase,
.cn2-kotter-legend-head, .cn2-kotter-legend-title,
.cn2-pyr-legend-title,
.cn-media-wall .cn-mw-cell__title,
.cn-media-wall .cn-mw-cell__label {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  font-synthesis: none !important;
  letter-spacing: .14em !important;
  text-rendering: optimizeLegibility;
}

/* ── BLOCK BUTTONS: Theme-Layout ── */
.cn-vis-step__btn,
.cn-media-block__btn,
.cn-hero-banner__btn,
.cn-masterboard__follow,
.mb-follow,
.solution-box__btn, .cn-solution-box__btn,
.cn-rev-btn, .rev-btn,
.cn2-pyr-toggle,
.cn-personas__btn,
.cn-galerie-single__back,
.cn-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  font-family: var(--font-ui, Arial Black, Arial, sans-serif);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  border-radius: 0 var(--r-corner, 14px) 0 var(--r-corner, 14px);
}
.cn-vis-step__btn:hover, .cn-vis-step__btn:active,
.cn-media-block__btn:hover, .cn-media-block__btn:active,
.cn-hero-banner__btn:hover, .cn-hero-banner__btn:active,
.cn-masterboard__follow:hover, .cn-masterboard__follow:active,
.mb-follow:hover, .mb-follow:active,
.solution-box__btn:hover, .cn-solution-box__btn:hover,
.cn-rev-btn:hover, .rev-btn:hover,
.cn2-pyr-toggle:hover, .cn2-pyr-toggle.active,
.cn-personas__btn:hover,
.cn-galerie-single__back:hover,
.cn-carousel__btn:hover {
  background: var(--gold) !important;
  color: #ffffff !important;
  border-color: var(--gold) !important;
}

/* ── FORTSCHRITT MOBILE FIX ── */
@media (max-width: 600px) {
  .cn2-fs-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .cn2-fs-label {
    min-width: unset !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 13px !important;
  }
  .cn2-fs-bar-wrap {
    width: 100% !important;
    flex: none !important;
  }
  .cn2-fs-pct {
    font-size: 13px !important;
  }
}

@media (max-width: 600px) {
  .problem-grid { grid-template-columns: 1fr !important; }
}
