:root {
  --burgundy: #722F37;
  --burgundy-dark: #5A252C;
  --burgundy-light: #8B3A44;
  --gold: #C9A96E;
  --gold-light: #D4BC8E;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D0;
  --charcoal: #2A2A2A;
  --text: #3A3A3A;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --error: #B33A3A;
  --success: #5A7D4F;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
}

/* Header --------------------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}

.lang-switch a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.375rem 0.625rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch a:hover {
  color: var(--burgundy);
}

.lang-switch a.active {
  color: var(--burgundy);
  font-weight: 600;
  background: var(--cream-dark);
}

/* Hero video ----------------------------------------------- */
.hero {
  margin-bottom: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(114, 47, 55, 0.12);
  background: var(--charcoal);
}

.hero video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-fallback {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--cream);
}

/* Content -------------------------------------------------- */
.content {
  text-align: center;
}

.headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--burgundy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.teaser {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
}

/* Form ----------------------------------------------------- */
.signup {
  max-width: 480px;
  margin: 0 auto;
}

.signup-intro {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--burgundy);
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input[type="email"]:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.15);
}

.form-row button {
  padding: 0.875rem 1.5rem;
  background: var(--burgundy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.form-row button:hover {
  background: var(--burgundy-dark);
}

.form-row button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Visually hidden — preserved for screen readers (a11y) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot — visually hidden, available to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Banners -------------------------------------------------- */
.banner {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9375rem;
}

.banner.ok {
  background: rgba(90, 125, 79, 0.12);
  color: var(--success);
  border: 1px solid rgba(90, 125, 79, 0.3);
}

.banner.ok .thanks-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: block;
}

.banner.err {
  background: rgba(179, 58, 58, 0.08);
  color: var(--error);
  border: 1px solid rgba(179, 58, 58, 0.25);
}

/* Footer --------------------------------------------------- */
.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--burgundy);
}

/* Impressum ------------------------------------------------ */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 0 1rem;
  text-align: left;
}

.legal h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--burgundy);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 2.5rem;
}

.legal h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-top: 1.25rem;
}

.legal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--burgundy);
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  margin: 4rem 0 1.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-dark);
}

.legal h2:first-of-type {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
}

.legal h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 2.25rem 0 0.875rem;
}

.legal p,
.legal ul {
  margin: 0 0 1.375rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.legal p:last-of-type,
.legal ul:last-of-type {
  margin-bottom: 0;
}

/* Lead-in paragraph after major section heading */
.legal h2 + p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.legal address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.85;
  margin: 0 0 2.25rem;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 2px solid var(--burgundy);
  color: var(--text);
}

.legal ul {
  list-style: none;
  padding: 0;
}

.legal ul li {
  position: relative;
  padding-left: 1.25rem;
}

.legal ul li::before {
  content: "·";
  position: absolute;
  left: 0.35rem;
  top: -0.1rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
}

/* Credit blocks: <strong> acts as small-caps label above content */
.legal p strong {
  display: block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.25rem;
}

.legal a {
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.legal a:hover {
  color: var(--burgundy-dark);
  text-decoration-color: var(--gold);
}

.legal .back-link {
  display: inline-block;
  margin-top: 4rem;
  color: var(--burgundy);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.legal .back-link:hover {
  color: var(--burgundy-dark);
  border-bottom-color: var(--gold);
}

/* Responsive ----------------------------------------------- */
@media (max-width: 480px) {
  .page {
    padding: 1rem 1rem 1.5rem;
  }

  .header {
    margin-bottom: 1.75rem;
    gap: 1rem;
  }

  .logo img {
    height: 40px;
  }

  .lang-switch {
    font-size: 0.875rem;
  }

  .lang-switch a {
    padding: 0.25rem 0.5rem;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row button {
    width: 100%;
  }

  .footer {
    margin-top: 2.5rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .legal {
    padding: 1.5rem 0 0.5rem;
  }

  .legal h2 {
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .legal address {
    padding-left: 1rem;
    font-size: 1rem;
  }

  .legal .back-link {
    margin-top: 3rem;
  }
}
