:root {
  --bg: #1e0f0d;
  --outer: #0f0f14;
  --cream: #feedc4;
  --red: #e50d0e;
  --frame: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--outer);
  color: #929292;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h6, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Rahmen: jede Sektion hat links/rechts einen cremefarbenen Rand */
.section {
  background: var(--bg);
  border: 0 solid var(--cream);
  border-left-width: var(--frame);
  border-right-width: var(--frame);
}

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 50px 50px 0;
  transition: background-color .3s, padding .3s;
}
.site-header.is-stuck {
  position: fixed;
  background: var(--cream);
  padding: 20px 50px;
  animation: slideDown .35s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header-inner { display: flex; align-items: center; }
.brand { flex: 1; }
.brand img { width: 80px; }
.site-header.is-stuck .brand img { width: 110px; }
.main-nav { display: flex; }
.main-nav a {
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 28px;
  text-transform: uppercase;
  padding: 0 20px 10px;
  transition: opacity .2s;
}
.main-nav a:hover { opacity: .7; }
/* Im festen Balken ohne Abstand unten, damit das Menue mittig sitzt */
.site-header.is-stuck .main-nav a { padding-bottom: 0; }
.header-social { flex: 1; display: flex; justify-content: flex-end; padding-right: 24px; color: var(--red); }
.header-social svg { width: 23px; height: 23px; fill: currentColor; }

/* Hero */
.hero {
  border-top-width: var(--frame);
  min-height: 100vh;
  padding: 208px 0 110px; /* Inhalt sitzt wie im Original leicht unter der Mitte */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 15px; }
.hero-logo { width: 936px; max-width: 100%; }
.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 20px;
  border: 1px solid var(--cream);
  border-radius: 10px;
  color: var(--cream);
  font-size: 20px;
  font-weight: 900;
  line-height: 28px;
  overflow: hidden;
  transition: background-color .3s, color .3s;
}
/* Knopf: Buchstaben laufen nach oben raus, der Hover-Text laeuft von unten rein */
.btn-txt { position: relative; display: inline-block; white-space: nowrap; }
.btn-txt .row { display: block; overflow: hidden; }
.btn-txt .row-hover { position: absolute; left: 0; right: 0; top: 0; text-align: center; }
.btn-txt .ch { display: inline-block; white-space: pre; transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .45s; }
.btn-txt .row-hover .ch { transform: translateY(100%); opacity: 0; }
.btn:hover .btn-txt .row-main .ch, .btn:focus-visible .btn-txt .row-main .ch { transform: translateY(-100%); opacity: 0; }
.btn:hover .btn-txt .row-hover .ch, .btn:focus-visible .btn-txt .row-hover .ch { transform: none; opacity: 1; }

/* Preloader: schwarze Flaeche, blendet nach dem Laden aus */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: #000;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }

/* Eigener Mauszeiger (nur mit Maus): Punkt folgt sofort, Ring folgt weich */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .3s, height .3s, margin .3s, background-color .3s; }
.cursor-dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--cream); }
.cursor-ring { width: 35px; height: 35px; margin: -17.5px 0 0 -17.5px; border: 1px solid #a57450; }
.cursor.on { opacity: 1; }
.cursor-ring.hot { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(254, 237, 196, .12); }
.cursor-dot.hot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Parallax: Werte setzt main.js beim Scrollen */
[data-px] { will-change: transform, opacity; }

/* Galerie blendet beim Hereinscrollen ein */
[data-reveal] { opacity: 0; transform: translateY(30px) scale(.9); transition: opacity 1s cubic-bezier(.16, 1, .3, 1) .1s, transform 1s cubic-bezier(.16, 1, .3, 1) .1s; }
[data-reveal].shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .preloader, .cursor { display: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-px] { transform: none !important; opacity: 1 !important; }
  .btn-txt .ch { transition: none; }
}

/* Ueberschriften */
.eyebrow {
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .115em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.title {
  color: var(--red);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.center { text-align: center; }

/* Ueber mich */
.about { padding: 150px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 135px 0 120px;
  max-width: 1440px;
}
.about-text .title { margin-bottom: 38px; }
.about-text p { color: var(--cream); font-size: 21px; line-height: 1.3; max-width: 521px; }
.about-image img { width: 100%; max-width: 463px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Termin */
.booking { padding: 100px 0 50px; }
.booking .title { margin-bottom: 40px; }
.booking-form { max-width: 800px; margin: 0 auto; min-height: 200px; }

/* Galerie */
.gallery { padding: 150px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: 331fr 448fr 331fr;
  grid-auto-rows: 300px;
  gap: 20px;
  max-width: 1150px;
  margin: 0 auto;
}
.g { display: block; overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.g:hover img { transform: scale(1.05); }
/* Muster aus 6 Bildern, wiederholt sich bei mehr Bildern */
.gallery-grid { grid-auto-flow: dense; }
.g1, .g5 { grid-row: span 2; }
.g6 { grid-column: span 2; }
.gallery-carousel { display: none; }

/* Footer */
.site-footer {
  border-bottom-width: var(--frame);
  padding: 50px 0 100px;
  text-align: center;
}
.footer-social { display: inline-block; color: var(--cream); }
.footer-social svg { width: 39px; height: 39px; fill: currentColor; }
.copyright {
  margin-top: 20px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 6, 5, .94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 88vh; width: auto; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--cream);
  font-size: 48px; line-height: 1; cursor: pointer; padding: 16px;
}
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Tablet */
@media (max-width: 1199px) {
  .about-grid { padding: 0 40px; gap: 40px; }
  .main-nav a { padding: 0 12px 10px; }
}

/* Handy */
@media (max-width: 767px) {
  .site-header { display: none; }
  .hero { min-height: 766px; padding: 110px 20px; }
  .btn { margin-top: 30px; }
  .about { padding: 0 20px 50px; }
  .about-grid { grid-template-columns: 1fr; padding: 0; gap: 30px; text-align: center; }
  .about-image { order: -1; }
  .about-image img { margin: 0 auto; border-radius: 20px; max-width: 100%; }
  .about-text p { font-size: 17px; max-width: none; }
  .about-text .title { margin-bottom: 26px; }
  .title { font-size: 28px; }
  .booking { padding: 100px 20px 50px; }
  .booking .container, .about .container { padding: 0; }
  .gallery { padding: 100px 0 0; }
  .gallery-grid { display: none; }
  .gallery-carousel { display: block; padding-bottom: 50px; }
  .carousel-track {
    display: flex; gap: 15px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 calc((100% - 305px) / 2);
  }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-track img {
    flex: 0 0 305px; width: 305px; height: 381px;
    object-fit: cover; scroll-snap-align: center;
    border-radius: 20px;
  }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .carousel-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(254, 237, 196, .35); cursor: pointer;
  }
  .carousel-dots button.active { background: var(--cream); }
  .site-footer { padding: 50px 10px; }
}
