﻿@font-face {
  font-family: 'Theinhardt';
  src: url(../fonts/Theinhardt/Theinhardt-Regular.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #f3f1eb;
  --surface: #f7f4ee;
  --paper: #fffdfa;
  --text: #101010;
  --muted: #4f4b45;
  --line: rgba(16, 16, 16, 0.18);
  --black: #050505;
  --yellow: #ffed00;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  --main-font: 'Theinhardt', sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--main-font);
  color: var(--text);
  background:
    linear-gradient(180deg, #0a0a0a 0 28rem, var(--bg) 28rem 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.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;
}




.site-header,
.site-footer {
  width: 100%;
}

.header-inner,
main,
.footer-inner {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #0a0a0a;
  padding-bottom: 5.5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 0 1rem;
}

.brand {
  width: min(18rem, 46vw);
}

.brand img {
  filter: brightness(0) invert(1);
}

.site-nav ul,
.submenu,
.discussion-list,
.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav > ul {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
}

.site-nav > ul > li {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: -0.75rem;
}

.site-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.2rem 0.75rem;
  color: white;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li > a:focus-visible {
  color: var(--yellow);
}

.submenu {
  position: absolute;
  top: calc(100% - 0.1rem);
  left: 0;
  min-width: 16rem;
  padding: 0.55rem 0;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 5;
}

.submenu li a {
  display: block;
  padding: 0.7rem 1rem;
  color: var(--text);
}

.submenu li a:hover,
.submenu li a:focus-visible {
  background: var(--yellow);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 0.2rem;
  margin: 0.35rem 0;
  background: white;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 3.4rem 0 0;
}

.eyebrow,
.panel-kicker,
.teaser-tag {
  margin: 0 0 0.75rem;
  color: var(--yellow);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label {
  margin: 0 0 0.75rem;
  color: #6d6500;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.02;
}

.hero h1 {
  color: white;
  font-size: clamp(3rem, 4.5vw, 5.85rem);
  font-weight: 600;
  max-width: 13ch;
  max-width: none;
  width: 100%;
}

.hero-text,
.hero-panel,
.edition-meta {
  font-size: 1.1rem;
  line-height: 1.55;
}

.hero-text {
  max-width: 58rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: var(--yellow);
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-panel {
  width: min(30rem, 100%);
  margin-left: auto;
  padding: 1.4rem 1.4rem 1.6rem;
  color: white;
  background: linear-gradient(180deg, rgba(255, 237, 0, 0.18), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-panel li + li {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.section {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.aktuelles-pdf-section {
  margin-top: 4rem;
}


.intro-grid {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}

.intro-grid,
.materials-grid,
.news-about-section {
  display: grid;
  gap: 1.25rem;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-card,
.material-card,
.news-list article,
.about-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.45rem;
}

.intro-card {
  color: var(--text);
}

.intro-card p:last-child {
  color: #2e2a25;
}

h2 {
  font-size: clamp(2rem, 2.5rem, 3.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.85rem;
  margin-bottom: 0.85rem;
}

p {
  margin: 0;
  line-height: 1.6;
}

p + p {
  margin-top: 0.85rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.lined-box {
  padding: 1.5rem;
  background: linear-gradient(180deg, #fdfcf8, #f0ede6);
  border: 1px solid var(--line);
}

.discussion-list li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.discussion-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.discussion-list span {
  font-weight: 700;
}

.section-head,
.edition-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.materials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.material-card {
  min-height: 14rem;
}

.edition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.9fr);
  gap: 1.5rem;
}

.transcript-panel,
.facsimile-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.transcript {
  display: grid;
  gap: 0.95rem;
  font-size: 1.04rem;
}

.speaker {
  display: inline-block;
  min-width: 2.2rem;
  margin-right: 0.4rem;
  font-weight: 700;
}

.facsimile-sheet {
  position: relative;
}

.facsimile-page {
  position: relative;
  min-height: 33rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06), transparent 3rem),
    #f9f3e8;
  border: 1px solid rgba(55, 43, 21, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.page-header-line {
  position: absolute;
  inset: 2rem 2rem auto;
  height: 1px;
  background: rgba(72, 54, 28, 0.3);
}

.page-lines {
  position: absolute;
  inset: 4rem 2rem 2rem;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 1.6rem,
      rgba(112, 87, 45, 0.18) 1.6rem 1.67rem
    );
}

.page-note {
  position: absolute;
  font-family: var(--serif);
  color: rgba(62, 45, 20, 0.75);
  font-size: 1.15rem;
}

.page-note-a {
  top: 1rem;
  right: 1.5rem;
}

.page-note-b {
  right: 1.2rem;
  bottom: 5rem;
  transform: rotate(-5deg);
}

.zoom-chip {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.5rem 0.8rem;
  background: var(--yellow);
  font-weight: 700;
}

.carousel-section {
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  gap: 0.75rem;
}

.carousel-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--black);
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 220ms ease;
  will-change: transform;
}

.teaser-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 18rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, #111 0%, #1d1d1a 100%);
  color: white;
  border-top: 4px solid var(--yellow);
}

.teaser-card a {
  margin-top: 1.4rem;
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

.teaser-card.is-active {
  transform: translateY(-0.25rem);
}

.news-about-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}

.news-list,
.about-grid {
  display: grid;
  gap: 1rem;
}

.news-list span {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer {
  background: #0a0a0a;
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0 3rem;
}

.footer-brand {
  display: grid;
  gap: 1rem;
  color: white;
}

.footer-brand img {
  width: min(15rem, 42vw);
}


.footer-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-left: auto;
  align-self: flex-end;
}

.logo-badge {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 7.5rem;
  height: 4rem;
  padding: 0;
  border: 0;
  background: transparent;
  flex: 0 0 auto;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.15rem;
  text-decoration: none;
  cursor: pointer;
}

.footer-logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
}

.footer-logo-link:focus-visible,
.footer-logo-link:hover {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .edition-layout,
  .news-about-section,
  .materials-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    width: min(26rem, 100%);
    padding: 1rem;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .topbar {
    position: relative;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav > ul > li > a {
    color: var(--text);
    padding: 0.7rem 0;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0.2rem 0 0.5rem 1rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 700px) {
  body {
    background: var(--bg);
  }

  .header-inner,
  main,
  .footer-inner {
    width: min(1240px, calc(100% - 1rem));
  }

  .site-header,
  .site-footer {
    width: 100%;
  }

  .section {
    padding: 1.25rem;
  }

  .hero {
    padding: 2.4rem 0 3rem;
  }

  .hero h1 {
    max-width: none;
  }

  .intro-grid {
    margin-top: -2rem;
  }

  .section-head,
  .edition-header,
  .footer-inner {
  align-items: start;
  flex-direction: column;
}

  .footer-logos {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
  }

  .carousel-track {
    gap: 0.75rem;
  }

  .facsimile-page {
    min-height: 24rem;
  }
}

@media (max-width: 900px) {
  .teaser-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 700px) {
  .teaser-card {
    flex-basis: 100%;
  }
}






.card-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.card-link:hover,
.card-link:focus-visible {
  color: #000;
  border-bottom-color: var(--yellow);
}

.material-page-header {
  padding-bottom: 3rem;
}

.material-hero {
  padding-bottom: 1rem;
}

.material-hero-text {
  max-width: 52rem;
}

.material-section-head,
.aktuelles-section-head {
  margin-bottom: 1.2rem;
}


.material-prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.8fr);
  gap: 1.25rem;
}

.material-prose-card,
.material-sidebar-card,
.material-stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.material-outline-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.material-outline-list li + li {
  margin-top: 0.65rem;
}

.material-download {
  margin-top: 1.25rem;
}

.material-figure-frame,
.material-pdf-frame,
.aktuelles-pdf-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1rem;
}

.material-figure-frame img {
  width: 100%;
  height: auto;
}

.material-caption {
  margin-top: 1rem;
  color: #3f3a35;
}

.table-scroll {
  overflow-x: auto;
}

.material-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
}

.material-table th,
.material-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.material-table th {
  background: #ece8df;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.material-table tbody tr:nth-child(even) {
  background: #fbf8f1;
}

.material-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.material-stat-card strong {
  display: block;
  font-size: 2rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  margin-bottom: 0.45rem;
}

.material-pdf-frame object,
.aktuelles-pdf-frame object {
  width: 100%;
  min-height: 980px;
}

@media (max-width: 1040px) {
  .material-prose-grid,
  .material-stat-grid {
    grid-template-columns: 1fr;
  }
}







.has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.75rem;
}

.material-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: 1.75rem;
  align-items: center;
}

.material-hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.material-hero-figure object,
.material-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 20rem;
}

.media-list {
  margin: 0;
  padding-left: 1.2rem;
}

.media-list li {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.media-list a {
  text-decoration: underline;
}

.media-list a:hover,
.media-list a:focus-visible {
  text-decoration: none;
}

@media (max-width: 1040px) {
  .material-hero-grid {
    grid-template-columns: 1fr;
  }
}


.team-page-header {
  padding-bottom: 2.5rem;
}

.team-hero {
  position: relative;
  min-height: clamp(28rem, 62vh, 42rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.62) 24%, rgba(5, 5, 5, 0.2) 52%, rgba(5, 5, 5, 0) 74%);
}

.team-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(28rem, 62vh, 42rem);
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.team-hero__content h1 {
  max-width: 16ch;
  color: var(--yellow);
}

.team-hero__text {
  max-width: 52rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .team-page-header {
    padding-bottom: 1.5rem;
  }

  .team-hero,
  .team-hero__content {
    min-height: 24rem;
  }

  .team-hero__content {
    padding: 1.25rem;
  }

  .team-hero__text {
    font-size: 1rem;
  }
}
