:root {
  --ink: #565655;
  --muted: #706f6b;
  --cream: #fecc98;
  --paper: rgba(255,255,255,.9);
  --line: rgba(86,86,85,.13);
  --accent: #fe8c00;
  --accent-dark: #d96f00;
  --shadow: 0 24px 70px rgba(86,65,45,.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  color: var(--ink);
  background: rgb(47, 47, 45);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px clamp(22px, 5vw, 72px) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: -1;
  background: linear-gradient(rgba(8, 17, 14, 0.58) 0%, rgba(8, 17, 14, 0.18) 35%, rgba(8, 17, 14, 0.62) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 55%);
  pointer-events: none;
}

.background-image {
  position: absolute;
  inset: 0px;
  z-index: -2;
  background: url("../../pictures/hintergrund.webp") center center / cover no-repeat;
  transform: scale(1.015);
}

@media (max-width: 760px) {
  body {
    padding-bottom: 30px;
  }

}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.logo img {
  width: min(340px, 36vw);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0px;
  filter: drop-shadow(rgba(0, 0, 0, 0.25) 0px 10px 30px);
}

.welcome-text {
  max-width: 760px;
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  z-index: 5;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 100% - 40px);
  color: rgb(255, 255, 255);
}

.welcome-text p {
  margin: 8px 0px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  text-shadow: rgba(0, 0, 0, 0.3) 0px 2px 14px;
}

.welcome-text p:last-child {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.content {
  background: radial-gradient(circle at 10% 0%, rgba(255,255,255,.32), transparent 30%),     var(--cream);
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 90px);
  color: var(--ink);
}

.highlights-box {
  max-width: 1050px;
  margin: 0px auto 90px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  text-align: left;
}

.highlights-box h2, .modern-gallery h2 {
  margin: 0px 0px 28px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.highlights-box h2::after, .modern-gallery h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 14px;
  border-radius: 99px;
  background: var(--accent);
}

.highlights-box ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.highlights-box ul li {
  position: relative;
  margin: 0px;
  padding: 21px 20px 21px 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255, 255, 255);
  font-size: 1rem;
  font-weight: 500;
}

.highlights-box ul li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 19px;
  color: var(--accent);
  font-weight: 700;
}

.modern-gallery {
  max-width: 1250px;
  margin: 0px auto;
  padding: 0px;
  color: var(--ink);
  text-align: left;
}

.modern-gallery h2 {
  margin-bottom: 38px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  background: rgb(255, 255, 255);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: rgba(19, 29, 25, 0.08) 0px 14px 40px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s;
}

.card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s;
}

.card h3 {
  margin: 0px;
  padding: 22px 22px 7px;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.card p {
  margin: 0px;
  padding: 0px 22px 25px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: rgba(19, 29, 25, 0.15) 0px 24px 60px;
}

.card:hover img {
  transform: scale(1.045);
}

.instagram-link {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0px auto;
  border-radius: 14px;
  background: transparent;
  transition: transform 0.2s, background 0.2s;
  color: rgb(255, 255, 255) !important;
}

.instagram-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.instagram-link svg {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 1100px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .highlights-box ul, .gallery-grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }

}

@media (max-width: 760px) {
  .hero {
    min-height: 760px;
    height: auto;
    padding: 18px 16px 42px;
  }

  .welcome-text {
    top: 55%;
    width: min(100%, 620px);
    padding-left: 18px;
    padding-right: 18px;
  }

  .welcome-text p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .welcome-text p:last-child {
    margin-top: 14px;
    padding: 8px 12px;
  }

  .content {
    padding: 58px 16px;
  }

  .highlights-box {
    margin-bottom: 58px;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .highlights-box h2, .modern-gallery h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .highlights-box ul, .gallery-grid {
    grid-template-columns: 1fr;
  }

  .highlights-box ul li {
    padding: 17px 16px 17px 43px;
  }

  .modern-gallery h2 {
    margin-bottom: 24px;
  }

  .card {
    border-radius: 20px;
  }

  .card img {
    height: min(70vw, 300px);
  }

  .card h3 {
    font-size: 1.3rem;
    padding: 19px 18px 6px;
  }

  .card p {
    padding: 0px 18px 21px;
  }

}

@media (max-width: 430px) {
  .hero {
    min-height: 780px;
  }

  .welcome-text {
    top: 57%;
    width: calc(100% - 20px);
    padding-left: 8px;
    padding-right: 8px;
  }

  .welcome-text p {
    font-size: 0.9rem;
  }

  .content {
    padding: 48px 13px;
  }

  .highlights-box {
    padding: 26px 18px;
  }

  .card img {
    height: 245px;
  }

}

html {
  background: rgb(47, 47, 45);
}

body {
  padding-bottom: 48px;
  background: var(--cream);
}

.back-to-top {
  width: max-content;
  min-width: 170px;
  height: 52px;
  margin: 34px auto;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(86, 86, 85, 0.28);
  backdrop-filter: blur(14px);
  box-shadow: rgba(86, 65, 45, 0.13) 0px 10px 26px, rgba(255, 255, 255, 0.28) 0px 1px 0px inset;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 0.22s, background 0.22s, box-shadow 0.22s;
}

.back-to-top:hover {
  background: rgba(86, 86, 85, 0.44);
  transform: translateY(-3px);
  box-shadow: rgba(86, 65, 45, 0.17) 0px 14px 30px, rgba(255, 255, 255, 0.32) 0px 1px 0px inset;
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.96);
}

.content > .back-to-top {
  margin-top: clamp(70px, 9vw, 120px);
  margin-bottom: 0px;
}

@media (max-width: 760px) {
  .content > .back-to-top {
    margin-top: 58px;
  }

}

@media (max-width: 600px) {
  .back-to-top {
    min-width: 160px;
    height: 50px;
    padding: 0px 18px;
    font-size: 0.88rem;
  }

}

@media (max-width: 430px) {
  .content > .back-to-top {
    margin-top: 48px;
  }

}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 18px 12px 21px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(86, 86, 85, 0.28);
  backdrop-filter: blur(16px);
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.25s;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .hero-cta {
    margin-top: 14px;
    padding: 10px 15px 10px 17px;
    gap: 12px;
    font-size: 0.88rem;
    max-width: 100%;
  }

}

@media (max-width: 430px) {
  .hero-cta {
    padding: 9px 13px 9px 15px;
    gap: 10px;
    font-size: 0.82rem;
  }

}

html {
  background: rgb(47, 47, 45) !important;
}

body.page-ready .background-video {
  opacity: 1;
  transition: none;
}

.gallery-grid .card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 760px) {
  .gallery-grid .card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }

}

html {
  min-height: 100%;
  background: var(--cream) !important;
}

body {
  background: var(--cream) !important;
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}

body::after {
  content: "";
  display: block;
  height: 48px;
  background: var(--cream);
}

.hero .background-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("../../pictures/hintergrund.webp") !important;
}

.card {
  display: flex;
  flex-direction: column;
}

.card h3 {
  flex: 1 0 78px;
  min-height: 78px;
  margin: 0px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  box-sizing: border-box;
}

.gallery-caption-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.gallery-caption-link:hover {
  opacity: 0.72 !important;
}

.card h3 {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.card h3 .gallery-caption-link {
  position: relative !important;
  z-index: 11 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  color: inherit !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.card img {
  position: relative;
  z-index: 1;
}

.card > .gallery-caption-link {
  display: block !important;
  width: 100% !important;
  height: 78px !important;
  position: relative !important;
  z-index: 50 !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.card > .gallery-caption-link > h3 {
  width: 100% !important;
  height: 100% !important;
  min-height: 78px !important;
  margin: 0px !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.card > .gallery-caption-link:hover {
  opacity: 0.72 !important;
}

