/* Betti Trummer — Bildvariante
   Schwarz / Weiß / Orange. Rosa minimal als Zweitakzent.
   Anton Display, Inter Body, JetBrains Mono Meta. Keine handgezeichneten Elemente. */

:root {
  --ink:    #0d0d0d;
  --paper:  #ffffff;
  --paper-2:#f4f2ee;
  --orange: #ff5a30;
  --pink:   #f7a8c4;
  --mute:   #6f6f6f;
  --line:   #e6e3dd;
  --ink-faint: #cfc8ba;
  --slot:   #d9d4ca;

  --display: 'Anton', 'Helvetica Neue', sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 60px);
  --max-w:  1400px;
}

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

html, body {
  margin: 0; padding: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.on-dark {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.18);
  color: #fff;
  position: absolute; left: 0; right: 0;
}
.brand { font-family: var(--display); font-size: 30px; line-height: 1; }
.site-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--orange); }
.on-dark .site-nav a:hover { color: var(--orange); }

.nav-toggle {
  display: none; width: 40px; height: 30px; background: none; border: none;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: currentColor;
  margin: 5px auto; transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink); color: #fff;
  padding: 96px var(--gutter) var(--gutter);
  display: flex; flex-direction: column; gap: 20px;
  font-family: var(--display); font-size: 44px; line-height: 1;
  transform: translateX(100%); transition: transform .3s ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a[aria-current="page"] { color: var(--orange); }
.nav-drawer .nav-close {
  position: absolute; top: 28px; right: var(--gutter);
  font-family: var(--body); font-size: 15px; font-weight: 500;
}

/* ---------- SHARED TYPE ---------- */
.meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mute);
}
.meta.light { color: rgba(255,255,255,.92); }
.orange { color: var(--orange); }
.pink { color: var(--pink); }

/* ---------- FULL-BLEED COVER (Richtung A) ---------- */
.cover {
  position: relative;
  height: 100svh; min-height: 600px;
  background: var(--slot);
}
.cover image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 120px var(--gutter) 30px;
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0));
}
.cover-foot .meta.light { font-size: 12px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff;
}
.scroll-cue .meta.light { font-size: 10px; }
.scroll-cue .bar { width: 1px; height: 34px; background: rgba(255,255,255,.7); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ---------- READING SECTION (prelude / prose on white) ---------- */
.reading {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(60px, 9vw, 130px) var(--gutter);
}
.reading-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  margin-bottom: 40px;
}
.reading-kicker {
  font-family: var(--display); font-size: clamp(30px, 4vw, 52px);
  line-height: .95; letter-spacing: -.01em;
}
.prose {
  max-width: 64ch;
  font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7;
}
.prose.lead { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.6; }
.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }
.lead-in { color: var(--orange); font-weight: 700; }

/* ---------- EDITORIAL HERO (Richtung B) ---------- */
.split-hero {
  display: grid; grid-template-columns: 1.12fr 0.88fr; min-height: 88svh;
  border-bottom: 1px solid var(--line);
}
.split-hero-text {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 6vw, 64px) var(--gutter);
}
.split-hero-text .top-meta { padding-top: 56px; }
.display {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 6.6vw, 100px); line-height: .9; letter-spacing: -.01em;
  margin: .12em 0;
}
.split-hero-text .sub { max-width: 34ch; color: var(--mute); font-size: 16px; }
.split-hero-img { position: relative; background: var(--slot); border-left: 1px solid var(--line); }
.split-hero-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* shared thesis type tokens (used by accordion below) */
.headline {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(32px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.005em;
  margin: 0 0 .35em;
}
.subline {
  font-style: italic; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45;
  color: #2c2c2c; margin: 0 0 28px; max-width: 42ch;
}
.rule { width: 60px; height: 3px; background: var(--orange); margin: 0 0 28px; }

/* ---------- THESES ACCORDION (Typolösung, ein Header oben) ---------- */
.theses {
  max-width: none; margin: 0;
  padding: 0 var(--gutter) clamp(40px, 6vw, 90px);
  border-top: 1px solid var(--ink);
}
.thesis { border-bottom: 1px solid var(--line); }
.thesis > summary {
  list-style: none; cursor: pointer; outline: none;
  display: grid; align-items: start;
  grid-template-columns: clamp(56px, 6vw, 104px) minmax(0, 1fr) 44px;
  grid-template-areas: "num head tog" "num sub tog";
  column-gap: clamp(16px, 3vw, 48px); row-gap: 12px;
  padding: clamp(28px, 3.5vw, 46px) 0;
}
.thesis > summary::-webkit-details-marker { display: none; }
.thesis-num {
  grid-area: num;
  font-family: var(--display); font-size: clamp(34px, 4vw, 60px); line-height: .9;
  color: var(--ink-faint, #cfc8ba); transition: color .2s;
}
.thesis[open] .thesis-num { color: var(--orange); }
.thesis-headline {
  grid-area: head;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 40px); line-height: 1.02; letter-spacing: -.005em;
  align-self: center;
}
.thesis-subline {
  grid-area: sub;
  font-style: italic; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.5;
  color: var(--mute); max-width: 60ch;
}
.thesis-toggle {
  grid-area: tog;
  justify-self: end; align-self: start;
  font-family: var(--body); font-weight: 300; color: var(--orange);
  font-size: 30px; line-height: 1; width: 30px; height: 30px;
  display: grid; place-items: center;
}
.thesis-toggle::before { content: "+"; }
.thesis[open] .thesis-toggle::before { content: "–"; }

.thesis-body {
  display: grid;
  grid-template-columns: clamp(56px, 6vw, 104px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding: 0 0 clamp(36px, 4vw, 56px);
}
.thesis-body .thesis-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute);
}
.thesis-body .thesis-meta .date { display: block; margin-top: 6px; color: var(--ink); }
.thesis-prose { max-width: 64ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; }
.thesis-prose p { margin: 0 0 1.15em; }
.thesis-prose p:last-child { margin-bottom: 0; }
.thesis-prose em { font-style: italic; }

/* subtle open reveal — base state is fully visible; only the motion is animated */
@media (prefers-reduced-motion: no-preference) {
  .thesis[open] .thesis-body { animation: thesisOpen .35s ease; }
  @keyframes thesisOpen { from { transform: translateY(-6px); } to { transform: none; } }
}

/* ---------- OUTRO ---------- */
.outro {
  text-align: center; padding: clamp(70px, 10vw, 150px) var(--gutter);
  background: var(--paper-2);
}
.outro-quote {
  font-family: var(--display); font-size: clamp(30px, 5vw, 64px);
  line-height: 1; margin: 0 0 28px; letter-spacing: -.01em;
}
.outro-link {
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 14px 26px; display: inline-block;
  transition: background .2s, color .2s;
}
.outro-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- WORDMARK + FOOTER ---------- */
.wordmark-band {
  overflow: hidden;
  height: clamp(200px, 34vw, 480px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 var(--gutter);
}
.wordmark-band .wm {
  font-family: var(--display); font-weight: 400; color: var(--ink);
  font-size: clamp(380px, 70vw, 1000px);
  line-height: 1; letter-spacing: -0.02em;
  margin-top: 0; margin-bottom: -0.42em; /* full top, crop only the bottom */
  user-select: none;
}
.site-footer { background: var(--ink); color: #fff; padding: 64px var(--gutter) 48px; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.footer-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.footer-line { color: rgba(255,255,255,.7); font-size: 15px; }
.site-footer a { display: block; color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 6px; }
.site-footer a:hover { color: var(--orange); }
.footer-colophon {
  max-width: var(--max-w); margin: clamp(36px, 5vw, 56px) auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-colophon .meta { color: rgba(255,255,255,.42); }

/* ---------- IMPRESSUM / LEGAL ---------- */
.legal-hero { max-width: var(--max-w); margin: 0 auto; padding: clamp(40px,6vw,90px) var(--gutter) 0; }
.legal-hero .display { font-size: clamp(44px, 8vw, 96px); margin: .12em 0 0; }
.legal { max-width: 780px; margin: 0 auto; padding: clamp(36px,5vw,64px) var(--gutter) clamp(60px,8vw,110px); }
.legal-block { margin-bottom: 34px; }
.legal-block .meta { display: block; margin-bottom: 10px; }
.legal-block p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: #2c2c2c; }
.legal-block a { color: var(--orange); }
.legal-block a:hover { text-decoration: underline; }
.legal-divider { height: 1px; background: var(--ink); margin: 52px 0; }
.legal-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px,4vw,46px); letter-spacing: -.01em; margin: 0 0 32px; }

/* image-slot empty state reads as neutral grey so layout is legible unfilled */
image-slot { background: var(--slot); }

/* ---------- ÜBER (split header + intro + frame prose) ---------- */
.about-text .display { margin: .08em 0 .3em; }
.about-intro { max-width: 40ch; }
.about-intro p {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: #2c2c2c;
  margin: 0 0 1em;
}
.about-intro p:last-child { margin-bottom: 0; }

.frame {
  max-width: none; margin: 0;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
  display: grid; grid-template-columns: clamp(160px, 22vw, 300px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--ink);
}
.frame-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.frame-prose { max-width: 60ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; }
.frame-prose p { margin: 0 0 1.2em; }
.frame-prose p:last-child { margin-bottom: 0; }
.frame-prose a.orange { font-weight: 600; }
.frame-prose a.orange:hover { text-decoration: underline; }

/* ---------- KONTAKT (dunkler Block + große Links) ---------- */
.contact-strip { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(40px, 5vw, 70px); }
.contact-strip-inner { max-width: var(--max-w); margin: 0 auto; }
.contact-lead {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 4vw, 60px); line-height: 1.0; letter-spacing: -.01em;
  max-width: 18ch; margin: 0 0 clamp(14px, 1.4vw, 20px);
}
.contact-lead .orange { color: var(--orange); }
.contact-sub {
  font-style: italic; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45;
  color: rgba(255,255,255,.72); max-width: 40ch;
  margin: 0 0 clamp(40px, 5vw, 72px);
}
.contact-links { display: grid; }
.contact-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.6vw, 34px) 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.contact-links .contact-link:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-link .meta { color: rgba(255,255,255,.6); }
.contact-link-text {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 3.2vw, 46px); line-height: 1; letter-spacing: -.005em;
  transition: color .2s;
}
.contact-link:hover .contact-link-text { color: var(--orange); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  /* Full-bleed covers: scale the whole image down to fit width instead of cropping */
  .cover { height: auto; min-height: 0; aspect-ratio: var(--cover-ar, 16 / 10); }
  .cover image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero-img { min-height: 60vh; border-left: none; border-top: 1px solid var(--line); }
  .thesis > summary {
    grid-template-columns: clamp(44px, 12vw, 64px) 1fr 36px;
    grid-template-areas: "num head tog" "num sub tog";
    row-gap: 10px; column-gap: 18px;
  }
  .thesis-num { grid-area: num; }
  .thesis-headline { grid-area: head; align-self: start; }
  .thesis-subline { grid-area: sub; align-self: start; }
  .thesis-toggle { grid-area: tog; align-self: start; }
  .thesis-body { grid-template-columns: 1fr; gap: 14px; }
  .frame { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
