/* Einzelne Kurzanleitung */

.guide-article {
  padding: 28px 0 72px;
  background:
    radial-gradient(900px 280px at 10% -40px, rgba(3, 154, 154, 0.08), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--snow) 280px);
}

.guide-hero {
  max-width: 46rem;
  margin-bottom: 28px;
}

.guide-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.guide-crumb a {
  color: var(--teal-deep);
  text-decoration: none;
}

.guide-crumb a:hover {
  text-decoration: underline;
}

.guide-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.guide-hero .lede {
  margin: 14px 0 0;
  max-width: 38rem;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.guide-sheet {
  padding: clamp(22px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(26, 28, 27, 0.04),
    0 18px 50px rgba(26, 28, 27, 0.06);
}

.guide-heading {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.guide-sheet > .guide-heading:first-child,
.guide-flow + .guide-heading {
  margin-top: 0;
}

.guide-copy {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.6;
}

.guide-copy a,
.guide-points a,
.guide-flow__body a {
  color: var(--teal-deep);
  font-weight: 600;
}

.guide-points {
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-points li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-2);
  line-height: 1.5;
}

.guide-points li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.guide-flow {
  list-style: none;
  margin: 8px 0 8px;
  padding: 0;
  position: relative;
}

.guide-flow::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--line) 100%);
  border-radius: 2px;
}

.guide-flow__step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0 22px;
}

.guide-flow__marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: 0 0 0 6px var(--white);
  position: relative;
  z-index: 1;
}

.guide-flow__body > p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}

.guide-shots,
.guide-figures {
  display: grid;
  gap: 12px;
  justify-content: start;
  align-items: start;
}

.guide-shots {
  margin-top: 14px;
}

.guide-figures {
  margin: 8px 0 18px;
}

.guide-shots--single,
.guide-figures--single {
  grid-template-columns: minmax(0, 480px);
}

.guide-shots--pair,
.guide-figures--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 720px);
}

.guide-shots--compact,
.guide-figures--compact {
  grid-template-columns: repeat(auto-fill, minmax(160px, 200px));
  width: 100%;
}

.guide-shot {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--snow);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 28, 27, 0.08);
}

.guide-shots--single .guide-shot,
.guide-figures--single .guide-shot {
  width: 100%;
  max-width: 480px;
}

.guide-shots--pair .guide-shot,
.guide-figures--pair .guide-shot,
.guide-shots--compact .guide-shot,
.guide-figures--compact .guide-shot {
  display: grid;
  place-items: center;
  width: 100%;
  background: var(--snow);
}

.guide-shots--compact .guide-shot,
.guide-figures--compact .guide-shot {
  max-width: 200px;
  height: 180px;
}

.guide-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-shots--single .guide-shot img,
.guide-figures--single .guide-shot img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.guide-shots--pair .guide-shot img,
.guide-figures--pair .guide-shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.guide-shots--compact .guide-shot img,
.guide-figures--compact .guide-shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.guide-shot:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.guide-related {
  margin-top: 42px;
}

.guide-related h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.guide-missing {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.guide-lightbox {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
}

.guide-lightbox::backdrop {
  background: rgba(10, 12, 12, 0.82);
}

.guide-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 32px);
  object-fit: contain;
  border-radius: 12px;
  background: #111;
}

.guide-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.guide-empty {
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .guide-flow::before {
    left: 17px;
  }

  .guide-shots--pair,
  .guide-shots--compact,
  .guide-figures--pair,
  .guide-figures--compact {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .guide-shots--pair .guide-shot,
  .guide-figures--pair .guide-shot {
    max-width: 480px;
  }

  .guide-shots--pair .guide-shot img,
  .guide-figures--pair .guide-shot img {
    max-height: 300px;
  }

  .guide-shots--compact .guide-shot,
  .guide-figures--compact .guide-shot {
    max-width: 200px;
    height: 180px;
  }

  .guide-shots--compact .guide-shot img,
  .guide-figures--compact .guide-shot img {
    max-height: 180px;
  }

  .guide-shots--single,
  .guide-figures--single {
    grid-template-columns: minmax(0, 480px);
  }
}
