/* Oliver Krist – ok interim + consulting
   Stimmung: Nachtblau mit warmem Messington als feine Linie. Logbuch-Raster: Kennzeichnung links, Inhalt rechts.
   Schrift: Jost (frei lizenzierte Futura-Verwandte). Logo-Blau bleibt die Handlungsfarbe. */

@font-face {
  font-family: "Jost";
  src: url("fonts/jost.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c1823;         /* Nachtblau, Grund */
  --bg-2: #10202e;       /* abgesetzte Abschnitte */
  --surface: #15283a;    /* Karten, Ergebnisboxen */
  --deep: #08111a;       /* tiefster Abschnitt */
  --text: #e8edf2;
  --text-2: #b4c1cd;
  --muted: #8193a3;
  --rule: rgba(232, 237, 242, .12);
  --gold: #c6a86b;       /* Messing: Linien, Kennzeichnungen */
  --brand: #1f84cc;      /* Logo-Blau, für Buttons aufgehellt */
  --brand-dark: #176eae;

  --font: "Jost", "Futura", "Futura PT", "Century Gothic", "Avenir Next", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font); text-wrap: balance; margin: 0; }
p { margin: 0; }

.label { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--deep); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Kopfleiste */
.top { border-bottom: 1px solid var(--rule); background: rgba(12, 24, 35, .92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; line-height: 0; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; font-size: .95rem; letter-spacing: .04em; }
.nav a { text-decoration: none; color: var(--text-2); }
.nav a:hover { color: var(--text); }
.nav .btn { color: #fff; }
.nav a.lang { font-size: .74rem; font-weight: 500; letter-spacing: .16em; padding: 7px 10px; border: 1px solid var(--rule); color: var(--text-2); line-height: 1; }
.nav a.lang:hover { border-color: var(--gold); color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 1rem; letter-spacing: .04em;
  padding: 13px 24px; border-radius: 2px; border: 1px solid var(--brand);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(232, 237, 242, .45); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule);
  background: radial-gradient(ellipse 70% 90% at 78% 40%, #173049 0%, rgba(23, 48, 73, 0) 70%), var(--bg); }
.hero .contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .contours path { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .16; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); align-items: end; }
.hero h1 {
  font-weight: 300;
  font-size: clamp(2.7rem, 6.4vw, 5.8rem); line-height: 1.02; letter-spacing: -.015em;
  margin: 22px 0 30px;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--gold); font-weight: 400; }
.hero .lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 34em; color: var(--text-2); font-weight: 300; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.portrait { margin: 0; }
.portrait .frame {
  position: relative; aspect-ratio: 1 / 1; background: #2a2f34;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.portrait .frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(198, 168, 107, .35); pointer-events: none; }
.portrait .frame .initials { font-weight: 300; font-size: 6rem; color: var(--muted); letter-spacing: .04em; }
.portrait .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--gold); margin-top: 14px; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 span:nth-child(2) { animation-delay: .1s; }
  .hero h1 span:nth-child(3) { animation-delay: .2s; }
  @keyframes rise { from { transform: translateY(.3em); opacity: .001; } to { transform: none; opacity: 1; } }
}

/* Abschnitte im Logbuch-Raster */
.section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--rule); }
.section.alt, #leistungen, #buehne { background: var(--bg-2); }
.log { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); }
.log > .mark { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1.7; padding-top: 12px; border-top: 1px solid var(--gold); align-self: start; }
.log > .mark b { display: block; color: var(--gold); font-weight: 500; }
.section h2 { font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; letter-spacing: -.005em; margin-bottom: 20px; }
.section .intro { max-width: 40em; color: var(--text-2); font-weight: 300; }

/* Situationen */
.situations { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--rule); }
.situations li { padding: 22px 22px 24px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 30px 1fr; gap: 8px; color: var(--text-2); }
.situations li::before { content: ""; width: 9px; height: 16px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(40deg); margin: 5px 0 0 6px; }

/* Leistungen */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.offer { padding: 32px 32px 34px; background: var(--surface); border-top: 1px solid var(--gold); display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; }
.offer .num { font-size: .78rem; font-weight: 500; letter-spacing: .2em; color: var(--gold); }
.offer h3 { font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.offer ul { margin: 0; padding-left: 1.1em; color: var(--text-2); font-weight: 300; }
.offer ul li { margin: 5px 0; }
.offer ul li::marker { color: var(--gold); }
.offer .result { font-size: 1rem; padding: 14px 0 0; border-top: 1px solid var(--rule); color: var(--text); }
.offer .result b { font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 2px; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--gold); padding-top: 16px; }
.steps li::before { content: "0" counter(s); font-size: .78rem; font-weight: 500; letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 6px; }
.steps p { font-size: 1rem; color: var(--text-2); font-weight: 300; }

/* Zahlen, tiefster Abschnitt */
.dark { background: var(--deep); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; margin: 44px 0 0; border-top: 1px solid var(--rule); }
.figures div { padding: 24px 16px 4px 0; }
.figures div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.figures div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.figures dt { font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures dt small { font-size: .5em; font-weight: 400; margin-left: 4px; }
.figures dd { margin: 12px 0 0; font-size: .98rem; color: var(--text-2); font-weight: 300; }
.facts { columns: 2; column-gap: 40px; margin: 44px 0 0; padding: 0; list-style: none; }
.facts li { break-inside: avoid; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 1.02rem; color: var(--text-2); font-weight: 300; }

/* Branchen */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.sectors li { border: 1px solid rgba(198, 168, 107, .5); padding: 9px 18px; border-radius: 2px; font-weight: 400; font-size: 1rem; letter-spacing: .02em; }

/* Bühne */
.stage { list-style: none; margin: 38px 0 0; padding: 0; border-top: 1px solid var(--gold); }
.stage li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.stage .role { font-size: .7rem; font-weight: 500; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; padding-top: 6px; }
.stage strong { font-weight: 400; font-size: 1.2rem; display: block; margin-bottom: 2px; }
.stage span { color: var(--text-2); font-size: 1rem; font-weight: 300; }
.stage .ref { color: var(--brand); font-weight: 500; white-space: nowrap; text-decoration: none; }
.stage .ref:hover { color: #5aa9e0; }
.stage .ref::after { content: " →"; }
.topics { margin-top: 28px; color: var(--muted); font-weight: 300; }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.about p { color: var(--text-2); font-weight: 300; }
.about p + p { margin-top: 16px; }
.about blockquote { margin: 0; padding: 26px 0 0; border-top: 1px solid var(--gold); font-weight: 300; font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.3; color: var(--text); }
.about blockquote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 500; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Kontakt */
.contact { background: radial-gradient(ellipse 60% 100% at 15% 0%, #173049 0%, rgba(23, 48, 73, 0) 70%), var(--bg-2); }
.contact h2 { font-weight: 300; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.05; }
.contact .grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold); }
.channels li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; }
.channels .k { font-size: .7rem; font-weight: 500; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.channels a, .channels .v { font-weight: 400; font-size: 1.25rem; text-decoration: none; }
.channels a:hover { color: var(--gold); }

/* Fuß */
.foot { padding: 30px 0 44px; font-size: .9rem; color: var(--muted); background: var(--deep); letter-spacing: .03em; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* Rechtstexte */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 34px; }
.legal h2 { font-weight: 400; font-size: 1.3rem; margin: 36px 0 10px; color: var(--gold); }
.legal p, .legal ul, .legal address { margin: 0 0 12px; color: var(--text-2); font-weight: 300; }
.legal address { font-style: normal; }
.legal a { color: var(--text); }

/* Stationen */
.section h3.sub { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 52px 0 0; }
.career { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--gold); }
.career li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.career .yr { font-size: .95rem; color: var(--gold); font-variant-numeric: tabular-nums; padding-top: 2px; white-space: nowrap; }
.career strong { font-weight: 400; font-size: 1.12rem; display: block; }
.career span:not(.yr) { color: var(--text-2); font-size: .98rem; font-weight: 300; }

/* Projektbeispiele */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.case { padding: 30px 30px 32px; background: var(--surface); border-top: 1px solid var(--gold); display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; }
.case .meta { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.case h3 { font-weight: 400; font-size: 1.4rem; line-height: 1.2; }
.case p { color: var(--text-2); font-weight: 300; font-size: 1.02rem; }
.case .result { font-size: 1rem; padding: 14px 0 0; border-top: 1px solid var(--rule); color: var(--text); font-weight: 400; }
.case .result b { font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 2px; }
.about .ref { color: var(--brand); font-weight: 500; text-decoration: none; }
.about .ref:hover { color: #5aa9e0; }
.about .ref::after { content: " →"; }
#projekte { background: var(--bg-2); }

/* Responsiv */
@media (max-width: 960px) {
  .hero .wrap, .about, .contact .grid { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .log { grid-template-columns: 1fr; }
  .log > .mark { display: flex; gap: 12px; align-items: baseline; }
  .log > .mark b { display: inline; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav a:not(.btn):not(.lang) { display: none; }
  .brand img { height: 48px; }
  .offers, .cases { grid-template-columns: 1fr; }
  .case { padding: 26px 22px 28px; }
  .career li { grid-template-columns: 1fr; gap: 2px; }
  .offer { padding: 26px 22px 28px; }
  .facts { columns: 1; }
  .stage li { grid-template-columns: 1fr; gap: 4px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures div:nth-child(n) { padding-left: 0; border-left: 0; }
  .figures div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
}
@media (max-width: 440px) {
  .steps, .figures { grid-template-columns: 1fr; }
  .figures div:nth-child(even) { padding-left: 0; border-left: 0; }
  .channels li { grid-template-columns: 1fr; gap: 2px; }
}
