
.an-schmal { max-width: calc(52rem + 2 * var(--gutter)); }

.an-checkliste { display: grid; gap: .9rem; }
.an-checkliste li {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s);
  color: var(--ink); line-height: 1.55;
}
.an-checkliste a { color: var(--primary); font-weight: 700; }

.an-schritte { display: grid; gap: 1rem; counter-reset: none; }
.an-schritt {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem 1rem;
  padding: 1.35rem 1.25rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s);
  scroll-margin-top: calc(var(--header-h) + var(--header-gap) * 2 + 1rem);
}
.an-schritt__num {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--gradient); color: var(--white); font-weight: 900;
}
.an-schritt__inhalt { min-width: 0; }
@media (min-width: 560px) {
  .an-schritt { grid-template-columns: auto minmax(0, 1fr); }
  .an-schritt__inhalt { padding-top: .35rem; }
}
.an-schritt h3 { margin-bottom: .35rem; }
.an-schritt p { color: var(--muted); font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.an-schritt p strong { color: var(--ink); }
.an-adresse { overflow-wrap: anywhere; color: var(--ink); }

.an-liste, .an-teilschritte { display: grid; gap: .5rem; margin: .6rem 0 .9rem; padding-left: 1.25rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.an-liste { list-style: disc; }
.an-teilschritte { list-style: decimal; gap: .85rem; margin-bottom: 0; }
.an-liste li::marker, .an-teilschritte li::marker { color: var(--accent-700); font-weight: 900; }
.an-liste strong, .an-teilschritte strong { color: var(--ink); }
.an-ereignisse { display: grid; gap: .45rem; margin-top: .6rem; }
.an-ereignisse li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .65rem; }
.an-ergebnis { display: flex; align-items: flex-start; gap: .5rem; margin-top: .35rem; color: var(--accent-700); font-weight: 700; }
.an-ergebnis .icon { width: .9em; height: .9em; margin-top: .35em; flex: none; }

.an-code, .an-code-kurz { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); }
.an-code {
  display: block; margin: .5rem 0 .6rem; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg);
  font-size: .9375rem; line-height: 1.55; overflow-wrap: anywhere;
}
.an-code-kurz { padding: .1em .4em; border-radius: 6px; background: var(--tile-2); font-size: .875em; white-space: nowrap; }
.an-platzhalter { color: var(--primary); font-weight: 700; }

.an-wissen { display: grid; gap: .9rem; }
.an-wissen li { padding: 1.2rem 1.35rem; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s); }
.an-wissen h3 { margin-bottom: .3rem; font-size: 1.125rem; }
.an-wissen p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

.an-bild { margin: 1.1rem 0 0; }
.an-bild img {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 38, 80, .06), 0 12px 28px -16px rgba(0, 38, 80, .3);
}
.an-bild--schmal img { max-width: 40rem; }
.an-bild__link { display: block; border-radius: var(--radius-s); cursor: zoom-in; }
.an-bild__link:hover img { border-color: var(--primary); }
.an-bild figcaption { margin-top: .55rem; color: var(--muted); font-size: .875rem; }

.an-zoom {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(4.25rem, 8vw, 5rem) clamp(.75rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
  border: 0; background: transparent; cursor: zoom-out;
}
.an-zoom[open] { display: grid; place-items: center; }
.an-zoom::backdrop { background: rgba(0, 24, 52, .82); }
.an-zoom__bild {
  max-width: min(100%, 1100px); max-height: calc(100dvh - clamp(5.25rem, 11vw, 7rem)); width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-s); background: var(--white); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}
.an-zoom__schliessen {
  position: fixed; top: clamp(.75rem, 2.5vw, 1.25rem); right: clamp(.75rem, 2.5vw, 1.25rem);
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5);
}
.an-zoom__schliessen .icon { width: 20px; height: 20px; }
.an-zoom__schliessen:hover { background: var(--tile-2); }
.an-zoom__schliessen:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
html:has(.an-zoom[open]) { overflow: hidden; }

.an-hilfe {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem 1.1rem;
  padding: clamp(1.4rem, 4vw, 2rem); border: 1px solid #cfeae6; border-radius: var(--radius-l); background: var(--accent-50);
}
.an-hilfe__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--white); }
.an-hilfe__icon .icon { width: 22px; height: 22px; }
.an-hilfe__titel { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.an-hilfe__copy p { margin-top: .3rem; color: var(--muted); }
.an-hilfe__copy p.an-hilfe__titel { margin-top: 0; color: var(--ink); font-weight: 900; line-height: 1.2; }
.an-hilfe--abstand { margin-top: 1.75rem; }
.an-hilfe__aktionen { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; }
.an-hilfe__aktionen .btn { white-space: normal; }
.an-zurueck { margin-top: 1.75rem; text-align: center; }

@media (min-width: 768px) {
  .an-schritt { column-gap: 1.5rem; padding: 1.6rem 2rem; }
  .an-schritt__num { width: 44px; height: 44px; }
  .an-wissen { grid-template-columns: 1fr 1fr; }
}
