/* module.css */

.cc-page,
.cc-ways,
.cc-details,
.cc-cta {
  background: #FFF;
  color: #6D6C6D;
}

.cc-common {
  background: var(--bg);
  color: #6D6C6D;
}


/* Section intro rule */
.eyebrow {
  margin: 0 0 8px 0;
  
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-page h2,
.cc-ways h2,
.cc-common h2,
.cc-details h2,
.cc-cta h2 {
  margin: 0 0 16px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
}

.cc-page h2 {
  font-size: 40px;
  line-height: 48px;
}


.cc-intro {
  max-width: 720px;
}

.cc-page a,
.cc-ways a,
.cc-common a,
.cc-details a,
.cc-cta a {
  
  font-weight: 600;
  text-decoration: none;
}

.cc-page a:hover,
.cc-ways a:hover,
.cc-common a:hover,
.cc-details a:hover,
.cc-cta a:hover {
  
}

.cc-page a:focus-visible,
.cc-ways a:focus-visible,
.cc-common a:focus-visible,
.cc-details a:focus-visible,
.cc-cta a:focus-visible,
.cc-page summary:focus-visible,
.cc-details summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

/* Hero layout */
.cc-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.cc-hero-aside {
  display: grid;
  gap: 24px;
  align-content: start;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px 0;
}

/* KPIs */
.cc-kpis {
  margin: 0;
  padding: 24px;
  background: var(--bg);
  border: var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cc-kpi dt {
  margin: 0 0 8px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-kpi dd {
  margin: 0;
  color: #2b2b2c;
  font-size: 16px;
  line-height: 24px;
}

/* Figure */
.cc-figure {
  margin: 0;
}

.cc-image {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border);
  border-radius: 8px;
  background: #FFF;
}

.cc-figure figcaption {
  margin: 8px 0 0 0;
  font-size: 16px;
  line-height: 24px;
}

/* Quick nav */
.cc-toc {
  padding: 24px;
  background: var(--bg);
  border: var(--border);
  border-radius: 8px;
}

.cc-toc-title {
  margin: 0 0 16px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-toc-list {
  margin: 0;
  padding: 0 0 0 24px;
}

.cc-toc-list li {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 24px;
}

.cc-toc-list li:last-child {
  margin-bottom: 0;
}

/* Cards */
.cc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cc-card {
  padding: 24px;
  border: var(--border);
  background: #FFF;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.cc-card:hover,
.cc-card:focus-within {
  border-
}

.cc-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  margin: 0 0 16px 0;
}

.cc-pill {
  padding: 8px 16px;
  border: var(--border);
  background: var(--bg);
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  border-radius: 24px;
  white-space: nowrap;
}
.cc-pill {
  background: var(--bg);
  border: var(--border);
  border-radius: 24px;
  padding: 4px 16px;
  white-space: nowrap;
  width: auto;
}
.cc-card-title {
  margin: 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-card-text {
  margin: 0 0 16px 0;
}

.cc-dl {
  margin: 0 0 16px 0;
}

.cc-dl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 8px 0;
  border-top: var(--border);
}

.cc-dl-row:first-child {
  border-top: 0;
}

.cc-dl dt {
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-dl dd {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.cc-card-link {
  display: inline-block;
  margin-top: auto;
  color: #2b2b2c;
  font-weight: 600;
  text-decoration: none;
}
.mediaCard__cta {
  border-bottom: 2px solid rgba(73,124,173,.3);
  color: #2b2b2c;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  padding-bottom: 3px;
  transition: border-color .16s ease;
}
/* Common grouped surface */
.cc-surface {
  border: var(--border);
  border-radius: 8px;
  background: #FFF;
  overflow: hidden;
}

.cc-surface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cc-surface-item {
  padding: 24px;
}

.cc-surface-title {
  margin: 0 0 8px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-surface-item p {
  margin: 0;
}

.cc-surface-item:nth-child(2n) {
  border-left: var(--border);
}

.cc-surface-item:nth-child(n + 3) {
  border-top: var(--border);
}

/* Note */
.cc-note {
  margin: 24px 0 0 0;
  padding: 24px;
  background: #FFF;
  border: var(--border);
  border-radius: 8px;
}

.cc-note-title {
  margin: 0 0 8px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-note-text {
  font-size: 16px;
  line-height: 24px;
}

/* Accordion */
.cc-accordionb {
  display: grid;
  gap: 24px;
  max-width: none;
}

.cc-acc {
  border: var(--border);
  background: #FFF;
  border-radius: 8px;
  overflow: hidden;
}

.cc-acc-summary {
  list-style: none;
  cursor: pointer;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  color: #2b2b2c;
}

.cc-acc-summary::-webkit-details-marker {
  display: none;
}

.cc-acc-summary:hover {
  background: var(--bg);
}

.cc-acc-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-acc-meta {
  padding: 8px 16px;
  border: var(--border);
  background: var(--bg);
  border-radius: 24px;
  
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.cc-acc-icon {
  width: 24px;
  height: 24px;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-acc-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 180ms ease;
}

.cc-acc[open] .cc-acc-summary {
  background: var(--bg);
  border-bottom: var(--border);
}

.cc-acc[open] .cc-acc-icon svg {
  transform: rotate(180deg);
  
}

.cc-acc-body {
  padding: 24px;
}

.cc-acc-body h3 {
  margin: 24px 0 8px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-acc-body p {
  margin: 0 0 16px 0;
}

.cc-acc-body ul {
  margin: 0 0 16px 0;
  padding: 0 0 0 24px;
}

.cc-acc-body li {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 24px;
}

.cc-callout {
  margin: 24px 0 0 0;
  padding: 24px;
  background: var(--bg);
  border: var(--border);
  border-radius: 8px;
}

.cc-callout-title {
  margin: 0 0 16px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-callout-list {
  margin: 0;
  padding: 0 0 0 24px;
}

.cc-callout-list li {
  margin: 0 0 8px 0;
}

/* CTA */
.cc-cta-inner {
  padding: 24px;
  background: var(--bg);
  border: var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cc-cta-copy {
  max-width: 720px;
}

.cc-cta-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
/* module.css (hero only, revised) */

.cc-page {
  background: #FFF;
  color: #6D6C6D;
  padding: 64px 0;
}

/* Section intro rule */
.eyebrow {
  margin: 0 0 8px 0;
  
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-page h2 {
  margin: 0 0 16px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
}

.cc-page p {
  margin: 0 0 24px 0;
  font-size: 16px;
  line-height: 24px;
}

/* Background image wrapper */
.cc-hero-wrap {
  background-image: url("https://consensus-campus.de/hubfs/website/cc/berlin-bg-1.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  padding: 40px;
  margin-top: 40px;
}


.cc-hero-wrap .container {
  position: relative;
}

/* Single readable panel */
.cc-hero-panel {
  background: #FFF;
  border: var(--border);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.cc-hero-content {
  min-width: 0;
  max-width: 720px;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px 0;
}

.cc-hero-link {
  display: inline-block;
  
  font-weight: 600;
  text-decoration: none;
}

.cc-hero-link:hover,
.cc-hero-link:focus {
  
}

.cc-hero-link:focus-visible,
.cc-hero-panel .btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

/* KPIs */
.cc-kpis {
  margin: 0;
  padding: 24px;
  background: var(--bg);
  border: var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cc-kpi dt {
  margin: 0 0 8px 0;
  color: #2b2b2c;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.cc-kpi dd {
  margin: 0;
  color: #2b2b2c;
  font-size: 16px;
  line-height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .cc-page {
    padding: 48px 0;
  }

  .cc-hero-wrap {
    padding: 48px 0;
    border-radius: 8px;
  }

  .cc-page h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .cc-hero-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

/* Responsive */
@media (max-width: 1024px) {
  .cc-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cc-cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .cc-card-top {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    margin: 0 0 16px;
    justify-items: baseline;
  }
  .cc-card-top {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  .cc-hero {
    gap: 24px;
  }

  .cc-dl-row,
  .cc-hero,
  .cc-kpis,
  .cc-card-grid {
    grid-template-columns: 100%;
  }

  .cc-dl-row {
    gap: 8px;
  }

  .cc-surface-grid {
    grid-template-columns: 100%;
  }

  .cc-surface-item:nth-child(2n) {
    border-left: 0;
  }

  .cc-surface-item:nth-child(n + 2) {
    border-top: var(--border);
  }

  .cc-acc-summary {
    grid-template-columns: 100%;
    gap: 16px;
    align-items: start;
  }

  .cc-acc-icon {
    justify-content: flex-start;
  }
}
