:root {
  font-family: "Suez One", serif;
  font-weight: 400;
  font-style: normal;
  --background: #f2f2f2;
  --background-invert: #131313;
  --container: #e8e8e8;
  --nav: #e8e8e8;
  --text-dl: #000;
  --text-ld: #f2f2f2;
  --main-blue: #1a305b;
  --headline: #1a305b;
  --main-blue-rgb: rgba(26, 48, 91, 0.3);
  --main-red: #810a1a;
  --button-rb: #810a1a;
  --rover: rgba(204, 31, 47, 0.3);
  --pfadi: rgba(0, 130, 60, 0.3);
  --juffi: rgba(47, 83, 167, 0.3);
  --woelfling: rgba(255, 100, 0, 0.3);
  --leiter: rgba(128, 128, 128, 0.3);
}

.dark-mode {
  --background: #131313;
  --background-invert: #f2f2f2;
  --container: #252525;
  --nav: #000;
  --text-dl: #f2f2f2;
  --text-ld: #000;
  --headline: #f2f2f2;
  --main-blue: #4780ee;
  --main-blue-rgb: rgba(71, 128, 238, 0.4);
  --main-red: #e86778;
  --button-rb: #4780ee;
  --rover: rgba(204, 31, 47, 0.3);
  --pfadi: rgba(0, 130, 60, 0.3);
  --juffi: rgba(47, 83, 167, 0.3);
  --woelfling: rgba(255, 100, 0, 0.3);
  --leiter: rgba(128, 128, 128, 0.3);
}

body {
  background: var(--background);
  color: var(--text-dl);
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

section.gradient.main {
  background-image: linear-gradient(to top, var(--background) 0%, var(--background) 5%, var(--main-blue-rgb) 45%, var(--main-blue-rgb) 55%, var(--background) 95%, var(--background) 100%);
}
section.gradient.main.small {
  background-image: linear-gradient(to bottom, var(--background) 0%, var(--background) 10%, var(--main-blue-rgb) 45%, var(--main-blue-rgb) 55%, var(--background) 75%, var(--background) 100%);
}
section.gradient.orange {
  background-image: linear-gradient(to top, var(--background) 0%, var(--background) 5%, var(--woelfling) 45%, var(--woelfling) 55%, var(--background) 95%, var(--background) 100%);
}
section.gradient.blue {
  background-image: linear-gradient(to top, var(--background) 0%, var(--background) 5%, var(--juffi) 45%, var(--juffi) 55%, var(--background) 95%, var(--background) 100%);
}
section.gradient.green {
  background-image: linear-gradient(to top, var(--background) 0%, var(--background) 5%, var(--pfadi) 45%, var(--pfadi) 55%, var(--background) 95%, var(--background) 100%);
}
section.gradient.red {
  background-image: linear-gradient(to top, var(--background) 0%, var(--background) 5%, var(--rover) 45%, var(--rover) 55%, var(--background) 95%, var(--background) 100%);
}
section.gradient.green-red {
  background-image: linear-gradient(to bottom, var(--background) 0%, var(--background) 5%, var(--pfadi) 35%, var(--rover) 75%, var(--background) 95%, var(--background) 100%);
}
section.gradient.grey {
  background-image: linear-gradient(to top, var(--background) 0%, var(--background) 5%, var(--leiter) 45%, var(--leiter) 55%, var(--background) 95%, var(--background) 100%);
}

html {
  scrollbar-gutter: stable !important;
  overflow-y: scroll;
}
/* Seite nicht scrollbar, solange ein Fenster (Dialog) oder das Handy-Menü offen ist */
html.no-scroll,
html.no-scroll body {
  overflow: hidden !important;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

:focus-visible {
  outline: 3px solid var(--main-blue);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  header {
    margin-top: 80px;
  }
}
header img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  max-height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
}
@media (min-width: 1024px) {
  header img {
    max-height: 600px;
  }
}
@media (min-width: 1024px) {
  header img {
    -o-object-position: center center;
       object-position: center center;
  }
}
header img.group {
  -o-object-position: center;
     object-position: center;
}
header img.img-leiterrunde {
  -o-object-position: top;
     object-position: top;
}
@media (min-width: 768px) {
  header img.img-leiterrunde {
    -o-object-position: center;
       object-position: center;
  }
}
header div {
  padding: 24px 24px 0 24px;
}
@media (min-width: 768px) {
  header div {
    padding-left: 64px;
    padding-right: 64px;
  }
}
@media (min-width: 1024px) {
  header div {
    padding-left: 192px;
    padding-right: 192px;
  }
}
@media (min-width: 1280px) {
  header div {
    padding-left: 18%;
    padding-right: 18%;
  }
}
@media (min-width: 1436px) {
  header div {
    padding-left: 22%;
    padding-right: 22%;
  }
}
@media (min-width: 1600px) {
  header div {
    padding-left: 20%;
    padding-right: 20%;
  }
}
header div .stufen-logo {
  margin-bottom: 4px;
  height: 60px;
  width: auto;
}
header div .stufen-logo.rover {
  height: 30px;
}

.notice-dialog {
  width: min(480px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid var(--main-blue);
  border-radius: 8px;
  background: var(--container);
  color: var(--text-dl);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.notice-dialog p {
  margin: 12px 0 0 0;
}
.notice-dialog form {
  margin-top: 20px;
}
.notice-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

header .subline {
  margin: 8px 0 0 0;
  font-size: 20px;
}

.headbox {
  margin-top: 80px;
  padding-top: 24px;
}

main img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}
main {
  background-color: var(--background);
}
main section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}
@media (min-width: 768px) {
  main section {
    padding-left: 64px;
    padding-right: 64px;
  }
}
@media (min-width: 1024px) {
  main section {
    padding-left: 192px;
    padding-right: 192px;
  }
}
@media (min-width: 1280px) {
  main section {
    padding-left: 18%;
    padding-right: 18%;
  }
}
@media (min-width: 1436px) {
  main section {
    padding-left: 22%;
    padding-right: 22%;
  }
}
@media (min-width: 1600px) {
  main section {
    padding-left: 20%;
    padding-right: 20%;
  }
}
main section.content p {
  margin: 16px 0 24px 0;
}

footer {
  background-color: var(--nav);
  color: var(--text-dl);
  border-top: 1px solid #a9a9a9;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: auto;
}
@media (min-width: 768px) {
  footer {
    padding-left: 64px;
    padding-right: 64px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: auto;
  }
  footer span:nth-of-type(1) {
    margin-top: 4px;
    grid-column: 1;
    grid-row: 1;
  }
  footer span:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }
  footer span:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
  }
  footer > p {
    grid-column: 1;
    grid-row: 2;
  }
}
@media (min-width: 1024px) {
  footer {
    padding-left: 192px;
    padding-right: 192px;
  }
}
@media (min-width: 1280px) {
  footer {
    padding-left: 18%;
    padding-right: 18%;
  }
}
@media (min-width: 1436px) {
  footer {
    padding-left: 22%;
    padding-right: 22%;
  }
}
@media (min-width: 1600px) {
  footer {
    padding-left: 20%;
    padding-right: 20%;
  }
}
footer p {
  margin: 0;
}
footer a {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: var(--text-dl);
  text-decoration: none;
}
footer span {
  display: flex;
  flex-direction: column;
}
footer span ul {
  padding: 0;
  margin: 0;
}
footer span ul li {
  list-style: none;
}

h1 {
  font-size: 35px;
  padding: 24px 0px 0 0px;
  line-height: 45px;
  font-family: "Suez One", serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  color: var(--headline);
}
h2,
h3,
h4,
h5,
h6 {
  font-family: "Suez One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  margin: 0;
  color: var(--headline);
}

p {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

img.groundstyle {
  border-radius: 8px;
}

img.none {
  margin: 0;
}

article {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
article > p {
  margin: 0px 0 0 0;
}
article ul {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}
article > ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
article div {
  padding: 8px 16px;
  background-color: var(--container);
  border-radius: 8px;
  border: 1px solid var(--main-blue);
}
article div span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
article div span p {
  margin: 0;
}
article div > p {
  margin: 0;
}
article div ul {
  margin: 0;
  padding: 0;
}
article div ul li {
  list-style: none;
}
article div ul li a {
  color: var(--button-rb);
  text-decoration: none;
}
@media (min-width: 768px) {
  article div.small {
    width: 55%;
  }
}
@media (min-width: 1024px) {
  article div.small {
    width: 50%;
  }
}
article div.m {
  margin: 16px 0 32px 0;
}
article form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
article form input,
article form select,
article form textarea {
  background-color: var(--background);
  color: var(--text-dl);
  min-height: 50px;
  border: 1px solid #a9a9a9;
  border-radius: 4px;
  outline: none;
  padding: 4px 8px 4px 24px;
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  font-size: 16px;
}
article form textarea {
  min-height: 200px;
  padding-top: 16px;
}
article img {
  margin-bottom: 4px;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 768px) {
  article img {
    height: 300px;
  }
}
article.gap {
  margin-top: 16px;
}
article > button,
article > a.containedButton {
  margin-top: 16px;
}
article .team {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: var(--container);
  border: 1px solid var(--main-blue);
  border-radius: 8px;
  overflow: hidden;
}
article .team img {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  aspect-ratio: 4/5;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  border-radius: 0;
  margin: 0;
}
article .team div {
  padding: 10px 12px 14px;
  background: none;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
article .team div h3 {
  font-size: 20px;
}
article .team div p {
  font-size: 15px;
  line-height: 1.35;
}
article .team div p span {
  font-size: 14px;
  color: var(--main-blue);
}
article .team-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  margin-inline: -24px;
  padding: 0 24px 8px;
  background: none;
  border: none;
  border-radius: 0;
  scrollbar-width: none;
}
article .team-list::-webkit-scrollbar {
  display: none;
}
article .team-list .team {
  flex: 0 0 44%;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  article .team-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
}
@media (min-width: 1024px) {
  article .team-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

button,
a.textButton,
a.containedButton {
  width: -moz-max-content !important;
  width: max-content !important;
  border-radius: 8px;
  padding: 8px 8px 8px 16px;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Suez One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}
button.textButton,
a.textButton {
  height: 45px;
  padding-left: 0px;
  background-color: transparent;
  color: var(--button-rb);
}
button.textButton::after,
a.textButton::after {
  content: "";
  width: 24px;
  height: 24px;
  background-image: url("../Icons/link-arrow_main.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}
button.textButton:hover::after,
a.textButton:hover::after {
  transform: translateX(4px);
}
button.containedButton,
a.containedButton {
  height: 45px;
  width: auto;
  background-color: transparent;
  background-color: var(--button-rb);
  color: #f2f2f2;
  padding-right: 16px;
}

body.dark-mode button::after,
body.dark-mode a.textButton::after {
  background-image: url("../Icons/link-arrow_main_blue_light.svg");
}

a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 8px 16px;
  margin: -8px -16px;
  border-radius: 8px;
}
a.card-link:hover h2 {
  color: var(--button-rb);
}

/* Beschriftung und Auswahlfeld im Kontaktformular */
.form-label {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 600;
}
article form select {
  cursor: pointer;
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  /* eigener Pfeil, passend zur Textfarbe */
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dl) 50%), linear-gradient(135deg, var(--text-dl) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-hint {
  font-size: 14px !important;
  margin: 0 0 8px 0;
  opacity: 0.8;
}
.form-hint a {
  color: var(--button-rb);
}

@media (min-width: 768px) {
  section.grid-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
  section.grid-card h2 {
    grid-column: 1/-1;
  }
}
@media (min-width: 768px) {
  section article.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
}
section article.grid p {
  grid-column: 1/-1;
}
@media (min-width: 768px) {
  section article.grid-group {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
}
section article.grid-group p:last-of-type {
  grid-column: 1/-1;
}
@media (min-width: 768px) {
  section article.grid-group img {
    min-height: 250px;
  }
}
section article.grid-group.col p {
  grid-column: 1/-1 !important;
}
section article.grid-group.leiter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}/* ---------------------------------------------- Pfadfindergruß (Hand-Illustration) */
.gruss {
  /* DPSG-Stufenfarben */
  --c1: #ff6400;             /* Zeigefinger: Wölflinge */
  --c2: #2f53a7;             /* Mittelfinger: Juffis */
  --c3: #00823c;             /* Ringfinger: Pfadis */
  --c4: #cc1f2f;             /* Daumen und kleiner Finger: Rover */
  display: grid;
  gap: 20px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
/* Im Dunkelmodus nur die Listenmarkierungen etwas aufhellen, damit sie auf dunklem Grund sichtbar bleiben */
.dark-mode .gruss-list {
  --c2: #6b93ee;
}
@media (min-width: 768px) {
  .gruss {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    gap: 32px;
  }
}
.gruss [data-part="1"] { --c: var(--c1); }
.gruss [data-part="2"] { --c: var(--c2); }
.gruss [data-part="3"] { --c: var(--c3); }
.gruss [data-part="4"] { --c: var(--c4); }

.gruss-hand {
  margin: 0;
  padding: 16px 16px 12px;
  background: var(--container);
  border: 1px solid var(--main-blue);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.gruss-hand svg {
  width: 100%;
  max-width: 190px;
  height: auto;
  overflow: hidden;
  /* Handballen ist abgeschnitten: unten sanft ausblenden statt harter Kante */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
/* Handy: Hand schmal links, Erklärungen rechts daneben, statt untereinander */
@media (max-width: 767px) {
  .gruss {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .gruss-hand {
    padding: 10px 6px;
    position: sticky;
    top: 16px;
  }
  .gruss-hand figcaption {
    display: none;
  }
  .gruss-list {
    gap: 8px;
  }
  .gruss-item {
    padding: 4px 0 4px 10px;
  }
  .gruss-item strong {
    font-size: 16px !important;
    line-height: 1.25;
  }
  .gruss-item span {
    font-size: 14px !important;
    line-height: 1.35;
  }
}
.gruss-hand .part path {
  fill: var(--c);
}
.gruss-hand .outline path {
  fill: var(--text-dl);
}
.gruss-hand .part {
  cursor: pointer;
  transform-box: fill-box;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.gruss-hand .part.is-active {
  filter: drop-shadow(0 0 6px var(--c));
}
.gruss.has-active .gruss-hand .part:not(.is-active) {
  opacity: 0.2;
}
.gruss-hand figcaption {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  opacity: 0.8;
  text-align: center;
}

/* Einblend-Animation: die Hand wird Finger für Finger "ausgemalt" */
@keyframes gruss-ausmalen {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.gruss-hand .part[data-part="1"] { animation: gruss-ausmalen 0.5s 0.15s ease-out backwards; }
.gruss-hand .part[data-part="2"] { animation: gruss-ausmalen 0.5s 0.35s ease-out backwards; }
.gruss-hand .part[data-part="3"] { animation: gruss-ausmalen 0.5s 0.55s ease-out backwards; }
.gruss-hand .part[data-part="4"] { animation: gruss-ausmalen 0.5s 0.8s ease-out backwards; }

.gruss-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gruss-item {
  scroll-margin: 96px 0 16px; /* Abstand zur festen Navigation beim Hinscrollen */
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-left: 4px solid var(--c);
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.gruss-item strong {
  font-family: "Suez One", serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--headline);
}
.gruss-item span {
  display: block;
  font-size: 16px;
}
.gruss-item.is-active {
  background-color: var(--container);
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .gruss-hand .part,
  .gruss-item {
    animation: none !important;
    transition: none !important;
  }
}
/* ---------------------------------------------- Ende Pfadfindergruß */
/*# sourceMappingURL=content.css.map */