/*
Theme Name: Viola 2026
Theme URI: https://viola-dengler.de/
Author: Viola Dengler
Description: Minimalistisches Onepage-Theme fuer Viola Dengler.
Version: 1.0.0
Text Domain: viola-2026
*/

:root {
  --bg: #f3f1ea;
  --text: #111513;
  --muted: #686f6b;
  --line: rgba(17,21,19,.16);
  --accent: #0e574f;
  --accent-soft: #dce9e5;
  --max: 1260px;
  --pad: clamp(22px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--pad))); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 20px 0;
  mix-blend-mode: multiply;
}
.site-header .inner {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.nav { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.nav a { transition: color .25s ease; }
.nav a:hover { color: var(--text); }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 130px 0 70px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}
.hero-text { min-width: 0; }
h1 {
  margin: 0;
  max-width: 1120px;
  font-size: clamp(62px, 9.2vw, 140px);
  line-height: .84;
  letter-spacing: -.075em;
  font-weight: 650;
}
.hero-intro {
  margin-top: clamp(32px, 4.8vw, 58px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero-role {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 590;
}
.hero-role span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: .62em;
  line-height: 1.35;
  letter-spacing: .025em;
  text-transform: uppercase;
  font-weight: 720;
}
.hero-copy {
  margin: 0;
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.42;
  letter-spacing: -.03em;
  max-width: 760px;
}

.hero-photo {
  margin: 0;
  justify-self: end;
  width: min(100%, 560px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(17,21,19,.05);
  border: 1px solid rgba(17,21,19,.08);
  box-shadow: 0 22px 60px rgba(17,21,19,.10);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
}

.scroll-mark {
  position: absolute;
  right: var(--pad);
  bottom: 26px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.keywords {
  min-height: 125svh;
  padding: 15vh 0;
  display: flex;
  align-items: center;
  background: #101614;
  color: #f3f1ea;
  position: relative;
}
.keywords-list { width: 100%; }
.keyword {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid rgba(243,241,234,.18);
  padding: 16px 0 20px;
  font-size: clamp(40px, 8vw, 118px);
  line-height: .96;
  letter-spacing: -.055em;
  color: rgba(243,241,234,.28);
  transition: color .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.keyword:last-child { border-bottom: 1px solid rgba(243,241,234,.18); }
.keyword span:last-child {
  font-size: 12px;
  align-self: center;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .55;
}
.keyword.active { color: #f3f1ea; transform: translateX(1.2vw); }

section.content { padding: clamp(100px, 14vw, 190px) 0; border-bottom: 1px solid var(--line); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: clamp(46px, 10vw, 150px);
  align-items: start;
}
.section-kicker { position: sticky; top: 110px; }
.section-number { color: var(--accent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
h2 {
  margin: 0;
  font-size: clamp(37px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 620;
}
.section-copy {
  max-width: 800px;
  font-size: clamp(21px, 2.2vw, 32px);
  line-height: 1.42;
  letter-spacing: -.032em;
}
.section-copy p { margin: 0 0 1.15em; }
.section-copy p:last-child { margin-bottom: 0; }
.accent-line { color: var(--accent); font-weight: 650; }

.responsibility {
  background: var(--accent-soft);
  overflow: hidden;
  padding: clamp(90px, 12vw, 160px) 0 clamp(110px, 14vw, 190px);
  border-bottom: 0;
}
.marquee-wrap { overflow: hidden; margin-bottom: clamp(70px, 10vw, 120px); }
.marquee {
  display: flex;
  width: max-content;
  gap: 4vw;
  font-size: clamp(54px, 10.5vw, 160px);
  line-height: .8;
  letter-spacing: -.07em;
  font-weight: 650;
  text-transform: uppercase;
  will-change: transform;
}
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--text); }
.responsibility .section-copy { max-width: 900px; }

.journalism { background: #111513; color: #f3f1ea; border-bottom: 0; }
.journalism .section-number { color: #79b7ab; }
.timeline-label { margin-top: 48px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,241,234,.5); }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid rgba(243,241,234,.18);
}
.timeline-item { padding: 18px 28px 0 0; border-right: 1px solid rgba(243,241,234,.18); min-height: 120px; }
.timeline-item:last-child { border-right: 0; padding-left: 28px; }
.timeline-item:nth-child(2) { padding-left: 28px; }
.timeline-year { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,241,234,.5); margin-bottom: 9px; }
.timeline-name { font-size: 18px; }

footer {
  padding: 52px 0 46px;
  background: #111513;
  color: #f3f1ea;
  border-top: 1px solid rgba(243,241,234,.18);
}
.footer-row { display: flex; justify-content: space-between; gap: 30px; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; font-size: 14px; }
.footer-links a { opacity: .68; transition: opacity .2s ease; }
.footer-links a:hover { opacity: 1; }
.footer-name { font-weight: 650; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* Simple pages such as Impressum / Datenschutz */
.simple-page { min-height: 100vh; padding: 150px 0 100px; }
.simple-page article { max-width: 850px; }
.simple-page h1 { font-size: clamp(54px, 8vw, 110px); margin-bottom: 55px; }
.simple-page .entry-content { font-size: 18px; line-height: 1.65; }
.simple-page .entry-content a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .nav a:not(:last-child) { display: none; }
  .hero { padding-top: 120px; align-items: start; }
  .hero-grid, .hero-intro, .section-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 26px; }
  .hero-photo { width: 100%; max-width: 560px; justify-self: start; aspect-ratio: 4 / 4.6; }
  .hero-intro { gap: 26px; }
  .section-kicker { position: static; }
  
.hero-photo {
  margin: 0;
  justify-self: end;
  width: min(100%, 560px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(17,21,19,.05);
  border: 1px solid rgba(17,21,19,.08);
  box-shadow: 0 22px 60px rgba(17,21,19,.10);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
}

.scroll-mark { display: none; }
  .keyword { font-size: clamp(42px, 13vw, 76px); }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item,
  .timeline-item:nth-child(2),
  .timeline-item:last-child { border-right: 0; border-bottom: 1px solid rgba(243,241,234,.18); padding: 18px 0; min-height: 0; }
  .timeline-item:last-child { border-bottom: 0; }
}

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