:root {
  --ink: #000;
  --paper: #fff;
  --acid: #d6ff3b;
  --rule: 1px solid #000;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: 0.75rem;
}

@media (min-width: 768px) {
  :root { --pad: 1rem; }
}

@media (min-width: 1024px) {
  :root { --pad: 1.25rem; }
}

@media (min-width: 1440px) {
  :root { --pad: 1.5rem; }
}

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

html { scroll-behavior: auto; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.4;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  filter: none;
}

h1, h2, p, ul, ol { margin-top: 0; }

a { color: inherit; }

a:hover:not(.cta) { background: var(--acid); color: var(--ink); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: -5rem;
  z-index: 2;
  background: var(--acid);
  color: var(--ink);
  border: var(--rule);
  padding: 0.5rem 0.75rem;
}

.skip:focus { top: 0.5rem; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem var(--pad);
  border-bottom: var(--rule);
}

.brand {
  margin-right: auto;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
  text-decoration: none;
}

.menu-toggle {
  min-height: 44px;
  border: var(--rule);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle:hover { background: var(--acid); }
.menu-toggle:active { background: var(--ink); color: var(--paper); }

.nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding-bottom: 0.35rem;
}

.site-header.is-open .nav { display: flex; }

.nav a:not(.cta) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .nav {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 0;
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: var(--rule);
  border-radius: 0;
  background: var(--acid);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.cta:hover { background: var(--ink); color: var(--paper); }
.cta:active { background: var(--paper); color: var(--ink); }

.bar .cta { background: var(--ink); color: var(--paper); }
.bar .cta:hover { background: var(--paper); color: var(--ink); }
.bar .cta:active { background: var(--acid); color: var(--ink); }

.cta:disabled,
button:disabled {
  background: var(--paper);
  color: var(--ink);
  cursor: not-allowed;
}

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "bar"
    "check"
    "sample"
    "photo"
    "cimg"
    "simg";
  align-items: start;
}

.hero,
.check,
.replacements { display: contents; }

.bar {
  grid-area: bar;
  min-width: 0;
  background: var(--acid);
  color: var(--ink);
  padding: 1rem 0.9rem 1.25rem;
}

.bar h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 8vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  overflow-wrap: break-word;
}

.support,
.who {
  max-width: 36rem;
  margin: 0 0 0.75rem;
  overflow-wrap: break-word;
}

.bar .cta { margin-top: 0.25rem; }

.hero-photo {
  grid-area: photo;
  min-width: 0;
  width: 100%;
  height: auto;
  display: block;
}

.check-copy { grid-area: check; }
.sample-copy { grid-area: sample; }
.check-photo { grid-area: cimg; }
.list-photo { grid-area: simg; }

.check-copy,
.sample-copy,
.check-photo,
.list-photo {
  min-width: 0;
}

.check-copy,
.sample-copy {
  padding: 1rem var(--pad) 1.25rem;
  border-top: var(--rule);
}

.check h2,
.replacements h2,
.why h2,
.request h2,
.desk h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-height: 44px;
  padding: 0.75rem 0;
  border-bottom: var(--rule);
  cursor: pointer;
}

.row input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: #000;
}

.row:hover { background: #f3f3f3; }
.row:active { background: var(--acid); }

.line {
  font-family: var(--mono);
  overflow-wrap: anywhere;
}

.place { display: block; font-weight: 700; }
.sample-bit { display: block; }

.row:has(input:checked) .line {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.sample-lock {
  max-width: 38rem;
  margin: 0 0 1rem;
  overflow-wrap: break-word;
}

.empty-state {
  margin: 0 0 0.75rem;
  padding: 0.75rem;
  border: var(--rule);
  font-family: var(--mono);
}

.outs {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.out {
  display: none;
  margin: 0 0 0.5rem;
  padding: 0.75rem;
  background: var(--acid);
  color: var(--ink);
  border: var(--rule);
  font-family: var(--mono);
  overflow-wrap: anywhere;
}

.lead:has(#seen-berlin:checked) #out-berlin,
.lead:has(#seen-munich:checked) #out-munich,
.lead:has(#seen-neuschwanstein:checked) #out-neuschwanstein,
.lead:has(#seen-cologne:checked) #out-cologne,
.lead:has(#seen-heidelberg:checked) #out-heidelberg {
  display: block;
}

.lead:has(.seen:checked) .empty-state { display: none; }

.doc-photo {
  display: block;
  width: 100%;
  height: auto;
  border-top: var(--rule);
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 2rem var(--pad) 0;
}

.why-photo {
  display: block;
  width: min(100%, 16rem);
  height: auto;
}

.night-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.night-list li {
  border-top: var(--rule);
  padding: 0.65rem 0;
  font-family: var(--mono);
  overflow-wrap: anywhere;
}

.fee { padding: 1.5rem var(--pad) 0; }

.fee-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: var(--rule);
}

.fee-price,
.fee-limit { padding: 1rem; }

.fee h2 {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.figure {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: clamp(1.75rem, 8vw, 3rem);
  line-height: 1.05;
}

.fee-limit {
  border-top: var(--rule);
  overflow-wrap: break-word;
}

.fee-limit p { margin: 0; }

.request {
  max-width: 40rem;
  padding: 2.5rem var(--pad) 0;
}

.plan-form { margin-top: 1rem; }

.form-alert {
  margin: 0 0 1rem;
  padding: 0.75rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
}

.form-alert p { margin: 0; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.field label { font-weight: 700; }

.field:has(input.is-empty) label::after,
.field:has(textarea.is-empty) label::after {
  content: " (leer)";
  font-family: var(--mono);
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  border: var(--rule);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem;
  font: inherit;
  font-size: 1rem;
}

textarea { min-height: 7rem; resize: vertical; }

.hint,
.field-error {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.95rem;
}

.plan-form input:user-valid,
.plan-form textarea:user-valid {
  border-left: 6px solid var(--acid);
}

.plan-form [aria-invalid="true"] {
  border: 2px solid #000;
}

.when-busy { display: none; }

.plan-form.is-loading .when-idle { display: none; }
.plan-form.is-loading .when-busy { display: inline; }

.plan-form.is-loading .submit:disabled {
  background: var(--ink);
  color: var(--paper);
  cursor: wait;
}

.submit { width: 100%; }

.form-note { margin: 0.85rem 0 0; }

.desk {
  margin-top: 3.5rem;
  padding: 1rem var(--pad) 2rem;
  border-top: var(--rule);
  max-width: 36rem;
}

.desk p { margin: 0 0 0.35rem; }

.mono { font-family: var(--mono); }

.site-footer {
  border-top: var(--rule);
  padding: 1rem var(--pad) 2rem;
}

.footer-grid {
  display: grid;
  gap: 0.85rem 1.5rem;
}

.footer-grid address { font-style: normal; }
.footer-grid p { margin: 0 0 0.35rem; overflow-wrap: anywhere; }

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.legal,
.thanks {
  padding: 1.25rem var(--pad) 2.5rem;
  max-width: 40rem;
}

.legal h1,
.thanks h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.legal h2 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.25rem;
}

.legal p,
.legal li,
.thanks li { overflow-wrap: break-word; }

.thanks.is-success { border-top: 8px solid var(--acid); }

.thanks ol { padding-left: 1.2rem; }

.thanks-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

#sample,
#fee,
#form,
#check,
#why,
#desk { scroll-margin-top: 0.75rem; }

@media (min-width: 768px) {
  .lead {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
      "bar photo"
      "check sample"
      "cimg simg";
  }

  .check-copy,
  .sample-copy { border-top: 0; }

  .check-copy,
  .check-photo { border-right: var(--rule); }
  .hero-photo { border-left: var(--rule); }

  .why { grid-template-columns: minmax(0, 1.45fr) minmax(10rem, 0.45fr); }

  .fee-block { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
  .fee-limit { border-top: 0; border-left: var(--rule); }

  .submit { width: auto; min-width: 16rem; }

  .footer-grid {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.5fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .bar { padding: 1.5rem 1.25rem 1.75rem; }
  .desk { margin-left: 18%; }
}

@media (max-width: 374px) {
  .bar h1 { font-size: 1.55rem; }
}
