/* ============================================================
   VILLA PARK – select moments
   Schriften: lokal gehostet (DSGVO-konform, kein Google-CDN)
   Variable Fonts, latin-Subset, liegen unter /fonts
============================================================ */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}

/* ============================================================
   VILLA PARK – select moments
   CI-Farben (Vorgabe als CMYK):
   - CMYK 60/30/20/80 → #142429  Hintergründe, Flächen, Schilder
   - CMYK  0/17/58/15 → #D9B45B  VP, Claim, hochwertige Akzente
   - CMYK  0/ 0/ 0/ 0 → #FFFFFF  Schriftzug Villa Park, Texte auf dunklen Flächen
============================================================ */

:root {
  --navy: #142429;            /* CI-Grundfarbe: Hintergründe, Flächen */
  --navy-deep: #0c171b;       /* abgedunkelte Variante (Hero, Sektionen) */
  --navy-panel: #1a2c32;      /* Karten / Panels */
  --navy-input: #101f24;      /* Formularfelder */
  --gold: #d9b45b;            /* CI-Gold: VP, Claim, Akzente */
  --gold-soft: #e4c77f;
  --gold-dim: rgba(217, 180, 91, 0.45);
  --white: #ffffff;           /* CI-Weiß: Schriftzug, Texte auf dunklen Flächen */
  --text: rgba(255, 255, 255, 0.82);
  --text-muted: rgba(255, 255, 255, 0.55);
  --line: rgba(217, 180, 91, 0.35);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 24px; }

img { max-width: 100%; display: block; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Goldene Trennlinie --- */
.rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 22px 0;
}
.rule--center { margin: 18px auto 22px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  line-height: 1.45;
}
.btn--gold {
  background: var(--gold);
  color: #1b1607;
}
.btn--gold:hover {
  background: var(--gold-soft);
}
.btn--gold:disabled {
  opacity: 0.55;
  cursor: default;
}
.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}
.btn--wide { width: 100%; }

/* --- Bildunterschriften (Visualisierungen aus der Planung) --- */
.bild-hinweis, figure figcaption {
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ============================================================
   HERO – mit Foto (images/header.png) auf der rechten Seite
============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #101e23 0%, var(--navy-deep) 60%, var(--navy-deep) 100%);
  overflow: hidden;
  padding: 56px 0 88px;
}

.hero__villa {
  position: absolute;
  inset: 0 0 0 38%;
  background-image:
    linear-gradient(90deg,
      var(--navy-deep) 0%,
      rgba(12, 23, 27, 0.82) 14%,
      rgba(12, 23, 27, 0.30) 42%,
      rgba(12, 23, 27, 0.12) 68%,
      rgba(12, 23, 27, 0.42) 100%),
    linear-gradient(180deg,
      rgba(12, 23, 27, 0.55) 0%,
      rgba(12, 23, 27, 0.10) 35%,
      rgba(12, 23, 27, 0.18) 70%,
      var(--navy-deep) 100%),
    url("../images/header.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, 60% 62%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero__inner { position: relative; }

.hero__brand {
  text-align: center;
  margin-bottom: 56px;
}
.hero__logo {
  width: 300px;
  max-width: 72vw;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 24px rgba(12, 23, 27, 0.85));
}

.hero__content { max-width: 460px; }
.hero__content h1 {
  font-size: clamp(38px, 5vw, 54px);
  text-shadow: 0 2px 22px rgba(12, 23, 27, 0.7);
}
.hero__text {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__actions .btn--outline {
  font-size: 12px;
  padding: 12px 24px;
  background: rgba(12, 23, 27, 0.45);
}

/* ============================================================
   SEKTIONEN
============================================================ */
.section { padding: 92px 0; }
.section--light { background: #17292f; }
.section--dark { background: var(--navy-deep); }
.section--timeline { background: var(--navy); }

.section__title {
  text-align: center;
  font-size: clamp(28px, 3.6vw, 38px);
}
.section__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-size: 15.5px;
}

/* --- Kacheln --- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.card {
  border: 1px solid var(--line);
  background: rgba(20, 36, 41, 0.55);
  padding: 40px 26px 34px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.card__icon {
  color: var(--gold);
  margin-bottom: 22px;
}
.card__icon svg { width: 58px; height: 58px; }
.card__icon--logo img { width: 64px; height: auto; margin: 0 auto; }
.card h3 {
  font-size: 21px;
  margin-bottom: 14px;
}
.card p {
  font-size: 14px;
  color: var(--text-muted);
}
.card__subline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px !important;
  color: var(--gold-soft) !important;
  margin-bottom: 10px;
}

/* ============================================================
   SPLIT / COLLAGE
============================================================ */
.split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}
.split__text h2 { font-size: clamp(26px, 3.2vw, 34px); }
.split__text p { font-size: 15px; color: var(--text); }

/* Schlafzimmer-Visualisierung mit goldenem Rahmen-Akzent */
.split__image {
  position: relative;
  justify-self: center;
  max-width: 480px;
}
.split__image img {
  width: 100%;
  height: auto;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}
.split__image::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-dim);
  z-index: -1;
  pointer-events: none;
}
.split__image figcaption { text-align: center; }

/* ============================================================
   VERANSTALTUNGSRAUM
============================================================ */
.event {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  margin-top: 56px;
  align-items: center;
}
.event__text p {
  font-size: 15px;
  margin-bottom: 18px;
}
.event__text p:last-child { margin-bottom: 0; }
.event__image {
  margin: 0;
}
.event__image img {
  width: 100%;
  height: auto;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

/* "Auf einen Blick" – ruhige, goldgerahmte Leiste über die volle Breite */
.event__facts {
  margin-top: 72px;
  padding: 44px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.event__facts h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}
.event__facts ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.event__facts li {
  position: relative;
  padding: 4px 0 4px 24px;
  font-size: 14.5px;
  color: var(--text);
}
.event__facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.event__cta {
  text-align: center;
  max-width: 720px;
  margin: 72px auto 0;
}
.event__cta h3 {
  font-size: clamp(24px, 3vw, 30px);
}
.event__cta p { font-size: 15px; }
.event__cta-contact {
  margin-top: 18px;
  font-size: 16px !important;
  font-weight: 400;
  color: var(--white);
}
.event__cta-contact a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(217, 180, 91, 0.4);
}
.event__cta-contact a:hover { color: var(--gold); }

/* ============================================================
   TIMELINE
============================================================ */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: var(--gold-dim);
}
.timeline__step {
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.timeline__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 24px;
}
.timeline__step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.timeline__step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   NEWSLETTER
============================================================ */
.signup {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(20, 36, 41, 0.45);
  padding: 64px 72px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
}
.signup__deco {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 60px;
  color: rgba(217, 180, 91, 0.28);
}
.signup__text h2 { font-size: clamp(26px, 3.2vw, 34px); }
.signup__text p { font-size: 15px; }

.signup__fields {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  margin-bottom: 22px;
}
.signup__form input {
  width: 100%;
  background: var(--navy-input);
  border: 1px solid rgba(217, 180, 91, 0.3);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.25s ease;
}
.signup__form input::placeholder { color: var(--text-muted); }
.signup__form input:focus { border-color: var(--gold); }

.input-mail { position: relative; }
.input-mail svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}
.input-mail input { padding-right: 44px; }

.signup__note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.signup__success {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gold-soft);
}
.signup__error {
  margin-top: 14px;
  font-size: 14px;
  color: #e08f8f;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0b1518;
  border-top: 1px solid rgba(217, 180, 91, 0.18);
  padding: 44px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
}
.footer__logo {
  width: 180px;
  height: auto;
}
.footer__info {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__addr-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer__info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  margin: 4px 0;
}
.footer__info svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  color: var(--text);
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(217, 180, 91, 0.4);
  transition: color 0.25s ease;
}
.footer__links a:hover { color: var(--gold-soft); }

/* ============================================================
   RECHTSSEITEN (Impressum / Datenschutz)
============================================================ */
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal h2 {
  font-size: 24px;
  margin: 44px 0 14px;
}
.legal h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}
.legal p, .legal ul {
  font-size: 15.5px;
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold-soft); }
.legal .btn { margin-bottom: 8px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .event { grid-template-columns: 1fr; gap: 36px; }
  .event__facts ul { grid-template-columns: repeat(2, 1fr); }
  .footer__info { gap: 28px; }
  .signup { grid-template-columns: 1fr; padding: 48px 36px; gap: 36px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .timeline::before { display: none; }

  /* Foto wird auf schmalen Screens zum ganzflächigen, stark abgedunkelten Hintergrund */
  .hero__villa {
    inset: 0;
    background-image:
      linear-gradient(180deg,
        rgba(12, 23, 27, 0.78) 0%,
        rgba(12, 23, 27, 0.70) 45%,
        var(--navy-deep) 100%),
      url("../images/header.jpg");
    background-size: auto, cover;
    background-position: center, center 40%;
  }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .signup__fields { grid-template-columns: 1fr; }
  .event__facts ul { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .hero__brand { margin-bottom: 44px; }
  .hero__actions .btn { width: 100%; }
  .collage {
    grid-template-rows: repeat(5, 56px);
    gap: 10px;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
