#av-footer { display: block; container: avf / inline-size; clear: both; }
#av-footer > footer.avf { margin: 0; border: 0; font-size: 15px; text-align: left; }
#av-footer .avf h2, #av-footer .avf p, #av-footer .avf ul { margin-left: 0; margin-right: 0; }
/* Aventorian Footer · Komponente (footer.js rendert in #av-footer). Schrift: Systemstack, kein Google Fonts. */
.avf { --c1: #4d8dff; --c2: #5ee7ff; --tx: #f3f6ff; --tx2: #b8c3df; --line: rgba(120, 160, 255, .22);
  --ff: "Inter", "Sora", "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: relative; isolation: isolate; overflow: hidden; color: var(--tx); font: 400 15px/1.6 var(--ff);
  background: linear-gradient(180deg, #050B1F 0%, #030714 55%, #000 100%); padding: 96px 0 0; }
.avf *, .avf *::before, .avf *::after { box-sizing: border-box; }
.avf-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .75; }
.avf-horizon { position: absolute; left: 0; top: 0; width: 100%; height: 76px; z-index: -1; pointer-events: none; overflow: visible; opacity: .3; transition: opacity 1.2s ease; }
.avf-horizon .avf-hz-fill { fill: rgba(77, 141, 255, .07); }
.avf-horizon .avf-hz-glow { fill: none; stroke: #5ee7ff; stroke-width: 10; opacity: .35; vector-effect: non-scaling-stroke; filter: blur(6px); }
.avf-horizon .avf-hz-line { fill: none; stroke: url(#avf-hz-g); stroke-width: 2; vector-effect: non-scaling-stroke; }
.avf.is-seen .avf-horizon { opacity: 1; }
.avf-wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.avf-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.45fr; gap: 20px; align-items: start; }
.avf-card, .avf-brand { min-width: 0; position: relative; padding: 24px; border-radius: 20px; background: rgba(14, 24, 56, .45);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.avf-card::before, .avf-brand::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(94, 231, 255, .55), rgba(77, 141, 255, .15) 45%, rgba(77, 141, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.avf-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--tx); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .01em; min-height: 44px; }
.avf-logo img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(94, 231, 255, .35), 0 0 24px rgba(94, 231, 255, .45); }
.avf-text { margin: 14px 0 18px; color: var(--tx2); font-size: 14.5px; }
.avf-social, .avf-links, .avf-contact, .avf-legal, .avf-pay { list-style: none; margin: 0; padding: 0; }
.avf-social { display: flex; gap: 10px; flex-wrap: wrap; }
.avf-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--tx); background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease; }
.avf-ic svg { width: 19px; height: 19px; }
.avf-ic:hover, .avf-ic:focus-visible { transform: translateY(-3px); color: var(--c2); border-color: rgba(94, 231, 255, .6); box-shadow: 0 0 22px rgba(94, 231, 255, .45); }
.avf-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c2); }
.avf-acc { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; cursor: default; font: inherit; letter-spacing: inherit; color: inherit; }
.avf-acc svg { width: 18px; height: 18px; display: none; transition: transform .35s ease; }
.avf-links li { margin: 0; }
.avf-a { position: relative; display: inline-flex; align-items: center; min-height: 40px; color: var(--tx); text-decoration: none; font: inherit; }
.avf-a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--c2), var(--c1));
  box-shadow: 0 0 8px rgba(94, 231, 255, .8); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.avf-a:hover::after, .avf-a:focus-visible::after { transform: scaleX(1); }
.avf-a:hover { color: #fff; }
.avf :focus-visible { outline: 2px solid var(--c2); outline-offset: 3px; border-radius: 8px; }
.avf-small { margin: 0 0 12px; color: var(--tx2); font-size: 14px; }
.avf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.avf-nl { position: relative; }
.avf-nl-row { display: flex; gap: 8px; }
.avf-nl input[type=email] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; font: inherit; color: var(--tx); background: rgba(3, 8, 24, .7); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.avf-nl input[type=email]::placeholder { color: #8692b3; }
.avf-nl input[type=email]:focus { outline: none; border-color: var(--c2); box-shadow: 0 0 0 3px rgba(94, 231, 255, .2); }
.avf-nl input[aria-invalid=true] { border-color: #ff8a8a; }
.avf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer;
  font: 700 15px/1 var(--ff); color: #021024; text-decoration: none; background: linear-gradient(135deg, #7fefff, #4d8dff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 8px 26px -8px rgba(94, 231, 255, .8); transition: transform .2s ease, box-shadow .25s ease; }
.avf-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 10px 34px -6px rgba(94, 231, 255, 1); }
.avf-btn svg { width: 18px; height: 18px; }
.avf-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--tx2); cursor: pointer; }
.avf-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--c2); }
.avf-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 13.5px; }
.avf-msg.is-err { color: #ffb3b3; } .avf-msg.is-ok { color: #8ff5c8; } .avf-msg.is-soon { color: #ffe08a; }
.avf-ok { position: absolute; right: 8px; top: -38px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #021024;
  background: linear-gradient(135deg, #8ff5c8, #5ee7ff); box-shadow: 0 0 24px rgba(143, 245, 200, .8); opacity: 0; transform: scale(.4); pointer-events: none; }
.avf-ok svg { width: 18px; height: 18px; }
.avf-nl.is-done .avf-ok { animation: avf-pop 2.6s cubic-bezier(.2, .9, .3, 1.4) forwards; }
.avf-contact { margin: 16px 0 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.avf-ca { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--tx); font-size: 14.5px; }
.avf-ci { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--c2); background: rgba(94, 231, 255, .08); transition: box-shadow .25s; }
.avf-ci svg { width: 16px; height: 16px; }
.avf-ca:hover .avf-ci { box-shadow: 0 0 16px rgba(94, 231, 255, .6); }
.avf-cta { width: 100%; }
.avf-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; padding: 18px 0 8px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--tx2); }
.avf-copy { margin: 0; }
.avf-legal { display: flex; flex-wrap: wrap; gap: 0 16px; }
.avf-legal .avf-a { color: var(--tx2); }
.avf-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--tx2); }
.avf-missing { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--tx2); }
.avf-missing em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; color: #1a1200; background: #ffcf5a; }
.avf-pay { display: flex; gap: 8px; margin-left: auto; color: #aab6d6; }
.avf-pay svg { display: block; width: 52px; height: 30px; padding: 3px 4px; border-radius: 7px; border: 1px solid var(--line); }
.avf-lang { display: flex; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.avf-lg { min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; font: 700 12.5px/1 var(--ff); color: var(--tx2); background: none; cursor: pointer; }
.avf-lg[aria-pressed=true] { color: #021024; background: var(--c2); }
.avf-lg:disabled { opacity: .55; cursor: not-allowed; }
.avf-giant { margin-top: 10px; text-align: center; font: 800 clamp(56px, 17.5vw, 270px)/.8 var(--ff); letter-spacing: -.03em; white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, rgba(77, 141, 255, .05), rgba(94, 231, 255, .32), rgba(77, 141, 255, .08), rgba(94, 231, 255, .26)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(12%);
  -webkit-mask: linear-gradient(180deg, #000 45%, transparent 100%); mask: linear-gradient(180deg, #000 45%, transparent 100%); }
.avf.is-vis .avf-giant { animation: avf-shift 14s ease-in-out infinite alternate; }
body > .avf-top { --c2: #5ee7ff; position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: #eaffff; background: rgba(8, 16, 40, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 22px rgba(94, 231, 255, .4);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility 0s linear .3s, box-shadow .25s; }
body > .avf-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, visibility 0s, box-shadow .25s; }
body > .avf-top:hover, .avf-top-inline:hover { box-shadow: 0 0 34px rgba(94, 231, 255, .8); }
.avf-top > svg:last-child, .avf-top-inline svg { width: 20px; height: 20px; position: relative; }
body > .avf-top .avf-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
body > .avf-top .avf-ring circle { fill: none; stroke: rgba(120, 160, 255, .25); stroke-width: 2.5; }
body > .avf-top .avf-ring .avf-ring-p { stroke: var(--c2); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 3px var(--c2)); }
/* Gestaffeltes Einblenden */
.avf-in { opacity: 0; transform: translateY(18px); transition: opacity .7s ease calc(var(--d, 0) * 110ms), transform .8s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0) * 110ms); }
.avf.is-seen .avf-in { opacity: 1; transform: none; }
@keyframes avf-pop { 0% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.12); } 30%, 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.9); } }
@keyframes avf-shift { to { background-position: 100% 0; } }
/* Tablet: 2×2 */
@container avf (max-width: 1080px) { .avf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .avf-pay { margin-left: 0; } }
/* Handy: Akkordeons, Newsletter immer offen */
@container avf (max-width: 720px) {
  .avf { padding-top: 72px; }
  .avf-wrap { width: calc(100% - 28px); }
  .avf-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .avf-card { padding: 6px 18px; }
  .avf-col[data-open] { padding: 18px; }
  .avf-brand { padding: 20px 18px; }
  .avf-h { margin: 0; }
  .avf-col:not([data-open]) .avf-acc { cursor: pointer; min-height: 52px; }
  .avf-col:not([data-open]) .avf-acc svg { display: block; }
  .avf-col.is-open .avf-acc svg { transform: rotate(180deg); }
  .avf-col:not([data-open]) .avf-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .8, .2, 1); }
  .avf-col:not([data-open]).is-open .avf-panel { grid-template-rows: 1fr; }
  .avf-panel-in { overflow: hidden; }
  .avf-col:not([data-open]) .avf-links { padding-bottom: 10px; }
  .avf-a, .avf-missing, .avf-ca { min-height: 44px; }
  .avf-bar { flex-direction: column; align-items: flex-start; }
}
/* „Nach oben“: schwebend nur ab 761 px (dort gibt es keine scroll-arrows.js); schmal ruhig im Footer */
.avf-top-inline { display: none; place-items: center; width: 48px; height: 48px; margin: 18px auto 0; padding: 0; border-radius: 50%; cursor: pointer; color: #eaffff;
  background: rgba(8, 16, 40, .85); border: 1px solid rgba(94, 231, 255, .45); box-shadow: 0 0 22px rgba(94, 231, 255, .35); position: relative; z-index: 1; }
@media (max-width: 760px) { .avf-top-inline { display: grid; } }
@media (max-width: 760px) { body > .avf-top { display: none; } }
body:has(.ah-sticky.is-on) > .avf-top { bottom: 96px; }
.avf-note { margin: 4px 0 14px; font-size: 13px; color: var(--tx2); }
@media (prefers-reduced-motion: reduce) {
  body > .avf-top { transition: none !important; }
  .avf *, .avf *::before, .avf *::after { animation: none !important; transition: none !important; }
  .avf-in { opacity: 1; transform: none; } .avf-horizon { opacity: 1; transform: none; }
}
/* Schutz gegen Seiten-Styles (z. B. Dashboard-Überschriften) */
#av-footer .avf :where(h2, p, a, button, input, li, span, label, small, strong) { font-family: var(--ff); }
#av-footer .avf .avf-h { font-family: var(--ff) !important; font-size: 13px; font-weight: 700 !important; line-height: 1.3 !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--c2); }
#av-footer .avf .avf-logo span { font-size: 20px; font-weight: 700; color: var(--tx); }
/* Nicht mit Geschenk-Knopf (Dashboard) oder Sticky-Kaufleiste kollidieren */
body:has(.sh-fab) > .avf-top { bottom: 96px; }
#av-footer .avf .avf-back { margin: 0 0 18px; font-size: 14px; }
#av-footer .avf .avf-back .avf-a { color: var(--c2); }
.avf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
