:root {
  --wine: #580f12;
  --wine-hover: #751b20;
  --ink: #343432;
  --muted: #62645f;
  --paper: #f5f6f4;
  --line: #d5d7d0;
  --warm: #ece7df;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #ad6d35; outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--wine); color: #fff; }
p, h1, h2 { margin: 0; }
em { color: var(--wine); font-weight: 400; }
.gate-header, .gate-main, .gate-footer { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.gate-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.site-mark { display: block; width: 38px; height: 38px; color: var(--wine); }
.site-mark svg { display: block; width: 100%; height: 100%; }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--wine); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.status > span { width: 6px; height: 6px; border: 1px solid var(--wine); border-radius: 50%; }
.gate-main { display: grid; gap: 42px; padding-block: 58px 55px; }
.eyebrow { color: var(--wine); font-size: 11px; font-weight: 650; letter-spacing: .18em; margin-bottom: 24px; }
h1 { font: 400 clamp(42px, 9.8vw, 72px)/1.12 var(--serif); letter-spacing: -.045em; }
.intro { font-size: 18px; font-weight: 500; margin-top: 27px; }
.description { color: var(--muted); font-size: 15px; margin-top: 13px; max-width: 405px; }
.preview-card { background: var(--warm); border: 1px solid #dbd2c6; border-radius: 90px 3px 3px 3px; padding: 33px 26px; position: relative; overflow: hidden; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--wine); font-size: 9px; font-weight: 600; letter-spacing: .15em; margin-left: 17px; }
.card-top svg { width: 25px; height: 25px; flex-shrink: 0; }
.lock-symbol { width: 62px; height: 62px; border: 1px solid #c3b4a3; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--wine); margin-top: 36px; }
.lock-symbol svg { width: 32px; height: 32px; }
h2 { font: 400 clamp(29px, 7.8vw, 36px)/1.2 var(--serif); letter-spacing: -.035em; margin-top: 24px; }
.preview-card > p:not(.login-note) { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 17px; max-width: 340px; }
.preview-button { display: flex; justify-content: space-between; align-items: center; gap: 13px; background: var(--wine); color: #fff; min-height: 55px; padding: 15px 17px; font-size: 13px; font-weight: 550; margin-top: 27px; border-radius: 2px; transition: background 220ms ease, transform 220ms ease; }
.preview-button > span[aria-hidden] { font-size: 20px; line-height: 1; }
.preview-button:hover { background: var(--wine-hover); transform: translateY(-2px); }
.login-note { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 17px; }
.gate-footer { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; color: var(--muted); font-size: 11px; }
@media (min-width: 700px) {
  .gate-header, .gate-main, .gate-footer { width: min(1240px, calc(100% - 72px)); }
  .gate-header { padding-block: 27px; }
  .status { font-size: 11px; }
  .gate-main { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 42px; padding-block: 72px; }
  h1 { font-size: clamp(43px, 5.8vw, 76px); }
  .preview-card { padding: 35px 27px; }
  h2 { font-size: 31px; }
}
@media (min-width: 1100px) {
  .gate-header, .gate-main, .gate-footer { width: min(1240px, calc(100% - 128px)); }
  .gate-header { padding-block: 26px; }
  .gate-main { grid-template-columns: 1.18fr 1fr; gap: 120px; padding-block: 80px 90px; }
  h1 { font-size: 76px; }
  .intro { font-size: 20px; }
  .description { font-size: 16px; }
  .preview-card { padding: 40px; border-top-left-radius: 110px; }
  .card-top { font-size: 10px; }
  h2 { font-size: 38px; }
  .preview-button { font-size: 14px; padding-inline: 20px; }
  .login-note { font-size: 12px; }
}
@media (max-width: 359px) {
  .gate-header, .gate-main, .gate-footer { width: calc(100% - 36px); }
  .preview-card { padding-inline: 22px; }
  .preview-button { font-size: 12px; padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .preview-button:hover { transform: none; }
}

/* Die Anmeldung prüft der Server; hier stehen nur Eingabe und Rückmeldung. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.login-form { margin-top: 24px; }
.login-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.login-field { display: grid; gap: 6px; }
.login-field label { font-size: 13px; font-weight: 600; }
.login-field input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid #8a7e70; border-radius: 2px; background: var(--paper); color: var(--ink); font: 16px/1.4 var(--sans); transition: border-color 180ms ease, background 180ms ease; }
.login-field input:hover { border-color: var(--wine); }
.login-field input:focus { border-color: var(--wine); background: #fff; }
.login-form .preview-button { width: 100%; margin-top: 4px; border: 0; cursor: pointer; font-family: var(--sans); text-align: left; }
.login-form .preview-button:disabled { cursor: wait; opacity: .75; transform: none; }
.login-message { min-height: 1.7em; margin-top: 10px; color: var(--wine); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.login-fallback { text-decoration: underline; text-underline-offset: 3px; }
