/* lutterotti.ch – Gestaltung 2026
   Farben nach der H&E-Färbung aus der Histologie:
   Hämatoxylin (blauviolett) und Eosin (rosa) auf weissem Objektträger. */

@font-face {
  font-family: "Literata";
  src: url("fonts/literata.woff2") format("woff2-variations"), url("fonts/literata.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-italic.woff2") format("woff2-variations"), url("fonts/literata-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2-variations"), url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --slide: #FCFCFE;        /* Objektträger */
  --ink: #1F1C33;          /* Fliesstext */
  --hema: #2A2560;         /* Hämatoxylin */
  --hema-pale: #EEEDF6;
  --hema-line: #DCDAEA;
  --eosin: #B42A5B;        /* Eosin, textsicher auf hell */
  --eosin-bright: #F48FB1; /* Eosin auf dunkel */
  --muted: #5F5B78;
  --on-hema: #F3F1FA;
  --on-hema-muted: #C9C4E6;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--slide);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a { color: var(--eosin); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--eosin-bright); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0; color: var(--hema); }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--slide); color: var(--hema); padding: .6rem 1rem;
  font-family: var(--sans); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- Kopf & Hero (Hämatoxylin) ---------- */

.top { background: var(--hema); color: var(--on-hema); }

.masthead {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem; padding-block: 1.5rem;
  font-family: var(--sans);
}
.monogram {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: .01em;
  color: var(--on-hema); text-decoration: none;
}
.masthead nav ul { display: flex; flex-wrap: wrap; gap: .25rem clamp(1rem, 3vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.masthead nav a { color: var(--on-hema-muted); text-decoration: none; font-size: .975rem; white-space: nowrap; }
@media (max-width: 26rem) { .masthead nav a { font-size: .92rem; } }
.masthead nav a:hover { color: var(--on-hema); text-decoration: underline; text-decoration-color: var(--eosin-bright); }

.hero {
  display: grid; gap: 3rem;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
}

.hero h1 { color: var(--on-hema); font-size: clamp(1.3rem, 2.1vw, 1.6rem); font-weight: 600; letter-spacing: .005em; }
.role { font-family: var(--sans); color: var(--on-hema-muted); font-size: 1rem; margin: .35rem 0 0; }

.motto {
  font-size: clamp(2.6rem, 5.8vw, 4.75rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.018em;
  color: var(--on-hema);
  max-width: 12ch;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  hyphens: manual;
}

/* Die sieben Siegel: beim Laden öffnen sie sich nacheinander. */
.seals { display: flex; gap: .6rem; margin: 1.75rem 0 2.25rem; padding: 0; list-style: none; }
.seals li {
  width: .95rem; height: .95rem; border-radius: 50%;
  border: 2px solid var(--eosin-bright);
  background: var(--eosin-bright);
  animation: unseal .55s cubic-bezier(.3,.7,.2,1) forwards;
  animation-delay: calc(700ms + var(--i) * 150ms);
}
@keyframes unseal {
  0%   { background-color: var(--eosin-bright); transform: scale(1); }
  45%  { transform: scale(1.35); }
  100% { background-color: transparent; transform: scale(1); }
}

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 34em; color: var(--on-hema); margin-bottom: 2rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.3rem; border-radius: 3px; text-decoration: none;
  border: 1.5px solid var(--eosin-bright);
}
.btn-solid { background: var(--eosin-bright); color: var(--hema); }
.btn-solid:hover { background: #F9B3CB; border-color: #F9B3CB; }
.btn-line { color: var(--on-hema); border-color: rgba(243,241,250,.45); }
.btn-line:hover { border-color: var(--on-hema); }

.art { margin: 0; justify-self: center; max-width: 30rem; width: 100%; }
.art img { display: block; width: 100%; height: auto; }
.art figcaption { font-family: var(--sans); font-size: .875rem; line-height: 1.5; color: var(--on-hema-muted); margin-top: .75rem; max-width: 26rem; }
@media (min-width: 60rem) { .art { align-self: center; } }

.facts {
  margin: 0; padding: 2rem 0 clamp(3rem, 6vw, 4.5rem);
  display: grid; gap: 1.5rem 3rem;
  border-top: 1px solid rgba(243,241,250,.18);
}
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts dt { font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--eosin-bright); margin-bottom: .3rem; }
.facts dd { margin: 0; color: var(--on-hema); line-height: 1.5; }

/* ---------- Abschnitte ---------- */

.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--hema-line); }
.section-tint { background: var(--hema-pale); }
.section-tint + .section, .section + .section-tint { border-top: 0; }

.split { display: grid; gap: 2rem; }
@media (min-width: 60rem) {
  .split { grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; }
  .split > header { position: sticky; top: 2rem; align-self: start; }
}

.split h2 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); }
.aside-note { font-family: var(--sans); color: var(--muted); font-size: .95rem; line-height: 1.55; margin-top: 1rem; }

.prose { max-width: 40rem; font-size: 1.125rem; line-height: 1.75; }
.prose h3 { font-size: 1.45rem; margin: 0 0 1rem; }
.prose h3:not(:first-child) { margin-top: 3rem; }

.rings { list-style: none; padding: 0; margin: 0; }
.rings li { position: relative; padding-left: 1.75rem; margin-bottom: .9rem; }
.rings li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: .7rem; height: .7rem; border-radius: 50%;
  border: 2px solid var(--eosin);
}

/* ---------- Arbeiten ---------- */

.outlets { list-style: none; margin: 0 0 4rem; padding: 0; border-top: 1px solid var(--hema-line); }
.outlets li { border-bottom: 1px solid var(--hema-line); }
.outlets a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.5rem; align-items: baseline;
  padding: 1.5rem 0; text-decoration: none; color: var(--ink);
}
.outlets .name { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--hema); font-weight: 500; line-height: 1.25; }
.outlets .what { grid-column: 1; font-family: var(--sans); color: var(--muted); font-size: .975rem; }
.outlets .host { grid-row: 1 / span 2; grid-column: 2; font-family: var(--sans); font-size: .9rem; color: var(--eosin); align-self: center; }
.outlets a:hover .name { text-decoration: underline; text-decoration-color: var(--eosin); text-decoration-thickness: 2px; text-underline-offset: .2em; }

.subhead { font-size: 1.45rem; margin-bottom: 1.25rem; }

/* ---------- Zeitleisten (Bücher, Werdegang) ---------- */

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem;
  padding: 1rem 0; border-top: 1px solid var(--hema-line);
}
.timeline li:last-child { border-bottom: 1px solid var(--hema-line); }
.timeline .when { font-family: var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); font-size: .95rem; padding-top: .12em; }
.timeline .what { line-height: 1.55; }
.timeline .what strong { display: block; font-weight: 600; color: var(--hema); }
.timeline .what small { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: .25rem; line-height: 1.5; }
@media (max-width: 30rem) {
  .timeline li { grid-template-columns: 1fr; gap: .15rem; }
}

.cv-group + .cv-group { margin-top: 3.5rem; }
.cv-group h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.cv-group > p { color: var(--muted); max-width: 40rem; margin-bottom: 1.25rem; }

/* ---------- Kontakt ---------- */

.mail-big {
  display: inline-block; font-size: clamp(1.6rem, 4vw, 2.75rem); font-weight: 450; line-height: 1.2;
  color: var(--hema); text-decoration-color: var(--eosin); text-decoration-thickness: 2px; text-underline-offset: .2em;
  word-break: break-word; margin-top: .5rem;
}
.mail-big:hover { color: var(--eosin); }

/* ---------- Fuss ---------- */

.foot { background: var(--hema); color: var(--on-hema-muted); font-family: var(--sans); font-size: .925rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 2rem; }
.foot a { color: var(--on-hema); }
.foot p { margin: 0; }

/* ---------- Unterseiten ---------- */

.page-head { padding-block: 1.5rem clamp(3rem, 7vw, 5rem); }
.page-head h1 { color: var(--on-hema); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: -.015em; }
.page-head p { color: var(--on-hema-muted); font-family: var(--sans); margin: .75rem 0 0; }

.legal { max-width: 42rem; }
.legal h2 { font-size: 1.6rem; margin: 3rem 0 1rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 .5rem; }
.legal ul { padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seals li { animation: none; background: transparent; }
}

@media print {
  .top, .foot { background: none; color: #000; }
  .masthead nav, .seals, .actions { display: none; }
  .hero h1, .motto, .lede, .facts dd { color: #000; }
}
