body {
  font-family: 'Roboto', sans-serif;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Base: stacked layout for small screens */
.top-bar {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 1rem;
}

.top-bar .title {
  margin: 0;
  font-size: 1.5rem;
}

.top-bar nav {
  text-align: right;
  margin-top: 1rem;
}

.top-bar nav a {
  margin-left: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* Wide screen: horizontal layout */
@media (min-width: 768px) {
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .top-bar nav {
    margin-top: 0;
  }
}

.content-section {
  display: none;
  margin-top: 2rem;
}

.content-section.active {
  display: block;
}

.vita-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.vita-flex {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  margin: 2rem;
}
.vita-list {
  margin: 0;
  padding-left: 1.5rem;
}
.vita-portrait {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.vita-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.vita-images img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin: 2rem;
  align-self: center;
}

/* Responsive for larger screens */
@media (min-width: 768px) {
  .vita-flex {
    flex-direction: row;
    align-items: flex-start;
  }
  .vita-list {
    flex: 2;
  }
  .vita-portrait {
    flex: 1;
    margin-left: 2rem;
    align-self: flex-start;
  }
}

.produktionen-flex {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.produktionen-image {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.produktionen-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 500px;
}

.produktionen-list li {
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.produktion-details {
  font-size: 0.95em;
  font-weight: normal;
  color: #666;
  margin-top: 0.2em;
  margin-left: 0.5em;
  display: block;
}

@media (min-width: 900px) {
  .produktionen-flex {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
  }
  .produktionen-image {
    width: 320px;
    max-width: 320px;
  }
  .produktionen-list {
    width: auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    column-gap: 2rem;
  }
  .produktionen-list li {
    white-space: nowrap;
  }
}

.fotos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .fotos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
  }
}
.fotos-grid img {
  width: 100%;
  max-width: 260px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  object-fit: cover;
}

.kontakt-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.kontakt-link {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  text-decoration: none;
  color: #333;
  gap: 0.7rem;
}

.kontakt-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
}