:root {
  --dark: #171512;
  --dark2: #211d18;
  --cream: #f3eee5;
  --beige: #d9c6a8;
  --muted: #a99d8b;
  --orange: #e58b45;
  --white: #fffdf9;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 90%);
  margin: auto;
}

/* NAVIGATION */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  color: var(--white);
  border-bottom: 1px solid #ffffff20;
}

nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
}

.logo .logo-sub {
  display: block;
  color: var(--beige);
  font-size: 9px;
  letter-spacing: 5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}

.nav-links a:hover { color: var(--beige); }

.nav-cta {
  border: 1px solid var(--beige);
  padding: 10px 18px;
  border-radius: 2px;
}

.menu-button {
  display: none;
  color: white;
  background: none;
  border: 0;
  font-size: 27px;
  cursor: pointer;
}

/* HERO */

.hero {
  --hero-bg: #070a12;
  min-height: max(760px, 100svh);
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
}

/* Foto: rechts in voller Höhe, zu den Seiten weich ausgeblendet */
.hero-img {
  position: absolute;
  top: 0;
  right: 7%;
  height: 100%;
  width: auto;
  max-width: 62%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%, #000 72%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28%, #000 72%, transparent 100%);
}

/* Foto vollflächig */
.hero--cover .hero-img {
  inset: 0;
  right: 0;
  width: 100%;
  max-width: none;
  -webkit-mask-image: none;
          mask-image: none;
}

/* Abdunklung links, damit der Text gut lesbar bleibt */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #070a12f0 0%, #070a12b3 42%, transparent 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 100px;
}

.eyebrow {
  color: var(--beige);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 25px;
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  font-size: clamp(48px, 7vw, 86px);
  margin-bottom: 25px;
}

h1 em {
  color: var(--beige);
  font-weight: 500;
}

.hero-description {
  color: #d2c7b8;
  max-width: 490px;
  font-size: 16px;
  margin-bottom: 35px;
}

.button {
  display: inline-block;
  padding: 15px 25px;
  background: var(--beige);
  color: var(--dark);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  transition: .3s;
  border: 1px solid var(--beige);
}

.button:hover {
  background: transparent;
  color: var(--beige);
}

.button-outline {
  background: transparent;
  color: var(--beige);
  margin-left: 10px;
}

.button-outline:hover {
  background: var(--beige);
  color: var(--dark);
}

.hero-note {
  margin-top: 75px;
  color: #b7a995;
  font-size: 11px;
  letter-spacing: 3px;
}

/* ALLGEMEIN */

section { padding: 110px 0; }

/* Abschnitts-Themes (im Editor wählbar) */
.theme-light, .theme-beige, .theme-dark {
  --muted-text: #716b63;
  --line: #17151226;
  --label: #9b7952;
}

.theme-light { background: var(--cream); color: var(--dark); }
.theme-beige { background: #e7dfd2; color: var(--dark); }

.theme-dark {
  --muted-text: #bdb2a4;
  --line: #ffffff20;
  --label: var(--beige);
  background: var(--dark);
  color: var(--white);
}

.section-label {
  color: var(--label, #9b7952);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}

h2 {
  font-size: clamp(36px, 5vw, 55px);
  margin-bottom: 25px;
}

.section-text {
  color: var(--muted-text, #716b63);
  max-width: 620px;
  font-size: 15px;
}

/* ÜBER MICH */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background:
    radial-gradient(ellipse at 50% 75%, #e77b29 0%, #7e361b 20%, transparent 45%),
    linear-gradient(140deg, #292019, #100f0d);
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 25px;
  color: #e6d7c3;
  letter-spacing: 2px;
  font-size: 11px;
  text-align: center;
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy p {
  color: var(--muted-text);
  margin-bottom: 18px;
}

.about--right .about-image { order: 2; }

/* Textabschnitt */
.text-block { max-width: 720px; }
.text-block p { color: var(--muted-text); margin-bottom: 18px; }

/* SHOWS */

.show-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 55px;
}

.show-card {
  border: 1px solid var(--line);
  padding: 30px;
  min-height: 245px;
  transition: .3s;
}

.show-card:hover {
  background: #ffffff0a;
  border-color: var(--label);
  transform: translateY(-5px);
}

.show-number {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 2px;
}

.show-card h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 500;
  margin: 30px 0 12px;
}

.show-card p {
  color: var(--muted-text);
  font-size: 13px;
}

/* GALERIE */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 45px;
}

.gallery-item {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 65%, #e77b29 0%, #813d1d 18%, transparent 42%),
    linear-gradient(145deg, #30241b, #141210);
  display: flex;
  align-items: end;
  color: white;
  transition: transform .3s;
}

.gallery-item:nth-child(3n+2) {
  background:
    radial-gradient(ellipse at 30% 60%, #f4a14b 0%, #813d1d 20%, transparent 43%),
    linear-gradient(145deg, #292019, #141210);
}

.gallery-item:nth-child(3n) {
  background:
    radial-gradient(ellipse at 65% 65%, #ed8535 0%, #79381c 18%, transparent 42%),
    linear-gradient(145deg, #33241a, #141210);
}

.gallery-item:hover { transform: scale(1.015); }

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: relative;
  width: 100%;
  padding: 60px 20px 20px;
}

.gallery-item.has-image .gallery-caption {
  background: linear-gradient(0deg, #000000d9 0%, #00000080 55%, transparent 100%);
}

.gallery-caption h3 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.gallery-caption p {
  margin-top: 6px;
  font-size: 13px;
  color: #e6dccf;
  white-space: pre-line;
}

.gallery-empty { color: var(--muted-text); margin-top: 45px; }

/* VERANSTALTUNGEN */

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 40px;
}

.event h3 {
  font-family: var(--font-heading);
  font-size: 23px;
  margin-bottom: 10px;
  font-weight: 500;
}

.event p {
  color: var(--muted-text);
  font-size: 14px;
}

/* KONTAKT */

.contact {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.contact .section-label { color: var(--beige); }

.contact h2 {
  max-width: 700px;
  margin: 0 auto 25px;
}

.contact .section-text {
  color: #c0b4a5;
  margin: 0 auto 35px;
}

.contact-details {
  margin-top: 35px;
  color: var(--beige);
  font-size: 13px;
}

/* FOOTER */

footer {
  background: #100f0d;
  color: #a99d8b;
  padding: 30px 0;
  font-size: 11px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer a:hover { color: white; }

/* ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .8s, transform .8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBIL */

@media (max-width: 760px) {
  nav { min-height: 70px; }

  .menu-button { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--dark);
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .nav-links.open { display: flex; }

  .hero { min-height: max(690px, 100svh); }

  .hero-content { padding-top: 90px; }

  .button-outline {
    margin: 12px 0 0;
  }

  section { padding: 75px 0; }

  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image { min-height: 320px; }

  .show-grid, .event-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Hero auf Tablet/Handy: Foto vollflächig im Hintergrund */
@media (max-width: 900px) {
  .hero-img {
    inset: 0;
    right: 0;
    width: 100%;
    max-width: none;
    -webkit-mask-image: none;
            mask-image: none;
    object-position: center 38%;
  }

  .hero::after {
    background: linear-gradient(180deg, #070a12b3 0%, #070a1273 40%, #070a12d9 100%);
  }
}

/* KONTAKT-BUTTON (button statt Link) */

button.button { font-family: inherit; cursor: pointer; }

.contact .button { margin-top: 5px; }

/* KONTAKT-DIALOG */

.contact-dialog {
  width: min(560px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  margin: auto;
  padding: 0;
  border: 1px solid #ffffff26;
  background: var(--dark);
  color: var(--white);
  overflow: auto;
}

.contact-dialog::backdrop {
  background: #000000b3;
  backdrop-filter: blur(3px);
}

.dialog-inner { padding: 38px 34px 34px; position: relative; }

.dialog-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  color: var(--beige);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover { color: white; }

.contact-dialog h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

.recipient {
  border-left: 2px solid var(--orange);
  padding: 4px 0 4px 14px;
  margin-bottom: 26px;
  font-size: 14px;
  color: #c0b4a5;
}

.recipient strong { color: var(--white); font-weight: 600; }

.recipient a { color: var(--beige); text-decoration: underline; text-underline-offset: 3px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--beige);
}

.field input,

.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--white);
  background: #ffffff0d;
  border: 1px solid #ffffff2e;
  border-radius: 2px;
  padding: 11px 12px;
}



.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,

.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: transparent;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #b7a995;
}

.consent input { margin-top: 3px; accent-color: var(--orange); }

.consent a { text-decoration: underline; }

/* Honeypot gegen Spam-Bots: für Menschen unsichtbar */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { min-height: 22px; font-size: 14px; }
.form-status.error { color: #ff9b86; }
.form-status.ok { color: #9fd9a0; }

.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.form-actions .button[disabled] { opacity: .55; cursor: wait; }

@media (max-width: 560px) {
  .dialog-inner { padding: 34px 20px 24px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* KALENDER */

.date-field { position: relative; grid-column: 1 / -1; }

.date-field input[readonly] { cursor: pointer; }

.calendar {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  width: min(100%, 400px);
  padding: 18px;
  background: var(--dark2);
  border: 1px solid #ffffff3d;
  box-shadow: 0 18px 50px #000000b3;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cal-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
}

.cal-nav {
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  color: var(--beige);
  background: #ffffff0d;
  border: 1px solid #ffffff26;
  cursor: pointer;
}

.cal-nav:hover:not(:disabled) { border-color: var(--beige); color: #fff; }
.cal-nav:disabled { opacity: .3; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-weekday {
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.cal-day {
  aspect-ratio: 1;
  min-height: 44px;
  font: inherit;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.cal-day:hover:not(:disabled) { background: #ffffff1a; border-color: var(--beige); }
.cal-day:disabled { color: #ffffff40; cursor: default; }
.cal-day.today { border-color: #ffffff5c; }
.cal-day.selected { background: var(--orange); color: var(--dark); font-weight: 700; border-color: var(--orange); }

.cal-day:focus-visible, .cal-nav:focus-visible, .cal-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.cal-foot { display: flex; justify-content: space-between; margin-top: 14px; }

.cal-link {
  font: inherit;
  font-size: 13px;
  color: var(--beige);
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cal-link:hover { color: #fff; }

@media (max-width: 560px) {
  .calendar { width: 100%; padding: 12px; }
}
