@charset "UTF-8";
html {
  --color: hsl(0deg, 0%, 30%);
  --color-aktiv: black;
  --color-hervorhebung: hsl(0deg, 0%, 20%);
  --color-akzent: green;
  --color-visited: green;
  --color-text-inverted: black;
  --hintergrund: #fff;
  --max-breite: 700px;
  --max-breite-gross: 900px;
  --max-breite-riesig: 1200px;
  --intro-h1-schriftgroesse: 18vw;
  --rahmen-farbe: hsl(120, 33%, 82%);
  --rahmen: 1px solid var(--rahmen-farbe);
  --schrift-klein: 14px;
  --letter-spacing-klein: .01em;
  --gradient-farbe-1: rgba(0, 128, 0, 0.2);
  --gradient-farbe-2: rgba(100, 150, 100, 0.3);
  --gradient-farbe-3: rgba(80, 140, 80, 0.2);
  --gradient-farbe-transparenz: rgba(255, 255, 255, 0);
  --hintergrund-flaeche-dunkel: rgba(0, 128, 0, .05);
}

@media (min-width: 1700px) {
  html {
    --max-breite: 900px;
    --schrift-klein: 18px;
    --intro-h1-schriftgroesse: 14vw;
  }
}
@media (prefers-color-scheme: dark) {
  html {
    --color: #7c7c6f;
    --color-aktiv: white;
    --color-hervorhebung: hsl(0deg, 0%, 90%);
    --color-akzent: rgb(0, 128, 0);
    --color-text-inverted: white;
    --hintergrund: #000;
    --hintergrund-flaeche-dunkel: rgba(0, 128, 0, .15);
    --rahmen-farbe: #002600;
    --gradient-farbe-1: rgba(0, 200, 0, 0.4);
    --gradient-farbe-2: rgba(100, 200, 100, 0.5);
    --gradient-farbe-3: rgba(80, 180, 80, 0.4);
    --gradient-farbe-transparenz: rgba(255, 255, 255, 0);
  }
}
header.baumschule-header {
  width: 65vw;
  max-width: var(--max-breite-riesig);
  padding: unset;
  position: relative;
  padding-bottom: 60px;
}
@media (max-width: 1200px) {
  header.baumschule-header {
    width: 85vw;
  }
}
@media (max-width: 800px) {
  header.baumschule-header {
    width: 100%;
  }
}
header.baumschule-header + p {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: var(--max-breite);
  font-size: var(--schrift-klein);
  letter-spacing: var(--letter-spacing-klein);
}
header.baumschule-header figure {
  margin: unset;
}
header.baumschule-header .text-container {
  text-align: center;
  padding-bottom: 60px;
  padding-top: 30px;
}
@media (max-width: 800px) {
  header.baumschule-header .text-container {
    padding-bottom: unset;
  }
}
@keyframes rotate {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}
header.baumschule-header .text-container p {
  position: absolute;
  top: 61.8%;
  left: 70%;
  translate: -50% -50%;
  width: 12em;
  text-wrap: balance;
  line-height: 1.3;
  rotate: -15deg;
  color: var(--color-akzent);
  border: 0.1em dashed currentColor;
  padding: 0.75em 1em;
  border-radius: 50%;
  animation: rotate 10s infinite;
}
@media (max-width: 800px) {
  header.baumschule-header .text-container p {
    position: relative;
    margin-top: 80px;
    left: 50%;
    top: unset;
    translate: -50% 0;
    animation: unset;
  }
}
header.baumschule-header img.schriftzug {
  width: calc(100% - 40px);
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: -80px;
}
@media (max-width: 800px) {
  header.baumschule-header img.schriftzug {
    width: 100%;
  }
}
header.baumschule-header .video-container {
  display: block;
  position: absolute;
  width: 48%;
  top: 55%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  overflow: hidden;
  mask-image: radial-gradient(circle, black 0%, black 0%, transparent 70%);
}
@media (max-width: 800px) {
  header.baumschule-header .video-container {
    top: 12%;
    translate: -50% 0;
    width: 61.8%;
  }
}
header.baumschule-header .video-container:last-child {
  height: auto;
  mask-image: unset;
  bottom: 0;
  left: 20%;
  border-radius: 50%;
}
header.baumschule-header .video-container video {
  width: 100%;
  height: auto;
}
header.baumschule-header .hereinspaziert,
header.baumschule-header .neueroeffnung {
  background-color: yellow;
  color: black;
  position: absolute;
  top: 25%;
  z-index: 1;
  left: 50%;
  translate: -50% 0;
  padding: 0.5em 1em;
  rotate: 15deg;
  border-radius: 0.5em;
}
@keyframes border-blink {
  0% {
    border: 2px solid red;
  }
  80% {
    border: 2px solid orange;
  }
}
@keyframes letter-blink {
  0% {
    color: red;
  }
  20% {
    color: orange;
  }
  40% {
    color: green;
  }
  60% {
    color: blue;
  }
  80% {
    color: indigo;
  }
  100% {
    color: violet;
  }
}
header.baumschule-header .neueroeffnung {
  --delay-step: .25s;
  --initial-delay: 1s;
  --animation-duration: 3s;
  display: flex;
  letter-spacing: 0.05em;
}
header.baumschule-header .neueroeffnung span {
  animation: letter-blink var(--animation-duration) linear infinite;
}
header.baumschule-header .neueroeffnung span:nth-child(1) {
  animation-delay: calc(var(--initial-delay) + 0s);
}
header.baumschule-header .neueroeffnung span:nth-child(2) {
  animation-delay: calc(var(--initial-delay) + 1 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(3) {
  animation-delay: calc(var(--initial-delay) + 2 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(4) {
  animation-delay: calc(var(--initial-delay) + 3 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(5) {
  animation-delay: calc(var(--initial-delay) + 4 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(6) {
  animation-delay: calc(var(--initial-delay) + 5 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(7) {
  animation-delay: calc(var(--initial-delay) + 6 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(8) {
  animation-delay: calc(var(--initial-delay) + 7 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(9) {
  animation-delay: calc(var(--initial-delay) + 8 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(10) {
  animation-delay: calc(var(--initial-delay) + 9 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(11) {
  animation-delay: calc(var(--initial-delay) + 10 * var(--delay-step));
}
header.baumschule-header .neueroeffnung span:nth-child(12) {
  animation-delay: calc(var(--initial-delay) + 11 * var(--delay-step));
}
header.baumschule-header .hereinspaziert {
  border: unset;
  top: 80%;
  left: 12.5%;
  rotate: 45deg;
  animation: unset;
  border: unset;
  background-color: blue;
  color: white;
  padding-right: 2em;
  border-radius: unset;
  clip-path: polygon(0% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%);
}
header.baumschule-header .hereinspaziert::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3.8em;
  height: 100%;
  background-color: darkorange;
  z-index: -1;
  clip-path: polygon(0% 0%, 55% 0%, 100% 50%, 55% 100%, 0% 100%, 45% 50%);
  pointer-events: none;
  animation: hereinspaziert-pfeil 3s cubic-bezier(0, 0.6, 0.6, 1) infinite;
}
@keyframes hereinspaziert-pfeil {
  from {
    transform: translateX(-100%) translateY(-50%);
  }
  to {
    transform: translateX(350%) translateY(-50%);
  }
}
header.baumschule-header img.werbevideo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
}

.regal {
  max-width: var(--max-breite-riesig);
  margin-top: 64px;
}
.regal ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding-top: 1px;
  padding-left: 1px;
}
@media (max-width: 1200px) {
  .regal ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .regal ul {
    grid-template-columns: 1fr;
  }
}
.regal li {
  border: var(--rahmen);
  margin-top: -1px;
  margin-left: -1px;
  padding: unset;
  padding-left: unset;
  display: flex;
  flex-direction: column;
}
.regal li::before {
  all: unset;
}
.regal li:hover {
  background-image: linear-gradient(145deg, rgba(223, 199, 0, 0.1), rgba(112, 158, 106, 0.1));
}
.regal li:hover a, .regal li:hover .status {
  background-color: unset;
  color: var(--color-text-inverted);
}
.regal li .inner-container {
  display: block;
  padding: 1em;
}
.regal li .titelbild {
  perspective: 700px;
  transform-style: preserve-3d;
}
.regal li .titelbild img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.regal li.is-tilting .titelbild img {
  transition: transform 120ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.regal li.checked a, .regal li.checked .status {
  background-color: transparent;
  color: var(--color-aktiv);
}
.regal li.checked .status:hover {
  background-image: linear-gradient(145deg, rgba(223, 199, 0, 0.9), rgba(112, 158, 106, 0.9));
  color: black;
}
.regal li.checked .status {
  background-image: linear-gradient(145deg, rgb(223, 199, 0), rgb(112, 158, 106));
  color: black;
}
.regal li.checked .status::after {
  content: "Abgeschlossen";
}
.regal li.checked .status::before {
  border-radius: 0;
  rotate: 45deg;
  background: currentColor;
  border-color: currentColor;
  scale: 0.6;
}
.regal li a {
  color: var(--color);
  flex: 1;
}
.regal li h3 {
  margin-top: unset;
  margin-bottom: 0.25em;
  text-wrap: balance;
  line-height: 1.4;
}
.regal li .beschreibung {
  font-size: var(--schrift-klein);
  text-wrap: balance;
}
.regal li .status {
  font-size: var(--schrift-klein);
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  margin: 0.5rem;
  border-radius: 100px;
}
.regal li .status:hover {
  background-color: var(--hintergrund-flaeche-dunkel);
  color: var(--color-aktiv);
}
.regal li .status::after {
  content: "Offen";
}
.regal li .status::before {
  display: inline-block;
  content: "";
  translate: 0 0.1em;
  margin-right: 0.4em;
  width: 0.8em;
  height: 0.8em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: translate 300ms, border-radius 300ms, rotate 300ms, scale 300ms;
  transform-origin: center;
}

section.table {
  max-width: var(--max-breite-gross);
  margin: 0 auto;
  box-sizing: border-box;
  padding: unset;
}

.table-wrapper {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--schrift-klein);
  letter-spacing: var(--letter-spacing-klein);
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: unset;
}

.table th,
.table td {
  border-bottom: var(--rahmen);
  padding: 0.6rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--color-hervorhebung);
  font-weight: normal;
}

.table code {
  white-space: nowrap;
}

@font-face {
  font-family: "Graphik";
  src: url("./Graphik-Regular-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABCDiatype";
  src: url("./ABCDiatype-Regular-Trial.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABCDiatypeMono";
  src: url("./ABCDiatypeMono-Regular-Trial.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
html {
  font-family: "ABCDiatype", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 22px;
  /* line-height: 1.4; */
  line-height: 1.5;
  color: var(--color);
  hyphenate-limit-chars: 10 4 4;
  -webkit-text-size-adjust: 100%;
}

* {
  position: relative;
}

*::selection {
  background-color: rgba(0, 128, 0, 0.2);
}

[id] {
  scroll-margin-top: 6rem;
}

@media (min-width: 1700px) {
  html {
    font-size: 32px;
  }
}
body {
  margin: 0;
  background-color: var(--hintergrund);
}

body > header,
body > section,
body > footer,
.termin-navigation {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 0 1rem;
}

.termin-navigation {
  font-size: var(--schrift-klein);
  margin-top: 4rem;
}

.termin-navigation ul {
  margin: unset;
  display: flex;
  justify-content: space-between;
}

.termin-navigation ul li {
  padding: unset;
}
.termin-navigation ul li + li {
  text-align: right;
}

.termin-navigation ul li::before {
  display: none;
}

.anleitung-abschluss {
  max-width: var(--max-breite);
  margin: 2rem auto 0;
  padding: 0 1rem;
  text-align: center;
}

.anleitung-abschluss h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: var(--schrift-klein);
}

.anleitung-abschluss-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--schrift-klein);
  line-height: 1.2;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background-color: var(--hintergrund-flaeche-dunkel);
  color: var(--color);
}
.anleitung-abschluss-toggle:hover {
  background-color: transparent;
  background-image: linear-gradient(145deg, rgba(223, 199, 0, 0.2), rgba(112, 158, 106, 0.2));
  color: var(--color);
}
.anleitung-abschluss-toggle::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 100%;
  border: 1.5px solid currentColor;
  transition: translate 300ms, border-radius 300ms, rotate 300ms, scale 300ms;
  transform-origin: center;
}

.anleitung-abschluss.checked .anleitung-abschluss-toggle {
  background-image: linear-gradient(145deg, rgb(223, 199, 0), rgb(112, 158, 106));
  color: black;
}

.anleitung-abschluss.checked .anleitung-abschluss-toggle::before {
  border-radius: 0;
  rotate: 45deg;
  background: currentColor;
  border-color: currentColor;
  scale: 0.8;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 1rem;
}

h1 {
  color: var(--color-akzent);
  font-size: 3rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 1em 0;
}

h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1.5rem;
}

h3 {
  margin-top: 1em;
  margin-bottom: unset;
}

h2 + *, h3 + * {
  margin-top: unset;
}

a {
  text-decoration: none;
  font-style: normal;
  /* background-color: rgba(0,0,0,.05); */
  color: var(--color-akzent);
}
a:visited {
  color: var(--color-visited);
}

a:hover {
  background-color: var(--color-akzent);
  color: white;
}

button {
  appearance: none;
  all: unset;
  color: var(--color-akzent);
  cursor: pointer;
}

button:hover {
  background-color: var(--color-akzent);
  color: white;
}

strong {
  font-weight: normal;
  color: hsl(0, 0%, 20%);
  color: var(--color-hervorhebung);
}

em {
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 0.1em;
  text-decoration-thickness: 0.03em;
}

.language-badge {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem !important;
}

.language-badge button {
  white-space: nowrap;
}

pre {
  font-family: "ABCDiatypeMono", monospace;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  overflow: scroll;
  padding: 0.5rem 1rem;
  font-variant-ligatures: none;
}

pre:has(+ .language-badge) {
  margin-bottom: unset;
}

p:has(+ pre) {
  margin-bottom: 0.5em;
}

p + pre {
  margin-top: 0.5em;
}

code {
  font-family: "ABCDiatypeMono", monospace;
}

li > code,
p code {
  font-size: 0.8em;
  padding: 0.2em 0.4em;
  background-color: var(--hintergrund-flaeche-dunkel);
  color: var(--color-hervorhebung);
  border-radius: 0.2em;
  white-space: nowrap;
}

section {
  margin-top: 3rem;
}

ol {
  counter-reset: listenummer;
  padding-left: 0;
}

ol > li {
  counter-increment: listenummer;
  padding-left: 2em;
  list-style: none;
}

li > p:first-child {
  margin-top: unset;
}

li > p:last-child {
  margin-bottom: unset;
}

section > ol > li {
  padding-top: 0.5em;
  padding-bottom: 0.4em;
}

ol li::before {
  content: counter(listenummer);
  position: absolute;
  left: 0;
  font-feature-settings: "tnum";
}

ul {
  list-style: none;
  padding-left: 0;
}

ul > li {
  padding-left: 1em;
}

ul > li::before {
  content: "–";
  position: absolute;
  left: 0;
}

ul p:has(+ ul) {
  margin-bottom: unset;
}

footer {
  font-size: var(--schrift-klein);
  letter-spacing: var(--letter-spacing-klein);
}

body > footer {
  margin-top: 8rem;
}

[aria-label=Breadcrumb] {
  max-width: var(--max-breite);
  margin: unset;
  display: flex;
  justify-content: center;
  list-style: none;
  padding-left: 0;
  font-size: var(--schrift-klein);
  letter-spacing: var(--letter-spacing-klein);
  gap: 0.5em;
}

[aria-label=Breadcrumb] li::before {
  content: "";
}

[aria-label=Breadcrumb] li {
  list-style: none;
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
}

[aria-label=Breadcrumb] li + li::before {
  content: "→";
  position: static;
  margin-right: 0.5em;
  opacity: 0.6;
  font-feature-settings: normal;
}

.ist-heute-oder-naechster-termin::after, li.checkpoint::after {
  position: absolute;
  content: "";
  width: 0.35em;
  height: 0.35em;
  translate: -50% -50%;
  background-color: var(--color-akzent);
  border-radius: 100%;
  left: -1rem;
  top: 1.15em;
}

li.checkpoint::after {
  left: -1rem;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--rahmen-farbe);
  border: var(--rahmen);
  border-width: 1.5px;
}
li.checkpoint.ist-heute-oder-naechster-termin::before {
  position: absolute;
  content: "";
  width: 0.35em;
  height: 0.35em;
  translate: -50% -50%;
  background-color: var(--color-akzent);
  border-radius: 100%;
  left: -1rem;
  top: 1.15em;
  z-index: 1;
}

#navigation {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* border-bottom: var(--rahmen); */
  font-size: var(--schrift-klein);
  letter-spacing: var(--letter-spacing-klein);
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(80px);
  /* font-variant-numeric: tabular-nums; */
}

@media (prefers-color-scheme: light) and (min-width: 800px) {
  #navigation:has(+ #navigation-toggle + #intro) {
    background-color: hsla(120, 37%, 96%, 0.8);
  }
}
#navigation ul {
  margin: 0;
  display: flex;
  gap: 1rem;
}

#navigation ul li {
  padding-left: unset;
}

#navigation ul li::before {
  display: none;
}

#navigation .navigation-status {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

#navigation p {
  margin: 0;
}

#navigation .naechster-termin-kontext {
  max-width: 42rem;
}

#navigation-toggle {
  display: none;
}

.kleine-schrift {
  /* font-size: var(--schrift-klein); */
}

ol .kleine-schrift, ul .kleine-schrift {
  margin-bottom: unset;
}

#intro {
  max-width: unset;
  margin-top: unset;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to bottom, hsla(120, 100%, 25%, 0.05), hsla(120, 100%, 25%, 0));
}

#intro p {
  position: relative;
  width: 100%;
  max-width: var(--max-breite);
  font-size: var(--schrift-klein);
  letter-spacing: var(--letter-spacing-klein);
}

@property --winkel {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes rand-umdrehung {
  to {
    --winkel: 360deg;
  }
}
.abschnitt {
  padding-left: 1rem;
  border-left: var(--rahmen);
  margin-top: 4rem;
}

.syntax-vergleich {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
}
@media (max-width: 900px) {
  .syntax-vergleich {
    display: block;
  }
}

.syntax-vergleich-block {
  display: flex;
  flex-direction: column;
}

.syntax-vergleich-block pre {
  margin: 0;
  flex: 1;
  font-size: 0.6em;
}
@media (min-width: 901px) {
  .syntax-vergleich-block pre {
    padding: 0.5rem;
  }
}

@media (max-width: 900px) {
  .syntax-vergleich {
    grid-template-columns: 1fr;
  }
  .syntax-vergleich-block pre {
    font-size: 16px;
  }
}
body > section.gaerten-uebersicht {
  max-width: min(var(--max-breite-riesig), 100vw);
  padding: unset;
  border-top: var(--rahmen);
  margin-top: 4rem;
}

.gaerten-raster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: var(--rahmen);
  overflow: hidden;
  margin: unset;
}

.gaerten-raster li {
  padding-left: 0;
  border-right: var(--rahmen);
  border-bottom: var(--rahmen);
}

.gaerten-raster li::before {
  display: none;
}

.garten-kachel {
  display: grid;
  gap: 0.6rem;
  color: inherit;
  padding: 1rem;
  border: none;
  border-radius: 0;
  /* box-shadow: 0 .25rem 1rem 0 hsla(120, 100%, 25%, .08); */
  transition: background-color 200ms;
}

.garten-kachel:hover {
  background: var(--rahmen-farbe);
  color: inherit;
}

.garten-kachel-bild {
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-akzent);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.garten-kachel-bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.garten-kachel-titel {
  display: block;
  text-align: center;
  font-size: var(--schrift-klein);
  letter-spacing: var(--letter-spacing-klein);
  color: var(--color-hervorhebung);
}

.rand {
  border-radius: 0.5rem;
  border: var(--rahmen);
  box-shadow: 0 0.25rem 1rem 0 hsla(120, 100%, 25%, 0.1);
  --winkel: 0deg;
  padding: 2rem;
  margin-top: 4rem;
  background: white;
}

img {
  width: 100%;
  height: auto;
}

figure.rand, img.rand, video.rand {
  margin: unset;
  margin-top: unset;
  width: 100%;
  height: auto;
  padding: unset;
  display: block;
  overflow: hidden;
}

figure {
  margin: unset;
}

figcaption {
  font-size: 14px;
  margin-top: 0.5rem;
}

.rand > *:first-child {
  margin-top: unset;
}

.rand > *:last-child {
  margin-bottom: unset;
}

.rand-umdrehung {
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem 0 hsla(120, 100%, 25%, 0.1);
  --winkel: 0deg;
  padding: 1rem;
  background: white;
}

.abschnitt .rand-umdrehung {
  font-size: var(--schrift-klein);
}

.rand-umdrehung::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  padding: 1px;
  transform: translate(-50%, -50%);
  animation: rand-umdrehung 6s linear infinite;
  border-radius: 0.55rem;
  background-image: conic-gradient(from var(--winkel), transparent 70%, var(--gradient-farbe-1), var(--gradient-farbe-2), var(--gradient-farbe-3), var(--gradient-farbe-transparenz));
}

#intro h1 {
  /* font-family: "ABCDiatypeMono", monospace; */
  color: rgb(225, 99, 99);
  margin: 0.4em 0.1em 0.4em;
  font-size: var(--intro-h1-schriftgroesse);
  line-height: 0.85;
  color: var(--color-akzent);
  text-align: center;
  letter-spacing: -0.02em;
  text-wrap: unset;
}

#intro h1 .h1-char {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}

#intro h1 .h1-word {
  display: inline-block;
  white-space: nowrap;
}

#intro h1 .h1-char__stage {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#intro h1 .h1-char__glyph {
  display: block;
  will-change: transform, opacity;
}

#intro h1 .h1-char__measure {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: pre;
}

#intro h1 .h1-char__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 1em;
  max-height: 1em;
  margin: auto;
  object-fit: contain;
  pointer-events: none;
  will-change: transform, opacity;
}

@media (prefers-color-scheme: dark) {
  *::selection {
    background-color: rgba(0, 200, 0, 0.3);
  }
  pre {
    background-color: rgba(255, 255, 255, 0.05);
  }
  .rand {
    background-color: var(--hintergrund-flaeche-dunkel);
    box-shadow: 0 0.25rem 1rem 0 hsla(120, 100%, 25%, 0.2);
  }
  .rand-umdrehung {
    background-color: rgb(16, 26, 16);
    box-shadow: 0 0.25rem 1rem 0 hsla(120, 100%, 25%, 0.2);
  }
  #intro {
    background-image: linear-gradient(to bottom, hsla(120, 100%, 25%, 0.1), hsla(120, 100%, 25%, 0));
  }
  #navigation {
    background-color: rgba(0, 0, 0, 0.8);
  }
  #navigation:has(+ #intro) {
    background-color: hsla(120, 100%, 3%, 0.8);
  }
}
@media (max-width: 1200px) {
  .gaerten-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  html {
    font-size: 18px;
  }
  #navigation-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms, visibility 300ms;
  }
  [mobil-navigation-sichtbar] #navigation-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  [mobil-navigation-sichtbar] #navigation {
    translate: 0 -100%;
    visibility: visible;
  }
  #navigation-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    padding: 0.65rem 1rem;
    border: var(--rahmen);
    border-radius: 0.35rem;
    background-color: var(--hintergrund);
    font-size: var(--schrift-klein);
    letter-spacing: var(--letter-spacing-klein);
  }
  #navigation-toggle .navigation-toggle-icon {
    flex-shrink: 0;
  }
  #navigation-toggle:hover {
    background-color: var(--color-akzent);
    color: white;
  }
  #navigation {
    position: fixed;
    z-index: 2;
    top: unset;
    flex-direction: column;
    padding: unset;
    transition: translate 600ms, visibility 600ms;
    top: 100dvh;
    visibility: hidden;
    padding-bottom: 100px;
    background-color: var(--hintergrund);
  }
  [aria-label=Breadcrumb] {
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
  }
  #navigation ul {
    flex-direction: column;
    width: 100%;
    gap: unset;
  }
  #navigation ul li {
    border-bottom: var(--rahmen);
  }
  #navigation ul a, #navigation ul li:not(:has(> a)) {
    padding: 0.5rem 1rem;
    display: block;
    font-size: 1rem h1;
    font-size: 1.4rem;
    text-align: left;
  }
  #intro h1 {
    font-size: 24vw;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
  }
  .gaerten-raster {
    grid-template-columns: 1fr 1fr;
  }
  .naechster-termin-kontext {
    display: none;
  }
  .rand {
    border-radius: unset;
    border-left: unset;
    border-right: unset;
    padding: 1rem;
  }
  .rand-umdrehung {
    border-radius: unset;
  }
  .rand-umdrehung::after {
    border-radius: unset;
    padding-left: unset;
    padding-right: unset;
  }
  section p {
    hyphens: auto;
    letter-spacing: -0.01em;
  }
  body > footer {
    padding-bottom: 100px;
  }
}
.checklist > li {
  user-select: none;
  position: relative;
  padding-left: 1.5em;
  margin-top: 0.5em;
}
.checklist > li::after {
  all: unset;
  content: "";
  position: absolute;
  left: 0.4em;
  top: 0.6em;
  translate: -50% -50%;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  border: 2px solid currentColor;
  transform-origin: center;
  transition: width 150ms, height 150ms;
  cursor: pointer;
}
.checklist > li:hover::after {
  width: 0.7em;
  height: 0.7em;
}
.checklist > li.checked::after {
  background: var(--color-akzent);
  border-color: var(--color-akzent);
  width: 0.6em;
  height: 0.6em;
  border-radius: 0;
  rotate: 45deg;
  scale: 0.8;
}

ul.checklist > li::before {
  all: unset;
}

ol.checklist > li::after {
  top: 1.1em;
}
ol.checklist > li::before {
  display: block;
  text-align: center;
  top: 1.1em;
  left: 0.4em;
  translate: -50% -50%;
  width: 0.8em;
  line-height: 0.8em;
  scale: 0.5;
  font-weight: 600;
}
