* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Times New Roman", Times, serif;
  background: #fff;
  color: #000;
}

a { color: inherit; }

/* ============================================
   SIDEBAR (fest links, wird per sidebar.js injiziert)
   ============================================ */
#sidebar-root { position: relative; }

#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-top { padding-bottom: 1rem; }

#sidebar .header-name {
  display: block;
  padding-left: 20px;
  padding-top: 20px;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  color: #000;
  text-decoration: none;
}

#sidebar .header-name:hover {
  color: #0000EE;
  text-decoration: underline;
}

#sidebar nav {
  padding-left: 20px;
  padding-top: 0.75rem;
}

#sidebar nav a,
#sidebar nav .empty-line {
  display: block;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
  color: #000;
  text-decoration: none;
}

#sidebar nav a:hover,
#sidebar nav a.current {
  color: #0000EE;
  text-decoration: underline;
}

#sidebar .contact {
  padding: 0 0 1.25rem 20px;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  color: #000;
}

#sidebar .contact a {
  text-decoration: underline;
  color: #000;
}

#sidebar .contact a:hover { color: #0000EE; }

/* ============================================
   CONTENT
   ============================================ */
#content {
  margin-left: 280px;
  padding-left: 20px;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 4rem;
}

.type2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  font-weight: normal;
  font-style: normal;
  line-height: 1.1;
  color: #000;
  max-width: 400px;
}

.block { margin-bottom: 1.1em; }

.block a {
  color: #0000EE;
  text-decoration: underline;
}

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

.caption {
  margin-top: 0.4em;
  font-size: 13px;
  color: #555;
  max-width: 800px;
}

/* Video-Einbettung, gleiche Spaltenbreite wie Bilder */
.video-frame {
  position: relative;
  width: 800px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Homepage Hero */
.hero-image img {
  display: block;
  width: 800px;
  max-width: 100%;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 600px) {
  body { overflow-x: hidden; }

  #sidebar {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: column;
  }

  #sidebar .sidebar-top { padding: 1rem 0 0.5rem; }

  #sidebar .contact { padding: 0.5rem 0 1.5rem 20px; }

  #content {
    margin-left: 0;
    padding-left: 20px;
    padding-right: 0;
    padding-top: 1rem;
  }

  .type2,
  .caption { max-width: calc(100% - 20px); }

  /* Fotos und Videos füllen die Bildschirmbreite komplett, unabhängig
     vom Text-Einzug links (der für Navigation und Textblöcke bleibt) */
  .block img,
  .hero-image img,
  .video-frame {
    width: 100vw;
    max-width: 100vw;
    margin-left: -20px;
    display: block;
  }
}
