/* KONTUR CMS 0.6.0.72 – hellere Modul-Nordlichter.
   Der Effekt nutzt weiter den Footer-Mechanismus, die Grundfarbe bleibt jedoch
   nahe an der gewählten Farbwelt statt beim Aktivieren stark abzudunkeln. */

.cms-theme-animated,
.sep62-animated{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  animation:none!important;
  background:
    radial-gradient(circle at 92% 12%,rgba(255,255,255,.13),transparent 34%),
    linear-gradient(135deg,var(--cms-aurora-bg,#0a4a92) 0%,var(--cms-aurora-bg2,#0056b8) 100%)!important;
  background-image:
    radial-gradient(circle at 92% 12%,rgba(255,255,255,.13),transparent 34%),
    linear-gradient(135deg,var(--cms-aurora-bg,#0a4a92) 0%,var(--cms-aurora-bg2,#0056b8) 100%)!important;
}
.cms-theme-animated::before,
.cms-theme-animated::after,
.sep62-animated::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}

/* Farbpaletten – Basis entspricht möglichst genau der normalen, nicht animierten Farbwelt. */
.cms-theme-original.cms-theme-animated,
.sep62-original.sep62-animated{
  --cms-aurora-bg:#0b3262;--cms-aurora-bg2:#124f93;
  --cms-aurora-1:#0b4d96;--cms-aurora-2:#1673c7;--cms-aurora-3:#2d91e8;--cms-aurora-4:#65b7ff;--cms-aurora-5:#b7ddff;
  --cms-aurora-blend:screen;
}
.cms-theme-blue.cms-theme-animated,
.sep62-blue.sep62-animated{
  --cms-aurora-bg:#0a4a92;--cms-aurora-bg2:#0056b8;
  --cms-aurora-1:#0063c9;--cms-aurora-2:#087fe0;--cms-aurora-3:#2699f0;--cms-aurora-4:#65b9ff;--cms-aurora-5:#c1e4ff;
  --cms-aurora-blend:screen;
}
.cms-theme-navy.cms-theme-animated,
.sep62-navy.sep62-animated{
  --cms-aurora-bg:#071b34;--cms-aurora-bg2:#0b2446;
  --cms-aurora-1:#0c3567;--cms-aurora-2:#14558f;--cms-aurora-3:#247fc0;--cms-aurora-4:#58a6dd;--cms-aurora-5:#a8d4ef;
  --cms-aurora-blend:screen;
}
.cms-theme-graphite.cms-theme-animated,
.sep62-graphite.sep62-animated{
  --cms-aurora-bg:#18202a;--cms-aurora-bg2:#2a3440;
  --cms-aurora-1:#314b61;--cms-aurora-2:#4c6e89;--cms-aurora-3:#6d91ad;--cms-aurora-4:#9cb8ca;--cms-aurora-5:#d0dee7;
  --cms-aurora-blend:screen;
}
.cms-theme-signal.cms-theme-animated,
.sep62-signal.sep62-animated{
  --cms-aurora-bg:#f0a500;--cms-aurora-bg2:#ffc247;
  --cms-aurora-1:#d98f00;--cms-aurora-2:#f0a500;--cms-aurora-3:#ffc247;--cms-aurora-4:#ffd66d;--cms-aurora-5:#fff0b3;
  --cms-aurora-blend:screen;
}
.cms-theme-steel.cms-theme-animated,
.sep62-steel.sep62-animated{
  --cms-aurora-bg:#f7fbff;--cms-aurora-bg2:#e6eef7;
  --cms-aurora-1:#dfeaf3;--cms-aurora-2:#b9d0e2;--cms-aurora-3:#8fb6d5;--cms-aurora-4:#b9d9ee;--cms-aurora-5:#edf7fd;
  --cms-aurora-blend:multiply;
}
.cms-theme-white.cms-theme-animated,
.sep62-white.sep62-animated{
  --cms-aurora-bg:#ffffff;--cms-aurora-bg2:#f5f9fc;
  --cms-aurora-1:#eaf2f8;--cms-aurora-2:#cbddea;--cms-aurora-3:#a8c9e0;--cms-aurora-4:#d9eaf5;--cms-aurora-5:#f4f9fc;
  --cms-aurora-blend:multiply;
}

.cms-theme-animated{
  color:#fff!important;
  box-shadow:inset 0 0 34px rgba(0,0,0,.055),0 18px 44px rgba(6,23,44,.09)!important;
}
.cms-theme-signal.cms-theme-animated,
.cms-theme-steel.cms-theme-animated,
.cms-theme-white.cms-theme-animated{
  color:#06101f!important;
  box-shadow:inset 0 0 28px rgba(34,70,104,.04),0 18px 44px rgba(6,23,44,.06)!important;
}
.cms-theme-animated .kicker{color:#d8ebfb!important}
.cms-theme-animated h1,.cms-theme-animated h2,.cms-theme-animated h3,.cms-theme-animated h4{color:#fff!important}
.cms-theme-animated p,.cms-theme-animated .large-text{color:rgba(255,255,255,.93)!important}
.cms-theme-signal.cms-theme-animated .kicker,
.cms-theme-signal.cms-theme-animated h1,.cms-theme-signal.cms-theme-animated h2,.cms-theme-signal.cms-theme-animated h3,.cms-theme-signal.cms-theme-animated h4,
.cms-theme-steel.cms-theme-animated .kicker,.cms-theme-white.cms-theme-animated .kicker,
.cms-theme-steel.cms-theme-animated h1,.cms-theme-steel.cms-theme-animated h2,.cms-theme-steel.cms-theme-animated h3,.cms-theme-steel.cms-theme-animated h4,
.cms-theme-white.cms-theme-animated h1,.cms-theme-white.cms-theme-animated h2,.cms-theme-white.cms-theme-animated h3,.cms-theme-white.cms-theme-animated h4{color:#06101f!important}
.cms-theme-signal.cms-theme-animated p,.cms-theme-signal.cms-theme-animated .large-text,
.cms-theme-steel.cms-theme-animated p,.cms-theme-white.cms-theme-animated p,
.cms-theme-steel.cms-theme-animated .large-text,.cms-theme-white.cms-theme-animated .large-text{color:rgba(6,16,31,.86)!important}
.cms-theme-animated .btn.btn-light,.cms-theme-animated>a.btn{background:rgba(255,255,255,.96)!important;color:#071d37!important;border-color:rgba(255,255,255,.82)!important}

/* Aurora liegt zwischen Grundfarbe und Inhalt – gleicher Mechanismus wie Footer. */
.kontur-module-aurora{
  position:absolute;
  inset:-22% -8% -18%;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  opacity:var(--cms-aurora-intensity,.58);
  transform:translateZ(0);
}
.kontur-module-aurora::before{
  content:"";
  position:absolute;
  inset:-28% -24% -22%;
  background:
    linear-gradient(112deg,transparent 6%,color-mix(in srgb,var(--cms-aurora-1) 22%,transparent) 23%,transparent 39%,color-mix(in srgb,var(--cms-aurora-3) 25%,transparent) 55%,transparent 70%,color-mix(in srgb,var(--cms-aurora-5) 21%,transparent) 84%,transparent 97%),
    linear-gradient(72deg,transparent 17%,color-mix(in srgb,var(--cms-aurora-2) 19%,transparent) 36%,transparent 50%,color-mix(in srgb,var(--cms-aurora-4) 22%,transparent) 68%,transparent 85%);
  filter:blur(30px) saturate(1.14);
  opacity:.9;
  animation:kontur-module-aurora-curtain var(--cms-aurora-curtain-duration,13.5s) ease-in-out infinite alternate;
  will-change:transform,opacity;
}
.kontur-module-aurora::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  background:linear-gradient(180deg,color-mix(in srgb,var(--cms-aurora-bg) 10%,transparent),transparent 32%,transparent 70%,color-mix(in srgb,var(--cms-aurora-bg2) 9%,transparent));
}
.kontur-module-aurora-layer{
  position:absolute;
  z-index:1;
  display:block;
  left:var(--ma-left,0%);
  bottom:var(--ma-bottom,-48%);
  width:var(--ma-width,64%);
  height:var(--ma-height,112%);
  border-radius:50%;
  color:var(--cms-aurora-1);
  opacity:var(--ma-opacity,.78);
  background:radial-gradient(ellipse at 50% 50%,color-mix(in srgb,currentColor 96%,transparent) 0%,color-mix(in srgb,currentColor 74%,transparent) 18%,color-mix(in srgb,currentColor 38%,transparent) 42%,transparent 72%);
  filter:blur(var(--ma-blur,38px)) saturate(1.18);
  mix-blend-mode:var(--cms-aurora-blend,screen);
  transform-origin:50% 62%;
  will-change:transform,opacity;
}
.kontur-module-aurora-layer::before{
  content:"";
  position:absolute;
  left:18%;top:-88%;width:60%;height:158%;
  border-radius:48% 52% 44% 56% / 68% 58% 42% 32%;
  background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,currentColor 10%,transparent) 26%,color-mix(in srgb,currentColor 28%,transparent) 60%,color-mix(in srgb,currentColor 46%,transparent) 86%,transparent 100%);
  filter:blur(23px);opacity:.78;
  transform:rotate(var(--ma-wisp,-8deg));
}
.kontur-module-aurora-layer:nth-child(1){--ma-left:-25%;--ma-bottom:-52%;--ma-width:79%;--ma-height:118%;--ma-opacity:.88;--ma-blur:41px;--ma-wisp:-10deg;color:var(--cms-aurora-1)}
.kontur-module-aurora-layer:nth-child(2){--ma-left:2%;--ma-bottom:-56%;--ma-width:71%;--ma-height:112%;--ma-opacity:.85;--ma-blur:39px;--ma-wisp:8deg;color:var(--cms-aurora-2)}
.kontur-module-aurora-layer:nth-child(3){--ma-left:35%;--ma-bottom:-48%;--ma-width:59%;--ma-height:106%;--ma-opacity:.83;--ma-blur:36px;--ma-wisp:-6deg;color:var(--cms-aurora-3)}
.kontur-module-aurora-layer:nth-child(4){--ma-left:61%;--ma-bottom:-60%;--ma-width:50%;--ma-height:116%;--ma-opacity:.80;--ma-blur:38px;--ma-wisp:10deg;color:var(--cms-aurora-4)}
.kontur-module-aurora-layer:nth-child(5){--ma-left:18%;--ma-bottom:-64%;--ma-width:44%;--ma-height:108%;--ma-opacity:.77;--ma-blur:33px;--ma-wisp:-12deg;color:var(--cms-aurora-5)}

.cms-theme-animated>:not(.kontur-module-aurora){position:relative;z-index:2}
.sep62-animated>.sep62-inner{position:relative!important;z-index:3!important}
.sep62-animated>.sep62-image{z-index:0!important}
.sep62-animated>.kontur-module-aurora{z-index:1}

@keyframes kontur-module-aurora-curtain{
  0%{transform:translate3d(-5%,2%,0) scale(1.03);opacity:.58}
  48%{transform:translate3d(1%,-3%,0) scale(1.08);opacity:.98}
  100%{transform:translate3d(6%,1%,0) scale(1.04);opacity:.70}
}
.kontur-module-aurora.is-waapi .kontur-module-aurora-layer{animation:none!important}

@media(max-width:900px){
  .kontur-module-aurora{inset:-14% -18% -12%}
  .kontur-module-aurora-layer{filter:blur(30px) saturate(1.12)}
}
@media(prefers-reduced-motion:reduce){
  .kontur-module-aurora::before{animation-duration:28s!important}
}
