
/* leistungsreihe.css */
/**
 * leistungsreihe.css - die Leistungen auf der Startseite.
 *
 * Geblaettert, nicht geschoben. Alle Karten stehen flach in einer
 * Liste; sichtbar ist immer nur eine Seite davon. Wie viele Karten
 * auf eine Seite gehen, sagt --sicht - und zwar je Fensterbreite
 * etwas anderes. Das Skript liest den Wert aus und rechnet die
 * Seiten danach.
 *
 * Der Wechsel laeuft in zwei Takten: die alten Karten sinken ab
 * (220 ms), erst danach legen sich die neuen einzeln hin, 85 ms
 * auseinander. Nacheinander, nicht uebereinander - acht Karten,
 * die sich gleichzeitig in verschiedene Richtungen bewegen, sind
 * das, was unruhig wirkt.
 */

.atu-leist-reihe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 250px 0 clamp(48px, 5.5vw, 76px);
  color: #0a1722;
  background: #eef2f6;
  border-top: 1px solid #e1e8ee;
  border-bottom: 1px solid #e1e8ee;
}

.atu-leist-licht {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(44% 46% at 88% 2%, rgba(52, 204, 255, .14), transparent 70%),
    radial-gradient(40% 44% at 4% 96%, rgba(14, 111, 158, .09), transparent 72%);
}

.atu-leist-reihe .atu-leist-kopf,
.atu-leist-reihe .atu-leist-schiene,
.atu-leist-reihe .atu-leist-steuer {
  width: min(100% - 2 * clamp(16px, 2.4vw, 32px), 1440px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.atu-leist-reihe .atu-leist-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(30px, 3.4vw, 46px);
}

.atu-leist-vor {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #0e6f9e;
}

.atu-leist-vor::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.atu-leist-reihe .atu-leist-titel {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.025em;
  color: #0a1722;
}

.atu-leist-reihe .atu-leist-text {
  margin: 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.72;
  color: #4f5e6b;
}

.atu-leist-reihe .atu-leist-text strong { color: #0a1722; font-weight: 600; }

/* --------------------------------------------------------------
   Das Blatt
   -------------------------------------------------------------- */

.atu-leist-schiene {
  --sicht: 4;
  --luecke: 20px;
}

/* Waehrend des Wechsels sind die alten Karten schon weg und die
   neuen noch nicht da. Damit der Abschnitt dabei nicht
   zusammenfaellt, haelt das Skript hier kurz die Hoehe fest. */
.atu-leist-fenster {
  position: relative;
  padding: 10px 0 14px;
}

.atu-leist-spur {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--sicht), minmax(0, 1fr));
  gap: var(--luecke);
  margin: 0;
  padding: 0;
}

.atu-leist-karte { min-width: 0; }

/* Ohne JavaScript bleibt es bei den ersten vier - die haben ihr
   Bild im noscript. Sobald das Skript uebernimmt, heisst die
   Liste "ist-bereit" und diese Regel greift nicht mehr. */
.atu-leist-spur:not(.ist-bereit) .atu-leist-karte:nth-child(n+5) { display: none; }

.atu-leist-spur.ist-bereit .atu-leist-karte.ist-aus { display: none; }

.atu-leist-reihe .atu-leist-flaeche {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 0 0 #e4eaef, 0 17px 30px -30px rgba(10, 23, 34, .75);
  transition: transform .22s ease, box-shadow .22s ease;
}

.atu-leist-reihe .atu-leist-flaeche { cursor: default; }
.atu-leist-reihe .atu-leist-flaeche a { cursor: pointer; }

.atu-leist-reihe .atu-leist-flaeche:hover,
.atu-leist-reihe .atu-leist-flaeche:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 0 #dbe3ea, 0 30px 42px -42px rgba(10, 23, 34, .85);
}

.atu-leist-flaeche a:focus-visible { outline: 2px solid #0e6f9e; outline-offset: 3px; }

/* --------------------------------------------------------------
   Das Bild
   -------------------------------------------------------------- */

.atu-leist-bild {
  display: block;
  position: relative;
  aspect-ratio: 350 / 220;
  overflow: hidden;
  background: #e8eef3;
}

/* Solange noch kein Bild da ist, laeuft ein ruhiges Flimmern -
   besser als ein graues Loch. */
.atu-leist-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #e8eef3 20%, #f4f8fb 42%, #e8eef3 64%);
  background-size: 260% 100%;
  animation: atu-leist-flimmern 1.5s linear infinite;
  transition: opacity .45s ease;
}

.atu-leist-bild.ist-fertig::after { opacity: 0; animation: none; }

@keyframes atu-leist-flimmern {
  0%   { background-position: 130% 0; }
  100% { background-position: -30% 0; }
}

.atu-leist-ersatz {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, #e8eef3, #dfe8ef);
  color: #0e6f9e;
}

.atu-leist-reihe .atu-leist-ersatz svg { width: 42px; height: 42px; }

.atu-leist-reihe .atu-leist-bild img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .5s ease, transform .45s cubic-bezier(.2, .7, .3, 1);
}

.atu-leist-reihe .atu-leist-bild img.ist-da { opacity: 1; }

.atu-leist-flaeche:hover .atu-leist-bild img.ist-da { transform: scale(1.05); }

/* --------------------------------------------------------------
   Der Text
   -------------------------------------------------------------- */

.atu-leist-bereich {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* Vorher #8a97a2 - auf Weiss sind das 2,99:1, bei 10,5 Pixeln
     und Versalien deutlich zu wenig. Verlangt sind 4,5:1, dieser
     Ton bringt 4,98:1. Grau bleibt es, nur eine Spur satter. */
  color: #66717c;
}

.atu-leist-inhalt {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 19px 17px;
}

.atu-leist-name {
  display: block;
  text-decoration: none;
  transition: color .2s ease;
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.015em;
  color: #0a1722;
}

.atu-leist-anriss {
  margin: 9px 0 20px;
  min-height: calc(4 * 1.64em);
  font-size: 13.5px;
  line-height: 1.64;
  color: #5b6a76;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.atu-leist-mehr {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: auto;
  padding: 9px 15px;
  border: 1px solid #34ccff;
  border-radius: 999px;
  background: rgba(10, 23, 34, .83);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: background .22s ease;
}

.atu-leist-name:hover { color: #0e6f9e; }

.atu-leist-mehr:hover,
.atu-leist-mehr:focus-visible { background: #0a1722; }

.atu-leist-pfeil { display: grid; place-items: center; color: #34ccff; }

.atu-leist-reihe .atu-leist-pfeil svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.atu-leist-mehr:hover .atu-leist-pfeil svg,
.atu-leist-mehr:focus-visible .atu-leist-pfeil svg { transform: translateX(3px); }

/* --------------------------------------------------------------
   Der Wechsel - Auffaechern
   -------------------------------------------------------------- */

/* --n ist die Stelle der Karte auf ihrer Seite und macht den
   Versatz. Gesetzt wird sie im Skript. */
.atu-leist-karte.geht {
  animation: atu-leist-raus .22s cubic-bezier(.5, 0, .9, .3) both;
}

.atu-leist-karte.kommt {
  animation: atu-leist-rein .54s cubic-bezier(.18, .74, .26, 1) both;
  animation-delay: calc(var(--n, 0) * 85ms);
}

@keyframes atu-leist-raus {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(16px) scale(.97); }
}

@keyframes atu-leist-rein {
  from { opacity: 0; transform: translateY(36px) scale(.95) rotate(.7deg); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------
   Die Steuerung
   -------------------------------------------------------------- */

.atu-leist-steuer {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  margin-top: clamp(8px, 1.2vw, 16px);
}

.atu-leist-knoepfe { display: flex; gap: 10px; }

.atu-leist-knopf {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d7e0e8;
  border-radius: 50%;
  background: #fff;
  color: #0e6f9e;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease,
              box-shadow .2s ease, transform .2s ease;
}

.atu-leist-reihe .atu-leist-knopf svg {
  width: 19px;
  height: 19px;
  transition: transform .14s ease;
}

.atu-leist-knopf:hover {
  background: #0e6f9e;
  border-color: #0e6f9e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -13px rgba(10, 23, 34, .9);
}

.atu-leist-knopf[data-richtung="1"]:active svg  { transform: translateX(3px); }
.atu-leist-knopf[data-richtung="-1"]:active svg { transform: translateX(-3px); }

.atu-leist-knopf:focus-visible { outline: 2px solid #0e6f9e; outline-offset: 3px; }

.atu-leist-knopf[disabled] { opacity: .35; cursor: default; }

.atu-leist-knopf[disabled]:hover {
  background: #fff;
  border-color: #d7e0e8;
  color: #0e6f9e;
  transform: none;
  box-shadow: none;
}

/* Punkte statt Schiebebalken: einer je Seite, der aktive wird
   zum Strich. */
.atu-leist-punkte {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}

/* Ab dreizehn Seiten bleiben die Punkte weg - siehe
   leistungsreihe.js. Dann schiebt der Stand nach rechts. */
.atu-leist-punkte[hidden] { display: none; }
.atu-leist-steuer:has(.atu-leist-punkte[hidden]) .atu-leist-stand { margin-left: auto; }

.atu-leist-punkt {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd6de;
  cursor: pointer;
  transition: width .35s cubic-bezier(.2, .7, .3, 1), background .3s ease;
}

.atu-leist-punkt:hover { background: #93a5b2; }

.atu-leist-punkt.ist-hier {
  width: 30px;
  background: linear-gradient(90deg, #0e6f9e, #34ccff);
}

/* Tastaturfokus ohne Umriss.

   Ein Ring um einen 9 Punkte breiten Kreis ist groesser als
   der Punkt selbst und sitzt am Ende der Reihe um den langen
   Strich - das sah nach Fehler aus. Statt einer Linie faerbt
   sich der Punkt: der ruhende wird dunkelblau, der aktive
   verliert sein helles Ende. Sichtbar bleibt es, nur ohne
   Rahmen. */
.atu-leist-punkt:focus-visible {
  outline: none;
  background: #0e6f9e;
}

.atu-leist-punkt.ist-hier:focus-visible {
  background: linear-gradient(90deg, #063f5a, #0e6f9e);
}

.atu-leist-stand {
  margin: 0;
  font-size: 13.5px;
  color: #8a97a2;
}

.atu-leist-stand strong {
  font-size: 15px;
  font-weight: 600;
  color: #0a1722;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------
   Schmalere Fenster
   -------------------------------------------------------------- */

@media (max-width: 1180px) {
  .atu-leist-schiene { --sicht: 3; }
}

@media (max-width: 900px) {
  .atu-leist-reihe .atu-leist-kopf { grid-template-columns: 1fr; align-items: start; }
  .atu-leist-schiene { --sicht: 2; --luecke: 16px; }
  .atu-leist-spur:not(.ist-bereit) .atu-leist-karte:nth-child(n+3) { display: none; }
}

@media (max-width: 767px) {
  .atu-leist-reihe { padding-top: 46px; }
}

@media (max-width: 560px) {
  .atu-leist-schiene { --sicht: 1; }
  .atu-leist-spur:not(.ist-bereit) .atu-leist-karte:nth-child(n+2) { display: none; }
  .atu-leist-steuer { flex-wrap: wrap; gap: 14px 18px; }
  .atu-leist-punkte { order: 3; width: 100%; justify-content: center; margin-right: 0; }
  .atu-leist-stand { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-leist-reihe .atu-leist-flaeche,
  .atu-leist-reihe .atu-leist-bild img,
  .atu-leist-reihe .atu-leist-mehr,
  .atu-leist-reihe .atu-leist-knopf,
  .atu-leist-reihe .atu-leist-knopf svg,
  .atu-leist-reihe .atu-leist-pfeil,
  .atu-leist-reihe .atu-leist-pfeil svg,
  .atu-leist-punkt { transition: none; }

  .atu-leist-karte.geht,
  .atu-leist-karte.kommt { animation: none; }

  .atu-leist-bild::after { animation: none; }
}

/* --------------------------------------------------------------
   Der Rahmen, in dem der Abschnitt steht
   -------------------------------------------------------------- */

.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-leist),
.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-leist)
  > .wp-block-group__inner-container {
  background: none !important;
  background-image: none !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-leist)::before {
  content: none !important;
}


/* aktuelles.css */
.atu-akt {
  --f-dunkel: #0a1722;
  --f-hell:   #34ccff;
  --f-akzent: #0e6f9e;
  --f-text:   #434e57;
  --f-leise:  #68747d;
  --weich: cubic-bezier(.22, .61, .36, 1);
}
.atu-akt *, .atu-akt *::before, .atu-akt *::after { box-sizing: border-box; }
.atu-akt img { display: block; max-width: 100%; }
.atu-akt a { text-decoration: none; }

.atu-akt-kopf {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 40px);
}
.atu-akt-vorlauf {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--f-akzent);
}
.atu-akt-vorlauf::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
}
.atu-akt-kopf h2 {
  margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; font-weight: 600;
  letter-spacing: -.022em; color: var(--f-dunkel);
}
.atu-akt-alle {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--f-akzent);
  transition: color .2s ease;
}
.atu-akt-alle:hover { color: var(--f-dunkel); }
.atu-akt-mehr {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--f-akzent);
}
.atu-akt-pfeil { display: block; width: 19px; height: 19px; }
.atu-akt-alle .atu-akt-pfeil, .atu-akt-mehr .atu-akt-pfeil { transition: transform .22s var(--weich); }
.atu-akt-alle:hover .atu-akt-pfeil, .atu-akt-mehr:hover .atu-akt-pfeil { transform: translateX(4px); }

.atu-akt-stempel {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--f-leise);
}
.atu-akt-stempel i {
  width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5;
}

.atu-akt-raster {
  display: grid; grid-template-columns: 1fr minmax(380px, 460px);
  gap: clamp(30px, 4vw, 68px);
}

.atu-akt-liste { display: grid; align-content: start; }
.atu-akt-zeile {
  position: relative; display: grid;
  grid-template-columns: 1fr auto; gap: 6px 20px; align-items: baseline;
  padding: 19px 14px 19px 20px; border-radius: 14px;
  transition: background-color .22s ease;
}

.atu-akt-zeile::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0;
  border-radius: 999px; background: var(--f-hell);
  transform: translateY(-50%);
  transition: height .3s var(--weich);
}
.atu-akt-zeile + .atu-akt-zeile::before {
  content: ""; position: absolute; left: 20px; right: 16%; top: 0; height: 1px;
  background: linear-gradient(90deg, #d7e1ea, rgba(215, 225, 234, .25) 58%, transparent);
}
.atu-akt-zeile.ist-dran { background: #f4f8fb; }
.atu-akt-zeile.ist-dran::after { height: calc(100% - 26px); }

.atu-akt-kopfzeile {
  grid-column: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.atu-akt-neu {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--f-akzent); background: #e7f3fa;
}
.atu-akt-zeile h3 {
  grid-column: 1; margin: 2px 0 0;
  font-size: clamp(18px, 1.55vw, 23px); line-height: 1.26; font-weight: 600;
  letter-spacing: -.018em; color: var(--f-dunkel);
  transition: color .22s ease, transform .22s var(--weich);
}
.atu-akt-zeile.ist-dran h3 { color: var(--f-akzent); transform: translateX(3px); }

.atu-akt-min {
  grid-row: 1 / span 2; grid-column: 2; align-self: center;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--f-leise);
  background: #eef3f7; white-space: nowrap;
  transition: background-color .22s ease, color .22s ease;
}
.atu-akt-zeile.ist-dran .atu-akt-min { background: #e7f3fa; color: var(--f-akzent); }

.atu-akt-fenster { position: sticky; top: 28px; padding-bottom: 86px; }

.atu-akt-stapel { display: grid; perspective: 1400px; }
.atu-akt-karte {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  --rang: 0; --kipp: 1; --seit: 1;
  border-radius: 20px; overflow: hidden; background: #fff;

  /* Die Lage im Stapel steht in einer eigenen Eigenschaft, weil
     sie unten noch einmal gebraucht wird. */
  --stapel:
    translate(calc(var(--rang) * var(--seit) * 5px),
              calc(var(--rang) * 26px))
    scale(calc(1 - var(--rang) * .03))
    rotate(calc(var(--rang) * var(--kipp) * 1.5deg));

  transform-origin: 50% 0;
  transform: var(--stapel);
  box-shadow: 0 1px 0 0 #e4eaef, 0 18px 34px -30px rgba(10, 23, 34, .8);
  pointer-events: none;
  transition: transform .52s var(--weich), opacity .34s var(--weich),
              box-shadow .52s var(--weich);
}

/* -------------------------------------------------------------------
   Der Stapel gegen das Einblenden

   Die Karten tragen auch "atu-ein", damit sie beim Herunterrollen
   erscheinen. Sobald das geschehen ist, steht in einblenden.css

       .atu-ein.ist-da { opacity: 1; transform: none }

   und das sind zwei Klassen - genau so stark wie
   ".atu-akt-karte.ist-weg" hier. Bei Gleichstand gewinnt, was
   spaeter steht, und einblenden.css steckt im Buendel nach.css,
   das hinter dieser Datei geladen wird.

   Die Folge: "transform: none" loescht die Staffelung, alle sechs
   Karten liegen deckungsgleich uebereinander, und "ist-weg" kann
   die hinteren nicht mehr ausblenden - man sieht einen Haufen
   statt eines Stapels.

   Darum hier eine Klasse mehr. Nicht schoen, aber ehrlicher als
   ein !important, und es bleibt an der Stelle, die es angeht.
   ------------------------------------------------------------------- */

.atu-akt-karte.atu-ein.ist-da { transform: var(--stapel); }
.atu-akt-karte.atu-ein.ist-weg { opacity: 0; }
.atu-akt-karte.ist-dran {
  pointer-events: auto;
  box-shadow: 0 1px 0 0 #dbe3ea, 0 34px 52px -38px rgba(10, 23, 34, .9);
}

.atu-akt-karte-bild { display: block; }
.atu-akt-karte-bild::after { transition: opacity .3s ease; opacity: 1; }
.atu-akt-karte-bild:hover::after { opacity: .82; }
.atu-akt-karte.ist-dran .atu-akt-karte-bild:hover img { transform: scale(1.04); }

.atu-akt-karte h4 a { color: inherit; transition: color .2s ease; }
.atu-akt-karte h4 a:hover { color: var(--f-akzent); }

.atu-akt-karte .atu-akt-mehr { transition: color .2s ease; }
.atu-akt-karte .atu-akt-mehr:hover { color: var(--f-dunkel); }
.atu-akt-karte .atu-akt-mehr:hover .atu-akt-pfeil { transform: translateX(4px); }

.atu-akt-karte { cursor: default; }
.atu-akt-karte a { cursor: pointer; }

.atu-akt-karte.ist-weg { opacity: 0; }

.atu-akt-karte > * { transition: opacity .3s var(--weich); }
.atu-akt-karte:not(.ist-dran) > * { opacity: 0; }

.atu-akt-karte:not(.ist-dran) {
  box-shadow: 0 0 0 1px #e7edf2, 0 14px 26px -24px rgba(10, 23, 34, .55);
}
.atu-akt-karte-bild img { transition: transform .5s var(--weich); }

.atu-akt-karte-bild {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; background: #dde5ec;
}
.atu-akt-karte-bild img { width: 100%; height: 100%; object-fit: cover; }

.atu-akt-karte-bild::after {
  content: ""; position: absolute; inset: auto 0 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 28, .62));
}
.atu-akt-karte-datum {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: #fff;
}
.atu-akt-karte-datum i {
  width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6;
}
.atu-akt-karte-text { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.atu-akt-karte h4 {
  margin: 0 0 10px; font-size: 20px; line-height: 1.28; font-weight: 600;
  letter-spacing: -.018em; color: var(--f-dunkel);
}

.atu-akt-karte p {
  margin: 0 0 18px; font-size: 15.5px; line-height: 1.62; color: var(--f-text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

.atu-akt-karte .atu-akt-mehr { margin-top: auto; align-self: flex-start; }

@media (max-width: 1100px) {
  .atu-akt-raster { grid-template-columns: 1fr; }
  .atu-akt-fenster { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-akt-karte { transform: none; transition: none; }
  .atu-akt-karte:not(.ist-dran) { opacity: 0; }
  .atu-akt-karte-bild img, .atu-akt-zeile::after, .atu-akt-pfeil { transition: none; }
}

/* karte.css */
.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-karte),
.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-karte)
  > .wp-block-group__inner-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
}

.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-karte)::before {
  content: none !important;
}

.atu-karte {
  --hell:  #34ccff;
  --grund: #0a1722;
  --text:  #9fb2c1;

  position: relative;
  isolation: isolate;

  overflow: clip;
  padding: clamp(54px, 5.6vw, 86px) 0 clamp(44px, 4.6vw, 70px);
  background: var(--grund);
  color: #fff;
}

.atu-karte::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 70% at 50% 33%, rgba(14, 111, 158, .5), transparent 68%),
    radial-gradient(41% 56% at 96% 100%, rgba(52, 204, 255, .16), transparent 70%);
}

.atu-karte::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.atu-karte-innen {
  width: min(100% - 2 * clamp(16px, 2.4vw, 32px), 1440px);
  margin-inline: auto;
}

.atu-karte-kopf {
  margin: 0 0 clamp(24px, 3vw, 42px);
  text-align: center;
}

.atu-karte-vor {
  display: inline-block;
  margin: 0 0 15px;
  padding: 7px 16px 8px;
  border: 1px solid rgba(52, 204, 255, .3);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--hell);
}

.atu-karte-titel {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: #fff;
}

.atu-karte-text {
  margin: 18px 0 0;
  font-size: calc(17.5px * var(--k, 1) + 2px);
  line-height: 1.84;
  color: var(--text);
}

@media (max-width: 1366px) {
  .atu-karte-titel { font-size: 35px; }
}

@media (max-width: 900px) {
  .atu-karte-text {
    font-size: calc(16px * var(--k, 1) + 2px);
    line-height: 1.75;
  }
}

@media (max-width: 767px) {
  .atu-karte-titel { font-size: 25px; }
}

.atu-karte-wink {
  margin: 0 0 10px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(159, 178, 193, .72);
}

.atu-karte-feld {
  position: relative;
  margin-inline: auto;
  max-width: 960px;
}

.atu-karte-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.atu-karte-bezirk { cursor: pointer; }

.atu-karte-linie:focus { outline: none; }

.atu-karte-linie {
  fill: rgba(255, 255, 255, .05);
  stroke: rgba(140, 204, 238, .5);
  stroke-width: 2.2;
  stroke-linejoin: round;
  transition: fill .2s ease, stroke .2s ease, stroke-width .2s ease;
}

.atu-karte-bezirk.atu-karte-fest .atu-karte-linie {
  fill: rgba(52, 204, 255, .1);
  stroke: rgba(52, 204, 255, .78);
  stroke-width: 2.6;
}

.atu-karte-bezirk.atu-karte-fest .atu-karte-schrift { fill: rgba(255, 255, 255, .85); }

.atu-karte-bezirk.atu-karte-an .atu-karte-linie,
.atu-karte-linie:focus-visible {
  fill: rgba(52, 204, 255, .17);
  stroke: var(--hell);
  stroke-width: 3;
  filter: drop-shadow(0 0 9px rgba(52, 204, 255, .65));
}

.atu-karte-schrift {
  font-family: inherit;
  font-weight: 500;
  letter-spacing: .01em;
  text-anchor: middle;
  fill: rgba(255, 255, 255, .58);
  pointer-events: none;
  transition: fill .2s ease;
}

.atu-karte-bezirk.atu-karte-an .atu-karte-schrift { fill: #fff; }

.atu-karte-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 8px 15px 9px;
  border: 1px solid rgba(52, 204, 255, .45);
  border-radius: 10px;
  background: rgba(8, 20, 30, .92);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;

  max-width: calc(100% - 8px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .14s ease;
}

.atu-karte.atu-karte-zeigt .atu-karte-tip { opacity: 1; }

.atu-karte-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(14px, 1.8vw, 26px);
  padding-top: clamp(16px, 2vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.atu-karte-tafel {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 760px;
}

.atu-karte-tafel-wort {
  margin: 0 0 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(159, 178, 193, .75);
}

.atu-karte-orte {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.02em;
}

.atu-karte-ort {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: color .2s ease;
}

.atu-karte-ort:not(.atu-karte-ort-an):hover { color: #fff; }

.atu-karte-ort-an {
  color: var(--hell);
  cursor: default;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.atu-karte-ort:focus-visible {
  outline: 2px solid var(--hell);
  outline-offset: 4px;
  border-radius: 3px;
}

.atu-karte-punkt {
  color: rgba(255, 255, 255, .28);
  user-select: none;
}

.atu-karte-satz {
  margin: 10px 0 0;
  min-height: calc(3 * 1.65em);
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.atu-karte-satz.atu-karte-frisch {
  animation: atu-karte-auf .28s ease both;
}

@keyframes atu-karte-auf {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

.atu-karte-knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px 13px 23px;
  border-radius: 999px;
  background: var(--hell);
  font-size: 14.5px;
  font-weight: 600;
  color: #06293c;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.atu-karte-knopf:hover,
.atu-karte-knopf:focus-visible {
  background: #fff;
  color: #06293c;
  transform: translateY(-2px);
}

.atu-karte-pfeil {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(6, 41, 60, .14);
}

.atu-karte-pfeil svg { display: block; width: 15px; height: 15px; }

@media (max-width: 760px) {
  .atu-karte-leiste { justify-content: flex-start; }
  .atu-karte-knopf { width: 100%; justify-content: space-between; }

  .atu-karte-schrift { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-karte-linie,
  .atu-karte-schrift,
  .atu-karte-ort,
  .atu-karte-knopf { transition: none; }

  .atu-karte-satz.atu-karte-frisch { animation: none; }
}


/* ablauf.css */
.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-ablauf),
.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-ablauf)
  > .wp-block-group__inner-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
}

.wp-block-group[class*="atu-e-"]:has(> .wp-block-group__inner-container > .atu-ablauf)::before {
  content: none !important;
}

.atu-ablauf {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(56px, 6vw, 96px) 0 clamp(60px, 6.4vw, 104px);
  background: #f6f9fc;
  border-top: 1px solid #e6edf3;
  border-bottom: 1px solid #e6edf3;
  color: #0a1722;
}

.atu-ablauf-licht {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 58% at 6% 24%, rgba(52, 204, 255, .2), transparent 68%),
    radial-gradient(40% 50% at 96% 88%, rgba(14, 111, 158, .11), transparent 72%);
}

.atu-ablauf-innen {
  width: min(100% - 2 * clamp(16px, 2.4vw, 32px), 1440px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(36px, 4.6vw, 86px);
  align-items: start;
}

.atu-ablauf-vor {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #0e6f9e;
}

.atu-ablauf-vor::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.atu-ablauf .atu-ablauf-titel {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.028em;
  color: #0a1722;
}

.atu-ablauf .atu-ablauf-lead {
  margin: 16px 0 clamp(26px, 3vw, 40px);
  max-width: 46ch;
  font-size: 16.5px;
  line-height: 1.68;
  color: #51606d;
}

.atu-ablauf-tafel {
  border: 1px solid #e3ecf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 56px -44px rgba(10, 23, 34, .8);
  overflow: hidden;
}

.atu-ablauf-blaetter {
  display: grid;
  padding: clamp(24px, 2.6vw, 36px);
}

.atu-ablauf-blatt {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
}

.atu-ablauf-geist {
  position: absolute;
  top: -22px;
  right: -6px;
  font-size: clamp(90px, 9vw, 132px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.05em;
  color: rgba(14, 111, 158, .07);
  pointer-events: none;
  user-select: none;
}

.atu-ablauf .atu-ablauf-zaehler {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3ae;
}

.atu-ablauf .atu-ablauf-zaehler b { color: #0e6f9e; }

.atu-ablauf .atu-ablauf-blatt h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.022em;
  color: #0a1722;
}

.atu-ablauf .atu-ablauf-satz {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.68;
  color: #5b6a76;
}

.atu-ablauf-reiter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #eef3f7;
  background: #fbfdfe;
}

.atu-ablauf-reiter-knopf {
  position: relative;
  padding: 14px 8px 15px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #8795a1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.atu-ablauf-reiter-knopf + .atu-ablauf-reiter-knopf { box-shadow: inset 1px 0 0 #eef3f7; }
.atu-ablauf-reiter-knopf:hover { color: #0a1722; background: #f4f9fc; }
.atu-ablauf-reiter-knopf.ist-an { color: #0e6f9e; cursor: default; }
.atu-ablauf-reiter-knopf:focus-visible { outline: 2px solid #0e6f9e; outline-offset: -3px; }

.atu-ablauf-lauf {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #e8eff5;
  overflow: hidden;
}

.atu-ablauf .atu-ablauf-lauf i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #0e6f9e, #34ccff);
}

.atu-ablauf-reiter-knopf.ist-vorbei .atu-ablauf-lauf i { transform: scaleX(1); opacity: .45; }

.atu-ablauf-tafel.laeuft .atu-ablauf-reiter-knopf.ist-an .atu-ablauf-lauf i {
  animation: atu-ablauf-fuellen 6.5s linear forwards;
}

@keyframes atu-ablauf-fuellen {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.atu-ablauf-tafel:hover .atu-ablauf-reiter-knopf.ist-an .atu-ablauf-lauf i,
.atu-ablauf-tafel:focus-within .atu-ablauf-reiter-knopf.ist-an .atu-ablauf-lauf i {
  animation-play-state: paused;
}

.atu-ablauf-tafel.laeuft .atu-ablauf-blatt { visibility: hidden; opacity: 0; }

.atu-ablauf-tafel.laeuft .atu-ablauf-blatt.ist-an {
  visibility: visible;
  opacity: 1;
  animation: atu-ablauf-auf .42s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes atu-ablauf-auf {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.atu-ablauf-ruf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: clamp(24px, 2.6vw, 34px) 0 0;
  font-size: 14.5px;
  color: #5b6a76;
}

.atu-ablauf .atu-ablauf-ruf a {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #0e6f9e;
  text-decoration: none;
  transition: color .18s ease;
}

.atu-ablauf .atu-ablauf-ruf a:hover { color: #0a1722; }
.atu-ablauf-ruf span { flex: 1 1 100%; font-size: 13px; color: #8795a1; }

.atu-ablauf-karte {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 0 0 #e6edf3, 0 34px 60px -46px rgba(10, 23, 34, .9);
  padding: clamp(24px, 2.4vw, 32px);
}

.atu-ablauf .atu-ablauf-karte-kopf h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #0a1722;
}

.atu-ablauf .atu-ablauf-karte-kopf p {
  margin: 7px 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7a86;
}

.atu-ablauf .atu-kontakt { margin: 0; padding: 0; background: none; }
.atu-ablauf .atu-kontakt-kopf { display: none; }

.atu-ablauf .atu-kontakt-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.atu-ablauf .atu-kf-ganz { grid-column: 1 / -1; }

.atu-ablauf .atu-kf label {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #7b8995;
}

.atu-ablauf .atu-kf input,
.atu-ablauf .atu-kf select,
.atu-ablauf .atu-kf textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #dde6ed;
  border-radius: 11px;
  background: #f7fafc;
  font: inherit;
  font-size: 15px;
  color: #0a1722;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.atu-ablauf .atu-kf textarea { min-height: 96px; resize: vertical; }

.atu-ablauf .atu-kf input:focus,
.atu-ablauf .atu-kf select:focus,
.atu-ablauf .atu-kf textarea:focus {
  outline: none;
  border-color: #34ccff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(52, 204, 255, .18);
}

.atu-ablauf .atu-kontakt-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.atu-ablauf .atu-kontakt-schutz {
  flex: 1 1 240px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b7a86;
}

.atu-ablauf .atu-kontakt-senden {
  margin-left: auto;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: #0e6f9e;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.atu-ablauf .atu-kontakt-senden:hover { background: #0a1722; }
.atu-ablauf .atu-kontakt-pfeil { width: 17px; height: 17px; }

@media (max-width: 1020px) {
  .atu-ablauf-innen { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .atu-ablauf-reiter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atu-ablauf-reiter-knopf:nth-child(3) { box-shadow: none; }
  .atu-ablauf-reiter-knopf:nth-child(n+3) { box-shadow: inset 0 1px 0 #eef3f7; }
  .atu-ablauf-reiter-knopf:nth-child(4) { box-shadow: inset 1px 0 0 #eef3f7, inset 0 1px 0 #eef3f7; }
  .atu-ablauf-geist { font-size: 78px; top: -16px; }
  .atu-ablauf .atu-kontakt-raster { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-ablauf-tafel.laeuft .atu-ablauf-blatt.ist-an { animation: none; }

  .atu-ablauf-tafel .atu-ablauf-reiter-knopf.ist-an .atu-ablauf-lauf i {
    animation: none;
    transform: scaleX(1);
  }
  .atu-ablauf .atu-ablauf-lauf i,
  .atu-ablauf .atu-ablauf-reiter-knopf,
  .atu-ablauf .atu-kontakt-senden,
  .atu-ablauf .atu-kf input,
  .atu-ablauf .atu-kf select,
  .atu-ablauf .atu-kf textarea { transition: none; }
}


/* fahrzeug.css */
.atu-fahrt {
  position: relative;
  display: block;
  line-height: 0;
}

.atu-fahrt-wagen {
  position: relative;
  display: block;
  transform-origin: 50% 92%;
  animation: atu-fahrt-wippen 2.3s ease-in-out infinite;
  will-change: transform;
}

.atu-fahrt-wagen > :first-child,
.atu-fahrt-wagen > :first-child img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes atu-fahrt-wippen {
  0%   { transform: translateY(0)      rotate(0deg); }
  28%  { transform: translateY(-2px)   rotate(-.16deg); }
  53%  { transform: translateY(-.4px)  rotate(.05deg); }
  76%  { transform: translateY(-1.4px) rotate(-.09deg); }
  100% { transform: translateY(0)      rotate(0deg); }
}

.atu-fahrt-rad {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  width: var(--d);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--n)) scaleX(var(--q));
  pointer-events: none;
  z-index: 2;
}

.atu-fahrt .atu-fahrt-felge {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.atu-fahrt-dreh {
  transform-origin: 0 0;
  animation: atu-fahrt-drehen 1.25s linear infinite;
  will-change: transform;
}

@keyframes atu-fahrt-drehen {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .atu-fahrt-wagen { animation: none; }
  .atu-fahrt-rad { display: none; }
}


.atu-wetter-laeuft .atu-fahrt-altrad{display:none}

/* seite.css */
/* Ueber dem Wagen bleibt Platz fuer den Himmel. 284 Punkte sind am
   breiten Schirm ausgemessen; auf dem Handy ist das Feld halb so
   breit, die Wolken sind es auch - und der Platz ueber ihnen muss
   im selben Verhaeltnis kleiner werden, sonst steht dort ein leeres
   Band. Den Faktor setzt wolken.js am Feld; ohne ihn (Skript noch
   nicht gelaufen) bleibt es bei den vollen 284. */
.atu-wetter-laeuft .atu-fahrt {
  margin-top: calc(284px * var(--masz, 1));
}

html:not(.atu-wetter-laeuft) .atu-fahrt-rad {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .atu-fahrt-rad { display: none; }
}

html.atu-wetter-still .atu-fahrt,
html.atu-wetter-still .atu-fahrt *,
html.atu-wetter-still .atu-fahrt *::before,
html.atu-wetter-still .atu-fahrt *::after {
  animation-play-state: paused !important;
}


/* wolken.css */
@property --w1 { syntax: '<color>'; inherits: true; initial-value: #d8dfe7; }
@property --w2 { syntax: '<color>'; inherits: true; initial-value: #b3bdc9; }
@property --w3 { syntax: '<color>'; inherits: true; initial-value: #8d9aa8; }
@property --w4 { syntax: '<color>'; inherits: true; initial-value: #6f7e8e; }

@property --sk1 { syntax: '<color>';  inherits: false; initial-value: rgba(255,246,224,.55); }
@property --sk2 { syntax: '<color>';  inherits: false; initial-value: rgba(255,238,202,.3); }
@property --sk3 { syntax: '<color>';  inherits: false; initial-value: rgba(255,234,198,.14); }
@property --sscheibe { syntax: '<number>'; inherits: false; initial-value: 0; }

@property --wdunkel { syntax: '<number>'; inherits: true;  initial-value: 1; }
@property --wsatt   { syntax: '<number>'; inherits: true;  initial-value: 1; }
@property --sdunkel { syntax: '<number>'; inherits: false; initial-value: 1; }

@property --lx { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --ly { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --ls { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --sz { syntax: '<number>'; inherits: false; initial-value: 1; }

.atu-himmel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--oben, -46%);
  height: var(--hoch, 80%);
  z-index: 0;
  pointer-events: none;

  transition: --w1 8s ease, --w2 8s ease, --w3 8s ease, --w4 8s ease,
              --wdunkel 3s ease, --wsatt 3s ease;
}

.atu-sonne {
  position: absolute;
  left: var(--sx, 72%);
  top: var(--sy, -5%);
  width: var(--sg, 150px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
              var(--sk1) 0%,
              var(--sk1) calc(1% + 22% * var(--sscheibe, 0)),
              var(--sk2) calc(5% + 27% * var(--sscheibe, 0)),
              var(--sk3) 56%,
              rgba(255, 232, 194, 0) 100%);
  animation: atu-sonne-zyklus  var(--zyklus, 72s) ease-in-out infinite,
             atu-sonne-steht 1s linear forwards;

  transition: --sk1 3s ease, --sk2 3s ease, --sk3 3s ease,
              --sscheibe 3s ease, --sdunkel 3s ease;
}

@keyframes atu-sonne-zyklus {
  0%, 14%   { opacity: 1; }
  36%, 68%  { opacity: var(--sdunkel, .14); }
  88%, 100% { opacity: 1; }
}

@keyframes atu-sonne-steigen {
  from { translate: -50% -50%; }
  to   { translate: -50% -74%; }
}

@keyframes atu-sonne-steht {
  from, to { translate: -50% -50%; }
}

.atu-wolke {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--b);
  height: calc(var(--b) * .524);

  translate: calc(-50% + var(--lx)) var(--ly);
  scale: calc(var(--ls, 1) * var(--sz, 1));
  transform-origin: 50% 58%;
  opacity: var(--o);
  animation: atu-wolke-wiegen var(--t) ease-in-out infinite alternate,
             atu-wolke-reise var(--reise, 90s) ease-in-out infinite alternate;
  animation-delay: var(--d), var(--dr);
  will-change: transform, translate, scale;
}

@keyframes atu-wolke-reise {
  from { --lx: 0px;         --ly: 0px; }
  to   { --lx: var(--rx, 0px); --ly: var(--ry, 0px); }
}

@keyframes atu-wolke-wiegen {
  from { transform: translate(var(--weg), 0); }
  to   { transform: translate(calc(var(--weg) * -1), calc(var(--b) * -.012)); }
}

.atu-wolke svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;

  transform-origin: 50% 58%;
  animation: atu-wolke-duester var(--zyklus, 72s) ease-in-out infinite,
             atu-wolke-atmen var(--ta) ease-in-out infinite alternate;
  animation-delay: 0s, var(--da);
}

@keyframes atu-wolke-atmen {
  from { scale: var(--a1); translate: calc(var(--aw) * -1) calc(var(--ah) * -1); }
  to   { scale: var(--a2); translate: var(--aw) var(--ah); }
}

@keyframes atu-wolke-duester {
  0%, 14%   { filter: brightness(1) saturate(1); }
  36%, 68%  { filter: brightness(var(--wdunkel, .78))
                      saturate(var(--wsatt, 1.3)); }
  88%, 100% { filter: brightness(1) saturate(1); }
}

.atu-regen {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--regenoben, -16%);
  bottom: 0;
  z-index: 4;
  opacity: 0;
  animation: atu-regen-zyklus var(--zyklus, 72s) ease-in-out infinite;
  pointer-events: none;
}

@keyframes atu-regen-zyklus {
  0%, 18%   { opacity: 0; }
  38%, 68%  { opacity: 1; }
  86%, 100% { opacity: 0; }
}

.atu-tropfen {
  position: absolute;
  left: var(--x);
  top: 0;
  width: 0;
  height: 100%;
  animation: atu-tropfen-fall var(--t) linear infinite;
  animation-delay: var(--d);
}

.atu-tropfen > i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--dick, 1.3px);
  height: var(--lang, 17px);
  border-radius: 2px;
  background: linear-gradient(180deg,
              rgba(176, 199, 217, 0),
              rgba(150, 177, 199, var(--sicht, .5)));
}

@keyframes atu-tropfen-fall {
  0%   { transform: translate3d(0, -22%, 0);                        opacity: 0; }
  12%  {                                                            opacity: 1; }
  86%  {                                                            opacity: 1; }
  100% { transform: translate3d(var(--weg, -42px), 112%, 0);        opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-himmel,
  .atu-regen { display: none; }
}

.atu-nass {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  animation: atu-regen-zyklus var(--zyklus, 72s) ease-in-out infinite;
  pointer-events: none;
}

.atu-platzer {
  position: absolute;
  left: calc(var(--x) + var(--lx));
  top: calc(var(--y) + var(--ly));
  width: var(--g, 6px);
  aspect-ratio: 1 / .72;
  translate: -50% -50%;
  border: 1.1px solid rgba(233, 246, 255, 1);
  border-radius: 50%;
  opacity: 0;
  animation: atu-platzer-auf var(--t) ease-out var(--d) infinite;
}

.atu-platzer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.1px;
  height: 2.1px;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(240, 250, 255, .95);
}

@keyframes atu-platzer-auf {
  0%        { transform: scale(.22); opacity: 0; }
  3%        {                        opacity: .95; }
  15%       { transform: scale(1);   opacity: 0; }
  100%      { transform: scale(1);   opacity: 0; }
}

.atu-rinnsal {
  position: absolute;
  left: calc(var(--x) + var(--lx));
  top: calc(var(--y) + var(--ly));
  width: var(--b, 2.4px);
  height: calc(var(--b, 2.4px) * 1.25);
  translate: -50% 0;
  border-radius: 48% 48% 54% 54%;
  background: linear-gradient(180deg,
              rgba(238, 247, 253, .85), rgba(183, 209, 231, .5));
  opacity: 0;
  animation: atu-rinnsal-lauf var(--t) cubic-bezier(.55, 0, .75, .55)
             var(--d) infinite;
}

.atu-rinnsal::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 60%;
  width: 1px;
  height: var(--weit);
  translate: -50% 0;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  background: linear-gradient(180deg,
              rgba(226, 240, 250, 0), rgba(214, 234, 248, .55));
  animation: atu-spur-wachsen var(--t) cubic-bezier(.55, 0, .75, .55)
             var(--d) infinite;
}

@keyframes atu-rinnsal-lauf {
  0%   { transform: rotate(var(--kipp, 0deg)) translateY(0);          opacity: 0; }
  10%  {                                                        opacity: .9; }
  74%  {                                                        opacity: .9; }
  100% { transform: rotate(var(--kipp, 0deg)) translateY(var(--weit)); opacity: 0; }
}

@keyframes atu-spur-wachsen {
  0%   { transform: scaleY(0); opacity: 0; }
  10%  {                       opacity: 1; }
  74%  {                       opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-nass { display: none; }
}


/* schnee.css */
.atu-schnee {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--schneeoben, -40%);
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.atu-schnee-hinten { z-index: 0; }
.atu-schnee-vorn   { z-index: 4; }

.atu-flocke {
  position: absolute;
  left: var(--x);
  top: 0;
  width: 0;
  height: 100%;
  animation: atu-flocke-fall var(--t) linear infinite;
  animation-delay: var(--d);
}

@keyframes atu-flocke-fall {
  0%   { transform: translate3d(0, -8%, 0);              opacity: 0; }
  7%   {                                                 opacity: 1; }
  90%  {                                                 opacity: 1; }
  100% { transform: translate3d(var(--weg), 108%, 0);    opacity: 0; }
}

.atu-flocke > i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--g, 3px);
  height: var(--g, 3px);
  border-radius: 50%;

  opacity: calc(var(--o, .9)
                * clamp(0, (var(--dichte, 1) - var(--schwelle, 0)) * 20, 1));
  background: radial-gradient(circle at 34% 28%,
              #ffffff 0%, #eef5fc 42%, #c6d9ea 100%);
  box-shadow: 0 .5px 1.5px rgba(104, 140, 174, .38);
  animation: atu-flocke-pendeln var(--tp) ease-in-out infinite alternate;
  animation-delay: var(--dp);
}

.atu-flocke.fern > i {
  animation: none;
}

@keyframes atu-flocke-pendeln {
  from { transform: translateX(calc(var(--s) * -1)); }
  to   { transform: translateX(var(--s)); }
}

.atu-firn {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.atu-firn svg {
  display: block;
  width: 100%;
  height: 100%;

  filter: drop-shadow(0 .7px .4px rgba(132, 158, 181, .75));
}

.atu-firn path {
  opacity: 0;
  animation: var(--fn) var(--fw, 16s) cubic-bezier(.32, .7, .35, 1)
             var(--fd, 0s) forwards;
}

.atu-firn ellipse {
  transform-box: view-box;
  transform-origin: var(--ox) var(--oy);
  transform: scaleY(.02);
  opacity: 0;
  animation: atu-firn-wachsen var(--fw, 16s) cubic-bezier(.32, .7, .35, 1)
             var(--fd, 0s) forwards;
}

@keyframes atu-firn-wachsen {
  0%   { transform: scaleY(.02); opacity: 0; }
  12%  {                         opacity: 1; }
  100% { transform: scaleY(1);   opacity: 1; }
}

.atu-tauflocken {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.atu-tauflocke {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--g, 3px);
  height: var(--g, 3px);
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%,
              #fff 0%, rgba(255, 255, 255, .82) 56%, rgba(206, 228, 245, .55) 100%);
  opacity: 0;
  animation: atu-tauen var(--t) ease-in-out var(--d) infinite;
}

@keyframes atu-tauen {
  0%   { transform: translateY(-5px) scale(.35); opacity: 0; }
  4%   { transform: translateY(0)    scale(1);   opacity: 1; }
  26%  { transform: translateY(0)    scale(1);   opacity: 1; }
  38%  { transform: translateY(0)    scale(.72); opacity: .8; }
  50%  { transform: translateY(0)    scale(.3);  opacity: 0; }
  100% { transform: translateY(0)    scale(.3);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-schnee,
  .atu-tauflocken { display: none; }
  .atu-firn path,
  .atu-firn ellipse { animation: none; transform: scaleY(1); opacity: 1; }
}

.atu-firn.taut path {

  animation: var(--ft) 8s cubic-bezier(.4, .1, .5, .95) forwards;
}

.atu-firn.taut ellipse {
  animation: atu-firn-tauen 8s cubic-bezier(.4, .02, .72, .55) forwards;
}

@keyframes atu-firn-tauen {
  0%   { transform: scaleY(1);   opacity: 1; }
  55%  { transform: scaleY(.52); opacity: 1; }
  82%  { transform: scaleY(.2);  opacity: .85; }
  100% { transform: scaleY(.02); opacity: 0; }
}


/* blaetter.css */
.atu-wetter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.atu-wetter-hinten { z-index: 0; }
.atu-wetter-vorn   { z-index: 3; }

.atu-blatt {
  position: absolute;
  left: 0;
  top: var(--y);
  width: 100%;
  height: 0;
  animation: atu-blatt-bahn var(--t) linear infinite;
  animation-delay: var(--d);
}

@keyframes atu-blatt-bahn {
  from { transform: translateX(108%); }
  to   { transform: translateX(-14%); }
}

.atu-blatt > i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: var(--g);
  opacity: var(--o);
  filter: hue-rotate(var(--farbe, 0deg)) brightness(var(--licht, 1));
  animation: atu-blatt-taumeln var(--tt) ease-in-out infinite,
             atu-blatt-schweben var(--ts) ease-in-out infinite alternate;
}

@keyframes atu-blatt-taumeln {
  0%   { transform: rotate(0deg)   rotate3d(1, .4, 0, 0deg); }
  25%  { transform: rotate(90deg)  rotate3d(1, .4, 0, 70deg); }
  50%  { transform: rotate(180deg) rotate3d(1, .4, 0, 0deg); }
  75%  { transform: rotate(270deg) rotate3d(1, .4, 0, -70deg); }
  100% { transform: rotate(360deg) rotate3d(1, .4, 0, 0deg); }
}

@keyframes atu-blatt-schweben {
  from { translate: 0 calc(var(--h) * -1); }
  to   { translate: 0 var(--h); }
}

.atu-blatt img { display: block; height: 100%; width: auto; }

.atu-haftblatt {
  position: absolute;
  left: 0;
  top: 0;
  height: var(--g);
  translate: -50% -50%;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.atu-haftblatt > span { display: block; height: 100%; }
.atu-haftblatt img { display: block; height: 100%; width: auto; }

.atu-haftblatt.haftet > span {
  animation: atu-haft-zittern 1.15s ease-in-out infinite;
}

@keyframes atu-haft-zittern {
  0%, 100% { transform: rotate(-3.5deg) scaleX(1); }
  45%      { transform: rotate(2.5deg) scaleX(.97); }
  70%      { transform: rotate(-1deg) scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .atu-wetter { display: none; }
  .atu-haftblatt { display: none; }
}


/* fruehling.css */
.atu-fruehling {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--fruehoben, -34%);
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.atu-fruehling-hinten { z-index: 0; }
.atu-fruehling-vorn   { z-index: 4; }

.atu-pollen {
  position: absolute;
  left: 0;
  top: var(--y);
  width: 100%;
  height: 0;

  animation: atu-pollen-zug var(--t) linear infinite backwards;
  animation-delay: var(--d);
}

@keyframes atu-pollen-zug {
  from { transform: translateX(110%); }
  to   { transform: translateX(-16%); }
}

.atu-pollen > i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--g);
  height: var(--g);
  opacity: var(--o, .9);
  transform-origin: 50% 84%;
  animation: atu-pollen-schweben var(--ts) ease-in-out infinite alternate,
             atu-pollen-wiegen   var(--tw) ease-in-out infinite alternate;
  animation-delay: var(--ds), var(--dw);
}

.atu-pollen svg { display: block; width: 100%; height: 100%; overflow: visible; }

@keyframes atu-pollen-schweben {
  from { translate: 0 calc(var(--h) * -1); }
  to   { translate: 0 var(--h); }
}

@keyframes atu-pollen-wiegen {
  from { rotate: -17deg; }
  to   { rotate: 15deg; }
}

.atu-falter {
  position: absolute;
  left: 0;
  top: var(--y);
  width: 100%;
  height: 0;
  animation: atu-durchzug var(--t) linear infinite backwards;
  animation-delay: var(--d);
}

@keyframes atu-durchzug {
  0%     { transform: translateX(112%);  opacity: 0; }
  1.5%   {                              opacity: 1; }
  35%    {                              opacity: 1; }
  37.5%  { transform: translateX(-20%); opacity: 0; }
  100%   { transform: translateX(-20%); opacity: 0; }
}

.atu-falter > i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--g);
  height: var(--g);
  opacity: var(--o, 1);
  animation: atu-falter-huepfen var(--th) ease-in-out infinite alternate;
  animation-delay: var(--dh);
}

.atu-falter svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  rotate: -90deg;
}

@keyframes atu-falter-huepfen {
  from { translate: 0 calc(var(--h) * -1); rotate: -9deg; }
  to   { translate: 0 var(--h);            rotate: 10deg; }
}

/* Die Fluegel klappen um die Laengsachse des Koerpers. Die liegt
   bei x 20 im Zeichenkasten, deshalb steht der Drehpunkt dort
   und nicht in der Mitte des Umrisses. Ohne diese Regel schlaegt
   nichts: die Schleife darunter ist dann zwar da, aber niemand
   ruft sie auf, und der Falter zieht als Aufkleber vorbei. */
.atu-falter-fluegel {
  transform-box: view-box;
  transform-origin: 20px 15px;
  animation: atu-falter-schlag var(--ts) ease-in-out infinite alternate;
}

@keyframes atu-falter-schlag {
  from { transform: scaleX(1); }
  to   { transform: scaleX(.17); }
}

@media (prefers-reduced-motion: reduce) {
  .atu-fruehling { display: none; }
}

.atu-bluete {
  position: absolute;
  left: 0;
  top: var(--y);
  width: 100%;
  height: 0;
  animation: atu-bluete-zug var(--t) linear infinite backwards;
  animation-delay: var(--d);
}

@keyframes atu-bluete-zug {
  from { transform: translateX(110%); }
  to   { transform: translateX(-16%); }
}

.atu-bluete > i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--g);
  height: var(--g);
  opacity: var(--o, .95);
  animation: atu-bluete-drehen   var(--td) linear infinite,
             atu-bluete-schweben var(--ts) ease-in-out infinite alternate;
  animation-delay: var(--dd), var(--ds);
}

.atu-bluete svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: atu-bluete-kanten var(--tk) ease-in-out infinite alternate;
  animation-delay: var(--dk);
}

@keyframes atu-bluete-drehen   { to { rotate: var(--dreh); } }
@keyframes atu-bluete-schweben { from { translate: 0 calc(var(--h) * -1); }
                                 to   { translate: 0 var(--h); } }
@keyframes atu-bluete-kanten   { from { transform: scaleX(1); }
                                 to   { transform: scaleX(.22); } }

.atu-vogel {
  position: absolute;
  left: 0;
  top: var(--y);
  width: 100%;
  height: 0;
  animation: atu-durchzug var(--t) linear infinite backwards;
  animation-delay: var(--d);
}

.atu-vogel > i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--g);
  height: calc(var(--g) * .75);
  opacity: var(--o, .55);
  animation: atu-vogel-gleiten var(--th) ease-in-out infinite alternate;
}

.atu-vogel svg { display: block; width: 100%; height: 100%; overflow: visible; }

@keyframes atu-vogel-gleiten {
  from { translate: 0 calc(var(--h) * -1); rotate: 4deg; }
  to   { translate: 0 var(--h);            rotate: -3.5deg; }
}

/* In der Seitenansicht sieht man einen Fluegel, nicht zwei. Er
   dreht um die Schulter bei (26.6,24) - um die Bildmitte gedreht
   wanderte er quer ueber den Ruecken. */
.atu-vogel-fluegel {
  transform-box: view-box;
  transform-origin: 26.6px 24px;
  animation: atu-vogel-schlag var(--ts) ease-in-out infinite alternate;
}

/* Die Beine pendeln um die Huefte, und zwar deutlich langsamer
   als der Fluegel schlaegt - sie haengen ja nur im Fahrtwind,
   sie arbeiten nicht. Ein, zwei Grad reichen; mehr sieht nach
   Zappeln aus. */
.atu-vogel-beine {
  transform-box: view-box;
  transform-origin: 27px 33px;
  animation: atu-vogel-schlenkern var(--tb) ease-in-out infinite alternate;
}

@keyframes atu-vogel-schlenkern {
  from { transform: rotate(-5deg); }
  to   { transform: rotate(7deg); }
}

@keyframes atu-vogel-schlag {
  from { transform: rotate(-26deg); }
  to   { transform: rotate(24deg); }
}


/* sommer.css */
.atu-sommer .atu-sonne {
  animation: atu-sommer-sonne var(--tag, 40s) linear infinite;
}

@keyframes atu-sommer-sonne {

  0%        { translate: -50% -50%; scale: 1;    opacity: 1; }
  16%       { translate: -50% -57%; scale: 1.1;  opacity: 1; }
  30%       { translate: -50% -52%; scale: 1.02; opacity: .95; }
  44%       { translate: -50% -26%; scale: .84;  opacity: .45; }
  54%       { translate: -50% -8%;  scale: .74;  opacity: 0; }
  78%       { translate: -50% -8%;  scale: .74;  opacity: 0; }
  92%       { translate: -50% -42%; scale: .94;  opacity: .9; }
  100%      { translate: -50% -50%; scale: 1;    opacity: 1; }
}

.atu-sommer .atu-wolke {
  animation: atu-wolke-wiegen var(--t) ease-in-out infinite alternate,
             atu-wolke-reise var(--reise, 90s) ease-in-out infinite alternate,
             atu-sommer-wolkengroesse var(--tag, 40s) ease-in-out infinite;
  animation-delay: var(--d), var(--dr), 0s;
}

@keyframes atu-sommer-wolkengroesse {
  0%        { --sz: 1; }
  14%, 28%  { --sz: .88; }
  40%, 52%  { --sz: 1.06; }
  70%, 77%  { --sz: .92; }
  100%      { --sz: 1; }
}

.atu-sommer .atu-himmel {
  animation: atu-sommer-wolkenton var(--tag, 40s) linear infinite;
}

@keyframes atu-sommer-wolkenton {
  0%, 22%   { --w1: #ffffff; --w2: #f3f9ff; --w3: #dceaf7; --w4: #c2d9ee; }
  34%, 52%  { --w1: #9aa6b4; --w2: #788494; --w3: #5b6775; --w4: #434f5d; }
  70%, 76%  { --w1: #6f7d8e; --w2: #55616f; --w3: #3f4b58; --w4: #2d3843; }
  100%      { --w1: #ffffff; --w2: #f3f9ff; --w3: #dceaf7; --w4: #c2d9ee; }
}

.atu-sommer .atu-wolke svg {
  animation: atu-sommer-wolkenlicht var(--tag, 40s) linear infinite,
             atu-wolke-atmen var(--ta) ease-in-out infinite alternate;
  animation-delay: 0s, var(--da);
}

@keyframes atu-sommer-wolkenlicht {
  0%, 58%   { filter: drop-shadow(0 0 0 rgba(255, 247, 216, 0)); }

  70%, 76%  { filter: drop-shadow(0 0 8px rgba(255, 247, 216, .8)); }
  94%, 100% { filter: drop-shadow(0 0 0 rgba(255, 247, 216, 0)); }
}

.atu-sommer .atu-regen {
  animation: atu-sommer-regen var(--tag, 40s) ease-in-out infinite;
}

@keyframes atu-sommer-regen {
  0%, 26%   { opacity: 0; }
  34%       { opacity: .3; }
  40%, 52%  { opacity: 1; }
  60%       { opacity: .3; }
  68%, 100% { opacity: 0; }
}

.atu-sommer .atu-nass {
  animation: atu-sommer-regen var(--tag, 40s) ease-in-out infinite;
}

.atu-sommer .atu-fruehling,
.atu-sommer .atu-wetter {
  animation: atu-sommer-tagwesen var(--tag, 40s) linear infinite;
}

@keyframes atu-sommer-tagwesen {
  0%, 22%   { opacity: 1; }
  30%, 80%  { opacity: 0; }
  92%, 100% { opacity: 1; }
}

@property --wagen-hell   { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --wagen-satt   { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --wagen-kontr   { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --blitzan  { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --gewitter { syntax: '<number>'; inherits: false; initial-value: 0; }

.atu-sommer .atu-fahrt-wagen {
  filter: brightness(calc(var(--wagen-hell)
                          + (1 - var(--wagen-hell)) * var(--blitzan) * var(--gewitter) * 1.45))
          saturate(var(--wagen-satt))
          contrast(var(--wagen-kontr));
  animation: atu-fahrt-wippen 2.3s ease-in-out infinite,
             atu-sommer-nachtwagen var(--tag, 40s) ease-in-out infinite,
             atu-blitz-reflex var(--bt, 6s) step-end infinite;
}

@keyframes atu-sommer-nachtwagen {
  0%, 22%   { --wagen-hell: 1;   --wagen-satt: 1;   --wagen-kontr: 1;    --gewitter: 0; }
  33.5%     { --gewitter: 0; }
  34%       { --wagen-hell: .84; --wagen-satt: .9;  --wagen-kontr: 1.02; --gewitter: 1; }
  54%       { --wagen-hell: .84; --wagen-satt: .9;  --wagen-kontr: 1.02; --gewitter: 1; }
  54.5%     { --gewitter: 0; }
  70%, 76%  { --wagen-hell: .68; --wagen-satt: .66; --wagen-kontr: 1.03; }
  94%, 100% { --wagen-hell: 1;   --wagen-satt: 1;   --wagen-kontr: 1;    --gewitter: 0; }
}

@keyframes atu-blitz-reflex {
  0%        { --blitzan: 1; }
  0.64%     { --blitzan: 0; }
  1.21%     { --blitzan: 1; }
  2.21%     { --blitzan: 0; }

  26%       { --blitzan: 1; }
  26.64%    { --blitzan: 0; }
  27.21%    { --blitzan: 1; }
  28.21%    { --blitzan: 0; }

  52%       { --blitzan: 1; }
  52.64%    { --blitzan: 0; }
  53.21%    { --blitzan: 1; }
  54.21%    { --blitzan: 0; }

  78%       { --blitzan: 1; }
  78.64%    { --blitzan: 0; }
  79.21%    { --blitzan: 1; }
  80.21%    { --blitzan: 0; }
  100%      { --blitzan: 0; }
}

.atu-gestirn {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--oben, -46%);
  height: var(--hoch, 80%);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.atu-sommer .atu-gestirn {
  animation: atu-sommer-gestirn var(--tag, 40s) ease-in-out infinite;
}

@keyframes atu-sommer-gestirn {
  0%, 50%   { opacity: 0; }
  62%, 86%  { opacity: 1; }
  93%, 100% { opacity: 0; }
}

.atu-mond {
  position: absolute;
  left: var(--mx, 66%);
  top: var(--my, 26%);
  width: var(--mg, 62px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%,
              #fdfbf2 0%, #f3eedd 58%, #ddd6c2 100%);
  box-shadow: 0 0 22px 10px rgba(246, 243, 228, .34),
              0 0 60px 26px rgba(214, 226, 246, .16);
  animation: atu-mond-steigen var(--tag, 40s) ease-in-out infinite;
}

@keyframes atu-mond-steigen {
  0%, 52%   { translate: -50% -32%; }
  88%, 100% { translate: -50% -62%; }
}

.atu-mond::before,
.atu-mond::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(205, 199, 182, .5);
}

.atu-mond::before { left: 24%; top: 46%; width: 22%; height: 22%; }
.atu-mond::after  { left: 54%; top: 22%; width: 14%; height: 14%; }

.atu-stern {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--g);
  height: var(--g);
  translate: -50% -50%;
  filter: drop-shadow(0 0 var(--schein) rgba(255, 226, 138, .85));
  animation: atu-stern-funkeln var(--t) ease-in-out infinite alternate;
  animation-delay: var(--d);
}

.atu-stern svg { display: block; width: 100%; height: 100%; }

@keyframes atu-stern-funkeln {
  from { opacity: .35; scale: .72; rotate: -6deg; }
  to   { opacity: 1;   scale: 1;   rotate: 6deg; }
}

.atu-blitz {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--oben, -46%);
  bottom: 0;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
}

.atu-blitz-hinten {
  z-index: 0;
}

.atu-sommer .atu-blitz {
  animation: atu-sommer-gewitterfenster var(--tag, 40s) linear infinite;
}

@keyframes atu-sommer-gewitterfenster {
  0%, 33.5%  { opacity: 0; }
  34%, 54%   { opacity: 1; }
  54.5%, 100% { opacity: 0; }
}

.atu-blitzstrahl {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--b);
  height: var(--h);

  translate: calc(-50% + var(--lx)) var(--ly);
  opacity: 0;
  animation: atu-blitz-schlag var(--bt, 6s) step-end infinite,
             atu-wolke-reise var(--reise, 90s) ease-in-out infinite alternate;
  animation-delay: var(--bd), var(--dr);
}

.atu-blitzstrahl svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 7px rgba(255, 250, 212, 1))
          drop-shadow(0 0 22px rgba(255, 238, 150, .8))
          drop-shadow(0 0 48px rgba(255, 230, 120, .45));
}

@keyframes atu-blitz-schlag {
  0%        { opacity: 1; }
  0.64%     { opacity: 0; }
  1.21%     { opacity: 1; }
  2.21%     { opacity: 0; }
  100%      { opacity: 0; }
}

.atu-scheinwerfer {
  position: absolute;
  inset: 0;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 92%;
  animation: atu-fahrt-wippen 2.3s ease-in-out infinite;
}

.atu-scheinwerfer-hinten {
  z-index: 0;
}

.atu-sommer .atu-scheinwerfer {
  animation: atu-fahrt-wippen 2.3s ease-in-out infinite,
             atu-sommer-licht var(--tag, 40s) ease-in-out infinite;
}

@keyframes atu-sommer-licht {
  0%, 34%   { opacity: 0; }
  44%, 88%  { opacity: 1; }
  94%, 100% { opacity: 0; }
}

.atu-lampe {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--b);
  height: var(--h);
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
              rgba(255, 250, 220, calc(.95 * var(--kraft, 1))) 0%,
              rgba(255, 240, 168, calc(.62 * var(--kraft, 1))) 34%,
              rgba(255, 232, 136, calc(.2 * var(--kraft, 1))) 62%,
              rgba(255, 230, 130, 0) 100%);
  animation: atu-lampe-flackern var(--t) ease-in-out infinite alternate;
}

@keyframes atu-lampe-flackern {
  from { opacity: .88; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .atu-gestirn,
  .atu-blitz,
  .atu-scheinwerfer { display: none; }
}

