@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --ink: #000000;
  --muted: #5C5C5C;
  --line: #D9D9D9;
  --soft: #F2F2F2;
  --neon: #E6FF00;
  --neon-hover: #F2FF66;
  --on-dark: #FFFFFF;
  --space: clamp(56px, 7vw, 96px); /* one vertical rhythm for all sections */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.contact a:focus-visible, .contact .btn:focus-visible, .contact button:focus-visible { outline-color: var(--neon); }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; max-width: 20ch; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; }
.brand span { background: var(--neon); padding: 0 3px; }
.top nav { display: flex; gap: 28px; align-items: center; font-size: .95rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.nav-cta { padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

/* Hero */
.hero { padding-top: clamp(56px, 10vw, 120px); }
.who { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
h1 {
  font-size: var(--h1, clamp(2.6rem, 7vw, 5.6rem));
  line-height: .98;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 15ch;
}
.lead { margin-top: 32px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 58ch; color: #262626; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

.btn {
  display: inline-block; padding: 15px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--neon); color: var(--ink); }
.btn-quiet { font-weight: 600; text-decoration: none; background: linear-gradient(var(--neon), var(--neon)) 0 88% / 100% 7px no-repeat; padding: 0 2px; }
.btn-quiet:hover { background-size: 100% 100%; }

/* Portrait: round crop on the face, neon ring offset behind it */
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.hero-text { padding-bottom: clamp(64px, 9vw, 112px); }
.hero { --h1: clamp(2.6rem, 7vw, 5.6rem); --pw: clamp(240px, 24vw, 340px); }
/* Circle centred on the second headline line ("Wachstum ohne"):
   label line + its margin + 1.5 headline lines − half the circle */
.portrait { position: relative; aspect-ratio: 1; width: var(--pw); justify-self: end; align-self: start;
  margin: calc(.95rem * 1.55 + 28px + var(--h1) * .98 * 1.5 - var(--pw) / 2) 0 0; }
.portrait::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 10px solid var(--neon); transform: translate(18px, -14px); }
.portrait-crop { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #8a8a8a; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; transform: scale(1.22); transform-origin: 52% 32%; }

/* Marketplace wall: the one loud element */
.wall { margin-top: 0; background: var(--ink); color: var(--on-dark); padding: 48px 0 40px; overflow: hidden; }
.wall ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; column-gap: .5em; row-gap: .05em;
  font-size: clamp(2.2rem, 6.4vw, 5.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
}
.wall li::after { content: "/"; color: var(--neon); font-weight: 300; margin-left: .5em; }
.wall li:last-child::after { content: ""; }
.wall li:nth-child(even) { font-weight: 300; }
.wall li:nth-child(4n+1) { color: var(--neon); }
.wall-live .wall li { color: var(--on-dark); transition: color .5s ease; }
.wall-live .wall li.on { color: var(--neon); }

/* Motion: one entrance sequence for the hero, then calm */
@media (prefers-reduced-motion: no-preference) {
  /* Headline builds word by word after a short pause (--d), then text and buttons follow */
  .hero { --d: .6s; --step: .15s; }
  .hero-text > .who { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .words .w { display: inline-block; animation: word .7s cubic-bezier(.2,.7,.2,1) both; }
  .words .w:nth-child(1) { animation-delay: var(--d); }
  .words .w:nth-child(2) { animation-delay: calc(var(--d) + var(--step)); }
  .words .w:nth-child(3) { animation-delay: calc(var(--d) + var(--step) * 2); }
  .words .w:nth-child(4) { animation-delay: calc(var(--d) + var(--step) * 3); }
  .hero-text > .lead { animation: rise .7s cubic-bezier(.2,.7,.2,1) calc(var(--d) + var(--step) * 4 + .1s) both; }
  .hero-text > .hero-actions { animation: rise .7s cubic-bezier(.2,.7,.2,1) calc(var(--d) + var(--step) * 4 + .2s) both; }
  .portrait-crop { animation: pop .8s cubic-bezier(.2,.7,.2,1) .2s both; }
  .portrait::before { animation: ring 1s cubic-bezier(.2,.7,.2,1) .5s both; }
  .btn-quiet { transition: background-size .25s ease; }
  .steps li::before { transition: transform .3s ease; }
  .steps li:hover::before { transform: translateY(-4px); }
}
@keyframes word { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes ring { from { opacity: 0; transform: translate(0, 0) rotate(-20deg); } to { opacity: 1; transform: translate(18px, -14px); } }
.wall-note { margin-top: 28px; font-size: 1rem; opacity: .85; }

/* Facts */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid > div { padding: 36px 24px 36px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts-grid > div + div { padding-left: 24px; }
.facts-grid > div:last-child { border-right: 0; }
.facts strong { font-size: 2.4rem; line-height: 1; font-weight: 800; color: var(--ink); }
.facts span { color: var(--muted); font-size: .98rem; max-width: 22ch; }

/* Two-column sections share one grid (1fr 1fr, 64px gap) so their right columns line up */
/* Problem */
.problem { padding: var(--space) 0 0; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.problem-lead { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.35; font-weight: 600; max-width: 34ch; }
.problem-grid p + p { margin-top: 18px; color: #333; max-width: 58ch; }

/* Services */
.services { padding: var(--space) 0; }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.services-head h2 { max-width: none; }
.section-intro { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: none; }
.service-list { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.service-list article { padding: 28px 0 36px; border-top: 2px solid var(--ink); }
.service-list article > p { margin-top: 10px; color: #333; max-width: 60ch; }
.service-list ul { list-style: none; margin: 14px 0 0; padding: 0; }
.service-list li { position: relative; padding-left: 22px; margin-top: 8px; color: #333; font-size: 1rem; max-width: 52ch; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--ink); }
.service-wide { grid-column: 1 / -1; background: var(--neon); color: var(--ink); border-top: 0 !important; padding: 36px 36px 40px !important; border-radius: 4px; margin-top: 12px; }
.service-wide > p, .service-wide li { color: var(--ink) !important; }
.service-wide ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }

/* Experience */
.experience { background: var(--soft); padding: var(--space) 0; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.experience-grid p + p { margin-top: 18px; }
.experience-grid p { max-width: 60ch; }

/* Process: a real sequence, so it is numbered */
.process { padding: var(--space) 0; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--ink); margin-bottom: 16px; display: inline-block; background: var(--neon); padding: 6px 12px 2px; }
.steps p { margin-top: 10px; color: #333; font-size: 1rem; }

/* Contact */
.contact { background: var(--ink); color: var(--on-dark); padding: var(--space) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 14ch; }
.contact-grid > div > p { margin-top: 20px; max-width: 44ch; opacity: .85; }
.contact-grid > div > p.cta-actions { opacity: 1; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .95rem; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #FFFFFF;
  border: 1.5px solid transparent; border-radius: 6px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--neon); }
.form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; justify-self: start; }
.consent, .reply-note { font-size: .88rem; opacity: .75; }
.consent a { color: inherit; }
.hp { position: absolute; left: -9999px; }
.btn-light { background: var(--neon); color: var(--ink); }
.btn-light:hover { background: var(--neon-hover); color: var(--ink); }

/* Book cover */
.book-cover { display: block; width: 100%; max-width: 300px; height: auto; justify-self: end; box-shadow: 14px 14px 0 var(--neon); transform: rotate(2deg); }
.book-cover.small { max-width: 150px; box-shadow: 7px 7px 0 var(--neon); transform: none; justify-self: start; margin: 14px 0 18px; }
.book-teaser .book-cover { max-width: 240px; transition: transform .3s ease; }
.book-card-link:hover .book-cover { transform: rotate(0deg) translateY(-4px); }

/* (legacy) typographic stand-in for the cover */
.book-card { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 2 / 3; width: 100%; max-width: 300px; justify-self: end;
  background: var(--ink); color: var(--on-dark); padding: 28px 26px; border-radius: 4px; box-shadow: 14px 14px 0 var(--neon); transform: rotate(2deg); }
.book-series { font-size: .8rem; opacity: .7; }
.book-card-title { font-size: clamp(1.35rem, 2.1vw, 1.8rem); hyphens: auto; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.book-card-author { color: var(--neon); font-weight: 600; }
.book-card-pub { font-size: .85rem; opacity: .7; }
.book-card.small { max-width: 150px; padding: 16px 14px; box-shadow: 7px 7px 0 var(--neon); justify-self: start; margin: 14px 0 18px; }
.book-card.small .book-card-title { font-size: 1.05rem; }
.book-card.small .book-series, .book-card.small .book-card-pub { font-size: .65rem; }
.book-card.small .book-card-author { font-size: .8rem; }

.book-hero { padding: var(--space) 0; }
.book-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.book-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.book-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.facts-list > div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); }
.facts-list > div:nth-last-child(-n+3) { border-bottom: 0; }
.facts-list dt { font-size: .85rem; color: var(--muted); }
.facts-list dd { margin: 2px 0 0; font-weight: 600; }
.facts-list a { text-decoration-color: var(--neon); text-decoration-thickness: 3px; }
.chapter-list { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: ch; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.chapter-list li { counter-increment: ch; border-top: 2px solid var(--ink); padding: 24px 0 36px; }
.chapter-list li::before { content: "Kapitel " counter(ch); display: inline-block; background: var(--neon); font-size: .8rem; font-weight: 700; padding: 3px 8px; margin-bottom: 12px; }
.chapter-list h3 { font-size: 1.4rem; }
.chapter-list h3 a { text-decoration: none; }
.chapter-list p { margin: 10px 0 14px; color: #333; max-width: 52ch; }

.audience h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18ch; }
.tags { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }
.audience p { color: #333; max-width: 58ch; }

/* Knowledge articles */
.article { padding: var(--space) 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article-main { max-width: 68ch; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: inherit; }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; max-width: 18ch; }
.article-lead { margin-top: 24px; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; }
.article-main h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 48px; max-width: none; }
.article-main p { margin-top: 14px; }
.article-list { margin: 16px 0 0; padding-left: 22px; }
.article-list li { margin-top: 10px; padding-left: 4px; }
.article-list li::marker { font-weight: 700; }
.book-quote { margin: 40px 0 8px; padding: 22px 26px; background: var(--neon); }
.book-quote p { margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.3; }
.book-quote footer { margin-top: 10px; font-size: .9rem; }
.faq { margin-top: 16px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: #333; }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 2px solid var(--ink); }
.pager a { text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.pager a:hover { text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 4px; }
.pager small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.pager .next { text-align: right; }
.article-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.aside-box { background: var(--soft); padding: 22px; font-size: .95rem; }
.aside-box p + p { margin-top: 10px; }
.aside-label { font-size: .8rem; color: var(--muted); }
.cta-band h2 { max-width: 16ch; }
.cta-actions { margin-top: 24px !important; opacity: 1 !important; }
.cta-band .contact-grid > div > p:first-child { opacity: .85; }

/* Book teaser on the start page */
.book-teaser { padding: var(--space) 0; }
.book-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.book-teaser p { margin-top: 18px; max-width: 52ch; }
.book-teaser .hero-actions { margin-top: 28px; }
.book-card-link { display: block; justify-self: center; width: 100%; max-width: 240px; }
.book-teaser .book-card { max-width: 240px; transition: transform .3s ease; }
.book-card-link:hover .book-card { transform: rotate(0deg) translateY(-4px); }

/* Footer */
.foot { padding: 28px 0; font-size: .9rem; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot nav { display: flex; gap: 24px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 40px; max-width: none; }
.legal p, .legal address { margin-top: 12px; max-width: 64ch; font-style: normal; }
.dse { max-width: 72ch; overflow-wrap: anywhere; hyphens: auto; }
.dse h2 { scroll-margin-top: 80px; }
.dse h3 { font-size: 1.05rem; margin-top: 24px; }
.dse ul { padding-left: 20px; margin: 12px 0 0; }
.dse li { margin-top: 6px; }
.dse ul.index { list-style: none; padding: 0; columns: 2; column-gap: 32px; }
.dse a { color: var(--ink); text-decoration-color: var(--neon); text-decoration-thickness: 3px; }
.dse .seal { margin-top: 48px; font-size: .85rem; color: var(--muted); }
.todo { background: var(--neon); padding: 2px 6px; border-radius: 4px; }

@media (max-width: 1000px) and (min-width: 821px) { .steps { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .top nav a:not(.nav-cta) { display: none; }
  .services-head { grid-template-columns: 1fr; gap: 16px; }
  .book-hero-grid, .chapter-list, .article-grid, .book-teaser-grid { grid-template-columns: 1fr; }
  .book-hero .book-card, .book-hero .book-cover { justify-self: start; max-width: 220px; margin-top: 16px; }
  .facts-list { grid-template-columns: 1fr 1fr; }
  .facts-list > div { border-bottom: 1px solid var(--line) !important; }
  .article-aside { position: static; }
  .service-list, .problem-grid, .experience-grid, .contact-grid, .steps, .service-wide ul, .form .row { grid-template-columns: 1fr; }
  .service-wide { padding: 28px 22px 32px !important; }
  .steps { gap: 40px; }
  .facts-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding-bottom: 48px; }
  .portrait { width: min(72%, 280px); justify-self: start; margin: 0 0 56px; }
  .dse ul.index { columns: 1; }
  .facts-grid > div, .facts-grid > div + div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts-grid > div:last-child { border-bottom: 0; }
}
