/*
 * Start page, ideas and legal pages (rendered on the server).
 * Colors, fonts and shapes come from tokens.css (style guide: docs/design-vorschlag).
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--cd-font-sans);
  font-weight: 500;
  color: var(--cd-ink);
  background: var(--cd-paper);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--cd-petrol);
}

a {
  color: var(--cd-accent);
}

a:hover {
  color: var(--cd-accent-dark);
}

h1,
h2,
h3 {
  font-family: var(--cd-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

::selection {
  background: var(--cd-petrol);
  color: var(--cd-white);
}

:focus-visible {
  outline: 3px solid var(--cd-petrol);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--cd-ink);
  color: var(--cd-white);
  padding: 10px 16px;
  border-radius: var(--cd-radius-sm);
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
  color: var(--cd-white);
}

/* Base layout */

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding: 56px 16px;
}

.section--white {
  background: var(--cd-white);
  border-top: var(--cd-border);
  border-bottom: var(--cd-border);
}

.section--accent {
  background: var(--cd-petrol);
}

.section--highlight {
  background: var(--cd-koralle);
}

.section--ink {
  background: var(--cd-ink);
}

.section-head {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-head h2,
.h2 {
  font-size: 32px;
  line-height: 1.05;
}

.section-head p,
.section-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cd-muted);
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cd-accent);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.row > * {
  flex: 1 1 280px;
}

/* Buttons: rounded, with a 4px edge underneath that sinks in when pressed */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--cd-radius);
  font-weight: 800;
  font-size: 16px;
  font-family: inherit;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.1s,
    box-shadow 0.1s,
    filter 0.15s,
    background-color 0.15s;
}

.btn:active {
  transform: translateY(3px);
  box-shadow: none;
}

.btn-primary {
  background: var(--cd-petrol);
  color: var(--cd-white);
  box-shadow: var(--cd-kante-petrol);
}

.btn-primary:hover {
  filter: brightness(1.1);
  color: var(--cd-white);
}

.btn-koralle {
  background: var(--cd-koralle);
  color: var(--cd-ink);
  box-shadow: var(--cd-kante-koralle);
}

.btn-koralle:hover {
  filter: brightness(1.05);
  color: var(--cd-ink);
}

.btn-ghost {
  background: var(--cd-white);
  color: var(--cd-ink);
  border: 2px solid var(--cd-line-2);
  box-shadow: var(--cd-kante);
}

.btn-ghost:hover {
  background: var(--cd-paper);
  color: var(--cd-ink);
}

.btn-dark {
  background: var(--cd-ink);
  color: var(--cd-white);
  box-shadow: var(--cd-kante-ink);
}

.btn-dark:hover {
  color: var(--cd-white);
  filter: brightness(1.3);
}

/* White button on Petrol */
.btn-white {
  background: var(--cd-white);
  color: var(--cd-petrol-dark);
  box-shadow: var(--cd-kante-petrol);
}

.btn-white:hover {
  background: var(--cd-petrol-soft);
  color: var(--cd-petrol-dark);
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 12px;
}

/* Header and footer */

.banner {
  background: var(--cd-ink);
  color: var(--cd-white);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
}

.site-header {
  border-bottom: var(--cd-border);
  background: var(--cd-white);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Wordmark: small "carpe duo" */
.brand__name {
  font-family: var(--cd-font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: lowercase;
  color: var(--cd-ink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-left: auto;
}

.navlink {
  color: var(--cd-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.navlink:hover {
  color: var(--cd-accent);
}

.navlink--anchor {
  display: none;
}

/* On the start page the header sits on the Koralle half. */
.page-home .site-header {
  background: var(--cd-koralle);
  border-bottom-color: transparent;
}

.page-home .site-header .logo-mark__a {
  fill: var(--cd-white);
}

.page-home .navlink:hover {
  color: var(--cd-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .site-header .btn-primary {
  background: var(--cd-ink);
  box-shadow: var(--cd-kante-ink);
}

.site-footer {
  background: var(--cd-ink);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 32px 16px;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.site-footer .brand__name {
  color: var(--cd-white);
  font-size: 20px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.7);
}

.footlink {
  color: rgb(255 255 255 / 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footlink:hover {
  color: var(--cd-white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}

/* Language switch: set apart from the other footer links */
.footlink--locale {
  padding-left: 20px;
  border-left: 1px solid rgb(255 255 255 / 0.15);
  color: var(--cd-white);
}

/* Hero of the ideas page: centered on Koralle */

.hero {
  padding: 56px 16px 48px;
  background: var(--cd-koralle);
}

.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

/* A message the app hands over when it sends someone to this page. */
.page-notice {
  margin: 0;
  align-self: flex-start;
  border-radius: var(--cd-radius);
  background: var(--cd-white);
  color: var(--cd-ink);
  box-shadow: var(--cd-kante-koralle);
  padding: 12px 18px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cd-white);
  color: var(--cd-ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--cd-kante-koralle);
}

.hero h1 {
  font-size: 46px;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.mark {
  box-shadow: inset 0 -0.28em 0 var(--cd-white);
  padding: 0 4px;
}

.lead {
  margin: 0;
  max-width: 640px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cd-muted);
}

.hero .lead {
  color: #5a2019;
}

/* Start page: "Zwei Hälften". Koralle on top, seam, Petrol below. */

.hero--split {
  padding: 0;
  background: none;
}

.hero__half {
  padding: 28px 16px 36px;
}

.hero__half--client {
  background: var(--cd-koralle);
  color: var(--cd-ink);
}

.hero__half--developer {
  background: var(--cd-petrol);
  color: var(--cd-white);
}

/* Same content width as the header (1200px minus its padding) */
.hero--split .hero__inner {
  max-width: 1152px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  text-align: left;
  gap: 24px;
}

.hero__copy,
.hero__action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero__action {
  gap: 18px;
}

.hero .hero__title {
  font-size: clamp(46px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero__half--developer .lead {
  color: var(--cd-white);
}

.hero-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 18px;
  background: var(--cd-white);
  box-shadow: var(--cd-kante-koralle);
  transition: box-shadow 0.15s;
}

.hero-form:focus-within {
  box-shadow: 0 4px 0 var(--cd-ink);
}

.hero-form__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--cd-ink);
}

.hero-form__input::placeholder {
  color: var(--cd-ink-2);
}

.hero-form__input:focus {
  outline: none;
}

.hero-form__submit {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 13px;
  background: var(--cd-ink);
  color: var(--cd-white);
  cursor: pointer;
  transition: transform 0.1s;
}

.hero-form__submit:hover {
  background: #0c222a;
}

.hero-form__submit:active {
  transform: translateY(2px);
}

/* What happens after the arrow, right under the field */
.hero-form__note {
  margin: -6px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--cd-ink);
}

/* Things developers build: tags on Petrol */
.tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--cd-petrol-dark);
  color: var(--cd-white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 0 #063f47;
}

/* Seam: example duos on a moving band */

.seam {
  display: flex;
  align-items: stretch;
  height: 128px;
  background: var(--cd-ink);
  color: var(--cd-white);
  overflow: hidden;
}

.seam__label {
  margin: 0;
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  border-right: 1px solid rgb(255 255 255 / 0.1);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.seam__track {
  position: relative;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 48px), transparent);
}

.seam__band {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  padding-left: 16px;
  /* Slow enough to read a whole example while it passes */
  animation: seam-run 110s linear infinite;
}

.seam:hover .seam__band,
.seam:focus-within .seam__band {
  animation-play-state: paused;
}

.seam__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
}

.seam__row > li {
  flex: none;
  display: flex;
}

/* Each example names a concrete small project, up to three lines */
.seam__item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(340px, 78vw);
  min-height: 96px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--cd-radius);
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.15);
  box-shadow: 0 3px 0 #05161c;
  font-size: 13px;
  line-height: 1.3;
}

a.seam__item {
  color: var(--cd-white);
  text-decoration: none;
  transition: background-color 0.15s;
}

a.seam__item:hover {
  color: var(--cd-white);
  background: rgb(255 255 255 / 0.13);
}

.seam__item strong,
.seam__item strong + span {
  display: block;
}

.seam__item strong {
  font-weight: 800;
  white-space: nowrap;
  margin-bottom: 2px;
}

.seam__item strong + span {
  font-weight: 600;
  color: rgb(255 255 255 / 0.75);
}

@keyframes seam-run {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seam__band {
    animation: none;
  }

  .seam__track {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .seam__row[aria-hidden="true"] {
    display: none;
  }
}

.input {
  min-height: 56px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: var(--cd-ink);
  background: var(--cd-white);
  border: 2px solid var(--cd-line-2);
  border-radius: var(--cd-radius);
  width: 100%;
}

.input:focus {
  border-color: var(--cd-petrol);
  outline: none;
  box-shadow: 0 0 0 4px var(--cd-petrol-soft);
}

/* Chips: choices that lead somewhere */

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.chips__label {
  font-size: 14px;
  font-weight: 800;
  color: var(--cd-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 2px solid var(--cd-line-2);
  background: var(--cd-white);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cd-ink-2);
  text-decoration: none;
  transition: border-color 0.15s;
}

.chip:hover {
  border-color: var(--cd-ink-3);
  color: var(--cd-ink);
}

/* Chips on Koralle (ideas hero, ideas teaser) */
.hero .chip,
.section--highlight .chip {
  border-color: transparent;
  background: #ffd9d3;
  color: #7a2a21;
  font-weight: 800;
}

.hero .chip:hover,
.section--highlight .chip:hover {
  border-color: rgb(122 42 33 / 0.4);
  color: #7a2a21;
}

.chips--hero {
  justify-content: flex-start;
}

.chips--hero .chips__label {
  flex-basis: 100%;
  color: #5a2019;
}

.hero .chip--more {
  background: transparent;
  border: 2px dashed rgb(122 42 33 / 0.5);
}

/* Key figures */

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat__value {
  font-family: var(--cd-font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat__value--accent {
  color: var(--cd-accent);
}

.stat__bar {
  width: 56px;
  height: 8px;
  border-radius: 999px;
  background: var(--cd-koralle);
}

.stat__title {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.stat__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cd-muted);
}

/* Cards */

.card {
  background: var(--cd-white);
  border: var(--cd-border);
  border-radius: var(--cd-radius-lg);
  box-shadow: var(--cd-shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card--paper {
  background: var(--cd-paper);
  box-shadow: none;
}

.card--shadow {
  border-color: var(--cd-petrol-soft);
  box-shadow:
    0 4px 0 var(--cd-petrol-soft),
    0 12px 32px -18px rgb(20 48 58 / 0.25);
}

.card--roomy {
  padding: 28px;
  gap: 18px;
}

.card h3 {
  font-size: 21px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cd-muted);
}

.card__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cd-muted);
}

.card__label--accent {
  color: var(--cd-accent);
}

.card__title {
  font-family: var(--cd-font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--cd-ink);
}

.quote {
  margin: 0;
  background: var(--cd-koralle-soft);
  border-radius: var(--cd-radius);
  padding: 14px 16px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--cd-ink);
}

.row > .arrow {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Status pill with a dot. Tones: neutral (default), koralle, petrol, minze. */
.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--cd-line-2);
  background: var(--cd-paper);
  color: var(--cd-ink-2);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.pill--koralle {
  background: var(--cd-koralle-soft);
  border-color: rgb(255 122 107 / 0.6);
  color: var(--cd-koralle-text);
}

.pill--petrol {
  background: var(--cd-petrol-soft);
  border-color: rgb(15 124 140 / 0.3);
  color: var(--cd-petrol-dark);
}

.pill--minze {
  background: var(--cd-minze-soft);
  border-color: rgb(11 127 78 / 0.4);
  color: var(--cd-minze-dark);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cd-petrol);
  color: var(--cd-white);
  font-family: var(--cd-font-display);
  font-weight: 800;
  font-size: 20px;
  box-shadow: var(--cd-kante-petrol);
  transform: rotate(-4deg);
}

/* Manifest */

.manifest {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.manifest__claim {
  margin: 0;
  font-family: var(--cd-font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--cd-white);
}

.manifest__claim span {
  color: var(--cd-koralle);
}

.manifest__text {
  margin: 0;
  max-width: 680px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--cd-petrol-soft);
}

/* Two sides */

.side h3 {
  font-size: 24px;
  line-height: 1.15;
}

.side--client {
  border-top: 8px solid var(--cd-koralle);
}

.side--client .eyebrow {
  color: var(--cd-koralle-text);
}

.side--developer {
  border-top: 8px solid var(--cd-petrol);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.checklist svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.card .note-box {
  margin: 0;
  background: var(--cd-paper);
  border: var(--cd-border);
  border-radius: var(--cd-radius);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cd-ink);
}

.example-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px dashed var(--cd-line-2);
  border-radius: var(--cd-radius);
  padding: 14px 16px;
}

.example-profile__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.example-profile__kind {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cd-muted);
}

.example-profile__stats {
  font-size: 15.5px;
  font-weight: 800;
}

.example-profile__note {
  font-size: 13px;
  color: var(--cd-muted);
}

/* Avatars: Koralle for Auftraggeber:innen, Petrol for Entwickler:innen */
.avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid var(--cd-white);
  font-family: var(--cd-font-display);
  font-weight: 800;
  font-size: 17px;
  background: var(--cd-koralle);
  color: var(--cd-ink);
}

.avatar--accent {
  background: var(--cd-petrol);
  color: var(--cd-white);
}

.avatar--ink {
  background: var(--cd-ink);
  color: var(--cd-white);
}

.avatar--large {
  width: 64px;
  height: 64px;
  font-size: 24px;
}

.small-print {
  margin: 0;
  font-size: 13px;
  color: var(--cd-muted);
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq {
  background: var(--cd-white);
  border: var(--cd-border);
  border-radius: var(--cd-radius);
  padding: 0 20px;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--cd-font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 17.5px;
  padding: 18px 0;
}

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

.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--cd-petrol-soft);
  color: var(--cd-petrol-dark);
  font-size: 20px;
  font-weight: 800;
}

.faq[open] summary::after {
  content: "\2212";
}

.faq p {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--cd-muted);
  max-width: 680px;
}

/* Ideas teaser and closing section */

.teaser p {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 640px;
}

.teaser .chips {
  justify-content: flex-start;
}

.closing {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.closing h2 {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cd-white);
}

.closing p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.8);
}

.closing .small-print {
  color: rgb(255 255 255 / 0.6);
  font-size: 14px;
}

/* Logo, check mark and arrow (SVG, colors by class instead of a style attribute) */

.logo-mark {
  flex: none;
}

.logo-mark__a {
  fill: var(--cd-koralle);
}

.logo-mark__b {
  fill: var(--cd-petrol);
}

.logo-mark__duo {
  fill: var(--cd-ink);
}

.logo-mark--pair .logo-mark__duo {
  fill: var(--cd-white);
}

.check-icon path,
.arrow-icon path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-icon path {
  stroke: var(--cd-petrol);
}

.side--client .check-icon path {
  stroke: var(--cd-koralle-dark);
}

.arrow-icon path {
  stroke: currentColor;
}

/* Ideas page */

.branch-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.idea-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.branch-section {
  scroll-margin-top: 24px;
}

/* Text pages (imprint, privacy) */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 16px 72px;
  font-size: 16px;
  line-height: 1.7;
}

.prose h1 {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.prose h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}

.prose p,
.prose ul {
  color: var(--cd-muted);
}

.prose .placeholder-note {
  border: 2px dashed var(--cd-line-2);
  border-radius: var(--cd-radius);
  padding: 14px 16px;
  background: var(--cd-white);
  color: var(--cd-ink);
}

/* Tablet and up */

@media (min-width: 768px) {
  .section {
    padding: 80px 24px;
  }

  .hero {
    padding: 88px 24px 64px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero__half {
    padding: 40px 32px 48px;
  }

  .lead {
    font-size: 19px;
  }

  .badge {
    font-size: 13px;
    padding: 8px 16px;
  }

  .section-head h2,
  .h2 {
    font-size: 44px;
  }

  .stat__value {
    font-size: 64px;
  }

  .manifest__claim {
    font-size: 52px;
  }

  .closing h2 {
    font-size: 48px;
  }

  .side h3 {
    font-size: 26px;
  }

  .card--roomy {
    padding: 36px;
  }

  .row > .arrow {
    flex: 0 0 48px;
    transform: none;
  }

  .site-header__inner,
  .banner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-footer {
    padding: 36px 24px;
  }
}

@media (min-width: 1024px) {
  .navlink--anchor {
    display: inline;
  }

  .hero--split {
    padding: 0;
  }

  .hero__half {
    padding: 56px 24px 64px;
  }

  .hero--split .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: end;
  }

  .hero__half--developer .hero__inner {
    align-items: center;
  }
}

/* Task board */

.row > .board-card {
  flex-basis: 250px;
}

.board-card h3 {
  font-size: 18px;
  line-height: 1.3;
}

.board-card__footer {
  margin-top: auto;
  padding-top: 8px;
}

.board-card__note {
  font-size: 13px;
  color: var(--cd-muted);
}

/* Stories */

.row > .story-card {
  flex-basis: 300px;
}

.story-card h3 {
  font-size: 19px;
  line-height: 1.3;
}

.story-card__body {
  white-space: pre-line;
  font-size: 15.5px;
  line-height: 1.6;
}

.story-card__credits {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cd-accent);
}

/* Niche pages (/branchen, /branchen/<niche>) */

.hero--niche .hero__inner {
  max-width: 900px;
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #5a2019;
}

.breadcrumb a {
  color: #5a2019;
}

.breadcrumb a:hover {
  color: var(--cd-ink);
}

.niche-answer {
  max-width: 760px;
}

.niche-audience {
  margin: 0;
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #5a2019;
}

.checklist--pains li {
  font-size: 17px;
}

.pain-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--cd-koralle);
}

.niche-projects {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.niche-project {
  gap: 16px;
}

.niche-project h3 {
  font-size: 22px;
}

.niche-project__facts {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.niche-project__fact {
  padding: 14px 16px;
  border-radius: var(--cd-radius);
  background: var(--cd-paper);
}

.niche-project__fact--client {
  background: var(--cd-koralle-soft);
}

.niche-project__fact--developer {
  background: var(--cd-petrol-soft);
}

.niche-project__fact--privacy {
  background: var(--cd-white);
  border: 2px dashed var(--cd-line-2);
}

.niche-project__fact dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cd-ink-2);
  margin-bottom: 4px;
}

.niche-project__fact--client dt {
  color: var(--cd-koralle-text);
}

.niche-project__fact--developer dt {
  color: var(--cd-petrol-dark);
}

.niche-project__fact dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--cd-ink);
}

.niche-project .btn {
  align-self: flex-start;
}

.niche-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.niche-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.niche-steps .step-num {
  flex: none;
}

.chips--start {
  justify-content: flex-start;
}

.niche-card {
  text-decoration: none;
  color: var(--cd-ink);
  transition: transform 0.15s, box-shadow 0.15s;
}

.niche-card:hover {
  color: var(--cd-ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--cd-line-2), 0 16px 32px -18px rgb(20 48 58 / 0.35);
}

.niche-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--cd-accent);
}

@media (min-width: 900px) {
  .niche-project__facts {
    grid-template-columns: 1fr 1fr;
  }

  .niche-project__fact--privacy {
    grid-column: 1 / -1;
  }
}

/* Illustrations (script/illustrations.py). Decorative, they scale with
   their box and keep the aspect ratio of width and height. */

.illustration {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Start page: what a task is, then the steps of a project */

.task-intro {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-bottom: 64px;
}

.task-intro__art {
  width: 100%;
  max-width: 360px;
  justify-self: center;
}

.task-intro__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.task-intro__text .checklist {
  margin-top: 6px;
}

.flow {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.flow__art {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 4px;
}

.flow__note {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cd-muted);
}

/* Branch pages */

.hero-art {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
}

.hero-art img {
  width: 96px;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.group-head__art {
  width: 120px;
  flex: none;
}

.hero--niche__art {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 12px;
}

/* Long German compounds ("Hausverwaltungen") must not leave the screen. */
.hero--niche h1 {
  hyphens: auto;
  overflow-wrap: break-word;
}

.niche-steps__art {
  width: 80px;
  flex: none;
}

@media (min-width: 900px) {
  .task-intro {
    grid-template-columns: 2fr 3fr;
    gap: 56px;
  }

  .hero-art img {
    width: 136px;
  }

  .group-head__art {
    width: 168px;
  }

  .hero--niche {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 48px;
  }

  .hero--niche .hero__inner {
    margin: 0;
  }

  .hero--niche__art {
    flex: none;
    width: 320px;
    max-width: none;
    margin: 0;
  }
}
