/* Fejaso-Website – Stylesheet (handgeschrieben, ohne Framework).
   Aufbau: 1 Schriften · 2 Tokens · 3 Grundlagen · 4 Kopfbereich · 5 Hauptmenü · 6 Dialoge (Suche, Popup)
           7 Seiteninhalt · 8 Seitenbausteine · 9 Fußbereich · 10 „Nach oben“
   Breakpoints: Desktop ab 1000px, Tablet 690–999px, Mobil unter 690px.
   BookingOne-Seiten laden zusätzlich bookingone.css und tauschen dort nur die Tokens aus. */

/* ---------- 1. Schriften (lokal, keine externen Aufrufe) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-variabel.woff2") format("woff2"); }

/* ---------- 2. Tokens ---------- */
:root {
  --fj-blue: #0060E2;
  --fj-blue-hover: #004FBD;
  --fj-blue-300: #8AB4F5;
  --fj-ink: #101E33;
  --fj-text: #47536A;
  --fj-line: #E2E6EE;
  --fj-line-strong: #C9D0DC;
  --fj-page: #EEF2F8;
  --fj-grad-deep: linear-gradient(160deg, #0A1526 0%, #101E33 45%, #0B4FC4 130%);
  --fj-grad-marketing: linear-gradient(180deg, #F4F8FF 0%, #EEF2F8 60%, #E7EFFC 100%);
  --fj-overlay: rgba(10, 21, 38, .97);
  --fj-font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --fj-font-text: "Inter", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fj-r-md: 10px;
  --fj-r-lg: 16px;
  --fj-r-xl: 24px;
  --fj-sh-2: 0 1px 2px rgba(16, 30, 51, .06), 0 8px 24px rgba(16, 30, 51, .08);
  --fj-sh-blue: 0 6px 18px rgba(0, 96, 226, .28);
  --fj-focus: 0 0 0 3px rgba(0, 96, 226, .28);
  --fj-ease: cubic-bezier(.455, .03, .515, .955);
  --container: min(90vw, 1290px);
  --header-h: 88px;
}
@media (max-width: 689.98px) {
  :root { --container: 88vw; }
}

/* ---------- 3. Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--fj-page); }
html.nav-open, html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 400 16px/1.65 var(--fj-font-text); color: var(--fj-text);
  background: var(--fj-grad-marketing);
  overflow-wrap: break-word; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--fj-font-display); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--fj-ink); }
p, ul, figure { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
iframe { max-width: 100%; }
a { color: inherit; transition: color .12s var(--fj-ease); }
button { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
::selection { color: #fff; background: var(--fj-blue); }
:focus-visible { outline: 2px solid var(--fj-blue); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .search-dialog :focus-visible { outline-color: var(--fj-blue-300); }

.container { width: var(--container); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 5px; left: 5px; z-index: 1000; padding: 15px 23px 14px; font-size: 14px; font-weight: 600; color: var(--fj-ink); background: #fff; border-radius: var(--fj-r-md); box-shadow: var(--fj-sh-2); text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Symbol-Buttons (Suche, Menü, Schließen): mindestens 32px Klickfläche, Symbol bleibt an seiner Stelle */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px; margin: -8px; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 6px; }
.icon-btn svg { fill: currentColor; transition: fill .12s var(--fj-ease), transform .15s ease-out; }
.icon-btn:hover { color: var(--fj-blue-300); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; font: 600 16px/1.5 var(--fj-font-text); text-decoration: none; border: 0; border-radius: var(--fj-r-md); cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn-primary { color: #fff; background: var(--fj-blue); box-shadow: var(--fj-sh-blue); }
.btn-primary:hover { color: #fff; background: var(--fj-blue-hover); }
.btn-secondary { color: #1A1A1A; background: #E8E8E8; }
.btn-secondary:hover { background: #DADADA; }
.btn-outline { min-height: 34px; padding: 5px 15px; font-size: 13px; line-height: 1.3; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .45); }
.btn-outline:hover { color: var(--fj-ink); background: #fff; border-color: #fff; }

/* ---------- 4. Kopfbereich ---------- */
.site-header { position: relative; z-index: 50; background: var(--fj-grad-deep); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-bar { display: flex; align-items: center; height: var(--header-h); }
.logo { display: block; flex-shrink: 0; line-height: 0; }
.logo img { width: auto; height: 44px; }
.header-portal { margin-left: 20px; flex-shrink: 0; }
.search-toggle { margin-left: 12px; }
.search-toggle svg { width: 15px; height: 15px; }
.menu-toggle svg { width: 18px; height: 14px; }
.menu-toggle { display: none; }

@media (max-width: 999.98px) {
  .header-bar { display: grid; grid-template-columns: 1fr auto auto; grid-template-rows: var(--header-h) var(--header-h); column-gap: 24px; height: auto; }
  .logo { grid-area: 1 / 1; justify-self: start; }
  .search-toggle { grid-area: 1 / 2; margin-left: -8px; }
  .menu-toggle { grid-area: 1 / 3; display: inline-flex; }
  .header-portal { grid-area: 2 / 1 / 3 / 4; justify-self: start; margin-left: 0; }
}

/* ---------- 5. Hauptmenü ---------- */
.nav-list, .sub-nav { margin: 0; padding: 0; list-style: none; }
.nav-list a { text-decoration: none; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.sub-toggle svg { fill: currentColor; transition: transform .15s ease-out; }
.nav-close { display: none; }

/* Desktop: waagerechtes Menü mit Aufklappmenüs */
@media (min-width: 1000px) {
  .main-nav { margin-left: auto; height: 100%; }
  .nav-panel { display: contents; }
  .nav-list { display: flex; height: 100%; }
  .nav-list > li { position: relative; display: flex; align-items: center; height: 100%; }
  .nav-list > li > a { display: flex; align-items: center; height: 100%; padding: 0 12.5px; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; color: rgba(255, 255, 255, .86); }
  .nav-list > li.has-sub > a { padding-right: 0; }
  .nav-list > li > .sub-toggle { width: 24px; height: 24px; margin-right: 4.5px; color: #fff; }
  .nav-list > li > .sub-toggle svg { width: 8px; height: 8px; }
  .nav-list > li:hover > a, .nav-list > li > a:focus-visible { color: #fff; }
  .nav-list > li.is-current > a { color: var(--fj-blue-300); }
  /* Markierung oben und unten: aktiver Punkt und Hover */
  .nav-list > li::before, .nav-list > li::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--fj-blue-300); opacity: 0; transition: opacity .12s var(--fj-ease), top .12s var(--fj-ease), bottom .12s var(--fj-ease); pointer-events: none; }
  .nav-list > li::before { top: 10px; }
  .nav-list > li::after { bottom: 10px; }
  .nav-list > li:hover::before, .nav-list > li.is-current::before { top: 0; opacity: 1; }
  .nav-list > li:hover::after, .nav-list > li.is-current::after { bottom: 0; opacity: 1; }

  .sub-nav { position: absolute; z-index: 10; top: 100%; left: 0; width: 200px; background: #fff; border: 1px solid var(--fj-line); border-radius: var(--fj-r-md); box-shadow: var(--fj-sh-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .sub-nav li { position: relative; display: flex; align-items: center; }
  .sub-nav li + li { border-top: 1px solid var(--fj-line); }
  .sub-nav a { flex: 1; padding: 13px 19.5px; font-size: 14px; font-weight: 500; color: var(--fj-ink); }
  .sub-nav a:hover, .sub-nav li.is-current > a { color: var(--fj-blue); }
  .sub-nav .sub-toggle { width: 18px; height: 18px; margin-right: 12px; color: var(--fj-ink); }
  .sub-nav .sub-toggle svg { width: 8px; height: 8px; transform: rotate(-90deg); }
  /* zweite Ebene rechts daneben; unsichtbare Brücke, damit der Mauszeiger hinüberwechseln kann */
  .sub-nav .sub-nav { top: -1px; left: calc(100% + 5px); transform: translateX(-6px); }
  .sub-nav .sub-nav::before { content: ""; position: absolute; top: 0; bottom: 0; left: -6px; width: 6px; }
  .has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav, .has-sub.is-open > .sub-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
}

/* Tablet und mobil: Menü als Seitenleiste von rechts */
@media (max-width: 999.98px) {
  .main-nav { position: fixed; inset: 0; z-index: 900; background: rgba(4, 10, 20, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
  .nav-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(500px, 65vw); padding: 30px 35px 35px; overflow-y: auto; background: var(--fj-grad-deep); box-shadow: 0 0 70px rgba(0, 0, 0, .35); transform: translateX(100%); transition: transform .25s ease; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transition: opacity .25s; }
  .nav-open .nav-panel { transform: none; }
  .nav-close { display: inline-flex; align-self: flex-end; margin: -10px -10px 0 0; padding: 10px; }
  .nav-close svg { width: 12px; height: 12px; }
  .nav-list { margin-top: 35px; }
  .nav-list li { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-list a { position: relative; flex: 1; padding: 5px 0; font-size: 18px; font-weight: 600; line-height: 1.65; color: #fff; }
  .nav-list a:hover { color: var(--fj-blue-300); }
  .nav-list .is-current > a { color: var(--fj-blue-300); }
  .nav-list .sub-toggle { width: 32px; height: 32px; margin-right: -8px; color: #fff; }
  .nav-list .sub-toggle svg { width: 15px; height: 15px; }
  .has-sub.is-open > .sub-toggle svg { transform: rotate(-180deg); }
  .sub-nav { display: none; flex-basis: 100%; padding-left: 30px; }
  .has-sub.is-open > .sub-nav { display: block; }
  .sub-nav a::before { content: ""; position: absolute; top: calc(50% - 2px); left: -20px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .35; }
}
@media (max-width: 689.98px) {
  .nav-panel { width: 90vw; padding: 20px 25px 25px; }
  .nav-list { margin-top: 25px; }
}

/* ---------- 6. Dialoge ---------- */
dialog { padding: 0; border: 0; color: inherit; }
/* Suche: Vollbild */
.search-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; background: var(--fj-overlay); }
.search-dialog::backdrop { background: transparent; }
.search-dialog[open] { display: flex; animation: fade-in .2s ease-out; }
.search-dialog-inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px 35px; overflow-y: auto; }
.search-dialog .dialog-close { position: absolute; top: 30px; right: 35px; margin: -10px; padding: 10px; }
.search-dialog .dialog-close svg { width: 12px; height: 12px; }
.search-form, .search-dialog .search-results { width: 100%; max-width: 750px; }
.search-form { display: flex; align-items: center; gap: 15px; margin-bottom: 35px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); animation: move-in .25s ease-out; }
.search-form input { flex: 1; min-width: 0; height: 50px; padding: 0; font: 500 20px/1.65 var(--fj-font-text); color: #fff; background: transparent; border: 0; outline: 0; }
.search-form input::placeholder { color: rgba(255, 255, 255, .7); }
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-submit { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex-shrink: 0; padding: 0; color: #fff; background: var(--fj-blue); border: 0; border-radius: var(--fj-r-md); cursor: pointer; transition: background .15s; }
.search-submit:hover { background: var(--fj-blue-hover); }
.search-submit svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 999.98px) {
  .search-form, .search-dialog .search-results { max-width: 90%; }
  .search-form { margin-bottom: 25px; }
}
@media (max-width: 689.98px) {
  .search-dialog-inner { padding: 20px 25px; }
  .search-dialog .dialog-close { top: 20px; right: 25px; }
  .search-form input, .search-submit { height: 40px; }
  .search-submit { width: 40px; }
}
/* Suchtreffer (Such-Fenster und Suchseite) */
.search-results { color: #fff; }
.search-results ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.search-results li a { display: block; padding: 14px 16px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--fj-r-md); transition: background .15s; }
.search-results li a:hover { background: rgba(255, 255, 255, .16); }
.search-results .t { display: block; margin-bottom: 4px; font-family: var(--fj-font-display); font-weight: 600; }
.search-results .s { display: block; font-size: .875rem; line-height: 1.5; opacity: .82; }
.search-results mark { padding: 0 2px; color: inherit; background: rgba(138, 180, 245, .35); border-radius: 3px; }

/* Popup „Bald verfügbar“ */
.popup { width: calc(100% - 32px); max-width: 440px; background: #fff; color: #1A1A1A; border-radius: var(--fj-r-lg); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.popup::backdrop { background: rgba(0, 0, 0, .6); }
.popup[open] { animation: move-in .2s ease-out; }
.popup-box { position: relative; padding: 28px 28px 24px; }
.popup-title { margin-bottom: 10px; font-size: 1.3rem; font-weight: 700; line-height: 1.5; }
.popup p { margin-bottom: 18px; line-height: 1.5; }
.popup-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.popup-close { position: absolute; top: 10px; right: 14px; padding: 4px 6px; font-size: 1.6rem; line-height: 1; color: #666; background: none; border: 0; cursor: pointer; }
.popup-close:hover { color: var(--fj-ink); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes move-in { from { opacity: 0; transform: translateY(-40px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 7. Seiteninhalt ---------- */
.site-main { flex: 1; padding: 60px 0; }
.site-main:focus { outline: none; }
.page-title { margin-bottom: 40px; font-size: clamp(1.5rem, 6.2vw, 2.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin: 1.5em 0 calc(.3em + 10px); font-size: clamp(1.4rem, 5.4vw, 2.1875rem); }
.prose h3, .prose h2.h3-style { margin: 1.5em 0 calc(.3em + 10px); font-size: clamp(1.2rem, 4.6vw, 1.75rem); }
.prose h2.h4-style { font-size: clamp(1.15rem, 4vw, 1.5625rem); }
.prose p { margin-bottom: 1.5rem; }
.prose ul { margin-bottom: 1.5rem; padding-left: 2.5em; }
.prose li::marker { color: var(--fj-blue); }
.prose a { color: var(--fj-blue); text-decoration: underline; }
.prose a:hover { color: var(--fj-blue-hover); text-decoration: none; }
.prose a.tel-link { color: inherit; text-decoration: none; }
.prose strong { color: var(--fj-ink); }
.prose hr { width: 100px; height: 2px; margin: 2rem auto; border: 0; background: var(--fj-line); }
.prose figure { width: fit-content; max-width: min(100%, 1024px); margin: 3rem auto; }
.prose figure img { display: block; border-radius: var(--fj-r-xl); box-shadow: var(--fj-sh-2); }
.text-brand { color: #003EE5; background: none; }
.icon-inline { margin-right: 4px; vertical-align: -4px; }
@media (max-width: 689.98px) {
  .site-main { padding: 50px 0; }
  .prose figure { margin: 2rem auto; }
  .prose figure img { border-radius: var(--fj-r-lg); }
}

/* ---------- 8. Seitenbausteine ---------- */
/* Bild mit Klickfläche (Startbild → Kundenportal) */
.has-hotspot { position: relative; }
.img-hotspot { position: absolute; display: block; padding: 0; background: transparent; border: 0; border-radius: var(--fj-r-md); cursor: pointer; transition: box-shadow .15s, background .15s; }
.img-hotspot:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(255, 255, 255, .75), 0 8px 22px rgba(0, 96, 226, .4); }
.img-hotspot:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--fj-blue); }
.hotspot-portal { left: 4.1%; top: 72.6%; width: 19.4%; height: 6.3%; }
@media (max-width: 900px), (pointer: coarse) {
  .hotspot-portal { left: 13.8%; top: 75.75%; width: max(19.4%, 96px); height: max(6.3%, 48px); transform: translate(-50%, -50%); }
}

/* BookingOne-Vorschau (iFrame) */
.preview-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.preview-frame { display: block; width: 100%; height: 1000px; border: 0; }

/* Suchseite und 404 */
.search-page-form { display: flex; gap: 12px; max-width: 640px; margin-bottom: 1.5rem; }
.search-page-form input { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; color: var(--fj-ink); background: #fff; border: 1px solid var(--fj-line-strong); border-radius: var(--fj-r-md); }
.search-page-form input:focus { outline: none; border-color: var(--fj-blue); box-shadow: var(--fj-focus); }
.search-results.on-page { margin-top: 28px; color: var(--fj-text); }
.on-page li a { color: var(--fj-ink); background: #fff; border-color: var(--fj-line); box-shadow: 0 1px 2px rgba(16, 30, 51, .06); }
.on-page li a:hover { background: #fff; border-color: var(--fj-blue-300); }
.on-page .s { color: var(--fj-text); opacity: 1; }
.on-page mark { background: rgba(0, 96, 226, .14); }

/* Preise (BookingOne) */
.bo-preise { --blue: #003EE5; --blue-h: #0032B8; --blue-50: #EEF3FF; --blue-100: #D9E3FF; --ink: #041931; --text: #3E4A5C; --line: #C6CEDC; --green: #0E9F6E; color: var(--text); }
.bo-preise .plans { display: grid; gap: 16px; }
.bo-preise .plan { position: relative; display: flex; align-items: center; gap: 24px; padding: 24px 32px 24px 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(4, 25, 49, .06), 0 8px 24px rgba(4, 25, 49, .07); }
.bo-preise .plan::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: var(--blue); }
.bo-preise .plan.verein::before { background: var(--green); }
.bo-preise .chip { display: grid; place-items: center; flex: 0 0 auto; width: 68px; height: 68px; color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 16px; }
.bo-preise .verein .chip { color: var(--green); background: #E7F6F0; border-color: #BFE6D6; }
.bo-preise .chip svg { width: 36px; height: 36px; }
.bo-preise .txt { flex: 1; min-width: 0; }
.bo-preise .label { margin-bottom: 8px; font-size: .6875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #677388; }
.bo-preise .title { font-family: var(--fj-font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.bo-preise .price { font-weight: 700; color: var(--blue); }
.bo-preise .verein .price { color: var(--green); }
.bo-preise .sub { margin-top: 2px; font-size: 1.1875rem; }
.bo-preise .cta { margin-top: 24px; }
.bo-preise .btn { gap: 12px; padding: 18px 26px; font-size: 1.0625rem; line-height: 1; color: #fff; background: var(--blue); box-shadow: 0 6px 20px rgba(0, 62, 229, .28); }
.bo-preise .btn:hover { background: var(--blue-h); }
.bo-preise .btn svg { width: 20px; height: 20px; }
.bo-preise .foot { margin: 20px 0 0; font-size: .875rem; line-height: 1.65; color: #78859A; }
@media (max-width: 720px) {
  .bo-preise .plan { flex-wrap: wrap; }
  .bo-preise .btn { width: 100%; }
}

/* ---------- 9. Fußbereich ---------- */
.site-footer { background: var(--fj-grad-deep); color: rgba(255, 255, 255, .78); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; gap: 23px; padding: 70px 0; }
.footer-copy { text-align: center; font-size: 15px; line-height: 1.3; }
.footer-copy p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-weight: 700; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { color: var(--fj-blue-300); }
@media (max-width: 999.98px) {
  .footer-inner { padding: 50px 0; }
}
@media (max-width: 689.98px) {
  .footer-inner { grid-template-columns: 1fr; padding: 40px 0; }
}

/* ---------- 10. „Nach oben“ ---------- */
.back-to-top { position: fixed; z-index: 110; right: 25px; bottom: 25px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; color: #fff; background: var(--fj-ink); border: 0; border-radius: var(--fj-r-md); box-shadow: var(--fj-sh-2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(15px); transition: opacity .3s, transform .3s, background .3s, visibility 0s .3s; }
.back-to-top svg { width: 13px; height: 13px; fill: currentColor; }
.back-to-top:hover { background: var(--fj-blue); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, background .3s; }
@media (max-width: 689.98px) {
  .back-to-top { display: none; }
}
