html, body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #fff;
  color: #222;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Hauptbereiche einheitlich */
main, .slider-container, .about, .galerie-grid-section, .galerie-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Slider */
.slider-container {
  height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slider-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.slider-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: scrollSlider 40s linear infinite;
  animation-play-state: running;
}
@keyframes scrollSlider {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.slider-track img {
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(40,40,40,0.11);
  background: #fafafa;
  transition: transform 0.2s;
}
.slider-track img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(40,40,40,0.17);
}

/* About-Text mittig & stylisch */
.about {
  margin: 4rem auto 2rem auto;
  background: #f8fafc;
  border-radius: 0.75rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  padding: 2rem 1.2rem 2.5rem 1.2rem;
  text-align: center;
}
.about h2 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.about p {
  font-size: 1.08rem;
  color: #434343;
  line-height: 1.7;
}
.unterschrift {
  display: block;
  margin: 2rem auto 0 auto;
  width: 12rem;
}

/* Galerie-Grid */
.galerie-grid-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  text-align: center;
}
.galerie-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}
.galerie-card {
  width: 14rem;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20,20,20,0.09);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem;
  text-decoration: none;
}
.galerie-card:hover {
  box-shadow: 0 8px 24px rgba(40,40,40,0.14);
  transform: translateY(-4px) scale(1.025);
}
.galerie-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.55rem;
  margin-bottom: 0.7rem;
}
.galerie-card h3 {
  font-size: 1.11rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #222;
}
.galerie-card p {
  font-size: 0.97rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.92rem;
  color: #999;
  padding: 2rem 0 1.2rem 0;
  border-top: 1px solid #eee;
  background: #fff;
  margin-top: 2rem;
}
footer a {
  color: #0072c6;
  text-decoration: underline;
  transition: color 0.2s;
}
footer a:hover {
  color: #013869;
}

/* Responsive */
@media (max-width: 900px) {
  .slider-container { height: 160px; max-width: 98vw; }
  .slider-track img { max-height: 120px; }
  main { padding: 1rem 0.1rem 0 0.1rem; }
  .about { padding: 1.3rem 0.3rem; margin-top: 2.2rem; }
  .galerie-card { width: 95vw; padding: 1rem 0.2rem; }
  .galerie-grid { gap: 0.6rem; max-width: 99vw; }
}
@media (max-width: 500px) {
  .slider-container { height: 90px; }
  .slider-track img { max-height: 68px; }
  .galerie-card img { height: 5.5rem; }
}
header {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0 1rem 0;
  border-bottom: 1px solid #eee;
  background: #fff;
}
header h1 {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0.7rem 0 0.5rem 0;
  letter-spacing: 0.05em;
}
header p {
  color: #777;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}
.impressum-container {
  max-width: 700px;
  margin: 4rem auto 4rem auto;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.impressum-container h1 {
  text-align: center;
  margin-bottom: 2rem;
}
.impressum-container p {
  margin-bottom: 1.3rem;
  line-height: 1.7;
}
.social-links {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.instagram-icon {
  transition: transform 0.2s, filter 0.2s;
  cursor: pointer;
}
.instagram-icon:hover {
  transform: scale(1.13);
  filter: brightness(1.2) drop-shadow(0 2px 6px #e4405f55);
}
.side-tabs {
  position: fixed;
  top: 40%;
  right: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.side-tab {
  display: block;
  padding: 0.75rem 1.8rem 0.75rem 0.8rem;
  margin-right: -1px;
  background: #e4405f;
  color: #fff;
  font-weight: 500;
  border-radius: 1.2rem 0 0 1.2rem;
  box-shadow: 0 2px 12px rgba(228,64,95,0.13);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.15s, transform 0.17s;
  font-size: 1.08rem;
  border: none;
  cursor: pointer;
  min-width: 3.5rem;
  text-align: left;
}

.side-tab:hover {
  background: #c21c4e;
  transform: translateX(-5px) scale(1.03);
}

/* Auf kleinen Geräten kleiner und mittiger */
@media (max-width: 800px) {
  .side-tabs { top: 25%; }
  .side-tab { font-size: 0.99rem; padding: 0.55rem 1.2rem 0.55rem 0.5rem;}
}
.register-tabs {
  position: fixed;
  top: 40%;
  right: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.register-tab {
  display: block;
  min-width: 3.5rem;
  padding: 0.85rem 1.8rem 0.85rem 1.1rem;
  margin-right: -1px;
  font-weight: 600;
  color: #222;
  background: #ffe066; /* Standardfarbe, wird von Modifier überschrieben */
  border-radius: 1.1rem 0 0 1.1rem;
  box-shadow: 0 2px 10px rgba(60,60,60,0.08);
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid #fff;
  transition: filter 0.16s, transform 0.16s;
  text-align: left;
  font-size: 1.07rem;
  cursor: pointer;
  border-right: none;
}
.register-tab:hover {
  filter: brightness(1.12) drop-shadow(0 2px 6px #8882);
  transform: translateX(-5px) scale(1.03);
}

.register-tab-blue   { background: #7ec5ee; }   /* Blau */
.register-tab-yellow { background: #ffe066; }   /* Gelb */
.register-tab-green  { background: #99e699; }   /* Grün, für mehr Tabs */
.register-tab-red    { background: #ffadad; }   /* Rot, für mehr Tabs */
.bottom-registers {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0 1.5rem 0;
}
.register-btn {
  padding: 1rem 2.2rem;
  border-radius: 1.1rem;
  font-weight: 600;
  font-size: 1.11rem;
  background: #7ec5ee; /* oder #ffe066 für Kontakt */
  color: #222;
  text-decoration: none;
  box-shadow: 0 1px 7px rgba(60,60,60,0.12);
  transition: transform 0.13s, filter 0.14s;
  border: none;
  cursor: pointer;
}
.register-btn.register-tab-yellow { background: #ffe066; }
.register-btn:hover {
  filter: brightness(1.09) drop-shadow(0 2px 6px #8881);
  transform: translateY(-3px) scale(1.03);
}
.bottom-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
  margin: 4rem 0 1.7rem 0;    /* Abstand zur Galerie stark erhöht */
}

.register-btn {
  padding: 0.62rem 1.5rem;
  border-radius: 1.1rem;
  font-weight: 600;
  font-size: 1.03rem;
  background: #f3f4f6;               /* Sanftes Hellgrau */
  color: #151515;                    /* Fast Schwarz */
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(40,40,40,0.09);
  border: 1.5px solid #e5e7eb;
  cursor: pointer;
  transition: filter 0.14s, transform 0.13s, border 0.17s;
  min-width: 4.1rem;
  text-align: center;
  letter-spacing: 0.01em;
}
.register-btn:hover {
  filter: brightness(0.98) drop-shadow(0 1px 6px #8881);
  border-color: #bfbfbf;
  transform: translateY(-2px) scale(1.025);
}
.register-tab-gray {
  background: #f3f4f6;
  color: #151515;
}

.ig-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;              /* Instagram-Button größer als die anderen! */
  height: 3.3rem;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 1px 7px rgba(200,64,95,0.12);
  margin: 0 0.25rem;
  text-decoration: none;
  border: 1.5px solid #e5e7eb;
  transition: filter 0.17s, transform 0.16s, border 0.18s;
}
.ig-btn:hover .instagram-icon {
  stroke: #ba2460;
  filter: brightness(1.14);
  transform: scale(1.08);
}
.instagram-icon {
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  transition: stroke 0.13s, filter 0.13s, transform 0.13s;
}
.back-home {
  display: flex;
  justify-content: center;
  margin: 2.7rem 0 0 0;
}
.back-btn {
  padding: 0.85rem 2.4rem;
  background: #f3f4f6;
  color: #212121;
  border-radius: 1.2rem;
  font-size: 1.09rem;
  font-weight: 600;
  border: 1.5px solid #e5e7eb;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(40,40,40,0.09);
  transition: filter 0.16s, border 0.16s, background 0.13s;
  letter-spacing: 0.01em;
}
.back-btn:hover {
  background: #e6e9ef;
  border-color: #d3d6dc;
  filter: brightness(0.96);
}
