:root {
  --body-color: #0b1d26;
  --bg-primary: #8e182f;
  --accent: #f9c563;
  --text-light: #fff;
  --text-muted: #d9d9d9;
  --border-radius: 35px;
  --max-width: 1200px;
  --font-main: "Playfair Display", system-ui, sans-serif;
  --font-text: "Open Sans", system-ui, sans-serif;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/playfair-display-v40-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/playfair-display-v40-latin-700.woff2") format("woff2");
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-text);
  background: var(--body-color);
  color: var(--text-light);
  line-height: 1.5;
  z-index: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}

h2 {
  font-size: clamp(2.4rem, 1vw, 3.1rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.4rem, 1vw, 2.1rem);
  margin-bottom: 1rem;
}

/* Hero Section */

.hero::after {
  content: "";
  position: absolute;
  background: linear-gradient(#0000, #0b1d25);
  height: 300px;
  width: calc(100vw + 50px);
  margin-left: -50px;
  bottom: 0;
  z-index: 4;
}
.hero-parallax-back {
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: url("../images/hero-parallax-back-contain.jpg") center/cover
    no-repeat;
  transition: transform 0.1s ease-out;
  z-index: 1;
}
.hero-parallax-front {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110vh;
  background: url(../images/hero-parallax-front.png) bottom left/contain
    no-repeat;
  pointer-events: none;
  transform: translateY(0);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/* Intern-Seiten */

.intro {
  margin: -150px auto 0;
  position: relative;
  z-index: 5;
  padding: 60px 20px;
}
.intro-content {
  display: grid;
  grid-template-columns: 2.1fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.intro h2 {
  font-size: clamp(2.4rem, 1vw, 3.1rem);
  margin-bottom: 14px;
}
.intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.kicker {
  margin-bottom: 16px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before {
  content: "";
  border-left: 1px solid var(--accent);
  display: inline-block;
  height: 10px;
  padding: 8px;
  vertical-align: middle;
}

.wave {
  position: absolute;
  left: -200%;
  width: 500%;
  height: 100px;
  transition: 1s;
  bottom: -50px;
  transform: scaleX(2);
  fill: var(--body-color);
}

.wave-container:hover {
  .wave-container-body {
    margin-top: -3rem;
  }

  .wave {
    left: 0;
    bottom: -20px;
    fill: var(--bg-primary);
  }
}

.gallery {
  padding: 60px 20px 70px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.gallery header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
}
.gallery p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.gallery-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.gallery-grid {
  column-count: 3;
  column-gap: 14px;
  margin-top: 30px;
}
.gallery-grid a {
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: calc(var(--border-radius) / 2);
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: inherit;
}
.why {
  padding: 60px 20px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.stain {
  background-image: url(../images/wein-stain.png);
  background-color: var(--body-color);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 40px;
  background-blend-mode: hue;
}

@media (max-width: 992px) {
  .hero {
    min-height: 50vh;
  }
  .hero-title {
    margin-top: -30px !important;
  }
  .hero-subtitle {
    margin-top: -20px !important;
  }
}
@media (max-width: 640px) {
  .intro {
    margin-top: 0;
    padding: 40px 16px;
  }
  .intro-content {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    column-count: 1;
  }
}

nav {
  transition: background 0.4s ease-in-out;
  background: transparent;
}

nav.scrolled {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgb(9 9 9 / 5%) 100%
  );
}

#navbar-main > ul {
  list-style: none;
}

.kirby-content {
  h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  hr {
    color: #efefef;
    margin: 2rem 0;
  }
}

.rechtliche-seite {
  max-width: 960px;
  margin: 0 auto;
}

.rechtliche-seite ul {
  list-style-type: disc;
  padding-left: 1rem;
}

.rechtliche-seite a {
  color: var(--accent);
}

.rechtliche-seite a:hover {
  text-decoration: underline;
}

/*
[data-pagetype="rechtliche"] h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

[data-pagetype="rechtliche"] h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

[data-pagetype="rechtliche"] h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

[data-pagetype="rechtliche"] p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

[data-pagetype="rechtliche"] strong {
  margin-top: 0.5rem;
  margin-bottom: -1rem;
  display: block;
}

[data-pagetype="rechtliche"] ul {
  list-style-type: disc;
}

[data-pagetype="seite"] h3 {
  font-size: clamp(1.6rem, 2vw, 3.5rem);
  padding: 1rem 0;
}
*/
