/* ==========================================================================
   start.css — nur die Dachseite. Setzt assets/basis.css voraus.
   ========================================================================== */

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--linen);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--kraft); outline-offset: 4px; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--alu-dim);
}

/* ---------- Kopf ---------- */

.top { padding-block: clamp(1.5rem, 4vh, 2.5rem); }
.top__inner { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.mark {
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--linen);
}

/* ---------- Einleitung ---------- */

.intro {
  padding-block: clamp(2.5rem, 9vh, 5.5rem) clamp(2rem, 6vh, 3.5rem);
  display: grid; gap: 1.5rem;
}
.intro h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  line-height: 1.02; letter-spacing: -0.02em;
  text-wrap: balance; max-width: 16ch;
}
.intro p {
  color: var(--alu); max-width: 58ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}
.intro strong { color: var(--linen); font-weight: 400; }

/* ---------- Die zwei Türen ---------- */

main { flex: 1; }

.doors {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
@media (min-width: 860px) { .doors { grid-template-columns: 1fr 1fr; } }

.door {
  position: relative;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--rule);
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  min-height: 26rem;
  transition: background .5s ease, box-shadow .5s ease;
}
a.door:hover, a.door:focus-visible { background: var(--ink-3); box-shadow: 0 0 0 1px var(--rule-2); }

.door__label {
  align-self: stretch;          /* volle Kachelbreite, damit der Status rechts sitzt */
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.door__label .status { color: var(--alu-dim); }

.door h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.06; letter-spacing: -0.015em;
}
.door p { color: var(--alu); font-size: 0.9375rem; max-width: 34ch; }
.door q { color: var(--linen); font-style: normal; quotes: "„" "\"" "‚" "'"; }

/* Signatur: jede Tür zeigt eine Linie aus ihrer eigenen Welt */
.sign {
  margin-top: auto;      /* schiebt die Signatur an den unteren Rand */
  padding-top: 1.5rem;
  align-self: stretch;
}
.sign svg { width: 100%; height: 72px; }

.enter {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--linen);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--kraft);
  justify-self: start;
}
.enter i { display: block; width: 1.5rem; height: 1px; background: var(--kraft); transition: width .35s cubic-bezier(.16,1,.3,1); }
a.door:hover .enter i, a.door:focus-visible .enter i { width: 2.75rem; }

.door--locked { cursor: default; }
.door--locked .enter { color: var(--alu-dim); border-bottom-color: var(--rule-2); }
.door--locked .enter i { background: var(--rule-2); }

/* ---------- Fuß ---------- */

footer { border-top: 1px solid var(--rule); padding-block: 2rem 2.5rem; }
.foot { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .foot { grid-template-columns: 1fr auto; align-items: start; gap: 3rem; } }
.foot__hint {
  font-family: var(--mono); font-size: 0.6875rem; line-height: 2;
  letter-spacing: 0.1em; color: var(--alu-dim); max-width: 62ch;
}
.foot__hint b { color: var(--alu); font-weight: 400; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.foot__links a {
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--alu);
  padding-bottom: 0.25rem; border-bottom: 1px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}
.foot__links a:hover, .foot__links a:focus-visible { color: var(--linen); border-bottom-color: var(--kraft); }
