/*
Theme Name: Community Kodex Child
Theme URI: https://www.communitykodex.de
Description: Child theme of GeneratePress for CommunityKodex.de. Custom styles, templates and hooks live here; the GeneratePress parent stays untouched.
Author: Oliver Ueberholz
Template: generatepress
Version: 0.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: communitykodex-child
*/

/* ===========================================================================
   Community Kodex — Styleguide V5 / Amber
   Ported from the index-v5b.html mockup. Section layout is scoped to .ck-*
   classes (which only exist on the pages that use them); a few base rules
   (tokens, body font, links) apply site-wide for a consistent brand.
   =========================================================================== */

/* ─── Design tokens ─── */
:root {
  --amber:          oklch(38%   0.18  72);
  --amber-mid:      oklch(52%   0.18  72);
  --amber-text:     oklch(34%   0.16  72);
  --amber-light:    oklch(91%   0.06  72);
  --amber-surface:  oklch(96%   0.018 72);
  --on-amber:       oklch(99%   0.002 80);
  --on-amber-mid:   oklch(95%   0.022 82);
  --on-amber-sub:   oklch(90%   0.03  80);
  --cream:          oklch(98%   0.01  82);

  --bg:             oklch(98.5% 0.008 80);
  --text:           oklch(14%   0.016 72);
  --text-mid:       oklch(38%   0.012 72);
  --text-muted:     oklch(44%   0.008 72);
  --border:         oklch(86%   0.022 72);

  --signal:         oklch(82%   0.26  110);
  --on-signal:      oklch(18%   0.10  110);

  --ff-display: 'Outfit', system-ui, sans-serif;
  --ff-body:    'Source Serif 4', Georgia, serif;
  --ff-ui:      'Inter', system-ui, sans-serif;

  --r:       100px;
  --measure: 68ch;
  --wide:    1100px;
}

/* ─── Site-wide base ─── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ck-section a:not(.ck-btn):not(.ck-sig-logo) { color: var(--amber-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.ck-section a:not(.ck-btn):not(.ck-sig-logo):hover { color: var(--amber-mid); }

/* ─── Shared building blocks ─── */
.ck-container {
  width: min(var(--wide), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.ck-section { width: 100%; }

.ck-section-label {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-mid);
  margin-bottom: 1rem;
}

.ck-section h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.ck-section h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ck-section p { max-width: var(--measure); }

/* ─── Buttons ─── */
.ck-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.ck-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.7em 1.5em;
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r);
  text-decoration: none;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.ck-btn-signal { background: var(--signal); color: var(--on-signal); border-color: var(--signal); font-weight: 600; }
.ck-btn-signal:hover { background: oklch(86% 0.26 110); border-color: oklch(86% 0.26 110); color: var(--on-signal); }
.ck-btn-ghost { background: transparent; color: var(--cream); border-color: oklch(98% 0.01 82 / 0.7); }
.ck-btn-ghost:hover { background: oklch(98% 0.01 82 / 0.14); border-color: oklch(98% 0.01 82 / 0.9); color: var(--cream); }
.ck-btn-primary { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.ck-btn-primary:hover { background: var(--amber-mid); border-color: var(--amber-mid); color: var(--on-amber); }
.ck-btn-outline { background: transparent; color: var(--amber-text); border-color: var(--amber); }
.ck-btn-outline:hover { background: var(--amber-light); }

/* ===========================================================================
   GeneratePress integration — front page only
   =========================================================================== */
.ck-canvas #page { max-width: 100%; padding: 0; }
.ck-canvas .site-content { display: block !important; }
.ck-canvas .content-area { width: 100% !important; max-width: 100% !important; float: none !important; }
.ck-canvas #right-sidebar { display: none !important; }
.ck-canvas .inside-article { padding: 0; border: 0; box-shadow: none; }
.ck-canvas .entry-content { margin: 0; }
.ck-canvas .entry-content > * { margin-block: 0; }
.ck-canvas .entry-header,
.ck-canvas .entry-meta,
.ck-canvas .page-header { display: none; }

/* Header / logo */
.site-logo .ck-logo { height: 3.9rem; width: auto; display: block; }
/* The brand wordmark is in the logo SVG already — hide the text site title/tagline. */
.site-header .main-title,
.site-header .site-description { display: none; }
/* Primary navigation — clean white bar between the logo header and the hero. */
.main-navigation { background: #fff; border-top: 1px solid var(--border); }
.main-navigation .inside-navigation { justify-content: center; }
.main-navigation .main-nav ul li a {
  font-family: var(--ff-ui);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-mid);
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
  color: var(--amber-text);
}
/* "Unterzeichnen" als dezenter Akzent hervorheben */
.main-navigation .main-nav ul li a[href*="/unterzeichnen"] { color: var(--amber-text); font-weight: 600; }

/* Footer (rendered via generate_copyright filter) */
.ck-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.ck-footer__brand { font-family: var(--ff-display); font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.ck-footer__nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.ck-footer__nav a { font-family: var(--ff-ui); font-size: 0.82rem; color: var(--text-muted); text-decoration: none; }
.ck-footer__nav a:hover { color: var(--text); }

/* ===========================================================================
   Hero
   =========================================================================== */
.ck-hero {
  background: var(--amber);
  padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.ck-hero__title { color: var(--on-amber); margin-inline: auto; }
.ck-hero__accent {
  width: 2.75rem;
  height: 4px;
  background: var(--signal);
  border-radius: 2px;
  margin-inline: auto;
  margin-block: 1.75rem;
}
.ck-hero__tagline {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: var(--on-amber-mid);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.ck-hero__dek {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--on-amber-mid);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}
.ck-hero__dek + .ck-hero__dek { margin-top: -1.5rem; }
.ck-hero__stats {
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--on-amber-mid);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}
.ck-hero__stats strong { color: var(--signal); font-weight: 700; }
.ck-hero .ck-actions { justify-content: center; }

/* ===========================================================================
   Warum dieser Kodex?
   =========================================================================== */
.ck-why {
  background: var(--amber-surface);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--border);
}
.ck-why .ck-container { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 820px) {
  .ck-why .ck-container { grid-template-columns: 5fr 7fr; align-items: start; gap: clamp(3.5rem, 7vw, 7rem); }
}
.ck-why__kicker { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.ck-why__kicker .ck-section-label { margin-bottom: 0; }
.ck-why__kicker-rule { height: 2px; background: var(--amber); border-radius: 1px; width: 2rem; flex-shrink: 0; }
.ck-why__quote {
  font-family: var(--ff-body);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  padding-left: 1.25rem;
  border-left: 3px solid var(--amber);
  max-width: 24ch;
  margin: 0;
}
.ck-why__body p { font-size: 1rem; line-height: 1.85; color: var(--text-mid); }
.ck-why__body p + p { margin-top: 1.1em; }

/* ===========================================================================
   Prinzipien + accordion (native <details>)
   =========================================================================== */
.ck-principles {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border);
  counter-reset: ck-acc;
}
.ck-principles-block + .ck-principles-block {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}
.ck-principles-block__title { max-width: 36ch; margin-bottom: 0; }
.ck-principles-block .ck-section-label { margin-bottom: 1rem; }
.ck-principles-block__intro {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text-mid);
  max-width: var(--measure);
  margin-block: 1rem clamp(2rem, 4vw, 3rem);
}

.ck-acc {
  border-top: 1px solid var(--border);
  transition: background 0.22s;
  counter-increment: ck-acc;
}
.ck-acc:last-child { border-bottom: 1px solid var(--border); }
.ck-acc[open] { background: var(--amber-surface); }

.ck-acc summary {
  display: grid;
  grid-template-columns: 2.6rem 1fr 2rem;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.005em;
}
.ck-acc summary::-webkit-details-marker { display: none; }
.ck-acc summary:hover { color: var(--amber-text); }
.ck-acc summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.ck-acc summary::before {
  content: counter(ck-acc, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--amber-light);
  color: var(--amber-text);
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.ck-acc[open] summary::before { background: var(--amber); color: var(--on-amber); }

.ck-acc summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.14s;
}
.ck-acc[open] summary::after { transform: rotate(45deg); color: var(--amber-text); }

.ck-acc > *:not(summary) {
  padding-left: calc(2.6rem + 1.25rem);
  padding-right: 2rem;
  max-width: 62ch;
}
.ck-acc > *:not(summary):last-child { padding-bottom: 1.75rem; }
.ck-acc p { font-size: 0.975rem; line-height: 1.8; color: var(--text-mid); margin-block: 0 0.9em; }
.ck-kodex-download { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* Flash banner — sign-up/support feedback, shown at the very top of the page. */
.ck-flash { width: 100%; }
.ck-flash--ok { background: var(--amber); color: var(--bg); }
.ck-flash--err { background: #b3261e; color: #fff; }
.ck-flash__inner { max-width: 1180px; margin-inline: auto; display: flex; align-items: center; gap: 0.85rem; padding: 1rem clamp(1rem, 4vw, 2rem); font-family: var(--ff-ui); font-size: 0.95rem; line-height: 1.45; }
.ck-flash__icon { flex-shrink: 0; display: flex; }
.ck-flash__icon svg { width: 1.6rem; height: 1.6rem; }
.ck-flash__text { margin: 0; flex: 1 1 auto; font-weight: 500; }
.ck-flash__close { flex-shrink: 0; background: transparent; border: 0; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: 0.75; padding: 0 0.25rem; transition: opacity 0.15s; }
.ck-flash__close:hover { opacity: 1; }

/* ===========================================================================
   Commitment
   =========================================================================== */
.ck-commitment {
  background: var(--amber);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  text-align: center;
}
.ck-commitment .ck-section-label { color: var(--on-amber-mid); }
.ck-commitment__tagline {
  font-family: var(--ff-display) !important;
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3rem) !important;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--on-amber);
  max-width: 28ch;
  margin-inline: auto;
  margin-block: 1.25rem 2rem;
}
.ck-commitment__tagline strong { font-weight: 700; color: var(--signal); }
.ck-commitment__body { max-width: 52ch; margin-inline: auto; margin-bottom: 2.75rem; }
.ck-commitment__body p { font-size: 1rem; line-height: 1.8; color: var(--on-amber-mid); max-width: none; }
.ck-commitment__body p + p { margin-top: 0.9em; }
.ck-commitment .ck-actions { justify-content: center; }

/* ===========================================================================
   Unterzeichner*innen
   =========================================================================== */
.ck-signatories {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border);
}
.ck-signatories__lead { margin-top: 0.75rem; font-size: 1rem; color: var(--text-mid); max-width: 52ch; }
.ck-sig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .ck-sig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ck-sig-grid { grid-template-columns: repeat(2, 1fr); } }
.ck-sig-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 1rem 1.5rem;
  background: oklch(99.5% 0.004 80);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.ck-sig-logo img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.ck-sig-logo--join {
  background: var(--signal);
  border: none;
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--on-signal);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.14s;
}
.ck-sig-logo--join:hover { background: oklch(86% 0.26 110); color: var(--on-signal); }

/* ===========================================================================
   Entstehung
   =========================================================================== */
.ck-history {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border);
}
.ck-history__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  margin-top: 2.5rem;
  align-items: start;
}
/* Gremium-Namensliste über die volle Breite zweispaltig */
.ck-names__group--wide .ck-namelist { columns: 2; column-gap: 2.5rem; }
.ck-names__group--wide .ck-namelist li { break-inside: avoid; }
@media (max-width: 700px) { .ck-names__group--wide .ck-namelist { columns: 1; } }
.ck-history__body p { font-size: 1rem; color: var(--text-mid); max-width: none; }
.ck-history__body p + p { margin-top: 1.1em; }
.ck-history__logos { background: var(--amber-surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.75rem; }
.ck-history__logos-label {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-mid);
  margin-bottom: 1.25rem;
}
.ck-initiator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.ck-initiator-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 0.75rem;
  min-height: 68px;
}
.ck-initiator-box img { max-height: 36px; max-width: 100%; object-fit: contain; }
.ck-initiator-placeholder { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-align: center; line-height: 1.35; }

/* Initiator*innen- & Gremium-Namensliste (Textbox in der Entstehungs-Sektion) */
.ck-names__group + .ck-names__group { margin-top: 1.5rem; }
.ck-namelist { list-style: none; padding: 0; margin: 0; }
.ck-namelist li { font-family: var(--ff-ui); font-size: 0.85rem; color: var(--text-mid); line-height: 1.45; padding-block: 0.4rem; border-bottom: 1px solid var(--border); }
.ck-namelist li:last-child { border-bottom: 0; }
.ck-namelist li strong { color: var(--text); font-weight: 600; }

/* Klappbares Gremium-/Initiator*innen-Verzeichnis */
.ck-gremium { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--border); }
.ck-gremium summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 1.2rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--amber-text);
}
.ck-gremium summary::-webkit-details-marker { display: none; }
.ck-gremium summary::after { content: '+'; margin-left: auto; font-size: 1.3rem; color: var(--text-muted); transition: transform 0.25s; }
.ck-gremium[open] summary::after { transform: rotate(45deg); color: var(--amber-text); }
.ck-gremium__body { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-bottom: 1.75rem; }
@media (max-width: 700px) { .ck-gremium__body { grid-template-columns: 1fr; gap: 1.75rem; } }
.ck-gremium__group h3 { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-mid); margin-bottom: 0.75rem; }
.ck-gremium__group ul { list-style: none; padding: 0; margin: 0; }
.ck-gremium__group li { font-family: var(--ff-ui); font-size: 0.9rem; color: var(--text-mid); line-height: 1.45; padding-block: 0.45rem; border-bottom: 1px solid var(--border); }
.ck-gremium__group li:last-child { border-bottom: 0; }
.ck-gremium__group li strong { color: var(--text); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ck-gremium summary::after { transition: none; } }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .ck-acc, .ck-acc summary::before, .ck-acc summary::after { transition: none; }
}

/* ===========================================================================
   "Als Privatperson unterstützen" page (.ck-support)
   Ported from the unterstuetzen.html mockup — Chartreuse × Amber.
   Tokens scoped to .ck-support so they don't affect the amber homepage.
   =========================================================================== */
.ck-support {
  --cx:         oklch(82%  0.26  110);
  --cx-light:   oklch(93%  0.10  110);
  --cx-surface: oklch(97%  0.03  110);
  --cx-mid:     oklch(62%  0.22  110);
  --cx-deep:    oklch(34%  0.16  110);
  --on-cx:      oklch(12%  0.06   90);
  --surface:    oklch(96%  0.012 100);
  --form-w:     520px;
}
.ck-support .entry-content { font-family: var(--ff-body); }
.cku-section a:not(.ck-btn) { color: var(--cx-deep); }
.cku-section a:not(.ck-btn):hover { color: var(--cx-mid); }
.cku-section p { max-width: var(--measure); }
.cku-section p + p { margin-top: 1em; }
.cku-section h2 { font-family: var(--ff-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }

/* Split hero */
.cku-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(640px, 75vh); }
.cku-hero__left {
  background: var(--cx);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  position: relative; overflow: hidden;
}
.cku-hero__left::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, oklch(90% 0.22 110 / 0.5) 0%, transparent 70%); pointer-events: none;
}
.cku-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--on-cx); color: var(--cx);
  font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4em 0.9em; border-radius: var(--r); width: fit-content;
}
.cku-hero__left h1 { font-family: var(--ff-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; font-size: clamp(2.2rem, 4.5vw, 3.8rem); color: var(--on-cx); max-width: 14ch; }
.cku-hero__left h1 em { font-style: normal; color: var(--amber); }
.cku-hero__tagline { font-family: var(--ff-body); font-size: clamp(1rem, 1.6vw, 1.15rem); color: oklch(20% 0.06 90); max-width: 38ch; line-height: 1.65; }
.cku-count { display: flex; align-items: center; gap: 0.75rem; font-family: var(--ff-ui); font-size: 0.82rem; color: oklch(25% 0.08 90); font-weight: 500; }
.cku-count__num { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; color: var(--amber); line-height: 1; }
.cku-hero__right { background: var(--cx-surface); display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem); }
.cku-recent-label { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.cku-recent { display: flex; flex-direction: column; gap: 0.6rem; }
.cku-recent__item { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--ff-ui); font-size: 0.85rem; color: var(--text); }
.cku-recent__item .org { color: var(--text-muted); font-size: 0.75rem; }
.cku-recent__note { font-family: var(--ff-ui); font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }

/* Supporter wall */
.cku-wall { background: var(--cx-light); border-top: 1px solid oklch(84% 0.14 110); border-bottom: 1px solid oklch(84% 0.14 110); padding-block: 1.25rem; overflow: hidden; position: relative; }
.cku-wall::before, .cku-wall::after { content: ''; position: absolute; top: 0; bottom: 0; width: 4rem; z-index: 2; pointer-events: none; }
.cku-wall::before { left: 0; background: linear-gradient(to right, var(--cx-light), transparent); }
.cku-wall::after { right: 0; background: linear-gradient(to left, var(--cx-light), transparent); }
.cku-wall__track { display: flex; gap: 2rem; width: max-content; animation: cku-scroll 80s linear infinite; }
.cku-wall__track:hover { animation-play-state: paused; }
@keyframes cku-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cku-chip { display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; font-family: var(--ff-ui); font-size: 0.82rem; color: var(--cx-deep); }
.cku-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cx-mid); flex-shrink: 0; }
.cku-chip__org { color: var(--text-muted); font-size: 0.75rem; }

/* Bottom hint: support us beyond signing */
.cku-help { padding-block: clamp(2rem, 4vw, 3rem); text-align: center; }
.cku-help p { max-width: 46ch; margin-inline: auto; font-family: var(--ff-ui); font-size: 0.95rem; line-height: 1.6; color: var(--text-mid); }
.cku-help a { font-weight: 600; }

/* Full supporter list — click to expand (like the Kodex accordion) */
.cku-all-section { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--border); }
.cku-all { max-width: 880px; margin-inline: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; transition: background 0.22s; }
.cku-all[open] { background: var(--cx-surface); }
.cku-all > summary { display: flex; align-items: center; justify-content: center; gap: 0.6rem; cursor: pointer; list-style: none; padding: 1.15rem 1.5rem; font-family: var(--ff-ui); font-weight: 600; font-size: 0.9rem; color: var(--cx-deep); text-align: center; transition: color 0.16s; }
.cku-all > summary::-webkit-details-marker { display: none; }
.cku-all > summary:hover { color: var(--cx-mid); }
.cku-all > summary:focus-visible { outline: 2px solid var(--cx-mid); outline-offset: 2px; }
.cku-all > summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--cx-mid); transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
.cku-all[open] > summary { border-bottom: 1px solid var(--border); }
.cku-all[open] > summary::after { transform: rotate(45deg); }
.cku-all__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; padding: 0.25rem 1.25rem 1rem; }
.cku-all__item { display: flex; align-items: baseline; gap: 0.4rem; font-family: var(--ff-ui); font-size: 0.8rem; line-height: 1.3; color: var(--text); padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.cku-all__item .org { color: var(--text-muted); font-size: 0.72rem; }
.cku-all__empty { padding: 1.25rem 1.5rem; font-family: var(--ff-ui); font-size: 0.85rem; color: var(--text-muted); text-align: center; }
@media (max-width: 600px) { .cku-all__grid { grid-template-columns: 1fr; } }

/* Why section */
.cku-why { padding-block: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--border); }
.cku-why__label { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-mid); margin-bottom: 0.75rem; }
.cku-why h2 { font-size: clamp(1.4rem, 3vw, 2rem); max-width: 30ch; }
.cku-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; margin-top: 2.5rem; }
.cku-why__item { display: flex; flex-direction: column; gap: 0.6rem; }
.cku-why__icon { width: 2.4rem; height: 2.4rem; background: var(--cx-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--cx-deep); flex-shrink: 0; }
.cku-why__title { font-family: var(--ff-ui); font-weight: 600; font-size: 0.95rem; color: var(--text); }
.cku-why__text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; max-width: 28ch; }

/* Form section */
.cku-form-section { padding-block: clamp(3rem, 6vw, 5rem); }
.cku-form-layout { display: grid; grid-template-columns: 1fr min(var(--form-w), 100%); gap: 4rem; align-items: start; }
.cku-form-label { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-mid); margin-bottom: 0.75rem; }
.cku-form-intro h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cku-form-intro p { font-size: 0.95rem; color: var(--text-mid); }
.cku-quote { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--cx-light); border-left: 3px solid var(--cx); border-radius: 0 8px 8px 0; font-size: 0.92rem; font-style: italic; color: var(--cx-deep); line-height: 1.65; max-width: 44ch; }
.cku-quote cite { display: block; font-style: normal; font-family: var(--ff-ui); font-size: 0.75rem; color: var(--text-muted); margin-top: 0.6rem; }

.cku-form-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: 0 2px 24px oklch(50% 0.12 110 / 0.06); }
.cku-form-card__heading { font-family: var(--ff-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.3rem; color: var(--text); }
.cku-form-card__sub { font-family: var(--ff-ui); font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.4; max-width: 38ch; }
.cku-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.cku-field { display: flex; flex-direction: column; gap: 0.3rem; }
.cku-field.full { grid-column: 1 / -1; }
.cku-field label { font-family: var(--ff-ui); font-size: 0.78rem; font-weight: 600; color: var(--text-mid); }
.cku-field label .opt { color: var(--text-muted); font-weight: 400; font-size: 0.72rem; margin-left: 0.3em; }
.cku-field input { font-family: var(--ff-ui); font-size: 0.95rem; color: var(--text); background: var(--surface); border: 1.5px solid var(--border); border-radius: 8px; padding: 0.65em 0.9em; outline: none; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; width: 100%; }
.cku-field input::placeholder { color: var(--text-muted); opacity: 0.55; }
.cku-field input:focus { border-color: var(--cx-mid); background: #fff; box-shadow: 0 0 0 3px oklch(62% 0.22 110 / 0.14); }
.cku-field__hint { font-family: var(--ff-ui); font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }

.cku-vis { margin-bottom: 1.5rem; }
.cku-vis__label { font-family: var(--ff-ui); font-size: 0.78rem; font-weight: 600; color: var(--text-mid); margin-bottom: 0.6rem; }
.cku-vis__group { display: flex; flex-direction: column; gap: 0.5rem; }
.cku-radio { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.cku-radio input { width: 1rem; height: 1rem; accent-color: var(--cx-deep); cursor: pointer; flex-shrink: 0; }
.cku-radio__label { font-family: var(--ff-ui); font-size: 0.85rem; color: var(--text-mid); line-height: 1.3; }
.cku-radio__sub { font-size: 0.72rem; color: var(--text-muted); }

.cku-consent { background: var(--cx-surface); border: 1.5px solid oklch(84% 0.14 110); border-radius: 10px; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.cku-consent__text { font-family: var(--ff-body); font-size: 0.88rem; color: var(--cx-deep); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.cku-consent__text strong { font-style: normal; font-weight: 600; color: var(--text); }
.cku-check { display: flex; gap: 0.6rem; align-items: flex-start; }
.cku-check input { width: 1rem; height: 1rem; accent-color: var(--cx-deep); flex-shrink: 0; margin-top: 0.22rem; cursor: pointer; }
.cku-check label { font-family: var(--ff-ui); font-size: 0.82rem; color: var(--text-mid); cursor: pointer; line-height: 1.5; }
.cku-check + .cku-check { margin-top: 0.6rem; }

.cku-submit { display: flex; align-items: center; justify-content: center; gap: 0.5em; width: 100%; padding: 0.9em 1.5em; background: var(--amber); color: var(--on-amber); font-family: var(--ff-display); font-size: 1rem; font-weight: 600; border: none; border-radius: var(--r); cursor: pointer; margin-top: 1.25rem; transition: opacity 0.15s, transform 0.1s; }
.cku-submit:hover { opacity: 0.88; }
.cku-privacy-note { text-align: center; font-family: var(--ff-ui); font-size: 0.72rem; color: var(--text-muted); margin-top: 0.75rem; }

.cku-variant { background: var(--amber-light); border-top: 1px solid oklch(84% 0.06 72); padding-block: 1.5rem; }
.cku-variant__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cku-variant p { font-family: var(--ff-ui); font-size: 0.88rem; color: var(--amber-text); max-width: 52ch; }
.cku-btn-variant { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.65em 1.3em; background: var(--amber); color: var(--on-amber); font-family: var(--ff-display); font-size: 0.88rem; font-weight: 600; border-radius: var(--r); text-decoration: none; white-space: nowrap; transition: opacity 0.15s; }
.cku-btn-variant:hover { opacity: 0.88; color: var(--on-amber); }

.cku-draft-note { background: oklch(95% 0.05 90); border: 1px dashed var(--cx-mid); color: var(--cx-deep); font-family: var(--ff-ui); font-size: 0.82rem; padding: 0.75rem 1rem; border-radius: 8px; margin-top: 1.25rem; text-align: center; }

@media (max-width: 900px) {
  .cku-hero { grid-template-columns: 1fr; }
  .cku-hero__left { min-height: 340px; }
  .cku-form-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cku-why__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .cku-field-row { grid-template-columns: 1fr; }
  .cku-why__grid { grid-template-columns: 1fr; }
  .cku-variant__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .cku-wall__track { animation: none; }
}

/* ===========================================================================
   "Jetzt unterzeichnen" — Organisationen (.ck-sign), ported from unterzeichnen.html
   Reuses the global amber tokens. All classes prefixed cko-.
   =========================================================================== */
.ck-sign .entry-content { font-family: var(--ff-body); }
.cko-narrow { width: min(860px, 100%); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }

.cko-hero { background: var(--amber); padding-block: clamp(3rem, 8vw, 5.5rem); color: var(--on-amber); overflow: hidden; position: relative; }
.cko-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 100% 50%, oklch(52% 0.18 72 / 0.4), transparent); pointer-events: none; }
.cko-hero__label { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-amber-sub); margin-bottom: 1rem; }
.cko-hero h1 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--on-amber); max-width: 18ch; margin-block: 0 1.5rem; }
.cko-hero p { color: var(--on-amber-mid); font-size: 1.05rem; max-width: 52ch; position: relative; }
.cko-hero p + p { margin-top: 0.85em; }
.cko-hero__cta { font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; color: var(--on-amber); margin-top: 1.1rem !important; }

/* Steps */
.cko-steps { display: flex; border-bottom: 1px solid var(--border); background: #fff; overflow-x: auto; scrollbar-width: none; }
.cko-steps::-webkit-scrollbar { display: none; }
.cko-step { flex: 1; min-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.9rem 1rem; font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; cursor: pointer; transition: color 0.15s, border-color 0.15s; text-align: center; line-height: 1.2; user-select: none; }
.cko-step__num { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--amber-light); color: var(--amber-mid); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 600; transition: background 0.15s, color 0.15s; }
.cko-step.is-active { color: var(--amber-text); border-bottom-color: var(--amber); }
.cko-step.is-active .cko-step__num { background: var(--amber); color: var(--on-amber); }
.cko-step.is-done .cko-step__num { background: var(--amber-mid); color: var(--on-amber); }

.cko-body { padding-block: clamp(2.5rem, 6vw, 4rem); }
.cko-fsec { display: none; }
.cko-fsec.is-active { display: block; animation: cko-fade 0.25s ease; }
@keyframes cko-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cko-fsec__header { margin-bottom: 2rem; }
.cko-fsec__num { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-mid); margin-bottom: 0.4rem; }
.cko-fsec__title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }
.cko-fsec__desc { color: var(--text-mid); font-size: 0.95rem; max-width: 56ch; }

.cko-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.cko-grid .full { grid-column: 1 / -1; }
.cko-field { display: flex; flex-direction: column; gap: 0.35rem; }
.cko-field label { font-family: var(--ff-ui); font-size: 0.8rem; font-weight: 600; color: var(--text-mid); }
.cko-field input, .cko-field textarea { font-family: var(--ff-ui); font-size: 0.95rem; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 0.65em 0.9em; outline: none; transition: border-color 0.15s, box-shadow 0.15s; width: 100%; }
.cko-field input:focus, .cko-field textarea:focus { border-color: var(--amber-mid); box-shadow: 0 0 0 3px oklch(52% 0.18 72 / 0.12); }
.cko-field.has-error input, .cko-field.has-error textarea { border-color: oklch(55% 0.22 25); }
.cko-field__hint { font-family: var(--ff-ui); font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }
.cko-field__error { font-family: var(--ff-ui); font-size: 0.75rem; color: oklch(45% 0.22 25); display: none; }
.cko-field.has-error .cko-field__error { display: block; }

.cko-upload { border: 2px dashed var(--border); border-radius: 12px; padding: 2.5rem 2rem; text-align: center; background: var(--amber-surface); cursor: pointer; transition: border-color 0.15s, background 0.15s; position: relative; }
.cko-upload:hover, .cko-upload.is-drag-over { border-color: var(--amber-mid); background: var(--amber-light); }
.cko-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.cko-upload__icon { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--amber-mid); }
.cko-upload__text { font-family: var(--ff-ui); font-size: 0.95rem; font-weight: 500; color: var(--text-mid); }
.cko-upload__hint { font-family: var(--ff-ui); font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }
.cko-preview { display: none; margin-top: 1.5rem; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; }
.cko-preview.is-visible { display: flex; }
.cko-preview__img { max-height: 60px; max-width: 180px; object-fit: contain; flex-shrink: 0; }
.cko-preview__name { font-family: var(--ff-ui); font-size: 0.85rem; font-weight: 600; color: var(--text); }
.cko-preview__meta { font-family: var(--ff-ui); font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.cko-preview__remove { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 0.25rem; flex-shrink: 0; margin-left: auto; }
.cko-preview__remove:hover { color: oklch(45% 0.22 25); }

.cko-sigwrap { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; position: relative; }
.cko-sig-label { font-family: var(--ff-ui); font-size: 0.75rem; font-weight: 500; color: var(--text-muted); padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cko-sig-canvas { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.cko-sig-clear { background: none; border: 1px solid var(--border); border-radius: 6px; font-family: var(--ff-ui); font-size: 0.75rem; font-weight: 500; color: var(--text-muted); padding: 0.25em 0.75em; cursor: pointer; }
.cko-sig-clear:hover { color: oklch(45% 0.22 25); border-color: oklch(55% 0.22 25); }
.cko-sig-context { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--amber-surface); border-radius: 8px; font-family: var(--ff-body); font-size: 0.88rem; font-style: italic; color: var(--text-mid); line-height: 1.5; }

.cko-sumgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; margin-bottom: 1.5rem; }
.cko-sumrow dt { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.cko-sumrow dd { font-family: var(--ff-ui); font-size: 0.9rem; color: var(--text); }
.cko-commit { background: var(--amber-surface); border: 1.5px solid var(--border); border-radius: 10px; padding: 1.5rem; margin-bottom: 2rem; font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.cko-commit strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 1rem; color: var(--text); margin-bottom: 0.75rem; }
.cko-check { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.5rem; }
.cko-check input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--amber); margin-top: 0.2rem; flex-shrink: 0; cursor: pointer; }
.cko-check label { font-family: var(--ff-ui); font-size: 0.88rem; color: var(--text-mid); cursor: pointer; line-height: 1.5; }

.cko-nav { display: flex; gap: 1rem; margin-top: 2.5rem; align-items: center; }
.cko-btn { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.75em 1.6em; font-family: var(--ff-display); font-weight: 600; font-size: 0.95rem; border-radius: var(--r); border: none; cursor: pointer; text-decoration: none; transition: opacity 0.15s, transform 0.1s; line-height: 1; }
.cko-btn:active { transform: scale(0.98); }
.cko-btn--primary { background: var(--amber); color: var(--on-amber); }
.cko-btn--primary:hover { opacity: 0.88; color: var(--on-amber); }
.cko-btn--signal { background: var(--signal); color: var(--on-signal); }
.cko-btn--signal:hover { opacity: 0.88; color: var(--on-signal); }
.cko-btn--ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.cko-btn--ghost:hover { color: var(--text); border-color: var(--text-muted); }

.cko-note { font-family: var(--ff-ui); font-size: 0.85rem; padding: 0.85rem 1.1rem; border-radius: 8px; margin-bottom: 1.5rem; }
.cko-note--ok { background: var(--amber-surface); border: 1px solid var(--amber-light); color: var(--amber-text); }
.cko-note--err { background: oklch(95% 0.05 25); border: 1px solid oklch(80% 0.1 25); color: oklch(45% 0.22 25); }

@media (max-width: 640px) {
  .cko-grid { grid-template-columns: 1fr; }
  .cko-grid .full { grid-column: 1; }
  .cko-sumgrid { grid-template-columns: 1fr; }
}

/* ===========================================================================
   Legal pages — Impressum / Datenschutz (.ck-legal) + contact form
   =========================================================================== */
.ck-legal .entry-content { font-family: var(--ff-body); }
.ck-legal__header { background: var(--amber-surface); border-bottom: 1px solid var(--border); padding-block: clamp(2rem, 5vw, 3.5rem); }
.ck-legal__label { font-family: var(--ff-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-mid); margin-bottom: 0.75rem; }
.ck-legal__header h1 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.ck-legal__update { font-family: var(--ff-ui); font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }

.ck-legal__body { padding-block: clamp(2.5rem, 6vw, 4rem); }
.ck-legal__body section + section { margin-top: 3rem; }
.ck-legal__body h2 { font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.75rem; }
.ck-legal__body h3 { font-family: var(--ff-ui); font-weight: 600; font-size: 0.9rem; color: var(--text-mid); margin-top: 1.25rem; margin-bottom: 0.4rem; }
.ck-legal__body p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; max-width: var(--measure); }
.ck-legal__body p + p { margin-top: 0.75em; }
.ck-legal__body ul { padding-left: 1.25rem; max-width: var(--measure); }
.ck-legal__body li { margin-top: 0.35em; font-size: 0.95rem; color: var(--text-mid); line-height: 1.65; }
.ck-legal__body address { font-style: normal; }
.ck-legal__body a { color: var(--amber-text); text-underline-offset: 2px; }
.ck-legal__body a:hover { color: var(--amber-mid); }
.ck-legal__divider { height: 1px; background: var(--border); margin-block: 2.5rem; max-width: var(--measure); }

.ck-toc { background: var(--amber-surface); border: 1.5px solid var(--border); border-radius: 10px; padding: 1.5rem; margin-bottom: 3rem; display: inline-block; }
.ck-toc__title { font-family: var(--ff-ui); font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.ck-toc ol { padding-left: 1.1rem; margin: 0; }
.ck-toc li { font-family: var(--ff-ui); font-size: 0.85rem; color: var(--text-mid); margin-top: 0.3rem; }
.ck-toc a { color: var(--amber-text); text-decoration: none; }
.ck-toc a:hover { text-decoration: underline; }

.ck-rights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; max-width: none; }
.ck-right-item { background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 1rem 1.1rem; }
.ck-right-item__title { font-family: var(--ff-ui); font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.ck-right-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; max-width: none; }

/* Presseseite — Downloads & Markenbasics */
.ck-press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; max-width: none; }
.ck-press-card { border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ck-press-card__preview { background: var(--amber-surface); padding: 1.5rem; display: flex; align-items: center; justify-content: center; min-height: 130px; }
.ck-press-card__preview img { max-width: 100%; max-height: 96px; height: auto; object-fit: contain; }
.ck-press-card__body { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.ck-press-card__name { font-family: var(--ff-ui); font-weight: 600; font-size: 0.9rem; color: var(--text); }
.ck-press-card__meta { font-family: var(--ff-ui); font-size: 0.78rem; color: var(--text-muted); }
.ck-press-card__links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.ck-press-dl { display: inline-flex; align-items: center; gap: 0.3em; font-family: var(--ff-ui); font-size: 0.8rem; font-weight: 600; color: var(--amber-text); text-decoration: none; border: 1.5px solid var(--amber); border-radius: 100px; padding: 0.35em 0.9em; transition: background 0.14s, color 0.14s; }
.ck-press-dl:hover { background: var(--amber); color: var(--on-amber); }
.ck-swatches { display: flex; gap: 1.25rem; flex-wrap: wrap; margin: 1.25rem 0; max-width: none; }
.ck-swatch { font-family: var(--ff-ui); font-size: 0.78rem; color: var(--text-mid); }
.ck-swatch__chip { width: 72px; height: 48px; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 0.4rem; }
.ck-press-quote { margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: var(--amber-surface); border-left: 3px solid var(--amber); border-radius: 0 8px 8px 0; max-width: none; }
.ck-press-quote p { font-family: var(--ff-body); font-style: italic; font-size: 1rem; line-height: 1.6; color: var(--text); max-width: none; }
.ck-press-quote cite { display: block; margin-top: 0.75rem; font-family: var(--ff-ui); font-style: normal; font-size: 0.82rem; color: var(--text-muted); }

/* Contact form (Impressum) */
.ck-cf { max-width: 560px; margin-top: 1.25rem; }
.ck-cf__row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.ck-cf label { font-family: var(--ff-ui); font-size: 0.8rem; font-weight: 600; color: var(--text-mid); }
.ck-cf input, .ck-cf textarea { font-family: var(--ff-ui); font-size: 0.95rem; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 0.65em 0.9em; outline: none; transition: border-color 0.15s, box-shadow 0.15s; width: 100%; }
.ck-cf input:focus, .ck-cf textarea:focus { border-color: var(--amber-mid); box-shadow: 0 0 0 3px oklch(52% 0.18 72 / 0.12); }
.ck-cf__submit { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.75em 1.6em; background: var(--amber); color: var(--on-amber); font-family: var(--ff-display); font-weight: 600; font-size: 0.95rem; border: none; border-radius: var(--r); cursor: pointer; transition: opacity 0.15s; }
.ck-cf__submit:hover { opacity: 0.88; }
.ck-cf__note { font-family: var(--ff-ui); font-size: 0.85rem; padding: 0.85rem 1.1rem; border-radius: 8px; margin-bottom: 1.25rem; max-width: 560px; }
.ck-cf__note--ok { background: var(--amber-surface); border: 1px solid var(--amber-light); color: var(--amber-text); }
.ck-cf__note--err { background: oklch(95% 0.05 25); border: 1px solid oklch(80% 0.1 25); color: oklch(45% 0.22 25); }
