/**
 * Single pages: route, Satzung, app
 * One of the stylesheets of the website, loaded in a fixed order by php/include/header.php
 * (list and order: AGENTS.md, "Stylesheets").
 */

/**
 * @section Route
 */
div.map {
  height: 350px;
}
#route-directions {
  margin-top: 2em;
}

/**
 * @section Satzung
 */

#satzung,
#satzung ol {
  list-style-type: none;
  margin-left: 0 !important;
}
#satzung {
  counter-reset: abschnitt paragraph;
  margin-bottom: 3em;
}
#satzung li {
  text-indent: -2em;
  padding-left: 2em;
}
#satzung li::before {
  display: inline-block;
  text-align: right;
  padding-right: 0.3em;
  width: calc(2em - 0.3em);
}
#satzung > p,
#satzung ol > p {
  margin-left: 2em;
  margin-bottom: 0.3em;
}
#satzung > h2:not(:first-child) {
  margin-top: 2em;
}
#satzung > h2::before {
  content: counter(abschnitt, upper-latin) ". ";
  counter-increment: abschnitt;
}
#satzung > li {
  margin-bottom: 2em;
  font-weight: bold;
}
#satzung > li::before {
  content: "§ " counter(paragraph) " ";
  counter-increment: paragraph;
}
#satzung > li > ol {
  font-weight: normal;
  counter-reset: absatz;
}
#satzung > li > ol > li::before {
  content: counter(absatz) ". ";
  counter-increment: absatz;
}
#satzung > li > ol > li > ol {
  counter-reset: absatzliste;
}
#satzung > li > ol > li > ol > li {
  margin-bottom: 0;
}
#satzung > li > ol > li > ol > li::before {
  content: counter(absatzliste, lower-latin) ") ";
  counter-increment: absatzliste;
}

/**
 * @section Vereins-App
 */

.app-stores {
  background-image: url(/img/upload/_3d842cd0-61ff-43cb-af43-de4115ad410f.webp);
  background-size: cover;
  background-position: center 20%;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: 1em 40px;
}
.app-stores a {
  width: 160px;
}
.app-stores a.qrcode {
  aspect-ratio: 1;
  background: var(--color-white);
  border-radius: 10px;
  line-height: 0;
  margin-bottom: 1em;
}
.app-stores a.qrcode img {
  border-radius: inherit;
}
.app-stores a.store {
  min-height: 40px;
}
.app-stores a > img {
  width: 100%;
}
@media (max-width: 990px) {
  .app-stores {
    align-items: center;
  }
}
