:root {
  --canvas: #0b111b;
  --paper: #f1ead8;
  --sage: #111a29;
  --green: #173e34;
  --green-deep: #102e27;
  --ink: #282820;
  --muted: #b7b8b7;
  --rust: #a84c52;
  --brass: #d1b875;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #f3f0e9; background: var(--canvas); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.opening { position: relative; overflow: hidden; background: radial-gradient(ellipse at 16% 3%, rgba(150,54,61,.26), transparent 32rem), radial-gradient(ellipse at 90% 20%, rgba(209,184,117,.08), transparent 29rem), var(--canvas); }
.language-switch { position: absolute; top: 22px; right: max(32px, calc((100vw - 1100px) / 2)); z-index: 3; display: flex; gap: 5px; padding: 4px; border: 1px solid rgba(209,184,117,.42); background: rgba(11,17,27,.7); }
button.language-option { min-height: 30px; padding: 0 10px; border: 1px solid transparent; background: transparent; color: #d6d4cd; font-size: 9px; letter-spacing: .1em; }
button.language-option:hover { background: rgba(209,184,117,.16); color: #fffdf7; }
button.language-option[aria-pressed="true"] { border-color: var(--brass); background: var(--brass); color: #11151b; }
button.language-option[aria-pressed="true"]:hover { background: #dfc98e; }
.opening::before { content: ""; position: absolute; top: 0; right: 0; width: 38%; height: 5px; background: linear-gradient(90deg, var(--rust), var(--brass)); }
.opening::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 4px 4px; mask-image: linear-gradient(to bottom, #000, transparent 95%); }
.opening-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); align-items: center; gap: clamp(45px, 8vw, 104px); width: min(1100px, calc(100% - 64px)); min-height: 600px; margin-inline: auto; padding: 72px 0 82px; }
.copy { padding: 14px 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 28px; color: var(--brass); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 29px; height: 2px; background: var(--brass); }
h1 { max-width: 650px; margin: 0 0 22px; color: #f4f0e7; font-family: var(--serif); font-size: clamp(38px, 4.3vw, 58px); font-weight: 500; line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
h1 span { color: var(--brass); }
html[lang="de"] h1 { font-size: clamp(34px, 3.8vw, 51px); }
.slogan { max-width: 500px; margin: 0 0 18px; color: #bd6667; font-size: 13px; font-weight: 850; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; }
.intro { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.jump-link { display: inline-flex; align-items: center; gap: 15px; margin-top: 28px; padding: 14px 17px; background: var(--brass); color: #11151b; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: background .18s ease, transform .18s ease; }
.jump-link:hover { transform: translateY(-2px); background: var(--rust); color: #fffdf7; }
.jump-link > span[aria-hidden="true"] { color: var(--brass); font-size: 17px; line-height: .6; }
.cross-panel { position: relative; display: grid; place-items: center; min-height: 425px; overflow: hidden; background: radial-gradient(circle at 50% 44%, #553541 0, #302633 43%, #1a202d 100%); color: var(--paper); }
.cross-panel::before, .cross-panel::after { content: ""; position: absolute; border: 1px solid rgba(242,239,230,.18); border-radius: 50%; }
.cross-panel::before { width: 310px; height: 310px; }
.cross-panel::after { width: 365px; height: 365px; }
.panel-corner { position: absolute; top: 18px; left: 19px; width: 27px; height: 27px; border-top: 1px solid var(--brass); border-left: 1px solid var(--brass); }
.cross-art { position: relative; z-index: 1; width: 154px; height: 220px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.16)); }
.panel-caption { position: absolute; right: 22px; bottom: 21px; left: 22px; display: flex; justify-content: space-between; align-items: end; gap: 15px; padding-top: 13px; border-top: 1px solid rgba(242,239,230,.3); color: #e5dfce; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.panel-caption span:last-child { color: var(--brass); text-align: right; }
.registry { padding: 75px 32px 88px; background: radial-gradient(ellipse at 85% 0%, rgba(32,55,79,.34), transparent 34rem), var(--sage); }
.registry-wrap { width: min(930px, 100%); margin-inline: auto; }
.registry-kicker { margin: 0 0 10px; color: var(--brass); font-size: 9px; font-weight: 850; letter-spacing: .21em; text-transform: uppercase; }
.registry-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 25px; }
h2 { margin: 0; color: #f3f0e9; font-family: var(--serif); font-size: clamp(31px, 4vw, 44px); font-weight: 500; letter-spacing: -.035em; }
.registry-note { max-width: 260px; margin: 0 0 3px; color: #b2b7ba; font-size: 11px; line-height: 1.65; }
.registry-card { position: relative; padding: 32px 35px 29px; border: 1px solid rgba(209,184,117,.3); background: var(--paper); box-shadow: 0 22px 58px rgba(0,0,0,.26); }
.registry-card::before { content: ""; position: absolute; top: -1px; right: -1px; left: -1px; height: 4px; background: linear-gradient(90deg, var(--rust), var(--brass), var(--rust)); }
.form-intro { margin: 0 0 22px; color: #667069; font-size: 12px; line-height: 1.7; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 19px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: #4d5b52; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
input, select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #d0d6cc; border-radius: 0; outline: none; background: #fff; color: var(--ink); font: 12px var(--sans); }
input::placeholder { color: #9a9f98; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(23,62,52,.12); }
select:disabled { background: #eceeea; color: #8b918d; cursor: not-allowed; }
.phone-field { display: flex; align-items: stretch; min-height: 44px; border: 1px solid #d0d6cc; background: #fff; }
.phone-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(23,62,52,.12); }
.phone-prefix { display: grid; place-items: center; min-width: 58px; padding-inline: 12px; border-right: 1px solid #d0d6cc; background: #eceeea; color: #59645d; font-size: 12px; font-weight: 700; }
.phone-field input { min-width: 0; flex: 1; border: 0; box-shadow: none; }
.phone-field input:focus { border: 0; box-shadow: none; }
.field-hint { color: #777f77; font-size: 9px; line-height: 1.4; }
.submit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 3px; }
button { display: inline-flex; align-items: center; gap: 14px; min-height: 45px; padding: 0 17px; border: 0; background: var(--rust); color: #fffdf7; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .18s ease; }
button:hover { background: var(--green); }
button span[aria-hidden="true"] { color: #ead8a4; font-size: 17px; line-height: .5; }
.privacy { margin: 0; color: #777f77; font-size: 10px; line-height: 1.55; }
.message { display: none; grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-left: 3px solid var(--green); background: #edf0e9; color: #425047; font-size: 11px; line-height: 1.6; }
.message.visible { display: block; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
@media (max-width: 780px) {
  .language-switch { top: 16px; right: 20px; }
  .opening-inner { grid-template-columns: 1fr; gap: 42px; width: min(600px, calc(100% - 40px)); padding: 68px 0 58px; }
  .cross-panel { min-height: 320px; }
  .cross-panel::before { width: 235px; height: 235px; }
  .cross-panel::after { width: 285px; height: 285px; }
  .cross-art { width: 120px; height: 175px; }
  .registry { padding: 58px 20px 68px; }
  .registry-heading { align-items: start; flex-direction: column; gap: 10px; }
  .registry-note { max-width: 450px; }
}
@media (max-width: 520px) {
  .language-switch { top: 12px; right: 17px; }
  .opening-inner { width: calc(100% - 34px); padding-top: 57px; }
  h1 { font-size: clamp(35px, 9vw, 47px); }
  html[lang="de"] h1 { font-size: clamp(31px, 8.1vw, 42px); }
  .eyebrow { margin-bottom: 22px; font-size: 9px; }
  .slogan { font-size: 11px; }
  .intro { font-size: 13px; }
  .cross-panel { min-height: 275px; }
  .cross-panel::before { width: 195px; height: 195px; }
  .cross-panel::after { width: 238px; height: 238px; }
  .cross-art { width: 100px; height: 145px; }
  .panel-caption { right: 15px; bottom: 15px; left: 15px; font-size: 7px; }
  .registry { padding-inline: 17px; }
  .registry-card { padding: 26px 20px 23px; }
  form { grid-template-columns: 1fr; gap: 14px; }
  .field.full, .submit-row, .message { grid-column: auto; }
  .submit-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
