:root {
  color-scheme: light;
  /* Farbwelt wie im Empfehlerbereich und auf kaiblobel.de:
     Petrol fuehrt, Gold ist Akzent, Weiss traegt. */
  --ps-ink: #12242a;
  --ps-muted: #64777d;
  --ps-paper: #eef2f3;
  --ps-surface: #ffffff;
  --ps-champagne: #c8aa22;
  --ps-champagne-dark: #8f7809;
  --ps-petrol: #0b4650;
  --ps-petrol-deep: #07333b;
  --ps-petrol-soft: #e4eef0;
  --ps-sage: #0b4650;
  --ps-line: rgba(11, 70, 80, 0.14);
  --ps-error: #9d2235;
  --ps-error-bg: #f7e5e7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--ps-paper);
  color: var(--ps-ink);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ps-paper); }
body { min-height: 100%; margin: 0; background: var(--ps-paper); color: var(--ps-ink); }
button, input { font: inherit; }
a { color: inherit; }

.ps-header {
  width: min(1160px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ps-line);
}

.ps-brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.ps-brand > span:last-child { display: grid; gap: 2px; }
.ps-brand strong { font-size: 14px; letter-spacing: -0.01em; }
.ps-brand small { color: var(--ps-muted); font-size: 11px; }
.ps-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ps-petrol);
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.ps-existing { color: var(--ps-muted); font-size: 13px; text-underline-offset: 3px; }
.ps-existing:hover { color: var(--ps-ink); }

.ps-main {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}

.ps-intro { min-width: 0; max-width: 560px; }
.ps-eyebrow {
  margin: 0 0 13px;
  color: var(--ps-champagne-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.ps-intro h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 760;
}
.ps-lede {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--ps-muted);
  font-size: 17px;
  line-height: 1.62;
}

.ps-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.ps-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: center; }
.ps-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ps-petrol-soft);
  color: var(--ps-petrol);
  font-size: 13px;
  font-weight: 800;
}
.ps-steps div { display: grid; gap: 3px; }
.ps-steps strong { font-size: 14px; }
.ps-steps small { color: var(--ps-muted); font-size: 12px; line-height: 1.4; }

.ps-benefit-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--ps-line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  align-items: start;
}
.ps-benefit-note > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(122, 139, 111, 0.14);
  color: var(--ps-sage);
  font-size: 20px;
}
.ps-benefit-note p { margin: 0; color: var(--ps-muted); font-size: 13px; line-height: 1.55; }
.ps-benefit-note strong { color: var(--ps-ink); }

.ps-form-card {
  background: var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 22px 60px rgba(46, 43, 34, 0.10);
}
.ps-form-head { margin-bottom: 27px; }
.ps-form-head h2 { margin: 0; font-size: clamp(25px, 3vw, 32px); letter-spacing: -0.035em; }
.ps-form-head > p:last-child { margin: 8px 0 0; color: var(--ps-muted); font-size: 13px; }

#psForm { display: grid; }
#psForm > label:not(.ps-consent) {
  margin: 0 0 7px;
  color: #565850;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#psForm > input {
  width: 100%;
  min-height: 50px;
  margin-bottom: 17px;
  padding: 12px 14px;
  border: 1px solid var(--ps-line);
  border-radius: 9px;
  background: #FFF;
  color: var(--ps-ink);
  outline: none;
  font-size: 16px;
}
#psForm > input:focus { border-color: #8D7B4E; box-shadow: 0 0 0 3px rgba(201, 185, 138, 0.18); }
.ps-or { height: 1px; margin: 2px 0 17px; background: var(--ps-line); text-align: center; }
.ps-or span { position: relative; top: -9px; padding: 0 10px; background: var(--ps-surface); color: #888980; font-size: 11px; }
.ps-hint { margin: -8px 0 20px; color: var(--ps-muted); font-size: 11.5px; line-height: 1.45; }

.ps-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--ps-muted); font-size: 11.5px; line-height: 1.5; cursor: pointer; }
.ps-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ps-sage); }
.ps-consent a { text-underline-offset: 2px; }
.ps-captcha { min-height: 65px; margin-top: 18px; }
.ps-error { margin: 12px 0 0; padding: 11px 13px; border-radius: 8px; background: var(--ps-error-bg); color: var(--ps-error); font-size: 12px; line-height: 1.45; }
.ps-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--ps-champagne);
  color: #221c00;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.ps-submit:hover:not(:disabled) { transform: translateY(-1px); }
.ps-submit:disabled { cursor: not-allowed; opacity: 0.46; }
.ps-safe { margin: 12px 0 0; color: var(--ps-muted); text-align: center; font-size: 12px; }

.ps-access-dialog {
  width: min(460px, calc(100% - 28px));
  margin: auto;
  padding: 34px;
  border: 1px solid var(--ps-line);
  border-radius: 18px;
  background: var(--ps-surface);
  color: var(--ps-ink);
  box-shadow: 0 28px 80px rgba(32, 35, 31, 0.22);
}
.ps-access-dialog::backdrop { background: rgba(32, 35, 31, 0.52); }
.ps-access-dialog h2 { margin: 0; font-size: 28px; letter-spacing: -0.035em; }
.ps-access-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 35, 31, 0.06);
  color: var(--ps-muted);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.ps-access-copy { margin: 12px 0 24px; color: var(--ps-muted); font-size: 14px; line-height: 1.55; }
.ps-access-form { display: grid; }
.ps-access-form > label {
  margin: 0 0 7px;
  color: #565850;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ps-access-form > input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--ps-line);
  border-radius: 9px;
  background: #FFF;
  color: var(--ps-ink);
  outline: none;
  font-size: 16px;
}
.ps-access-form > input:focus { border-color: #8D7B4E; box-shadow: 0 0 0 3px rgba(201, 185, 138, 0.18); }
.ps-access-success { padding: 12px 2px 2px; text-align: center; }
.ps-access-success > span {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(122, 139, 111, 0.14);
  color: var(--ps-sage);
  font-size: 25px;
  font-weight: 800;
}
.ps-access-success p { margin: 12px 0 24px; color: var(--ps-muted); font-size: 14px; line-height: 1.6; }
.ps-access-done {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--ps-line);
  border-radius: 9px;
  background: #FFF;
  color: var(--ps-ink);
  font-weight: 700;
  cursor: pointer;
}

.ps-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--ps-line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ps-muted);
  font-size: 11px;
  line-height: 1.5;
}
.ps-footer strong { color: var(--ps-ink); }
.ps-footer span:last-child { display: flex; gap: 18px; }

@media (max-width: 800px) {
  .ps-main { grid-template-columns: 1fr; padding: 48px 0 64px; gap: 42px; }
  .ps-intro { max-width: none; }
  .ps-lede { font-size: 16px; }
  .ps-form-card { max-width: 540px; width: 100%; margin: 0 auto; }
}

@media (max-width: 520px) {
  .ps-header, .ps-main, .ps-footer { width: min(100% - 28px, 1160px); }
  .ps-header { min-height: 68px; }
  .ps-existing { font-size: 11px; text-align: right; }
  .ps-main { padding-top: 36px; }
  .ps-intro h1 { font-size: clamp(36px, 10.5vw, 44px); overflow-wrap: break-word; }
  .ps-benefit-note { display: none; }
  .ps-form-card { padding: 24px 18px; border-radius: 15px; }
  .ps-access-dialog { padding: 30px 20px 24px; border-radius: 15px; }
  .ps-access-dialog h2 { padding-right: 28px; font-size: 25px; }
  .ps-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .ps-submit { transition: none; }
}
