.layout {
  display: flex;
  max-width: 100%;
  margin: 2rem auto;
  gap: 0rem; /* Abstand Sidebar und Content */
}

/* Sidebar */
.sidebar {
  flex: 0 0 240px;
  background: #fff;
  /* border-right: 1px solid #e5e5e5; */
  padding: 1rem 1rem 0 1rem;
}

.nav-list {
  list-style: none;
  padding: 0;
}
.nav-list li + li {
  margin-top: 1rem;
}
.nav-list a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.2s;
  padding: 15px 0;
  line-height: 2.2rem;
}
.nav-list a:hover,
.nav-list a.active {
  color: #0582a8;
}

/* Teaswer-Karte in der Sidebar */
.sidebar .sidebar-teaser {
  margin-top: 2rem;
  padding: 1rem 1rem;
  background: #efefef;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
  line-height: 1.5;
}

.sidebar .sidebar-teaser .teaser-upper-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
}

.sidebar .sidebar-teaser .teaser-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.sidebar .sidebar-teaser .teaser-text {
  margin: 0 0 1rem;
  color: #666;
}

.sidebar .sidebar-teaser .teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: #0a89c0;
}

.sidebar .sidebar-teaser .teaser-link::after {
  content: "›";
  transition: transform 0.15s ease;
}

.sidebar .sidebar-teaser .teaser-link:hover {
  text-decoration: underline;
}

.sidebar .sidebar-teaser .teaser-link:hover::after {
  transform: translateX(3px);
}

/* Haupt-Content */
.main-content {
  flex: 1;
  /* background: #fff; */
  padding: 1rem 1rem 0 1rem;
  border-radius: 4px;
}

/* Responsiv */
@media (max-width: 1086px) {
  .layout {
    flex-direction: column;
    margin: 1rem;
  }
  .sidebar {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1rem;
  }
  .main-content {
    padding: 0.5rem;
  }
}
