* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: #f4f4f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}
.header img {
  max-width: 220px;
  margin-bottom: 1rem;
}
.header h1 {
  margin: 0.5rem 0;
  font-size: 2rem;
}
.header p {
  color: #cccccc;
  margin-top: 0.5rem;
}

/* Shop Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.shop-card {
  background: linear-gradient(145deg, #e6e6e6, #c7c7c7);
  border-radius: 1rem;
  text-align: center;
  padding: 2rem 1rem;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 240px;
}
.shop-card:hover {
  background: linear-gradient(135deg, #cce0ff, #99c2ff);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.shop-card img {
  width: 180px;
  height: auto;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.shop-card:hover img {
  transform: scale(1.1);
}
.shop-card span {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: auto;
}

/* Footer */
.footer {
  background-color: #343a40;
  color: white;
  padding: 2rem 1rem;
  margin-top: auto;
}
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.footer-block {
	font-size: 2.0rem;
	font-weight: 800;
	margin: 0;
	line-height: 0.4;
	padding: 1rem 0;
}

.footer-separator {
  height: 5px;
  background-color: #ffc107;

  width: 100%;
}

/* Überschriften */
.footer h4 {
  font-size: 1.6rem;

  color: #ffc107;
}
.footer p {
  font-size: 1.15rem;
  margin: 0.3rem 0;
  line-height: 1.4;
}

/* Kontakt Buttons */
.contact-buttons {
  display: flex;
  gap: 1rem;

  justify-content: center;
  flex-wrap: nowrap;
}

.contact-buttons button {
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #ffca28, #ffb300);
  color: #343a40;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  box-shadow: 0 6px 15px rgba(255, 182, 0, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  min-width: 220px;
  user-select: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.contact-buttons button:hover,
.contact-buttons button:focus {
  background: linear-gradient(135deg, #ffb300, #ffa000);
  box-shadow: 0 10px 20px rgba(255, 160, 0, 0.6);
  transform: translateY(-3px);
  outline: none;
}

.contact-buttons button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(255, 160, 0, 0.5);
}

/* Modal: Impressum */
#impressum-modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.impressum-content {
  background-color: white;
  border-radius: 20px;
  padding: 2rem 3rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  position: relative;
  font-size: 1.1rem;
  color: #222;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
}

.impressum-content h2 {
  margin-top: 0;
  color: #007bff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.impressum-content p {
  margin: 0.3rem 0;
  line-height: 1.4;
}

.impressum-content a {
  color: #007bff;
  text-decoration: none;
  font-weight: 700;
}
.impressum-content a:hover {
  text-decoration: underline;
}

/* Close Button (X) */
.close-btn {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #777;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.2s ease;
}
.close-btn:hover,
.close-btn:focus {
  color: #007bff;
  outline: none;
}

/* Responsive */
@media (max-width: 768px) {
  .footer .container {
    flex-wrap: wrap;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-buttons button {
    min-width: auto;
    width: 100%;
    font-size: 1rem;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  .header p {
    font-size: 1rem;
  }
}
