* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.hero {
  background: url('images/hero-bg.jpg') center center / cover no-repeat;
    color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ff5e57;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.about {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.about-content h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.about-content p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: center;
  font-size: 18px;
}

.about-columns {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.about-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .about-columns {
    flex-direction: row;
    justify-content: center;
  }

  .about-box {
    width: 300px;
  }
}

.exhibitions {
  padding: 80px 20px;
  background-color: #fff;
}

.exhibitions h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.exhibition-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.exhibition-card {
  background-color: #f3f3f3;
  padding: 20px 30px;
  border-left: 5px solid #ff5e57;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.exhibition-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .exhibition-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .exhibition-card {
    width: 300px;
  }
}

.contact {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.contact-form .btn {
  background-color: #ff5e57;
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

.contact-form .btn:hover {
  background-color: #e74c3c;
}


html {
  scroll-behavior: smooth;
}

/* Aktives Menüelement hervorheben */
.nav-links a.active {
  font-weight: bold;
  color: #ff5e57;
}

.portfolio {
  padding: 80px 20px;
  background-color: #fff;
}

.portfolio h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.portfolio-card {
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}

.portfolio-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .portfolio-card {
    width: 300px;
  }
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}

.portfolio-card h3,
.portfolio-card p {
  margin: 0;
  padding: 0 20px;
  color: white;
}

.portfolio-card .info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6); /* halbtransparentes Grau */
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  padding: 20px 0;
}

.portfolio-card:hover .info-overlay {
  transform: translateY(0);
}

.filter-buttons {
  text-align: center;
  margin-bottom: 30px;
}

.filter-button {
  background-color: #eee;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.filter-button.active,
.filter-button:hover {
  background-color: #ff5e57;
  color: white;
}
