:root {
  --ivory: #f6f1ea;
  --sand: #dfd2c2;
  --champagne: #c6a77b;
  --olive: #7d7a6d;
  --pine: #1f2a26;
  --charcoal: #2a2724;
  --white: #fffdfa;
  --border: rgba(42, 39, 36, 0.1);
  --shadow: 0 30px 70px rgba(31, 42, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
}

.splash-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.22) 0%, rgba(20, 19, 17, 0.12) 30%, rgba(20, 19, 17, 0.48) 100%),
    url('./assets/hero-wiesbaden.jpg') center/cover;
}

.splash-overlay {
  position: absolute;
  inset: 0;
}

.splash-topbar,
.splash-content {
  position: relative;
  z-index: 1;
}

.splash-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 234, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 39, 36, 0.08);
  padding: 0.85rem 1rem;
  color: var(--charcoal);
}

.site-header-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.topline,
.nav,
.lang-switcher,
.header-actions {
  display: flex;
  align-items: center;
}

.topline {
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  opacity: 0.9;
  margin-bottom: 1.1rem;
}

.topline-splash {
  margin-bottom: 0;
  color: var(--white);
}

.nav {
  justify-content: center;
  gap: 1.35rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a,
.lang-switcher button,
.ghost-link {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  cursor: pointer;
}

.nav a {
  white-space: nowrap;
  opacity: 0.72;
}

.header-actions {
  justify-content: center;
  gap: 1.1rem;
}

.ghost-link {
  opacity: 0.9;
  white-space: nowrap;
}

.lang-switcher {
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.lang-switcher button {
  padding: 0;
  min-width: 0;
}

.lang-switcher span {
  opacity: 0.6;
}

.topline-splash + .lang-switcher button,
.splash-topbar .lang-switcher button {
  color: var(--white);
  border: 0;
  background: transparent;
}

.lang-switcher .active {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5.5rem 1rem 4.5rem;
}

.hero-secondary {
  min-height: 48svh;
  background: linear-gradient(180deg, rgba(246, 241, 234, 1) 0%, rgba(246, 241, 234, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: var(--charcoal);
}

.eyebrow,
.kicker,
.act {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
}

h1,
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 12vw, 7.2rem);
  font-weight: 600;
  margin: 0.6rem 0;
  line-height: 0.95;
}

.script {
  font-family: "Allura", cursive;
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin: 0 0 1rem;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.splash-content {
  color: var(--white);
  text-align: center;
  max-width: 760px;
  width: min(100%, 760px);
  margin: auto auto 2rem;
  padding: 1rem 0 0.5rem;
}

.splash-content h1 {
  max-width: 9ch;
  margin-inline: auto;
}

.scroll-cue {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.78;
}

.secondary-title {
  color: var(--charcoal);
  max-width: 12ch;
  margin-inline: auto;
}

.narrow-flow {
  max-width: 760px;
}

.intro-copy {
  max-width: 44rem;
}

.intro-meta-line {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.78;
}

.meta-divider {
  margin: 0 0.5rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.8rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.countdown-splash {
  margin-top: 1.6rem;
}

.countdown div {
  background: rgba(255, 253, 250, 0.12);
  border: 1px solid rgba(255, 253, 250, 0.16);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1rem 0.5rem;
}

.countdown strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.countdown span {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions,
.pill-row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.splash-actions {
  align-items: center;
}

.splash-actions .btn {
  min-width: 190px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 0 18px 40px rgba(20, 19, 17, 0.16);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 250, 0.4);
  background: rgba(255, 253, 250, 0.08);
}

.section {
  padding: 5rem 1rem;
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  margin-top: 0;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.8rem;
}

.section-note {
  max-width: 320px;
  opacity: 0.75;
}

.timeline-grid,
.tips-grid,
.gallery-grid {
  display: grid;
  gap: 1.4rem;
}

.timeline-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.timeline-card,
.tips-grid article,
.panel,
.faq-list article {
  background: rgba(255, 253, 250, 0.46);
  border: 0;
  border-radius: 0;
  padding: 2rem 0;
  box-shadow: none;
}

.timeline-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  border-top: 1px solid rgba(42, 39, 36, 0.1);
}

.timeline-card:last-child {
  border-bottom: 1px solid rgba(42, 39, 36, 0.1);
}

.timeline-card .act {
  padding-top: 0.45rem;
}

.split,
.login-section {
  background: linear-gradient(180deg, rgba(246, 241, 234, 1) 0%, rgba(242, 235, 226, 0.65) 100%);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.image-card {
  min-height: 520px;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.image-card.vineyard {
  background:
    linear-gradient(180deg, rgba(31, 42, 38, 0.06) 0%, rgba(31, 42, 38, 0.22) 100%),
    url('https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.detail-list {
  padding-left: 1.2rem;
  margin-top: 1.5rem;
}

.panel-accent {
  background: transparent;
}

.fake-field {
  border-bottom: 1px solid rgba(42, 39, 36, 0.12);
  border-radius: 0;
  padding: 0.95rem 0;
  margin-bottom: 0.45rem;
  color: rgba(42, 39, 36, 0.7);
  background: transparent;
}

.full {
  width: 100%;
}

.pill-row span {
  border: 0;
  padding: 0;
  font-size: 0.85rem;
  background: transparent;
}

.gallery-grid {
  grid-template-columns: 1fr;
  grid-template-rows: 320px 220px 220px 260px;
}

.gallery-tile,
.gallery-tile.tall,
.gallery-tile.wide,
.gallery-tile.second,
.gallery-tile.third {
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.gallery-tile.tall {
  grid-row: span 2;
  background-image: linear-gradient(180deg, rgba(31, 42, 38, 0.08), rgba(31, 42, 38, 0.18)),
    url('./assets/photo-1.jpg');
}

.gallery-tile.second {
  background-image: linear-gradient(180deg, rgba(31, 42, 38, 0.08), rgba(31, 42, 38, 0.18)),
    url('./assets/photo-2.jpg');
}

.gallery-tile.third {
  background-image: linear-gradient(180deg, rgba(31, 42, 38, 0.08), rgba(31, 42, 38, 0.18)),
    url('./assets/photo-3.jpg');
}

.gallery-tile.wide {
  grid-column: span 2;
  background-image: linear-gradient(180deg, rgba(31, 42, 38, 0.08), rgba(31, 42, 38, 0.18)),
    url('./assets/photo-5.jpg');
}

.tips-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.tips-grid article {
  border-top: 1px solid rgba(42, 39, 36, 0.1);
}

.tips-grid article:last-child {
  border-bottom: 1px solid rgba(42, 39, 36, 0.1);
}

.compact-form {
  max-width: 480px;
  width: 100%;
}

.admin-preview {
  display: grid;
  gap: 1rem;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(42, 39, 36, 0.12);
}

.admin-row strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-list article {
  border-top: 1px solid rgba(42, 39, 36, 0.1);
}

.faq-list article:last-child {
  border-bottom: 1px solid rgba(42, 39, 36, 0.1);
}

.real-form {
  display: grid;
  gap: 1rem;
}

.real-form label {
  display: grid;
  gap: 0.45rem;
}

.real-form span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.real-form input,
.real-form select,
.real-form textarea {
  width: 100%;
  border: 1px solid rgba(42, 39, 36, 0.12);
  background: rgba(255, 253, 250, 0.82);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--charcoal);
}

.real-form textarea {
  resize: vertical;
  min-height: 96px;
}

.flash-wrap {
  padding-top: 1.5rem;
  padding-bottom: 0;
}

.flash {
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid rgba(42, 39, 36, 0.24);
  background: rgba(255, 253, 250, 0.75);
}

.flash-success { border-left-color: #4f7a59; }
.flash-error { border-left-color: #a45757; }

.dashboard-shell,
.dashboard-wide {
  max-width: 980px;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.dashboard-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0.2rem 0 0.6rem;
}

.dashboard-subtitle {
  margin: 0;
  opacity: 0.74;
}

.dashboard-form {
  max-width: 760px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid rgba(42, 39, 36, 0.1);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.66;
}

@media (min-width: 721px) {
  .splash-hero {
    padding: 1.5rem 2rem 2rem;
    background-position: center center;
  }

  .splash-topbar {
    align-items: center;
  }

  .splash-content {
    margin-bottom: 3rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 1rem;
  }

  .splash-actions {
    justify-content: center;
  }

  .site-header {
    padding: 1rem 1.5rem;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }

  .split-layout,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #location .split-layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .gallery-grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    grid-template-rows: 240px 240px;
  }

  .tips-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .tips-grid article,
  .faq-list article {
    border-top: 0;
    border-bottom: 0;
  }

  .timeline-card {
    grid-template-columns: 140px 1fr;
  }

  .section {
    padding: 7rem 1.5rem;
  }
}

@media (max-width: 960px) {
  .split-layout,
  .tips-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: 220px 220px 220px 220px;
  }

  .gallery-tile.tall,
  .gallery-tile.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading {
    display: block;
  }

  .section-note {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .splash-hero {
    min-height: 100dvh;
    background-position: 58% center;
    padding-bottom: 1.25rem;
  }

  .splash-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topline {
    gap: 0.45rem;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }

  .lang-switcher {
    justify-content: flex-start;
  }

  .splash-content {
    margin-bottom: 1rem;
  }

  .scroll-cue {
    margin-top: 0.9rem;
    font-size: 0.72rem;
  }

  .splash-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .splash-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    display: none;
  }

  .nav {
    gap: 0.9rem;
  }

  .nav a {
    font-size: 0.67rem;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .hero,
  .hero-secondary {
    min-height: auto;
  }

  .hero-secondary {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .secondary-title {
    max-width: 10ch;
  }

  .intro-meta-line {
    font-size: 0.88rem;
    line-height: 1.8;
  }

  .timeline-card,
  .tips-grid article,
  .panel,
  .faq-list article {
    padding: 1.6rem 0;
    border-radius: 0;
  }
}
