/*
Theme Name: CraftControl Marketing
Theme URI: https://craftcontrol.app
Author: Linnebacher Engineering
Description: Schlankes Marketing-Theme fuer die CraftControl WordPress-Webpraesenz.
Version: 1.3.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.2
Text Domain: craftcontrol-marketing
*/

:root {
  --cc-orange: #ff5a0a;
  --cc-ink: #1e1f21;
  --cc-muted: #68727e;
  --cc-line: #e3e6ea;
  --cc-paper: #ffffff;
  --cc-mist: #f5f7f9;
  --cc-slate: #223036;
  --cc-green: #1f7a63;
  --cc-blue: #24566f;
  color: var(--cc-ink);
  background: var(--cc-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--cc-ink);
  background: var(--cc-paper);
}

.cc-wp-page {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.cc-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(30, 31, 33, 0.78);
  color: #fff;
  backdrop-filter: blur(16px);
}

.admin-bar .cc-header {
  top: 32px;
}

.cc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 950;
}

.cc-brand-mark {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0;
  background: url("assets/favicon.svg") center / contain no-repeat;
  box-shadow: none;
}

.cc-nav {
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.cc-menu,
.cc-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
}

.cc-menu > li {
  position: relative;
}

.cc-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
}

.cc-menu-item-has-children > a::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
}

.cc-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 16rem;
  transform: translate(-50%, 0.4rem);
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.55rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  background: rgba(30, 31, 33, 0.96);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.cc-submenu a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.cc-submenu a:hover,
.cc-submenu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cc-menu-item-has-children:hover .cc-submenu,
.cc-menu-item-has-children:focus-within .cc-submenu,
.cc-menu-item-has-children.cc-submenu-open .cc-submenu {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cc-nav a:hover,
.cc-header-action:hover {
  color: #fff;
}

.cc-header-action,
.cc-primary,
.cc-secondary,
.cc-price-card a,
.cc-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 0.35rem;
  font-weight: 850;
}

.cc-header-action,
.cc-primary,
.cc-contact-button {
  border: 0;
  background: var(--cc-orange);
  color: #fff;
}

.cc-header-action {
  min-height: 2.6rem;
  padding: 0 1.05rem;
}

.cc-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.cc-hero-media,
.cc-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cc-hero-media {
  object-fit: cover;
}

.cc-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 18, 20, 0.91) 0%, rgba(15, 18, 20, 0.64) 42%, rgba(15, 18, 20, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 18, 20, 0.72) 0%, rgba(15, 18, 20, 0) 40%);
}

.cc-hero-content {
  position: relative;
  width: min(58rem, 100%);
  padding: 9rem clamp(1rem, 5vw, 5rem) 7rem;
}

.cc-eyebrow {
  display: block;
  color: var(--cc-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cc-hero h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(3.3rem, 12vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.cc-hero p {
  margin: 1.4rem 0 0;
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.cc-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.cc-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--cc-line);
  background: var(--cc-paper);
}

.cc-signal-strip div {
  min-width: 0;
  min-height: 7.5rem;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-right: 1px solid var(--cc-line);
}

.cc-signal-strip div:last-child {
  border-right: 0;
}

.cc-signal-strip strong {
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.cc-signal-strip span {
  color: var(--cc-muted);
  font-weight: 700;
}

.cc-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.cc-intro,
.cc-positioning,
.cc-product-story,
.cc-split,
.cc-proof,
.cc-contact,
.cc-contracts,
.cc-audiences,
.cc-faq {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.cc-heading h2 {
  margin: 0.55rem 0 0;
  max-width: 38rem;
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.cc-heading p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--cc-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cc-intro > p,
.cc-product-story > p,
.cc-proof p,
.cc-contact p,
.cc-contract-copy p {
  margin: 0;
  color: var(--cc-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.cc-positioning {
  background: #fff;
}

.cc-outcomes {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(22rem, 1.15fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  background: var(--cc-slate);
  color: #fff;
}

.cc-outcomes-heading {
  position: sticky;
  top: 7rem;
}

.cc-outcomes-heading h2 {
  margin: 0.55rem 0 0;
  max-width: 40rem;
  font-size: clamp(2.25rem, 4.3vw, 4.4rem);
  line-height: 1;
}

.cc-outcomes-heading p {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cc-outcomes-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-outcomes-list li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cc-outcomes-list li:first-child {
  padding-top: 0;
}

.cc-outcomes-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cc-outcomes-list > li > span {
  color: var(--cc-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cc-outcomes-list h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.cc-outcomes-list p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.62;
}

.cc-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cc-mode-card,
.cc-audience-card,
.cc-faq-list article {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: var(--cc-paper);
}

.cc-audience-visual {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.75fr;
  gap: 0.45rem;
  min-height: 3.6rem;
  margin-bottom: 0.2rem;
}

.cc-audience-visual span {
  display: block;
  min-width: 0;
  border: 1px solid var(--cc-line);
  border-radius: 0.45rem;
  background: #fff;
}

.cc-audience-visual span:first-child {
  border-color: var(--cc-orange);
  background: var(--cc-orange);
}

.cc-audience-visual span:nth-child(2) {
  background: #edf5f2;
}

.cc-audience-visual span:nth-child(3) {
  background: #e9f1f5;
}

.cc-mode-card > span,
.cc-audience-card > span,
.cc-module-card span {
  color: var(--cc-orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cc-mode-card h3,
.cc-audience-card h3,
.cc-faq-list h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.cc-mode-card p,
.cc-audience-card p,
.cc-faq-list p {
  margin: 0;
  color: var(--cc-muted);
  line-height: 1.6;
}

.cc-mode-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-mode-card li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.45;
}

.cc-mode-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--cc-green);
}

.cc-mode-card-dark {
  border-color: var(--cc-slate);
  background: var(--cc-slate);
  color: #fff;
}

.cc-mode-card-dark p,
.cc-mode-card-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.cc-product-story {
  background: var(--cc-mist);
}

.cc-product-visual {
  display: grid;
  gap: 1rem;
}

.cc-product-shot,
.cc-contract-shot,
.cc-proof-shot,
.cc-image-strip article {
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1rem 2.8rem rgba(30, 31, 33, 0.08);
}

.cc-product-shot,
.cc-contract-shot,
.cc-proof-shot {
  margin: 0;
}

.cc-product-shot img,
.cc-contract-shot img,
.cc-proof-shot img,
.cc-image-strip img {
  display: block;
  width: 100%;
  height: auto;
}

.cc-product-shot figcaption,
.cc-contract-shot figcaption {
  padding: 0.8rem 0.95rem;
  color: var(--cc-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cc-mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.cc-mini-dashboard article {
  min-height: 6.5rem;
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(30, 31, 33, 0.06);
}

.cc-mini-dashboard span,
.cc-flow span {
  color: var(--cc-muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cc-mini-dashboard strong {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.cc-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
}

.cc-flow article {
  position: relative;
  min-height: 14rem;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.1rem;
  border-right: 1px solid var(--cc-line);
}

.cc-flow article:last-child {
  border-right: 0;
}

.cc-flow article::before {
  content: "";
  width: 2.6rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--cc-orange);
}

.cc-flow h3,
.cc-flow p {
  margin: 0;
}

.cc-flow h3 {
  font-size: 1.12rem;
}

.cc-flow p {
  color: var(--cc-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.cc-image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 4vw, 4rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--cc-line);
  border-bottom: 1px solid var(--cc-line);
  background: #fff;
}

.cc-image-strip article {
  display: grid;
  grid-template-rows: auto 1fr;
}

.cc-image-strip img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--cc-line);
}

.cc-image-strip div {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.cc-image-strip span {
  color: var(--cc-orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cc-image-strip p {
  margin: 0;
  color: var(--cc-muted);
  line-height: 1.5;
}

.cc-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--cc-line);
  border-bottom: 1px solid var(--cc-line);
}

.cc-module-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-module-card {
  min-height: 20rem;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  border-right: 1px solid var(--cc-line);
  background: var(--cc-mist);
}

.cc-module-card:nth-child(even) {
  background: #fff;
}

.cc-module-card:last-child {
  border-right: 0;
}

.cc-module-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
}

.cc-module-card p {
  margin: 0;
  color: var(--cc-muted);
  line-height: 1.62;
}

.cc-module-graphic {
  position: relative;
  width: 5.6rem;
  height: 4.3rem;
  margin-bottom: 0.3rem;
}

.cc-module-graphic span,
.cc-module-graphic i,
.cc-module-graphic b {
  position: absolute;
  display: block;
  border-radius: 0.45rem;
}

.cc-module-graphic span {
  inset: 0.45rem 0.55rem 0 0;
  border: 1px solid var(--cc-line);
  background: #fff;
}

.cc-module-graphic i {
  top: 0;
  right: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--cc-orange);
  box-shadow: 0 0.8rem 1.5rem rgba(255, 90, 10, 0.2);
}

.cc-module-graphic b {
  left: 0.75rem;
  right: 1.35rem;
  bottom: 0.8rem;
  height: 0.45rem;
  background: var(--cc-line);
}

.cc-module-meter {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.cc-module-meter span {
  color: var(--cc-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: none;
}

.cc-module-meter i {
  position: relative;
  display: block;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: #dde5e9;
}

.cc-module-meter i::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 72%;
  border-radius: inherit;
  background: var(--cc-orange);
}

.cc-module-green .cc-module-graphic i,
.cc-module-green .cc-module-meter i::before {
  background: var(--cc-green);
}

.cc-module-blue .cc-module-graphic i,
.cc-module-blue .cc-module-meter i::before {
  background: var(--cc-blue);
}

.cc-module-slate .cc-module-graphic i,
.cc-module-slate .cc-module-meter i::before {
  background: var(--cc-slate);
}

.cc-split {
  background: var(--cc-slate);
  color: #fff;
}

.cc-contracts {
  background: #fff;
}

.cc-contract-layout {
  display: grid;
  gap: 1.4rem;
}

.cc-contract-copy {
  display: grid;
  gap: 1.2rem;
}

.cc-contract-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cc-contract-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0 0.75rem;
  border-radius: 0.35rem;
  background: #edf5f2;
  color: var(--cc-green);
  font-weight: 850;
}

.cc-case-quote {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-left: 0.28rem solid var(--cc-orange);
  border-radius: 0 0.5rem 0.5rem 0;
  background: var(--cc-mist);
}

.cc-case-quote p {
  margin: 0;
  color: var(--cc-ink);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.55;
}

.cc-case-quote footer {
  margin-top: 0.8rem;
  color: var(--cc-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.cc-case-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.2rem;
  padding: 0 1rem;
  border: 1px solid var(--cc-ink);
  border-radius: 0.45rem;
  color: var(--cc-ink);
  font-weight: 850;
}

.cc-case-link:hover,
.cc-case-link:focus-visible {
  background: var(--cc-ink);
  color: #fff;
}

.cc-contract-visual {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 90, 10, 0.08), rgba(31, 122, 99, 0.08)),
    #fff;
}

.cc-contract-node {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 0.45rem;
  background: var(--cc-slate);
  color: #fff;
}

.cc-contract-node span,
.cc-contract-lines span,
.cc-contract-lines i {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cc-contract-node span {
  color: rgba(255, 255, 255, 0.6);
}

.cc-contract-node strong {
  font-size: 1.2rem;
}

.cc-contract-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.cc-contract-lines article {
  display: grid;
  gap: 0.45rem;
  min-height: 8.5rem;
  padding: 0.9rem;
  border: 1px solid rgba(30, 31, 33, 0.08);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.82);
}

.cc-contract-lines article::before {
  content: "";
  width: 2rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--cc-orange);
}

.cc-contract-lines span {
  color: var(--cc-orange);
}

.cc-contract-lines strong {
  line-height: 1.2;
}

.cc-contract-lines i {
  align-self: end;
  color: var(--cc-muted);
  font-style: normal;
}

.cc-contract-shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.cc-contract-detail-shot {
  margin-top: 0.25rem;
}

.cc-workflow {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  counter-reset: workflow;
  list-style: none;
}

.cc-workflow li {
  position: relative;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  padding: 1rem 1rem 1rem 4.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.cc-workflow li::before {
  counter-increment: workflow;
  content: counter(workflow);
  position: absolute;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--cc-orange);
  color: #fff;
  font-weight: 900;
}

.cc-workflow-light li {
  border-color: var(--cc-line);
  background: var(--cc-mist);
  color: var(--cc-ink);
}

.cc-proof {
  background: #f7f9f8;
  align-items: center;
}

.cc-proof div {
  display: grid;
  gap: 1.4rem;
}

.cc-proof img {
  width: 4.5rem;
  height: auto;
}

.cc-proof-shot img {
  width: 100%;
}

.cc-proof h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.04;
}

.cc-proof-list {
  display: grid;
  gap: 0.75rem;
}

.cc-proof-list article {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
}

.cc-proof-list strong {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1;
}

.cc-proof-list span {
  color: var(--cc-muted);
  line-height: 1.45;
}

.cc-audiences {
  background: var(--cc-mist);
}

.cc-audience-grid,
.cc-faq-list {
  display: grid;
  gap: 1rem;
}

.cc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.cc-price-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.2rem;
  min-height: 29rem;
  padding: 1.4rem;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: var(--cc-paper);
}

.cc-price-card-featured {
  border-color: var(--cc-orange);
  box-shadow: 0 1rem 3rem rgba(255, 90, 10, 0.14);
}

.cc-price-card h3,
.cc-price-card p,
.cc-price-card ul {
  margin: 0;
}

.cc-price-card h3 {
  font-size: 1.25rem;
}

.cc-price-card strong {
  display: block;
  margin-top: 0.8rem;
  font-size: 2.2rem;
}

.cc-price-card div span,
.cc-price-card p {
  color: var(--cc-muted);
}

.cc-price-card ul {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.cc-price-card li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.45;
}

.cc-price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cc-green);
}

.cc-price-card a {
  background: var(--cc-ink);
  color: #fff;
}

.cc-price-card-featured a {
  background: var(--cc-orange);
}

.cc-contact {
  background: var(--cc-mist);
}

.cc-contact-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: var(--cc-paper);
}

.cc-contact-panel label {
  display: grid;
  gap: 0.45rem;
  color: var(--cc-ink);
  font-weight: 800;
}

.cc-contact-panel input,
.cc-contact-panel select,
.cc-contact-panel textarea {
  min-height: 3rem;
  width: 100%;
  border: 1px solid var(--cc-line);
  border-radius: 0.35rem;
  padding: 0 0.85rem;
  color: var(--cc-ink);
  background: #fff;
  font: inherit;
}

.cc-contact-panel textarea {
  min-height: 7rem;
  padding-top: 0.75rem;
  resize: vertical;
}

.cc-contact-panel input:focus,
.cc-contact-panel select:focus,
.cc-contact-panel textarea:focus {
  outline: 2px solid rgba(255, 90, 10, 0.22);
  border-color: var(--cc-orange);
}

.cc-contact-panel .cc-contact-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  color: var(--cc-muted);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
}

.cc-contact-consent input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin: 0.15rem 0 0;
  accent-color: var(--cc-orange);
}

.cc-contact-consent a,
.cc-form-status a {
  color: var(--cc-ink);
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.cc-contact-button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.cc-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cc-form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--cc-line);
  border-radius: 0.45rem;
  line-height: 1.5;
}

.cc-form-status-success {
  border-color: #b9ddcf;
  background: #edf8f4;
  color: #155f4d;
}

.cc-form-status-error {
  border-color: #ffd0bd;
  background: #fff4ef;
  color: #8c3514;
}

.cc-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  background: var(--cc-ink);
  color: rgba(255, 255, 255, 0.74);
}

.cc-footer strong {
  color: #fff;
}

.cc-footer-brand {
  display: grid;
  gap: 0.35rem;
}

.cc-footer-brand strong {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.cc-footer-brand strong::before {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  background: url("assets/favicon.svg") center / contain no-repeat;
}

.cc-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.cc-footer-nav a:hover,
.cc-footer-nav a:focus-visible {
  color: #fff;
}

.cc-footer-meta {
  color: rgba(255, 255, 255, 0.52);
}

.cc-contact-privacy {
  margin: -0.2rem 0 0;
  color: var(--cc-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
}

.cc-contact-privacy a {
  color: var(--cc-ink);
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.cc-legal-page {
  min-height: 100vh;
  padding-top: 4.2rem;
  background: var(--cc-mist);
}

.cc-legal-header {
  position: fixed;
}

.cc-legal-main {
  width: min(62rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.cc-legal-intro {
  margin-bottom: 2rem;
}

.cc-legal-intro h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
}

.cc-legal-intro p {
  max-width: 46rem;
  color: var(--cc-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cc-legal-notice {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #ffd2bd;
  border-radius: 0.5rem;
  background: #fff5f0;
  color: #713016;
  line-height: 1.55;
}

.cc-legal-content {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
}

.cc-legal-section {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--cc-line);
}

.cc-legal-section:last-child {
  border-bottom: 0;
}

.cc-legal-section h2,
.cc-legal-section h3 {
  margin: 0 0 0.8rem;
}

.cc-legal-section p,
.cc-legal-section li {
  color: var(--cc-muted);
  line-height: 1.7;
}

.cc-legal-section p:last-child {
  margin-bottom: 0;
}

.cc-legal-section a {
  color: var(--cc-orange);
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.cc-legal-placeholder {
  display: inline-block;
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  background: #fff1eb;
  color: #9a3e17;
  font-weight: 800;
}

/* Quiet, product-led visual system inspired by the CraftControl web app. */
body {
  background: #f6f7fb;
}

.cc-hero {
  min-height: 82vh;
}

.cc-hero-content {
  width: min(64rem, 100%);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.cc-hero h1 {
  max-width: 59rem;
  font-size: clamp(3.5rem, 9vw, 7.4rem);
  line-height: 0.91;
}

.cc-signal-strip {
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2.1rem clamp(1rem, 5vw, 5rem);
  border: 0;
  background: #202326;
  color: #fff;
}

.cc-signal-strip div {
  min-height: auto;
  padding: 0;
  border: 0;
}

.cc-signal-strip strong {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.cc-signal-strip span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.cc-section {
  padding-top: clamp(5rem, 9vw, 8.5rem);
  padding-bottom: clamp(5rem, 9vw, 8.5rem);
}

.cc-positioning,
.cc-contracts,
.cc-pricing {
  background: #fff;
}

.cc-product-story,
.cc-audiences,
.cc-proof,
.cc-contact {
  background: #f6f7fb;
}

.cc-heading h2 {
  max-width: 42rem;
  font-size: clamp(2.25rem, 4.3vw, 4.4rem);
  line-height: 1;
}

.cc-mode-grid {
  gap: 1.25rem;
}

.cc-mode-card,
.cc-audience-card,
.cc-faq-list article {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 0;
  border-radius: 1.1rem;
  background: #f6f7fb;
}

.cc-mode-card-dark {
  background: #202a2f;
}

.cc-audience-visual span {
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
}

.cc-product-visual {
  gap: 1.35rem;
}

.cc-product-shot,
.cc-contract-shot,
.cc-proof-shot,
.cc-image-strip article {
  border: 0;
  border-radius: 1.15rem;
  box-shadow: 0 1.6rem 4.5rem rgba(33, 43, 54, 0.1);
}

.cc-mini-dashboard {
  gap: 1rem;
}

.cc-mini-dashboard article {
  min-height: 5.8rem;
  padding: 1.15rem 1.25rem;
  border: 0;
  border-radius: 1rem;
  box-shadow: none;
}

.cc-flow {
  gap: 0.8rem;
  overflow: visible;
  border: 0;
  background: transparent;
}

.cc-flow article {
  min-height: 12rem;
  padding: 1.35rem;
  border: 0;
  border-radius: 1rem;
  background: #fff;
}

.cc-image-strip {
  gap: 1.5rem;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  border: 0;
  background: #fff;
}

.cc-image-strip article {
  box-shadow: none;
  background: #f6f7fb;
}

.cc-image-strip img {
  border: 0;
}

.cc-image-strip div {
  padding: 1.25rem 1.35rem 1.4rem;
}

.cc-module-grid,
.cc-module-grid-large {
  gap: 1.1rem;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1rem, 5vw, 5rem);
  border: 0;
  background: #f6f7fb;
}

.cc-module-card,
.cc-module-card:nth-child(even) {
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 0;
  border-radius: 1.1rem;
  background: #fff;
}

.cc-module-graphic span {
  border: 0;
  border-radius: 0.75rem;
  background: #f1f3f6;
}

.cc-contract-tags span {
  border-radius: 999px;
}

.cc-contract-visual {
  padding: 1.35rem;
  border: 0;
  border-radius: 1.1rem;
}

.cc-contract-node,
.cc-contract-lines article {
  border: 0;
  border-radius: 0.85rem;
}

.cc-workflow {
  gap: 0;
}

.cc-workflow li,
.cc-workflow-light li {
  min-height: 4.8rem;
  border: 0;
  border-bottom: 1px solid var(--cc-line);
  border-radius: 0;
  background: transparent;
}

.cc-workflow li:last-child {
  border-bottom: 0;
}

.cc-proof-list {
  gap: 0;
}

.cc-proof-list article {
  padding: 1.4rem 0;
  border: 0;
  border-bottom: 1px solid var(--cc-line);
  border-radius: 0;
  background: transparent;
}

.cc-proof-list article:last-child {
  border-bottom: 0;
}

.cc-pricing-grid {
  gap: 1.25rem;
}

.cc-price-card {
  padding: 1.8rem;
  border: 0;
  border-radius: 1.1rem;
  background: #f6f7fb;
}

.cc-price-card-featured {
  background: #fff3ed;
  box-shadow: none;
}

.cc-contact-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 0;
  border-radius: 1.1rem;
}

.cc-contact-panel input,
.cc-contact-panel select {
  border-color: #dfe3e8;
  border-radius: 0.65rem;
  background: #f8f9fb;
}

.cc-image-zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.cc-image-zoom img {
  transition: transform 220ms ease, filter 220ms ease;
}

.cc-image-zoom > span {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(30, 31, 33, 0.82);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.cc-image-zoom:hover img,
.cc-image-zoom:focus-visible img {
  transform: scale(1.012);
  filter: brightness(0.96);
}

.cc-image-zoom:hover > span,
.cc-image-zoom:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}

.cc-image-zoom:focus-visible {
  outline: 3px solid var(--cc-orange);
  outline-offset: -3px;
}

.cc-lightbox {
  width: min(96vw, 112rem);
  max-width: none;
  height: min(94vh, 72rem);
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: #111416;
  color: #fff;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.42);
}

.cc-lightbox::backdrop {
  background: rgba(12, 14, 16, 0.88);
  backdrop-filter: blur(7px);
}

.cc-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.cc-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.75rem 1rem 0.75rem 1.35rem;
  background: #202326;
}

.cc-lightbox-toolbar strong {
  font-size: 0.95rem;
}

.cc-lightbox-toolbar button {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}

.cc-lightbox-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(0.6rem, 2vw, 1.5rem);
}

.cc-lightbox-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .cc-header {
    grid-template-columns: auto auto;
  }

  .cc-nav {
    display: none;
  }

  .cc-header-action {
    justify-self: end;
  }

  .cc-signal-strip,
  .cc-intro,
  .cc-positioning,
  .cc-product-story,
  .cc-split,
  .cc-proof,
  .cc-contact,
  .cc-contracts,
  .cc-audiences,
  .cc-faq,
  .cc-mode-grid,
  .cc-pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .cc-outcomes-heading {
    position: static;
  }

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

  .cc-module-grid,
  .cc-module-grid-large,
  .cc-flow,
  .cc-contract-lines,
  .cc-image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-module-card:nth-child(2),
  .cc-module-card:nth-child(4),
  .cc-module-card:nth-child(6) {
    border-right: 0;
  }

  .cc-module-card {
    min-height: 17rem;
  }

  .cc-flow article:nth-child(2) {
    border-right: 0;
  }

  .cc-contract-lines article:last-child {
    grid-column: 1 / -1;
  }

  .cc-image-strip article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .cc-page {
    width: 100%;
    overflow-x: clip;
  }

  .cc-image-zoom > span {
    opacity: 1;
    transform: none;
  }

  .cc-lightbox {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .cc-section > *,
  .cc-heading,
  .cc-mode-grid {
    min-width: 0;
    max-width: 100%;
  }

  .cc-header {
    padding: 0.75rem 1rem;
  }

  .cc-brand {
    font-size: 1rem;
  }

  .cc-hero {
    min-height: 84vh;
  }

  .cc-hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 18, 20, 0.9) 0%, rgba(15, 18, 20, 0.64) 100%),
      linear-gradient(0deg, rgba(15, 18, 20, 0.72) 0%, rgba(15, 18, 20, 0) 42%);
  }

  .cc-hero-content {
    padding: 7rem 1rem 4.5rem;
  }

  .cc-actions,
  .cc-primary,
  .cc-secondary {
    width: 100%;
  }

  .cc-signal-strip,
  .cc-module-grid,
  .cc-module-grid-large,
  .cc-flow,
  .cc-contract-lines,
  .cc-image-strip {
    grid-template-columns: 1fr;
  }

  .cc-signal-strip div,
  .cc-module-card,
  .cc-module-card:nth-child(2),
  .cc-module-card:nth-child(4),
  .cc-module-card:nth-child(6) {
    border-right: 0;
    border-bottom: 0;
  }

  .cc-section {
    padding: 3.4rem 1rem;
  }

  .cc-workflow li {
    padding-right: 0.85rem;
  }

  .cc-flow article,
  .cc-flow article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--cc-line);
  }

  .cc-flow article:last-child {
    border-bottom: 0;
  }

  .cc-contract-lines article:last-child {
    grid-column: auto;
  }

  .cc-image-strip article:last-child {
    grid-column: auto;
  }
}

/* Praxisfall landing page */
.cc-case-page {
  padding-top: 4.2rem;
  background: var(--cc-mist);
}

.cc-case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: end;
  min-height: 46rem;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
  background: var(--cc-slate);
  color: #fff;
}

.cc-case-hero h1 {
  margin: 0.7rem 0 0;
  max-width: 62rem;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  line-height: 0.91;
}

.cc-case-hero p {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.cc-case-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0.45rem;
  color: #fff;
  font-weight: 850;
}

.cc-case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
}

.cc-case-facts div {
  min-height: 8.5rem;
  display: grid;
  align-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cc-case-facts div:nth-child(2n) { border-right: 0; }
.cc-case-facts div:nth-last-child(-n + 2) { border-bottom: 0; }
.cc-case-facts dt { color: var(--cc-orange); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.cc-case-facts dd { margin: 0; font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 900; line-height: 1.1; }

.cc-case-section {
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.cc-case-split,
.cc-case-product,
.cc-case-process,
.cc-case-results {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.cc-case-section-heading h2,
.cc-case-cta h2 {
  margin: 0.55rem 0 0;
  max-width: 44rem;
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  line-height: 1;
}

.cc-case-section-heading > p,
.cc-case-cta p {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--cc-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cc-case-prose {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
}

.cc-case-prose p { margin: 0; color: var(--cc-muted); font-size: 1.08rem; line-height: 1.75; }

.cc-case-challenges { background: #fff; }
.cc-case-challenges .cc-case-section-heading { margin-bottom: 2rem; }
.cc-case-challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--cc-line); border-radius: 0.5rem; }
.cc-case-challenge-grid article { min-height: 18rem; padding: 1.7rem; border-right: 1px solid var(--cc-line); }
.cc-case-challenge-grid article:last-child { border-right: 0; }
.cc-case-challenge-grid span { color: var(--cc-orange); font-size: 0.75rem; font-weight: 900; }
.cc-case-challenge-grid h3 { margin: 2.8rem 0 0; font-size: 1.5rem; }
.cc-case-challenge-grid p { margin: 0.8rem 0 0; color: var(--cc-muted); line-height: 1.65; }

.cc-case-product { background: var(--cc-mist); }
.cc-case-screen { margin: 0; overflow: hidden; border: 1px solid var(--cc-line); border-radius: 0.5rem; background: #fff; }
.cc-case-screen img { display: block; width: 100%; height: auto; }
.cc-case-screen figcaption { padding: 0.85rem 1rem; color: var(--cc-muted); font-size: 0.85rem; line-height: 1.5; }

.cc-case-process { background: #fff; }
.cc-case-process ol { margin: 0; padding: 0; list-style: none; }
.cc-case-process li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--cc-line); }
.cc-case-process li:first-child { padding-top: 0; }
.cc-case-process li:last-child { padding-bottom: 0; border-bottom: 0; }
.cc-case-process li > span { color: var(--cc-orange); font-size: 0.75rem; font-weight: 900; }
.cc-case-process h3 { margin: 0; font-size: 1.35rem; }
.cc-case-process p { margin: 0.45rem 0 0; color: var(--cc-muted); line-height: 1.6; }

.cc-case-results { background: var(--cc-mist); }
.cc-case-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--cc-line); border-radius: 0.5rem; background: #fff; }
.cc-case-results-grid article { min-height: 12rem; padding: 1.4rem; border-right: 1px solid var(--cc-line); border-bottom: 1px solid var(--cc-line); }
.cc-case-results-grid article:nth-child(2n) { border-right: 0; }
.cc-case-results-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
.cc-case-results-grid strong { font-size: 1.35rem; }
.cc-case-results-grid p { margin: 0.65rem 0 0; color: var(--cc-muted); line-height: 1.6; }

.cc-case-testimonial { padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 10vw, 10rem); background: var(--cc-slate); color: #fff; }
.cc-case-testimonial blockquote { margin: 0; }
.cc-case-testimonial blockquote > p { margin: 0; max-width: 76rem; font-size: clamp(2rem, 4.3vw, 4.2rem); font-weight: 850; line-height: 1.08; }
.cc-case-testimonial footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 1rem; margin-top: 2rem; color: rgba(255, 255, 255, 0.62); }
.cc-case-testimonial footer strong { color: #fff; }
.cc-case-testimonial footer a { color: var(--cc-orange); font-weight: 800; }

.cc-case-cta { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem); background: #fff; }
.cc-case-cta .cc-primary { white-space: nowrap; }

@media (max-width: 980px) {
  .cc-case-hero,
  .cc-case-split,
  .cc-case-product,
  .cc-case-process,
  .cc-case-results,
  .cc-case-cta { grid-template-columns: 1fr; }

  .cc-case-hero { min-height: auto; }
  .cc-case-challenge-grid { grid-template-columns: 1fr; }
  .cc-case-challenge-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--cc-line); }
  .cc-case-challenge-grid article:last-child { border-bottom: 0; }
  .cc-case-challenge-grid h3 { margin-top: 1.3rem; }
  .cc-case-cta .cc-primary { justify-self: start; }
}

@media (max-width: 640px) {
  .cc-case-page { padding-top: 4rem; }
  .cc-case-hero,
  .cc-case-section,
  .cc-case-testimonial,
  .cc-case-cta { padding: 3.5rem 1rem; }
  .cc-case-facts,
  .cc-case-results-grid { grid-template-columns: 1fr; }
  .cc-case-facts div,
  .cc-case-facts div:nth-child(2n),
  .cc-case-facts div:nth-last-child(-n + 2),
  .cc-case-results-grid article,
  .cc-case-results-grid article:nth-child(2n),
  .cc-case-results-grid article:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--cc-line); }
  .cc-case-facts div:last-child,
  .cc-case-results-grid article:last-child { border-bottom: 0; }
  .cc-case-testimonial footer { display: grid; }
}

/* App-aligned marketing system: the CraftControl product UI is the visual lead. */
:root {
  --cc-line: #e5e7eb;
  --cc-mist: #f5f6f8;
  --cc-slate: #252b31;
}

.cc-header {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--cc-line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--cc-ink);
  box-shadow: 0 0.15rem 0.65rem rgba(30, 31, 33, 0.04);
}

.cc-brand,
.cc-nav,
.cc-nav a:hover,
.cc-header-action:hover {
  color: var(--cc-ink);
}

.cc-nav {
  color: var(--cc-muted);
}

.cc-header-action,
.cc-primary,
.cc-contact-button,
.cc-secondary,
.cc-price-card a {
  border-radius: 0.45rem;
}

.cc-header-action,
.cc-header-action:hover {
  color: #fff;
}

.cc-submenu {
  border-color: var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(30, 31, 33, 0.12);
}

.cc-submenu a {
  color: var(--cc-muted);
}

.cc-submenu a:hover,
.cc-submenu a:focus-visible {
  background: var(--cc-mist);
  color: var(--cc-ink);
}

.cc-hero {
  min-height: calc(82vh - 4.2rem);
  margin-top: 4.2rem;
}

.cc-signal-strip {
  gap: 0.8rem;
  padding: 1rem clamp(1rem, 5vw, 5rem);
  background: var(--cc-mist);
  color: var(--cc-ink);
}

.cc-signal-strip div {
  min-height: 6rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
}

.cc-signal-strip strong {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.cc-signal-strip span {
  color: var(--cc-muted);
}

.cc-mode-card,
.cc-audience-card,
.cc-faq-list article,
.cc-product-shot,
.cc-contract-shot,
.cc-proof-shot,
.cc-image-strip article,
.cc-mini-dashboard article,
.cc-flow article,
.cc-contract-visual,
.cc-contract-node,
.cc-contract-lines article,
.cc-price-card {
  border-radius: 0.5rem;
}

.cc-mode-card,
.cc-audience-card,
.cc-faq-list article,
.cc-product-shot,
.cc-contract-shot,
.cc-proof-shot,
.cc-image-strip article,
.cc-mini-dashboard article,
.cc-flow article,
.cc-price-card {
  border: 1px solid var(--cc-line);
  box-shadow: none;
}

.cc-module-section {
  padding: clamp(5rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  background: var(--cc-mist);
}

.cc-module-heading {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.05fr);
  gap: 0.7rem clamp(2rem, 6vw, 5rem);
  margin-bottom: 2.2rem;
}

.cc-module-heading .cc-eyebrow {
  grid-column: 1;
}

.cc-module-heading h2 {
  grid-column: 1;
  margin: 0;
  max-width: 42rem;
  font-size: clamp(2.25rem, 4.3vw, 4.4rem);
  line-height: 1;
}

.cc-module-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  max-width: 35rem;
  color: var(--cc-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cc-module-grid,
.cc-module-grid-large {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 0.5rem;
  background: #fff;
}

.cc-module-card,
.cc-module-card:nth-child(even) {
  min-height: 17rem;
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  border: 0;
  border-right: 1px solid var(--cc-line);
  border-bottom: 1px solid var(--cc-line);
  border-radius: 0;
  background: #fff;
}

.cc-module-card:nth-child(3n) {
  border-right: 0;
}

.cc-module-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.cc-module-graphic {
  width: 3.25rem;
  height: 3rem;
  margin-bottom: 0.15rem;
}

.cc-module-graphic span {
  inset: 0;
  border: 1px solid #ffe0d2;
  border-radius: 0.45rem;
  background: #fff5f0;
}

.cc-module-graphic i {
  top: 0.65rem;
  right: 0.65rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.2rem;
  background: var(--cc-orange) !important;
  box-shadow: none;
}

.cc-module-graphic b {
  left: 0.65rem;
  right: 1.65rem;
  bottom: 0.7rem;
  height: 0.25rem;
  background: #c8cdd3;
}

.cc-module-meter i::before {
  background: var(--cc-orange) !important;
}

@media (max-width: 980px) {
  .cc-module-heading {
    grid-template-columns: 1fr;
  }

  .cc-module-heading .cc-eyebrow,
  .cc-module-heading h2,
  .cc-module-heading p {
    grid-column: 1;
    grid-row: auto;
  }

  .cc-module-card:nth-child(3n) {
    border-right: 1px solid var(--cc-line);
  }

  .cc-module-card:nth-child(2n) {
    border-right: 0;
  }

  .cc-module-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--cc-line);
  }

  .cc-module-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .cc-module-section {
    padding: 3.4rem 1rem;
  }

  .cc-module-card,
  .cc-module-card:nth-child(2n),
  .cc-module-card:nth-child(3n),
  .cc-module-card:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--cc-line);
  }

  .cc-module-card:last-child {
    border-bottom: 0;
  }

  .admin-bar .cc-header {
    top: 46px;
  }
}
