@import url("/assets/fonts/fonts.css");

:root {
  --paper: #fbfaf7;
  --paper-2: #f1eee7;
  --ink: #17140f;
  --ink-2: #4a453c;
  --muted: #736c61;
  --rule: #dcd7cc;
  --rubrum: #b8321a;
  --rubrum-ink: #8e2412;
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Newsreader", Georgia, "Times New Roman", serif;
  --measure: 62ch;
  --gutter: clamp(20px, 6vw, 96px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121110;
    --paper-2: #1c1a17;
    --ink: #ede8df;
    --ink-2: #c9c2b5;
    --muted: #948c7e;
    --rule: #2c2925;
    --rubrum: #e2532f;
    --rubrum-ink: #f07a5b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(17px, 1.05vw + 12px, 20px);
  line-height: 1.55;
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga", "onum";
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rubrum); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--rubrum);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--rubrum); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 50; }

/* ---------- header ---------- */
.top {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px var(--gutter) 0;
  font-size: 0.85em;
}
.top .mark { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.45em; letter-spacing: -0.01em; text-decoration: none; }
.top .mark span { color: var(--rubrum); }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; padding: 10px 0; }
.top nav a[aria-current] { color: var(--rubrum); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(56px, 12vh, 140px) var(--gutter) clamp(48px, 9vh, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vh, 56px);
  border-bottom: 1px solid var(--rule);
}
.hero .kicker { margin: 0; color: var(--muted); font-size: 0.9em; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 6.2vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--rubrum); }
.hero .lede {
  font-size: clamp(1.05em, 1.4vw + 0.6em, 1.4em);
  line-height: 1.4;
  max-width: 40ch;
  margin: 0;
  color: var(--ink-2);
}
.nunc {
  display: grid; gap: 6px;
  padding-top: clamp(24px, 5vh, 48px);
  border-top: 1px solid var(--rule);
}
.nunc .word {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: clamp(4.4rem, 15vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0 0 0 -0.04em;
}
.nunc .word i { color: var(--rubrum); font-style: inherit; }
.nunc .colophon { margin: 0; color: var(--muted); font-size: 0.95em; font-variant-numeric: tabular-nums; }
.rotor { margin: 6px 0 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -0.015em; max-width: 28ch; min-height: 2.4em; }
.rotor span { display: inline-block; transition: opacity 420ms ease-out, transform 420ms ease-out; }
.rotor span.out { opacity: 0; transform: translateY(-6px); }

/* ---------- Fragenraum ---------- */
.fragenraum { background: var(--ink); color: var(--paper); padding-top: clamp(72px, 12vh, 140px); padding-bottom: clamp(72px, 12vh, 140px); }
.fragenraum ::selection { background: var(--paper); color: var(--ink); }
.fragenraum .fr-head { max-width: var(--measure); margin-bottom: clamp(48px, 8vh, 96px); }
.fragenraum h2 { color: var(--paper); font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 16ch; }
.fragenraum .fr-head p { color: #c9c2b5; }
.fragenraum .fr-meta { color: #948c7e; font-size: 0.85em; margin-top: 18px; }
.konst { padding: clamp(28px, 5vh, 48px) 0; border-top: 1px solid #2c2925; }
.konst h3 { margin: 0 0 22px; font-family: var(--font-text); font-weight: 400; font-size: 0.85em; color: var(--rubrum); letter-spacing: 0.02em; }
.qcloud { display: flex; flex-wrap: wrap; gap: 10px clamp(24px, 4vw, 56px); align-items: flex-start; }
.q { flex: 1 1 100%; }
.q.w3 { flex-basis: 100%; }
.q.w2 { flex-basis: 44%; min-width: 300px; }
.q.w1 { flex-basis: 27%; min-width: 240px; }
.q summary { list-style: none; cursor: pointer; padding: 10px 34px 10px 0; position: relative; font-family: var(--font-display); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; color: var(--paper); transition: color 180ms ease-out; text-wrap: balance; }
.q.w3 summary { font-size: clamp(1.9rem, 4.2vw, 3.6rem); font-style: italic; max-width: 22ch; }
.q.w2 summary { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.q.w1 summary { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: #c9c2b5; line-height: 1.2; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; position: absolute; right: 0; top: 0.35em; color: var(--rubrum); font-family: var(--font-display); font-style: normal; font-weight: 300; font-size: 1em; line-height: 1; transition: transform 220ms ease-out; }
.q.w1 summary::after { font-size: 1.1em; }
.q[open] summary::after { transform: rotate(45deg); }
.q summary:hover, .q[open] summary { color: var(--rubrum); }
.q.w1[open] summary { color: var(--rubrum); }
.q summary span { display: block; }
.q p { margin: 2px 0 22px; padding-right: 34px; font-size: 0.95em; line-height: 1.5; color: #c9c2b5; max-width: 62ch; }
.q p a { color: var(--rubrum); }
.qcta { margin-top: clamp(40px, 6vh, 72px); padding-top: 28px; border-top: 1px solid #2c2925; color: #c9c2b5; max-width: var(--measure); }
.qcta a { color: var(--paper); }
@media (max-width: 720px) { .q.w2, .q.w1 { flex-basis: 100%; min-width: 0; } .q.w3 summary { font-size: clamp(1.7rem, 8vw, 2.4rem); } }
@media (prefers-color-scheme: dark) { .fragenraum { background: #0b0a09; } }

/* ---------- sections ---------- */
section { padding: clamp(56px, 10vh, 120px) var(--gutter); }
section + section { border-top: 1px solid var(--rule); }
h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.7em;
  max-width: 24ch;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) {
  .two { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .two > h2 { position: sticky; top: 32px; }
}

/* Drei Eigenschaften als Marginalien */
.claims { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); max-width: var(--measure); }
.claims li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.claims b { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--rubrum); font-size: 1.15em; line-height: 1.3; }
@media (max-width: 560px) { .claims li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- first title ---------- */
.title-block { display: grid; gap: 36px; }
@media (min-width: 900px) { .title-block { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; } }
.cover {
  position: relative; margin: 0;
  transform: rotate(-1.5deg);
  transition: transform 300ms ease-out;
}
.cover img { width: 100%; height: auto; display: block; border-radius: 3px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.15); }
.cover:hover { transform: rotate(0deg) translateY(-2px); }
.cover figcaption { margin-top: 12px; font-size: 0.85em; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; max-width: var(--measure); }
.facts li { border-top: 1px solid var(--rule); padding-top: 10px; font-size: 0.92em; color: var(--ink-2); }
.facts strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.55em; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.ordinal { color: var(--rubrum); font-family: var(--font-display); font-style: italic; margin: 0 0 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 20px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-text); font-size: 0.95em; text-decoration: none; cursor: pointer;
  transition: transform 180ms ease-out, background 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}
.btn:hover { background: var(--rubrum); border-color: var(--rubrum); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: transparent; color: var(--rubrum); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- newsletter ---------- */
.nl { display: grid; gap: 14px; max-width: 560px; margin-top: 8px; }
.nl label { font-size: 0.85em; color: var(--muted); }
.nl .row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl input[type="email"] {
  flex: 1 1 260px; min-height: 48px; padding: 8px 14px;
  font: inherit; font-size: 1em;
  color: var(--ink); background: var(--paper-2);
  border: 1.5px solid var(--rule); border-radius: 999px;
  transition: border-color 180ms ease-out;
}
.nl input[type="email"]:focus { border-color: var(--rubrum); outline: none; }
.nl small { color: var(--muted); font-size: 0.8em; line-height: 1.5; max-width: 52ch; }
.hp { position: absolute; left: -9999px; }

.socials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95em; }
.socials a { text-decoration: none; padding: 10px 0; display: inline-block; border-bottom: 1px solid var(--rule); }
.socials a:hover { border-color: var(--rubrum); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--rule);
  padding: 40px var(--gutter) 60px;
  font-size: 0.82em; color: var(--muted); line-height: 1.6;
  display: grid; gap: 14px;
}
footer .legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { text-decoration: none; padding: 6px 0; display: inline-block; }
footer .mark { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.3em; color: var(--ink); }

/* ---------- motion ---------- */
.reveal { transition: opacity 480ms ease-out, transform 480ms ease-out; }
.reveal.pre { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; }
.hero .seq { opacity: 0; transform: translateY(10px); animation: rise 600ms ease-out forwards; }
.hero .seq:nth-child(1) { animation-delay: 60ms; }
.hero .seq:nth-child(2) { animation-delay: 220ms; }
.hero .seq:nth-child(3) { animation-delay: 380ms; }
.hero .seq:nth-child(4) { animation-delay: 620ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
.nunc .word i { animation: blink 2.2s steps(1) infinite 1.4s; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 60% { opacity: 0.25; } 61%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .seq { opacity: 1; transform: none; animation: none; transition: none; }
  .nunc .word i { animation: none; }
  .cover { transform: none; }
  .btn:hover { transform: none; }
}
