/* AktenAtlas – öffentliche Startseite */
.start { background: var(--papier); }
.innen { width: min(1120px, 100% - 3rem); margin-inline: auto; }

/* Kopfzeile */
.kopf { background: var(--nacht); border-bottom: 1px solid var(--nacht-3); position: sticky; top: 0; z-index: 10; }
.kopf .innen { display: flex; align-items: center; gap: 2rem; min-height: 64px; }
.kopf-marke { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: var(--t-l); }
.kopf-marke img { width: 44px; }
.kopf nav { display: flex; gap: 1.5rem; margin-left: auto; }
.kopf nav a { color: var(--silber); text-decoration: none; font-size: var(--t-s); }
.kopf nav a:hover { color: var(--weiss); }
.kopf .knopf { padding: 0.6em 1.1em; font-size: var(--t-s); }

/* Bühne: Emblem, Wortmarke, Aussage */
.buehne {
  background: radial-gradient(ellipse 70% 60% at 50% 30%, #172744 0%, var(--nacht) 70%);
  color: var(--silber-hell);
  text-align: center;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.buehne-emblem { width: min(420px, 78vw); margin: 0 auto 1.25rem; animation: auftritt 1.1s ease-out both; }
.buehne-wortmarke { font-size: clamp(2.6rem, 7vw, 4.6rem); margin: 0; line-height: 1; }
.buehne-aussage {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.35; max-width: 32ch; margin: 1.5rem auto 1rem; color: var(--silber-hell);
}
.buehne-text { max-width: 60ch; margin: 0 auto 2rem; color: var(--silber); }
.buehne-aktionen { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
@keyframes auftritt { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

/* Musterstück: vom Eingang zur bewerteten Zeile */
.muster { background: var(--papier); padding: 0 0 4rem; }
.muster-rahmen {
  display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 1.25rem; align-items: stretch;
  margin-top: -2.75rem; position: relative; align-items: start;
}
.muster-brief, .muster-zeile {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-gross);
  padding: 1.25rem 1.4rem; box-shadow: 0 18px 40px -24px rgba(12, 22, 39, .45);
}
.muster-titel { font: 600 var(--t-xs)/1.2 var(--sans); color: var(--grau); margin: 0 0 .8rem; }
.muster-brief dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; margin: 0 0 .9rem; font-size: var(--t-s); }
.muster-brief dt { color: var(--grau); }
.muster-brief dd { margin: 0; }
.muster-brief blockquote {
  margin: 0; padding: .8rem 1rem; background: var(--papier); border-radius: var(--radius);
  font-family: var(--serif); font-size: var(--t-s); line-height: 1.6; color: #2a3446;
}
.muster-pfeil { display: grid; place-items: center; color: var(--gold-dunkel); }
.muster-pfeil svg { width: 36px; height: 36px; }
.muster-kopf { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; flex-wrap: wrap; }
.ampel { display: inline-flex; align-items: center; gap: .4em; font: 600 var(--t-xs)/1 var(--sans); padding: .35em .6em; border-radius: 99px; }
.ampel::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: currentColor; }
.ampel-rot { color: var(--rot); background: #f7e4e2; }
.akte-name { font-family: var(--serif); font-weight: 600; }
.sicherheit { color: var(--grau); font-size: var(--t-xs); margin-left: auto; }
.muster-zeile .zusammenfassung { margin: 0 0 1rem; }
.muster-felder { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0; }
.muster-felder div { border-top: 2px solid var(--gold); padding-top: .5rem; }
.muster-felder dt { font-size: var(--t-xs); color: var(--grau); }
.muster-felder dd { margin: .15rem 0 0; font-weight: 600; font-size: var(--t-s); }
.muster-fuss { margin: 1rem 0 0; font-size: var(--t-xs); color: var(--grau); }

/* Abschnitte */
.abschnitt { padding: 4.5rem 0; }
.abschnitt h2 { font-size: var(--t-3xl); max-width: 30ch; }
.abschnitt-einleitung { color: var(--grau); max-width: 62ch; font-size: var(--t-l); line-height: 1.5; }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.ablauf { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; counter-reset: schritt; }
.ablauf li { counter-increment: schritt; position: relative; padding-top: 3.2rem; }
.ablauf li::before {
  content: counter(schritt); position: absolute; top: 0; left: 0;
  font: 600 var(--t-2xl)/1 var(--serif); color: var(--gold-dunkel);
}
.ablauf li:not(:last-child)::after {
  content: ""; position: absolute; top: 1rem; left: 2.4rem; right: -1.2rem; height: 1px; background: var(--linie);
}
.ablauf h3 { font-size: var(--t-l); }
.ablauf p { color: var(--grau); font-size: var(--t-s); }

/* Leistungen als Liste mit Begriffen */
.leistungen { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; margin-top: 2.5rem; }
.leistung { padding: 1.4rem 0; border-top: 1px solid var(--linie); }
.leistung h3 { font-size: var(--t-xl); margin-bottom: .35em; }
.leistung p { color: var(--grau); margin: 0; max-width: 46ch; }

/* Rollen: Kette */
.rollen-band { background: var(--weiss); border-block: 1px solid var(--linie); }
.rollen { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.rolle { padding: 0 1.5rem 0 0; position: relative; }
.rolle + .rolle { padding-left: 1.5rem; border-left: 1px solid var(--linie); }
.rolle h3 { font-size: var(--t-l); margin-bottom: .2em; }
.rolle .legt-an { font-size: var(--t-xs); color: var(--gold-dunkel); font-weight: 600; margin-bottom: .6rem; }
.rolle p { font-size: var(--t-s); color: var(--grau); margin: 0; }

/* Sicherheit auf Nachtblau */
.vertrauen { background: var(--nacht); color: var(--silber); }
.vertrauen h2 { color: var(--silber-hell); }
.vertrauen .abschnitt-einleitung { color: var(--silber); }
.zusagen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 4rem; margin-top: 2.5rem; }
.zusage { border-left: 2px solid var(--gold); padding-left: 1.2rem; }
.zusage h3 { color: var(--silber-hell); font-size: var(--t-l); margin-bottom: .3em; }
.zusage p { margin: 0; font-size: var(--t-s); }

/* Abschluss */
.abschluss { text-align: center; }
.abschluss h2 { margin-inline: auto; }
.abschluss p { color: var(--grau); max-width: 52ch; margin: 0 auto 1.8rem; }
.abschluss .knopf-rahmen { color: var(--tinte); border-color: var(--linie); }
.abschluss .knopf-rahmen:hover { border-color: var(--gold); }

.fuss { background: var(--nacht); color: var(--silber); font-size: var(--t-s); padding: 2rem 0; }
.fuss .innen { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.fuss img { width: 36px; }
.fuss nav { display: flex; gap: 1.25rem; margin-left: auto; }
.fuss a { color: var(--silber); text-decoration: none; }
.fuss a:hover { color: var(--weiss); }

@media (max-width: 900px) {
  .kopf nav { display: none; }
  .kopf .knopf { margin-left: auto; }
  .muster-rahmen { grid-template-columns: 1fr; }
  .muster-pfeil svg { transform: rotate(90deg); }
  .ablauf { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .rollen { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ablauf li::after { display: none; }
  .rolle + .rolle { border-left: 0; padding-left: 0; }
  .leistungen, .zusagen { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ablauf, .rollen { grid-template-columns: 1fr; }
  .muster-felder { grid-template-columns: 1fr 1fr; }
  .abschnitt { padding: 3.25rem 0; }
  .abschnitt h2 { font-size: var(--t-2xl); }
}
