/* Landing page only (landing.html) — builds on the tokens and components in app.css.
   Blaupause dialect: paper, hairline cards, gold micro-caps, serif display, line-art gold
   icons, plates ("Tafeln") framing product specimens. See docs/design.md. */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  border: 1px solid var(--gold-deep);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

/* topbar nav (anchor links, 44px targets per docs/design.md) */
.topnav {
  display: flex;
  align-items: center;
  gap: 0.4rem 1.1rem;
  flex-wrap: wrap;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--gold-deep);
}

.topnav a:hover {
  color: var(--ink);
}

/* landing base */
.landing h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 0.5rem;
}

.landing h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.landing .card {
  margin-bottom: 0;
}

.landing .lede {
  text-wrap: balance;
}

.floor {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.2rem 1.25rem;
}

.floor-head {
  max-width: 62ch;
}

.floor-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 3.6rem auto 3.2rem;
}

.floor-rule .line {
  width: min(110px, 24vw);
  border-top: 3px double var(--gold);
}

.floor-rule svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* hero */
.hero {
  text-align: center;
  padding: 4.2rem 1.25rem 1rem;
}

.hero .lede {
  max-width: 52ch;
  margin: 0.4rem auto 1.1rem;
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 56ch;
  margin: 0 auto 1.6rem;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.facade {
  display: block;
  width: min(460px, 88vw);
  height: auto;
  margin: 2.4rem auto 0;
}

/* grids */
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-areas {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.landing .grid {
  margin: 1.6rem 0;
}

/* three doors */
.doorcard .icon {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
}

.doorcard p {
  margin: 0;
}

.icon {
  color: var(--gold-deep);
  flex-shrink: 0;
}

/* shelves (Sortiment) */
.shelfcard {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.shelfcard h3,
.shelfcard p {
  margin: 0;
}

.shelfcard .spacer {
  flex: 1;
}

.dots {
  display: inline-flex;
  gap: 0.35rem;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.card-dashed {
  background: transparent;
  border: 1.5px dashed var(--hairline-strong);
  box-shadow: none;
}

.card-dashed h3,
.card-dashed p {
  color: var(--muted);
}

/* Lernstrecken-Bausteine */
.bausteine {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.bausteine li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
}

.bausteine li:last-child {
  border-bottom: 0;
}

/* plates ("Tafeln"): museum framing for product specimens */
.plate {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.9rem 0.9rem 0.8rem;
  box-shadow: var(--shadow);
}

.plate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.15rem 0.35rem 0.65rem;
}

.plate-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--gold-deep);
}

.plate-matte {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1.5rem 1.2rem;
}

.plate figcaption {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.7rem 0.35rem 0.1rem;
}

/* the specimen: a miniature, non-interactive replica of a product card */
.spec {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 2px 8px rgba(60, 50, 20, 0.1);
  max-width: 400px;
  margin: 0 auto;
  font-size: 0.92rem;
}

.spec .choice {
  cursor: default;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.5rem;
}

.spec .choice:hover {
  border-color: var(--hairline-strong);
}

.spec .radio {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 50%;
  position: relative;
}

.spec .choice.sel {
  border-color: var(--gold-deep);
}

.spec .choice.sel .radio {
  border-color: var(--gold-deep);
}

.spec .choice.sel .radio::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.spec .choice.right {
  border-color: var(--success);
}

.spec .choice.right .radio {
  border-color: var(--success);
}

.spec .choice.right .radio::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--success);
}

.spec .tick {
  color: var(--success);
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
}

.q-stem {
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.feedback {
  border: 1px solid var(--success);
  color: var(--success);
  background: color-mix(in srgb, var(--success) 7%, var(--card));
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

/* fake buttons inside specimens — deliberately not focusable */
.fbtn {
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 7px;
  padding: 0.42rem 1rem;
  background: var(--gold-deep);
  color: var(--card);
  display: inline-block;
}

.fbtn-quiet {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--hairline-strong);
}

.spec-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.9rem;
}

/* specimen table (HR status) */
.spec table {
  font-size: 0.88rem;
}

.spec th {
  padding: 0.4rem 0.5rem;
}

.spec td {
  padding: 0.55rem 0.5rem;
  vertical-align: middle;
}

.spec tr:last-child td {
  border-bottom: 0;
}

.kennung {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* result specimen with BEISPIEL watermark */
.spec-result {
  position: relative;
}

.spec-result::after {
  content: "Beispiel";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: 0.26em;
  color: color-mix(in srgb, var(--gold-deep) 7%, transparent);
  transform: rotate(-16deg);
  pointer-events: none;
}

.spec .score {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin: 0.1rem 0 0.9rem;
}

/* .meter/.score come from the app.css ornament kit; the Tafel-III specimen sets its
   fill width inline. */

/* competence areas */
.areacard {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
}

.areacard .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.areacard h3 {
  margin: 0 0 0.15rem;
  font-size: 1.02rem;
}

.areacard .code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.areacard p {
  margin: 0.1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.factrow {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.4rem 0 1.4rem;
}

/* the four levels as a staircase (token-derived ramp, bordered for 3:1 non-text contrast) */
.stairs-wrap {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: end;
  margin-top: 1.4rem;
}

.stairs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  align-items: end;
}

.stair {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.stair .bar {
  border-radius: 6px 6px 0 0;
  width: 100%;
  border: 1.5px solid var(--gold-deep);
  border-bottom: 0;
}

.stair.s1 .bar {
  height: 44px;
  background: color-mix(in srgb, var(--gold) 18%, var(--card));
}

.stair.s2 .bar {
  height: 70px;
  background: color-mix(in srgb, var(--gold) 42%, var(--card));
}

.stair.s3 .bar {
  height: 96px;
  background: color-mix(in srgb, var(--gold) 66%, var(--card));
}

.stair.s4 .bar {
  height: 122px;
  background: var(--gold);
}

.stair .num {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 700;
  color: var(--gold-deep);
}

.stair .name {
  font-size: 0.78rem;
  line-height: 1.3;
}

.stairs-caption {
  margin-top: 0.9rem;
}

/* the path (Treppenhaus) with medallion numerals */
.path {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  max-width: 640px;
}

.path li {
  position: relative;
  padding: 0 0 1.7rem 3.6rem;
}

.path li:last-child {
  padding-bottom: 0;
}

.stepnum {
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px var(--gold);
  background: var(--card);
  color: var(--gold-deep);
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.path li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: 6px;
  border-left: 1px dashed var(--hairline-strong);
}

.path h3 {
  margin-bottom: 0.15rem;
}

.path p {
  margin: 0;
  color: var(--muted);
}

/* foundation: tenant floors + trust cards */
.foundation {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin-top: 1.6rem;
  align-items: start;
}

.building {
  max-width: 380px;
  margin: 0 auto;
}

.building .gable {
  display: block;
  width: 100%;
  height: auto;
  color: var(--hairline-strong);
}

.building-floors {
  border: 1.5px solid var(--hairline-strong);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.bfloor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--hairline);
}

.bfloor:last-child {
  border-bottom: 0;
}

.bfloor .bname {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 700;
}

.bfloor .blabel {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.building-caption {
  text-align: center;
  margin-top: 0.8rem;
}

.trust-list {
  display: grid;
  gap: 1.1rem;
}

.trustcard {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
}

.trustcard h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.trustcard p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.trustcard .icon {
  margin-top: 0.15rem;
}

/* employer sees / does not see */
.panelpair {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-content: start;
}

.panel {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 11px;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}

.panel-yes {
  border-left: 3px solid var(--success);
}

.panel-no {
  border-left: 3px solid var(--danger);
}

.panel h3 {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.6rem;
}

.panel-yes h3 {
  color: var(--success);
}

.panel-no h3 {
  color: var(--danger);
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.panel li {
  margin-bottom: 0.35rem;
}

.panel li:last-child {
  margin-bottom: 0;
}

/* Hausordnung */
.rulegrid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 1.6rem 0 1.2rem;
}

.rulecard {
  border-radius: 11px;
  padding: 1.3rem 1.4rem;
  border: 1px solid;
}

.rulecard .rulehead {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 0.5rem;
}

.rulecard p {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.5;
}

.rule-yes {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 6%, var(--card));
}

.rule-yes .rulehead {
  color: var(--success);
}

.rule-no {
  border-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 6%, var(--card));
}

.rule-no .rulehead {
  color: var(--danger);
}

.sealcard {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.sealcard .seal {
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  margin: 0 auto;
}

.seal svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sealcard p {
  margin: 0;
}

.sealcard .sealtext {
  flex: 1;
  min-width: 240px;
}

/* invite band + footer */
.invite-band {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 2.2rem 1.6rem;
}

.invite-band h2 {
  margin-bottom: 0.6rem;
}

.invite-band p {
  max-width: 44ch;
  margin: 0 auto 1.3rem;
}

.landing-footer .sep {
  color: var(--gold);
  margin: 0 0.5rem;
}

.end-rule {
  width: 130px;
  margin: 3.6rem auto 0;
  border: 0;
  border-top: 3px double var(--gold);
}

@media (max-width: 700px) {
  .topnav .navlink {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }
}
