html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: didot;
  background-color: #F4E1E0;
  color: #0E1627;
  font-size: 1em;
}

main {
  flex: 1;
}

header {
  padding: 2.5em 1.25em;
  background-color: #0E1627;
  text-align: center;
}

.logo img {
  width: 5em;
  margin-bottom: 0.625em;
}

.nav {
  margin-top: 0.625em;
}

.navigation {
  display: flex;
  justify-content: center;
  gap: 0.625em;
  list-style: none;
  font-family: Didot;
  background: transparent;
}

.navigation a {
  padding: 0.75em 1.25em;
  color: #F4E1E0;
  text-decoration: none;
  border-radius: 1.25em;
  transition: background 0.3s;
}

.navigation a:hover,
#akt_tab {
  background-color: #BD8E89;
  color: #0E1627;
}

section {
  padding: 3.75em 1.25em;
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(1.25em);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animation {
  position: relative;
  height: 25em;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #E5C5C1;
}

.slideshow {
  display: flex;
  gap: 0.9375em;
  animation: slideShow 95s linear infinite;
  width: max-content;
}

.slideshow img {
  width: 15.625em;
  height: 21.875em;
  object-fit: cover;
  border-radius: 0.625em;
  box-shadow: 0 0.25em 0.5em rgba(0,0,0,0.3);
  opacity: 0.8;
  transition: transform 0.5s;
}

.slideshow img:hover {
  transform: scale(1.05);
  opacity: 1;
}

@keyframes slideShow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.überlagerung-text {
  position: absolute;
  color: #0E1627;
  font-family: Didot, serif;
  text-shadow: 0.25em 0.25em 0.375em #7f6269;
  z-index: 10;
}

.überlagerung-text h1 {
  font-size: 3em;
  margin: 0;
}

.überlagerung-text a.button {
  margin-top: 1.25em;
  display: inline-block;
  padding: 0.75em 1.75em;
  border: 0.125em solid #0E1627;
  border-radius: 1.25em;
  color: #0E1627;
  background: transparent;
  transition: background 0.3s;
  text-decoration: none;
  background-color: rgba(14, 22, 39, 0.7);
  color: #F4E1E0;
  border: none;
}

.überlagerung-text a.button:hover {
  background: #BD8E89;
  color: #FFF;
}

.slideshow img {
  position: relative;
  z-index: 1;
}

.slideshow img:hover {
  transform: scale(1.05);
  opacity: 1;
  z-index: 1;
}

.section-img-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25em;
  margin-top: 1.25em;
}

.box {
  width: 18.75em;
  height: 12.5em;
  background: #E5C5C1;
  border: 0.125em solid #7F6269;
  transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
  transform: scale(1.05);
  box-shadow: 0 0.625em 1.25em rgba(0,0,0,0.2);
}

.tagline {
  background: #7F6269;
  color: #F4E1E0;
  font-family: Didot, serif;
}

.tagline .quote {
  font-size: 2em;
  margin-bottom: 0.625em;
  font-style: italic;
}

.tagline .author {
  font-size: 1em;
  color: #E5C5C1;
}

.social-media .social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25em;
  margin-top: 1.25em;
}

.social-icons a {
  width: 2.5em;
  height: 2.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #BD8E89;
  border-radius: 50%;
  color: #F4E1E0;
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.2);
  background: #7F6269;
}

.site-footer {
  background-color: #0E1627;
  color: #F4E1E0;
  text-align: center;
  padding: 3.75em 1.25em;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25em;
  margin-bottom: 2.5em;
}

.footer-logo img {
  width: 5em;
}

.footer-logo p {
  margin: 0.625em 0 0;
  color: #E5C5C1;
  font-size: 1em;
}

.footer-info p {
  margin: 0.3125em 0;
  font-size: 0.95em;
}

.footer-info a {
  color: #BD8E89;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-info a:hover {
  color: #E5C5C1;
}

.footer-bottom {
  border-top: 0.0625em solid #7F6269;
  padding-top: 1.25em;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85em;
  color: #E5C5C1;
  font-family: didot;
}

.footer-content p {
  font-family: didot;
}

.magazine-elegant-section {
  text-align: center;
  padding: 5em 1.25em;
  background: #E5C5C1;
  color: #7F6269;
}

.magazine-elegant-section h2 {
  font-family: Didot;
  font-size: 2.25em;
  color: #7F6269;
  margin-bottom: 2.5em;
}

.magazine-elegant-card {
  width: 80%;
  max-width: 53.125em;
  margin: 0 auto;
  border-radius: 1.25em;
  overflow: hidden;
  box-shadow: 0 0 1.875em rgba(127, 98, 105, 0.3);
  background: linear-gradient(135deg, #f0e6e5, #e5c5c1);
  padding: 0.625em;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.magazine-elegant-card::before {
  content: '';
  position: absolute;
  top: -0.1875em;
  left: -0.1875em;
  right: -0.1875em;
  bottom: -0.1875em;
  z-index: -1;
  background: linear-gradient(45deg, #e5c5c1, #f8f4f4);
  border-radius: 1.375em;
  filter: blur(0.5em);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.magazine-elegant-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 2.5em rgba(127, 98, 105, 0.4);
}

.magazine-elegant-card:hover::before {
  opacity: 0.8;
}

.magazine-elegant-card iframe {
  border: none;
  border-radius: 0.75em;
}

.travel-carousel {
  text-align: center;
  margin: 3.75em auto;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 62.5em;
  margin: 0 auto 1.25em;
  overflow: hidden;
}

.carousel {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 1.25em;
}

.carousel img {
  width: 18.75em;
  height: 12.5em;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0.625em;
  box-shadow: 0 0.25em 0.5em rgba(0,0,0,0.3);
  opacity: 0.8;
  transition: transform 0.5s;
}

.carousel img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.carousel-btn {
  width: 2.8125em;
  height: 2.8125em;
  background: white;
  border: 0.125em solid #7f6269;
  border-radius: 50%;
  font-size: 1.5em;
  color: #7f6269;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.625em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.carousel-btn:hover {
  background: #E5C5C1;
  transform: scale(1.1);
}

.travel-button {
  display: inline-block;
  background: #7f6269;
  color: white;
  padding: 0.625em 1.25em;
  border-radius: 0.625em;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  font-family: didot;
}

.travel-button:hover {
  background: #5c494f;
}

.travel-carousel h2 {
  font-family: didot;
}

.social-media h2 {
  font-family: didot;
}
