:root {
  --balken-h: 4.5rem;
  --z-balken: 2147483647;
  --z-intro: 1000;
  --z-popup: 900;
  --schrift-comic: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Comic Neue", cursive;
  --schrift-impact: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --schrift-papyrus: Papyrus, "Brush Script MT", fantasy;
  --schrift-schreibmaschine: "Courier New", Courier, monospace;
  --schrift-zeitung: "Times New Roman", Times, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-top: calc(var(--balken-h) + 1rem); }

body {
  margin: 0;
  padding-top: var(--balken-h);
  font-family: var(--schrift-comic);
  font-size: 1.05rem;
  line-height: 1.45;
  color: #1a0033;
  background: linear-gradient(120deg, #ff00cc, #ffcc00, #00ffcc, #3300ff, #ff00cc);
  background-size: 400% 400%;
  animation: verlauf 16s ease-in-out infinite;
  overflow-x: hidden;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.warnbalken {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-balken);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem 1.25rem;
  padding: .6rem 1rem;
  background: #111;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .95rem;
  line-height: 1.35;
  border-bottom: 4px solid #ffcc00;
  animation: none !important;
}
.warnbalken p { margin: 0; max-width: 46rem; }
.warnbalken-knopf {
  display: inline-block;
  padding: .6rem 1.2rem;
  background: #ffcc00;
  color: #111;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 6px;
  box-shadow: 0 0 0 3px #111, 0 3px 10px rgba(255, 204, 0, .55);
  white-space: nowrap;
}
.warnbalken-knopf:hover { background: #fff; }
.warnbalken-knopf:focus-visible,
.warnbalken a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  z-index: calc(var(--z-balken) - 1);
  background: #fff; color: #000; padding: .5rem 1rem;
}
.skip-link:focus { top: calc(var(--balken-h) + .5rem); }

:focus-visible { outline: 3px dashed #000; outline-offset: 3px; }

.intro { display: none; }
.js .intro {
  position: fixed;
  inset: var(--balken-h) 0 0 0;
  z-index: var(--z-intro);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #3300ff, #000 70%);
  color: #fff;
  text-align: center;
}
.js .intro.intro-weg { display: none; }
.intro-buehne { padding: 2rem; max-width: 36rem; width: 100%; }
.intro-logo {
  font-family: var(--schrift-impact);
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: .08em;
  margin: 0 0 1rem;
  background: linear-gradient(90deg, #ff00cc, #ffcc00, #00ffcc);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: drehen-y 6s linear infinite;
}
.intro-text { font-family: var(--schrift-schreibmaschine); margin: 0 0 1rem; }
.ladebalken {
  display: block;
  width: 100%;
  height: 1.6rem;
  -webkit-appearance: none;
  appearance: none;
  border: 3px ridge #c0c0c0;
  background: #222;
  color: #00ff66;
}
.ladebalken::-webkit-progress-bar { background: #222; }
.ladebalken::-webkit-progress-value {
  background: repeating-linear-gradient(45deg, #00ff66 0 12px, #009933 12px 24px);
  transition: width .4s steps(4);
}
.ladebalken::-moz-progress-bar {
  background: repeating-linear-gradient(45deg, #00ff66 0 12px, #009933 12px 24px);
}
.ladebalken-zahl { font-family: var(--schrift-schreibmaschine); margin: .5rem 0 1.5rem; }
.intro-skip {
  font: inherit;
  font-family: var(--schrift-zeitung);
  font-style: italic;
  padding: .5rem 1.2rem;
  background: #c0c0c0;
  border: 3px outset #fff;
  cursor: pointer;
}
.intro-skip:focus-visible { outline: 3px solid #ffcc00; }

.hintergrundvideo {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: .55;
}
.hv-kreis {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(40px);
  animation: wandern 24s ease-in-out infinite alternate;
}
.hv-kreis-1 { background: #ff0066; top: -20vmax; left: -20vmax; }
.hv-kreis-2 { background: #00ccff; bottom: -25vmax; right: -15vmax; animation-duration: 30s; }
.hv-kreis-3 { background: #ffee00; top: 30vh; left: 30vw; width: 35vmax; height: 35vmax; animation-duration: 20s; }
.hv-label {
  position: absolute; right: .5rem; bottom: 4.5rem;
  font: .75rem var(--schrift-schreibmaschine);
  background: rgba(0, 0, 0, .7); color: #fff; padding: .2rem .5rem;
}

.seite { position: relative; }
.kopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, #c0c0c0, #808080);
  border-bottom: 6px double #ff00cc;
}
.kopf-marke { display: flex; align-items: center; gap: .75rem; }
.kopf-logo { animation: drehen 12s linear infinite; }
.kopf-name {
  margin: 0;
  font-family: var(--schrift-papyrus);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #800080;
  text-shadow: 2px 2px 0 #ffcc00, 4px 4px 0 #00ffcc;
}
.baustelle {
  font-family: var(--schrift-impact);
  background: #ffcc00; color: #000;
  padding: .1rem .5rem;
  border: 2px dashed #000;
  animation: pochen 1.2s ease-in-out infinite;
}

.menue ul { list-style: none; margin: 0; padding: 0; }
.menue a {
  display: block;
  padding: .4rem .8rem;
  font-family: var(--schrift-zeitung);
  font-weight: 700;
  color: #00f;
  background: #ffff99;
  border: 2px outset #fff;
  text-decoration: underline;
}
.menue a:hover, .menue a:focus-visible { background: #ff99ff; color: #000; }
.menue-1 { display: flex; flex-wrap: wrap; gap: .3rem; }
.menue-1 > li { position: relative; }
.menue-2, .menue-3 {
  display: none;
  position: absolute;
  min-width: 13rem;
  z-index: 50;
  box-shadow: 6px 6px 0 #000;
}
.menue-2 { top: 100%; left: 0; }
.menue-3 { top: 0; left: 100%; }
.menue-2 > li { position: relative; }
.menue li:hover > ul,
.menue li:focus-within > ul { display: block; }

.laufschrift {
  overflow: hidden;
  white-space: nowrap;
  background: #000;
  color: #00ff00;
  border-block: 3px solid #ff00cc;
  font-family: var(--schrift-schreibmaschine);
  font-weight: 700;
}
.laufschrift-text {
  display: inline-block;
  margin: 0;
  padding: .4rem 0 .4rem 100%;
  animation: laufen 28s linear infinite;
}

.parallax { position: relative; overflow: hidden; }
.parallax-ebene {
  position: absolute; inset: -30% 0;
  pointer-events: none;
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}
.parallax-ebene-1 {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .6) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 0, .7) 0 10px, transparent 11px),
    radial-gradient(circle at 40% 80%, rgba(0, 255, 255, .6) 0 8px, transparent 9px);
  background-size: 180px 180px, 240px 240px, 300px 300px;
}
.parallax-ebene-2 {
  background: repeating-linear-gradient(-30deg, rgba(255, 0, 204, .25) 0 30px, transparent 30px 80px);
}
.parallax-ebene-3 {
  background: repeating-radial-gradient(circle at 80% 20%, rgba(0, 0, 255, .15) 0 20px, transparent 20px 50px);
}

.held { padding: 3rem 1rem 4rem; text-align: center; }
.held-inhalt { position: relative; max-width: 60rem; margin: 0 auto; }
.held-titel {
  margin: 0 0 2rem;
  font-family: var(--schrift-impact);
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.05;
  text-transform: none;
  color: #fff;
  text-shadow: 3px 3px 0 #ff00cc, 6px 6px 0 #3300ff, 9px 9px 0 #000;
  transform: rotate(-3deg);
}

.slider {
  perspective: 900px;
  margin: 0 auto 2.5rem;
  max-width: 34rem;
}
.slider-drehteil {
  position: relative;
  min-height: 7rem;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(.6, -0.4, .3, 1.4);
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  margin: 0;
  padding: 1rem;
  font-family: var(--schrift-papyrus);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #000;
  background: linear-gradient(135deg, #00ffcc, #ffff00);
  border: 5px ridge #ff00cc;
  backface-visibility: hidden;
  opacity: 0;
  transition: opacity .8s;
}
.slide-aktiv { opacity: 1; }
html:not(.js) .slide { position: static; opacity: 1; margin-bottom: .5rem; }
html:not(.js) .slider-drehteil { min-height: 0; }

.knopf {
  display: inline-block;
  padding: 1rem 1.6rem;
  font-family: var(--schrift-impact);
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(180deg, #ff3300, #990000);
  border: 4px outset #ff9999;
  border-radius: 30px;
  box-shadow: 0 6px 0 #400, 0 0 25px #ff0;
  text-decoration: none;
  cursor: pointer;
}
.knopf-wackel { animation: wackeln .9s ease-in-out infinite; }
.knopf-wackel-2 { animation-duration: 1.3s; }
.knopf-klein { font-size: 1rem; padding: .5rem 1rem; border-radius: 6px; }

.vergleich {
  margin: 0 auto;
  padding: 1.25rem 1rem;
  max-width: 50rem;
  background: #000;
  color: #00ff00;
  border: 6px groove #ffcc00;
  text-align: center;
  font-family: var(--schrift-schreibmaschine);
}
.vergleich-titel { margin: 0 0 .5rem; font-size: 1.3rem; color: #ffcc00; }
.vergleich-zahlen { margin: 0; font-size: 1.1rem; }

.reiter-bereich { max-width: 60rem; margin: 3rem auto; padding: 0 1rem; }
.reiter-titel {
  font-family: var(--schrift-papyrus);
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  color: #ff0;
  text-shadow: 2px 2px 0 #f0f, -2px -2px 0 #00f;
  margin: 0 0 1rem;
}
.reiter-leiste { display: none; }
.js .reiter-leiste { display: flex; flex-wrap: wrap; gap: .25rem; }
.reiter {
  font: 700 1rem var(--schrift-zeitung);
  padding: .6rem 1rem;
  background: linear-gradient(180deg, #ffccff, #cc66ff);
  border: 3px outset #fff;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  color: #000;
}
.reiter[aria-selected="true"] { background: #fff; transform: translateY(2px) rotate(-1deg); }
.reiter-feld {
  padding: 1.25rem;
  background: rgba(255, 255, 255, .88);
  border: 4px ridge #cc66ff;
  margin-bottom: 1rem;
}
.feld-titel {
  margin: 0 0 1rem;
  font-family: var(--schrift-impact);
  font-size: 1.6rem;
  color: #3300ff;
}
.akkordeon {
  margin: .5rem 0;
  background: #ffff99;
  border: 2px dashed #ff00cc;
  font-family: var(--schrift-comic);
}
.akkordeon > summary {
  padding: .6rem .8rem;
  cursor: pointer;
  font-weight: 700;
  color: #800000;
  list-style: none;
}
.akkordeon > summary::-webkit-details-marker { display: none; }
.akkordeon > p { margin: 0; padding: .6rem .8rem 1rem; }
.akkordeon-2 { margin: .4rem .8rem; background: #ccffff; border-color: #0000ff; font-family: var(--schrift-zeitung); }
.akkordeon-3 { margin: .4rem .8rem; background: #ffccee; border-color: #008000; font-family: var(--schrift-schreibmaschine); }
.akkordeon-achtung { background: #ff6600; }
.akkordeon-achtung > summary { color: #000; }
.ablauf { font-family: var(--schrift-papyrus); font-size: 1.3rem; font-weight: 700; }
.ablauf li:nth-child(odd) { color: #cc0000; }
.ablauf li:nth-child(even) { color: #0000cc; transform: translateX(1.5rem); }
.preise { font-family: var(--schrift-impact); font-size: 1.8rem; color: #ff0066; margin: 0; }

.kontakt {
  padding: 3rem 1rem;
  text-align: center;
  background: linear-gradient(45deg, #00ff99, #0066ff);
  border-top: 8px ridge #ffcc00;
}
.kontakt > *:not(.parallax-ebene) { position: relative; }
.kontakt-titel {
  margin: 0 0 1rem;
  font-family: var(--schrift-impact);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: #ff0;
  text-shadow: 3px 3px 0 #000;
}
.kontakt-zeile {
  font-family: var(--schrift-comic);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  margin: .4rem 0;
}

.fuss {
  padding: 1.5rem 1rem 6rem;
  text-align: center;
  background: #000;
  color: #fff;
  font-family: var(--schrift-zeitung);
}
.fuss a { color: #0ff; }

.popup {
  position: fixed;
  z-index: var(--z-popup);
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 1.25rem 1.25rem 1rem;
  border: 5px ridge #ff00cc;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .6);
  font-family: var(--schrift-comic);
}
.popup p { margin: 0 0 .5rem; }
.popup-titel { font-family: var(--schrift-impact); font-size: 1.5rem; }
.popup-klein { font-size: .8rem; font-family: var(--schrift-schreibmaschine); }
.popup-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; }
.popup-zu {
  position: absolute; top: .3rem; right: .4rem;
  font: .75rem var(--schrift-schreibmaschine);
  padding: .1rem .35rem;
  background: #eee;
  border: 1px solid #999;
  cursor: pointer;
  color: #333;
}
.popup-zu:focus-visible { outline: 3px solid #000; }

.cookie {
  left: 1rem; bottom: 1rem;
  background: linear-gradient(135deg, #fff2cc, #ffcc99);
  color: #000;
}
.newsletter {
  top: calc(var(--balken-h) + 2rem); left: 50%;
  translate: -50% 0;
  width: 24rem;
  background: linear-gradient(135deg, #ff99cc, #9966ff);
  color: #000;
  text-align: center;
  padding-top: 2rem;
  animation: reinfliegen .8s ease-out;
}
.termin {
  top: 40%; right: 1rem;
  background: linear-gradient(135deg, #ff3300, #ffcc00);
  color: #000;
  padding-top: 1.75rem;
  animation: reinfliegen .8s ease-out, wackeln 1.1s ease-in-out .8s infinite;
}

.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: var(--z-popup); }
.chat-knopf {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  border: 3px solid #fff;
  background: radial-gradient(circle, #00ccff, #0033cc);
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
  animation: huepfen 2s ease-in-out infinite;
}
.chat-blase {
  position: absolute; right: 0; bottom: 4.75rem;
  width: 15rem;
  padding: 1.5rem 1rem .75rem;
  background: #fff;
  color: #000;
  border: 3px solid #0033cc;
  border-radius: 16px 16px 0 16px;
  font-family: var(--schrift-comic);
}
.chat-blase p { margin: 0 0 .4rem; }

@keyframes verlauf { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes laufen { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes wackeln {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-3deg) scale(1.03); }
  75% { transform: rotate(3deg) scale(1.03); }
}
@keyframes pochen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes drehen-y { to { transform: rotateY(360deg); } }
@keyframes wandern { to { transform: translate(25vw, 20vh) scale(1.3); } }
@keyframes huepfen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes reinfliegen { from { transform: translateY(-120vh) rotate(-20deg); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .intro, .popup, .chat, .hintergrundvideo, .parallax-ebene { display: none !important; }
  .laufschrift { white-space: normal; }
  .laufschrift-text { padding: .4rem 1rem; display: block; }
  .slide { position: static; opacity: 1; margin-bottom: .5rem; }
  .slider-drehteil { min-height: 0; transform: none !important; }
  .held-titel { transform: none; }
}
