/* ==========================================================================
   Dominic Ellek – Landingpage
   Design: „Werkstatt“-Raster. Keine Radien, keine Schatten, keine Gradienten.
   Alle Trennungen sind 1px-Linien in ink. Responsiv ohne Media Queries:
   auto-fit/minmax-Grids, clamp()-Typografie, flex-wrap.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --ink:           #14170f;
  --paper:         #f2f3ee;
  --paper-sunk:    #e9ebe0;
  --lime:          #d9e26a;
  --olive:         #55603f;
  --olive-dark:    #4a5a2a;
  --olive-deep:    #3c4522;
  --body-ink:      #2c3122;
  --rule-light:    #c8cdb8;
  --on-dark-text:  #d5dac6;
  --on-dark-label: #b6c07a;
  --on-dark-rule:  #3d442e;
  --lime-on-ink:   #d9e26a;

  --font-sans: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier Prime', monospace;

  --pad-x:       clamp(16px, 4vw, 64px);
  --section-pad: clamp(36px, 6vw, 80px) var(--pad-x);
  --grid-gap:    clamp(16px, 2.5vw, 28px);
  --header-h:    58px;
}

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

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--ink); }
a:hover { color: var(--olive-dark); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4, p { margin: 0; }

.mono { font-family: var(--font-mono); }

.section {
  border-bottom: 1px solid var(--ink);
  padding: var(--section-pad);
}
.section--sunk { background: var(--paper-sunk); }

[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* --- Typografie ----------------------------------------------------------- */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 12px;
}

.meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--olive);
}

.h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.lead {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.6;
  color: var(--body-ink);
  text-wrap: pretty;
}

.body-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--body-ink);
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 28px;
  transition: background-color 120ms linear, color 120ms linear;
}
.btn--lime {
  border: 1px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
}
.btn--lime:hover {
  background: var(--ink);
  color: var(--lime);
}
.btn--ink {
  background: var(--ink);
  color: var(--lime-on-ink);
}
.btn--ink:hover {
  background: var(--paper);
  color: var(--ink);
}

/* --- Header --------------------------------------------------------------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
}
.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  text-decoration: none;
  color: inherit;
}
.brand:hover { color: inherit; }
.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--olive);
}
.header-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  transition: background-color 120ms linear;
}
.header-cta:hover {
  background: var(--olive-dark);
  color: var(--paper);
}
.header-back {
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 9px 15px;
  transition: background-color 120ms linear;
}
.header-back:hover {
  background: var(--lime);
  color: var(--ink);
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  padding: clamp(48px, 10vw, 128px) var(--pad-x) clamp(40px, 7vw, 88px);
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--olive);
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding: 0;
  list-style: none;
}
.hero__title {
  font-size: clamp(36px, 7.6vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 20ch;
  text-wrap: pretty;
}
.hero__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 5vw, 56px);
  align-items: end;
}
.hero__lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--body-ink);
  max-width: 48ch;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.hero__note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--olive);
}

/* --- Zweispalter (Was ich nicht mache / Über mich) ------------------------
   Rasterlinien-Technik: 1px Gap auf ink-Hintergrund. Die Trennlinie liegt
   damit automatisch zwischen den Spalten – und beim Umbruch auf eine Spalte
   zwischen den Zeilen (ersetzt den border-right des Prototyps). */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.split--wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split > * { background: var(--paper); }
.split__intro {
  padding: clamp(36px, 6vw, 72px) var(--pad-x);
}
.split__intro--tall {
  padding: var(--section-pad);
}
.split__intro .lead { margin-top: 24px; max-width: 46ch; }
.split__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Zeilen „Was ich nicht mache“ */
.no-list__item {
  padding: clamp(22px, 3vw, 32px) clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  gap: 16px;
}
.no-list__item:last-child { border-bottom: 0; }
.no-list__mark {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--olive);
}
.no-list__text {
  font-size: clamp(16.5px, 1.6vw, 18.5px);
  line-height: 1.5;
}

/* --- Leistungen – Überblick ---------------------------------------------- */
.section .lead { margin-top: 20px; }
.lead--60 { max-width: 60ch; }
.lead--62 { max-width: 62ch; }

.cards {
  display: grid;
  gap: var(--grid-gap);
  margin-top: clamp(28px, 4vw, 44px);
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--modules {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin-top: clamp(28px, 4vw, 48px);
}
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards--formats {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 0;
}

.path-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 120ms linear;
}
.path-card:hover {
  background: var(--lime);
  color: inherit;
}
.path-card__title {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.path-card__text {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--body-ink);
}

/* --- Themen-Module -------------------------------------------------------- */
.h2--28 { max-width: 28ch; }
.h2--26 { max-width: 26ch; }

.module-card {
  border: 1px solid var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.module-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.subblock { margin-top: clamp(32px, 5vw, 56px); }
.subblock .label { margin-bottom: 16px; }

/* Rasterlinien-Grid „Weitere Module“
   Linien liegen an den Zellen (rechts/unten), Container liefert oben/links.
   So bleibt bei unvollständiger letzter Zeile keine dunkle Leerzelle stehen. */
.grid-lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  margin: 0;
  padding: 0;
  list-style: none;
}
.grid-lines > li {
  background: var(--paper);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 16px 18px;
  font-size: 15px;
}

/* Formate */
.format-card {
  background: var(--paper-sunk);
  border-left: 3px solid var(--ink);
  padding: 20px 22px;
}
.format-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}
.format-card__title {
  font-size: 19px;
  font-weight: 700;
}
.format-card__duration {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--olive);
}
.format-card__text { margin-top: 10px; }

/* --- Beratung (invertiert) ------------------------------------------------ */
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark .label { color: var(--on-dark-label); }
.section--dark .lead { color: var(--on-dark-text); }

.package-card {
  border: 1px solid var(--on-dark-rule);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.package-card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-dark-label);
}
.package-card__title {
  font-size: 19px;
  font-weight: 700;
}
.package-card__text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--on-dark-text);
}

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.audience__label {
  color: var(--on-dark-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audience__list { color: var(--on-dark-text); }

/* --- Über mich ------------------------------------------------------------ */
.about__quote {
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  max-width: 44ch;
  text-wrap: pretty;
}
.about__portrait {
  aspect-ratio: 3 / 2;
  margin-top: clamp(24px, 4vw, 40px);
  border: 1px solid var(--ink);
  overflow: hidden;
}
.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cred-list__item {
  padding: 20px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  gap: 14px;
}
.cred-list__item:last-child { border-bottom: 0; }
.cred-list__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--olive);
  padding-top: 4px;
}
.cred-list__text {
  font-size: 16px;
  line-height: 1.5;
}

/* --- Kontakt -------------------------------------------------------------- */
.contact {
  padding: clamp(48px, 9vw, 112px) var(--pad-x);
  background: var(--lime);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.contact .label {
  color: var(--olive-dark);
  margin-bottom: 16px;
}
.contact__title {
  font-size: clamp(34px, 6.5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: clamp(28px, 4vw, 44px);
}
.contact__mail {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--olive-deep);
  text-decoration: none;
}
.contact__mail:hover { color: var(--ink); text-decoration: underline; }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  padding: 28px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--olive);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--olive-dark); }

/* --- Rechtliches ---------------------------------------------------------- */
.legal-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.legal-intro {
  font-size: clamp(16.5px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: var(--body-ink);
  margin-top: 20px;
  max-width: 68ch;
  text-wrap: pretty;
}
.imprint-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 1100px;
}
.imprint-card {
  border-left: 3px solid var(--ink);
  padding: 16px 20px;
  background: var(--paper-sunk);
}
.imprint-card .meta { display: block; margin-bottom: 10px; }
.imprint-card p {
  font-size: 16px;
  line-height: 1.6;
}
.legal-text {
  margin-top: clamp(24px, 4vw, 40px);
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal-text h2,
.privacy-grid h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.legal-text p,
.privacy-grid p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body-ink);
}
.legal-text p + p,
.privacy-grid p + p { margin-top: 12px; }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  margin-top: clamp(28px, 4vw, 44px);
}
.privacy-grid > section {
  background: var(--paper);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 26px;
}
.privacy-grid .meta { display: block; margin-bottom: 8px; }
.privacy-grid h2 { margin-bottom: 8px; }
.legal-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--olive);
  margin-top: 20px;
}
