@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Poppins&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f9dfcd 0%, #FFF5EE 100%);
  color: #212121;
  margin: 0;
}

h1, .card-title {
  font-family:Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.container {
  flex-grow: 1;
}

#headsection h1 {
  font-size: 3rem;
  color: white;
  margin: 0;
}

.banner-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.banner-text {
  margin-top: 2rem;
  max-width: 800px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Sidebar */
.sidebar {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 1rem;
  box-shadow: 0 6px 24px rgba(156, 87, 22, 0.25);
  padding: 1.5rem;
  color: #4a148c;
  font-weight: 500;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.sidebar h4 {
  font-family:Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: black;
}

.sidebar ul {
  padding-left: 0;
  list-style: none;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar a:hover {
  text-decoration: underline;
  color: #bb7533;
}

.sidebar a.fw-bold {
  font-weight: bold;
  color:  #A0522D;
}

/* Produktkarten */
.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.product-card {
  width: 300px;
  flex: 0 0 auto;
}

.art-card {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 1rem;
  box-shadow: 0 6px 24px rgba(156, 87, 22, 0.25);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(255, 183, 116, 0.422);
}

.card-img-top {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.3s ease;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-text {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
  max-height: 4.5rem;
  overflow-y: auto;
}

.price {
  font-weight: bold;
  font-size: 1.1rem;
  color:  #A0522D;
  margin-top: 1rem;
}

.card-footer {
  background-color: transparent;
  padding: 1rem;
  margin-top: auto;
}

.btn-color {
  display: inline-block;
  background-color: #A0522D;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-color:hover {
  background-color: #bb7533;
  transform: scale(1.05);
}

/* Navigation */
nav {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem 2rem;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-nav {
  display: flex;
  gap: 1rem;
}

.navbar-nav .nav-link {
  color: #7B3F00;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.navbar-nav .nav-link:hover {
  color: #bb7533;
}

.navbar-nav .nav-link.active {
  color: #7B3F00;
  font-weight: 700;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 0.25rem;
}

/* Footer */
footer {
  background-color: #fff !important;
  position: relative;  /* damit z-index wirkt */
  z-index: 1000;
  text-align: center;
  padding: 3rem 1.5rem;
  color: #7B3F00;
  font-size: 1rem;
  border-top: 2px solid #fff;
  font-family: 'Poppins', sans-serif;
}

footer a {
  color:  #7B3F00;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #bb7533;
  text-decoration: underline;
}

footer small {
  display: block;
  margin-top: 0.5rem;
  color:  #7B3F00;
}
