:root {
  --ink: #101419;
  --paper: #f3f0e8;
  --white: #fffdf8;
  --line: #d4d0c6;
  --muted: #686b6d;
  --blue: #1558d6;
  --orange: #ef5b2a;
  --mint: #72d4b0;
  --yellow: #f2cd57;
  --display: "Newsreader", Georgia, serif;
  --sans: "Archivo", "Trebuchet MS", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, textarea { font: inherit; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
}
.skip-link:focus { top: 12px; }
.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1001;
  width: 0;
  height: 3px;
  background: var(--orange);
}
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .73rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow.light { color: var(--mint); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--orange); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid #34383e;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  color: #b8bec5;
  border-bottom: 1px solid #34383e;
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.topline span:last-child { color: var(--mint); }
.nav-row { display: flex; min-height: 74px; align-items: center; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid var(--orange);
  border-radius: 50%;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 16px;
  top: -7px;
  width: 2px;
  height: 46px;
  background: #fff;
  transform: rotate(31deg);
  transform-origin: center;
}
.brand-mark::after { height: 7px; top: -9px; left: 19px; background: var(--mint); transform: rotate(31deg); }
.brand-type { font-family: var(--display); font-size: 1.55rem; font-weight: 700; line-height: 1; }
.brand-type b { color: var(--orange); font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a {
  color: #e9eaeb;
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--mint); }
.nav-cta {
  padding: 9px 12px;
  color: #101419 !important;
  background: var(--mint);
  border: 1px solid var(--mint);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid #555b62;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: min(720px, 77vh);
  display: grid;
  align-items: end;
  color: #fff;
  background: #080d12 url("/assets/digitaldirigent-redaktion.webp") center center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 13, .45);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr);
  gap: 70px;
  align-items: end;
  padding-block: 96px 72px;
}
.hero-copy { max-width: 760px; }
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7.2vw, 7rem);
  line-height: .86;
  font-weight: 650;
  text-wrap: balance;
}
.hero h1 em { color: var(--orange); font-style: italic; font-weight: 500; }
.hero-deck { max-width: 690px; margin: 28px 0 0; color: #e3e6e8; font-size: 1.08rem; line-height: 1.55; }
.hero-note {
  align-self: end;
  padding: 18px 0 2px 22px;
  border-left: 4px solid var(--mint);
  color: #edf1f1;
}
.hero-note strong { display: block; margin-bottom: 8px; color: #fff; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.hero-note p { margin: 0; font-size: .86rem; }
.issue-bar { color: #fff; background: var(--blue); border-bottom: 1px solid #0d47b4; }
.issue-row {
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  align-items: stretch;
}
.issue-row > * { padding: 18px 20px; border-right: 1px solid rgba(255,255,255,.25); }
.issue-row strong { background: var(--orange); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.issue-row a { display: flex; align-items: center; color: #fff; font-size: .76rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.issue-row a:hover { background: #0d47b4; }

.section { padding-block: 84px; }
.section.white { background: var(--white); }
.section.dark { color: #fff; background: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-head h2 { max-width: 760px; margin: 0; font-family: var(--display); font-size: clamp(2.45rem, 4vw, 4.8rem); line-height: .95; font-weight: 620; }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); font-size: .93rem; }
.section.dark .section-head p { color: #aeb4ba; }
.text-link { color: var(--blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.story-grid { display: grid; grid-template-columns: 1.42fr 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.story-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 345px;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.story-card:hover { background: #e9f0ff; }
.story-card.feature { min-height: 520px; background: var(--yellow); grid-row: span 2; }
.story-card.feature:hover { background: #e9bf3d; }
.story-num { color: var(--orange); font-family: var(--display); font-size: 1.3rem; font-style: italic; }
.story-card h3 { margin: auto 0 16px; font-family: var(--display); font-size: clamp(1.6rem, 2.2vw, 2.75rem); line-height: 1.02; font-weight: 650; text-wrap: balance; }
.story-card.feature h3 { font-size: clamp(2.8rem, 4.2vw, 5.2rem); }
.story-card p { margin: 0 0 22px; color: #42464a; font-size: .86rem; line-height: 1.55; }
.story-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(16,20,25,.2); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.beats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #353a40; }
.beat { min-height: 270px; padding: 30px 25px; border-right: 1px solid #353a40; }
.beat:last-child { border-right: 0; }
.beat .beat-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 58px; color: var(--ink); background: var(--mint); font-size: .8rem; font-weight: 900; }
.beat:nth-child(2) .beat-mark { background: var(--orange); }
.beat:nth-child(3) .beat-mark { background: var(--yellow); }
.beat:nth-child(4) .beat-mark { color: #fff; background: var(--blue); }
.beat h3 { margin: 0 0 12px; font-family: var(--display); font-size: 1.75rem; line-height: 1; }
.beat p { margin: 0; color: #acb2b8; font-size: .82rem; line-height: 1.55; }
.beat a { display: inline-block; margin-top: 18px; color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.latest-list { border-top: 1px solid var(--line); }
.latest-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(220px, .45fr) 60px;
  gap: 22px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.latest-row:hover { background: #fff; }
.latest-row .index { color: var(--orange); font-family: var(--display); font-size: 1.5rem; font-style: italic; }
.latest-row h3 { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 2.4rem); line-height: 1.05; }
.latest-row p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.latest-row .arrow { color: var(--blue); font-size: 1.5rem; text-align: right; }
.editorial-callout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 70px;
  align-items: center;
  padding: 52px;
  color: #fff;
  background: var(--blue);
}
.editorial-callout h2 { margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 5.8rem); line-height: .9; }
.editorial-callout p { margin: 0 0 20px; max-width: 640px; }
.editorial-callout .button { display: inline-block; padding: 10px 14px; color: var(--ink); background: var(--mint); font-size: .75rem; font-weight: 800; text-transform: uppercase; text-decoration: none; }

.page-hero { padding: 88px 0 58px; color: #fff; background: var(--ink); border-bottom: 8px solid var(--orange); }
.page-hero-grid { display: grid; grid-template-columns: 1fr minmax(260px, .38fr); gap: 60px; align-items: end; }
.page-hero h1 { max-width: 930px; margin: 0; font-family: var(--display); font-size: clamp(3.4rem, 7.5vw, 7.8rem); line-height: .86; font-weight: 620; text-wrap: balance; overflow-wrap: anywhere; }
.page-hero p { margin: 0; color: #bac0c5; font-size: .95rem; }
.category-accent { color: var(--mint); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.archive-card { display: flex; min-height: 330px; padding: 26px; flex-direction: column; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.archive-card:nth-child(4n+2) { background: #e9f0ff; }
.archive-card:nth-child(4n+3) { background: #eef8f4; }
.archive-card h2 { margin: auto 0 18px; font-family: var(--display); font-size: clamp(1.8rem, 2.7vw, 3.2rem); line-height: 1; }
.archive-card p { margin: 0 0 18px; color: var(--muted); font-size: .84rem; line-height: 1.5; }

.article-hero { padding: 76px 0 64px; color: #fff; background: var(--ink); }
.article-hero-inner { max-width: 1020px; }
.article-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(3rem, 6.6vw, 7rem); line-height: .91; font-weight: 620; text-wrap: balance; overflow-wrap: anywhere; }
.article-deck { max-width: 820px; margin: 28px 0 0; color: #bec4c9; font-family: var(--display); font-size: clamp(1.2rem, 2.1vw, 1.7rem); line-height: 1.35; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #3c4147; color: #c7ccd0; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 790px) 1fr; gap: 42px; align-items: start; padding-block: 70px 100px; }
.article-aside { position: sticky; top: 140px; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.article-aside strong { display: block; margin-bottom: 8px; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.article-aside a { color: var(--blue); }
.article-body { min-width: 0; font-family: var(--display); font-size: 1.16rem; line-height: 1.75; }
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2 { margin: 2.2em 0 .65em; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; font-weight: 650; }
.article-body h3 { margin: 1.9em 0 .55em; font-size: clamp(1.55rem, 2.5vw, 2.3rem); line-height: 1.08; }
.article-body h4 { margin: 1.5em 0 .5em; font-family: var(--sans); font-size: 1.05rem; }
.article-body ul, .article-body ol { padding-left: 1.25em; }
.article-body li { margin-bottom: .55em; }
.article-body blockquote { margin: 2em 0; padding: 26px 30px; font-size: 1.35rem; line-height: 1.45; background: var(--yellow); border-left: 5px solid var(--orange); }
.article-body a { color: #0e4fc8; }
.article-body img { margin: 2em auto; border: 1px solid var(--line); }
.article-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-family: var(--sans); font-size: .82rem; }
.article-body th, .article-body td { min-width: 150px; padding: 11px 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: #e9f0ff; }
.article-body .toc, .article-body .ez-toc-container, .article-body .td-post-sharing, .article-body .td-post-sharing-top { display: none !important; }
.article-side-note { padding: 22px; color: #fff; background: var(--blue); font-size: .77rem; line-height: 1.5; }
.article-side-note strong { display: block; margin-bottom: 10px; font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.next-reading { padding: 64px 0; background: var(--white); border-top: 1px solid var(--line); }
.next-reading h2 { margin: 0 0 26px; font-family: var(--display); font-size: 2.8rem; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.next-grid a { min-height: 190px; padding: 24px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.next-grid strong { display: block; margin-top: 36px; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }

.prose-page { display: grid; grid-template-columns: minmax(0, 800px) 1fr; gap: 70px; padding-block: 80px 110px; }
.prose-page .prose { min-width: 0; font-family: var(--display); font-size: 1.13rem; line-height: 1.75; }
.prose a, .prose span { overflow-wrap: anywhere; word-break: break-word; }
.prose h2 { margin: 2em 0 .6em; font-size: 2.3rem; line-height: 1.05; }
.prose h3 { margin: 1.7em 0 .5em; font-size: 1.55rem; }
.prose p, .prose ul { margin: 0 0 1.3em; }
.prose-side { position: sticky; top: 140px; align-self: start; padding: 28px; background: var(--yellow); }
.prose-side h2 { margin: 0 0 12px; font-family: var(--display); font-size: 2rem; line-height: 1; }
.contact-panel { padding: 32px; color: #fff; background: var(--blue); }
.contact-panel a { color: #fff; font-size: 1.25rem; font-weight: 800; overflow-wrap: anywhere; }

.site-footer { color: #d6dadd; background: #090c10; border-top: 8px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 70px; padding-block: 70px 46px; }
.footer-grid .brand { margin-bottom: 22px; }
.footer-grid p { max-width: 490px; color: #949ba2; font-size: .82rem; }
.footer-nav strong { display: block; margin-bottom: 15px; color: var(--mint); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-nav a { display: block; margin: 8px 0; color: #fff; font-size: .82rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid #30353b; color: #8f969c; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 1050px) {
  .main-nav { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr .45fr; gap: 35px; }
  .story-grid { grid-template-columns: 1.2fr 1fr; }
  .story-card.feature { grid-row: span 2; }
  .beats { grid-template-columns: repeat(2, 1fr); }
  .beat:nth-child(2) { border-right: 0; }
  .beat:nth-child(-n+2) { border-bottom: 1px solid #353a40; }
  .article-layout { grid-template-columns: 130px minmax(0, 1fr); }
  .article-side-note { display: none; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topline span:first-child { display: none; }
  .topline { justify-content: flex-end; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 113px 0 0;
    z-index: 70;
    display: none;
    margin: 0;
    padding: 34px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 4px; border-bottom: 1px solid #34383e; font-family: var(--display); font-size: 1.45rem; text-transform: none; }
  .nav-cta { margin-top: 16px; padding: 12px !important; text-align: center; }
  .hero { min-height: 680px; background-position: 63% center; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 110px 55px; }
  .hero-copy { padding: 20px; background: rgba(5,9,13,.72); }
  .hero-note { display: none; }
  .issue-row { grid-template-columns: 1fr 1fr; }
  .issue-row strong { grid-column: 1 / -1; }
  .issue-row > * { min-height: 68px; }
  .section { padding-block: 60px; }
  .section-head { align-items: start; flex-direction: column; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card.feature { grid-column: 1 / -1; min-height: 430px; }
  .latest-row { grid-template-columns: 50px 1fr 40px; }
  .latest-row p { display: none; }
  .editorial-callout { grid-template-columns: 1fr; gap: 34px; padding: 38px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; padding-block: 54px 80px; }
  .article-aside { position: static; display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .next-grid { grid-template-columns: 1fr; }
  .next-grid a { min-height: 150px; }
  .prose-page { grid-template-columns: 1fr; }
  .prose-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-row { min-height: 68px; }
  .topline { min-height: 34px; }
  .main-nav { inset: 103px 0 0; }
  .brand-type { font-size: 1.28rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark::before { left: 14px; height: 41px; }
  .brand-mark::after { left: 17px; }
  .hero { min-height: 655px; }
  .hero-grid { padding-block: 86px 38px; }
  .hero-copy { padding: 18px 14px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-deck { font-size: .95rem; }
  .issue-row { grid-template-columns: 1fr; }
  .issue-row strong { grid-column: auto; }
  .issue-row > * { min-height: 0; padding: 13px 15px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .story-grid, .archive-grid { grid-template-columns: 1fr; }
  .story-card.feature { grid-column: auto; min-height: 390px; }
  .story-card { min-height: 300px; }
  .beats { grid-template-columns: 1fr; }
  .beat { min-height: 230px; border-right: 0; border-bottom: 1px solid #353a40; }
  .beat:last-child { border-bottom: 0; }
  .beat .beat-mark { margin-bottom: 38px; }
  .latest-row { grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 10px; }
  .latest-row h3 { overflow-wrap: anywhere; }
  .editorial-callout { padding: 28px 22px; }
  .page-hero { padding: 60px 0 42px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .article-hero { padding: 56px 0 46px; }
  .article-hero h1 { font-size: clamp(2.75rem, 13vw, 4.7rem); }
  .article-deck { font-size: 1.15rem; }
  .article-layout { gap: 30px; }
  .article-body { font-size: 1.06rem; }
  .article-aside { flex-direction: column; }
  .prose-page { gap: 40px; padding-block: 54px 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
