@charset "utf-8";
/* CSS Document */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f1f1f1;
  color: #f0f0f0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #8f0000;
}

/* === Layout === */
.container {
  display: flex;
}

.sidebar {
  width: 300px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(180deg, #2c2c2c 0%, #232323 100%);
  padding-top: 50px;
  z-index: 1;
  font-family: sans-serif;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
}

/* === Sidebar === */
.logo {
  text-align: center;
  margin-bottom: 30px;
}

.sidebar .logo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.logo h2 {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
}

.logo .subtitle {
  font-size: 15px;
  color: #b9b9b9;
  margin-top: 5px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 30px;
  flex-grow: 1;
}

.sidebar-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-menu li a {
  display: block;
  padding: 12px 15px;
  color: #d8d8d8;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, padding-left 0.22s ease;
  border-radius: 4px;
}

.sidebar-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding-left: 18px;
}

.sidebar-menu a.active {
  background-color: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  color: #ffffff;
}

.sidebar .copyright {
  font-size: 12px;
  color: #999;
  text-align: center;
  padding-top: 20px;
}

/* === Content === */
.content {
  margin-left: 350px;
  margin-right: 80px;
  padding: 55px 0;
  background-color: #f1f1f1;
  color: #000;
}

.section-title {
  font-size: 2em;
  font-weight: 400;
  color: #222;
  margin-bottom: 28px;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 12px;
  letter-spacing: 0.01em;
}

/* === Veranstaltungen === */
.veranstaltung {
  margin-top: 0;
}

.veranstaltung + .veranstaltung {
  margin-top: 18px;
}

.event-card {
  display: flex;
  background-color: transparent;
  border-radius: 10px;
  overflow: visible;
  box-shadow: none;
  margin-bottom: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.event-text {
  flex: 2;
  padding: 20px 0 20px 20px;
  overflow: visible;
  position: relative;
}

.event-header-box {
  background: #fcfcfc;
  padding: 28px 20px 18px 20px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
  margin-bottom: 0;
  position: relative;
}

.event-meta-bar {
  position: absolute;
  top: 45px;
  left: 0px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 5px 14px rgba(120, 0, 0, 0.16);
}

.event-category,
.event-date {
  padding: 6px 12px;
  font-size: 13px;
  color: white;
  white-space: nowrap;
  display: flex;
  align-items: center;
  line-height: 1;
}

.event-category {
  background-color: #a00000;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.event-date {
  background-color: #c11a1a;
  font-weight: 500;
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 34px;
  margin-bottom: 10px;
  color: #111;
  line-height: 1.25;
}

.event-subtitle {
  font-style: italic;
  color: #5f5f5f;
  font-size: 0.96em;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  line-height: 1.45;
}

.publication-title {
  font-style: normal;
  color: #555;
  font-size: 0.95em;
  background-color: transparent;
  margin-top: 35px;
  padding: 0;
  border-radius: 0;
}

.event-description {
  font-size: 0.95em;
  color: #333;
  margin-top: 10px;
  margin-left: 0;
  margin-bottom: 0;
  line-height: 1.6;
}

.intro-text {
  margin-top: 14px;
  font-size: 1rem;
  color: #2f2f2f;
  line-height: 1.62;
}

.event-details {
  display: inline;
}

.event-details summary {
  display: inline;
  cursor: pointer;
  font-weight: normal;
  color: #b10000;
  list-style: none;
  text-decoration: underline;
}

.event-details summary::-webkit-details-marker {
  display: none;
}

.arrow {
  color: #b10000;
  margin-right: 0.3em;
}

.details-content {
  margin-top: 0.5em;
  padding-top: 0.5em;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 12px;
  color: #b10000;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.event-link:hover {
  color: #8f0000;
  text-decoration: none;
  transform: translateX(1px);
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 10px;
  color: #2f2f2f;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.download-button:hover {
  color: #8f0000;
  text-decoration: none;
}

.icon-red-white {
  color: #b10000;
}

.event-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  margin-left: 0;
  margin-top: 0;
}

.event-image img {
  width: 280px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

img.photo-shadow {
    border-radius: 0 !important;
    box-shadow: 0 10px 14px rgba(0,0,0,.20) !important;
}

.event-divider {
  display: none;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .content {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .event-text {
    width: 100%;
    padding: 20px 0 10px 0;
  }

  .event-header-box {
    width: 100%;
    padding: 28px 18px 18px 18px;
  }

  .event-image {
    width: 100%;
    justify-content: flex-start;
  }

  .event-image img {
    width: 300px;
    max-width: 100%;
    height: auto;
  }

  .event-details summary {
    cursor: pointer;
    color: #8f0000;
    text-decoration: underline;
    margin-top: 0.5em;
  }

  .event-meta-bar {
    left: 0;
  }
}

/* === Mitgliedschaften === */
.mitgliedschaften {
  max-width: 1200px;
  margin: 0;
  padding: 0 0 0 20px;
}

.mitgliedschaften h2 {
  font-size: 18px;
  margin: 20px 0;
  color: #222;
  text-align: left;
}

.mitgliedschaften ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mitgliedschaften li {
  background: #fff;
  border-left: 4px solid #a00000;
  margin-bottom: 10px;
  padding: 12px 16px;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mitgliedschaften .jahr {
  font-weight: bold;
  color: #8B0000;
  margin-right: 10px;
  min-width: 80px;
  text-align: center;
}

.forschungs-box {
  background: #fff;
  border-left: 4px solid #a00000;
  padding: 12px 20px;
  margin-bottom: 12px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.forschungs-box h3 {
  font-size: 16px;
  color: #800000;
  margin-bottom: 10px;
}

.forschungs-box p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 8px;
}

.forschungs-box:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.extern-link {
  color: #a00000;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-right: 16px;
}

.extern-link::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 14px;
  color: #a00000;
  transition: transform 0.2s ease;
}

.extern-link:hover::after {
  transform: translateX(2px);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === Insighten Section === */
.einsichten-section.content {
  padding: 40px 20px 20px 20px !important;
}

.einsichten-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.einsichten-section h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

.einsichten-section .einsicht {
  display: flex;
  margin-bottom: 40px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.einsichten-section .einsicht img {
  height: 170px;
  width: auto;
  margin-right: 20px;
}

.einsichten-section .einsicht-content {
  flex: 1;
}

.einsichten-section .einsicht-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
}

.einsichten-section .einsicht-type {
  display: inline-block;
  background-color: #b22222;
  color: white;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.einsichten-section .einsicht-author,
.einsichten-section .einsicht-source,
.einsichten-section .einsicht-year {
  font-size: 14px;
  margin: 4px 0;
}

.einsichten-section a {
  color: #003366;
  text-decoration: none;
}

.einsichten-section a:hover {
  text-decoration: underline;
}

.search-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-container input {
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 300px;
}

.search-container input:focus {
  border-color: #007bff;
  outline: none;
}

.search-field label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.hauptinhalt {
  flex-grow: 1;
  padding: 40px;
  background-color: #f9f9f9;
}

/* Zeitstrahl */
.zeitstrahl-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  padding-top: 35px;
}

.zeitstrahl {
  flex-grow: 1;
  margin-top: 0px;
}

.zeitstrahl-eintrag {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  max-width: 700px;
}

.zeitstrahl-jahr {
  background-color: #8B0000;
  color: white;
  padding: 12px 15px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: lighter;
  text-align: center;
  margin-right: 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  width: 60px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zeitstrahl-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  font-family: 'Arial', sans-serif;
}

/* Karte */
.karte {
  width: 400px;
  padding: 40px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.karte-titel {
  font-size: 20px;
  margin-bottom: 10px;
}

.karte-beruf {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
}

.karte-inhalt {
  font-size: 14px;
  color: #777;
}
