/* ──────────────────────────────────────────────────────────────────
   sixtyfour.solutions — Editorial Broadsheet
   Cormorant Garamond (Headlines) + Inter (Body) + DM Mono (Labels)
   Dark/Light Rhythm · Paper #f5f2ec · Gold #b8860b · Ink #0e0e0e
   ─────────────────────────────────────────────────────────────────── */

/* ─── FONTS (self-hosted, kein Google-CDN) ─── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/dm-mono-light.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-mono-regular.woff2') format('woff2');
}

/* ─── DESIGN TOKENS ─── */
:root {
  --ink:    #0e0e0e;
  --paper:  #f5f2ec;
  --paper-shade: #efebe2;
  --accent: #b8860b;
  --accent-soft: rgba(184, 134, 11, 0.12);
  --muted:  #3d382e;
  --line:   rgba(14, 14, 14, 0.18);
  --hairline: rgba(14, 14, 14, 0.08);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;
  --mono:   'DM Mono', Menlo, monospace;

  /* Dark section palette */
  --dark-bg:      #1a1a1a;
  --dark-accent:  #c9a84c;
  --dark-muted:   rgba(255, 255, 255, 0.6);
  --dark-line:    rgba(255, 255, 255, 0.12);

  --rail:   8rem;          /* Marginalia-Spalte links */
  --gutter: 3rem;
  --shell-max: 1280px;
  --pad-x:  max(var(--gutter), calc((100vw - var(--shell-max)) / 2));

  --t-fast: 180ms cubic-bezier(.2,.6,.2,1);
  --t-slow: 600ms cubic-bezier(.2,.6,.2,1);
}

/* ─── RESET & GLOBALS ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--paper); }

a { color: inherit; }

/* ─── PAPER ATMOSPHERE: Noise + subtle vertical baseline rules ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: multiply;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad-x);
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--dark-line);
}

.logo {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.logo span { color: #ffffff; font-weight: 400; }

nav { display: flex; gap: 2.4rem; align-items: center; }
nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--t-fast);
}
nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--dark-accent);
  transition: right var(--t-slow);
}
nav a:not(.nav-cta):hover { color: #ffffff; }
nav a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-bg) !important;
  background: #ffffff;
  padding: 0.65rem 1.4rem;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-cta:hover { background: var(--dark-accent) !important; color: var(--dark-bg) !important; }
.nav-cta::after { display: none !important; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lang-switch a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.lang-switch a::after { display: none !important; }
.lang-switch a.active { color: #ffffff; border-bottom: 1px solid var(--dark-accent); padding-bottom: 2px; }
.lang-switch .sep { color: rgba(255, 255, 255, 0.2); }

/* ─── CHAPTER MARGINALIA SYSTEM ───
   Jede Section mit data-chapter bekommt eine roemische Nummer ganz links im Rand
   (wie ein Buch-Kapitelmarker). Auf mobile rutscht es in den Eyebrow.
*/
.chapter {
  position: absolute;
  top: 4.2rem;
  left: var(--pad-x);
  font-family: var(--mono);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 2;
}
.chapter::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.chapter strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.6rem;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
}

/* ─── HERO — Asymmetric Editorial, Dark ─── */
.hero {
  position: relative;
  min-height: 88vh;
  padding: 9rem var(--pad-x) 6rem var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-bg);
  color: #ffffff;
}

.hero-bg-number {
  position: absolute;
  top: 52%;
  right: max(-4vw, calc(var(--pad-x) * -1 + 2rem));
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24rem, 44vw, 46rem);
  line-height: 0.78;
  color: var(--dark-accent);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.hero-left {
  position: relative;
  z-index: 2;
  max-width: 72rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-accent);
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: rise 0.9s 0.1s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--dark-accent);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 2.4rem;
  color: #ffffff;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--dark-accent);
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.85s forwards;
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3.2rem;
  opacity: 0;
  animation: rise 0.9s 0.95s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  animation: rise 0.9s 1.1s forwards;
}

/* Stats als Marginalia rechts (wie editorial sidebar) */
.hero-right { position: relative; z-index: 2; margin-top: 4.5rem; max-width: 56rem; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--dark-line);
  opacity: 0;
  animation: rise 0.9s 1.3s forwards;
}

.stat { display: flex; flex-direction: column; gap: 0.6rem; }
.stat-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  font-feature-settings: "lnum" 1;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.stat-num em { font-style: italic; color: var(--dark-accent); font-weight: 400; }
.stat-label {
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-muted);
  max-width: 26ch;
  line-height: 1.5;
}

/* ─── BUTTONS ─── */
.btn-primary {
  position: relative;
  font-family: var(--mono);
  font-size: 0.94rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-bg);
  background: #ffffff;
  padding: 1.05rem 2.2rem 1.05rem 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  transition: background var(--t-fast), gap var(--t-fast);
}
.btn-primary::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width var(--t-fast);
}
.btn-primary:hover { background: var(--dark-accent); gap: 1.2rem; }
.btn-primary:hover::before { width: 30px; }

.btn-ghost {
  font-family: var(--mono);
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.btn-ghost:hover { color: #ffffff; border-color: var(--dark-accent); }

/* Light-context button overrides (for sections with light backgrounds) */
.services .btn-primary,
.contact .btn-primary { color: var(--paper); background: var(--ink); }
.services .btn-primary:hover,
.contact .btn-primary:hover { background: var(--accent); }
.bio .btn-ghost,
.projects .btn-ghost { color: var(--muted); border-bottom-color: var(--line); }
.bio .btn-ghost:hover,
.projects .btn-ghost:hover { color: var(--ink); border-color: var(--accent); }

/* ─── POSITIONING STRIP — Ink-Spread mit Riesentypografie ─── */
.positioning {
  position: relative;
  background: var(--dark-bg);
  color: #ffffff;
  padding: 6rem var(--pad-x);
  overflow: hidden;
}
.positioning::before {
  content: '64';
  position: absolute;
  bottom: -10rem;
  right: -2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 38rem;
  line-height: 1;
  color: rgba(245, 242, 236, 0.025);
  pointer-events: none;
  letter-spacing: -0.05em;
}
.positioning-inner {
  max-width: 64rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.positioning .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-accent);
  margin-bottom: 2rem;
}
.positioning .eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--dark-accent);
}
.positioning p {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.6rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.012em;
  max-width: 38ch;
}
.positioning p em {
  font-style: italic;
  color: var(--dark-accent);
  font-weight: 400;
}

/* ─── SECTION SHELL ───
   Generic wrapper used by services/projects/etc. for chapter marginalia.
*/
.section-shell {
  position: relative;
  padding: 9rem var(--pad-x);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.section-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}
.section-headline em { font-style: italic; color: var(--accent); font-weight: 400; }

/* ─── LEISTUNGEN — Drop-Cap-Numerale-Cards mit Diagonal-Stagger ─── */
.services { padding: 9rem var(--pad-x); position: relative; background: #ffffff; }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.services-header .lede {
  font-size: 1.28rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  align-self: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  position: relative;
  padding: 4rem 3rem 4rem 3rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  overflow: hidden;
  cursor: default;
  transition: background var(--t-slow);
}
.service-item:nth-child(2n) { border-right: none; }
.service-item:nth-last-child(-n+2) { border-bottom: none; }

/* Diagonale Stagger: 01 leicht hoch, 02 leicht runter, 03 hoch, 04 runter */
.service-item:nth-child(1) { padding-top: 4rem; padding-bottom: 6rem; }
.service-item:nth-child(2) { padding-top: 7rem; padding-bottom: 4rem; }
.service-item:nth-child(3) { padding-top: 4rem; padding-bottom: 6rem; }
.service-item:nth-child(4) { padding-top: 7rem; padding-bottom: 4rem; }

.service-item::before {
  content: attr(data-num);
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(12rem, 18vw, 19rem);
  line-height: 0.78;
  color: var(--accent);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.service-item:nth-child(odd)::before { right: -1rem; bottom: -3rem; }
.service-item:nth-child(even)::before { left: -2rem; top: -3rem; }
.service-item:hover::before { opacity: 0.14; }

.service-item:hover { background: rgba(184, 134, 11, 0.04); }

.service-num-label {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.service-num-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.service-title {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  max-width: 22ch;
}
.service-title em { font-style: italic; color: var(--accent); }

.service-desc {
  position: relative;
  z-index: 2;
  font-size: 1.22rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  margin-top: 1.2rem;
}

/* ─── DIFFERENZIERUNG ─── */
.differenz {
  position: relative;
  padding: 9rem var(--pad-x);
  background: var(--paper-shade);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.differenz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 6rem;
  align-items: start;
}

.differenz-left h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
}
.differenz-left h2 em { font-style: italic; color: var(--accent); font-weight: 400; }

.differenz-items { display: flex; flex-direction: column; gap: 0; }

.differenz-item {
  position: relative;
  padding: 2.4rem 0 2.4rem 4.5rem;
  border-bottom: 1px solid var(--line);
}
.differenz-item:first-child { border-top: 1px solid var(--line); }

.differenz-item-num {
  position: absolute;
  left: 0;
  top: 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}

.differenz-item-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  letter-spacing: -0.005em;
}

.differenz-item-text {
  font-size: 1.22rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 60ch;
}

/* ─── BIO — Vertikale Timeline mit 4 Ankerpunkten ─── */
.bio {
  position: relative;
  padding: 9rem var(--pad-x);
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 6rem;
  align-items: start;
  max-width: var(--shell-max);
  margin: 0 auto;
}

.bio-left h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
}
.bio-left h2 em { font-style: italic; color: var(--accent); font-weight: 400; }

.bio-portrait {
  margin-top: 3rem;
  max-width: 24rem;
  position: relative;
}
.bio-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.03);
  transition: filter var(--t-slow);
  border-bottom: 3px solid var(--accent);
}
.bio-portrait:hover img { filter: grayscale(0%) contrast(1); }
.bio-portrait figcaption {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline {
  position: relative;
  padding-left: 4.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.4rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 1px;
  background: var(--line);
}

.timeline-marker {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-marker:last-child { padding-bottom: 0; }

.timeline-marker::before {
  content: '';
  position: absolute;
  left: -3.55rem;
  top: 0.85rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
}
.timeline-marker.now::before { background: var(--accent); }

.timeline-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
  font-feature-settings: "lnum" 1;
  margin-bottom: 0.2rem;
  display: block;
}
.timeline-label {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.7rem;
}
.timeline-text {
  font-size: 1.22rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  max-width: 55ch;
}

.bio-cv {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 4.5rem;
}
.bio-cv-label {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── PROJEKTE — Editorial TOC mit haengender Initial ─── */
.projects {
  position: relative;
  padding: 9rem var(--pad-x);
  background: var(--paper-shade);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.projects-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.projects-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
}
.projects-header h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.projects-header p {
  font-size: 1.24rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 42ch;
  align-self: end;
}

.projects-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  gap: 2rem;
  padding: 2.4rem 0 2.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: default;
  transition: background var(--t-slow), padding var(--t-slow);
}
.project-row:hover {
  background: rgba(184, 134, 11, 0.04);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.project-num {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.14em;
  user-select: none;
  align-self: start;
  margin-top: 0.55rem;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.project-body { min-width: 0; }

.project-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}

.project-desc {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 0.6rem;
  max-width: 70ch;
}

.project-tag {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.55rem 1rem;
  align-self: start;
  white-space: nowrap;
  margin-top: 0.4rem;
  border-radius: 999px;
}

/* ─── PULL QUOTE — Magazine Spread ─── */
.pullquote {
  position: relative;
  padding: 8rem var(--gutter);
  max-width: var(--shell-max);
  margin: 0 auto;
  overflow: hidden;
}

.pullquote-grid {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.pullquote-glyph {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(8rem, 12vw, 13rem);
  line-height: 0.6;
  color: var(--accent);
  font-feature-settings: "kern" 1;
  user-select: none;
  margin-top: 0.6rem;
}

.pullquote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.012em;
  max-width: 22em;
}

.pullquote cite {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.6rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}
.pullquote cite::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}

/* ─── BEOBACHTUNGEN — Editorial LinkedIn-Cards, Dark ─── */
.beobachtungen {
  position: relative;
  padding: 9rem var(--pad-x);
  background: var(--dark-bg);
  color: #ffffff;
}
.beobachtungen-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
.beobachtungen-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: #ffffff;
}
.beobachtungen-header h2 em {
  font-style: italic;
  color: var(--dark-accent);
  font-weight: 400;
}
.beobachtungen-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-muted);
  max-width: 32em;
  margin: 0;
}
.beobachtungen .chapter { color: var(--dark-accent); }
.beobachtungen .chapter strong { color: #ffffff; }
.beobachtungen .chapter::before { background: var(--dark-accent); }
.beobachtungen .section-eyebrow { color: var(--dark-accent); }
.beobachtungen .section-eyebrow::before { background: var(--dark-accent); }
.beobachtungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.beobachtung {
  display: flex;
  flex-direction: column;
  padding: 2.4rem 0 0 0;
  border-top: 1px solid var(--dark-line);
  position: relative;
}
.beobachtung::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 1px;
  background: var(--dark-accent);
}
.beobachtung-date {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-accent);
  margin-bottom: 1.4rem;
}
.beobachtung-headline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 1.2rem 0;
  letter-spacing: -0.01em;
}
.beobachtung-snippet {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 2rem 0;
  flex: 1;
}
.beobachtung-link {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  align-self: flex-start;
  transition: border-color var(--t-fast);
}
.beobachtung-link:hover {
  border-bottom-color: var(--dark-accent);
}
.beobachtung-headline a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--dark-accent), var(--dark-accent));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size var(--t-fast);
}
.beobachtung-headline a:hover {
  background-size: 100% 1px;
}
.beobachtungen-more {
  margin-top: 4rem;
  text-align: center;
}
.beobachtungen-more a {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--dark-accent);
  padding-bottom: 0.3rem;
}

/* ─── BEOBACHTUNGEN — Uebersichtsseite ─── */
.overview-page {
  padding: 8rem var(--gutter) 9rem;
  max-width: var(--shell-max);
  margin: 0 auto;
}
.overview-header {
  margin-bottom: 6rem;
  max-width: 44rem;
}
.overview-header h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 1rem 0 1.6rem;
}
.overview-header p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36em;
}
.overview-header p em {
  font-style: italic;
  color: var(--accent);
}
.overview-year {
  margin-bottom: 5rem;
}
.overview-year-label {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.overview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem 4rem;
}
.overview-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
  transition: transform var(--t-fast);
}
.overview-item a::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.4rem;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-fast);
}
.overview-item a:hover::before {
  width: 5rem;
}
.overview-date {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.overview-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.9rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.overview-snippet {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ─── BEOBACHTUNGEN — Einzelseite ─── */
.post-page {
  padding: 6rem var(--pad-x) 8rem;
}
.post {
  max-width: 38rem;
  margin: 0 auto;
}
.post-meta {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.post-pillar::before {
  content: '·';
  margin-right: 1.4rem;
  color: var(--accent);
}
.post-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 3rem;
  letter-spacing: -0.015em;
}
.post-body p {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 1.5rem;
  font-weight: 400;
}
.post-body p:first-child::first-letter {
  font-size: 3.6em;
  float: left;
  line-height: 0.9;
  padding: 0.05em 0.08em 0 0;
  font-style: italic;
  color: var(--accent);
}
.post-tags {
  margin: 3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}
.post-tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--muted);
}
.post-sources {
  margin: 4rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}
.post-sources h2 {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.2rem;
  font-weight: 500;
}
.post-sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-sources li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.post-sources li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.post-back {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.post-back a {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.post-back a:hover {
  border-bottom: 1px solid var(--accent);
}

/* ─── TESTIMONIALS — Newspaper Columns ─── */
.testimonials {
  position: relative;
  padding: 9rem var(--pad-x);
  background: var(--dark-bg);
  color: #ffffff;
  overflow: hidden;
}
.testimonials::before {
  content: '64';
  position: absolute;
  top: -8rem;
  left: -3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 36rem;
  line-height: 1;
  color: rgba(245, 242, 236, 0.025);
  pointer-events: none;
  letter-spacing: -0.05em;
}

.testimonials .chapter { color: var(--dark-accent); }
.testimonials .chapter strong { color: #ffffff; }
.testimonials .chapter::before { background: var(--dark-accent); }
.testimonials .section-eyebrow { color: var(--dark-accent); position: relative; z-index: 1; }
.testimonials .section-eyebrow::before { background: var(--dark-accent); }
.testimonials > h2 {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 4rem;
  color: #ffffff;
}
.testimonials > h2 em { font-style: italic; color: var(--dark-accent); font-weight: 400; }

.testimonials-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.testimonial {
  position: relative;
  padding: 0 2.4rem;
  border-right: 1px solid rgba(245, 242, 236, 0.12);
}
.testimonial:first-child { padding-left: 0; }
.testimonial:last-child { border-right: none; padding-right: 0; }

.testimonial-glyph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--dark-accent);
  display: block;
  margin-bottom: 0.6rem;
  user-select: none;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.testimonial-quote::first-letter {
  font-size: 1.3em;
  font-weight: 400;
}

.testimonial-author {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-accent);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(100%) contrast(1.05);
  box-shadow: 0 0 0 1px var(--dark-accent);
  background: #333;
}
.testimonial-author span {
  flex: 1;
  line-height: 1.4;
}

/* ─── KONTAKT ─── */
.contact {
  position: relative;
  padding: 9rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  background: var(--paper);
}

.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1.8rem;
}
.contact-left h2 em { font-style: italic; color: var(--accent); font-weight: 400; }

.contact-left p {
  font-size: 1.24rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 1.6rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.contact-detail-row {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
}
.contact-detail-label {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 6rem;
}
.contact-detail-value { font-size: 1.22rem; color: var(--ink); }

.contact-right { display: flex; flex-direction: column; justify-content: flex-start; }
.contact-right .section-eyebrow { margin-bottom: 2rem; }

form { display: flex; flex-direction: column; gap: 1.6rem; }
.form-group { display: flex; flex-direction: column; gap: 0.55rem; }
.form-group label {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast);
  resize: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(14,14,14,0.3);
  font-style: italic;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-submit {
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: none;
  padding: 1.05rem 2.2rem 1.05rem 1.5rem;
  cursor: pointer;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  transition: background var(--t-fast), gap var(--t-fast);
}
.form-submit::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width var(--t-fast);
}
.form-submit:hover { background: var(--accent); gap: 1.2rem; }
.form-submit:hover::before { width: 30px; }

/* ─── FOOTER — Dark ─── */
footer {
  position: relative;
  padding: 3rem var(--pad-x);
  background: #111111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--dark-accent);
  font-weight: 400;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: #ffffff; }

/* ─── REVEAL ANIMATIONS ─── */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.6,.2,1), transform 0.8s cubic-bezier(.2,.6,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── LEGAL PAGE (Impressum, Datenschutz, 404) ─── */
.legal {
  max-width: 64rem;
  margin: 0 auto;
  padding: 11rem 2rem 6rem;
  position: relative;
}
.legal .meta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.legal .meta::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 3.5rem;
  line-height: 1;
}
.legal h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.legal h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.legal p {
  font-size: 1.2rem;
  line-height: 1.75;
  margin-bottom: 1.3rem;
  color: var(--ink);
  font-weight: 300;
}
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.legal ul, .legal ol { font-size: 1.2rem; line-height: 1.75; margin: 0 0 1.3rem 1.5rem; color: var(--ink); font-weight: 300; }
.legal li { margin-bottom: 0.5rem; }
.legal .meta-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--ink);
}
.legal .meta-row span:first-child {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  :root { --gutter: 2.2rem; }
  .hero { padding: 8rem var(--pad-x) 5rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .hero-bg-number { font-size: 70vw; right: -14vw; opacity: 0.05; }
  .differenz-grid, .bio-grid, .projects-header, .services-header, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { border-right: none !important; }
  .service-item:nth-child(n) { padding: 4rem 2rem !important; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 0; }
  .testimonial { border-right: none; border-bottom: 1px solid rgba(245,242,236,0.12); padding: 2.5rem 0; }
  .testimonial:first-child { padding-top: 0; }
  .testimonial:last-child { border-bottom: none; padding-bottom: 0; }

  .beobachtungen-header { grid-template-columns: 1fr; gap: 2rem; }
  .beobachtungen-grid { grid-template-columns: 1fr; gap: 3rem; }
  .overview-list { grid-template-columns: 1fr; gap: 2.4rem; }
}

@media (max-width: 720px) {
  body { font-size: 18px; }
  header { padding: 1rem 1.2rem; }
  nav { gap: 1rem; }
  nav a:not(.nav-cta):not(.lang-switch a) { display: none; }
  .lang-switch { display: none; }

  .hero { padding: 7rem 1.2rem 4rem; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.6rem); }
  .hero-sub { font-size: 1.18rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 2rem; }
  .hero-bg-number { font-size: 90vw; right: -25vw; }

  .positioning { padding: 4rem 1.2rem; }
  .services { padding: 5rem 1.2rem; }
  .differenz { padding: 5rem 1.2rem; }
  .bio { padding: 5rem 1.2rem; }
  .projects { padding: 5rem 1.2rem; }
  .testimonials { padding: 5rem 1.2rem; }
  .beobachtungen { padding: 5rem 1.2rem; }
  .beobachtung { max-width: 36rem; margin: 0 auto; width: 100%; }
  .overview-page { padding: 5rem 1.2rem 6rem; }
  .post-page { padding: 4rem 1.2rem 6rem; }
  .post-body p:first-child::first-letter { font-size: 3em; }
  .pullquote { padding: 4rem 1.6rem 4rem 2rem; }
  .contact { padding: 5rem 1.2rem; }
  footer { padding: 2rem 1.2rem; flex-direction: column; gap: 1rem; text-align: center; }

  .timeline { padding-left: 3rem; }
  .timeline::before { left: 0.9rem; }
  .timeline-marker::before { left: -2.55rem; }
  .bio-cv { margin-left: 3rem; }

  .project-row { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .project-row .project-tag { grid-column: 2; justify-self: start; margin-top: 0.6rem; }
  .project-num { font-size: 0.88rem; margin-top: 0.4rem; }

  .pullquote-grid { grid-template-columns: 3rem 1fr; }
  .pullquote-glyph { font-size: 6rem; }
  .pullquote blockquote { max-width: none; }

  /* Chapter-Marker auf Mobile ausblenden — section-eyebrow uebernimmt die Strukturierung */
  .chapter { display: none; }

  /* Testimonials zentriert statt linksbuendig */
  .testimonials-grid { justify-items: center; }
  .testimonial { max-width: 36rem; padding: 2.5rem 1rem; text-align: left; }

  /* Footer: Links umbrechen statt abschneiden */
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem 1.6rem; }

  .legal { padding: 7rem 1.2rem 4rem; }
  .legal .meta-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ─── LESBARKEIT — Body-Copy bei 400 (Inter), Überschriften bleiben 300 (Cormorant) ─── */
.services-header .lede,
.service-desc,
.differenz-item-text,
.timeline-text,
.projects-header p,
.project-desc,
.contact-left p,
.contact-detail-value,
.legal p,
.legal ul,
.legal ol,
.legal .meta-row,
.bio-left .lede {
  font-weight: 400;
}
